/* PEARSPECTIVE site. Same tokens as the app (src/styles.css), so the page and the product look like one thing. */
:root {
  --bg: #121115;
  --panel: #1b1a1f;
  --ink: #f1f0f4;
  --muted: #a19fab;
  --line: #2d2b33;
  --soft: #242229;
  --accent: #d6006f;
  --accent-2: #00aeef;
  --good: #4cc27f;
  --radius: 10px;
  --iri: linear-gradient(150deg, rgb(255, 242, 196), rgb(214, 234, 202), rgb(186, 227, 231), rgb(199, 222, 244), rgb(217, 209, 232), rgb(250, 207, 226));
  --rule: linear-gradient(90deg, var(--accent), var(--accent-2));
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 60px -24px rgba(0, 0, 0, .8);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; font-size: 18px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand img { height: 22px; width: auto; }
.brand .on-light { display: none; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Buttons, same look as the app's primary button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 99px; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.04) saturate(1.1); transform: translateY(-1px); }
.btn.primary { background: var(--iri); border-color: transparent; color: #000; }
.btn.lg { font-size: 17px; padding: 14px 28px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--rule); }
h1 { font-size: clamp(42px, 8vw, 84px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; max-width: 15ch; }
.lede { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.5; color: var(--muted); max-width: 46ch; margin-top: 26px; }
.lede strong { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.cta small { color: var(--muted); font-size: 15px; }

/* The app, drawn from the app's own pieces. Sample leads, not real ones. */
.shot { margin-top: clamp(44px, 7vw, 80px); }
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.win-body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; background: color-mix(in srgb, var(--soft) 55%, var(--panel)); }
.side img { height: 15px; width: auto; margin: 4px 8px 14px; }
.side .on-light { display: none; }
.side span { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.side span.cur { background: var(--soft); color: var(--ink); }
.main { padding: 20px 24px 8px; }
.main h2 { font-size: 15px; letter-spacing: -0.005em; margin-bottom: 8px; font-weight: 700; }
.lead { display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.ring { --v: 90; width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--soft) 0); display: grid; place-items: center; position: relative; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--panel); }
.ring b { position: relative; }
.lead .name { font-size: 15px; font-weight: 650; line-height: 1.3; }
.lead .meta { font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; max-width: 330px; }
.tag { font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 99px; border: 1px solid; white-space: nowrap; line-height: 1.5; }
.tag.hi { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag.lo { color: var(--accent); border-color: var(--accent); }
.tag.ev { color: var(--accent-2); border-color: var(--accent-2); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 760px) {
  .win-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .lead { grid-template-columns: 42px 1fr; }
  .tags { grid-column: 2; justify-content: flex-start; max-width: none; }
}

/* Sections */
section { padding: clamp(52px, 8vw, 96px) 0; }
.band { background: var(--soft); border-block: 1px solid var(--line); }
h2.big { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h2.big::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--rule); margin-top: 20px; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 62ch; }
.prose.lg { font-size: 20px; line-height: 1.6; }
.prose blockquote { margin: 2em 0; padding: 26px 30px 28px; background: var(--panel); border: 2px solid rgba(255,255,255,.16); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose blockquote cite { display: block; margin-bottom: 14px; font-style: normal; font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.prose blockquote p { margin: 0; font-size: 1.12em; line-height: 1.55; font-weight: 400; color: var(--ink); }
.prose blockquote p::before { content: "\201D"; float: left; margin: -.12em 14px 0 0; font-size: 4.6em; line-height: .8; font-weight: 800; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > .head { position: sticky; top: 96px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split > .head { position: static; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); position: relative; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 28px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Price */
.price { text-align: left; }
.amount { font-size: clamp(72px, 14vw, 148px); line-height: .95; font-weight: 800; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.amount span { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 700; color: var(--muted); }
.price .prose { margin-top: 32px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 30px; }
.plan.hot { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--rule) border-box; }
.plan-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan .amount { font-size: clamp(48px, 7vw, 76px); margin-top: 12px; gap: 12px; }
.plan .amount span { font-size: clamp(17px, 2vw, 22px); }
.plan-note { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 16px; max-width: 38ch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* Questions */
.qa { display: grid; gap: 0; max-width: 760px; }
.qa div { padding: 22px 0; border-top: 1px solid var(--line); }
.qa div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.qa dd { color: var(--muted); margin-top: 6px; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; align-items: center; }
footer a { color: var(--muted); }
footer .heart { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Buy page */
.plan .cta { margin-top: 22px; }
.btn[aria-disabled="true"] { cursor: default; opacity: .92; }
.btn[aria-disabled="true"]:hover { transform: none; filter: none; }
.facts { display: grid; gap: 0; }
.facts div { padding: 22px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.facts dd { color: var(--muted); margin-top: 6px; }
.tablewrap { overflow-x: auto; margin: 36px 0 32px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 560px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cmp th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.cmp td:last-child, .cmp th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp td:first-child { font-weight: 600; }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp tr.total td { font-weight: 800; border-top: 2px solid var(--ink); font-size: 19px; }
.fine { font-size: 15px; color: var(--muted); }

/* Features page */
.feats { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: 44px; }
.feat { display: grid; gap: 28px; }
.feat-text { max-width: 62ch; }
.feat-text h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; margin-bottom: 10px; }
.feat-text p { font-size: 19px; line-height: 1.6; color: var(--muted); }
.fig { }
.fig img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.fig figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
@media (max-width: 700px) {
  .fig { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -20px; padding-inline: 20px; }
  .fig img { min-width: 780px; }
  .fig figcaption { position: sticky; left: 0; max-width: calc(100vw - 40px); }
}

/* classes that replace inline styles, so the CSP can forbid them */
.ring.v96{--v:96}.ring.v88{--v:88}.ring.v81{--v:81}.ring.v74{--v:74}
.mt40{margin-top:40px}.mt36{margin-top:36px}.mt32{margin-top:32px}
.hero.tight{padding-bottom:clamp(32px,5vw,56px)}.hero.tighter{padding-bottom:clamp(24px,4vw,48px)}
.band.notop{border-top:0}

.sbrand { display: flex; align-items: center; gap: 8px; margin: 4px 8px 14px; }
.side .sbrand img { margin: 0; height: 15px; width: auto; }
.side .sbrand img.mark { height: 18px; }

/* Match the coming-soon page: drifting color, glass panels, centered hero, iridescent accents. */
body { position: relative; overflow-x: hidden; }
body::before, body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
body::before { width: 62vmax; height: 62vmax; left: -22vmax; top: -26vmax; background: radial-gradient(circle, rgba(214,0,111,.55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
body::after { width: 58vmax; height: 58vmax; right: -24vmax; bottom: -28vmax; background: radial-gradient(circle, rgba(0,174,239,.5), transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-7vmax, -5vmax) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }

.top { background: color-mix(in srgb, var(--bg) 55%, transparent); border-bottom-color: rgba(255,255,255,.07); }

/* Centered hero, tighter display type */
.hero { text-align: center; }
.hero .eyebrow { justify-content: center; display: inline-flex; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 80%, transparent); letter-spacing: .14em; }
.hero .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(214,0,111,.7); animation: ping 2.4s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(214,0,111,0); } }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow::before { animation: none; } }
h1 { font-weight: 700; margin-inline: auto; text-wrap: balance; }
h1 em, h2.big em { font-style: normal; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-inline: auto; }
.cta { justify-content: center; }
.hero .cta { flex-direction: column; gap: 14px; }
.btn.primary { box-shadow: 0 10px 40px -10px rgba(186,227,231,.55); font-weight: 700; }
.btn.primary.lg { padding: 16px 30px; font-size: 1.05rem; }

/* Glass panels */
.band { background: transparent; border-block-color: rgba(255,255,255,.07); }
.plan, .win { background: color-mix(in srgb, var(--panel) 72%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; }
.plan.hot { background: linear-gradient(color-mix(in srgb, var(--panel) 85%, transparent), color-mix(in srgb, var(--panel) 85%, transparent)) padding-box, var(--rule) border-box; }
.steps li, .qa div, .facts div { border-top-color: rgba(255,255,255,.08); }
.steps li:last-child, .qa div:last-child, .facts div:last-child { border-bottom-color: rgba(255,255,255,.08); }

/* Section headings centered with the rule under them */
h2.big { text-align: left; }
footer { border-top-color: rgba(255,255,255,.07); }
.hero .cta small { text-align: center; }
.shot { text-align: left; }
.shot figcaption { text-align: center; }

/* Mobile menu: CSS only (the CSP allows no scripts). */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.burger { display: none; }
@media (max-width: 640px) {
  .burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible + .burger { outline: 3px solid var(--accent-2); outline-offset: 2px; }

  .nav { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 18px;
    background: rgba(10, 9, 13, .84); border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 30px 70px -20px rgba(0, 0, 0, .85);
    opacity: 0; transform: translateY(-12px) scale(.97); transform-origin: top right; visibility: hidden; pointer-events: none;
    transition: opacity .28s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
  .nav-toggle:checked ~ .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav a:not(.btn) { display: block; padding: 14px 16px; font-size: 19px; color: var(--ink); border-radius: 12px; }
  .nav a:not(.btn):hover, .nav a:not(.btn):active { background: rgba(255, 255, 255, .08); }
  .nav .btn { margin-top: 6px; padding: 14px 18px; font-size: 17px; }
  .nav > * { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
  .nav-toggle:checked ~ .nav > * { opacity: 1; transform: none; }
  .nav-toggle:checked ~ .nav > :nth-child(1) { transition-delay: .05s; }
  .nav-toggle:checked ~ .nav > :nth-child(2) { transition-delay: .09s; }
  .nav-toggle:checked ~ .nav > :nth-child(3) { transition-delay: .13s; }
  .nav-toggle:checked ~ .nav > :nth-child(4) { transition-delay: .17s; }
  .nav-toggle:checked ~ .nav > :nth-child(5) { transition-delay: .21s; }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav > *, .burger span { transition: none !important; } }

/* One button style everywhere. Hover only lifts; text never changes color. */
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, a.btn:focus,
.nav a.btn, .nav a.btn:hover, span.btn,
.btn, .btn:hover { background: var(--iri); border: 1px solid transparent; color: #000; text-decoration: none; font-weight: 700; box-shadow: 0 10px 40px -10px rgba(186,227,231,.55); filter: none; }
.btn:hover { transform: translateY(-1px); filter: none; }
.btn[aria-disabled="true"]:hover { transform: none; }

.hero-logo { width: min(720px, 86vw); height: auto; margin: 0 auto clamp(28px, 4vw, 44px); }

.lede { max-width: 54ch; text-wrap: balance; }
.hero .lede { text-wrap: balance; }
@media (max-width: 640px) { .lede { text-wrap: pretty; text-align: left; } }

/* Breathing room in the hero */
.hero-logo { margin-bottom: clamp(56px, 8vw, 96px); }
.hero .lede { margin-top: clamp(36px, 5vw, 56px); }
.hero .cta { margin-top: clamp(40px, 5vw, 60px); }

/* Comparison table: wrap on phones instead of clipping */
@media (max-width: 640px) {
  .cmp { min-width: 0; font-size: 15px; }
  .cmp th, .cmp td { padding: 12px 10px 12px 0; }
  .cmp td:last-child, .cmp th:last-child { white-space: normal; }
}

/* Legal and plain-text pages */
.legal-sec { padding-top: 8px; }
.prose.legal { max-width: 68ch; margin-inline: auto; font-size: 18px; }
.legal h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 2.2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 1em; }
.legal ul { margin: .6em 0 0; padding-left: 1.2em; }
.legal li { margin-top: .5em; }
.legal li::marker { color: var(--muted); }
.legal ul + p { margin-top: 1em; }

/* download buttons */
.dl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero .cta .dl-row { flex-direction: row; }
@media (max-width: 480px) { .dl-row { flex-direction: column !important; align-items: stretch; width: 100%; } .dl-row .btn { text-align: center; } }

/* scroll reveals (see assets/reveal.js) */
html.rv [data-rv] { opacity: 0; translate: 0 16px; transition: opacity .55s ease, translate .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0s); }
html.rv [data-rv].in { opacity: 1; translate: none; }
@keyframes rv-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }
html.rv .hero > * { animation: rv-in .7s cubic-bezier(.2,.7,.2,1) backwards; }
html.rv .hero > :nth-child(1) { animation-delay: .04s; }
html.rv .hero > :nth-child(2) { animation-delay: .12s; }
html.rv .hero > :nth-child(3) { animation-delay: .2s; }
html.rv .hero > :nth-child(4) { animation-delay: .28s; }
html.rv .hero > :nth-child(5) { animation-delay: .36s; }
html.rv .hero > :nth-child(n+6) { animation-delay: .44s; }
@media (prefers-reduced-motion: reduce) { html.rv [data-rv], html.rv .hero > * { opacity: 1 !important; translate: none !important; transition: none !important; animation: none !important; } }

/* heading breaks */
h2.big, h1 { text-wrap: balance; }
.nb { white-space: nowrap; }

/* Pricing calculator */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1040px; margin: 0 auto 56px; }
.calc { display: grid; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cfield label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cfield input, .cfield select { width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.cfield input:focus-visible, .cfield select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chint, .cmuted { font-size: 14px; color: var(--muted); }
.chint { margin-top: 6px; }
.cresult { position: sticky; top: 90px; background: var(--panel); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.cbig { font-size: clamp(44px, 7vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crows { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crows dd { text-align: right; font-weight: 700; }
.cresult .btn { margin-top: 16px; }
@media (max-width: 820px) { .calc-grid { grid-template-columns: 1fr; } .cresult { position: static; } .crow { grid-template-columns: 1fr; } }
.prose .cta-center { text-align: center; margin-top: 28px; }
.cmp.wide { min-width: 860px; font-size: 15px; }
.cmp.wide th, .cmp.wide td { padding-right: 16px; }
.cmp.wide td:nth-child(2) { color: var(--ink); font-weight: 700; }
.cmp.wide td:last-child, .cmp.wide th:last-child { text-align: left; white-space: normal; font-variant-numeric: normal; }
.cmp.wide td:first-child { white-space: nowrap; }
@media (max-width: 820px) { .cmp.wide { min-width: 760px; } }
@media (max-width: 700px) {
  .tablewrap { overflow-x: visible; }
  .cmp.wide { min-width: 0; display: block; }
  .cmp.wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp.wide tbody, .cmp.wide tr { display: block; }
  .cmp.wide tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 6px 16px 10px; margin-bottom: 14px; }
  .cmp.wide td { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-top: 0; text-align: left; white-space: normal; }
  .cmp.wide td:first-child { display: block; padding: 10px 0 8px; font-size: 17px; font-weight: 800; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .cmp.wide td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .cmp.wide td:nth-child(2)::before { color: var(--accent); }
}
@media (max-width: 700px) {
  .cmp.cards { min-width: 0; display: block; }
  .cmp.cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp.cards tbody, .cmp.cards tr { display: block; }
  .cmp.cards tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 6px 16px 10px; margin-bottom: 14px; }
  .cmp.cards td { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-top: 0; text-align: left; white-space: normal; font-variant-numeric: tabular-nums; }
  .cmp.cards td:empty { display: none; }
  .cmp.cards td:first-child { display: block; padding: 10px 0 8px; font-size: 17px; font-weight: 800; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .cmp.cards td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .cmp.cards td:nth-child(2) { color: var(--ink); }
  .cmp.cards tr.total { border-color: var(--ink); }
  .cmp.cards tr.total td { font-size: 17px; border-top: 0; }
  .cmp.cards tr.total td:first-child { font-size: 19px; }
}
