/* ============================================================
   business-gym.ai · marketing site
   Design vocabulary: warm cream + sage green + amber accents
   matched to the Archibo Gym-Stack family.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg-page:        #F5F2EA;   /* warm cream */
  --bg-surface:     #FFFFFF;
  --bg-soft:        #EDE9DD;
  --bg-muted:       #E5E0D2;
  --bg-dark:        #0F1B3D;   /* matches placeholder navy — Archibo family */
  --bg-dark-soft:   #1A2750;

  /* Inks */
  --ink:            #0F1117;
  --ink-2:          #2F3340;
  --ink-3:          #555A68;
  --ink-4:          #8A8E96;

  /* Brand */
  --sage:           #1D9E75;       /* primary action / trust */
  --sage-dark:      #176A50;
  --sage-soft:      #DFF1E9;
  --amber:          #BA7517;       /* accent / energy */
  --amber-dark:     #8B5210;
  --amber-soft:     #F6E9D2;
  --accent:         #F5A623;       /* matches existing placeholder accent */
  --blue:           #378ADD;
  --purple:         #534AB7;
  --rose:           #C24237;

  /* Borders */
  --border:         #E1DCCD;
  --border-strong:  #C8C1AE;

  /* Effects */
  --shadow-sm:      0 1px 2px rgba(15,17,23,0.05), 0 1px 0 rgba(15,17,23,0.04);
  --shadow:         0 4px 16px rgba(15,17,23,0.08), 0 1px 2px rgba(15,17,23,0.04);
  --shadow-lg:      0 16px 40px rgba(15,17,23,0.14), 0 2px 8px rgba(15,17,23,0.06);
  --shadow-pop:     0 24px 60px rgba(15,17,23,0.18);
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout helpers ---------- */
.wrap   { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark  { background: var(--bg-dark); color: #fff; }
.section--soft  { background: var(--bg-soft); }
.section--surface { background: var(--bg-surface); }
.section--cream  { background: var(--bg-page); }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 234, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__row {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}
.nav__brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em;
}
.nav__links { display: flex; gap: 20px; margin-left: 24px; }
.nav__links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 6px 2px; }
.nav__links a:hover { color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Language switcher — hallomia style: flag pill + dropdown */
.lang {
  position: relative;
  display: inline-block;
}
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
}
.lang__btn:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.lang__btn .flag { font-size: 16px; line-height: 1; }
.lang__btn .chev { font-size: 10px; opacity: 0.6; transition: transform .15s ease; }
.lang.is-open .lang__btn .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 160px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
}
.lang.is-open .lang__menu { display: block; animation: lang-in .12s ease-out; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang__item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  color: var(--ink);
}
.lang__item:hover { background: var(--bg-soft); }
.lang__item.is-active { font-weight: 700; }
.lang__item .dot {
  margin-left: auto; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
}
.lang__item.is-active .dot { display: inline-block; }
.lang__item:not(.is-active) .dot { display: none; }

/* Language switcher — hallomia-style, JS-free native <details> dropdown */
.lang-dd { position: relative; display: inline-block; }
.lang-dd-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer; list-style: none; user-select: none; outline: none;
  transition: background .12s ease, border-color .12s ease;
}
.lang-dd-trigger::-webkit-details-marker { display: none; }
.lang-dd-trigger::marker { content: ""; }
.lang-dd-trigger:hover { background: var(--bg-soft); border-color: var(--border-strong); color: var(--ink); }
.lang-dd-trigger:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.lang-dd[open] .lang-dd-trigger { background: var(--bg-soft); border-color: var(--border-strong); color: var(--ink); }
.lang-dd-flag {
  width: 18px; height: 12px; display: inline-block; flex-shrink: 0;
  overflow: hidden; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(15,17,23,0.08);
}
.lang-dd-flag svg { display: block; width: 100%; height: 100%; }
.lang-dd-chev { width: 11px; height: 11px; opacity: 0.6; transition: transform .15s ease; }
.lang-dd[open] .lang-dd-chev { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  margin: 0; padding: 4px; list-style: none;
  min-width: 170px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  animation: lang-dd-in .15s ease-out;
}
@keyframes lang-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang-dd-menu li { margin: 0; list-style: none; }
.lang-dd-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  font-size: 14px; color: var(--ink); text-decoration: none;
  border-radius: var(--r-sm);
}
.lang-dd-menu a:hover { background: var(--bg-soft); }
.lang-dd-menu a[aria-current="true"] { font-weight: 700; }
.lang-dd-menu a[aria-current="true"]::after {
  content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.lang-dd-menu .lang-dd-flag { width: 20px; height: 14px; }
@media (max-width: 720px) { .lang-dd-menu { right: auto; left: 0; } }

/* Brand logo lockups (replace the old text "BG" mark) */
.nav__brand-logo { height: 34px; width: auto; display: block; }
.footer__brand-logo { height: 30px; width: auto; display: block; }
@media (max-width: 520px) { .nav__brand-logo { height: 30px; } }

/* Primary / secondary buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px;
  border-radius: var(--r);
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1B1F2C; box-shadow: 0 0 0 4px rgba(15,17,23,0.06); }
.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { background: var(--sage-dark); box-shadow: 0 0 0 4px rgba(29,158,117,0.18); }
.btn--amber { background: var(--accent); color: #1A1308; }
.btn--amber:hover { background: #F0991A; box-shadow: 0 0 0 4px rgba(245,166,35,0.25); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink-3); }
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn--xl { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn .arr { font-size: 14px; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(2px); }

/* ---------- Top announce ribbon ---------- */
.ribbon {
  background: var(--bg-dark);
  color: #FFE7C3;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.ribbon strong { color: var(--accent); font-weight: 700; }
.ribbon a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Type ---------- */
.h-eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--sage-dark); font-weight: 700;
  display: inline-block; padding: 4px 10px;
  background: var(--sage-soft); border-radius: var(--r-pill);
}
.h-eyebrow--amber { color: var(--amber-dark); background: var(--amber-soft); }
.h-eyebrow--dark { color: var(--accent); background: rgba(245,166,35,0.12); }

h1.display, h2.display, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink);
}
h1.display { font-size: clamp(36px, 5.6vw, 64px); }
h2.display { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 16px; }
h3.display { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 640px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lede { margin: 14px auto 0; }
.section-head h2 { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(80% 60% at 15% 0%,  rgba(29,158,117,0.18), transparent 60%),
    radial-gradient(70% 50% at 100% 10%, rgba(83,74,183,0.12),  transparent 65%),
    radial-gradient(60% 45% at 50% 100%, rgba(245,166,35,0.10), transparent 70%),
    var(--bg-page);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero__head h1 { margin: 18px 0 22px; }
.hero__head .lede { font-size: clamp(17px, 1.5vw, 20.5px); margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: var(--ink-3);
}
.hero__trust span {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.hero__trust .check { color: var(--sage); font-weight: 700; }

/* Hero visual: stacked org / "team" mockup */
.hero__visual {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 90% 10%, rgba(29,158,117,0.10), transparent 70%);
  pointer-events: none;
}
.hero__visual-row {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px;
}
.hero__visual-row .live { display: inline-flex; align-items: center; gap: 6px; }
.hero__visual-row .live .dot { width: 8px; height: 8px; border-radius: 50%; background: #1D9E75; box-shadow: 0 0 0 4px rgba(29,158,117,0.18); animation: pulse 1.6s infinite ease-in-out; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .7; } }

.planner {
  position: relative;
  background: linear-gradient(180deg, #ECEAF7 0%, #DDDAEC 100%);
  color: #2B265A;
  border-radius: var(--r);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.planner .ring {
  width: 36px; height: 36px; border-radius: 50%;
  background: #534AB7; color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.planner__name { font-weight: 600; font-size: 14px; }
.planner__sub { font-size: 11.5px; color: #4F4886; }

.heads-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.head-mini {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  position: relative;
}
.head-mini__dot { width: 6px; height: 6px; border-radius: 50%; }
.head-mini__sub { font-size: 10.5px; font-weight: 500; color: var(--ink-4); display: block; }
.head-mini.sage   { border-color: #B5DCC8; background: var(--sage-soft); color: var(--sage-dark); }
.head-mini.amber  { border-color: #E4C57E; background: var(--amber-soft); color: var(--amber-dark); }
.head-mini.blue   { border-color: #B5D4F4; background: #E9F1FB; color: #2563AA; }
.head-mini.purple { border-color: #C9C4EB; background: #ECEAF7; color: #534AB7; }
.head-mini.rose   { border-color: #E8A89F; background: #F8DCD7; color: #B53B2A; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__head { order: 0; }
  .hero__visual { order: 1; }
}

/* ---------- Pain agitation ---------- */
.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pain-card .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--amber-soft); color: var(--amber-dark);
  display: grid; place-items: center; font-size: 20px;
  margin-bottom: 14px;
}
.pain-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.pain-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- Heads (Meet your team) ---------- */
.heads-board {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.heads-board__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.heads-conductor {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(120deg, #ECEAF7 0%, #DDDAEC 100%);
  border-radius: var(--r-lg); padding: 20px 22px;
  border: 1px solid #C9C4EB;
}
.heads-conductor .ring {
  width: 64px; height: 64px; border-radius: 50%; background: #534AB7;
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.heads-conductor h3 { font-size: 18px; margin-bottom: 2px; color: #2B265A; }
.heads-conductor p { font-size: 13.5px; color: #4F4886; }
.heads-conductor .tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #534AB7; font-weight: 700; margin-bottom: 4px; }
.heads-board__divider { height: 1px; background: var(--border); margin: 8px 0; position: relative; }
.heads-board__divider::after {
  content: "↕"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--bg-surface); padding: 0 10px; color: var(--ink-4); font-size: 11px;
}
.heads-grid-big {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.head-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 14px 12px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.head-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.head-card__ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center; font-size: 17px;
  margin-bottom: 8px;
}
.head-card.sage   .head-card__ico { background: var(--sage-soft); color: var(--sage-dark); }
.head-card.amber  .head-card__ico { background: var(--amber-soft); color: var(--amber-dark); }
.head-card.blue   .head-card__ico { background: #E9F1FB; color: #2563AA; }
.head-card.purple .head-card__ico { background: #ECEAF7; color: #534AB7; }
.head-card.rose   .head-card__ico { background: #F8DCD7; color: #B53B2A; }
.head-card.gray   .head-card__ico { background: var(--bg-muted); color: var(--ink-2); }
.head-card h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.head-card p  { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 960px) { .heads-grid-big { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .heads-grid-big { grid-template-columns: repeat(2, 1fr); } .heads-conductor { grid-template-columns: 48px 1fr; } .heads-conductor .ring { width: 48px; height: 48px; font-size: 16px; } }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.how-card__num {
  position: absolute; top: -14px; left: 24px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
}
.how-card h3 { font-size: 17px; margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--ink-3); }
.how-card .chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-dark); background: var(--sage-soft); padding: 3px 8px; border-radius: var(--r-pill); margin-top: 12px; }
@media (max-width: 840px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Use cases / showcase ---------- */
.show-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.show-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.show-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.show-card__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.show-card__head .pill {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
  background: var(--bg-muted); color: var(--ink-2);
  padding: 3px 8px; border-radius: var(--r-pill);
  margin-left: auto;
}
.show-card p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.show-card .saved { font-size: 12.5px; color: var(--sage-dark); font-weight: 700; }
@media (max-width: 920px) { .show-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .show-grid { grid-template-columns: 1fr; } }

/* ---------- Industry packs ---------- */
.packs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.pack {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.pack__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-soft); color: var(--sage-dark);
  display: grid; place-items: center; font-size: 22px;
  margin-bottom: 6px;
}
.pack h3 { font-size: 16px; }
.pack p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.pack .pack__meta {
  margin-top: auto; padding-top: 12px;
  font-size: 12px; color: var(--ink-4);
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 840px) { .packs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .packs-grid { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #112247 100%);
  color: #fff;
  border-radius: 22px;
  padding: 48px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  align-items: center;
  position: relative; overflow: hidden;
}
.trust::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 0% 0%, rgba(245,166,35,0.15), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(29,158,117,0.15), transparent 65%);
  pointer-events: none;
}
.trust > * { position: relative; z-index: 1; }
.trust h2 { color: #fff; margin-bottom: 12px; }
.trust p  { color: #DCE0EE; font-size: 16px; max-width: 480px; }
.trust .badge-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.trust .badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
}
.trust .badge i { color: var(--accent); font-size: 16px; }
@media (max-width: 840px) { .trust { grid-template-columns: 1fr; padding: 32px; } }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  align-items: stretch;
}
.price {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price--featured {
  border: 2px solid var(--sage);
  box-shadow: 0 18px 40px rgba(29,158,117,0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--sage-soft) 200%);
}
.price__tag {
  position: absolute; top: -12px; left: 22px;
  background: var(--sage); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.price h3 { font-size: 18px; margin-bottom: 4px; }
.price .price__sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.price__big { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price__big small { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.price__per { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; margin-bottom: 18px; }
.price ul { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 22px; }
.price ul li { display: flex; align-items: flex-start; gap: 8px; }
.price ul li .ok { color: var(--sage); font-weight: 700; flex-shrink: 0; }
.price .btn { width: 100%; margin-top: auto; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__sum {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.faq__sum::-webkit-details-marker { display: none; }
.faq__sum::after {
  content: "+";
  font-size: 22px; font-weight: 400; color: var(--ink-3);
  transition: transform .2s ease, color .2s ease;
}
.faq__item[open] .faq__sum::after { content: "−"; color: var(--sage); }
.faq__body {
  padding: 0 22px 20px;
  color: var(--ink-3); font-size: 14.5px; line-height: 1.6;
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(245,166,35,0.18), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(29,158,117,0.16), transparent 65%),
    var(--bg-dark);
  color: #fff;
  border-radius: 22px;
  padding: 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final h2 { color: #fff; margin-bottom: 14px; }
.cta-final p  { color: #DCE0EE; font-size: 17px; max-width: 600px; margin: 0 auto 26px; }
.cta-final .cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-final small { display: block; margin-top: 18px; font-size: 12.5px; color: #A7AECB; }
@media (max-width: 600px) { .cta-final { padding: 36px 24px; } }

/* ---------- Footer ---------- */
.footer {
  background: #0B132E;
  color: #C8CDDE;
  padding: 64px 0 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  margin-bottom: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font-weight: 700; }
.footer__brand .nav__brand-mark { background: var(--accent); color: #0F1117; }
.footer p.footer__tag { font-size: 13px; color: #A7AECB; max-width: 260px; line-height: 1.55; margin-bottom: 18px; }
.footer h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #8087A4; font-weight: 700;
  margin-bottom: 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 13.5px; color: #C8CDDE; }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 10px; margin-top: 10px; }
.footer__social a {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.06); color: #C8CDDE;
  display: grid; place-items: center;
  transition: background .12s ease, color .12s ease;
}
.footer__social a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #8087A4;
}
.footer__legal a { color: #A7AECB; }
.footer__legal a:hover { color: #fff; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }
.reveal:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .planner .ring, .hero__visual-row .live .dot { animation: none; }
}

/* ---------- Tiny utils ---------- */
.mono { font-family: var(--font-mono); }
.t-center { text-align: center; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.muted { color: var(--ink-3); }
.dim   { color: var(--ink-4); }
.kbd {
  display: inline-block; padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 4px; background: var(--bg-surface);
  font-family: var(--font-mono); font-size: 11px;
}

/* ---------- Legal-page typography ---------- */
.legal { background: var(--bg-page); padding: 60px 0 96px; }
.legal__wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal .updated { font-size: 13px; color: var(--ink-3); margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.legal h3 { font-size: 15.5px; margin: 24px 0 6px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.legal table th, .legal table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.legal table th { background: var(--bg-soft); }
.legal .note {
  background: var(--amber-soft); border: 1px solid #E4C57E; color: var(--amber-dark);
  border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin: 16px 0;
}

/* ---------- Interactive sample chat ---------- */
.demo {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.demo__header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.demo__header .ring {
  width: 36px; height: 36px; border-radius: 50%;
  background: #ECEAF7; color: #534AB7;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.demo__header strong { font-size: 14px; }
.demo__header small  { font-size: 11.5px; color: var(--ink-4); }
.demo__chat {
  min-height: 260px; max-height: 360px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px 4px;
}
.demo__msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 14px; line-height: 1.5;
}
.demo__msg--them { align-self: flex-start; background: var(--bg-soft); color: var(--ink); }
.demo__msg--me   { align-self: flex-end;   background: var(--sage-soft); color: var(--sage-dark); font-weight: 500; }
.demo__msg strong { font-weight: 600; color: inherit; }
.demo__msg--anim { animation: msg-in .25s ease-out; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.demo__quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.demo__quick button {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.demo__quick button:hover { background: var(--sage-soft); border-color: #B5DCC8; color: var(--sage-dark); }
.demo__quick button:disabled { cursor: default; }

/* ---------- Mobile menu (burger) ---------- */
.burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  display: block; width: 16px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .15s ease, opacity .15s ease;
}
.mobile-nav {
  display: none;
  position: fixed; left: 0; right: 0; top: 64px; bottom: 0;
  background: var(--bg-page); z-index: 90;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border); }
.mobile-nav .btn { width: 100%; margin-top: 16px; }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .burger { display: flex; }
}

/* ---------- Founder note ---------- */
.founder {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.founder__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 30px;
}
.founder h3 { font-size: 20px; margin-bottom: 8px; }
.founder .role { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.founder p { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin-bottom: 10px; }
.founder p:last-child { margin-bottom: 0; }
.founder .sig { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; padding: 24px; } .founder__avatar { width: 64px; height: 64px; font-size: 22px; } }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat__big { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat__lbl { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); padding: 20px; } .stat__big { font-size: 26px; } }

/* ---------- "Before / After" timeline ---------- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.compare__col {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
}
.compare__col--before { background: linear-gradient(180deg, #FFF5F2 0%, #FFE9E4 100%); border-color: #E8A89F; }
.compare__col--after  { background: linear-gradient(180deg, #F1FAF4 0%, var(--sage-soft) 100%); border-color: #9FE1CB; }
.compare__col h4 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.compare__col--before h4 { color: var(--rose); }
.compare__col--after  h4 { color: var(--sage-dark); }
.compare__col ul { display: flex; flex-direction: column; gap: 8px; }
.compare__col li { font-size: 14px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.compare__col li .marker { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.compare__col--before li .marker { background: #FFD7CF; color: var(--rose); }
.compare__col--after  li .marker { background: #C7EBDA; color: var(--sage-dark); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
