/* Closenture marketing site. Brand: Success Green #22C55E, Deep Black #0D1117, Light Gray #F1F2F4.
   One face (Figtree) for everything; Montserrat 800 only in the wordmark. Real pieces of the product carry data-ui:
   inside them the app's own borders, radii and card shadows apply. */
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-latin.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-800-latin.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #0d1117;
  --ink-2: #3b4250;
  --muted: #5a616e;
  --bg: #ffffff;
  --tone: #f1f2f4;
  --tone-2: #e4e7eb;
  --dark: #0d1117;
  --dark-2: #171d26;
  --on-dark: #ffffff;
  --on-dark-2: #b4bcc8;
  --green: #22c55e;
  --green-deep: #0b6e37;
  --green-700: #15803d;
  --green-ink: #14532d;
  --green-tint: #dcfce7;
  --red: #b42318;
  --red-tint: #fee4e2;
  --amber-ink: #8a4b06;
  --amber-tint: #fef0c7;
  --blue: #2563eb;
  --radius: 4px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wordmark: 'Montserrat', 'Figtree', system-ui, sans-serif;
  --t-display: clamp(28px, 4.6vw, 68px);
  --t-h2: clamp(28px, 3.1vw, 46px);
  --t-lead: clamp(19px, 1.5vw, 22px);
  --t-body: 18px;
  --t-small: 15px;
  --margin: clamp(16px, 4.4vw, 64px);
  --gap-section: clamp(96px, 11vw, 168px);
  --max: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--ink); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--margin); }
.section { padding-block: var(--gap-section) 0; }
.section:last-of-type { padding-bottom: var(--gap-section); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.small { font-size: var(--t-small); }
.muted { color: var(--muted); }
.statement { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.32; letter-spacing: -0.01em; max-width: 34ch; font-weight: 500; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 64px 0 18px; }
.prose h3 { margin: 36px 0 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: 0 0 .5em; }
.prose a { color: var(--green-700); text-underline-offset: 3px; }
.prose table { margin: 8px 0 28px; }
.prose .callout { background: var(--tone); padding: 22px 24px; margin: 0 0 28px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius);
  background: var(--green); color: var(--ink); font-weight: 650; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s; }
.btn:hover { background: #2ed16a; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222a35; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- Header ---------- */
.nav { position: relative; z-index: 5; }
.nav .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--wordmark); letter-spacing: 0.01em; }
.brand img { width: 30px; height: 30px; }
.brand .nture { color: var(--green-700); }
.nav--dark .brand, .nav--dark { color: #fff; }
.nav--dark { background: var(--dark); }
.nav--dark .brand .nture { color: var(--green); }
.nav__links { display: flex; gap: 26px; margin-left: auto; list-style: none; font-size: 16px; font-weight: 550; }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__links a:hover, .nav__links a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--green); }
.nav__lang { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 2px; }
.nav__lang:hover { text-decoration: underline; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
.nav__menu { display: none; }
@media (max-width: 960px) {
  .nav .wrap { gap: 12px; min-height: 64px; }
  .nav__links, .nav__lang--wide { display: none; }
  .nav .btn { margin-left: auto; white-space: nowrap; }
  .nav__menu { display: block; }
  .nav__menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; font-weight: 650; font-size: 15px; }
  .nav__menu summary::-webkit-details-marker { display: none; }
  .nav__menu[open] .nav__sheet { display: block; }
  .nav__sheet { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--dark); color: #fff; padding: 12px var(--margin) 28px; box-shadow: 0 18px 40px rgba(13,17,23,.35); }
  .nav__sheet a { display: block; padding: 14px 0; font-size: 20px; font-weight: 600; text-decoration: none; }
}

/* ---------- Home hero: Deep Black field, the slogan, the live Money Map ---------- */
.hero { background: var(--dark); color: var(--on-dark); }
.hero__body { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px); }
.hero h1 { max-width: 21ch; }
.hero h1 .line { display: block; }
.hero__grid > * { min-width: 0; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.hero .lead { color: var(--on-dark-2); }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero__note { margin-top: 22px; color: var(--on-dark-2); font-size: var(--t-small); }
.hero .link-arrow { color: #fff; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

/* Inner page heads */
.page-head { padding-block: clamp(36px, 5vw, 72px) 0; }
.page-head h1 { max-width: 22ch; font-size: clamp(30px, 4.6vw, 66px); }
.page-head .lead { margin-top: 22px; }
.page-head .actions { margin-top: 30px; }
.page-head--split > * { min-width: 0; }
.page-head--split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
@media (max-width: 960px) { .page-head--split { grid-template-columns: 1fr; } }
.crumbs { font-size: var(--t-small); color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { color: var(--ink-2); }

/* ---------- Product fragments (data-ui): the app's own look ---------- */
[data-ui] { font-size: 14px; line-height: 1.45; color: var(--ink); }
.ui-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; box-shadow: 0 1px 2px rgba(13,17,23,.06); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.ui-title { font-weight: 650; font-size: 16px; }
.ui-sub { color: var(--muted); font-size: 13px; }
.ui-seg { display: inline-flex; background: var(--tone); border-radius: 8px; padding: 3px; gap: 2px; }
.ui-seg button { border: 0; background: transparent; border-radius: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; min-height: 34px; transition: background-color .15s, color .15s; }
.ui-seg button[aria-pressed='true'] { background: #fff; color: var(--green-ink); }
.ui-seg button:hover { color: var(--ink); }
.ui-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.ui-table th { text-align: right; font-weight: 600; font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; white-space: nowrap; }
.ui-table td { text-align: right; padding: 11px 14px; border-bottom: 1px solid #f0f2f4; white-space: nowrap; }
.ui-table th:first-child, .ui-table td:first-child { text-align: left; padding-left: 20px; }
.ui-table th.left, .ui-table td.src { text-align: left; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table .rank { color: var(--muted); width: 1%; padding-right: 0; }
.ui-table .src { font-weight: 600; }
.ui-table .key { font-weight: 700; }
.ui-table tbody tr { transition: background-color .3s; }
.ui-table tbody tr.is-top { background: #f0fdf4; }
.ui-table tbody tr.is-worst { background: #fef3f2; }
.pos { color: var(--green-700); font-weight: 650; }
.neg { color: var(--red); font-weight: 650; }
.ui-pill { display: inline-block; border-radius: 99px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ui-pill--green { background: var(--green-tint); color: var(--green-ink); }
.ui-pill--red { background: var(--red-tint); color: var(--red); }
.ui-pill--amber { background: var(--amber-tint); color: var(--amber-ink); }
.ui-pill--blue { background: #dbeafe; color: #1e40af; }
.ui-pill--grey { background: var(--tone); color: var(--ink-2); }
.ui-foot { padding: 14px 20px 18px; border-top: 1px solid #edf0f2; }
.ui-finding { font-size: 15px; line-height: 1.45; margin: 0; min-height: 3em; }
.ui-finding b { font-weight: 650; }
.ui-note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
.mm { overflow: hidden; }
.mm__scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .mm .opt { display: none; }
  .ui-table th, .ui-table td { padding-inline: 10px; }
}

/* ---------- Who it's for: the photograph and the trades ---------- */
.who > * { min-width: 0; }
.who { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.who figure { margin: 0; }
.who img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.who figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.trades { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.trades li { background: var(--tone); padding: 9px 14px; font-weight: 600; font-size: 16px; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; } }

/* ---------- The product video: a 16:9 frame that holds its space before anything loads ---------- */
.film__head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 4vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.film__head > * { min-width: 0; }
.film__head .lead { margin: 0; }
.film__frame { margin: 0; }
.film__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; isolation: isolate; background: var(--dark);
  box-shadow: 0 1px 2px rgba(13,17,23,.08), 0 28px 60px -28px rgba(13,17,23,.5); }
.film video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: inherit; background: var(--dark); }
.film__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  height: 64px; padding: 0 26px 0 22px; border: 0; border-radius: 99px; background: var(--green); color: var(--ink); font-weight: 700; font-size: 18px;
  font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .18s var(--ease), background-color .18s; }
.film__play[hidden] { display: none; }
.film__play:hover { background: #2ed16a; transform: translate(-50%, -50%) scale(1.05); }
.film__play:active { transform: translate(-50%, -50%) scale(.98); }
.film__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.film__note { margin-top: 16px; font-size: var(--t-small); color: var(--muted); max-width: 70ch; }
.film__note a { color: var(--green-700); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 960px) { .film__head { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .film__screen { border-radius: 8px; } .film__play { height: 52px; padding: 0 20px 0 16px; font-size: 16px; } .film__play svg { width: 22px; height: 22px; } }
@media (hover: none), (pointer: coarse) { .film__play:hover { background: var(--green); transform: translate(-50%, -50%); } }

/* ---------- How the money gets tracked: one card, four fields ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__field { min-height: 78svh; padding: 40px 28px 36px; display: grid; grid-template-rows: clamp(64px, 5.6vw, 80px) 1fr auto; position: relative; }
.strip__field > :first-child { font-size: clamp(26px, 2.2vw, 34px); }
.strip__field:nth-child(1) { background: var(--dark); color: #fff; }
.strip__field:nth-child(2) { background: var(--green-deep); color: #fff; }
.strip__field:nth-child(3) { background: var(--green); color: var(--ink); }
.strip__field:nth-child(4) { background: var(--tone); color: var(--ink); }
.strip__field h2 { font-size: clamp(26px, 2.2vw, 34px); max-width: 12ch; }
.strip__card { width: min(100%, 280px); margin: 0 auto; align-self: center; transition: transform .15s var(--ease); }
.strip__field:hover .strip__card { transform: translateY(-6px); }
.strip__clause { font-size: clamp(21px, 1.7vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0; max-width: 15ch; }
.strip .ui-card { padding: 16px 18px; }
.lc-name { font-weight: 650; font-size: 15px; }
.lc-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #f0f2f4; font-size: 13.5px; }
.lc-row:first-of-type { border-top: 0; }
.lc-row span:first-child { color: var(--muted); }
.lc-row b { font-weight: 650; font-variant-numeric: tabular-nums; }
.lc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
@media (max-width: 640px) { .nav .btn { display: none; } .nav__menu { margin-left: auto; } }
@media (max-width: 960px) {
  .strip { grid-template-columns: 1fr; }
  .strip__field { min-height: 0; padding: 36px var(--margin) 44px; gap: 24px; }
  .strip__card { margin: 0; }
}

/* ---------- One row, three states ---------- */
.states { display: grid; grid-template-columns: 3fr 6fr 3fr; column-gap: clamp(20px, 2.5vw, 40px); }
.states h2 { grid-column: 2; margin-bottom: 56px; }
.states__row { display: contents; }
.states__word { grid-column: 1; text-align: right; font-size: 22px; color: var(--muted); align-self: center; margin: 0; font-weight: 500; }
.states__copy { grid-column: 2; margin-bottom: 40px; }
.states__aside { grid-column: 3; grid-row: 2 / span 3; align-self: center; font-size: 17px; color: var(--ink-2); }
.appt { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; align-items: center; padding: 16px 20px; }
.appt__time { font-weight: 700; font-size: 15px; text-align: center; background: var(--tone); border-radius: 8px; padding: 8px 10px; line-height: 1.2; }
.appt__time small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.appt__who { font-weight: 650; font-size: 15px; }
.appt__meta { color: var(--muted); font-size: 13px; }
.appt__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.appt__actions button { border: 1px solid #d5d9de; background: #fff; border-radius: 6px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; min-height: 38px; transition: background-color .15s, border-color .15s, transform .12s; }
.appt__actions button:hover { border-color: var(--ink-2); }
.appt__actions button:active { transform: translateY(1px); }
.appt__actions .sold { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.appt__actions .sold:hover { background: var(--green-ink); }
.appt__done { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13.5px; padding-top: 8px; color: var(--ink-2); }
.appt--live.is-sold .appt__actions { display: none; }
.appt--live:not(.is-sold) .appt__done { display: none; }
@media (max-width: 960px) {
  .states { grid-template-columns: 1fr; }
  .states h2, .states__word, .states__copy, .states__aside { grid-column: 1; grid-row: auto; }
  .states h2 { margin-bottom: 28px; }
  .states__word { text-align: left; font-size: 17px; order: 0; margin: 0 0 10px; }
  .states__copy { margin-bottom: 36px; }
  .states__aside { margin-top: 8px; }
}

/* ---------- Automatic checks: sentences with switches ---------- */
.checks h2 { margin-bottom: 40px; }
.band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; min-height: 18vh; padding: 26px var(--margin);
  background: var(--bg); transition: background-color .35s var(--ease), color .35s; }
.band__text { max-width: 1100px; }
.band__line { font-size: clamp(24px, 2.6vw, 40px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; color: var(--muted); margin: 0; transition: color .3s; }
.band__then { font-size: 17px; margin: 10px 0 0; max-width: 62ch; }
.band:not(.is-on) .band__then { display: none; }
.band.is-on .band__line { color: inherit; }
.band.is-on:nth-of-type(5n+1) { background: var(--green); color: var(--ink); }
.band.is-on:nth-of-type(5n+2) { background: var(--dark); color: #fff; }
.band.is-on:nth-of-type(5n+3) { background: var(--tone); color: var(--ink); }
.band.is-on:nth-of-type(5n+4) { background: var(--green-deep); color: #fff; }
.band.is-on:nth-of-type(5n+5) { background: #fde68a; color: var(--ink); }
.switch { --w: 1.9em; position: relative; width: var(--w); height: 1.1em; font-size: clamp(30px, 3vw, 46px); border: 0; padding: 0; border-radius: 99px; background: var(--tone-2); cursor: pointer; flex: none; transition: background-color .2s; }
.switch::after { content: ''; position: absolute; top: .1em; left: .1em; width: .9em; height: .9em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13,17,23,.3); transition: transform .25s var(--ease); }
.switch[aria-checked='true'] { background: var(--ink); }
.band.is-on:nth-of-type(5n+2) .switch[aria-checked='true'], .band.is-on:nth-of-type(5n+4) .switch[aria-checked='true'] { background: var(--green); }
.switch[aria-checked='true']::after { transform: translateX(.8em); }
@media (max-width: 640px) { .band { min-height: 132px; } .switch { font-size: 34px; } .band__then { font-size: 15px; } }

/* ---------- Feature rows: a statement and a real screen ---------- */
.rows { display: grid; gap: clamp(72px, 9vw, 140px); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.row--flip { grid-template-columns: 7fr 5fr; }
.row--flip .row__text { order: 2; }
.row h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; letter-spacing: -0.02em; }
.row p { color: var(--ink-2); max-width: 44ch; }
.shot { margin: 0; background: var(--tone); padding: clamp(14px, 2vw, 28px); }
.shot img { width: 100%; }
.shot--phone { display: flex; justify-content: center; background: var(--green-deep); padding-block: clamp(24px, 3vw, 44px); }
.shot--phone img { width: min(320px, 78%); border-radius: 22px; }
.shot--dark { background: var(--dark); }
.shot--green { background: var(--green); }
@media (max-width: 960px) { .row, .row--flip { grid-template-columns: 1fr; } .row--flip .row__text { order: 0; } }

/* ---------- Your numbers: live demo with controls ---------- */
.calc-intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: 40px; }
.calc > * { min-width: 0; }
.calc__out .ui-table { min-width: 420px; }
.calc { display: grid; grid-template-columns: 62fr 38fr; background: var(--dark-2); color: #fff; max-width: 1180px; }
.calc__out { background: var(--dark); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.calc__ctrl { padding: clamp(18px, 2vw, 28px); display: grid; align-content: start; gap: 4px; }
.calc__ctrl h3 { font-size: 15px; font-weight: 650; color: var(--on-dark-2); margin: 12px 0 6px; letter-spacing: 0; }
.calc__ctrl h3:first-child { margin-top: 0; }
.ctl { display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.ctl input { width: 100%; background: #0f141b; border: 1px solid #2d3542; border-radius: 6px; color: #fff; padding: 8px 10px; text-align: right; font-variant-numeric: tabular-nums; min-height: 40px; }
.ctl input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 2px rgba(34,197,94,.35); }
.calc .ui-table th { color: var(--on-dark-2); border-color: #263040; }
.calc .ui-table td { border-color: #1f2733; }
.calc .ui-table th:first-child, .calc .ui-table td:first-child { padding-left: 0; }
.calc .ui-table tbody tr.is-top { background: rgba(34,197,94,.12); }
.calc .ui-table tbody tr.is-worst { background: rgba(240,68,56,.12); }
.calc .pos { color: #4ade80; }
.calc .neg { color: #f97066; }
.calc__verdict { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.calc__verdict b { color: var(--green); }
.calc__fine { font-size: 13px; color: var(--on-dark-2); margin: 0; }
.calc__link { color: #fff; margin-top: auto; }
@media (max-width: 960px) { .calc-intro, .calc { grid-template-columns: 1fr; } }

/* ---------- Pricing: plans as a large table ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: clamp(17px, 1.5vw, 22px); }
.price-table th, .price-table td { padding: 20px 22px; text-align: left; vertical-align: top; }
.price-table thead th { vertical-align: bottom; }
.price-table tbody tr:nth-child(odd) td, .price-table tbody tr:nth-child(odd) th { background: var(--tone); }
.price-table tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.price-table .plan-name { display: block; font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-table .plan-price { display: block; font-size: clamp(24px, 2.6vw, 38px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.price-table .plan-price small { font-size: 16px; color: var(--muted); letter-spacing: 0; }
.price-table .pick { background: var(--green) !important; }
.price-table .pick .plan-price small { color: var(--ink); }
.price-table tfoot td { padding-top: 26px; }
.price-table caption { text-align: left; }
.price-table caption h2 { margin-bottom: 36px; }
.price-stack { display: none; }
@media (max-width: 960px) {
  .price-table { display: none; }
  .price-stack { display: grid; gap: 28px; }
  .plan { background: var(--tone); padding: 26px 20px; }
  .plan.pick { background: var(--green); }
  .plan h3 { font-size: clamp(30px, 6vw, 44px); }
  .plan .plan-price { font-size: clamp(30px, 6vw, 44px); margin: 4px 0 18px; letter-spacing: -0.02em; }
  .plan .plan-price small { font-size: 16px; }
  .plan dl { margin: 0 0 22px; }
  .plan dt { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
  .plan.pick dt { color: var(--ink); }
  .plan dd { margin: 2px 0 0; font-size: 17px; }
  .plan .btn { width: 100%; }
}
.price-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 72px); margin-top: 72px; }
.price-after h3 { margin-bottom: 12px; }
.price-after ul { padding-left: 1.1em; color: var(--ink-2); }
.price-after li { margin-bottom: 6px; }
@media (max-width: 760px) { .price-after { grid-template-columns: 1fr; } }

/* ---------- FAQ: question index, one answer ---------- */
.faq { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.faq__list { grid-column: 1; list-style: none; }
.faq__title { font-size: 18px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.faq__q { display: flex; gap: 14px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; padding: 9px 0; font-size: 18px; line-height: 1.4; color: var(--muted); cursor: pointer; font-weight: 500; }
.faq__q::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-2px); transition: background-color .15s; }
.faq__q[aria-selected='true'] { color: var(--ink); }
.faq__q[aria-selected='true']::before { background: var(--green); }
.faq__q:hover { color: var(--ink); }
.faq__pane { grid-column: 3; position: sticky; top: 120px; align-self: start; }
.faq__a { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.38; max-width: 34ch; margin: 0; animation: fade .15s ease-out; }
.faq__a a { color: var(--green-700); }
.faq__inline { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* Without script, or on a phone: every answer under its question. */
.faq--static { display: block; }
.faq--static .faq__pane { display: none; }
.faq--static .faq__inline { display: block; padding: 2px 0 18px 22px; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.faq--static .faq__q { color: var(--ink); cursor: default; }
@media (max-width: 960px) {
  .faq { display: block; }
  .faq__pane { display: none; }
  .faq .faq__q { color: var(--ink); }
  .faq .faq__inline { padding: 0 0 16px 22px; font-size: 18px; color: var(--ink-2); }
  .faq .faq__q[aria-expanded='false'] + .faq__inline { display: none; }
  .faq .faq__q[aria-expanded='true'] + .faq__inline { display: block; }
}

/* ---------- Closing: a sentence with a blank ---------- */
.close { background: var(--dark); color: #fff; padding-block: clamp(88px, 10vw, 150px); }
.close__form { font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; margin: 0; text-wrap: balance; }
.close__form label { cursor: text; }
.close__form input { font: inherit; width: 7.4em; max-width: 100%; height: 1.25em; border: 0; border-radius: var(--radius); background: var(--dark-2); color: #fff; padding: 0 .25em; vertical-align: baseline; letter-spacing: -0.01em; }
.close__form input::placeholder { color: #6b7483; }
.close__form input:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.close__form button { font: inherit; height: 1.25em; border: 0; border-radius: var(--radius); background: var(--green); color: var(--ink); padding: 0 .3em; cursor: pointer; letter-spacing: -0.02em; transition: transform .15s var(--ease), background-color .15s; }
.close__form button:hover { background: #2ed16a; }
.close__form button:active { transform: translateY(2px); }
.close__after { color: var(--on-dark-2); font-size: 16px; margin-top: 26px; max-width: 60ch; }
.close__after a { color: #fff; }
.form-done { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
@media (max-width: 640px) { .close__form { font-size: 24px; line-height: 1.5; } .close__form input, .close__form button { height: 1.9em; } .close__form input { display: block; width: 100%; margin: .3em 0; } }

/* ---------- Demo request form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { font-weight: 400; font-size: 17px; border: 1px solid #c9ced5; border-radius: var(--radius); padding: 12px 14px; background: #fff; min-height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--green); outline-offset: 0; border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.form__fine { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.side-list { list-style: none; display: grid; gap: 22px; }
.side-list b { display: block; font-size: 19px; margin-bottom: 4px; }
.two { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 960px) { .two { grid-template-columns: 1fr; } }

/* ---------- Tables in prose (guides, definitions) ---------- */
.data { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.data th, .data td { padding: 12px 14px; text-align: right; }
.data th:first-child, .data td:first-child { text-align: left; }
.data thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.data tbody tr:nth-child(odd) { background: var(--tone); }
.table-scroll { overflow-x: auto; }
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.defs > div { padding: 26px 28px 22px 0; }
.defs dt { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.defs dd { margin: 0; color: var(--ink-2); }
.defs code { font-family: inherit; background: var(--tone); padding: 2px 6px; font-size: .95em; }
@media (max-width: 760px) { .defs { grid-template-columns: 1fr; } }
.band-tone { background: var(--tone); padding-block: var(--gap-section); margin-top: var(--gap-section); }
.band-tone + .section { padding-top: var(--gap-section); }

/* ---------- Footer ---------- */
.foot { background: var(--dark); color: var(--on-dark-2); padding-block: 72px 36px; font-size: 15px; }
.foot__word { font: 800 clamp(44px, 10.5vw, 168px)/0.9 var(--wordmark); color: #fff; letter-spacing: -0.01em; margin: 0 0 56px; }
.foot__word span { color: var(--green); }
.foot__cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot__cols h2 { font-size: 15px; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.foot__cols ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__about { max-width: 36ch; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; font-size: 13.5px; }
.foot__credits { max-width: 90ch; }
.foot__credits a { color: var(--on-dark-2); text-decoration: underline; }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- Motion: present without script, animated with it ---------- */
.js .mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .mask > span { display: block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .mask:nth-child(2) > span { animation-delay: .11s; }
.js .after-mask { opacity: 0; animation: up .7s var(--ease) .55s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .js [data-reveal] > * { opacity: 1 !important; transform: none !important; } }
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in > * { opacity: 1; transform: none; }
.js [data-reveal].in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal].in > *:nth-child(n+5) { transition-delay: .3s; }
.drift { overflow: hidden; }
.drift img { animation: drift 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
.ui-table tbody tr.moving { transition: transform .5s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .mask > span, .js .after-mask { animation: none; transform: none; opacity: 1; }
  .js [data-reveal] > * { opacity: 1; transform: none; transition: none; }
  .drift img { animation: none; }
  .ui-table tbody tr.moving { transition: none; }
}

/* Tablets: the four fields of the money strip as a 2 × 2 grid. */
@media (min-width: 641px) and (max-width: 960px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__field { min-height: 520px; }
  .strip__card { margin: 0 auto; }
}

/* A section whose heading sits left of its text. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* Articles: the text and a sticky list of its sections. */
.article { display: grid; grid-template-columns: minmax(0, 70ch) minmax(220px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 40px; }
.article > * { min-width: 0; }
.article .prose { max-width: none; }
.toc { position: sticky; top: 32px; background: var(--tone); padding: 24px; }
.toc h2 { font-size: 17px; letter-spacing: 0; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; font-size: 16px; }
.toc a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.toc a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.prose figure { margin: 8px 0 32px; background: var(--tone); padding: 18px; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .toc { position: static; order: -1; } }

/* The picture beside an inner page's title runs to the page margin. */
.page-head .shot:not(.shot--phone) { padding: 0; background: none; }

/* ---------- AI in the product: a question with its answer, and the AI review ---------- */
.ai-card { overflow: hidden; }
.ai-q { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px 6px; font-weight: 650; font-size: 16px; line-height: 1.4; }
.ai-q__mark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); font-size: 14px; font-weight: 700; }
.ai-a { padding: 8px 20px 12px; font-size: 15px; line-height: 1.55; }
.ai-a p { margin: 0 0 10px; }
.ai-a ul { margin: 0 0 10px; padding-left: 1.2em; }
.ai-a li { margin-bottom: 4px; }
.ai-muted { color: var(--muted); }
.ai-actions { list-style: none; padding: 4px 20px 12px; display: grid; gap: 14px; font-size: 14.5px; line-height: 1.45; }
.ai-actions li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.ai-actions .ui-pill { margin-top: 2px; }
.ai-card tfoot td { font-weight: 700; border-top: 1px solid #e3e6ea; }
.ai-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.ai-split > * { min-width: 0; }
.ai-points { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.ai-points li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ai-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.ai-points b { color: var(--ink); }
.qs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.qs li { background: #fff; padding: 10px 14px; font-size: 16px; }
.guard { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 72px); }
.guard h3 { margin-bottom: 14px; }
.guard ul { list-style: none; display: grid; gap: 12px; }
.guard li { padding-left: 30px; position: relative; color: var(--ink-2); }
.guard .yes li::before, .guard .no li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.guard .yes li::before { content: '✓'; color: var(--green-700); }
.guard .no li::before { content: '✕'; color: var(--red); }
@media (max-width: 960px) { .ai-split, .guard { grid-template-columns: 1fr; } .guard .no { margin-top: 28px; } }

/* Column variants (classes, not inline styles, so phones always get one column). */
.ai-split--wide-left { grid-template-columns: 7fr 5fr; }
.ai-split--even { grid-template-columns: 1fr 1fr; }
.who--fragment { grid-template-columns: 5fr 7fr; align-items: start; }
.who--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) {
  .ai-split--wide-left, .ai-split--even, .who--fragment, .who--even { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .ai-sum { display: none; } }

/* ---------- Phones feel native (emilkowalski/skills: mobile-native) ---------- */
/* No grey flash on tap; the focus ring still shows for keyboards. Taps respond at once (no double-tap zoom wait). */
a, button, summary, input, select, textarea, .switch { -webkit-tap-highlight-color: transparent; }
a, button, summary, .switch { touch-action: manipulation; }
/* Inputs at 16px or more, or iPhone zooms into the page when one is tapped. */
.ctl input { font-size: 16px; }
/* Hover movement only where a real pointer hovers; on touch it would stick after the tap. */
@media (hover: none), (pointer: coarse) {
  .btn:hover { transform: none; background: var(--green); }
  .btn--dark:hover { background: var(--ink); }
  .strip__field:hover .strip__card { transform: none; }
  .link-arrow:hover::after { transform: none; }
}

/* ---------- The AI, dark like the app's Ask AI screen (Victor asked for the Gemini-style look) ---------- */
.ai-band { position: relative; background: #0a0e13; color: #e8edf2; padding-block: var(--gap-section); overflow: hidden; }
.ai-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 105%, rgba(34, 197, 94, 0.22), transparent 70%), radial-gradient(40% 50% at 92% -5%, rgba(59, 130, 246, 0.2), transparent 70%), radial-gradient(35% 40% at 5% 15%, rgba(20, 184, 166, 0.12), transparent 70%);
}
.ai-band > .wrap { position: relative; }
.ai-band h2 { color: #fff; }
.ai-band .lead, .ai-band .ai-points li { color: #b4bcc8; }
.ai-band .ai-points b { color: #fff; }
.ai-band .link-arrow { color: #fff; }
.ai-band .qs li { background: rgba(255, 255, 255, 0.06); color: #e8edf2; border-radius: 12px; }
.ai-band + .section { padding-top: var(--gap-section); }
.aix { background: #0f141b; color: #e8edf2; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; overflow: hidden; font-size: 14.5px; }
.aix-top { padding: 14px 16px 4px; }
.aix-badge { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09); font-weight: 600; font-size: 13px; }
.aix-badge svg, .aix-prompt > svg { color: #4ade80; }
.aix-me { display: flex; justify-content: flex-end; padding: 10px 16px 6px; }
.aix-bubble { max-width: 85%; padding: 11px 15px; border-radius: 18px 18px 6px 18px; background: #1c2633; border: 1px solid rgba(255, 255, 255, 0.09); line-height: 1.45; }
.aix-ai { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 16px 6px; }
.aix-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: conic-gradient(from 200deg, #22c55e, #14b8a6, #3b82f6, #22c55e); flex: none; }
.aix-avatar--sm { width: 24px; height: 24px; vertical-align: -6px; margin-right: 4px; }
.aix-body { min-width: 0; }
.aix-text { line-height: 1.6; }
.aix-text p { margin: 0 0 8px; }
.aix-text ul { margin: 0 0 8px; padding-left: 18px; }
.aix-text strong { color: #fff; }
.aix-report { margin-top: 10px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.03); }
.aix .ui-table th { color: #98a2b3; border-color: rgba(255, 255, 255, 0.09); }
.aix .ui-table td { border-color: rgba(255, 255, 255, 0.06); }
.aix .ui-table caption { color: #98a2b3; }
.aix .ui-table tfoot td { border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.aix-prompt { display: flex; align-items: center; gap: 10px; margin: 12px 16px 6px; padding: 8px 8px 8px 16px; border-radius: 26px; background: #151b23; border: 1px solid rgba(255, 255, 255, 0.09); }
.aix-ph { flex: 1; color: #6b7686; font-size: 15px; }
.aix-model { padding: 5px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: #98a2b3; font-size: 11.5px; font-weight: 600; }
.aix-send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #22c55e; color: #052e16; }
.aix-note { margin: 6px 16px 14px; color: #8a94a3; font-size: 12.5px; }
.aix--review .ui-head { padding: 16px 16px 4px; }
.aix--review .ui-title { color: #fff; }
.aix--review .ui-sub { color: #98a2b3; }
.aix--review .ai-a { padding: 8px 16px 10px; }
.aix--review .ai-a strong { color: #fff; }
.aix--review .ai-muted { color: #98a2b3; }
.aix--review .ai-actions { padding: 4px 16px 12px; }
.aix--review .ai-actions b { color: #fff; }
.aix .ui-pill--green { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.aix .ui-pill--red { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }
.aix .ui-pill--amber { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.aix .ui-pill--blue { background: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.aix .ui-pill--grey { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; }
@media (max-width: 640px) { .aix-model { display: none; } .aix-bubble { max-width: 92%; } }
