/* Drevic. Colour tokens: match these to the final logo. */
:root {
  --bg: #0A0A0A;
  --bg-2: #0F0F0D;
  --surface: #141311;
  --stone: #C8B8A3;          /* accent */
  --stone-bright: #E2D5C0;   /* buttons, emphasis */
  --stone-dim: #9C9184;
  --text: #F2EEE7;
  --muted: #8F887C;
  --line: rgba(200, 184, 163, .14);
  --line-strong: rgba(200, 184, 163, .28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(200, 184, 163, .28); }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em, .intro__line em { font-style: italic; color: var(--stone-bright); }
h2 { margin-top: 22px; font-size: clamp(36px, 5.4vw, 68px); max-width: 16ch; }
h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 400; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sub { margin-top: 24px; max-width: 44ch; color: var(--muted); }

.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--stone); }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible { outline: 1px solid var(--stone-bright); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--stone-bright); color: var(--bg); font-weight: 500; }
.skip:focus { top: 12px; }

/* Wordmark placeholder */
.wordmark { width: 96px; height: auto; overflow: visible; color: var(--text); }
.wordmark text { font-family: var(--sans); font-weight: 600; font-size: 28px; letter-spacing: -1.4px; fill: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px;
  font: 500 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--bg); background: var(--stone-bright); border: 1px solid var(--stone-bright);
  cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--stone-bright); }
.btn--line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--stone-bright); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11.5px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.nav.is-solid { background: rgba(10, 10, 10, .74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__links { display: none; gap: 36px; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.nav__links a { color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* Hero */
.hero { position: relative; padding: 140px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 45% at 78% 40%, rgba(200, 184, 163, .09), transparent 70%); }
.hero__grid { position: relative; display: grid; gap: 64px; align-items: center; }
.hero h1 { margin-top: 26px; font-size: clamp(48px, 8.4vw, 104px); line-height: .98; max-width: 12ch; }
.lede { margin-top: 30px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
@media (min-width: 1000px) {
  .hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
}

/* Browser mock: the one showpiece */
.mock { margin: 0; animation: settle 1.4s var(--ease) .2s both; }
@keyframes settle { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.mock figcaption { margin-top: 14px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(200, 184, 163, .25); }
.mock__bar span { margin-left: 12px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.mock__page {
  position: relative; aspect-ratio: 4 / 3.4; overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10,10,10,.1), rgba(10,10,10,.75)),
    radial-gradient(70% 60% at 70% 30%, #6E5B49 0%, #2B241E 55%, #15120F 100%);
  padding: 22px 24px;
  display: flex; flex-direction: column;
}
.mock__nav { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.mock__nav b { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-right: auto; }
.mock__nav span { width: 30px; height: 2px; background: rgba(242, 238, 231, .35); }
.mock__nav em { font-style: normal; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid rgba(242, 238, 231, .5); padding: 6px 10px; }
.mock__hero { margin-top: auto; }
.mock__kicker { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-bright); }
.mock__title { margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 44px); line-height: 1; max-width: 10ch; }
.mock__title i { color: var(--stone-bright); }
.mock__btn { display: inline-block; margin-top: 18px; padding: 10px 16px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; background: var(--stone-bright); color: var(--bg); }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.mock__tiles span { height: 44px; border: 1px solid rgba(242, 238, 231, .14); background: rgba(242, 238, 231, .04); }

/* Intro statement */
.intro { padding: clamp(80px, 14vh, 160px) 0; border-top: 1px solid var(--line); }
.intro__line { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.16; max-width: 22ch; }

/* Sections */
.section { padding: clamp(80px, 12vh, 140px) 0; }
.section--rule { border-top: 1px solid var(--line); }
.split { display: grid; gap: 48px; }
@media (min-width: 1000px) { .split { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; } }

.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding: 28px 0; border-bottom: 1px solid var(--line); color: var(--muted); max-width: 58ch; }
.points strong { display: block; margin-bottom: 6px; font-weight: 400; color: var(--text); font-size: 18px; }

.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.steps__n { display: block; margin-bottom: 18px; font-size: 12px; letter-spacing: .32em; color: var(--stone); }
.steps p { margin-top: 12px; color: var(--muted); max-width: 36ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .steps li { padding: 36px 28px 40px; border-bottom: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { border-left: 0; padding-left: 0; }
}

.included { margin: 0; display: grid; border-top: 1px solid var(--line); }
.included div { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.included dt { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; }
.included dd { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 700px) { .included div { grid-template-columns: 220px 1fr; gap: 32px; align-items: baseline; } }

.who { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.who li { padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
@media (min-width: 760px) {
  .who { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}

.plans { display: grid; gap: 0; margin-top: 56px; border: 1px solid var(--line); }
.plan { padding: clamp(28px, 4vw, 48px); background: var(--bg-2); }
.plan + .plan { border-top: 1px solid var(--line); }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } .plan + .plan { border-top: 0; border-left: 1px solid var(--line); } }
.plan__for { margin-top: 10px; color: var(--muted); max-width: 34ch; }
@media (min-width: 860px) { .plan__for { min-height: 3.3em; } }
.plan__price { margin-top: 36px; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 60px); line-height: 1; font-variant-numeric: lining-nums; }
.plan__price span { font-size: .45em; color: var(--muted); }
.plan__term { margin-top: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.plan__care { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.plan__care b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); margin-right: 6px; }
.care { margin-top: 40px; display: grid; gap: 18px; }
.care ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; color: var(--muted); }
.care li { position: relative; padding-left: 18px; }
.care li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--stone); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 72px; padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 300; color: var(--stone); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 58ch; color: var(--muted); }

/* Form */
.form { display: grid; gap: 22px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.opt { color: var(--muted); letter-spacing: .1em; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: 300 16px/1.4 var(--sans); color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder { color: #5E584F; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--stone); }
.field input[aria-invalid="true"] { border-color: #C56B5A; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status.is-error { color: #D98B7A; }

/* Footer */
.foot { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.foot .wordmark { width: 80px; }
.foot__copy { margin-left: auto; }
@media (max-width: 600px) { .foot__copy { margin-left: 0; width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
