/* InstituteOS website: white pages with light grey bands, navy text, a little gold.
   Display face Fraunces, body face Figtree. */
:root {
  --bg: #ffffff;
  --band: #f4f5f7;
  --surface: #ffffff;
  --ink: #141c2b;
  --muted: #5f6878;
  --line: #e3e6ec;
  --navy: #1a2f55;
  --navy-ink: #ffffff;
  --gold: #a9792b;
  --gold-soft: #f7f0e3;
  --good: #23764f;
  --bad: #b5472f;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow: 0 24px 48px -32px rgba(26, 47, 85, .45);
  /* Older names still used by the internal pages */
  --white: var(--surface);
  --foam: var(--band);
  --coral: var(--bad);
  --ok: var(--good);
  --teal: var(--navy);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.num, table { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }

/* Bands that run edge to edge */
.band { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }

/* Top banner */
.promo-banner { background: var(--gold-soft); color: var(--ink); text-align: center; font-size: 14.5px; padding: 10px 16px; }
.promo-banner strong { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; margin-right: 6px; }
.promo-banner a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); }

/* Header */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.brand { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0; }
.brand span { color: var(--gold); }
.brand-mark { display: none; }
.nav-links { display: flex; align-items: center; gap: 6px 22px; font-size: 15px; font-weight: 500; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.nav-links > a:not(.btn) { padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a.active:not(.btn) { color: var(--ink); border-bottom-color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; font-size: 15.5px; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer; text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
.btn-primary, .btn-amber { background: var(--navy); color: var(--navy-ink); }
.btn-primary:hover, .btn-amber:hover { background: #24406f; }
.btn-ghost:hover { background: var(--band); }
.btn-light { background: var(--navy-ink); color: var(--navy); border-color: var(--navy-ink); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* Small label above headings */
.eyebrow, .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow span { display: none; }

/* Home hero */
.hero { padding: 88px 0 72px; max-width: 780px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 16px; }
.hero-sub, .lede { color: var(--muted); font-size: 19px; margin-top: 20px; max-width: 60ch; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-weight: 600; font-size: 16px; }
.points span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }

/* Inner page hero */
.page-hero { padding: 72px 0 56px; max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 50px); margin-top: 14px; }
.page-hero p { color: var(--muted); font-size: 18.5px; margin-top: 18px; max-width: 62ch; }

/* Number strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 0; }
.stat { padding: 28px 24px; display: grid; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
.section:not(.band) + .section:not(.band) { border-top: 1px solid var(--line); }
.section.band { border-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 680px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { color: var(--muted); }

/* Grids and cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15.5px; }
a.card:hover { border-color: var(--navy); }
.card-icon { font-family: var(--display); font-weight: 600; color: var(--gold); font-size: 15px; letter-spacing: .06em; }
.center { text-align: center; }

/* Tick lists */
.feature-list { display: grid; gap: 10px; font-size: 15.5px; }
.feature-list li { padding-left: 24px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.feature-list li.no { color: var(--muted); }
.feature-list li.no::before { content: "—"; color: var(--muted); }

/* Offers */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.offer-card.hot { border-color: var(--navy); box-shadow: var(--shadow); }
.offer-card h3 { font-size: 24px; }
.offer-card p { color: var(--muted); }
.offer-card p strong { color: var(--ink); font-weight: 600; }
.offer-card .btn { justify-self: start; margin-top: 6px; }
.offer-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.offer-meta { font-size: 14px; color: var(--muted); }

/* Text blocks (fine print, internal book) */
.chapter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 20px; }
.chapter h2 { font-size: 26px; margin-bottom: 10px; }
.chapter h3 { font-size: 19px; margin: 16px 0 6px; }
.chapter p, .chapter li { color: var(--muted); font-size: 16px; }
.chapter ul { display: grid; gap: 8px; margin-top: 8px; }
.chapter li { padding-left: 22px; position: relative; }
.chapter li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chapter-label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.timeline { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.step h3 { font-size: 18px; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: 15.5px; }
.book-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.book-nav a { font-size: 14.5px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.book-nav a:hover { border-color: var(--navy); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--display); font-weight: 600; font-size: 17px; }
thead th.hl { color: var(--gold); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.row-label, tbody th { font-weight: 500; }
td.check { color: var(--ink); }
td.cross { color: var(--muted); }
td.yes::before { content: "✓"; color: var(--gold); font-weight: 700; }
td.no::before { content: "—"; color: var(--line); }
.group th { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 24px; }

/* Pricing */
.bill { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.bill h2 { font-size: clamp(28px, 3.4vw, 38px); }
.bill-note { color: var(--muted); font-size: 15px; margin-top: 10px; }
.switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.switch button { font: inherit; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; padding: 9px 20px; border-radius: 999px; background: transparent; color: var(--muted); }
.switch button[aria-pressed="true"] { background: var(--navy); color: var(--navy-ink); }
.switch small { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-left: 6px; }
.switch button[aria-pressed="true"] small { color: inherit; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; }
.plan.best { border-color: var(--navy); box-shadow: 0 1px 0 var(--navy), var(--shadow); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan h3 { font-size: 26px; }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.who { color: var(--muted); font-size: 15.5px; margin-top: -12px; min-height: 3.2em; }
.price { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amount { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; }
.amount small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sub { font-size: 14.5px; color: var(--muted); min-height: 2.9em; }
.sub strong { color: var(--good); font-weight: 600; }
.facts { display: grid; gap: 6px; font-size: 15px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { font-weight: 600; }
.plan ul { display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan li.first { font-weight: 600; }
.plan li.first::before { content: "—"; }
.plan .btn { margin-top: auto; }
.enterprise { margin-top: 20px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 24px; align-items: center; }
.enterprise h3 { font-size: 24px; }
.enterprise p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.enterprise .price { border: 0; padding: 0; }
.enterprise .amount { font-size: 32px; }
.enterprise .sub { min-height: 0; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Commission calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 28px; }
.field .label, .field > label { font-weight: 600; font-size: 15.5px; }
.field output { font-family: var(--display); font-size: 34px; font-weight: 600; }
.field input[type="range"] { width: 100%; accent-color: var(--navy); }
.hint { color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 8px; }
.chips button { font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.row { display: grid; gap: 8px; }
.row .lbl { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.row .lbl b { font-weight: 600; }
.bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; }
.bar.them i { background: var(--muted); }
.bar.us i { background: var(--gold); }
.keep { padding-top: 18px; border-top: 1px solid var(--line); }
.keep span { color: var(--muted); font-size: 15px; }
.keep b { display: block; font-family: var(--display); font-weight: 600; font-size: 42px; color: var(--good); line-height: 1.1; }
.note { color: var(--muted); font-size: 13.5px; }

/* Lifetime row */
.life { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.life > div { padding: 28px; display: grid; gap: 6px; }
.life > div + div { border-left: 1px solid var(--line); }
.life h3 { font-size: 20px; }
.life .big { font-family: var(--display); font-weight: 600; font-size: 32px; }
.life .big small { font-family: var(--body); font-size: 14.5px; color: var(--muted); font-weight: 500; }
.life p { color: var(--muted); font-size: 15px; }
.life p strong { color: var(--ink); font-weight: 600; }

/* Add-on list */
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.addon { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.addon h3 { font-family: var(--body); font-size: 17px; font-weight: 600; }
.addon p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.addon .p { font-weight: 600; color: var(--gold); white-space: nowrap; }

/* Questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* Form */
.form-card { max-width: 620px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 8px; }
.form-card label { font-weight: 600; font-size: 15px; margin-top: 10px; }
.form-card input, .form-card select, .form-card textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-card .btn { margin-top: 18px; }
.form-ok { color: var(--good); font-weight: 600; font-size: 15px; margin-top: 10px; }

/* Closing call to action */
.final-cta { margin: 80px 0 40px; background: var(--navy); color: var(--navy-ink); border-radius: 20px; padding: 48px; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 38px); }
.final-cta p { opacity: .85; margin-top: 10px; max-width: 58ch; }
.final-cta .btn-primary, .final-cta .btn-amber { background: var(--navy-ink); color: var(--navy); border-color: var(--navy-ink); }
.final-cta .btn-light, .final-cta .btn-ghost { background: transparent; color: var(--navy-ink); border-color: rgba(255, 255, 255, .5); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 24px; font-size: 18px; font-weight: 600; }
.contact-lines small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; display: grid; gap: 10px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .links a:hover { color: var(--ink); }

@media (max-width: 920px) {
  .grid-3, .grid-4, .plans, .calc, .life, .addons, .offer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .life > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .enterprise { grid-template-columns: 1fr; }
  .nav-hide { display: none; }
  .final-cta { padding: 32px; }
  .hero, .page-hero { padding: 56px 0 44px; }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .bar i { transition: width .35s ease; }
}

/* Full features page */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-tools { position: sticky; top: 85px; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.fx-search input { font: inherit; font-size: 16px; width: 100%; max-width: 560px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--band); color: var(--ink); }
.fx-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: var(--surface); }
.fx-count { color: var(--muted); font-size: 14px; }
.fx-jump { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.fx-jump a { white-space: nowrap; font-size: 14px; font-weight: 500; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.fx-jump a:hover { border-color: var(--navy); }
.fx-mod { scroll-margin-top: 210px; }
.fx-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.fx-head h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 8px; }
.fx-head p { color: var(--muted); font-size: 17px; }
.fx-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fx-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.fx-group h3 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fx-group .feature-list { font-size: 16px; }
.new { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 0 7px; margin-left: 6px; vertical-align: 2px; }
mark { background: var(--gold-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.fx-empty { padding: 48px 0; color: var(--muted); font-size: 17px; }
@media (max-width: 920px) {
  .fx-head { grid-template-columns: 1fr; }
  .fx-tools { top: 0; position: static; }
}

/* Device frames for screenshots */
.laptop { position: relative; }
.laptop-screen { background: #1d2230; border-radius: 14px 14px 0 0; padding: 12px 12px 0; box-shadow: 0 30px 60px -30px rgba(20, 28, 43, .45); }
.laptop-bar { display: flex; gap: 6px; padding: 0 2px 10px; }
.laptop-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4152; }
.laptop-screen img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.laptop-base { height: 16px; margin: 0 -3%; background: linear-gradient(#d9dde5, #b9bfca); border-radius: 0 0 16px 16px; }
.laptop-base::after { content: ""; display: block; width: 18%; height: 6px; margin: 0 auto; background: #a9afba; border-radius: 0 0 8px 8px; }
.phone { width: 240px; background: #12151c; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px -28px rgba(20, 28, 43, .55); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; background: #12151c; border-radius: 12px; z-index: 2; }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }

/* Home showcase: laptop with a phone in front */
.showcase { position: relative; padding: 8px 3% 40px; overflow-x: clip; }
.showcase .laptop { width: 86%; }
.showcase .phone { position: absolute; right: 0; bottom: 0; width: 20%; min-width: 150px; }
.showcase-caption { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; margin-top: 20px; }

/* Tour page */
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.shot { display: grid; gap: 12px; align-content: start; }
.shot a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 36px -28px rgba(20, 28, 43, .4); }
.shot a:hover { border-color: var(--navy); }
.shot img { display: block; width: 100%; height: auto; }
.shot h3 { font-size: 19px; }
.shot p { color: var(--muted); font-size: 15px; }
.phone-row { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.phone-row figure { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; }
.phone-row figcaption { font-weight: 600; font-size: 15.5px; }
.phone-row figcaption span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.fx-shot { margin-top: 28px; }
.fx-shot a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 36px -28px rgba(20, 28, 43, .4); }
.fx-shot img { display: block; width: 100%; height: auto; }
.sample-note { color: var(--muted); font-size: 13.5px; margin-top: 18px; }

@media (max-width: 920px) {
  .shot-grid { grid-template-columns: 1fr; }
  .showcase .laptop { width: 100%; }
  .showcase .phone { position: static; margin: -60px 12px 0 auto; width: 160px; }
}

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0d1117; color: #fff; border-radius: 10px; padding: 9px 18px 9px 14px; min-width: 168px; border: 1px solid #0d1117; transition: transform .15s; }
.store:hover { transform: translateY(-1px); }
.store-ic { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.1; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .02em; opacity: .85; }

/* Mobile apps split */
.apps-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.apps-split h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 10px; }
.apps-phones { display: flex; gap: 24px; justify-content: center; align-items: flex-end; }
.apps-phones figure { margin: 0; display: grid; gap: 12px; justify-items: center; font-weight: 600; font-size: 15px; }
.apps-phones figure:last-child { transform: translateY(-36px); }
.apps-phones .phone { width: 220px; }

/* Integrations */
.integrations { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.integrations li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 600; font-size: 15px; }
.int-ic { width: 26px; height: 26px; flex: none; }
.txt-logo { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }

/* Footer social icons */
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.social a:hover { color: var(--navy); border-color: var(--navy); }
.soc-ic { width: 18px; height: 18px; }

@media (max-width: 920px) {
  .apps-split { grid-template-columns: 1fr; }
  .apps-phones .phone { width: 160px; }
  .apps-phones figure:last-child { transform: none; }
}

/* ---------- Responsive ---------- */
.menu-btn { display: none; }
.swipe-hint { display: none; color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }
.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.table-wrap .group th { background: var(--surface); }

@media (max-width: 920px) {
  .topbar { flex-wrap: wrap; padding: 16px 0; }
  .menu-btn { display: inline-grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .topbar.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.open .menu-btn span:nth-child(2) { opacity: 0; }
  .topbar.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .topbar.open .nav-links { display: flex; }
  .nav-links > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav-links > a.active:not(.btn) { border-bottom-color: var(--line); color: var(--gold); }
  .nav-links .btn { margin-top: 14px; padding: 13px 18px; font-size: 16px; }
  .nav-hide { display: block; }
  .swipe-hint { display: block; }
  .fx-tools { top: 0; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 32px); }
  .promo-banner { font-size: 13.5px; padding: 9px 14px; }
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 32px; }
  .hero-sub, .lede, .page-hero p { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .stat + .stat { border-top: 0; }
  .stat:nth-child(2n+1) { border-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat strong { font-size: 28px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }
  .card, .offer-card, .chapter, .fx-group, .result, .form-card { padding: 22px 20px; }
  .plan { padding: 26px 22px; }
  .amount { font-size: 38px; }
  .showcase { padding: 0; }
  .showcase .phone { display: none; }
  .showcase-caption { flex-direction: column; align-items: flex-start; }
  .phone-row { gap: 22px 14px; }
  .phone-row figure { width: calc(50% - 7px); }
  .phone-row .phone { width: 100%; border-radius: 28px; padding: 7px; }
  .phone-row .phone img { border-radius: 22px; }
  .phone-row .phone::before { top: 12px; width: 48px; height: 13px; }
  .apps-phones { gap: 14px; }
  .apps-phones .phone { width: 100%; max-width: 170px; border-radius: 30px; padding: 8px; }
  .apps-phones .phone img { border-radius: 23px; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .store { min-width: 0; padding: 9px 12px; }
  .store span { font-size: 16px; }
  .integrations { grid-template-columns: 1fr 1fr; gap: 10px; }
  .integrations li { padding: 13px 12px; font-size: 14px; gap: 10px; }
  .addon { flex-direction: column; gap: 6px; }
  .enterprise { padding: 22px 20px; }
  .final-cta { padding: 28px 22px; margin-top: 56px; }
  .contact-lines { flex-direction: column; gap: 14px; }
  .bill { align-items: flex-start; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 10px 12px; }
  .calc { gap: 28px; }
  .keep b { font-size: 36px; }
  th, td { padding: 12px 14px; }
  table { font-size: 14.5px; }
  .fx-head p { font-size: 16px; }
  .chips { flex-wrap: wrap; }
}

/* Tablets: two cards per row instead of one */
@media (min-width: 601px) and (max-width: 920px) {
  .grid-3, .grid-4, .shot-grid, .offer-grid { grid-template-columns: 1fr 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
}
