/* Cue Pricing — light and dark from one component system.
   Light = the current site baseline (site-ia.css): white canvas, warm ink
   #1D1A1A, warm band #F4F3F1, surface #F7F8FA, lines #ECEDF0/#DFE1E6, one
   blue #2563EB for actions and focus, Inter, radii 8/14/20/28/pill.
   Dark = the same Cue brand as a complete page: warm-ink surfaces stepped up
   for elevation, the same blue, the same radii, type and components.
   Structure follows the human-supplied subscription reference: short centred
   title, segmented period, two same-level plan cards, clear price and billing,
   capability rows, CTAs on one line, grouped details. Finish: Apple HIG
   (inset grouped rows, segmented control, action sheet, 44pt+ targets). */

/* ── Tokens ── */
:root, [data-theme="light"] {
  color-scheme: light;
  --page: #fff;
  --page-glow: none;
  --ink: #1d1a1a;
  --text: #1d1a1a;
  --text-2: #555;
  --text-3: #6e6e6e;
  --line: #ecedf0;
  --line-strong: #dfe1e6;
  --hairline: #dfe1e6;
  --panel: #f7f8fa;
  --panel-edge: inset 0 0 0 1px #ecedf0;
  --panel-shadow: 0 1px 2px rgb(29 26 26 / .04), 0 30px 60px -40px rgb(29 26 26 / .28);
  --card: #fff;
  --card-edge: inset 0 0 0 1px #ecedf0;
  --card-shadow: 0 1px 2px rgb(29 26 26 / .05), 0 18px 40px -24px rgb(29 26 26 / .22);
  --plus-edge: inset 0 0 0 1.5px #9dbaf5;
  --plus-wash: radial-gradient(120% 60% at 50% 0%, #eff4fe, rgb(239 244 254 / 0) 62%);
  --fill: #f4f3f1;
  --track: #ecedf0;
  --thumb: #fff;
  --thumb-shadow: 0 3px 8px rgb(29 26 26 / .12), 0 1px 1px rgb(29 26 26 / .06);
  --thumb-text: #1d1a1a;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --link: #2563eb;
  --pill-bg: #eff4fe;
  --pill-text: #1d4ed8;
  --ring: #2563eb;
  --cta-static: 0 0 0 3px rgb(37 99 235 / .22);
  --cta-shadow: 0 1px 2px rgb(29 26 26 / .14), 0 10px 22px -12px rgb(37 99 235 / .7);
  --ghost-text: #1d1a1a;
  --ghost-edge: inset 0 0 0 1px rgb(29 26 26 / .22);
  --ghost-hover: #f4f3f1;
  --check: #2563eb;
  --check-muted: #9a9aa2;
  --warn: #8a4b00;
  --ok: #1d6b34;
  --tag-bg: #fff3e0;
  --tag-text: #8a4b00;
  --tag-edge: #f6d8a8;
  --nav-bg: rgb(255 255 255 / .86);
  --nav-edge: 0 .5px 0 #dfe1e6;
  --sheet: rgb(255 255 255 / .92);
  --sheet-edge: inset 0 0 0 1px #ecedf0;
  --sheet-action: #2563eb;
  --backdrop: rgb(29 26 26 / .38);
  --select-bg: #fff;
  --auth-bg: #f6f5f2;
  --auth-edge: inset 0 0 0 1px rgb(29 26 26 / .06);
  --auth-btn: #fff;
  --auth-btn-edge: #e2e0db;
  --auth-btn-hover: #fbfaf8;
  --auth-input: #fff;
  --auth-submit: #1d1a1a;
  --auth-submit-text: #fff;
  --auth-submit-hover: #000;
  --auth-shadow: 0 1px 2px rgb(29 26 26 / .06), 0 40px 90px -30px rgb(29 26 26 / .38);
}
[data-theme="dark"] {
  color-scheme: dark;
  --page: #0e0c0c;
  --page-glow: radial-gradient(860px 500px at 50% -140px, rgb(37 99 235 / .2), transparent 70%), radial-gradient(620px 380px at 82% 108%, rgb(124 92 255 / .08), transparent 70%);
  --ink: #1d1a1a;
  --text: #f7f6f4;
  --text-2: rgb(247 246 244 / .72);
  --text-3: rgb(247 246 244 / .62);
  --line: rgb(255 250 245 / .08);
  --line-strong: rgb(255 250 245 / .14);
  --hairline: rgb(130 122 118 / .42);
  --panel: rgb(29 26 26 / .8);
  --panel-edge: inset 0 1px 0 rgb(255 250 245 / .1), inset 0 0 0 1px rgb(255 250 245 / .05);
  --panel-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 40px 90px -32px rgb(0 0 0 / .9);
  --card: linear-gradient(180deg, rgb(255 250 245 / .07), rgb(255 250 245 / .035));
  --card-edge: inset 0 0 0 1px rgb(255 250 245 / .08), inset 0 1px 0 rgb(255 250 245 / .07);
  --card-shadow: 0 0 #0000;
  --plus-edge: inset 0 0 0 1px rgb(96 141 240 / .6), inset 0 1px 0 rgb(255 250 245 / .09);
  --plus-wash: radial-gradient(120% 70% at 50% 0%, rgb(37 99 235 / .16), transparent 62%);
  --fill: rgb(130 122 118 / .2);
  --track: rgb(130 122 118 / .2);
  --thumb: #4a4442;
  --thumb-shadow: 0 3px 8px rgb(0 0 0 / .28), 0 1px 1px rgb(0 0 0 / .12), inset 0 1px 0 rgb(255 250 245 / .14);
  --thumb-text: #fff;
  --link: #8fb0f7;
  --pill-bg: rgb(37 99 235 / .22);
  --pill-text: #a9c3fa;
  --ring: #6f9cf3;
  --cta-static: 0 0 0 3px rgb(111 156 243 / .35);
  --cta-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(0 0 0 / .3), 0 10px 24px -14px rgb(37 99 235 / .9);
  --ghost-text: #f7f6f4;
  --ghost-edge: inset 0 0 0 1px rgb(247 246 244 / .3);
  --ghost-hover: rgb(130 122 118 / .2);
  --check: #8fb0f7;
  --check-muted: rgb(247 246 244 / .5);
  --warn: #f7b955;
  --ok: #5fd38a;
  --tag-bg: rgb(243 194 108 / .08);
  --tag-text: #f3c26c;
  --tag-edge: rgb(243 194 108 / .42);
  --nav-bg: rgb(14 12 12 / .78);
  --nav-edge: 0 .5px 0 rgb(255 250 245 / .1);
  --sheet: rgb(46 42 41 / .9);
  --sheet-edge: inset 0 1px 0 rgb(255 250 245 / .09);
  --sheet-action: #8fb0f7;
  --backdrop: rgb(8 6 6 / .6);
  --select-bg: rgb(29 26 26);
  --auth-bg: #1d1a1a;
  --auth-edge: inset 0 1px 0 rgb(255 250 245 / .08), inset 0 0 0 1px rgb(255 250 245 / .07);
  --auth-btn: rgb(255 250 245 / .05);
  --auth-btn-edge: rgb(255 250 245 / .15);
  --auth-btn-hover: rgb(255 250 245 / .09);
  --auth-input: #141111;
  --auth-submit: #f7f6f4;
  --auth-submit-text: #1d1a1a;
  --auth-submit-hover: #fff;
  --auth-shadow: 0 40px 90px -24px rgb(0 0 0 / .85);
}
:root {
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body.cue-pricing-page {
  min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.011em;
  color: var(--text); background: var(--page-glow), var(--page);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11" 1;
}
::selection { background: rgb(37 99 235 / .3); }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: var(--r-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 70; padding: 10px 16px; border-radius: var(--r-pill); background: var(--text); color: var(--page); font-weight: 600; }
.skip:focus { top: 10px; }
html:not(.js) .js-only { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

/* The same subpage bar, menus and Download pill as the published site. */
.cue-pricing-shell.site-shell {
  position: sticky; top: 0; z-index: 60; background: var(--page);
  --cue-ink: var(--text); --cue-muted: var(--text-2); --cue-label: var(--text-3);
  --cue-line: var(--line); --cue-line-strong: var(--line-strong);
  --cue-surface: var(--fill); --cue-blue-surface: var(--pill-bg);
}
.cue-pricing-shell.site-shell nav.ia-nav::before,
.cue-pricing-shell.site-shell .ia-links .ia-menu,
.cue-pricing-shell.site-shell .ia-links .ia-menu.ia-panel::before,
.cue-pricing-shell.site-shell nav.ia-nav .ia-toggle { background: var(--page); }
.cue-pricing-shell.site-shell nav.ia-nav::before { box-shadow: 0 0 0 100vmax var(--page); }
.cue-pricing-shell .ia-links > a[aria-current="page"] { color: var(--cue-ink); font-weight: 600; }
.cue-pricing-shell .account-cta { font-size: 15px; }
@media (max-width: 767px) {
  .cue-pricing-shell nav.ia-nav.is-open .account-cta { text-align: start; min-height: 48px; padding: 10px 4px; font-size: 17px; }
  .cue-pricing-shell.site-shell nav.ia-nav.is-open .ia-links .ia-menu { background: none; }
}

/* ── Subscription panel ── */
main { padding: 28px 0 0; }
.panel { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 36px 32px 28px; border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--panel-edge), var(--panel-shadow); }
html[data-theme="dark"] .panel { -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.panel h1 { text-align: center; font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }

.period { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 300px; margin: 22px auto 28px; padding: 3px; border: 0; border-radius: var(--r-pill); background: var(--track); box-shadow: inset 0 1px 2px rgb(0 0 0 / .08); }
.period::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: var(--r-pill); background: var(--thumb); box-shadow: var(--thumb-shadow); transition: transform .45s var(--spring); }
.period:has(#p-year:checked)::before, .panel[data-period="yearly"] .period::before { transform: translateX(100%); }
.period input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.period label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--r-pill); color: var(--text-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: color .25s var(--ease-out); }
.period:not(:disabled) label:hover { color: var(--text); }
.period input:checked + label { color: var(--thumb-text); font-weight: 600; }
.period input:focus-visible + label { outline: 3px solid var(--ring); outline-offset: 1px; }
.period:disabled label { cursor: wait; }
.period:disabled.is-locked label { cursor: not-allowed; }
.period:disabled input:not(:checked) + label { opacity: .55; color: var(--text-2); transition: opacity .2s ease .15s; }

/* Two same-level cards. Subgrid lines up name, price, capability rows, CTA,
   helper and details across both cards, so the CTAs share one horizontal line
   however the copy wraps. */
.plans { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); column-gap: 16px; outline: none; scroll-margin-top: 80px; }
.plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; min-width: 0; padding: 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--card-edge), var(--card-shadow); }
/* Keep both benefits lists on their shared row when no-JS hides Plus controls. */
.plan > .benefits { grid-row: 6; }
@supports not (grid-template-rows: subgrid) { .plan { display: flex; flex-direction: column; } .price { min-height: 120px; } }
.plan--plus { background: var(--plus-wash), var(--card); box-shadow: var(--plus-edge), var(--card-shadow); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.plan-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.014em; }
.pill { padding: 2px 10px; border-radius: var(--r-pill); background: var(--pill-bg); color: var(--pill-text); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.desc { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 40ch; }
.price { margin-top: 12px; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.num { font-size: 42px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.per { font-size: 16px; color: var(--text-2); }
/* The billing line reads as part of the price, in the same grey and weight as "/month". */
.bill { margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--text-2); }
.equiv { margin-top: 1px; font-size: 13px; color: var(--text-3); }
.panel:has(#p-year:checked) .price--monthly, .panel[data-period="yearly"] .price--monthly { display: none; }
.panel:has(#p-month:checked) .price--yearly, .panel[data-period="monthly"] .price--yearly { display: none; }
/* JS-only swap animation that never starts invisible (PRICING-V6-NOJS-EVIDENCE-01). */
html.js .price-opt { animation: price-in .32s var(--spring); }
@keyframes price-in { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.facts { margin: 16px 0; border-radius: var(--r-md); background: var(--fill); overflow: hidden; }
.facts div { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; }
.facts div + div::before { content: ""; position: absolute; left: 14px; right: 0; top: 0; border-top: .5px solid var(--hairline); }
.facts dt { font-size: 15px; white-space: nowrap; }
.facts dd { font-size: 15px; color: var(--text-2); text-align: right; }
.facts dd[data-tone="warn"] { color: var(--warn); font-weight: 600; }
.facts dd[data-tone="ok"] { color: var(--ok); font-weight: 600; }

/* ── Buttons ── */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--r-pill); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.011em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease-out), box-shadow .3s var(--spring), transform .3s var(--spring); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--cta-shadow); }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ghost-text); box-shadow: var(--ghost-edge); }
.btn--ghost:hover { background: var(--ghost-hover); color: var(--ghost-text); }
.btn--sm { width: auto; min-height: 44px; font-size: 15px; font-weight: 500; }
.btn .ext { flex: none; opacity: .75; }

/* Primary Plus CTA sweep: one light pass, ~0.85s. Painted under the label
   (z-index -1 inside the button's own stacking context), so text is never
   covered; starts and ends at opacity 0, so the button is never blank. */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .34) 50%, rgb(255 255 255 / 0) 70%);
  transform: translateX(-110%); opacity: 0;
}
.btn--primary.is-sweep::after, .btn--primary:focus-visible::after { animation: cta-sweep .85s cubic-bezier(.45, .05, .25, 1) 1 both; }
@media (hover: hover) { .btn--primary:hover::after { animation: cta-sweep .85s cubic-bezier(.45, .05, .25, 1) 1 both; } }
@keyframes cta-sweep { 0% { transform: translateX(-110%); opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }
html.page-hidden .btn--primary::after { animation-play-state: paused; }

.helper { margin-top: 10px; min-height: 20px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.helper strong { color: var(--text); font-weight: 600; }
.cta-note { padding-top: 4px; }
.cta-note .helper { margin-top: 6px; }
#plus-helper:empty { margin: 0; min-height: 0; }
#dl-helper a { color: inherit !important; }
.cta-note .account-cta:not([hidden]) { display: block; margin: 4px auto 0; }

.groups { margin-top: 20px; }
.groups h3 { font-size: 15px; font-weight: 600; letter-spacing: -.011em; margin-bottom: 6px; }
.groups ul { list-style: none; }
.groups li { position: relative; padding: 3px 0 3px 23px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.groups li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; background: var(--check);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7.5 5.7 10.4 11.4 3.9' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.6 7.5 5.7 10.4 11.4 3.9' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan--free .groups li::before { background: var(--check-muted); }
.groups hr { border: 0; border-top: .5px solid var(--hairline); margin: 14px 0; }

/* ── Below the panel ── */
.faq { width: min(900px, calc(100% - 32px)); margin: 48px auto 0; padding: 0 32px; }
.faq h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.faq dt { font-size: 16px; font-weight: 600; margin-top: 14px; }
.faq dd { margin-top: 3px; font-size: 15px; color: var(--text-2); max-width: 560px; text-wrap: pretty; }
.review { width: min(900px, calc(100% - 32px)); margin: 40px auto 0; border-radius: var(--r-md); background: var(--panel); box-shadow: var(--panel-edge); }
.review summary { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 13.5px; color: var(--text-2); cursor: pointer; list-style: none; }
.review summary::-webkit-details-marker { display: none; }
.review summary::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .3s var(--spring); }
.review[open] summary::before { transform: rotate(45deg); }
.review-note { padding: 0 16px; font-size: 13.5px; color: var(--text-3); text-wrap: pretty; }
.review-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 12px 16px 16px; }
.review label { display: grid; gap: 4px; font-size: 13px; color: var(--text-3); }
.review select { min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r-sm); background: var(--select-bg); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); font: inherit; font-size: 15px; }

/* ── Site footer ── */
.foot { margin-top: 56px; padding: 24px 0 36px; box-shadow: 0 -.5px 0 var(--line-strong); font-size: 13px; color: var(--text-3); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-mark { flex: none; width: 16px; height: 16px; }
.foot-brand a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-3); }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--text-3); text-decoration: none; }
.foot ul a:hover { color: var(--text); }
.foot .proto-line { flex-basis: 100%; }

/* ── Simulated flow: action sheet ── */
.flow { width: min(420px, calc(100vw - 24px)); margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.flow[open] { animation: sheet-in .42s var(--spring); }
.flow::backdrop { background: var(--backdrop); }
@keyframes sheet-in { from { opacity: .4; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.sheet, .sheet-cancel { border-radius: var(--r-md); overflow: hidden; background: var(--sheet); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: var(--sheet-edge), 0 30px 70px -20px rgb(0 0 0 / .45); }
.sheet-head { padding: 18px 20px 16px; text-align: center; }
.sheet-head .proto-tag { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); background: var(--tag-bg); box-shadow: inset 0 0 0 1px var(--tag-edge); font-size: 12px; }
.sheet-head h2 { margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.014em; }
.sheet-head p#flow-text { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.sheet-actions button, .sheet-cancel button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 12px 16px; border: 0; background: transparent; color: var(--sheet-action); font: inherit; font-size: 17px; letter-spacing: -.014em; cursor: pointer; }
.sheet-actions button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: .5px solid var(--hairline); }
.sheet-actions button:hover, .sheet-cancel button:hover { background: var(--fill); }
.sheet-actions button:focus-visible, .sheet-cancel button:focus-visible { outline-offset: -3px; border-radius: var(--r-md); }
.sheet-cancel { margin-top: 8px; }
.sheet-cancel button { font-weight: 600; }

/* ── Narrow screens ── */
@media (max-width: 760px) {
  .panel { width: calc(100% - 24px); padding: 24px 16px 18px; border-radius: var(--r-lg); }
  .panel h1 { font-size: 26px; }
  .period { width: 232px; margin: 16px auto 18px; }
  .plans { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  .plan { display: flex; flex-direction: column; grid-row: auto; padding: 18px 16px; }
  .price { min-height: 0; margin-top: 8px; }
  .num { font-size: 38px; }
  .facts { margin: 14px 0; }
  .faq { width: 100%; padding: 0 20px; }
  .review { width: calc(100% - 24px); }
  .flow { margin: auto auto 12px; }
}
@media (max-width: 480px) {
  main { padding-top: 12px; }
}
@media (max-width: 360px) {
  .proto-tag { display: none; }
  .period { width: 216px; }
}


/* Reduced motion: no spatial sweep or slide; the primary keeps a static emphasis ring. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn--primary { box-shadow: var(--cta-shadow), var(--cta-static); }
}
@media (prefers-reduced-transparency: reduce) {
  html[data-theme="dark"] .panel, .sheet, .sheet-cancel, .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="dark"] .panel { background: #1d1a1a; }
}

/* ── Welcome to Cue (sign-in modal; the same card renders as a page for the no-JS stub) ──
   Warm-white surface, hairline edges, white bordered provider buttons, an
   always-visible labelled email field, ink primary. No price or plan text. */
.auth { position: relative; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: var(--r-xl); background: var(--auth-bg); color: var(--text); box-shadow: var(--auth-edge), var(--auth-shadow); }
.auth[open] { animation: sheet-in .38s var(--spring); }
.auth::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.auth-body { display: grid; justify-items: center; padding: 48px 48px 28px; text-align: center; }
.auth-close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); cursor: pointer; }
.auth-close:hover { background: var(--auth-btn-hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--auth-btn-edge); }
.auth-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 800; letter-spacing: -.045em; }
.auth-logo { width: 32px; height: 32px; filter: drop-shadow(0 0 .6px rgb(29 26 26 / .45)) drop-shadow(0 1px 2px rgb(29 26 26 / .12)); }
.auth-title { margin-top: 32px; font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -.032em; text-wrap: balance; }
.auth-desc { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--text-2); white-space: nowrap; }
.auth-buttons { display: grid; gap: 12px; width: 100%; margin-top: 32px; }
.auth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-radius: var(--r-md); background: var(--auth-btn); color: var(--text); box-shadow: inset 0 0 0 1px var(--auth-btn-edge), 0 1px 2px rgb(29 26 26 / .04); font: inherit; font-size: 16.5px; font-weight: 500; letter-spacing: -.012em; cursor: pointer; transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .3s var(--spring); }
.auth-btn:hover { background: var(--auth-btn-hover); box-shadow: inset 0 0 0 1px var(--line-strong), 0 2px 6px rgb(29 26 26 / .06); }
.auth-btn:active { transform: scale(.985); }
.auth-ico { flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; width: 100%; margin: 22px 0 18px; color: var(--text-3); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--auth-btn-edge); }
.auth-email { display: grid; gap: 8px; width: 100%; text-align: left; }
.auth-label { font-size: 14px; font-weight: 600; }
.auth-email input[type=email] { min-height: 54px; padding: 12px 16px; border: 0; border-radius: var(--r-md); background: var(--auth-input); box-shadow: inset 0 0 0 1px var(--auth-btn-edge); color: var(--text); font: inherit; font-size: 16.5px; }
.auth-email input[type=email]::placeholder { color: var(--text-3); }
.auth-email input[type=email]:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; }
.auth-email input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--warn); }
.auth-error { font-size: 13.5px; font-weight: 500; color: var(--warn); }
.auth-error[hidden] { display: none; }
.auth-submit { margin-top: 6px; min-height: 54px; padding: 12px 18px; border: 0; border-radius: var(--r-md); background: var(--auth-submit); color: var(--auth-submit-text); font: inherit; font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; cursor: pointer; transition: background-color .18s var(--ease-out), transform .3s var(--spring); }
.auth-submit:hover { background: var(--auth-submit-hover); }
.auth-submit:active { transform: scale(.985); }
.auth-status { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.auth-status:empty { display: none; }
.auth-legal { margin-top: 26px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.auth-legal a { color: var(--text-2); text-underline-offset: 2px; }
.auth-page { display: grid; justify-items: center; gap: 16px; padding: 28px 12px 0; }
.auth--page { display: block; }
.auth-page-note { max-width: 480px; font-size: 13px; color: var(--text-3); text-align: center; }
.auth-page-note .proto-tag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--tag-bg); box-shadow: inset 0 0 0 1px var(--tag-edge); }
.auth-page-note a { display: inline-flex; align-items: center; min-height: 44px; }
/* Phones: keep the hierarchy, drop the desktop air so nothing overflows. */
@media (max-width: 480px) {
  .auth-body { padding: 40px 20px 20px; }
  .auth-brand { font-size: 22px; }
  .auth-title { margin-top: 22px; font-size: 28px; }
  .auth-desc { font-size: 15px; }
  .auth-buttons { margin-top: 24px; gap: 10px; }
  .auth-btn, .auth-submit, .auth-email input[type=email] { min-height: 50px; font-size: 16px; }
  .auth-or { margin: 16px 0 14px; }
  .auth-legal { margin-top: 18px; }
}
@media (max-height: 700px) { .auth-body { padding-top: 36px; } .auth-title { margin-top: 18px; } .auth-buttons { margin-top: 20px; } }

/* ── Value pricing and icon benefits (benefits-value slice) ── */
.save-tag { margin-left: 6px; color: var(--pill-text); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.period input:checked + label .save-tag { color: var(--pill-text); }
.compare { margin-top: 8px; padding-top: 8px; border-top: .5px dashed var(--hairline); font-size: 13.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.helper[data-tone="warn"] { color: var(--warn); font-weight: 500; }
.benefits { display: grid; align-content: start; gap: 12px; margin-top: 20px; list-style: none; } /* shorter list keeps its rhythm instead of stretching to the taller card */
.benefits li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; font-size: 15px; line-height: 1.4; color: var(--text); }
.ben-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--pill-bg); color: var(--pill-text); }
.plan--free .ben-ico { background: var(--fill); color: var(--text-2); }
.ben-ico svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .period { width: 280px; } .benefits { margin-top: 16px; gap: 10px; } }
@media (max-width: 360px) { .period { width: 264px; } .save-tag { font-size: 12px; margin-left: 4px; } }
.price { padding-bottom: 18px; }
@media (max-width: 760px) { .price { padding-bottom: 14px; } }

/* No-JS sign-in page: disabled controls, explicit return with the billing period */
.auth-btn:disabled, .auth-submit:disabled, .auth-email input:disabled { opacity: .55; cursor: not-allowed; }
.auth-nojs { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); text-align: center; }
.auth-return { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; max-width: 480px; }
.auth-return-label { flex-basis: 100%; text-align: center; font-size: 14px; color: var(--text-2); }
.auth-return a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); color: var(--text); text-decoration: none; box-shadow: var(--ghost-edge); font-weight: 600; font-size: 15px; }
.auth-return a:hover { background: var(--ghost-hover); }
.auth-return a[aria-current] { background: var(--text); color: var(--page); box-shadow: none; }

.account-cta { min-height:44px; padding:8px 12px; border:0; border-radius:12px; background:transparent; color:var(--text-2); font:inherit; font-size:14px; cursor:pointer; }
.account-cta:hover { background:var(--auth-btn-hover); color:var(--text); }
button:disabled { cursor:wait; opacity:.6; }
