/* Design refinement layer */
:root {
  --me-ink: #11100e;
  --me-muted: #5f5952;
  --me-panel: #fffaf2;
  --me-line: #d8d0c4;
  --me-accent: #0f766e;
}

body {
  background: linear-gradient(135deg, #f8f3ea 0%, #f4efe7 45%, #edf3ef 100%);
  color: var(--me-ink);
}

#root > .min-h-screen {
  background:
    radial-gradient(circle at 16% 12%, rgba(15, 118, 110, .12), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(245, 158, 11, .12), transparent 28rem),
    linear-gradient(135deg, #f8f3ea, #f1ece5 52%, #edf2ee) !important;
}

h1,
h2,
h3 {
  letter-spacing: -.028em !important;
  text-wrap: balance;
}

p {
  color: var(--me-muted);
}

button,
a {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .35);
  outline-offset: 4px;
}

.text-stone-600 {
  color: var(--me-muted) !important;
}

.text-stone-500 {
  color: #756f67 !important;
}

.bg-white\/55,
.bg-white\/65,
.bg-white\/70,
.bg-white\/75 {
  background-color: rgba(255, 250, 242, .84) !important;
}

.border-stone-200 {
  border-color: rgba(216, 208, 196, .9) !important;
}

.ring-stone-200,
.ring-stone-200\/80 {
  --tw-ring-color: rgba(216, 208, 196, .92) !important;
}

.rounded-\[2\.75rem\],
.rounded-\[2\.5rem\],
.rounded-\[2\.25rem\],
.rounded-\[2rem\] {
  border-radius: 1.35rem !important;
}

.rounded-3xl {
  border-radius: 1.25rem !important;
}

.rounded-2xl {
  border-radius: 1rem !important;
}

.shadow-2xl,
.shadow-xl {
  box-shadow: 0 18px 50px -28px rgba(17, 16, 14, .45) !important;
}

section:first-of-type {
  padding-top: 7rem !important;
}

section:first-of-type h1 {
  max-width: 13ch;
  font-weight: 800;
  line-height: .94;
}

section:first-of-type p {
  max-width: 43rem;
  color: #524d46 !important;
  font-weight: 500;
}

section:first-of-type span.inline-flex:first-child {
  background: rgba(255, 250, 242, .86) !important;
  border-color: rgba(15, 118, 110, .22) !important;
  color: #4e5751 !important;
  box-shadow: 0 10px 28px -22px rgba(15, 118, 110, .5);
}

button.bg-stone-950 {
  background: linear-gradient(135deg, #11100e, #26211d) !important;
}

button.bg-stone-950:hover {
  background: linear-gradient(135deg, #0f766e, #11100e) !important;
}

.bg-stone-950 {
  background-color: #11100e !important;
}

.bg-stone-950 p,
.bg-stone-950 .text-stone-300 {
  color: #d8d2ca !important;
}

.bg-stone-950 .text-stone-400,
.bg-stone-950 .text-stone-500 {
  color: #b8b1a8 !important;
}

section:first-of-type button {
  letter-spacing: 0 !important;
}

.text-5xl,
.md\:text-6xl,
.md\:text-7xl,
.lg\:text-8xl {
  letter-spacing: -.028em !important;
}

input,
textarea {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

@media (max-width: 767px) {
  section:first-of-type {
    padding-top: 3.75rem !important;
  }

  section:first-of-type h1 {
    font-size: clamp(2.85rem, 13vw, 4.6rem) !important;
    line-height: .96;
    max-width: 10.5ch;
  }

  section:first-of-type p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  section:first-of-type span.inline-flex:first-child {
    max-width: 100%;
    letter-spacing: .18em;
  }

  .tracking-\[0\.25em\],
  .tracking-\[0\.28em\],
  .tracking-\[0\.24em\],
  .tracking-\[0\.22em\] {
    letter-spacing: .14em !important;
  }

  .py-20 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .px-5 {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}
