/* =============================================================================
   AI Focus Tool Design System
   Light theme only. No muted text: hierarchy comes from size, weight, and space.
   Palette follows the logo (royal blue + navy) with amber reserved for ideas.
   No purple, violet, or indigo anywhere.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 600;
  font-display: swap;
  src: url('../fonts/inter-latin-opsz-normal.woff2') format('woff2-variations'), url('../fonts/inter-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-opsz-normal.woff2') format('woff2-variations'), url('../fonts/inter-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* Brand blues (from the logo mark) */
  --blue-50: #EEF4FF;
  --blue-100: #DCE8FF;
  --blue-200: #BCD3FF;
  --blue-300: #8DB6FE;
  --blue-400: #4D95FC;
  --blue-500: #2276F8;
  --blue-600: #1561F7;
  --blue-700: #0E4FD6;
  --blue-800: #0B40AD;

  /* Navy ink (from the wordmark) */
  --navy-950: #061131;
  --navy-900: #0B1C44;
  --navy-800: #14254F;
  --navy-700: #1F3263;
  --navy-600: #2A3D6E;

  /* Amber: the color of ideas waiting */
  --amber-50: #FFF8EB;
  --amber-100: #FEEFD0;
  --amber-200: #FDDC9E;
  --amber-400: #F8B84E;
  --amber-600: #C2650A;
  --amber-700: #A34F06;
  --amber-800: #7F3D05;

  --green-50: #EBFAF1;
  --green-100: #D2F3E0;
  --green-600: #15803D;
  --green-700: #116B33;
  --red-50: #FEF2F2;
  --red-100: #FDE0E0;
  --red-600: #C62828;
  --red-700: #A11F1F;

  /* Semantic */
  --text: var(--navy-900);
  --text-2: var(--navy-700);
  --text-placeholder: #3A4C78;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F6F8FC;
  --surface-3: #EEF3FA;
  --line: #D6DEEC;
  --line-strong: #B4C3DD;
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-active: var(--blue-800);
  --focus: var(--blue-600);

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-xs: 0.875rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.26rem + 1vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.45rem + 1.9vw, 2.75rem);
  --fs-3xl: clamp(2.125rem, 1.5rem + 2.9vw, 3.625rem);

  /* Space (4px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --section-y: clamp(56px, 7vw, 104px);
  --gutter: clamp(16px, 4vw, 32px);
  /* Content width: sections may run full width; their content never exceeds this. */
  --content-max: 1290px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 28, 68, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 28, 68, 0.06), 0 2px 8px rgba(11, 28, 68, 0.05);
  --shadow-md: 0 2px 4px rgba(11, 28, 68, 0.04), 0 10px 28px rgba(11, 28, 68, 0.08);
  --shadow-lg: 0 4px 10px rgba(11, 28, 68, 0.05), 0 24px 56px rgba(11, 28, 68, 0.12);
  --ring: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--focus);
  --glow: 0 0 0 4px rgba(21, 97, 247, 0.16);

  /* Motion: asymmetric curves, decelerate on entry, accelerate on exit */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 240ms;
  --dur-4: 320ms;
  --dur-5: 480ms;

  --z-header: 50;
  --z-menu: 60;
  --z-toast: 80;
}

@media (min-width: 768px) {
  :root { --fs-base: 1.0625rem; }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'cv05', 'cv08';
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 20px 0px; color: var(--navy-900); line-height: 1.3; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 10px 0px; text-wrap: pretty; }
a { color: var(--blue-700); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
strong { font-weight: 700; color: var(--navy-900); }
ul, ol { margin: 10px 0px; padding: 10px 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue-100); color: var(--navy-950); }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px;
  background: var(--navy-900); color: #FFFFFF; border-radius: var(--r-md); font-weight: 700; text-decoration: none;
  transition: top var(--dur-2) var(--ease-out);
}
.skip-link:focus { top: 16px; color: #FFFFFF; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.tnum { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.container--mid { max-width: 960px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700);
}
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--text-2); }
.fine-print { font-size: var(--fs-xs); color: var(--text-2); }
.kbd, kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px;
  font-family: var(--font); font-size: 0.8125rem; font-weight: 700; color: var(--navy-800);
  background: #FFFFFF; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: #FFFFFF; --btn-fg: var(--navy-900); --btn-border: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-fg); font-size: var(--fs-base); font-weight: 650; line-height: 1.2;
  letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard),
              color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard), transform var(--dur-1) var(--ease-standard);
}
.btn:hover { color: var(--btn-fg); background: var(--surface-2); border-color: var(--blue-300); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { box-shadow: var(--ring); border-radius: 14px; }
.btn .icon { width: 20px; height: 20px; }

.btn--primary { --btn-bg: var(--primary); --btn-fg: #FFFFFF; --btn-border: var(--primary);
  box-shadow: 0 1px 2px rgba(21, 97, 247, 0.28), 0 8px 20px -8px rgba(21, 97, 247, 0.55); }
.btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; }
.btn--primary:active { background: var(--primary-active); border-color: var(--primary-active); }

.btn--secondary { --btn-bg: #FFFFFF; --btn-fg: var(--navy-900); --btn-border: var(--line-strong); box-shadow: var(--shadow-xs); }

.btn--idea { --btn-bg: var(--amber-50); --btn-fg: var(--amber-800); --btn-border: var(--amber-200); }
.btn--idea:hover { background: var(--amber-100); border-color: var(--amber-400); color: var(--amber-800); }
.btn--idea .icon { color: var(--amber-700); }

.btn--ghost { --btn-bg: transparent; --btn-border: transparent; --btn-fg: var(--navy-900); }
.btn--ghost:hover { background: var(--surface-3); border-color: transparent; }

.btn--danger { --btn-bg: var(--red-600); --btn-fg: #FFFFFF; --btn-border: var(--red-600); }
.btn--danger:hover { background: var(--red-700); border-color: var(--red-700); color: #FFFFFF; }
.btn--danger-ghost { --btn-bg: transparent; --btn-fg: var(--red-700); --btn-border: transparent; }
.btn--danger-ghost:hover { background: var(--red-50); border-color: transparent; color: var(--red-700); }

.btn--success { --btn-bg: var(--green-600); --btn-fg: #FFFFFF; --btn-border: var(--green-600); }
.btn--success:hover { background: var(--green-700); border-color: var(--green-700); color: #FFFFFF; }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); border-radius: 12px; }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 1.125rem; border-radius: 16px; }
.btn--xl { min-height: 68px; padding: 0 32px; font-size: 1.1875rem; border-radius: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.btn--link:hover { background: none; color: var(--blue-800); }

/* Not ready yet: readable, clearly different, never greyed out. */
.btn[aria-disabled='true'] { --btn-bg: var(--blue-100); --btn-fg: var(--blue-800); --btn-border: var(--blue-200); box-shadow: none; cursor: not-allowed; }
.btn[aria-disabled='true']:hover { background: var(--blue-100); border-color: var(--blue-300); color: var(--blue-800); }
.btn:disabled, .btn:disabled:hover { background: var(--surface-3); border-color: var(--line); color: var(--navy-700); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-ready-pulse { animation: ready-pulse 720ms var(--ease-out) 1; }
@keyframes ready-pulse { 0% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(21, 97, 247, 0); } }

.btn.is-loading { cursor: progress; }
.btn.is-loading .btn__label { opacity: 1; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon:not(.spinner) { display: none; }

.spinner {
  width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 700ms linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.button-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.button-stack { display: grid; gap: var(--s-3); }

/* ---------------------------------------------------------------- badges and chips */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-full);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; white-space: nowrap;
  background: var(--surface-3); color: var(--navy-800); border: 1px solid var(--line);
}
.badge--pro { background: var(--navy-900); color: #FFFFFF; border-color: var(--navy-900); height: 22px; padding: 0 8px; font-size: 0.75rem; letter-spacing: 0.04em; }
.badge--blue { background: var(--blue-50); color: var(--blue-800); border-color: var(--blue-200); }
.badge--amber { background: var(--amber-50); color: var(--amber-800); border-color: var(--amber-200); }
.badge--green { background: var(--green-50); color: var(--green-700); border-color: var(--green-100); }
.badge--red { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-full);
  background: #FFFFFF; border: 1.5px solid var(--line-strong); color: var(--navy-900); font-size: var(--fs-sm); font-weight: 600;
  transition: background-color var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard), color var(--dur-2);
}
.chip:hover { border-color: var(--blue-300); background: var(--blue-50); }
.chip[aria-pressed='true'], .chip.is-selected { background: var(--blue-600); border-color: var(--blue-600); color: #FFFFFF; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------------------------------------------------------------- fields */
.field { display: grid; gap: 8px; }
.field__label { font-size: var(--fs-base); font-weight: 700; color: var(--navy-900); line-height: 1.35; }
.field__label--xl { font-size: var(--fs-lg); letter-spacing: -0.012em; }
.field__hint { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; }
.field__meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.field__meta:not(:has(> :not([hidden]))) { display: none; }
.field__counter { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--navy-700); font-variant-numeric: tabular-nums; }
.field__counter.is-near { color: var(--amber-700); }
.field__counter.is-over { color: var(--red-700); }
.field__error { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; color: var(--red-700); }
.field__error .icon { margin-top: 2px; width: 18px; height: 18px; }

.control { position: relative; display: block; }
.input, .textarea, .select {
  display: block; width: 100%; min-height: 56px; padding: 15px 18px; font-size: 1.125rem; line-height: 1.45; font-weight: 500;
  color: var(--navy-900); background: #FFFFFF; border: 1.5px solid var(--line-strong); border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(11, 28, 68, 0.04);
  transition: border-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard), background-color var(--dur-2);
  -webkit-appearance: none; appearance: none;
}
.control--voice .input, .control--voice .textarea { padding-right: 64px; }
.textarea { resize: none; min-height: 96px; overflow: hidden; }
.textarea--grow { field-sizing: content; max-height: 280px; overflow-y: auto; }
.input::placeholder, .textarea::placeholder { color: var(--text-placeholder); font-style: italic; font-weight: 400; opacity: 1; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--blue-300); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--blue-600); box-shadow: var(--glow), inset 0 1px 2px rgba(11, 28, 68, 0.04); outline: none; }
.input[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.12); }
.input--hero, .textarea--hero { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.012em; min-height: 68px; padding: 18px 20px; border-radius: 18px; border-width: 2px; }
.control--voice .input--hero, .control--voice .textarea--hero { padding-right: 72px; }
.select {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B1C44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input--sm, .select--sm { min-height: 44px; padding: 10px 14px; font-size: var(--fs-base); border-radius: 12px; }
.select--sm { padding-right: 40px; background-position: right 12px center; }
.field.is-valid .input, .field.is-valid .textarea { border-color: var(--green-600); }

/* Voice button: sits inside the field, one tap to dictate. */
.voice-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--blue-200); background: var(--blue-50); color: var(--blue-700);
  transition: background-color var(--dur-2) var(--ease-standard), color var(--dur-2), border-color var(--dur-2), transform var(--dur-1) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}
.control--textarea .voice-btn { top: 10px; transform: none; }
.input--hero ~ .voice-btn, .textarea--hero ~ .voice-btn { width: 50px; height: 50px; right: 10px; }
.control--textarea .textarea--hero ~ .voice-btn { top: 9px; }
.voice-btn:hover { background: var(--blue-100); border-color: var(--blue-300); }
.voice-btn:active { transform: translateY(-50%) scale(0.94); }
.control--textarea .voice-btn:active { transform: scale(0.94); }
.voice-btn:focus-visible { box-shadow: var(--ring); border-radius: 50%; }
.voice-btn .icon { width: 22px; height: 22px; }
.voice-btn__ring { position: absolute; inset: -1.5px; border-radius: 50%; pointer-events: none; }
.voice-btn[aria-pressed='true'] { background: var(--blue-600); border-color: var(--blue-600); color: #FFFFFF; }
.voice-btn[aria-pressed='true'] .voice-btn__ring { animation: voice-ring 1.6s var(--ease-out) infinite; box-shadow: 0 0 0 0 rgba(21, 97, 247, 0.5); }
.voice-btn.is-busy { background: var(--blue-100); color: var(--blue-800); }
@keyframes voice-ring { 0% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0.45); } 70% { box-shadow: 0 0 0 14px rgba(21, 97, 247, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0); } }
.control.is-listening .input, .control.is-listening .textarea { border-color: var(--blue-600); box-shadow: var(--glow); background: #FBFCFF; }

.voice-status {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 14px 6px 12px; border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 600; background: var(--blue-50); color: var(--blue-800); border: 1px solid var(--blue-200);
  animation: rise-in var(--dur-3) var(--ease-out);
}
.voice-status--error { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }
.voice-status--busy { background: var(--surface-3); color: var(--navy-800); border-color: var(--line); }
.voice-bars { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.voice-bars i { display: block; width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: center; transform: scaleY(0.35); animation: voice-bar 1s ease-in-out infinite; }
.voice-bars i:nth-child(2) { animation-delay: 120ms; }
.voice-bars i:nth-child(3) { animation-delay: 240ms; }
.voice-bars i:nth-child(4) { animation-delay: 360ms; }
.voice-bars i:nth-child(5) { animation-delay: 480ms; }
.voice-status.is-speaking .voice-bars i { animation-duration: 520ms; }
@keyframes voice-bar { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.voice-status__stop { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; margin: -4px -8px -4px 2px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--blue-300); background: #FFFFFF; color: var(--blue-800); font-weight: 750; font-size: var(--fs-sm); cursor: pointer; transition: background-color var(--dur-2), border-color var(--dur-2); }
.voice-status__stop:hover { background: var(--blue-50); border-color: var(--blue-600); }
.voice-status__stop:focus-visible { box-shadow: var(--ring); border-radius: 999px; }
.voice-status__stop .icon { width: 14px; height: 14px; }
.voice-status__clock { font-weight: 750; font-variant-numeric: tabular-nums; }
.voice-status .spinner { width: 16px; height: 16px; border-width: 2px; }
.voice-btn .spinner { width: 20px; height: 20px; border-width: 2.5px; }
.voice-btn:disabled { cursor: progress; }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-600); flex: none; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background-color var(--dur-2) var(--ease-standard); flex: none; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: var(--shadow-sm); transition: transform var(--dur-2) var(--ease-out); }
.switch input:checked + .switch__track { background: var(--blue-600); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { box-shadow: var(--ring); }

.segmented { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface-3); border-radius: 14px; border: 1px solid var(--line); flex-wrap: wrap; }
.segmented button { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; font-weight: 650; color: var(--navy-800); transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2); }
.segmented button[aria-pressed='true'] { background: #FFFFFF; color: var(--navy-900); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- notices and toasts */
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--blue-200);
  background: var(--blue-50); color: var(--navy-900); font-size: var(--fs-sm); line-height: 1.55;
  animation: rise-in var(--dur-3) var(--ease-out);
}
.notice .icon { color: var(--blue-700); margin-top: 1px; }
.notice__body { flex: 1; display: grid; gap: 6px; }
.notice__title { font-weight: 700; font-size: var(--fs-base); }
.notice__close { margin: -6px -6px 0 0; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 10px; color: var(--navy-800); }
.notice__close:hover { background: rgba(11, 28, 68, 0.06); }
.notice--amber { background: var(--amber-50); border-color: var(--amber-200);margin:30px 0px 50px 0px; }
.notice--amber .icon { color: var(--amber-700); }
.notice--green { background: var(--green-50); border-color: var(--green-100); }
.notice--green .icon { color: var(--green-700); }
.notice--red { background: var(--red-50); border-color: var(--red-100); }
.notice--red .icon { color: var(--red-700); }
.notice--quiet { background: #FFFFFF; border-color: var(--line); }

.toast-region { position: fixed; z-index: var(--z-toast); left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 10px; width: min(560px, calc(100% - 32px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px;
  background: var(--navy-900); color: #FFFFFF; box-shadow: var(--shadow-lg); pointer-events: auto; font-weight: 600; font-size: var(--fs-sm);
  animation: toast-in var(--dur-3) var(--ease-out);
}
.toast.is-leaving { animation: toast-out var(--dur-2) var(--ease-in) forwards; }
.toast .icon { color: #9CC3FF; }
.toast--error .icon { color: #FFB4B4; }
.toast--success .icon { color: #8FE3B0; }
.toast__msg { flex: 1; line-height: 1.45; }
.toast__action { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.35); background: transparent; color: #FFFFFF; font-weight: 700; font-size: var(--fs-sm); }
.toast__action:hover { background: rgba(255, 255, 255, 0.12); }
.toast__close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: #FFFFFF; border-radius: 10px; }
.toast__close:hover { background: rgba(255, 255, 255, 0.12); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- menu */
.menu { position: relative; }
.menu__button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #FFFFFF; color: var(--navy-900); font-weight: 650; font-size: var(--fs-sm);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.menu__button:hover { border-color: var(--blue-300); }
.menu__button:focus-visible { box-shadow: var(--ring); border-radius: 999px; }
.menu__button > .icon { margin-left: 6px; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: var(--z-menu); min-width: 260px; padding: 8px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  transform-origin: top right; animation: menu-in var(--dur-2) var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
.menu__item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 0;
  background: none; color: var(--navy-900); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; text-align: left;
}
.menu__item:hover, .menu__item:focus-visible { background: var(--surface-3); color: var(--navy-900); box-shadow: none; }
.menu__item .icon { color: var(--blue-700); }
.menu__item .badge { margin-left: auto; }
.menu__item--accent { color: var(--blue-800); background: var(--blue-50); }
.menu__sep { height: 1px; margin: 6px 4px; background: var(--line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.avatar--initial { display: grid; place-items: center; background: var(--blue-600); color: #FFFFFF; font-weight: 750; font-size: 0.875rem; }

/* ---------------------------------------------------------------- site header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(11, 28, 68, 0.05); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; border-radius: 8px; }
.brand img { width: auto; height: 36px; }
.brand--compact img { height: 30px; }
.nav-toggle { margin-left: auto; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--navy-900); }
.site-nav { display: none; }
.site-nav.is-open {
  display: grid; gap: var(--s-4); position: absolute; left: 0; right: 0; top: 100%; padding: var(--s-4) var(--gutter) var(--s-6);
  background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); animation: rise-in var(--dur-3) var(--ease-out);
}
.site-nav__list { list-style: none; display: grid; gap: 2px; }
.site-nav__link { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--navy-900); font-weight: 650; text-decoration: none; }
.site-nav__link:hover { background: var(--surface-3); color: var(--navy-900); }
.site-nav__link.is-current { color: var(--blue-700); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; position: static; padding: 0; border: 0; box-shadow: none; background: none; animation: none; }
  .site-nav__list { display: flex; gap: 4px; }
  .site-nav__link { min-height: 44px; padding: 0 14px; font-size: var(--fs-sm); }
}

.breadcrumbs { padding-top: var(--s-5); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); font-weight: 600; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-800); }
.breadcrumbs li + li::before { content: '/'; color: var(--navy-600); }
.breadcrumbs a { color: var(--blue-700); }

/* ---------------------------------------------------------------- app shell */
body.app { min-height: 100dvh; background:
    radial-gradient(1100px 520px at 50% -140px, #E6EFFF 0%, rgba(230, 239, 255, 0) 70%), var(--bg); }
body.app--parking { background:
    radial-gradient(1100px 520px at 50% -140px, #FFF1D9 0%, rgba(255, 241, 217, 0) 70%), #FFFDF8; }
.app-bar { position: sticky; top: 0; z-index: var(--z-header); padding-top: env(safe-area-inset-top); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.app--parking .app-bar { background: rgba(255, 253, 248, 0.82); }
.app-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 12px var(--gutter); min-height: 68px; }
.app-bar__actions { display: flex; align-items: center; gap: 10px; }
.app-bar .btn span { display: none; }
@media (min-width: 560px) { .app-bar .btn span { display: inline; } }
@media (max-width: 380px) { .brand--compact img { height: 26px; } .menu__label { display: none; } .menu__button { padding: 0 8px; } }

.app-main { position: relative; width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(20px, 5vh, 56px) var(--gutter) var(--s-16); }
.app-main--wide { max-width: 1080px; }
.app-footer { padding: var(--s-8) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom)); }
.app-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: var(--fs-xs); font-weight: 600; }
.app-footer a { color: var(--navy-800); text-decoration: none; }
.app-footer a:hover { color: var(--blue-700); text-decoration: underline; }

/* Homepage modes: landing (site header + content) vs focus (calm app bar only). */
.app-main--hero { padding: 0; max-width: none; }
.hero__grid--app { grid-template-columns: minmax(0, 1fr) !important; }
.hero__grid--app .app-main--hero, .app-mode .app-main--hero { width: 100%; max-width: 820px; margin-inline: auto; }
.app-mode .hero__grid { grid-template-columns: minmax(0, 1fr); }
.app-bar--guest-app { display: none; }
.app-mode .app-bar--guest-app { display: block; }
.app-mode .site-header, .app-mode .hero-aside, .app-mode .home-marketing, .app-mode .site-footer { display: none; }
.has-guest-priority .site-header, .has-guest-priority .hero-aside, .has-guest-priority .home-marketing, .has-guest-priority .site-footer { display: none; }
.has-guest-priority .app-bar--guest-app { display: block; }
.has-guest-priority .app-stage:not(.is-ready) { opacity: 0; animation: reveal 0s 1.4s forwards; }
@keyframes reveal { to { opacity: 1; } }
.focus__heading { position: relative; padding-right: 52px; }
.celebrate .screen__actions, .celebrate #completed-signup { width: 100%; max-width: 520px; }
.parked .button-stack { width: 100%; max-width: 420px; }
.mt-6 { margin-top: var(--s-6); }
.mt-10 { margin-top: var(--s-10); }
.text-center { text-align: center; }

/* Screens: one decision, one screen, one obvious action. */
.screen { display: grid; gap: var(--s-6); }
.screen.is-entering { animation: screen-in var(--dur-3) var(--ease-out) both; }
.screen.is-leaving { animation: screen-out 140ms var(--ease-in) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes screen-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px); } }
.screen__head { display: grid; gap: var(--s-3); }
.screen__title { font-size: var(--fs-2xl); letter-spacing: -0.028em; line-height: 1.12; }
.screen__title:focus { box-shadow: none; }
.screen__sub { font-size: var(--fs-md); color: var(--text-2); line-height: 1.55; }
.screen__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px 0 4px; border: 0; background: none; color: var(--navy-800); font-weight: 650; font-size: var(--fs-sm); border-radius: 10px; }
.screen__back:hover { color: var(--blue-700); background: var(--surface-3); }
.screen__actions { display: grid; gap: var(--s-3); margin-top: var(--s-2); }
@media (min-width: 640px) { .screen__actions--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.screen__quiet { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--navy-800); font-weight: 650; font-size: var(--fs-sm); text-decoration: none; border-radius: 10px; }
.quiet-link:hover { color: var(--blue-700); background: rgba(21, 97, 247, 0.06); }
.quiet-link .icon { width: 18px; height: 18px; color: var(--blue-700); }

/* Setup */
.setup { gap: var(--s-8); }
.setup__title { font-size: var(--fs-3xl); letter-spacing: -0.034em; line-height: 1.06; }
.setup__title em { font-style: normal; color: var(--blue-600); }
.setup__form { display: grid; gap: var(--s-6); }
.setup__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.setup__trust span { display: inline-flex; align-items: center; gap: 6px; }
.setup__trust .icon { width: 18px; height: 18px; color: var(--green-600); }
.suggest { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.suggest__title { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); display: flex; align-items: center; gap: 8px; }
.suggest__item { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--amber-50); border: 1px solid var(--amber-200); }
.suggest__item p { font-weight: 600; }
.coach { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: 16px; background: var(--amber-50); border: 1px solid var(--amber-200); animation: rise-in var(--dur-3) var(--ease-out); }
.coach__msg { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--navy-900); }
.coach__msg .icon { color: var(--amber-700); margin-top: 3px; }
.coach__suggestion { display: grid; gap: 10px; padding: var(--s-4); border-radius: 12px; background: #FFFFFF; border: 1px solid var(--amber-200); }
.coach__label { font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-800); }
.coach--clear { background: var(--green-50); border-color: var(--green-100); }
.coach--clear .coach__msg .icon { color: var(--green-600); }

/* Focus: a protected execution environment. */
.focus { gap: var(--s-8); text-align: left; }
.focus__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.focus__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-700); }
.focus__started { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); }
.focus__title { font-size: var(--fs-3xl); font-weight: 780; letter-spacing: -0.034em; line-height: 1.08; color: var(--navy-950); word-break: break-word; }
.focus__title:focus { box-shadow: none; }
.finish-line { position: relative; display: grid; gap: 8px; padding: var(--s-5) var(--s-6); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--blue-200); box-shadow: var(--shadow-sm); }
.finish-line::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--blue-600); }
.finish-line__label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-700); }
.finish-line__text { font-size: var(--fs-md); font-weight: 550; line-height: 1.55; color: var(--navy-900); word-break: break-word; }
.focus__rule { font-size: var(--fs-base); font-weight: 600; color: var(--navy-800); }
.focus__actions { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .focus__actions { grid-template-columns: 1fr 1fr; } }
.focus__more { position: absolute; right: 0; top: 0; }
.focus-window { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 14px 4px 6px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--blue-200); font-size: var(--fs-sm); font-weight: 650; color: var(--navy-900); box-shadow: var(--shadow-xs); }
.focus-window__ring { width: 30px; height: 30px; transform: rotate(-90deg); }
.focus-window__ring circle { fill: none; stroke-width: 3.5; }
.focus-window__track { stroke: var(--blue-100); }
.focus-window__bar { stroke: var(--blue-600); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.focus-hint { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.focus-hint span { display: inline-flex; gap: 6px; align-items: center; }
@media (hover: none) { .focus-hint { display: none; } }

.more { position: relative; }
.more__button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid transparent; background: none; color: var(--navy-800); }
.more__button:hover { background: var(--surface-3); color: var(--navy-900); }

/* Capture and appeal */
.capture__idea { display: flex; gap: 12px; align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: 16px; background: var(--amber-50); border: 1px solid var(--amber-200); }
.capture__idea .icon { color: var(--amber-700); margin-top: 3px; }
.capture__idea p { font-weight: 650; color: var(--navy-900); word-break: break-word; }
.capture__idea small { display: block; font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-800); margin-bottom: 2px; }
.similar { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1.5px solid var(--amber-200); box-shadow: var(--shadow-sm); animation: rise-in var(--dur-3) var(--ease-out); }
.similar__quote { padding: 12px 14px; border-radius: 12px; background: var(--amber-50); font-weight: 650; word-break: break-word; }

.appeal-progress { display: grid; gap: 10px; }
.appeal-progress__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.appeal-steps { display: flex; gap: 6px; }
.appeal-steps i { width: 28px; height: 6px; border-radius: 999px; background: var(--blue-100); transition: background-color var(--dur-3) var(--ease-standard); }
.appeal-steps i.is-done { background: var(--blue-600); }
.appeal-steps i.is-current { background: var(--blue-400); }
.appeal-timer { height: 6px; border-radius: 999px; background: var(--blue-50); overflow: hidden; }
.appeal-timer__bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue-400), var(--blue-600)); transform-origin: left center; }
.appeal-timer.is-running .appeal-timer__bar { animation: drain 60s linear forwards; }
.appeal-timer.is-over .appeal-timer__bar { background: var(--amber-400); transform: scaleX(1); animation: none; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.appeal-time { font-variant-numeric: tabular-nums; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.answer {
  position: relative; display: grid; place-items: center; gap: 6px; min-height: 112px; padding: var(--s-4); border-radius: 20px;
  border: 2px solid var(--line-strong); background: #FFFFFF; color: var(--navy-900); font-size: 1.5rem; font-weight: 780; letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-2), background-color var(--dur-2);
}
.answer:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--shadow-md); }
.answer:active { transform: translateY(0) scale(0.98); }
.answer:focus-visible { box-shadow: var(--ring); border-radius: 20px; }
.answer kbd { position: absolute; top: 12px; right: 12px; }
.answer small { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-700); letter-spacing: 0; }
.answer--yes:hover { border-color: var(--amber-400); background: var(--amber-50); }
.answer.is-chosen { border-color: var(--blue-600); background: var(--blue-50); }
.answer--yes.is-chosen { border-color: var(--amber-600); background: var(--amber-50); }

/* Parked confirmation */
.parked { text-align: center; justify-items: center; padding-top: var(--s-8); }
.parked__check { width: 104px; height: 104px; }
.parked__check .circle { fill: var(--green-50); stroke: var(--green-600); stroke-width: 3; }
.parked__check .tick { fill: none; stroke: var(--green-600); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 420ms var(--ease-out) 160ms forwards; }
.parked__check .circle { transform-origin: center; animation: pop-in var(--dur-4) var(--ease-out) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
.parked .screen__title { font-size: var(--fs-2xl); }
.parked__safe { font-size: var(--fs-md); font-weight: 600; color: var(--navy-900); max-width: 32ch; margin-inline: auto; }
.parked__calm { font-size: var(--fs-base); color: var(--text-2); }
.parked .btn { min-width: min(100%, 340px); }

/* Re-evaluate once */
.evidence-flag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--amber-50); border: 1px solid var(--amber-200); color: var(--amber-800); font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.compare { display: grid; gap: var(--s-3); align-items: stretch; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr auto 1fr; } }
.compare__card { display: grid; align-content: start; gap: 10px; padding: var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-sm); }
.compare__card--idea { border-color: var(--amber-200); background: #FFFDF8; }
.compare__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.compare__card--idea .compare__label { color: var(--amber-800); }
.compare__title { font-size: var(--fs-lg); font-weight: 750; line-height: 1.3; letter-spacing: -0.015em; word-break: break-word; }
.compare__detail { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; word-break: break-word; }
.compare__vs { display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm); color: var(--navy-800); letter-spacing: 0.08em; }
.compare__vs span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid var(--line); }
.reason-list { list-style: none; display: grid; gap: 6px; }
.reason-list li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.reason-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--amber-700); }
.opinion { display: grid; gap: 10px; padding: var(--s-4) var(--s-5); border-radius: 16px; background: var(--blue-50); border: 1px solid var(--blue-200); animation: rise-in var(--dur-3) var(--ease-out); }
.opinion__lean { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.opinion__lean .badge { text-transform: capitalize; }
.opinion p { font-size: var(--fs-sm); line-height: 1.55; }
.decision-note { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); text-align: center; }

/* Completion */
.celebrate { text-align: center; justify-items: center; padding-top: var(--s-6); }
.celebrate__badge { position: relative; width: 120px; height: 120px; }
.celebrate__badge .circle { fill: var(--blue-600); transform-origin: center; animation: pop-in var(--dur-4) var(--ease-out) both; }
.celebrate__badge .tick { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw 460ms var(--ease-out) 200ms forwards; }
.celebrate__badge .spark { fill: var(--amber-400); transform-origin: 60px 60px; opacity: 0; animation: spark 700ms var(--ease-out) 260ms forwards; }
@keyframes spark { 0% { opacity: 0; transform: scale(0.4); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.35); } }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); width: 100%; }
.stat { display: grid; gap: 4px; padding: var(--s-4); border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); text-align: left; }
.stat__value { font-size: var(--fs-xl); font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--navy-950); line-height: 1.1; }
.stat__label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.finish-check { padding: var(--s-5) var(--s-6); border-radius: 18px; background: #FFFFFF; border: 1.5px solid var(--blue-200); font-size: var(--fs-md); font-weight: 600; line-height: 1.55; box-shadow: var(--shadow-sm); word-break: break-word; }

.signup-card { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: 22px; background: linear-gradient(160deg, #FFFFFF 0%, var(--blue-50) 100%); border: 1.5px solid var(--blue-200); text-align: left; width: 100%; }
.signup-card h2 { font-size: var(--fs-lg); }
.signup-card ul { list-style: none; display: grid; gap: 8px; }
.signup-card li { display: flex; gap: 10px; font-weight: 600; font-size: var(--fs-sm); }
.signup-card li .icon { color: var(--green-600); width: 18px; height: 18px; margin-top: 2px; }

/* Close the day */
.day-summary { display: grid; gap: var(--s-3); }
.day-summary__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: var(--s-4) var(--s-5); border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); font-weight: 650; }
.day-summary__row strong { font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- parking lot */
.lot-head { display: grid; gap: var(--s-3); }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; }
.tab { min-height: 42px; padding: 0 18px; border-radius: 12px; border: 0; background: none; font-weight: 700; font-size: var(--fs-sm); color: var(--navy-800); white-space: nowrap; transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2); }
.tab[aria-selected='true'] { background: var(--navy-900); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.tab:hover:not([aria-selected='true']) { background: var(--surface-3); }
.tab-panel { display: grid; gap: var(--s-6); animation: fade-in var(--dur-3) var(--ease-out); }
.tab-panel:focus-visible { box-shadow: none; }

.review-start { display: grid; gap: var(--s-5); padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #FFFFFF; border: 1px solid var(--amber-200); box-shadow: var(--shadow-md); }
.review-start__count { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--amber-700); font-variant-numeric: tabular-nums; }
.review-progress { display: grid; gap: 8px; }
.review-progress__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.bar { height: 8px; border-radius: 999px; background: var(--amber-100); overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; background: var(--amber-600); transition: width var(--dur-4) var(--ease-out); }

.idea-card { position: relative; display: grid; gap: var(--s-5); padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: #FFFFFF; border: 1.5px solid var(--amber-200); box-shadow: var(--shadow-lg); }
.idea-card.is-entering { animation: card-in var(--dur-4) var(--ease-out) both; }
.idea-card.is-leaving-left { animation: card-out-left 200ms var(--ease-in) both; }
.idea-card.is-leaving-right { animation: card-out-right 200ms var(--ease-in) both; }
.idea-card.is-leaving-down { animation: card-out-down 200ms var(--ease-in) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes card-out-left { to { opacity: 0; transform: translateX(-36px) rotate(-1.5deg); } }
@keyframes card-out-right { to { opacity: 0; transform: translateX(36px) rotate(1.5deg); } }
@keyframes card-out-down { to { opacity: 0; transform: translateY(18px) scale(0.98); } }
.idea-card__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--amber-800); }
.idea-card__text { font-size: var(--fs-xl); font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; word-break: break-word; }
.idea-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.idea-meta li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 650; color: var(--navy-800); }
.idea-meta .icon { width: 16px; height: 16px; color: var(--amber-700); }
.idea-why { padding: 12px 14px; border-radius: 12px; background: var(--amber-50); border: 1px solid var(--amber-200); font-size: var(--fs-sm); line-height: 1.5; }
.idea-why strong { color: var(--amber-800); }
.idea-card__question { font-size: var(--fs-lg); font-weight: 750; }
.review-actions { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .review-actions { grid-template-columns: 1.2fr 1fr 1fr; } }
.date-choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.idea-list { list-style: none; display: grid; gap: var(--s-3); }
.idea-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: var(--s-4) var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); animation: rise-in var(--dur-3) var(--ease-out) both; }
.idea-row__text { font-weight: 650; line-height: 1.45; word-break: break-word; }
.idea-row__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); align-items: center; }
.idea-row__edit { display: grid; gap: 10px; }
.toolbar { display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .toolbar { grid-template-columns: 1fr auto; align-items: center; } }
.search { position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--navy-800); pointer-events: none; }
.search .input { padding-left: 44px; min-height: 48px; font-size: var(--fs-base); }

.empty { display: grid; justify-items: center; gap: var(--s-4); padding: clamp(32px, 6vw, 56px) var(--s-6); text-align: center; border-radius: 24px; background: rgba(255, 255, 255, 0.85); border: 1.5px dashed var(--line-strong); }
.empty__art { width: 88px; height: 88px; }
.empty h2, .empty h3 { font-size: var(--fs-lg); }
.empty p { max-width: 46ch; color: var(--text-2); }

.skeleton { position: relative; overflow: hidden; background: var(--surface-3); border-radius: 12px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton--line { height: 16px; }
.skeleton--card { height: 96px; border-radius: 18px; }

/* History */
.timeline { list-style: none; display: grid; gap: var(--s-3); }
.timeline__item { display: grid; gap: 8px; padding: var(--s-4) var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); animation: rise-in var(--dur-3) var(--ease-out) both; }
.timeline__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.timeline__title { font-weight: 750; font-size: var(--fs-md); word-break: break-word; }
.timeline__done { font-size: var(--fs-sm); color: var(--text-2); word-break: break-word; }
.timeline__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); }
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.day-card { padding: var(--s-4); border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); display: grid; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); }
.day-card strong { font-size: var(--fs-base); }

/* Patterns */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chart { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.chart__title { font-size: var(--fs-md); }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); align-items: end; gap: 3px; height: 140px; padding-top: 8px; }
.hours__bar { position: relative; border-radius: 4px 4px 2px 2px; background: var(--blue-200); min-height: 3px; transition: height var(--dur-5) var(--ease-out); }
.hours__bar.is-top { background: var(--blue-600); }
.hours__axis { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 0.8125rem; font-weight: 600; color: var(--navy-800); }
.hours__axis span:last-child { text-align: right; }
.bars-h { display: grid; gap: 12px; }
.bars-h__row { display: grid; gap: 6px; }
.bars-h__label { display: flex; justify-content: space-between; font-size: var(--fs-sm); font-weight: 650; }
.bars-h__track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bars-h__fill { height: 100%; border-radius: inherit; background: var(--amber-600); }
.insight { display: grid; gap: var(--s-4); padding: clamp(20px, 4vw, 32px); border-radius: 24px; background: linear-gradient(165deg, #FFFFFF 0%, var(--blue-50) 100%); border: 1.5px solid var(--blue-200); }
.insight__headline { font-size: var(--fs-xl); letter-spacing: -0.022em; }
.insight__obs { list-style: none; display: grid; gap: var(--s-4); }
.insight__obs li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--blue-600); }
.insight__obs strong { font-size: var(--fs-base); }
.insight__exp { padding: var(--s-4) var(--s-5); border-radius: 16px; background: #FFFFFF; border: 1px solid var(--blue-200); }
.locked { position: relative; display: grid; gap: var(--s-4); padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-md); }

/* Account */
.settings { display: grid; gap: var(--s-6); }
.panel { display: grid; gap: var(--s-5); padding: clamp(20px, 3.5vw, 32px); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); scroll-margin-top: 96px; }
.panel__head { display: grid; gap: 6px; }
.panel__title { font-size: var(--fs-lg); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel__desc { color: var(--text-2); font-size: var(--fs-sm); }
.panel--danger { border-color: var(--red-100); }
.row-between { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; align-items: center; }
.profile { display: flex; gap: var(--s-4); align-items: center; }
.profile .avatar { width: 56px; height: 56px; font-size: 1.25rem; }
.grid-2 { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.auth-options { display: grid; gap: var(--s-3); }
.divider { display: flex; align-items: center; gap: 14px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.google-icon { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- marketing sections */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--blue { background: linear-gradient(180deg, var(--blue-50) 0%, #FFFFFF 100%); }
.section--warm { background: linear-gradient(180deg, #FFF7EA 0%, #FFFFFF 100%); }
.section--navy { background: var(--navy-900); color: #FFFFFF; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #FFFFFF; }
.section--navy p { color: #E4EBFA; }
.section--navy a:not(.btn) { color: #BFD6FF; }
.section-head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--fs-2xl); letter-spacing: -0.028em; }

.hero { padding-block: clamp(28px, 6vw, 72px) clamp(40px, 7vw, 88px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero-aside { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero-aside__title { font-size: var(--fs-md); }
.loop { list-style: none; display: grid; gap: 10px; counter-reset: loop; }
.loop li { counter-increment: loop; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; font-size: var(--fs-sm); }
.loop li::before { content: counter(loop); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); color: var(--blue-800); font-weight: 800; border: 1px solid var(--blue-200); }
.loop strong { display: block; font-size: var(--fs-base); }

.answer-box { display: grid; gap: var(--s-4); padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-md); }
.answer-box__lead { font-size: var(--fs-lg); font-weight: 600; line-height: 1.55; color: var(--navy-900); }
.takeaways { list-style: none; display: grid; gap: 12px; }
.takeaways li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-weight: 600; }
.takeaways .icon { color: var(--blue-600); margin-top: 3px; }

.steps { list-style: none; display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.08em; color: var(--blue-700); }
.step h3 { font-size: var(--fs-md); }
.step p { color: var(--text-2); font-size: var(--fs-sm); }

.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.flow span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--blue-200); font-size: 0.875rem; font-weight: 750; letter-spacing: 0.04em; color: var(--navy-900); }
.flow span.is-idea { border-color: var(--amber-200); background: var(--amber-50); color: var(--amber-800); }
.flow i { color: var(--blue-600); font-style: normal; font-weight: 800; }

.demo { display: grid; gap: var(--s-5); padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-lg); }
.demo__q { display: grid; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.demo__q:first-of-type { border-top: 0; }
.demo__q p { font-weight: 700; font-size: var(--fs-md); }
.demo__result { padding: var(--s-5); border-radius: 18px; font-weight: 650; animation: rise-in var(--dur-3) var(--ease-out); }
.demo__result--park { background: var(--green-50); border: 1px solid var(--green-100); }
.demo__result--eval { background: var(--amber-50); border: 1px solid var(--amber-200); }
.demo__result h3 { margin-bottom: 6px; }

.table-wrap { position: relative; overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #FFFFFF; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--surface-2); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-800); }
.compare-table tbody th { font-weight: 700; color: var(--navy-900); width: 28%; }
.compare-table td.is-us { background: var(--blue-50); font-weight: 650; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.yes { color: var(--green-700); font-weight: 800; }
.no { color: var(--red-700); font-weight: 800; }

.personas { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .personas { grid-template-columns: repeat(2, 1fr); } }
.persona { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.persona h3 { font-size: var(--fs-md); }
.persona p { font-size: var(--fs-sm); }
.persona__pain { color: var(--text-2); }
.persona__outcome { display: flex; gap: 10px; font-weight: 650; }
.persona__outcome .icon { color: var(--green-600); margin-top: 3px; width: 18px; height: 18px; }

.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: stretch; }
.plan .btn { white-space: normal; text-align: center; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: grid; gap: var(--s-4); align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #FFFFFF; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.plan--featured { border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50), var(--shadow-lg); }
.plan__flag { position: absolute; top: -14px; left: 24px; }
.plan__name { font-size: var(--fs-lg); }
.plan__price { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: var(--fs-base); font-weight: 650; letter-spacing: 0; color: var(--navy-800); }
.plan__summary { font-size: var(--fs-sm); color: var(--text-2); }
.plan__features { list-style: none; display: grid; gap: 10px; }
.plan__features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.plan__features .icon { width: 18px; height: 18px; color: var(--green-600); margin-top: 2px; }
.plan__limits { font-size: 0.875rem; color: var(--navy-800); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; }

.faq { display: grid; gap: var(--s-3); }
.faq__item { border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.faq__item[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: 18px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: var(--fs-base); font-weight: 700; line-height: 1.4; }
.faq__chev { transition: transform var(--dur-3) var(--ease-out); color: var(--blue-700); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 20px 20px; }
.faq__a p { color: var(--navy-800); }

.cta-band { display: grid; gap: var(--s-5); justify-items: center; text-align: center; }
.cta-band h2 { font-size: var(--fs-2xl); max-width: 22ch; }
.cta-band .btn--primary { --btn-bg: #FFFFFF; --btn-fg: var(--navy-900); --btn-border: #FFFFFF; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.cta-band .btn--primary:hover { background: var(--blue-50); color: var(--navy-900); border-color: var(--blue-50); }

.prose { display: grid; gap: var(--s-5);max-width: 1190px;padding: 20px 40px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.page-hero { padding-block: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: var(--fs-3xl); letter-spacing: -0.034em; line-height: 1.06; }
.page-hero .lead { max-width: 62ch; margin-top: var(--s-4); }
.toc { display: grid; gap: 8px; padding: var(--s-5); border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.toc h2 { font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin: 10px 0px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; font-weight: 600; font-size: var(--fs-sm); }
.callout { padding: var(--s-5); border-radius: 18px; background: var(--blue-50); border: 1px solid var(--blue-200); }
.callout--amber { background: var(--amber-50); border-color: var(--amber-200); }
.copy-block { position: relative; padding: var(--s-5); padding-right: 96px; border-radius: 16px; background: #FFFFFF; border: 1.5px dashed var(--blue-300); font-weight: 600; }
.copy-block .btn { position: absolute; top: 12px; right: 12px; }

.grid-3 { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.card h3 { font-size: var(--fs-md); }
.card p { font-size: var(--fs-sm); color: var(--text-2); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-200); }
.card__icon--amber { background: var(--amber-50); color: var(--amber-700); border-color: var(--amber-200); }

.reveal { transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
.js .reveal.reveal--pending { opacity: 0; transform: translateY(14px); }

/* Footer */
.site-footer { padding-top: var(--section-y); background: var(--surface-2); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; gap: var(--s-8); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.site-footer__brand { display: grid; gap: var(--s-4); justify-items: start; }
.site-footer__brand img { width: 240px; height: auto; }
.site-footer__brand p { max-width: 36ch; font-size: var(--fs-sm); }
.site-footer__title { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s-3); }
.site-footer__col ul { list-style: none; display: grid; gap: 4px; }
.site-footer__col a { display: inline-flex; min-height: 36px; align-items: center; color: var(--navy-800); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.site-footer__col a:hover { color: var(--blue-700); text-decoration: underline; }
.site-footer__base { margin-top: var(--s-12); padding-block: var(--s-6) calc(var(--s-6) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); }

.error-page { padding-block: clamp(56px, 12vh, 140px); }
.error-page__inner { display: grid; gap: var(--s-5); }

/* Offline and sync pill */
.sync-pill { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: var(--z-header); display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--navy-900); color: #FFFFFF; font-size: 0.875rem; font-weight: 650; box-shadow: var(--shadow-md); animation: rise-in var(--dur-3) var(--ease-out); }
.sync-pill .icon { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .appeal-timer.is-running .appeal-timer__bar { animation: none; transform: scaleX(1); }
  .parked__check .tick, .celebrate__badge .tick { stroke-dashoffset: 0; }
  .reveal.reveal--pending { opacity: 1; transform: none; }
}
.reduce-motion .reveal.reveal--pending { opacity: 1; transform: none; }

@media print {
  .site-header, .app-bar, .site-footer, .app-footer, .toast-region, .voice-btn { display: none !important; }
  body { background: #FFFFFF; }
}
.section-head--flush { margin-bottom: 0; }
.eyebrow--amber { color: var(--amber-800); }

/* Focus screen refinements */
#focus-confirm:empty { display: none; }
@media (max-width: 639px) {
  .focus__actions {
    position: sticky; bottom: 0; z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 22%, #FFFFFF 100%);
  }
  .focus__actions .btn--xl { min-height: 60px; }
}
.stat-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) {
  .stat-row--3 .stat { padding: 12px; }
  .stat-row--3 .stat__value { font-size: 1.375rem; }
  .stat-row--3 .stat__label { font-size: 0.8125rem; line-height: 1.35; }
}
.demo .segmented button { min-width: 96px; }
.settings-form { display: grid; gap: var(--s-5); }
.table-wrap:focus-visible { box-shadow: var(--ring); }

/* ---------------------------------------------------------------- shared refinements */
.quiet-link .spinner { display: none; width: 16px; height: 16px; border-width: 2px; }
.quiet-link.is-loading { cursor: progress; }
.quiet-link.is-loading .spinner { display: inline-block; }
.quiet-link.is-loading .icon { display: none; }
.field__label--sm { font-size: var(--fs-sm); }
.bar--blue { background: var(--blue-100); }
.bar--blue .bar__fill { background: var(--blue-600); }
.idea-row__draft { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--navy-800); word-break: break-word; }

/* Setup suggestions: Ready and scheduled ideas */
.suggest__item--next { background: var(--blue-50); border-color: var(--blue-200); }
.suggest__body { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.suggest__item .suggest__text { margin: 0; font-weight: 650; word-break: break-word; }
.suggest__item .suggest__done { margin: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--navy-800); word-break: break-word; }

/* ---------------------------------------------------------------- Priority Steps module: steps to the finish line */
.steps-panel { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); animation: rise-in var(--dur-3) var(--ease-out); }
.steps-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.steps-panel__title { margin: 0; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-700); }
.steps-panel__count { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.steps-panel .bar { height: 6px; }
.steps-panel__body { display: grid; gap: var(--s-3); }
.steps-panel__empty { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }
.steps-panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: -4px -8px -8px; }
.steps-panel__foot:not(:has(> :not([hidden]))) { display: none; }
.steps-panel.is-collapsed { gap: var(--s-2); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps-list:empty { display: none; }
.step-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; padding: 2px 2px 2px 10px; border-radius: 12px; transition: background-color var(--dur-2) var(--ease-standard); }
.step-row.is-new { animation: rise-in var(--dur-2) var(--ease-out); }
.step-row:hover { background: var(--surface-2); }
.step-row__check { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 10px 0; cursor: pointer; font-weight: 600; line-height: 1.45; }
.step-row__check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-600); cursor: pointer; }
.step-row__text { word-break: break-word; }
.step-row.is-done .step-row__text { color: var(--navy-700); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--navy-600); }
.step-row__menu .menu__panel { min-width: 210px; }
.step-row.is-editing { grid-template-columns: minmax(0, 1fr); padding: 8px; background: var(--surface-2); }
.step-row__edit { display: grid; gap: 10px; }
.steps-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.steps-add .field { gap: 6px; }
.steps-add .input, .step-row__edit .input { min-height: 50px; padding: 12px 16px; font-size: var(--fs-base); border-radius: 12px; }
.steps-add .control--voice .input, .step-row__edit .control--voice .input { padding-right: 54px; }
.steps-add .voice-btn, .step-row__edit .voice-btn { width: 40px; height: 40px; right: 5px; }
.steps-add .btn { min-height: 50px; }
@media (max-width: 479px) { .steps-add { grid-template-columns: minmax(0, 1fr); } }
.steps-ai { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-200); animation: rise-in var(--dur-3) var(--ease-out); }
.steps-ai .coach__label { color: var(--blue-800); margin: 0; }
.steps-ai__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps-ai__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--blue-200); }
.steps-ai__text { font-weight: 600; line-height: 1.45; word-break: break-word; }
.steps-ai .fine-print { margin: 0; }
.steps-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.steps-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-700); }
#complete-steps { font-weight: 600; }

/* ---------------------------------------------------------------- Focus Board module */
body.app--board { background: radial-gradient(1100px 520px at 50% -140px, #E6EFFF 0%, rgba(230, 239, 255, 0) 70%), var(--surface-2); }
.app-main--board { max-width: calc(var(--content-max) + 2 * var(--gutter)); }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.board-head__text { display: grid; gap: var(--s-2); max-width: 780px; }
.board-head__text .screen__title, .board-head__text .screen__sub, .board-head__text .eyebrow { margin: 0; }
.board-head__text .screen__sub { font-size: var(--fs-base); }
.board-head__text .eyebrow .icon { width: 18px; height: 18px; }
.board { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 760px) { .board { grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); } }
.board-switch { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 0 var(--s-4); border-radius: 16px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); scrollbar-width: none; }
.board-switch::-webkit-scrollbar { display: none; }
.board-switch__btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: none; font-weight: 700; font-size: var(--fs-sm); color: var(--navy-800); white-space: nowrap; transition: background-color var(--dur-2), color var(--dur-2); }
.board-switch__btn[aria-pressed='true'] { background: var(--navy-900); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.board-switch__count { font-size: 0.8125rem; font-weight: 800; }
.board-switch__count:empty { display: none; }
@media (max-width: 759px) { .kcol:not(.is-current) { display: none; } }
@media (min-width: 760px) { .board-switch { display: none; } }

.kcol { display: grid; gap: var(--s-3); align-content: start; min-width: 0; padding: var(--s-4); border-radius: 20px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); border-top-width: 4px; transition: background-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard); }
.kcol--parked { border-top-color: var(--amber-400); }
.kcol--scheduled { border-top-color: var(--blue-300); }
.kcol--next { border-top-color: var(--blue-600); }
.kcol--focus { border-top-color: var(--navy-900); background: #FFFFFF; }
.kcol--done { border-top-color: var(--green-600); }
.kcol__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kcol__title { margin: 0; font-size: var(--fs-base); font-weight: 750; letter-spacing: -0.01em; border-radius: 6px; }
.kcol__count { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 750; color: var(--navy-800); }
.kcol__count:empty { display: none; }
.kcol.is-full .kcol__count { background: var(--navy-900); border-color: var(--navy-900); color: #FFFFFF; }
.kcol__desc { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--navy-800); line-height: 1.45; }
.kcol__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-height: 64px; align-content: start; }
.kcol__skeleton .skeleton--card { height: 84px; }
.kcol__empty { display: grid; gap: 10px; justify-items: start; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-strong); font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.kcol__empty p { margin: 0; }
.kcol__foot { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.kcol__confirm:empty { display: none; }
.kcol.is-drop-ok { box-shadow: 0 0 0 2px var(--blue-100); }
.kcol.is-drop-target { background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-400); }
.kcol.is-drop-no { background: var(--red-50); box-shadow: 0 0 0 3px var(--red-100); }
.kcol.is-drop-target .kcol__empty { display: none; }

.kcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: start; padding: 4px 4px 12px 12px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); user-select: none; -webkit-user-select: none; transition: box-shadow var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard), opacity var(--dur-2); }
.kcard.is-new { animation: rise-in var(--dur-3) var(--ease-out) both; }
.kcard.is-moved { animation: card-landed 900ms var(--ease-out) 1; }
@keyframes card-landed { 0% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0.5); border-color: var(--blue-600); } 100% { box-shadow: 0 0 0 10px rgba(21, 97, 247, 0); } }
.kcard:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.kcard--parked { background: #FFFDF8; border-color: var(--amber-200); }
.kcard--parked:hover { border-color: var(--amber-400); }
@media (hover: hover) and (pointer: fine) { .kcard[data-col] { cursor: grab; } .kcard[data-col] :is(button, a, input, textarea, select, label) { cursor: pointer; } }
.kcard__top { display: flex; align-items: center; gap: 6px; min-height: 40px; margin-left: -8px; }
.kcard__age { flex: 1; min-width: 0; font-size: 0.8125rem; font-weight: 600; color: var(--navy-800); }
.kcard__top .kcard__menu { margin-left: auto; }
.kcard__text, .kcard__meta, .kcard__draft, .kcard__link { margin-right: 8px; }
.kcard__grip { flex: none; display: grid; place-items: center; width: 26px; height: 36px; border-radius: 8px; color: var(--navy-600); cursor: grab; touch-action: none; }
.kcard__grip:hover { background: var(--surface-3); color: var(--navy-900); }
.kcard__grip .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.kcard__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.kcard__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 2px; }
.kcard__actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 8px 10px; }
.kcard__text { margin: 0; font-weight: 650; line-height: 1.4; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.kcard__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.8125rem; font-weight: 600; color: var(--navy-800); }
.kcard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.kcard__meta .icon { width: 14px; height: 14px; color: var(--blue-700); }
.kcard__flag .icon, .kcard__due .icon { color: var(--amber-700); }
.kcard__due { color: var(--amber-800); font-weight: 750; }
.kcard__rank { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--blue-600); color: #FFFFFF; font-size: 0.75rem; font-weight: 800; }
.kcard__draft { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: 0.875rem; line-height: 1.45; word-break: break-word; }
.kcard__draft p { margin: 0; }
.kcard__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 6px; margin-left: -6px; border: 0; background: none; border-radius: 8px; color: var(--blue-700); font-size: 0.875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.kcard__draft .kcard__link { margin: -4px 0 -6px -6px; }
.kcard__link:hover { color: var(--blue-800); background: rgba(21, 97, 247, 0.08); }
.kcard__link .icon { width: 16px; height: 16px; }
.kcard__menu .more__button { width: 40px; height: 40px; }
.kcard__menu .menu__panel { min-width: 240px; }
.kcard__panel { grid-column: 1 / -1; }
.kcard__panel:empty { display: none; }
.kcard__form { display: grid; gap: 10px; margin: 4px 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.kcard__form-title { margin: 0; font-weight: 700; font-size: var(--fs-sm); }
.kcard__form .field { gap: 6px; }
.kcard__form .textarea { min-height: 84px; padding: 12px 14px; font-size: var(--fs-base); border-radius: 12px; }
.kcard__form .control--voice .textarea { padding-right: 56px; }
.kcard__form .voice-btn { width: 40px; height: 40px; }
.kcard__form .coach { padding: var(--s-3) var(--s-4); }
.kcard.is-editing { user-select: text; -webkit-user-select: text; cursor: auto; border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.kcard--focus, .kcard--done { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; cursor: auto; }
.kcard--focus { border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-sm); }
.kcard--focus .kcard__body, .kcard--done .kcard__body { gap: 8px; }
.kcard--focus .kcard__draft, .kcard--done .kcard__meta { margin-right: 0; }
.kcard__label { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.kcard__title { margin: 0; font-size: var(--fs-md); font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; word-break: break-word; }
.kcard--done .kcard__title { font-size: var(--fs-base); }
.kcard--done .kcard__meta .icon { color: var(--green-600); }
.kcard__steps { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 650; }
.kcard__steps .bar { height: 6px; }
.kcard .button-row { gap: 8px; }
.kcard--ghost { position: fixed; left: 0; top: 0; z-index: 90; margin: 0; pointer-events: none; border-color: var(--blue-400); box-shadow: var(--shadow-lg); opacity: 0.96; animation: none; will-change: transform; list-style: none; }
.kcard.is-drag-source { opacity: 0.4; border-style: dashed; box-shadow: none; }
.kcard-placeholder { list-style: none; min-height: 56px; border-radius: 14px; border: 2px dashed var(--blue-400); background: var(--blue-50); animation: fade-in var(--dur-2) var(--ease-out); }
.kcol__more { list-style: none; }
html.is-dragging, html.is-dragging * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }

.module-locked { align-items: center; }
@media (min-width: 960px) { .module-locked { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-10); } }
.module-locked__copy { display: grid; gap: var(--s-4); }
.module-locked__copy h2 { margin: 0; font-size: var(--fs-xl); letter-spacing: -0.02em; }
.module-locked__copy p, .module-locked__copy .eyebrow { margin: 0; }
.module-locked__copy .eyebrow .icon { width: 18px; height: 18px; }
.module-locked__how { padding: 12px 14px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-sm); }
.module-locked__credit { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100); font-size: var(--fs-sm); font-weight: 600; }
.module-locked__credit .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }
.module-locked__preview { min-width: 0; }
.board-preview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.board-preview__col { display: grid; gap: 6px; align-content: start; min-height: 170px; padding: 8px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.board-preview__col p { margin: 0 0 2px; overflow: hidden; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-800); white-space: nowrap; text-overflow: ellipsis; }
.board-preview__col span { display: block; height: 34px; border-radius: 8px; background: var(--amber-50); border: 1px solid var(--amber-200); }
.board-preview__col span.is-short { height: 24px; }
.board-preview__col span.is-tall { height: 64px; }
.board-preview__col--next span { background: var(--blue-50); border-color: var(--blue-200); }
.board-preview__col--focus { border-color: var(--navy-900); }
.board-preview__col--focus span { background: var(--blue-600); border-color: var(--blue-600); }
.board-preview__col--done span { background: var(--green-50); border-color: var(--green-100); }

/* Focus Add-ons on the account page and Pricing */
.addon-list { display: grid; gap: var(--s-3); }
.addon-row { display: grid; gap: 10px; padding: var(--s-4) var(--s-5); border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.addon-row__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.addon-row__name { margin: 0; font-size: var(--fs-md); }
.addon-row p { margin: 0; font-size: var(--fs-sm); }
.addon-row .button-row { margin-top: 4px; }
.plans--addons { margin-top: var(--s-2); }
@media (min-width: 900px) { .plans--addons { grid-template-columns: repeat(2, 1fr); } }
/* Two plans (Member Workspace and Focus Pro) sit side by side at a readable width. */
@media (min-width: 900px) { .plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; } }
.plan__per { margin: -8px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.plan__access { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.plan__access p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .kcard, .kcard.is-new, .kcard.is-moved, .step-row, .step-row.is-new, .kcard-placeholder { animation: none; } }
.plan__access p { display: flex; gap: 8px; align-items: flex-start; }
.plan__access .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }
.plan .card__icon { margin-bottom: -4px; }
.notice .btn .icon, .locked .btn .icon { color: currentColor; }

/* ---------------------------------------------------------------- Focus Add-ons on the focus screen (zero footprint until owned) */
.goal-line { justify-self: start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; margin-bottom: calc(-1 * var(--s-4)); padding: 4px 14px 4px 10px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); color: var(--navy-800); font-size: var(--fs-sm); font-weight: 650; text-decoration: none; box-shadow: var(--shadow-xs); transition: border-color var(--dur-2) var(--ease-standard), background-color var(--dur-2) var(--ease-standard); }
.goal-line:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--navy-900); }
.goal-line:focus-visible { box-shadow: var(--ring); border-radius: 999px; }
.goal-line .icon { width: 18px; height: 18px; color: var(--blue-700); }
.goal-line__label { color: var(--blue-800); font-weight: 750; }
.goal-line__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.current-step { display: grid; gap: 4px; padding: var(--s-3) var(--s-4) var(--s-2); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--green-600); box-shadow: var(--shadow-xs); animation: rise-in var(--dur-3) var(--ease-out); }
.current-step__row { display: flex; align-items: center; gap: 14px; }
.current-step__check { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 2px solid var(--green-600); background: #FFFFFF; color: transparent; transition: background-color var(--dur-2) var(--ease-standard), color var(--dur-2) var(--ease-standard), transform var(--dur-1) var(--ease-standard); }
.current-step__check .icon { width: 22px; height: 22px; stroke-width: 2.6; }
.current-step__check:hover { background: var(--green-50); color: var(--green-600); }
.current-step__check:active { transform: scale(0.94); }
.current-step__check:focus-visible { box-shadow: var(--ring); border-radius: 50%; }
.current-step.is-checking .current-step__check { background: var(--green-600); color: #FFFFFF; }
.current-step.is-checking .current-step__text { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--navy-700); }
.current-step__body { display: grid; gap: 2px; min-width: 0; }
.current-step__label { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green-700); }
.current-step__count { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--navy-800); }
.current-step__text { margin: 0; font-size: var(--fs-md); font-weight: 650; line-height: 1.4; color: var(--navy-900); word-break: break-word; }
.current-step__all { justify-self: start; margin-left: 52px; }
@media (max-width: 479px) { .current-step__all { margin-left: 0; } }
#focus-steps-done .notice { margin: 0; }
.step-row.is-current { background: var(--green-50); }
.step-row.is-current .step-row__text { color: var(--navy-950); }
.steps-screen .steps-panel { padding: var(--s-5); }

/* Choose a goal, and the goal picker on the Choose priority screen */
.goal-form { display: grid; gap: var(--s-6); }
.choice-list { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.choice { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1.5px solid var(--line); cursor: pointer; transition: border-color var(--dur-2) var(--ease-standard), background-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard); }
.choice:hover { border-color: var(--blue-300); }
.choice input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-600); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-100); }
.choice:has(input:focus-visible) { box-shadow: var(--ring); }
.choice__body { display: grid; gap: 2px; min-width: 0; }
.choice__body strong { font-size: var(--fs-base); line-height: 1.35; word-break: break-word; }
.choice__body small { font-size: var(--fs-sm); font-weight: 550; color: var(--text-2); }
.goal-pick .select { min-height: 52px; font-size: var(--fs-base); }
.goal-pick__new { margin-top: 4px; }
.field__optional { margin-left: 6px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0; color: var(--navy-700); }

/* Accountability: what the person committed to */
.commit-card { display: grid; gap: 6px; padding: var(--s-5) var(--s-6); border-radius: 20px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-sm); }
.commit-card__label { margin: 0; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-700); }
.commit-card__title { margin: 0 0 var(--s-3); font-size: var(--fs-xl); font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; word-break: break-word; }
.commit-card__done { margin: 0; font-size: var(--fs-md); line-height: 1.5; word-break: break-word; }

/* ---------------------------------------------------------------- Sharing: only at completion and review moments */
.btn--share { --btn-bg: #FFFFFF; --btn-fg: var(--blue-800); --btn-border: var(--blue-200); }
.btn--share:hover { background: var(--blue-50); border-color: var(--blue-400); color: var(--blue-800); }
.btn--share .icon { color: var(--blue-700); }
.share-slot, .prompt-slot { width: 100%; max-width: 560px; }
.share-slot:empty, .prompt-slot:empty { display: none; }
.share-panel { display: grid; gap: var(--s-4); padding: clamp(18px, 3vw, 26px); border-radius: 22px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-md); text-align: left; animation: rise-in var(--dur-3) var(--ease-out); }
.share-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-panel__title { margin: 0; font-size: var(--fs-lg); letter-spacing: -0.015em; }
.share-panel__title:focus { box-shadow: none; }
.share-panel__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 0; background: none; color: var(--navy-800); }
.share-panel__close:hover { background: var(--surface-3); }
.share-panel__intro { margin: 0; font-size: var(--fs-sm); color: var(--text-2); }
.share-panel__privacy { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.share-panel__privacy legend { margin-bottom: 8px; padding: 0; }
.share-choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #FFFFFF; cursor: pointer; transition: border-color var(--dur-2) var(--ease-standard), background-color var(--dur-2) var(--ease-standard); }
.share-choice:hover { border-color: var(--blue-300); }
.share-choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-600); cursor: pointer; }
.share-choice:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }
.share-choice:has(input:focus-visible) { box-shadow: var(--ring); }
.share-choice > span { display: grid; gap: 2px; min-width: 0; }
.share-choice small { font-size: var(--fs-sm); font-weight: 550; color: var(--text-2); word-break: break-word; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--fs-sm); font-weight: 650; cursor: pointer; }
.check-row input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue-600); cursor: pointer; }
.share-panel__box { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.share-panel__label { margin: 0; font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); }
.share-panel__preview { margin: 0; font-weight: 600; line-height: 1.5; word-break: break-word; }
.share-panel__link { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-sm); font-weight: 650; color: var(--blue-800); }
.share-panel__link .icon { width: 16px; height: 16px; }
.share-panel__link .spinner { width: 16px; height: 16px; border-width: 2px; color: var(--blue-700); }
.share-panel__url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-panel__channels { display: flex; flex-wrap: wrap; gap: 8px; }
.share-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #FFFFFF; color: var(--navy-900); font-size: var(--fs-sm); font-weight: 650; text-decoration: none; transition: border-color var(--dur-2) var(--ease-standard), background-color var(--dur-2) var(--ease-standard); }
.share-chip:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--navy-900); }
.share-chip:focus-visible { box-shadow: var(--ring); border-radius: 12px; }
.share-chip .icon { width: 18px; height: 18px; color: var(--blue-700); }
.share-chip[aria-disabled='true'], .share-chip:disabled { background: var(--surface-2); border-color: var(--line); color: var(--navy-700); cursor: progress; }
.share-chip .spinner { display: none; width: 16px; height: 16px; border-width: 2px; }
.share-chip.is-loading .spinner { display: inline-block; }
.share-chip.is-loading .icon { display: none; }
.share-panel__status { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--amber-50); border: 1px solid var(--amber-200); font-size: var(--fs-sm); font-weight: 600; }
.share-panel__status:empty { display: none; }
.share-panel__fine { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.share-panel__fine .quiet-link { min-height: 36px; font-size: var(--fs-xs); color: var(--red-700); }
.share-panel__fine .quiet-link .icon { width: 16px; height: 16px; color: var(--red-700); }
@media (max-width: 479px) { .share-chip { flex: 1 1 calc(50% - 8px); } }

/* One gentle prompt after a finish: a daily reminder, or an invite */
.prompt-card { display: grid; gap: var(--s-3); padding: clamp(18px, 3vw, 24px); border-radius: 20px; background: linear-gradient(165deg, #FFFFFF 0%, var(--blue-50) 100%); border: 1.5px solid var(--blue-200); text-align: left; animation: rise-in var(--dur-3) var(--ease-out); }
.prompt-card p { margin: 0; }
.prompt-card__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.prompt-card__eyebrow .icon { width: 16px; height: 16px; }
.prompt-card__title { margin: 0; font-size: var(--fs-lg); letter-spacing: -0.015em; }
.prompt-card__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 479px) { .prompt-card__choices { grid-template-columns: 1fr; } }
.prompt-card__choice { flex-direction: column; gap: 2px; min-height: 64px; padding: 8px 12px; white-space: normal; }
.prompt-card__choice small { font-size: 0.8125rem; font-weight: 600; color: var(--navy-700); }
.prompt-card__reward { padding: 10px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--blue-200); font-size: var(--fs-sm); font-weight: 650; }
.prompt-card__done { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.prompt-card__done .icon { flex: none; margin-top: 3px; color: var(--green-600); }
.completed__goal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: calc(-1 * var(--s-3)) 0 0; padding: 6px 14px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-sm); font-weight: 600; }
.completed__goal .icon { width: 18px; height: 18px; color: var(--blue-700); }

/* ---------------------------------------------------------------- Focus Board: Parked, Ready, Done */
@media (min-width: 760px) { .board--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kcol--ready { border-top-color: var(--blue-600); }
.board-focus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 var(--s-4); padding: 12px 16px; border-radius: 16px; background: var(--navy-900); color: #FFFFFF; text-decoration: none; box-shadow: var(--shadow-sm); transition: background-color var(--dur-2) var(--ease-standard); }
.board-focus:hover { background: var(--navy-800); color: #FFFFFF; }
.board-focus:focus-visible { box-shadow: var(--ring); border-radius: 16px; }
.board-focus__label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #BFD6FF; }
.board-focus__label .icon { width: 18px; height: 18px; }
.board-focus__title { flex: 1 1 240px; min-width: 0; font-weight: 700; word-break: break-word; }
.board-focus__go { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 700; color: #FFFFFF; }
.board-focus__go .icon { width: 18px; height: 18px; }
.board-preview--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------------------------------------------------------------- Goals page (Goal Context module) */
.goal-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 559px) { .goal-add { grid-template-columns: 1fr; } }
.goal-add .input { min-height: 52px; font-size: var(--fs-base); }
.goal-add .btn { min-height: 52px; }
.section-title { margin: var(--s-8) 0 var(--s-3); font-size: var(--fs-lg); }
.goal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.goal-card { display: grid; gap: 10px; padding: var(--s-4) var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); animation: rise-in var(--dur-3) var(--ease-out) both; }
.goal-card.is-current { border-color: var(--blue-300); box-shadow: 0 0 0 3px var(--blue-50), var(--shadow-xs); }
.goal-card--achieved, .goal-card--archived { background: var(--surface-2); }
.goal-card p { margin: 0; }
.goal-card__top { display: flex; align-items: flex-start; gap: 10px; }
.goal-card__title { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-md); font-weight: 720; line-height: 1.35; word-break: break-word; }
.goal-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.goal-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.goal-card__meta .icon { width: 16px; height: 16px; color: var(--green-600); }
.goal-card__now { padding: 10px 12px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-sm); font-weight: 600; word-break: break-word; }
.goal-card__history { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.goal-card__history ol { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 6px; font-size: var(--fs-sm); }
.goal-card__history li { word-break: break-word; }
.goal-card__history li span { font-weight: 600; color: var(--navy-700); }
.goal-card .menu__panel { min-width: 220px; }
.goal-card__edit { display: grid; gap: 10px; }
.goal-card .button-row { gap: 8px; }

/* ---------------------------------------------------------------- Time Blocks page (Time Blocking module) */
.blocks-plan { display: grid; gap: var(--s-5); }
.blocks-plan__row { display: grid; gap: var(--s-4); }
@media (min-width: 720px) { .blocks-plan__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blocks-plan .input, .blocks-plan .select { min-height: 52px; font-size: var(--fs-base); }
.blocks-plan .segmented { width: fit-content; max-width: 100%; }
.day-group { display: grid; gap: var(--s-2); }
.day-group__title { margin: var(--s-4) 0 0; font-size: var(--fs-sm); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-800); }
.block-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.block-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 12px 12px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--blue-300); box-shadow: var(--shadow-xs); animation: rise-in var(--dur-3) var(--ease-out) both; }
.block-row p { margin: 0; }
.block-row.is-now { border-left-color: var(--blue-600); background: var(--blue-50); }
.block-row.is-done { border-left-color: var(--green-600); }
.block-row.is-skipped { border-left-color: var(--line-strong); background: var(--surface-2); }
.block-row.is-skipped .block-row__title { text-decoration: line-through; text-decoration-color: var(--navy-600); }
.block-row__time { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.block-row__time strong { font-size: var(--fs-base); }
.block-row__time span { font-size: 0.8125rem; font-weight: 650; color: var(--navy-800); }
.block-row__title { font-weight: 700; line-height: 1.35; word-break: break-word; }
.block-row__meta { margin-top: 2px !important; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.8125rem; font-weight: 600; color: var(--navy-800); }
.block-row__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.block-row .menu__panel { min-width: 200px; }
.block-row__edit { grid-column: 1 / -1; display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 559px) { .block-row { grid-template-columns: 76px minmax(0, 1fr); } .block-row__actions { grid-column: 1 / -1; } }
.block-now { display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-6); border-radius: 20px; background: var(--navy-900); color: #FFFFFF; box-shadow: var(--shadow-md); animation: rise-in var(--dur-3) var(--ease-out); }
.block-now h2, .block-now strong { margin: 0; color: #FFFFFF; }
.block-now p { margin: 0; color: #E4EBFA; }
.block-now .eyebrow { color: #BFD6FF; }
.block-now .btn--primary { --btn-bg: #FFFFFF; --btn-fg: var(--navy-900); --btn-border: #FFFFFF; box-shadow: none; }
.block-now .btn--primary:hover { background: var(--blue-50); color: var(--navy-900); border-color: var(--blue-50); }
.block-now .btn--ghost { --btn-fg: #FFFFFF; }
.block-now .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.copy-row .input { min-height: 48px; font-size: var(--fs-sm); }
@media (max-width: 479px) { .copy-row { grid-template-columns: 1fr; } }
.calendar-apps { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- Account: modules, credit, emails, invites, links */
.credit-card { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: 18px; background: var(--green-50); border: 1.5px solid var(--green-100); scroll-margin-top: 96px; }
.credit-card p { margin: 0; }
.credit-card__title { margin: 0; font-size: var(--fs-md); }
.credit-card__rows { display: grid; gap: 6px; margin: 0; padding: var(--s-3) var(--s-4); border-radius: 14px; background: #FFFFFF; border: 1px solid var(--green-100); }
.credit-card__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 600; }
.credit-card__rows dt, .credit-card__rows dd { margin: 0; }
.credit-card__rows .is-credit dd { color: var(--green-700); font-weight: 750; }
.credit-card__rows .is-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-base); font-weight: 780; }
.toggle-list { display: grid; gap: 0; }
.toggle-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle-row:first-child { border-top: 0; padding-top: 0; }
.toggle-row p { margin: 0 0 0 60px; font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 479px) { .toggle-row p { margin-left: 0; } }
.weekday-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.weekday-picks .chip { min-width: 56px; justify-content: center; }
.invite-progress { display: grid; gap: 8px; font-size: var(--fs-sm); font-weight: 650; }
.invite-progress p { margin: 0; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.link-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.link-row p { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.link-row small { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--navy-700); }
.plans--modules { margin-top: var(--s-2); }
@media (min-width: 700px) { .plans--modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .plans--modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bundle-callout { display: grid; gap: var(--s-5); align-items: center; margin-bottom: var(--s-8); padding: clamp(20px, 4vw, 32px); border-radius: 24px; background: #FFFFFF; border: 1.5px solid var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50), var(--shadow-md); }
@media (min-width: 900px) { .bundle-callout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.bundle-callout h3 { margin: 0; font-size: var(--fs-lg); }
.bundle-callout p { margin: 0; }
.bundle-math { display: grid; gap: 6px; margin: 0; padding: var(--s-4); border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.bundle-math div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 600; }
.bundle-math dt, .bundle-math dd { margin: 0; }
.bundle-math .is-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-base); font-weight: 780; }
.bundle-math .is-save dd { color: var(--green-700); font-weight: 780; }

/* ---------------------------------------------------------------- Public share and invite pages */
.share-page { padding-block: clamp(28px, 6vw, 72px) var(--section-y); background: radial-gradient(900px 480px at 100% 0%, var(--blue-100) 0%, rgba(220, 232, 255, 0) 70%), radial-gradient(700px 420px at 0% 100%, #FFF1D9 0%, rgba(255, 241, 217, 0) 70%), #FFFFFF; }
.share-page .container { display: grid; gap: var(--s-6); }
.share-card { position: relative; display: grid; gap: var(--s-4); padding: clamp(24px, 5vw, 48px); border-radius: 28px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-lg); }
.share-card h1 { margin: 0; font-size: var(--fs-3xl); letter-spacing: -0.034em; line-height: 1.06; }
.share-card .eyebrow, .share-card p { margin: 0; }
.share-card__badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--blue-600); color: #FFFFFF; box-shadow: 0 16px 40px -12px rgba(21, 97, 247, 0.6); animation: pop-in var(--dur-4) var(--ease-out) both; }
.share-card__badge .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.share-card__priority { display: grid; gap: 6px; padding: var(--s-5); border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.share-card__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-700); }
.share-card__title { font-size: var(--fs-xl); font-weight: 760; letter-spacing: -0.02em; line-height: 1.25; word-break: break-word; }
.share-card__priority .share-card__title + .share-card__label { margin-top: var(--s-3); }
.share-card__done { font-size: var(--fs-md); line-height: 1.5; word-break: break-word; }
.share-card__meta { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 650; color: var(--navy-800); }
.share-card__meta .icon { width: 18px; height: 18px; color: var(--green-600); }
.share-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-3); margin: 0; }
.share-stats div { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.share-stats dt { order: 2; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.share-stats dd { order: 1; margin: 0; font-size: var(--fs-xl); font-weight: 780; letter-spacing: -0.02em; color: var(--navy-950); }
.share-status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-sm); font-weight: 700; color: var(--blue-800); }
.share-status--done { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
.share-status--done .icon { width: 18px; height: 18px; color: var(--green-600); }
.share-status--closed { background: var(--surface-3); border-color: var(--line); color: var(--navy-800); }
.share-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); animation: live-dot 1.8s var(--ease-out) infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0.45); } 70% { box-shadow: 0 0 0 10px rgba(21, 97, 247, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 97, 247, 0); } }
.share-cta { display: grid; gap: var(--s-3); padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: var(--navy-900); color: #FFFFFF; }
.share-cta h2 { margin: 0; font-size: var(--fs-xl); color: #FFFFFF; }
.share-cta p { margin: 0; color: #E4EBFA; }
.share-cta .fine-print { color: #BFD6FF; }
.share-cta .btn--primary { --btn-bg: #FFFFFF; --btn-fg: var(--navy-900); --btn-border: #FFFFFF; box-shadow: none; }
.share-cta .btn--primary:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--navy-900); }
.share-cta .btn--ghost { --btn-fg: #FFFFFF; }
.share-cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.invite-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: inv; }
.invite-steps li { counter-increment: inv; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.invite-steps li::before { content: counter(inv); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); border: 1px solid var(--blue-200); color: var(--blue-800); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .share-status__dot, .share-card__badge, .goal-card, .block-row, .current-step, .share-panel, .prompt-card { animation: none; } }

/* Decorative previews on locked Focus Add-on pages (aria-hidden) */
.goal-preview, .blocks-preview { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.goal-preview > div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); }
.goal-preview p { margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); }
.goal-preview span { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.goal-preview__goal span { background: var(--blue-600); }
.goal-preview__priority { margin-left: 18px; border-color: var(--blue-200) !important; }
.goal-preview__priority span { background: var(--navy-900); }
.goal-preview__step { margin-left: 36px; }
.goal-preview__step span { background: var(--green-600); }
.goal-preview .goal-preview__arrow { width: 2px; height: 12px; margin-left: 24px; padding: 0; border: 0; border-radius: 2px; background: var(--line-strong); }
.blocks-preview__row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; }
.blocks-preview__row b { font-size: 0.8125rem; font-weight: 800; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.blocks-preview__row span { display: block; height: 40px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--blue-300); }
.blocks-preview__row span.is-short { height: 28px; }
.blocks-preview__row.is-now span { border-left-color: var(--blue-600); background: var(--blue-50); }
.empty .icon.empty__art { color: var(--blue-600); stroke-width: 1.5; }

/* ---------------------------------------------------------------- Research, evidence, and citations */
.cite { font-style: normal; font-size: 0.875em; font-weight: 600; color: var(--navy-700); white-space: normal; }
.cite a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.cite a:hover { color: var(--blue-800); }
.research-meta { display: flex; gap: 8px; align-items: flex-start; margin: var(--s-4) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.research-meta .icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); }
.research-prose > section { display: grid; gap: var(--s-4); padding-block: var(--s-6); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.research-prose > section:first-of-type { border-top: 0; padding-top: 0; }
.research-prose > section h2 { margin: 0; }
.research-prose > section p { margin: 0; }
.research-note { padding: 14px 16px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--amber-400); font-size: var(--fs-sm); line-height: 1.6; }
.evidence-table td:nth-child(2) { min-width: 260px; }
.evidence-table th[scope='row'] a { color: var(--navy-900); text-decoration-color: var(--blue-300); }
.strength { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 750; white-space: nowrap; border: 1px solid var(--line); }
.strength--strong { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
.strength--moderate { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-800); }
.strength--untested { background: var(--amber-50); border-color: var(--amber-200); color: var(--amber-800); }
.claims-grid { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .claims-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.claims { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.claims h3 { margin: 0; }
.claims ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.claims li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; font-size: var(--fs-sm); }
.claims--yes { border-top: 4px solid var(--green-600); }
.claims--yes .icon { color: var(--green-600); margin-top: 2px; }
.claims--no { border-top: 4px solid var(--red-600); }
.claims--no .icon { color: var(--red-700); margin-top: 2px; }
.references { margin: 0; padding-left: 1.4em; display: grid; gap: var(--s-3); font-size: var(--fs-sm); line-height: 1.6; }
.references li { padding-left: 4px; scroll-margin-top: 96px; word-break: break-word; }
.references li:target { background: var(--blue-50); border-radius: 8px; }
.references__type { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); font-size: 0.75rem; font-weight: 700; color: var(--navy-800); }
.evidence { display: grid; gap: var(--s-3); margin: var(--s-6) 0; padding: clamp(18px, 3vw, 26px); border-radius: 20px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-xs); }
.evidence p, .evidence h3, .evidence ul { margin: 0; }
.evidence__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.evidence__eyebrow .icon { width: 18px; height: 18px; }
.evidence__title { font-size: var(--fs-md); }
.evidence__list { padding: 0 0 0 1.2em; display: grid; gap: 8px; font-size: var(--fs-sm); line-height: 1.6; }
.evidence__applies { padding: 12px 14px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-sm); }
.evidence__more { font-size: var(--fs-sm); font-weight: 650; }
.research-cards { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .research-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .research-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.research-card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.research-card h3, .research-card p { margin: 0; }
.research-card h3 { font-size: var(--fs-md); }
.research-card p { font-size: var(--fs-sm); color: var(--text-2); }
.research-card__so { padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--navy-900) !important; font-weight: 650; }
/* The evidence table becomes labeled cards on phones, so nothing needs sideways scrolling. */
@media (max-width: 719px) {
  .evidence-table { min-width: 0; }
  .evidence-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .evidence-table, .evidence-table tbody, .evidence-table tr, .evidence-table th, .evidence-table td { display: block; width: 100%; }
  .evidence-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .evidence-table tr:last-child { border-bottom: 0; }
  .evidence-table th[scope='row'] { width: 100%; padding: 0 0 8px; border: 0; font-size: var(--fs-md); }
  .evidence-table td { padding: 8px 0 0; border: 0; }
  .evidence-table td:nth-child(2) { min-width: 0; }
  .evidence-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); }
}
.timeline__actions { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 -8px -6px; }
.timeline__share:empty { display: none; }
.week-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--blue-200); }
.week-share p { margin: 0; font-weight: 600; }

/* ---------------------------------------------------------------- comparisons, best lists, fit finder */
.source-link { display: inline-flex; align-items: center; min-height: 24px; margin-left: 4px; padding: 0 8px; border-radius: var(--r-full); background: var(--blue-50); border: 1px solid var(--blue-200); font-size: 0.75rem; font-weight: 750; color: var(--blue-800); text-decoration: none; white-space: nowrap; vertical-align: 1px; }
.source-link:hover { background: var(--blue-100); color: var(--blue-800); }
.muted-cell { color: var(--text-2); font-style: italic; }
.best-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.best-item, .fit-result { display: grid; gap: var(--s-3); padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.best-item p, .fit-result p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.best-item h3, .fit-result h3 { margin: 0; font-size: var(--fs-lg); }
.best-item__head, .fit-result__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.best-item__n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--navy-900); color: #FFFFFF; font-weight: 800; }
.fit-form { max-width: 820px; margin-inline: auto; gap: var(--s-6); box-shadow: var(--shadow-sm); }
.fit-form h2 { margin: 0; font-size: var(--fs-xl); }
.fit-question { display: grid; gap: var(--s-3); margin: 0; padding: 0; border: 0; min-width: 0; }
.fit-question legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--fs-md); font-weight: 750; color: var(--navy-900); line-height: 1.4; scroll-margin-top: 110px; }
.fit-options { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .fit-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fit-options--inline { grid-template-columns: repeat(2, minmax(0, 160px)); }
.fit-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border-radius: 14px; background: #FFFFFF; border: 1.5px solid var(--line-strong); font-weight: 600; line-height: 1.4; cursor: pointer; transition: border-color var(--dur-2) var(--ease-standard), background-color var(--dur-2) var(--ease-standard); }
.fit-option:hover { border-color: var(--blue-300); background: var(--blue-50); }
.fit-option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--blue-600); }
.fit-option:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-600) inset; }
.fit-option input:focus-visible { box-shadow: none; }
.fit-option:has(input:focus-visible) { box-shadow: var(--ring); }
.fit-option:has(input:checked:focus-visible) { box-shadow: 0 0 0 1px var(--blue-600) inset, var(--ring); }
.fit-option:has(input[aria-invalid='true']) { border-color: var(--red-600); }
.fit-error-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.fit-form .field__error { margin: 0; color: var(--red-700); font-size: var(--fs-sm); }
.fit-error-list a { color: var(--red-700); font-weight: 650; }
.fit-results { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.fit-result--strong { border: 1.5px solid var(--green-100); border-top: 4px solid var(--green-600); }
.fit-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fit-reasons li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.fit-reasons .icon { width: 20px; height: 20px; margin-top: 1px; }
.fit-reasons__yes .icon { color: var(--green-600); }
.fit-reasons__no { color: var(--red-700); }
.fit-reasons__no .icon { color: var(--red-700); }
#fit-results { scroll-margin-top: 90px; }
#fit-results:focus, #fit-results:focus-visible { outline: none; box-shadow: none; }

/* ---------------------------------------------------------------- comparison pages: byline, verdict, workflow, update log */
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: var(--s-3) 0 0; font-size: var(--fs-sm); color: var(--navy-800); line-height: 1.55; }
.claims--them { border-top: 4px solid var(--blue-600); }
.claims--them .icon { color: var(--blue-700); margin-top: 2px; }
.claims__h2 { margin: 0; font-size: var(--fs-lg); }
.claims ol.workflow-steps { list-style: decimal; padding-left: 1.3em; display: grid; gap: 10px; }
.claims ol.workflow-steps li { display: list-item; font-weight: 500; font-size: var(--fs-sm); line-height: 1.6; }
.verdict { margin: var(--s-6) 0 0; padding: 16px 18px; border-radius: 16px; background: var(--blue-50); border: 1px solid var(--blue-200); font-size: var(--fs-base); line-height: 1.6; }
.update-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.update-log li { display: grid; gap: 4px 16px; padding: 14px 16px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.6; }
@media (min-width: 720px) { .update-log li { grid-template-columns: 160px 1fr; } }
.update-log time { font-weight: 750; color: var(--navy-900); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .route-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.route-list li { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); }
.route-list p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.route-list a { font-weight: 700; }
.cta-band__link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- alternatives pages: the top pick, reasons, ranked list
   AI Focus Tool is the labeled top pick (alternatives.php). Featured items use the brand blue ring of .plan--featured,
   so "our pick" looks the same here as the recommended plan on pricing. */
.badge--top { background: var(--navy-900); color: #FFFFFF; border-color: var(--navy-900); letter-spacing: 0.03em; }
.badge--top .icon { width: 14px; height: 14px; fill: var(--amber-400); stroke: var(--amber-400); stroke-width: 1.5; }
.page-hero--split .split__media--pick { max-width: 520px; justify-self: stretch; padding-top: 14px; }
@media (min-width: 900px) { .page-hero--split .split__media--pick { justify-self: end; } }
.top-pick { position: relative; display: grid; gap: var(--s-4); align-content: start; padding: 30px clamp(20px, 3vw, 28px) clamp(20px, 3vw, 26px); border-radius: 24px; background: #FFFFFF; border: 1.5px solid var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50), var(--shadow-lg); }
.top-pick > * { margin: 0; }
.top-pick__flag { position: absolute; top: -14px; left: 22px; height: 28px; padding: 0 12px; }
.top-pick__head { display: flex; align-items: center; gap: 12px; }
.top-pick__mark { flex: none; width: 48px; height: 48px; }
.top-pick__name { margin: 0; font-size: var(--fs-lg); letter-spacing: -0.02em; line-height: 1.2; }
.top-pick__line { margin: 2px 0 0; font-size: var(--fs-sm); font-weight: 700; color: var(--blue-700); }
.top-pick__for { font-size: var(--fs-sm); line-height: 1.55; color: var(--navy-800); }
.top-pick .takeaways { gap: 10px; }
.top-pick .takeaways li { grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; }
.top-pick .takeaways .icon { width: 18px; height: 18px; color: var(--green-600); }
.top-pick__facts { display: grid; gap: 8px; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.top-pick__facts div { display: grid; grid-template-columns: minmax(84px, 118px) minmax(0, 1fr); gap: 10px; }
.top-pick__facts dt { font-weight: 800; color: var(--navy-900); }
.top-pick__facts dd { margin: 0; color: var(--navy-800); }
.top-pick__links { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: var(--fs-sm); font-weight: 700; }
.top-pick__links a { display: inline-flex; align-items: center; min-height: 44px; }
.reason-table th[scope='row'] { width: 30%; }
.reason-table tr.is-us > th, .reason-table tr.is-us > td { background: var(--blue-50); }
.reason-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
a.reason-pick { min-height: 32px; }
.reason-also { display: block; margin-top: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); }
/* Rows: the step number, the title, the body (stretches), the evidence (lines up across cards). */
.steps--3 .step { align-content: stretch; grid-template-rows: auto auto 1fr auto; }
@media (min-width: 1080px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step .step__evidence { align-self: end; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-xs); line-height: 1.6; color: var(--navy-800); }
.best-item--top { border: 1.5px solid var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50), var(--shadow-md); }
.best-item--top .best-item__n { background: var(--blue-600); }
.alt-facts { display: grid; gap: 10px; margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.alt-facts div { display: grid; gap: 2px 16px; }
@media (min-width: 760px) { .alt-facts div { grid-template-columns: 150px minmax(0, 1fr); } }
.alt-facts dt { font-weight: 800; color: var(--navy-900); }
.alt-facts dd { margin: 0; color: var(--navy-800); word-break: break-word; }
.best-item .alt-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 650; color: var(--navy-800); }
.alt-links a { display: inline-flex; align-items: center; min-height: 40px; }
.prose .link-cards { padding-left: 0; }
.prose .link-cards li { padding-left: 0; }

/* ---------------------------------------------------------------- brand facts */
.brand-lockup { display: flex; justify-content: center; margin: 0 0 var(--s-6); padding: clamp(20px, 4vw, 36px); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.brand-lockup img { width: min(100%, 420px); height: auto; }
.copy-stack { display: grid; gap: var(--s-4); }
.copy-card { display: grid; gap: var(--s-3); padding: clamp(18px, 3vw, 24px); border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); }
.copy-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.copy-card h3 { margin: 0; font-size: var(--fs-md); }
.copy-card p { margin: 0; line-height: 1.65; }
.term-list { display: grid; gap: 4px 0; margin: 0; }
.term-list dt { margin-top: var(--s-3); font-weight: 800; color: var(--navy-900); }
.term-list dd { margin: 0; color: var(--text-2); line-height: 1.65; }

/* ---------------------------------------------------------------- pricing: decisions and anchors */
.section-subhead { margin: 0 0 var(--s-4); font-size: var(--fs-lg); }
.buy-one { padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: #FFFFFF; border: 1px solid var(--blue-200); }
.anchor-offset { position: absolute; top: -96px; }
.plan { scroll-margin-top: 96px; }
.link-row p { margin: 0; line-height: 1.8; }

/* ---------------------------------------------------------------- link cards (internal next steps) */
.link-cards { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .link-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-cards a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); transition: border-color var(--dur-2) var(--ease-standard), box-shadow var(--dur-2) var(--ease-standard); }
.link-cards a:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.link-cards strong { font-size: var(--fs-base); line-height: 1.4; color: var(--blue-800); }
.link-cards span { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; }

/* ---------------------------------------------------------------- research: rubric, product steps, status */
.rubric { display: grid; gap: var(--s-3); margin: 0 0 var(--s-5); padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.rubric__title { margin: 0; font-weight: 800; color: var(--navy-900); }
.rubric dl { display: grid; gap: 10px; margin: 0; }
.rubric dl > div { display: grid; gap: 4px 14px; align-items: start; }
@media (min-width: 760px) { .rubric dl > div { grid-template-columns: 250px 1fr; } }
.rubric dd { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--text-2); }
.step-list { margin: 0; padding-left: 1.4em; display: grid; gap: 12px; font-size: var(--fs-base); line-height: 1.6; }
.step-list li::marker { font-weight: 800; color: var(--blue-700); }
.evidence-status { margin-bottom: var(--s-5); }
.guide-grid { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Buttons inside article text may carry long labels: let them wrap instead of widening the page. */
.prose .btn { white-space: normal; text-align: center; max-width: 100%; }
.prose > * { min-width: 0; }

/* ---------------------------------------------------------------- product images and split layouts
   Five patterns carry every image on the public pages (markup comes from render_media() in includes/media.php):
   .split        copy beside an image; .split--reverse puts the image on the left from 900px up
   .page-hero--split   the page heading and answer beside one image
   .step--media  an image card heading each step
   .media-duo    two images side by side, each with a caption
   .cta-split    the closing call to action beside an image
   Copy always comes first in the source, so on phones the heading and answer stay at the top and the image follows. */
.media { position: relative; display: grid; gap: var(--s-3); justify-items: center; width: 100%; margin: 0; }
.media::before { content: ''; position: absolute; inset: 6% 2% -6%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 97, 247, 0.16), rgba(21, 97, 247, 0)); pointer-events: none; }
.media--amber::before { background: radial-gradient(closest-side, rgba(248, 184, 78, 0.26), rgba(248, 184, 78, 0)); }
.media__frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-2xl); background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.media--amber .media__frame { border-color: var(--amber-200); }
.media__frame img { width: 100%; height: 100%; object-fit: cover; }
.media--bare::before { display: none; }
.media--bare .media__frame { border: 0; border-radius: 0; box-shadow: none; }
.media__caption { position: relative; z-index: 1; max-width: 46ch; margin: 0; font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; color: var(--navy-800); text-align: center; }

.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__body { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.split__body > * { margin: 0; }
.split__body > :is(h2, h3):not(:first-child) { margin-top: var(--s-4); }
.split__media { justify-self: center; width: 100%; max-width: 440px; min-width: 0; }
.split-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.section-head + .split, .split + .table-wrap, .split + .link-cards, .split + .grid-3, .split + .section-subhead, .split + .claims-grid, .split + .notice { margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--reverse { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--reverse > .split__media { order: -1; }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--top { align-items: start; }
  .split--sticky > .split__media { position: sticky; top: 104px; align-self: start; }
  .split__media { max-width: 560px; }
}
/* Inside long articles the split keeps the article's rhythm: headings and lists space the same as the prose around them. */
.prose .split__body { gap: var(--s-4); }
.prose .split__body > :first-child { margin-top: 0; }
.prose .split__body > ul, .prose .split__body > ol { margin: 0; }
.research-prose .split { align-items: start; }

.page-hero .split__body { gap: var(--s-5); }
.page-hero .split__body > .lead { margin-top: 0; }
.page-hero--split .split__media { max-width: 380px; }
.page-hero--split .button-row { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .page-hero--split .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .page-hero--split .split__media { max-width: 500px; }
}

.steps--media { gap: var(--s-5); }
.step--media { overflow: hidden; padding: 0 0 var(--s-6); gap: var(--s-3); }
.step--media > :not(.step__media) { margin: 0; padding-inline: var(--s-6); }
.step--media > h3 { margin-top: var(--s-2); }
.step--media::before { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 10px; border-radius: var(--r-full); background: #FFFFFF; border: 1px solid var(--blue-200); box-shadow: var(--shadow-xs); }
.step__media .media__frame { background: var(--surface-2); border-bottom: 1px solid var(--line); }

.media-duo { display: grid; gap: var(--s-8); margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .media-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } }
.media-duo .media { max-width: 600px; justify-self: center; }

.cta-split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta-split .split__media { max-width: 340px; }
@media (min-width: 900px) {
  .cta-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .cta-split .cta-band { justify-items: start; text-align: left; }
  .cta-split .split__media { max-width: 380px; }
}
.section--navy .media::before { background: radial-gradient(closest-side, rgba(77, 149, 252, 0.4), rgba(77, 149, 252, 0)); }
.section--navy .media__frame { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); }

/* Locked feature pages (Patterns) show the real screen beside the offer. */
.locked .module-locked__media { justify-self: center; width: 100%; max-width: 480px; }

/* ---------------------------------------------------------------- the intro video (render_video in includes/media.php)
   A still preview and a play button. The YouTube player replaces it only after a press (assets/js/site.js). */
.video { display: grid; gap: var(--s-3); width: 100%; margin: 0; }
.video__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-2xl); background: var(--navy-950); box-shadow: var(--shadow-lg); }
.video__poster, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { object-fit: cover; transition: transform var(--dur-5) var(--ease-out); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s-3); color: #FFFFFF; text-decoration: none; background: linear-gradient(180deg, rgba(6, 17, 49, 0) 40%, rgba(6, 17, 49, 0.55) 100%); border-radius: inherit; }
.video__play:hover { color: #FFFFFF; }
.video__play:focus-visible { box-shadow: inset 0 0 0 4px #FFFFFF, inset 0 0 0 7px var(--focus); border-radius: inherit; }
.video__play-icon { display: grid; place-items: center; width: clamp(64px, 9vw, 88px); height: clamp(64px, 9vw, 88px); border-radius: 50%; background: #FFFFFF; color: var(--blue-600); box-shadow: 0 18px 40px -12px rgba(6, 17, 49, 0.6); transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2); }
.video__play-icon svg { width: 42%; height: 42%; margin-left: 6%; fill: currentColor; }
.video__play:hover .video__play-icon, .video__play:focus-visible .video__play-icon { transform: scale(1.06); background: var(--blue-50); }
.video__frame:hover .video__poster { transform: scale(1.02); }
.video__play-text { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: var(--r-full); background: rgba(6, 17, 49, 0.72); font-size: var(--fs-sm); font-weight: 700; }
.video__time { padding: 2px 8px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.18); font-variant-numeric: tabular-nums; }
.video__caption { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); text-align: center; }
.video__caption a { margin-left: 6px; }
.video-stage { max-width: 920px; margin-inline: auto; }
.section--video .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.split__media--video { max-width: 620px; }
.invite-video { display: grid; gap: var(--s-4); }
.invite-video__title { margin: 0; font-size: var(--fs-lg); text-align: center; }
.hero-aside__video { justify-self: start; margin: -4px 0 0 -8px; }
@media (prefers-reduced-motion: reduce) { .video__poster, .video__play-icon { transition: none; } .video__frame:hover .video__poster { transform: none; } }

/* ---------------------------------------------------------------- the workspace gate (homepage, visitors) */
.gate { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--r-2xl); background: transparent; color: var(--text); overflow: visible; }
.gate::backdrop { background: rgba(6, 17, 49, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.gate[open] { animation: gate-in var(--dur-4) var(--ease-out); }
@keyframes gate-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.gate__panel { position: relative; display: grid; gap: var(--s-4); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(24px, 5vw, 36px); border-radius: var(--r-2xl); background: #FFFFFF; border: 1px solid var(--blue-200); box-shadow: var(--shadow-lg); }
.gate__step { display: grid; gap: var(--s-4); }
.gate__step > * { margin: 0; }
.gate__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--navy-800); }
.gate__close:hover { background: var(--surface-3); }
.gate__close:focus-visible { box-shadow: var(--ring); border-radius: 12px; }
.gate__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy-900); color: #FFFFFF; box-shadow: 0 12px 28px -12px rgba(11, 28, 68, 0.6); }
.gate__badge .icon { width: 24px; height: 24px; }
.gate__badge--sent { background: var(--blue-600); }
.gate__title { margin: 0; padding-right: 40px; font-size: var(--fs-xl); letter-spacing: -0.022em; line-height: 1.2; }
.gate__lead { font-size: var(--fs-base); color: var(--text-2); line-height: 1.6; }
.gate__preview { display: grid; gap: 4px; padding: var(--s-4) var(--s-5); border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--blue-600); }
.gate__preview p { margin: 0; word-break: break-word; }
.gate__preview-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.gate__preview-label + .gate__preview-title, .gate__preview-label + .gate__preview-done { margin-bottom: 6px; }
.gate__preview-title { font-size: var(--fs-md); font-weight: 750; line-height: 1.35; color: var(--navy-950); }
.gate__preview-done { font-size: var(--fs-sm); font-weight: 550; line-height: 1.5; }
.gate form { display: grid; gap: var(--s-4); }
.gate__fine { font-size: var(--fs-xs); font-weight: 600; color: var(--navy-800); line-height: 1.5; }
.gate__notice { margin: 0; }
.gate__status:empty { display: none; }
.gate__status .notice { margin: 0; }
#setup-pending { margin: 0; }
/* "Lock Priority & Enter Workspace" is long: let it wrap on small phones instead of widening the page. */
#setup-start { white-space: normal; text-align: center; line-height: 1.25; }
.coach__upsell { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.coach__upsell .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-700); }
@media (prefers-reduced-motion: reduce) { .gate[open] { animation: none; } }

/* Long articles lose their side padding on phones, so text and images use the full width. */
@media (max-width: 639px) { .prose { padding-inline: 0; } }

/* =============================================================================
   Focus Add-on landing pages (/addon/) and direct checkout (/checkout.php)
   Product previews are HTML, labeled "Example", and hidden from screen readers
   (the wrapper carries a full description). Amber stays the color of ideas.
   ========================================================================== */
.addon-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.addon-eyebrow .icon { width: 18px; height: 18px; }
.addon-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: var(--s-5); font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.addon-price strong { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--navy-950); }
.addon-price__or { padding-left: 10px; border-left: 1.5px solid var(--line-strong); }
.addon-price strong + span + .addon-price__or { margin-left: 2px; }
.addon-actions { margin-top: var(--s-5); }
.addon-actions .btn, .cta-band .button-row .btn { white-space: normal; text-align: center; line-height: 1.25; }
.cta-band .button-row { justify-content: center; }
.addon-note { margin-top: var(--s-3); max-width: 60ch; font-size: var(--fs-sm); font-weight: 550; color: var(--navy-800); }
.cta-band .addon-note, .cta-band .fine-print { color: #E4EBFA; }
.addon-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--s-4); font-size: var(--fs-xs); font-weight: 650; color: var(--navy-800); }
.addon-trust li { display: inline-flex; align-items: center; gap: 6px; }
.addon-trust .icon { width: 16px; height: 16px; color: var(--green-600); }
.addon-benefits { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .addon-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .addon-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.addon-problem h3 { color: var(--navy-950); }
.addon-honest h3 { margin-bottom: var(--s-3); font-size: var(--fs-md); }
.addon-honest .takeaways li { font-weight: 550; }
.addon-honest .fine-print { margin-top: var(--s-4); }
.addon-save { padding: 10px 12px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100); font-size: var(--fs-sm); color: var(--green-700); }
.addon-links__price { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-700); }
.addon-grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .addon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.addon-tile { display: flex; flex-direction: column; gap: var(--s-3); }
.addon-tile .addon-tile__price { margin-top: auto; }
.addon-tile h3 a { color: var(--navy-950); text-decoration: none; }
.addon-tile h3 a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.addon-tile__price { font-weight: 600; color: var(--navy-800); }
.addon-tile__price strong { font-size: var(--fs-md); color: var(--navy-950); }
.addon-tile .button-row .btn { white-space: normal; text-align: center; }

/* Sticky purchase bar on phones, shown once the hero buttons scroll out of view (assets/js/site.js). */
.addon-sticky { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 28, 68, 0.1); }
.addon-sticky[hidden] { display: none; }
.addon-sticky p { display: grid; min-width: 0; margin: 0; font-size: var(--fs-xs); line-height: 1.3; color: var(--navy-800); }
.addon-sticky p strong { font-size: var(--fs-sm); color: var(--navy-950); }
.addon-sticky .btn { flex: none; max-width: 62%; white-space: normal; text-align: center; line-height: 1.2; }
.addon-sticky .btn .icon { display: none; }
@media (min-width: 900px) { .addon-sticky { display: none !important; } }
body.has-addon-sticky { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-addon-sticky { padding-bottom: 0; } }

/* Product previews */
.apv { width: 100%; max-width: 520px; margin-inline: auto; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.875rem; line-height: 1.45; color: var(--navy-900); }
.apv__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.apv__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.apv__bar b { margin-left: 8px; font-size: 0.8125rem; font-weight: 750; color: var(--navy-900); }
.apv__bar em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--amber-50); border: 1px solid var(--amber-200); font-size: 0.6875rem; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-800); }
.apv__body { display: grid; gap: 12px; padding: clamp(14px, 3vw, 22px); background: linear-gradient(180deg, #FFFFFF 0%, var(--blue-50) 100%); }
.apv p { margin: 0; }
.apv-label { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-700); }
.apv-title { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: var(--navy-950); }
.apv-card { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.apv-finish { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 550; }
.apv-finish span { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700); }
.apv-step { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--blue-600); background: var(--blue-50); }
.apv-step__box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--blue-600); background: #FFFFFF; }
.apv-step__text { font-weight: 700; color: var(--navy-950); }
.apv-pill { padding: 2px 8px; border-radius: 999px; background: var(--navy-900); color: #FFFFFF; font-size: 0.6875rem; font-weight: 800; white-space: nowrap; }
.apv-bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.apv-bar span { display: block; height: 100%; border-radius: inherit; background: var(--blue-600); }
.apv-hint { font-size: 0.75rem; font-weight: 600; color: var(--navy-700); }
.apv-goal { display: flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 12px; border-radius: 999px; background: #FFFFFF; border: 1px dashed var(--blue-300); font-size: 0.8125rem; font-weight: 600; }
.apv-goal__dot { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--blue-600); }
.apv-list { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); }
.apv-list p, .apv-col span { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.apv svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--green-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.apv-focus { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--navy-900); color: #FFFFFF; }
.apv-focus .apv-label { color: #BFD6FF; }
.apv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.apv-col { display: grid; align-content: start; gap: 6px; padding: 8px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.apv-col p { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); }
.apv-col span { padding: 6px 8px; border-radius: 8px; font-size: 0.75rem; line-height: 1.3; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: break-word; hyphens: auto; }
.apv-col--parked span { background: var(--amber-50); border-color: var(--amber-200); }
.apv-col--ready span { background: var(--blue-50); border-color: var(--blue-200); }
.apv-col--ready b { display: inline-grid; flex: none; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-600); color: #FFFFFF; font-size: 0.625rem; }
.apv-day { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.apv-slot { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; }
.apv-slot > b { padding-top: 4px; font-size: 0.75rem; font-weight: 700; color: var(--navy-700); font-variant-numeric: tabular-nums; }
.apv-meet { padding: 6px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; }
.apv-block { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--blue-50); border: 1.5px solid var(--blue-300); font-weight: 700; color: var(--navy-950); }
.apv-block em { font-size: 0.6875rem; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-700); }
.apv-block small { font-size: 0.75rem; font-weight: 600; color: var(--navy-700); }
.apv-block--now { background: var(--blue-700); border-color: var(--blue-700); color: #FFFFFF; }
.apv-block--now em, .apv-block--now small { color: #FFFFFF; }
.apv-card--share { border-top: 4px solid var(--blue-600); }
.apv-status { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-950); }
.apv-status .apv-pill { margin-left: auto; }
.apv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green-600); box-shadow: 0 0 0 4px var(--green-50); }
.apv-hours { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; align-items: end; height: 120px; padding-top: 6px; }
.apv-hours span { position: relative; border-radius: 6px 6px 2px 2px; background: var(--blue-200); }
.apv-hours span.is-peak { background: var(--amber-400); }
.apv-hours i { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 0.6875rem; font-style: normal; font-weight: 700; color: var(--navy-700); }
.apv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.apv-stats p { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.apv-stats b { font-size: 1.125rem; font-weight: 800; color: var(--navy-950); }
.apv-stats span { font-size: 0.75rem; font-weight: 600; color: var(--navy-700); }

/* Direct checkout hand-off page */
.checkout-handoff .screen__title { max-width: 24ch; }
.checkout-handoff form { margin-top: var(--s-6); }
.addon-page .table-wrap + .section-subhead { margin-top: var(--s-12); }
.addon-page .plans--two .plan { display: flex; flex-direction: column; }
.addon-page .plans--two .plan > .button-stack { margin-top: auto; }

/* Fit check ("Is this add-on right for you?") */
.addon-fit .demo__q:first-of-type { padding-top: 0; }
.addon-fit [data-fit-progress] { margin: 0; }
.addon-fit__result:empty { display: none; }
.addon-fit__result:focus { outline: none; }
.addon-fit__result:focus-visible .demo__result { box-shadow: var(--ring); }
.addon-fit__result .demo__result p { font-weight: 550; }
.addon-fit__result .button-row .btn { white-space: normal; text-align: center; line-height: 1.25; }
.addon-fit__none { background: var(--surface-2); border: 1px solid var(--line); }
.addon-fit__privacy { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--s-4); max-width: 46ch; }
.addon-fit__privacy .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--green-600); }
.split--top { align-items: start; }

/* Plan builder (price calculator) on /addon/ */
.addon-builder-wrap { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .addon-builder-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.addon-builder { display: grid; gap: var(--s-5); padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-md); }
.addon-builder fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.addon-builder legend { margin-bottom: 6px; padding: 0; font-size: var(--fs-md); font-weight: 750; color: var(--navy-950); }
.addon-builder__opt { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #FFFFFF; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.addon-builder__opt:hover { border-color: var(--blue-400); }
.addon-builder__opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue-600); cursor: pointer; }
.addon-builder__opt input:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.addon-builder__opt:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-50); }
.addon-builder__opt.is-active { cursor: default; background: var(--green-50); border-color: var(--green-100); }
.addon-builder__opt.is-active input { cursor: default; }
.addon-builder__opt--pro { border-style: dashed; }
.addon-builder__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); }
.addon-builder__icon .icon { width: 18px; height: 18px; }
.addon-builder__text { display: grid; gap: 2px; min-width: 0; }
.addon-builder__text b { font-size: var(--fs-sm); color: var(--navy-950); }
.addon-builder__text small { font-size: var(--fs-xs); font-weight: 550; line-height: 1.4; color: var(--navy-700); }
.addon-builder__price { font-size: var(--fs-sm); font-weight: 800; color: var(--navy-950); text-align: right; white-space: nowrap; }
.addon-builder__price small { font-weight: 600; color: var(--navy-700); }
.addon-builder__opt.is-active .addon-builder__price { color: var(--green-700); }
@media (max-width: 520px) {
  .addon-builder__opt { grid-template-columns: auto minmax(0, 1fr) auto; }
  .addon-builder__icon { display: none; }
}
.addon-builder__result { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.addon-builder__result > * { margin: 0; }
.addon-builder__empty { font-weight: 600; color: var(--navy-800); }
.addon-builder__verdict { font-size: var(--fs-base); font-weight: 550; line-height: 1.55; color: var(--navy-900); }
.addon-builder__verdict strong { color: var(--navy-950); }
.addon-builder__compare { display: grid; gap: 8px; margin: 0; }
.addon-builder__compare div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); font-size: var(--fs-sm); }
.addon-builder__compare dt { font-weight: 600; color: var(--navy-800); }
.addon-builder__compare dd { margin: 0; font-weight: 800; color: var(--navy-950); white-space: nowrap; }
.addon-builder__compare .is-best { border-color: var(--green-600); background: var(--green-50); }
.addon-builder__compare .is-best dt::after { content: "Lowest price"; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--green-700); color: #FFFFFF; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.addon-builder__result .button-row .btn { white-space: normal; text-align: center; line-height: 1.25; }
.addon-builder__math { display: grid; gap: var(--s-4); padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
.addon-builder__math h3 { font-size: var(--fs-md); }
.addon-builder__math .bundle-math a { color: var(--navy-900); }
.addon-builder__pro { margin: 0; }

/* Hub hero visual */
.ahv__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.ahv__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.ahv__list b { font-size: 0.8125rem; line-height: 1.25; color: var(--navy-950); }
.ahv__list em { font-size: 0.75rem; font-style: normal; font-weight: 800; color: var(--blue-700); }
.ahv__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); }
.ahv__icon svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ahv__pro { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100); font-size: 0.8125rem; font-weight: 700; color: var(--green-700); text-align: center; }
@media (prefers-reduced-motion: reduce) { .addon-builder__opt { transition: none; } }
@media (max-width: 520px) {
  .addon-price__or { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .addon-actions .btn { width: 100%; }
  .addon-actions .btn--lg { font-size: var(--fs-base); padding-inline: 16px; }
  .apv-col--ready b { display: none; }
}
/* Add-on hero images: the rendered image already has its own background, so a soft card edge is enough. */
.addon-hero__media { max-width: 560px; margin-inline: auto; }
.addon-hero__media img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* =============================================================================
   Cookie choice for Google Analytics (includes/ga4.php)
   Shown on a first visit from a European time zone, and from "Cookie settings" in the footer.
   Allow and Decline have equal weight, the panel never traps focus, and it sits above the
   phone purchase bar (z-index 40) but below menus and toasts.
   ========================================================================== */
.consent { position: fixed; z-index: 55; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; gap: var(--s-3); max-width: 460px; margin-inline: auto; padding: var(--s-5); border-radius: 20px; background: #FFFFFF; border: 1.5px solid var(--blue-200); box-shadow: var(--shadow-lg); animation: rise-in var(--dur-3) var(--ease-out); }
.consent[hidden] { display: none; }
.consent > * { margin: 0; }
.consent__title { font-size: var(--fs-md); line-height: 1.3; }
.consent__text { font-size: var(--fs-sm); line-height: 1.55; color: var(--navy-800); }
.consent__state { font-size: var(--fs-xs); font-weight: 650; color: var(--navy-800); }
.consent__state:empty { display: none; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.consent__actions .btn { width: 100%; }
@media (min-width: 640px) { .consent { left: 24px; right: auto; bottom: calc(24px + env(safe-area-inset-bottom)); margin: 0; } }
.consent-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; color: var(--navy-800); font: inherit; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; text-align: left; }
.consent-link:hover { color: var(--blue-700); text-decoration: underline; }
.consent-link:focus-visible { box-shadow: var(--ring); border-radius: 6px; }
.app-footer .consent-link { min-height: 0; font-size: var(--fs-xs); }
.no-js .consent-link { display: none; }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
@media print { .consent { display: none !important; } }
/* "Cookie settings" inside a sentence (privacy policy) reads as a link. */
p > .consent-link { display: inline; min-height: 0; font-size: inherit; font-weight: 600; color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
