/* Tractaly — site stylesheet, version 2
   Palette: Option 1 "Modern sage + deep navy" as the base, with light sky blue (#B9DDF0) from Direction 2 for depth. */

:root {
  --evergreen: #243B3A;      /* primary: headings, nav, primary buttons */
  --evergreen-deep: #1A2C2B; /* hover state of primary */
  --sage: #A9BBA8;           /* feature cards, illustrations, highlights */
  --sage-soft: #D5DFD4;      /* lighter sage tint for backgrounds */
  --sage-pale: #E9EFE8;      /* faint sage wash */
  --ivory: #F5F1E8;          /* main background */
  --terracotta: #D98C62;     /* small accents + icons only */
  --terracotta-soft: #F3DCCB;
  --blue: #B9DDF0;           /* light sky blue: hero bands, section bands, card tints */
  --blue-soft: #D3E9F5;      /* lighter blue tint */
  --blue-pale: #EAF4FA;      /* faint blue wash */
  --white: #FFFFFF;          /* cards, forms */
  --ink: #39464A;            /* body text */
  --ink-muted: #5B6A6E;      /* secondary text: 5.0:1 on ivory */
  --line: #D9DED6;           /* decorative borders */
  --line-strong: #7E8F80;    /* input borders: 3.4:1 on white */
  --danger: #A33F2A;         /* error text: 6.6:1 on white */
  --success: #2E6B4A;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(36,59,58,.06), 0 10px 30px -12px rgba(36,59,58,.18);
  --shadow-sm: 0 1px 2px rgba(36,59,58,.08);
  --container: 1120px;
  --gutter: 16px;
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--evergreen); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--evergreen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--evergreen-deep); }
ul, ol { padding-left: 1.3em; }
strong { color: var(--evergreen); }
:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .btn-primary:focus-visible, .site-footer :focus-visible { outline-color: var(--ivory); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--evergreen); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-white { background: var(--white); }
.section-sage { background: var(--sage-pale); }
.section-dark { background: var(--evergreen); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark strong { color: var(--white); }
.section-dark a { color: var(--white); }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink); max-width: 44ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--evergreen); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--terracotta); }
.section-dark .eyebrow { color: var(--sage); }
.intro { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--evergreen); color: #fff; border-color: var(--evergreen); }
.btn-primary:hover { background: var(--evergreen-deep); border-color: var(--evergreen-deep); color: #fff; box-shadow: 0 8px 20px -10px rgba(36,59,58,.6); }
.btn-secondary { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn-secondary:hover { background: var(--evergreen); color: #fff; }
.btn-light { background: var(--white); color: var(--evergreen); border-color: var(--white); }
.btn-light:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: transparent; padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--sage-pale); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--evergreen); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,241,232,.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(36,59,58,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--evergreen); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
.wordmark .mark { width: 30px; height: 30px; flex: none; }
.wordmark:hover { color: var(--evergreen); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--evergreen); font-weight: 600; font-size: .98rem; transition: background .15s; }
.nav a:hover { background: var(--sage-pale); }
.nav a[aria-current="page"] { background: var(--sage-soft); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { background: var(--evergreen-deep); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--evergreen); padding: 0;
}
.nav-toggle:hover { background: var(--sage-pale); }
.nav-toggle .bars { position: relative; display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; border-radius: 2px; transition: background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
    box-shadow: 0 20px 40px -24px rgba(36,59,58,.4);
    transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--evergreen); font-weight: 600; max-width: 32ch; }
.hero p.sub { max-width: 50ch; }
.hero-blob { position: absolute; z-index: 0; pointer-events: none; opacity: .9; }
.hero-blob.a { width: 520px; right: -140px; top: -120px; }
.hero-blob.b { width: 260px; left: -100px; bottom: -80px; }
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: none; }
  .hero-blob.a { width: 320px; right: -120px; top: -90px; }
}

/* ---------- Audience switcher ---------- */
.audience { margin-top: 28px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.seg button {
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--evergreen);
  background: transparent; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.seg button:hover { background: var(--sage-pale); }
.seg button[aria-selected="true"] { background: var(--evergreen); color: #fff; }
.seg button:focus-visible { outline-offset: -3px; outline-color: var(--terracotta); }
.seg button[aria-selected="true"]:focus-visible { outline-color: var(--ivory); }
.audience-panel { margin-top: 18px; }
.audience-panel[hidden] { display: none; }
.audience-panel .card { animation: fadeUp .35s var(--ease); }
@media (max-width: 480px) {
  .seg { display: flex; flex-direction: column; border-radius: 18px; }
  .seg button { text-align: left; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-sage { background: var(--sage); border-color: transparent; }
.card-sage p, .card-sage .muted { color: var(--evergreen); }
.card-terra { background: var(--terracotta-soft); border-color: transparent; }
.card-dark { background: var(--evergreen); border-color: transparent; color: var(--ivory); }
.card-dark h3, .card-dark h2 { color: #fff; }
.card h3 { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: 12px; }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--evergreen); color: var(--terracotta); flex: none; }
.icon-circle svg { width: 26px; height: 26px; }
.card-sage .icon-circle { background: var(--evergreen); }
.card-dark .icon-circle { background: rgba(255,255,255,.1); }
.icon-circle.light { background: var(--sage-pale); color: var(--evergreen); }

/* Audience cards on home: sage / white / terracotta like the mockup */
.audience-cards .card:nth-child(1) { background: var(--sage); border-color: transparent; }
.audience-cards .card:nth-child(1) p { color: var(--evergreen); }
.audience-cards .card:nth-child(3) { background: var(--terracotta-soft); border-color: transparent; }

/* ---------- Feature list ---------- */
.check-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D98C62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: var(--evergreen); font-weight: 800; font-size: 1.3rem; }
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; }

/* ---------- Phone / chat ---------- */
.phone {
  position: relative; width: 300px; max-width: 100%; margin: 0 auto;
  background: var(--evergreen); border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(36,59,58,.55), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-screen { background: var(--white); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; height: 500px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 26px 16px 12px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.phone-top .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; color: var(--evergreen); }
.phone-top .avatar svg { width: 20px; height: 20px; }
.phone-top .who { font-weight: 700; color: var(--evergreen); font-size: .95rem; line-height: 1.2; }
.phone-top .who small { display: block; color: var(--ink-muted); font-weight: 500; font-size: .75rem; }
.chat { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 16px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.chat::-webkit-scrollbar { display: none; }
.chat > :first-child { margin-top: auto; }
.chat-note { text-align: center; font-size: .72rem; color: var(--ink-muted); margin: 0 0 4px; }
.bubble {
  max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.bubble.is-in { opacity: 1; transform: none; }
.bubble.them { align-self: flex-start; background: var(--sage-pale); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--evergreen); color: #fff; border-bottom-right-radius: 6px; }
.bubble.typing { padding: 12px 16px; }
.bubble.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--ink-muted); animation: blink 1.1s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .18s; }
.bubble.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 18px; border-top: 1px solid var(--line); }
.phone-bar .input { flex: 1; height: 36px; border-radius: 18px; border: 1px solid var(--line); background: var(--ivory); }
.phone-bar .send { width: 36px; height: 36px; border-radius: 50%; background: var(--terracotta); display: grid; place-items: center; color: var(--evergreen); }
.phone-bar .send svg { width: 18px; height: 18px; }
.phone-caption { text-align: center; font-size: .85rem; color: var(--ink-muted); margin-top: 14px; }
.chat-replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }

/* ---------- Placeholders (for Kate) ---------- */
.placeholder {
  border: 2px dashed var(--sage); background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; text-align: center; color: var(--ink-muted);
}
.placeholder .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--evergreen); background: var(--sage-pale); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.placeholder blockquote { margin: 0; font-size: 1.15rem; color: var(--evergreen); font-weight: 600; font-style: italic; }
.placeholder .by { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.placeholder .by .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-soft); }
.placeholder .by .line { width: 110px; height: 10px; border-radius: 6px; background: var(--sage-soft); }
.phone-chip {
  display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 800; color: var(--evergreen); font-size: 1.15rem; letter-spacing: .01em;
  box-shadow: var(--shadow-sm); vertical-align: middle; white-space: nowrap;
}
.phone-chip svg { width: 22px; height: 22px; color: var(--terracotta); }
.phone-chip small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--sage-pale); border-radius: 999px; padding: 3px 8px; }

/* ---------- FAQ (details) ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--evergreen); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23243B3A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq .answer { padding: 0 0 20px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--evergreen); color: var(--ivory); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 48ch; color: var(--sage-soft); }
.cta-band .deco { position: absolute; right: -90px; bottom: -120px; width: 240px; opacity: .22; pointer-events: none; }
.cta-band > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen); color: var(--sage-soft); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: #fff; }
.site-footer .tagline { margin-top: 12px; color: var(--sage); max-width: 30ch; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--sage-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .9rem; color: var(--sage); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-weight: 700; color: var(--evergreen); margin-bottom: 6px; font-size: .97rem; }
.field .hint { display: block; font-size: .88rem; color: var(--ink-muted); margin-top: 6px; }
.field .hint a { font-weight: 600; }
.input, .select, textarea.input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: none; border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(36,59,58,.18); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23243B3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input[readonly] { background: var(--ivory); color: var(--ink-muted); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--danger); }
.error { display: none; color: var(--danger); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.field.is-invalid .error { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: 10px 0 0 10px; }
.input-group .suffix { display: flex; align-items: center; padding: 0 14px; background: var(--ivory); border: 1.5px solid var(--line-strong); border-left: 0; border-radius: 0 10px 10px 0; color: var(--ink-muted); font-weight: 600; }

fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font-weight: 700; color: var(--evergreen); margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .choice-grid.cols-3, .choice-grid.cols-2 { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: var(--white);
  font-weight: 600; color: var(--evergreen); transition: border-color .15s, background .15s, box-shadow .15s; margin: 0;
}
.choice label small { display: block; font-weight: 500; color: var(--ink-muted); font-size: .86rem; margin-top: 2px; }
.choice label::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); transition: all .15s; }
.choice input[type="checkbox"] + label::before { border-radius: 6px; }
.choice input:checked + label { border-color: var(--evergreen); background: var(--sage-pale); }
.choice input:checked + label::before { border-color: var(--evergreen); background: var(--evergreen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.choice input:focus-visible + label { outline: 3px solid var(--evergreen); outline-offset: 2px; }
.choice-inline label { display: inline-flex; padding: 10px 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--evergreen); flex: none; }
.check label { font-weight: 500; color: var(--ink); margin: 0; }

/* Days & hours */
.days { display: grid; gap: 8px; }
.day { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.day .day-toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--evergreen); margin: 0; cursor: pointer; }
.day .day-toggle input { width: 20px; height: 20px; accent-color: var(--evergreen); }
.day .hours { display: flex; align-items: center; gap: 8px; min-width: 0; }
.day .hours .input { min-width: 0; width: auto; flex: 1; }
.day .hours .input { min-height: 42px; padding: 8px 10px; }
.day .hours .to { color: var(--ink-muted); font-size: .9rem; }
.day:not(.is-on) .hours { opacity: .45; }
.day:not(.is-on) .hours .input { pointer-events: none; }
@media (max-width: 480px) { .day { grid-template-columns: 1fr; } }

/* Switch */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.switch .switch-text { font-weight: 700; color: var(--evergreen); }
.switch .switch-text small { display: block; font-weight: 500; color: var(--ink-muted); font-size: .86rem; }
.switch input { appearance: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; flex: none; margin: 0; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked { background: var(--evergreen); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 2px; }

/* Combobox (trade type-ahead) */
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; margin: 0; list-style: none;
}
.combo-list[hidden] { display: none; }
.combo-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: var(--sage-pale); color: var(--evergreen); }
.combo-list li.empty { color: var(--ink-muted); cursor: default; }
.combo-list li mark { background: transparent; color: var(--evergreen); font-weight: 700; }
.chip-selected { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; background: var(--sage-pale); color: var(--evergreen); font-weight: 700; border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.chip-selected svg { width: 16px; height: 16px; color: var(--success); }

/* Payment placeholder */
.pay-panel { border: 2px dashed var(--sage); border-radius: 14px; background: var(--ivory); padding: 26px; text-align: center; color: var(--ink-muted); }
.pay-panel .lock { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--evergreen); }
.pay-tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 16px; }
.pay-tabs button { font: inherit; font-weight: 700; font-size: .9rem; border: 0; background: transparent; color: var(--evergreen); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.pay-tabs button[aria-selected="true"] { background: var(--evergreen); color: #fff; }
.pay-tabs button:focus-visible { outline-offset: -3px; outline-color: var(--terracotta); }
.pay-fake { display: grid; gap: 10px; max-width: 360px; margin: 14px auto 0; }
.pay-fake span { display: block; height: 42px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.pay-fake .half { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Stepper / progress */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; }
.stepper li { counter-increment: s; font-size: .8rem; font-weight: 700; color: var(--ink-muted); }
.stepper li .bar { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 8px; transition: background .3s; }
.stepper li .t { display: block; }
.stepper li.is-done .bar { background: var(--sage); }
.stepper li.is-active .bar { background: var(--evergreen); }
.stepper li.is-active { color: var(--evergreen); }
.stepper li.is-done { color: var(--evergreen); }
@media (max-width: 600px) { .stepper li .t { display: none; } .stepper li.is-active .t { display: block; } }
.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.step-head .count { font-size: .85rem; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
.step-panel[hidden] { display: none; }
.step-panel { animation: fadeUp .3s var(--ease); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.step-actions .right { margin-left: auto; display: flex; gap: 10px; }
.form-status { margin-top: 12px; }
.alert { border-radius: 12px; padding: 14px 16px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert-error { background: #FBEDE8; color: var(--danger); border: 1px solid #E9C7BA; }
.alert-info { background: var(--sage-pale); color: var(--evergreen); border: 1px solid var(--sage-soft); }
.alert-success { background: #E6F1EA; color: var(--success); border: 1px solid #C5DECF; }
.alert-warn { background: var(--terracotta-soft); color: var(--evergreen); border: 1px solid #E9C7B0; }
.alert p { margin: 0; }
.alert[hidden] { display: none; }

/* Code entry */
.code-boxes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0; }
.code-boxes input { width: 46px; height: 58px; text-align: center; font: inherit; font-size: 1.6rem; font-weight: 700; color: var(--evergreen); border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); }
.code-boxes input:focus { outline: none; border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(36,59,58,.18); }
.code-boxes.is-invalid input { border-color: var(--danger); }
.code-boxes.shake { animation: shake .4s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.code-big input { width: 1.5em; font-size: 1.4rem; }
@media (max-width: 400px) { .code-boxes input { width: 40px; height: 52px; font-size: 1.3rem; } }

.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-wrap .form-card { text-align: center; }
.auth-wrap form { text-align: left; }
.success-art { width: 96px; height: 96px; margin: 0 auto 16px; }
.success-art .ring { transform-origin: center; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Onboarding layout */
.onboard-hero { padding: clamp(32px, 5vw, 56px) 0 8px; }
.onboard-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.onboard-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.onboard-layout > *, .profile-layout > *, .split > *, .grid > *, .hero-grid > * { min-width: 0; }
@media (max-width: 960px) { .onboard-layout { grid-template-columns: 1fr; } .onboard-aside { order: -1; } }
.aside-card { background: var(--sage); border-radius: var(--radius-lg); padding: 24px; color: var(--evergreen); position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card h3 { margin-bottom: 8px; }
.aside-card ul { padding-left: 1.1em; margin: 0; }
.aside-card li { margin-bottom: 6px; }
.aside-card p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .aside-card { position: static; } }

/* Profile */
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } }
.profile-nav { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.profile-nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.profile-nav a:hover { background: var(--sage-pale); color: var(--evergreen); }
.profile-nav a.is-current { background: var(--sage-soft); color: var(--evergreen); }
@media (max-width: 900px) { .profile-nav { position: static; display: flex; overflow-x: auto; gap: 4px; } .profile-nav a { white-space: nowrap; } }
.profile-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); margin-bottom: 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.profile-section h2 { font-size: 1.35rem; margin-bottom: 4px; }
.profile-section .sub { color: var(--ink-muted); margin-bottom: 20px; }
.profile-section .section-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; align-items: center; }
.profile-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-top h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem; background: var(--sage-pale); color: var(--evergreen); }
.pill.terra { background: var(--terracotta-soft); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--sage-pale); color: var(--evergreen); border-radius: 999px; padding: 6px 8px 6px 12px; font-weight: 600; font-size: .9rem; }
.chip button { border: 0; background: var(--white); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; color: var(--evergreen); display: grid; place-items: center; font-size: 1rem; line-height: 1; padding: 0; }
.chip button:hover { background: var(--terracotta-soft); }
.saved-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ivory); }
.saved-row .v { font-weight: 700; color: var(--evergreen); }
.saved-row .k { font-size: .85rem; color: var(--ink-muted); }
.subflow { margin-top: 14px; padding: 18px; border-radius: 12px; background: var(--sage-pale); border: 1px solid var(--sage-soft); }
.subflow[hidden] { display: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--evergreen); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 300; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--terracotta); flex: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; background: rgba(36,59,58,.45); }
.modal[hidden] { display: none; }
.modal-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; width: min(520px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow); animation: fadeUp .25s var(--ease); }
.modal-card h2 { font-size: 1.3rem; }
.modal-close { float: right; border: 0; background: var(--sage-pale); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; color: var(--evergreen); }

/* ---------- Illustrations ---------- */
.illus { width: 100%; height: auto; }
.illus-wrap { background: var(--sage-pale); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); }

/* Stats / trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust > div { display: flex; gap: 14px; align-items: flex-start; }
.trust strong { display: block; margin-bottom: 2px; }
.trust p { margin: 0; font-size: .95rem; color: var(--ink-muted); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bubble { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.small { font-size: .9rem; }
.hide { display: none !important; }
.text-success { color: var(--success); font-weight: 700; }
.text-evergreen { color: var(--evergreen); }
.w-100 { width: 100%; }

/* ============================================================
   Version 2: welcome heroes, photo areas, light-blue bands,
   proof-point section with the sample conversation beside the testimonial.
   ============================================================ */

/* Header: no global button; each audience has its own call to action on its page */
.nav .nav-login { font-weight: 700; border: 2px solid var(--evergreen); padding: 7px 16px; margin-left: 8px; }
.nav .nav-login:hover { background: var(--evergreen); color: #fff; }
@media (max-width: 860px) { .nav .nav-login { margin: 8px 0 0; text-align: center; } }

/* Hero on a light-blue band */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(160deg, #D3E9F5 0%, var(--blue) 55%, #AED6EB 100%);
}
.hero::before { content: ""; position: absolute; inset: auto -10% -45% auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--evergreen); font-weight: 600; max-width: 36ch; }
.hero p.sub { max-width: 52ch; color: var(--ink); }
.hero .eyebrow::before { background: var(--terracotta); }
.hero-blob { display: none; }
.hero-photo { position: relative; }
.hero-photo .photo { box-shadow: 0 30px 60px -30px rgba(36,59,58,.45); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero .lead { max-width: none; }
}

/* Audience links in the home hero */
.audience-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 520px) { .audience-links { flex-direction: column; } .audience-links .btn { width: 100%; } }
.btn-white { background: var(--white); color: var(--evergreen); border-color: var(--white); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--ivory); border-color: var(--ivory); color: var(--evergreen); }

/* Photo areas: sized and cropped like the real photograph, holding a note on which photo belongs there */
.photo {
  position: relative; margin: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--blue-soft) 100%);
  display: grid; place-items: center; isolation: isolate;
}
.photo.tone-b { background: linear-gradient(135deg, var(--blue-soft) 0%, var(--ivory) 60%, var(--sage-pale) 100%); }
.photo.tone-c { background: linear-gradient(135deg, #F6E7DB 0%, var(--ivory) 50%, var(--blue-soft) 100%); }
.photo::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(36,59,58,.28); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 15%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%); pointer-events: none; }
.photo.r-4x3 { aspect-ratio: 4 / 3; }
.photo.r-5x4 { aspect-ratio: 5 / 4; }
.photo.r-3x2 { aspect-ratio: 3 / 2; }
.photo.r-4x5 { aspect-ratio: 4 / 5; }
.photo.r-1x1 { aspect-ratio: 1 / 1; }
.photo.r-16x9 { aspect-ratio: 16 / 9; }
.photo-inner { position: relative; z-index: 1; text-align: center; padding: 18px clamp(16px, 8%, 40px); max-width: 34ch; }
.photo-inner .cam { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--evergreen); opacity: .8; }
.photo-inner .photo-tag { display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--evergreen); background: rgba(255,255,255,.7); border-radius: 999px; padding: 4px 10px; margin-bottom: 8px; }
.photo-inner p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--evergreen); font-weight: 500; }
.photo-tall { max-width: 440px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .photo-tall { max-width: 320px; } }
.photo-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.photo-avatar::before { inset: 4px; border-width: 1.5px; border-radius: 50%; }
.photo-avatar .photo-inner { padding: 0; }
.photo-avatar .photo-inner .cam { width: 22px; height: 22px; margin: 0; }
.photo-avatar .photo-inner .photo-tag, .photo-avatar .photo-inner p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.split .photo { width: 100%; }

/* Cards with a photo on top (home) */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo .card-img { border-radius: 0; }
.card-photo .card-body { position: relative; padding: 44px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-photo .card-body .icon-circle { position: absolute; left: 24px; top: -30px; width: 60px; height: 60px; border: 4px solid var(--white); }
.card-photo .card-body h3 { margin-top: 0; }
.card-photo .card-body p { margin-bottom: 18px; }
.card-photo .card-body .btn { margin-top: auto; align-self: flex-start; }

/* Light-blue section bands and tints */
.section-blue { background: linear-gradient(180deg, var(--blue-soft), var(--blue)); }
.section-blue-pale { background: var(--blue-pale); }
.band {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  background: linear-gradient(160deg, #D3E9F5, var(--blue)); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); overflow: hidden;
}
.band .band-photo { max-width: 100%; }
.band-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 18ch; }
.band-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.band-list li { display: flex; gap: 14px; align-items: flex-start; }
.band-list li .icon-circle { width: 48px; height: 48px; background: var(--white); color: var(--evergreen); }
.band-list li .icon-circle svg { width: 24px; height: 24px; }
.band-list strong { display: block; color: var(--evergreen); margin-bottom: 2px; }
.band-list p { margin: 0; color: var(--ink); }
@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; }
  .band .band-photo { max-width: 360px; aspect-ratio: 3 / 2; }
}

/* Terracotta brush stroke under headings, as on the mood board */
.stroke { width: 80px; height: 10px; margin: -4px 0 16px; }
.center .stroke { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 10px; }

/* Proof point: testimonial beside the sample conversation, low-key */
.proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.proof-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.proof-side .tag, .testimonial .tag { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--evergreen); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.testimonial {
  position: relative; background: var(--white); border: 2px dashed var(--sage); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.testimonial .tag { margin-bottom: 18px; background: var(--sage-pale); border-color: transparent; }
.testimonial .quote-mark { width: 40px; height: 40px; color: var(--terracotta); margin-bottom: 8px; }
.testimonial blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: var(--evergreen); font-weight: 600; }
.testimonial .by { display: flex; align-items: center; gap: 14px; }
.testimonial .by .line { display: grid; gap: 6px; }
.testimonial .by .line span { display: block; height: 10px; border-radius: 6px; background: var(--sage-soft); width: 150px; }
.testimonial .by .line span:last-child { width: 100px; background: var(--blue-soft); }
.proof .phone { box-shadow: 0 22px 44px -28px rgba(36,59,58,.45), inset 0 0 0 2px rgba(255,255,255,.06); }
@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; }
}

/* Sample-number chip sits inside running text */
.phone-chip { font-size: 1.05rem; padding: 6px 12px 6px 9px; }
.cta-band .phone-chip { color: var(--evergreen); }

/* Onboarding and auth pages: a light-blue wash behind the forms */
.onboard-hero { background: linear-gradient(160deg, #D3E9F5, var(--blue)); padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); }
.onboard-hero .eyebrow { margin-bottom: 8px; }
.onboard-hero .muted { margin: 0; color: var(--ink); }
.onboard-hero + .section-tight { padding-top: 28px; }
.aside-card { background: var(--blue-soft); }
.auth-wrap .form-card { box-shadow: var(--shadow); }
main > .section:only-child, main > .section:first-child:last-child { background: linear-gradient(180deg, var(--blue-pale), var(--ivory) 40%); }
#profile-page { background: linear-gradient(180deg, var(--blue-pale), var(--ivory) 30%); }
.profile-nav a.is-current { background: var(--blue-soft); }
.stepper li.is-done .bar { background: var(--blue); }
.alert-info { background: var(--blue-pale); border-color: var(--blue-soft); }
.subflow { background: var(--blue-pale); border-color: var(--blue-soft); }

/* Order helpers */
@media (max-width: 860px) { .order-last-mobile { order: 2; } }

/* Header over the blue hero */
.site-header { background: rgba(245,241,232,.92); }
.nav a[aria-current="page"] { background: var(--blue-soft); }
.nav a:hover { background: var(--blue-pale); }

/* Chosen photos fill their area, cropped like the placeholder */
.photo.has-img { background: none; padding: 0; overflow: hidden; }
.photo.has-img::before, .photo.has-img::after { display: none; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* ============================================================
   Round 3 (Kate, 10/30): one light blue (the "See it in action" blue), no gradients,
   light icons on the dark circles, home hero buttons on one line.
   ============================================================ */
.hero, .onboard-hero, .section-blue, .band { background: var(--blue-pale); }
.hero::before { display: none; }
main > .section:only-child, main > .section:first-child:last-child, #profile-page { background: var(--blue-pale); }
.photo { background: var(--sage-pale); }
.photo.tone-b { background: var(--blue-pale); }
.photo.tone-c { background: var(--terracotta-soft); }
.photo::after { display: none; }
.photo.has-img { background: none; }
.stepper li.is-done .bar { background: var(--evergreen); }

/* Icons: a light-palette colour on the dark circle, one per audience */
.icon-circle { color: var(--sage-soft); }
.grid-3 > .card-photo:nth-child(2) .icon-circle { color: var(--blue-pale); }
.grid-3 > .card-photo:nth-child(3) .icon-circle { color: var(--terracotta-soft); }
.band-list li .icon-circle { background: var(--evergreen); color: var(--sage-soft); }
.band-list li:nth-child(2) .icon-circle { color: var(--blue-pale); }
.band-list li:nth-child(3) .icon-circle { color: var(--terracotta-soft); }

/* Home hero: the three audience buttons stay on one line on a wide screen */
@media (min-width: 861px) {
  .audience-links { flex-wrap: nowrap; gap: 8px; }
  .audience-links .btn { white-space: nowrap; padding-left: 16px; padding-right: 16px; font-size: .95rem; }
  .hero-grid:has(.audience-links) { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}

/* ============================================================
   Pricing page (pricing.html): scoped to .page-pricing.
   ============================================================ */
.page-pricing .pricing-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(36,59,58,.45); }
.page-pricing .pricing-panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 18px; }
.page-pricing .pricing-prices { display: grid; gap: 14px; }
.page-pricing .pricing-price { display: grid; grid-template-columns: 9.25rem minmax(0, 1fr); gap: 16px; align-items: start; background: var(--blue-pale); border-radius: var(--radius); padding: 18px 20px; }
.page-pricing .pricing-price:nth-child(2) { background: var(--sage-pale); }
.page-pricing .pricing-amount { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; color: var(--evergreen); white-space: nowrap; }
.page-pricing .pricing-price h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.page-pricing .pricing-price p:not(.pricing-amount) { margin: 0; font-size: .93rem; color: var(--ink); }
.page-pricing .pricing-nofee { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--evergreen); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.35; text-align: center; }
@media (max-width: 480px) {
  .page-pricing .pricing-price { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
}

/* Six included services: three across, two on a tablet, one on a phone with the icon beside the title */
.page-pricing .pricing-service h3 { font-size: 1.15rem; }
.page-pricing .pricing-service p { color: var(--ink); }
.page-pricing .pricing-services > .card:nth-child(3n+2) .icon-circle { color: var(--blue-pale); }
.page-pricing .pricing-services > .card:nth-child(3n) .icon-circle { color: var(--terracotta-soft); }
@media (min-width: 601px) and (max-width: 860px) { .page-pricing .pricing-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .page-pricing .pricing-services { gap: 14px; }
  .page-pricing .pricing-service { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px; }
  .page-pricing .pricing-service .icon-circle { width: 44px; height: 44px; }
  .page-pricing .pricing-service .icon-circle svg { width: 22px; height: 22px; }
  .page-pricing .pricing-service h3 { margin: 0; font-size: 1.08rem; }
  .page-pricing .pricing-service p { grid-column: 1 / -1; margin-top: 10px; }
}

/* Closing call to action */
.page-pricing .pricing-cta h3 { color: #fff; margin-bottom: 14px; }
.page-pricing .pricing-cta-action p { margin-top: 14px; font-size: .92rem; }

/* FAQ as a plain list */
.page-pricing .pricing-faq { margin: 8px 0 0; border-top: 1px solid var(--line); }
.page-pricing .pricing-faq > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.page-pricing .pricing-faq dt { font-family: var(--font-display); font-weight: 700; color: var(--evergreen); font-size: 1.08rem; margin-bottom: 6px; }
.page-pricing .pricing-faq dd { margin: 0; color: var(--ink); }

/* 11/6 Kate's round: full-bleed hero photo fading into the copy, not a boxed photo */
@media (min-width: 861px) {
  .hero:has(.photo-hero.has-img) > .container { position: static; }
  .hero:has(.photo-hero.has-img) .hero-copy { position: relative; z-index: 2; }
  .hero .hero-photo:has(.has-img) { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0; }
  .hero .hero-photo:has(.has-img) { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%); }
  .hero .hero-photo .photo.has-img { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
}
.split.split-single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.band.band-single { grid-template-columns: 1fr; }
.h1-lines span { display: block; }

/* 11/6: phones - the hero photo runs edge to edge too (no box, no rounded corners) */
@media (max-width: 860px) {
  .hero .hero-photo:has(.has-img) { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)) - 4px); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)) - 4px); margin-bottom: calc(-1 * clamp(40px, 6vw, 80px)); }
  .hero .hero-photo .photo.has-img { border-radius: 0; box-shadow: none; }
  .hero .hero-photo:has(.has-img) { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
}

/* ---------- Sign-up fixes (Kate, 9 Nov) ---------- */
/* Section titles and their options match the other field labels */
legend { font-size: .97rem; }
.choice label { font-size: .97rem; }
/* A section left unanswered is highlighted and says why */
fieldset.is-invalid .choice label { border-color: var(--danger); }
fieldset.is-invalid > .error { display: block; }
/* An unticked required checkbox is highlighted */
.field.check.is-invalid input { outline: 2px solid var(--danger); outline-offset: 2px; }
.field.check.is-invalid label { color: var(--danger); }
/* Every day's checkbox is the same size, whatever the length of its name */
@media (min-width: 481px) { .day { grid-template-columns: 136px 1fr; } }
.day .day-toggle input { flex: none; }
/* The three schedule boxes line up even when a label runs to two lines */
.row-3 { align-items: start; }
@media (min-width: 601px) {
  .row-3 { row-gap: 0; grid-template-rows: auto auto auto auto; }
  .row-3 > .field { display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
  .row-3 > .field > label { align-self: end; }
}

/* Kate 10 Nov: testimonials removed until real ones exist; the sample conversation sits centred alone */
.proof.proof-solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.nav .nav-cta { margin-left: 8px; padding: 8px 18px; }
@media (max-width: 860px) { .nav .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; } }
.client-points { gap: 18px 28px; }
.client-point h3 { margin: 0 0 6px; font-size: 1.12rem; }
.client-point p { margin: 0; }
@media (max-width: 720px) { .client-points.grid-2 { grid-template-columns: 1fr; } }
.cta-band p + p { margin-top: 12px; }
.cta-band strong { color: #fff; }
