/* Starclerk design tokens — the contract every page uses.
   Warm desk, real replies. Keep in sync with dist/assets/css/tokens.css. */
:root {
  /* palette */
  --paper: #FBF5EA;
  --paper-deep: #F3E9D7;
  --card: #FFFDF8;
  --ink: #221A12;
  --ink-soft: #3A2E22;
  --terracotta: #C0522A;
  --terracotta-dark: #A03F1D;
  --ember: #E07A45;
  --forest: #2E5E4E;
  --forest-soft: #E4EEE8;
  --mute: #6B5D4F;
  --line: #E9DCC8;
  --gold-star: #E8A33D;

  /* type */
  --font-display: "Fraunces", "Fraunces-fb", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Inter-fb", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing scale (4px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* radii + shadow */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(58, 40, 20, .06), 0 6px 18px rgba(58, 40, 20, .07);
  --shadow-2: 0 2px 6px rgba(58, 40, 20, .08), 0 18px 44px rgba(58, 40, 20, .12);

  /* motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms var(--ease-out);
  --t-med: 320ms var(--ease-out);
}

/* Starclerk design system - part 1: fonts, base, buttons, header.
   Tokens come from tokens.css (linked first). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces-fb";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 94%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter-fb";
  src: local("Segoe UI"), local("Arial");
  size-adjust: 104%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: .05;
  background-image: url("../img/grain.png");
  background-size: 96px 96px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--terracotta-dark); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 var(--s4);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s4); }
strong { color: var(--ink-soft); }
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}
.container {
  width: min(1120px, 100% - 44px);
  margin-inline: auto;
}
.section { padding: var(--s9) 0; position: relative; }
.section-tight { padding: var(--s8) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin: 0 0 var(--s3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.lede {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  color: var(--mute);
  max-width: 34em;
}
.section-head { max-width: 44em; margin-bottom: var(--s7); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1;
  padding: 17px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  min-height: 48px;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 2px 0 var(--terracotta-dark), var(--shadow-1);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 4px 0 #7e3115, var(--shadow-2); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--terracotta-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); transform: translateY(-2px); }
.btn-small { padding: 11px 18px; font-size: .92rem; min-height: 42px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 245, 234, .95);
  border-bottom: 1px solid rgba(233, 220, 200, .8);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: .05em;
  color: var(--ink);
}
.brand-word em { font-style: normal; color: var(--terracotta); }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .97rem;
  font-weight: 550;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.nav a:hover { color: var(--terracotta-dark); border-bottom-color: var(--ember); }
.nav-cta { margin-left: var(--s2); }
@media (max-width: 820px) {
  .nav .nav-link { display: none; }
  .site-header .container { min-height: 62px; }
}

/* part 2: hero, hero demo (phone), real-example band */
.hero {
  position: relative;
  padding: clamp(34px, 5vw, 76px) 0 clamp(44px, 6vw, 88px);
  overflow: hidden;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  will-change: transform;
}
.orb-a {
  width: 560px; height: 560px;
  left: -180px; top: -160px;
  background: radial-gradient(circle at 35% 35%, rgba(224, 122, 69, .32), rgba(224, 122, 69, 0) 65%);
  animation: drift-a 19s ease-in-out infinite alternate;
}
.orb-b {
  width: 620px; height: 620px;
  right: -220px; top: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(232, 163, 61, .26), rgba(232, 163, 61, 0) 65%);
  animation: drift-b 23s ease-in-out infinite alternate;
}
.orb-c {
  width: 460px; height: 460px;
  left: 32%; bottom: -280px;
  background: radial-gradient(circle at 50% 50%, rgba(46, 94, 78, .16), rgba(46, 94, 78, 0) 65%);
  animation: drift-a 27s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(46px, 26px, 0) rotate(9deg); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-42px, 34px, 0) rotate(-7deg); } }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
.hero h1 .accent { color: var(--terracotta); font-style: italic; font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  margin: var(--s5) 0 var(--s3);
}
.hero-note { color: var(--mute); font-size: .98rem; margin: 0; }
.hero-note strong { color: var(--ink-soft); }
.hero-textline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s4);
  padding: 10px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 248, .7);
  color: var(--ink-soft);
  font-size: .95rem;
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.hero-textline:hover { border-color: var(--ember); transform: translateY(-1px); }
.hero-textline svg { width: 17px; height: 17px; flex: none; }

.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}
.demo-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
  max-width: 100%;
}
.demo-tab {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  color: var(--mute);
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  padding: 9px 15px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.demo-tab:hover { color: var(--ink); }
.demo-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.phone {
  position: relative;
  width: min(370px, 100%);
  background: linear-gradient(160deg, #2c2118, #1c1510);
  border-radius: 42px;
  padding: 14px 12px 18px;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.phone-notch {
  width: 108px; height: 22px;
  background: #161009;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: var(--paper);
  border-radius: 30px;
  padding: 18px 14px 16px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-panel { display: flex; flex-direction: column; gap: 12px; }
.demo-panel[hidden] { display: none; }
.review-card, .reply-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  box-shadow: var(--shadow-1);
}
.review-card.is-new { animation: card-in var(--t-med) both; }
.reply-card {
  background: var(--forest-soft);
  border-color: #cfe0d6;
}
.reply-card.is-new { animation: card-in var(--t-med) both; animation-delay: 140ms; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.review-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  display: grid;
  place-items: center;
  flex: none;
}
.review-who { font-size: .84rem; font-weight: 650; color: var(--ink); line-height: 1.25; }
.review-meta { font-size: .74rem; color: var(--mute); line-height: 1.3; }
.stars { color: var(--gold-star); letter-spacing: 1px; font-size: .82rem; }
.stars .dim { color: #d9c7ac; }
.review-text, .reply-text {
  font-size: .875rem;
  line-height: 1.5;
  margin: 0;
  color: var(--ink-soft);
}
.review-text .empty-rating { color: var(--mute); font-style: italic; }
.reply-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.reply-tag svg { width: 13px; height: 13px; }
.typed-caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--forest);
  margin-left: 1px;
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.demo-caption {
  font-size: .8rem;
  color: var(--mute);
  text-align: center;
  max-width: 340px;
  margin: 0;
  line-height: 1.5;
}
.demo-replay {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 650;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 15px;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.demo-replay:hover { border-color: var(--ember); transform: translateY(-1px); }

.band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 52px);
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 69, .35), transparent 70%);
}
.band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }
.band h2 { color: var(--paper); margin-bottom: var(--s3); }
.band p { color: #e8dcc8; margin: 0; }
.band .big-num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ember);
  letter-spacing: -0.03em;
}
.band .big-label { color: #e8dcc8; font-size: 1.02rem; margin: 6px 0 0; }
.band .quote {
  border-left: 3px solid var(--ember);
  padding-left: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  color: var(--paper);
  margin: 0 0 var(--s3);
}
.band .quote-cite { font-size: .88rem; color: #cbb291; margin: 0; }

/* part 3: features, compare, steps, split, price, faq, contact, footer, motion */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s4);
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s5) var(--s5);
  box-shadow: var(--shadow-1);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  grid-column: span 3;
}
.feature-card.wide { grid-column: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .feature-card, .feature-card.wide { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  margin-bottom: var(--s4);
}
.icon-badge svg { width: 27px; height: 27px; }
.feature-card p { color: var(--mute); margin: 0; font-size: .99rem; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.listing-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  padding: var(--s5);
  box-shadow: var(--shadow-1);
}
.listing-card.before { background: var(--paper-deep); }
.listing-tag {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s4);
}
.listing-tag.t-before { background: #e9d9c2; color: #7a5c38; }
.listing-tag.t-after { background: var(--forest-soft); color: var(--forest); }
.listing-name { font-family: var(--font-display); font-size: 1.22rem; margin: 0 0 2px; }
.listing-sub { color: var(--mute); font-size: .92rem; margin: 0 0 var(--s4); }
.mini-review { border-top: 1px solid var(--line); padding: 11px 0; font-size: .92rem; }
.mini-review .mini-meta { color: var(--mute); font-size: .8rem; margin-bottom: 3px; }
.mini-review .mini-reply {
  margin-top: 8px;
  background: var(--forest-soft);
  border-left: 3px solid var(--forest);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 8px 11px;
  font-size: .86rem;
  color: var(--ink-soft);
}
.mini-review .mini-reply .who { color: var(--forest); font-weight: 700; }
.no-reply-pill {
  display: inline-block;
  margin-top: 7px;
  font-size: .78rem;
  color: #8a6a45;
  background: rgba(255, 255, 255, .55);
  border: 1px dashed #d3b992;
  border-radius: var(--r-pill);
  padding: 3px 11px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s5) var(--s5);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
  margin-bottom: var(--s3);
}
.step p { color: var(--mute); margin: 0; font-size: .99rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.panel {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  background: var(--card);
}
.panel.dont { background: var(--ink); border-color: var(--ink); }
.panel.dont h3, .panel.dont strong { color: var(--paper); }
.panel.dont li { color: #e8dcc8; }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--s3);
  font-size: .99rem;
}
.check-list li::before, .x-list li::before {
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
}
.check-list li::before { content: "\2713"; background: var(--forest-soft); color: var(--forest); }
.x-list li::before { content: "\2715"; background: rgba(224, 122, 69, .18); color: var(--ember); }

.price-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ember), var(--terracotta), var(--forest));
}
.price-line { display: flex; align-items: baseline; gap: 10px; margin: var(--s2) 0 var(--s3); }
.price-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-per { color: var(--mute); font-size: 1.05rem; }
.price-sub { color: var(--mute); font-size: .98rem; margin: 0 0 var(--s5); }
.price-includes { list-style: none; padding: 0; margin: 0 0 var(--s5); }
.price-includes li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: .97rem;
}
.price-includes li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: var(--forest);
  font-weight: 800;
}
.stepper-box {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
}
.stepper-label { font-size: .95rem; color: var(--ink-soft); margin: 0 0 var(--s3); font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: var(--s4); }
.stepper button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), opacity var(--t-fast);
}
.stepper button:hover:not(:disabled) { transform: scale(1.07); background: var(--paper); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .count {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  min-width: 2ch;
  text-align: center;
}
.total-line { display: flex; align-items: baseline; gap: 10px; margin-top: var(--s5); }
.total-label { font-size: .95rem; color: var(--mute); }
.total-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  letter-spacing: -0.02em;
}
.total-num .cur { font-size: 1.35rem; vertical-align: 8px; margin-right: 2px; }
.total-per { color: var(--mute); font-size: .95rem; }

.faq { max-width: 820px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  background: none;
  border: 0;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform var(--t-med), background var(--t-med), color var(--t-med);
}
.faq-q[aria-expanded="true"] .chev {
  transform: rotate(45deg);
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.faq-a { overflow: hidden; max-width: 62ch; }
.faq-a[hidden] { display: none; }
.faq-a p { color: var(--mute); padding: 0 4px 22px; margin: 0; }

.contact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-1);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: var(--s4); }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(224, 122, 69, .22);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--terracotta-dark);
  background: #fdf1ea;
}
.field-error { display: none; color: var(--terracotta-dark); font-size: .84rem; margin: 6px 0 0; }
.field-error.show { display: block; }
.form-note { font-size: .92rem; color: var(--mute); margin: 0; }
.form-done {
  display: none;
  background: var(--forest-soft);
  border: 1px solid #cfe0d6;
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  font-size: .96rem;
  color: var(--forest);
}
.form-done.show { display: block; }
.contact-alt { display: flex; flex-direction: column; gap: var(--s4); justify-content: center; }
.alt-card {
  display: flex;
  align-items: center;
  gap: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.alt-card:hover { transform: translateY(-2px); border-color: var(--ember); }
.alt-ico {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
}
.alt-ico svg { width: 21px; height: 21px; }
.alt-k { display: block; font-size: .82rem; color: var(--mute); line-height: 1.3; }
.alt-v { display: block; font-weight: 650; font-size: 1.05rem; line-height: 1.4; }

.site-footer {
  background: var(--ink);
  color: #e8dcc8;
  margin-top: var(--s9);
  padding: var(--s8) 0 var(--s6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--s6);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s5); } }
.site-footer .brand-word { color: var(--paper); }
.site-footer p { font-size: .95rem; color: #cbb291; }
.site-footer a { color: var(--paper); }
.footer-h {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 var(--s3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--s2); font-size: .95rem; }
.footer-bottom {
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgba(232, 220, 200, .18);
  font-size: .85rem;
  color: #cbb291;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  justify-content: space-between;
}
.optout { color: var(--ember); }

/* ---------- motion: scroll reveal (JS adds .is-in) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .orb { animation: none !important; }
}

/* part 4: mobile hero reorder + tightening so the demo lands in the first screen */
@media (max-width: 900px) {
  .hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .hero-copy { display: contents; }
  .hero-copy-main { order: 1; }
  .demo { order: 2; }
  .hero-copy-foot { order: 3; }
}
@media (max-width: 600px) {
  .hero { padding: 20px 0 36px; }
  h1 { font-size: 2.02rem; margin-bottom: 10px; }
  .hero .lede { font-size: 1rem; line-height: 1.5; margin-bottom: 10px; }
  .eyebrow { font-size: .74rem; margin-bottom: 8px; }
  .hero-actions { margin: 12px 0 0; gap: 10px; }
  .hero-actions .btn { padding: 13px 18px; font-size: .93rem; min-height: 44px; }
  .hero-copy-foot .hero-note { margin-bottom: 8px; }
  .hero-textline { margin-top: 8px; }
  .demo { gap: 8px; }
  .demo-tab { font-size: .76rem; padding: 7px 10px; }
  .phone { border-radius: 30px; padding: 8px 8px 12px; }
  .phone-notch { display: none; }
  .phone-screen { min-height: 0; border-radius: 22px; padding: 12px 10px; gap: 8px; }
  .demo-panel { gap: 8px; }
  .review-card, .reply-card { padding: 10px 11px; }
  .review-text, .reply-text { font-size: .82rem; line-height: 1.45; }
  .review-head { margin-bottom: 5px; }
  .demo-note { font-size: .68rem; margin: 0; }
  .hero { padding: 16px 0 36px; }
  .phone { padding: 6px 6px 10px; }
  .phone-screen { padding: 10px 8px; }
  .review-card, .reply-card { padding: 9px 10px; }
}

/* fix: .nav a color must not override the CTA button text (contrast) */
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; }
.nav a.btn-ghost { color: var(--ink); }

/* per-panel sample/illustration note */
.demo-note {
  font-size: .72rem;
  line-height: 1.45;
  color: var(--mute);
  font-style: italic;
  margin: 0 2px;
}

/* perf: skip style/layout for below-the-fold sections until they approach the viewport */
@media (min-width: 1px) {
  .section, .section-tight { content-visibility: auto; contain-intrinsic-size: auto 720px; }
}
