/* Exit Window — same "Field Atlas" tokens and grammar as the landing
 * (web/public/landing.css), so the membership page reads as part of one site.
 * Component rules below the landing grammar (destination card, member area,
 * family plan, sign-in dialog) keep their IDs and class hooks for app.js. */

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-text: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --paper: #fbf7f0;
  --paper-raised: #fffdf8;
  --paper-sunk: #f3ece0;
  --ink: #2b2622;
  --ink-soft: #6b6259;
  --ink-faint: #9a8f82;
  --line: #e9e0d2;
  --line-strong: #d9cfbf;

  --accent: #c8623a;
  --accent-soft: #fbe3da;

  --safe: #3f7d58;  --safe-bg: #e7f0e4;  --safe-ink: #2c5c3e;
  --watch: #c8881c; --watch-bg: #fbefd3; --watch-ink: #7a5410;
  --danger: #b23a2e; --danger-bg: #fbe5e1; --danger-ink: #7e261d;

  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 1px 2px rgba(43,38,34,.06), 0 6px 24px rgba(120,90,60,.10);
  --shadow-lift: 0 2px 4px rgba(43,38,34,.07), 0 14px 40px rgba(120,90,60,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-size: 16.5px;
}
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 520; letter-spacing: -0.015em; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 460; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 15px; top: -60px; z-index: 200; background: var(--paper-raised); padding: 12px; border-radius: var(--radius-sm); }
.skip:focus { top: 10px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ============ NAV — identical to the landing ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(251,247,240,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 18px; }
.nav__brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.nav__brand svg { display: block; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav__links a, .nav__signin { color: var(--ink-soft); text-decoration: none; font-weight: 600; transition: color .15s var(--ease); }
.nav__signin { background: none; border: 0; padding: 6px 0; font-size: 14px; }
.nav__links a:hover, .nav__signin:hover { color: var(--ink); }
.nav__links a.nav__map { color: var(--accent); }
@media (max-width: 640px) { .nav__links a:not(.nav__map) { display: none; } }
@media (max-width: 400px) { .nav__in { gap: 10px; } .nav__links { gap: 12px; } .nav__map, .nav__signin { font-size: 12.5px; } }

/* ============ BUTTONS — same shapes as the landing .btn ============ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 14px 22px; min-height: 48px;
  font-family: var(--font-text); font-size: 15.5px; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform .14s var(--ease), filter .14s var(--ease), box-shadow .14s var(--ease), background .14s var(--ease);
}
.button:hover:not(:disabled) { filter: brightness(.96); transform: translateY(-1px); }
.button:active:not(:disabled) { transform: scale(.985); }
.primary { background: var(--accent); color: #fff; box-shadow: 0 2px 12px rgba(200,98,58,.28); }
.primary:hover:not(:disabled) { box-shadow: 0 4px 18px rgba(200,98,58,.34); }
.ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.ghost:hover:not(:disabled) { background: var(--paper-raised); border-color: var(--accent-soft); }
.wide { width: 100%; }
.text-button { border: 0; background: none; padding: 8px 0; color: var(--ink-soft); font-size: 14px; }
.text-button:hover { color: var(--ink); text-decoration: underline; }
.subtle-link { display: inline-block; font-size: 14px; font-weight: 600; text-decoration: none; margin-top: 16px; }
.subtle-link:hover { text-decoration: underline; }
.micro { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }

/* ============ HERO ============ */
.hero { padding: 84px 0 88px; overflow: hidden; }
@media (max-width: 900px) { .hero { padding: 44px 0 48px; } }
.hero__in { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; gap: 40px; } }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); animation: ping 2.6s var(--ease) infinite; flex: 0 0 auto; }
@keyframes ping { 0%,100%{box-shadow:0 0 0 0 rgba(63,125,88,0);} 12%{box-shadow:0 0 0 9px rgba(63,125,88,.25);} }
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 540;
  font-variation-settings: "opsz" 144;
  line-height: 1.03;
  letter-spacing: -0.022em;
  margin: 20px 0 22px;
  text-wrap: balance;
}
.hero h1 em { letter-spacing: -0.01em; }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 30em; }
.hero__cta { display: flex; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__cta .button { padding: 15px 24px; font-size: 16px; border-radius: var(--radius); }
.hero__meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 18px; }

/* --- the example email, laid on the table like the landing's sheet cards --- */
.sample-notice {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px 24px 18px; transform: rotate(0.9deg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sample-notice:hover { transform: rotate(0deg) translateY(-3px); box-shadow: var(--shadow-lift); }
@media (max-width: 900px) { .sample-notice { transform: none; } }
.sample-header { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sample-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.sample-header b { display: block; font-size: 13.5px; font-weight: 700; }
.sample-header div > span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.example-label { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--watch-ink); background: var(--watch-bg); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sample-notice h2 { font-size: 23px; font-weight: 560; line-height: 1.22; margin-bottom: 10px; }
.sample-notice > p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.sample-notice > .sample-subhead { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); margin: 16px 0 4px; }
.sample-check { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding: 9px 0; }
.sample-check span { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); flex: 0 0 auto; }
.sample-check p { font-size: 14.5px; }
.sample-link { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--line); padding: 12px 0 4px; }
.sample-notice > .sample-footer { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); margin-top: 8px; }

/* ============ SECTIONS — rubric rules with folio numbers ============ */
.sec { padding: 88px 0 92px; }
@media (max-width: 900px) { .sec { padding: 56px 0 60px; } }
.sec--sunk { background: var(--paper-sunk); border-block: 1px solid var(--line); }
.sec__no {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint);
  display: flex; align-items: center; gap: 18px; margin-bottom: 30px; white-space: nowrap;
}
.sec__no::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec--pricing .sec__no::after { height: 3px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: none; }
.sec h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-variation-settings: "opsz" 72;
  line-height: 1.12;
  max-width: 18em;
  text-wrap: balance;
}
.sec__lead { font-size: 18px; color: var(--ink-soft); margin-top: 14px; max-width: 34em; line-height: 1.55; }
.sec__aside { font-size: 15px; color: var(--ink-soft); margin-top: 18px; max-width: 30em; }

/* --- 01 check a country --- */
.check__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .check__grid { grid-template-columns: 1fr; gap: 30px; } }
.destination-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 26px; position: relative; min-width: 0;
}
.card-top { margin-bottom: 14px; }
.card-caption { font-family: var(--font-display); font-size: 21px; font-weight: 560; }
.country-picker { position: relative; }
.search-arrow { position: absolute; right: 16px; top: 9px; font-size: 24px; color: var(--ink-faint); pointer-events: none; }
input[type="search"] { padding-right: 46px; }
input[type="search"]::-webkit-search-cancel-button { margin-right: 24px; }
#country-options {
  list-style: none; position: absolute; z-index: 5; top: 100%; left: 0; right: 0;
  margin-top: 6px; padding: 6px; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  max-height: 260px; overflow: auto;
}
#country-options li { padding: 10px 12px; cursor: pointer; border-radius: 6px; }
#country-options li[aria-selected="true"], #country-options li:hover { background: var(--accent-soft); }
.brief-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 24px 0 10px; }
.brief-title h3 { font-size: 26px; font-weight: 560; }
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.3;
  background: var(--paper-sunk); color: var(--ink-soft);
}
.badge.neutral { background: var(--paper-sunk); color: var(--ink-soft); }
.badge.caution { background: var(--watch-bg); color: var(--watch-ink); }
.badge.avoid { background: var(--danger-bg); color: var(--danger-ink); }
.brief-summary { font-size: 15px; line-height: 1.6; color: var(--ink-soft); min-height: 48px; }
.card-bottom {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint);
}
.card-bottom a { margin-left: auto; font-family: var(--font-text); font-size: 13.5px; font-weight: 600; }
.small-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--safe); flex: 0 0 auto; }
.destination-next { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.destination-next a { text-decoration: none; }
.destination-next a:hover { text-decoration: underline; }
.airspace-context, .source-context { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14.5px; }
.airspace-context summary, .source-context summary { cursor: pointer; font-weight: 600; }
.source-context summary span { font-weight: 400; color: var(--ink-soft); }
.airspace-context article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.airspace-context article strong { display: block; }
.source-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.source-row small { grid-column: 1 / -1; color: var(--ink-soft); line-height: 1.6; }
.source-state { color: var(--ink-soft); }
.source-state.incomplete { color: var(--watch-ink); }
.early-warning { margin: 1.1rem 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); overflow-wrap: anywhere; }
.early-warning[data-status="watch"] { background: var(--watch-bg); border-color: #e6c77f; }
.early-warning[data-status="unavailable"], .early-warning[data-status="starting"] { background: var(--paper); border-color: var(--line); }
.early-warning h3 { margin: .35rem 0 .65rem; font-size: 19px; }
.early-warning h4 { margin-bottom: .5rem; }
.early-warning ul { padding-left: 1.2rem; }
.early-warning li { margin: .4rem 0; }
.early-warning details { margin-top: 1rem; }
.early-warning summary { cursor: pointer; font-weight: 600; }
.early-warning blockquote { margin: .5rem 0; padding-left: .75rem; border-left: 2px solid var(--line-strong); font-size: .9rem; }

/* --- 02 how it works --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; } }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.step-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 21px; font-weight: 560; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }

/* --- 03 what triggers a notice --- */
.triggers { list-style: none; counter-reset: trig; margin-top: 40px; border-top: 1px solid var(--line-strong); max-width: 860px; }
.triggers li {
  counter-increment: trig; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px;
  padding: 20px 0; border-bottom: 1px solid var(--line-strong);
}
.triggers li::before { content: counter(trig, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.triggers h3 { font-size: 20px; font-weight: 560; }
.triggers p { font-size: 15.5px; color: var(--ink-soft); margin-top: 3px; max-width: 40em; }
.honest-note { margin-top: 30px; max-width: 46em; border-left: 3px solid var(--accent); padding-left: 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* --- 04 pricing: same review-rate sheets as the landing --- */
.price__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; max-width: 760px; }
@media (max-width: 680px) { .price__grid { grid-template-columns: 1fr; } }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price--main { background: var(--paper-raised); border-color: var(--accent); position: relative; box-shadow: var(--shadow-card); }
.price__tag { position: absolute; top: -11px; left: 24px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.price__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; padding-bottom: 12px; border-bottom: 3px double var(--line-strong); }
.price__amount { font-family: var(--font-display); font-weight: 600; font-size: 36px; margin-top: 16px; font-variant-numeric: tabular-nums; }
.price__amount small { font-family: var(--font-text); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.price__alt { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.price ul { list-style: none; margin: 20px 0 24px; flex: 1; }
.price li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 15px; position: relative; }
.price li::before { content: "·"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.price li:first-child { border-top: none; }
.price__status { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; text-align: center; min-height: 1.4em; }
.price__meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 8px; text-align: center; }
.price-fine { font-size: 12px; color: var(--ink-faint); line-height: 1.6; margin-top: 14px; }

/* --- 05 FAQ: native details, journal rules --- */
.faq { margin-top: 38px; max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font-size: 17px; font-weight: 600; transition: color .15s var(--ease);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink-faint); transition: transform .2s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; max-width: 42em; }

/* --- closing plate --- */
.cta-final { padding: 96px 0 104px; border-top: 1px solid var(--line); background: var(--paper-sunk); }
@media (max-width: 900px) { .cta-final { padding: 60px 0 68px; } }
.cta-final h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 530; font-variation-settings: "opsz" 96; line-height: 1.08; max-width: 16em; text-wrap: balance; }
.cta-final .button { margin-top: 28px; padding: 15px 26px; font-size: 16px; border-radius: var(--radius); }
.cta-final__meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 18px; }

/* --- 06 family plan --- */
.family-plan { border-top: 1px solid var(--line); }
.family-plan__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .family-plan__grid { grid-template-columns: 1fr; gap: 28px; } }
.plan-intro > .field-help { margin-top: 16px; }
.plan-note { background: var(--paper-sunk); border: 1px solid var(--line); padding: 20px 22px; border-radius: var(--radius-sm); margin-top: 26px; font-size: 15px; }
.plan-note p { color: var(--ink-soft); margin: 6px 0 10px; }
.plan-note a { font-weight: 600; }
.plan-form { min-width: 0; padding: 28px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.plan-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.plan-form fieldset { border: 0; min-width: 0; }
.plan-block { position: relative; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.plan-block .step-num { position: absolute; right: 0; top: 22px; margin: 0; }
.plan-block h3 { margin: 0 32px 16px 0; font-size: 21px; font-weight: 560; }
.plan-block label { margin-top: 14px; }
.plan-checklist label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; font-size: 15px; margin-bottom: 10px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.plan-actions .text-button { width: 100%; text-align: left; }
#plan-message.error { color: var(--danger); }
@media (max-width: 540px) {
  .plan-form { padding: 22px 18px; }
  .plan-fields { grid-template-columns: 1fr; gap: 8px; }
  .plan-actions .button { width: 100%; }
}

/* ============ FORMS (card, member area, plan, dialog) ============ */
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
form > label:not(:first-child) { margin-top: 18px; }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); padding: 12px 14px; font-size: 16px; color: var(--ink);
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
input[type="checkbox"] { width: 17px; height: 17px; min-height: 0; flex-shrink: 0; margin: 3px 0; accent-color: var(--accent); }
.field-help { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-top: 10px; }
.error { color: var(--danger) !important; }
.checklist { border: 0; border-top: 1px solid var(--line); padding: 18px 0 8px; margin: 20px 0 10px; }
.checklist legend { font-family: var(--font-display); font-size: 18px; font-weight: 560; padding-top: 18px; margin-bottom: 12px; }
.checklist label, .checkbox-row { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; font-weight: 400; margin-bottom: 12px; }
form .button { margin-top: 12px; }

/* ============ MEMBER AREA ============ */
.dashboard { padding-top: 56px; padding-bottom: 80px; min-height: 65vh; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.dashboard h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 540; margin-top: 14px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; }
.panel { padding: 26px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); margin-bottom: 24px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel h2 { font-size: 24px; font-weight: 560; }
.folio { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }
#phone-section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
#phone-section summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.mini-horizon { padding: 20px; background: var(--paper-sunk); border-radius: var(--radius-sm); margin: 20px 0; }
.mini-horizon p { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }
.mini-horizon strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 560; line-height: 1.2; }
.mini-horizon > span { font-size: 13px; color: var(--ink-soft); }
#watch-summary { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
#watch-steps { padding-left: 20px; font-size: 15px; line-height: 1.6; }
#watch-steps li { padding-left: 6px; margin: 10px 0; }
.brief-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.empty-state { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 22px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.history-item { padding: 16px 0; border-top: 1px solid var(--line); }
.history-item h3 { font-size: 19px; font-weight: 560; margin-bottom: 8px; }
.history-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.history-item small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.account-footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 14px; }
.account-footer .danger { margin-left: auto; color: var(--danger); }
.message { padding: 16px 20px; border: 1px solid #cfe0c9; background: var(--safe-bg); color: var(--safe-ink); border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 15px; line-height: 1.55; }
.message.error { background: var(--danger-bg); border-color: #efc4bb; }
.signed-out { padding: 36px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.signed-out h2 { font-size: 30px; }
.signed-out p { color: var(--ink-soft); margin: 10px 0 20px; }
.signed-out > a { display: inline-block; margin-left: 20px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; gap: 0; }
  .dashboard-heading { display: block; }
  .dashboard-heading .badge { display: inline-block; margin-top: 10px; }
}
@media (max-width: 640px) {
  .dashboard { padding-top: 36px; }
  .panel, .signed-out { padding: 22px; }
  .signed-out > a { display: block; margin: 18px 0 0; }
  .account-footer { gap: 14px; }
  .account-footer .danger { margin-left: 0; }
}

/* ============ SIGN-IN DIALOG ============ */
dialog {
  color: var(--ink); background: var(--paper);
  width: min(460px, calc(100% - 32px)); margin: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 25px 120px rgba(43,38,34,.25);
}
dialog::backdrop { background: rgba(43,38,34,.45); backdrop-filter: blur(4px); }
dialog h2 { font-size: 30px; margin: 12px 0 10px; }
.dialog-close { position: absolute; right: 16px; top: 10px; font-size: 26px; background: none; border: 0; color: var(--ink-soft); }
.dialog-lede { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 22px; }
#different-email { margin-top: 12px; font-size: 13px; }
dialog .micro { margin-top: 16px; }
@media (max-width: 640px) { dialog { padding: 30px 22px; } }

/* ============ PRIVACY PAGE ============ */
.privacy-copy { max-width: 760px; padding-top: 64px; padding-bottom: 72px; }
.privacy-copy h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 540; margin: 18px 0 20px; }
.privacy-copy h2 { font-size: 24px; font-weight: 560; margin: 34px 0 10px; }
.privacy-copy p, .privacy-copy li { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.privacy-copy ul { padding-left: 20px; }

/* ============ FOOTER — full-ink colophon, as on the landing ============ */
.footer { background: var(--ink); color: var(--paper); padding: 58px 0 46px; }
.footer__brand { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.footer__brand svg { display: block; color: #d99b82; }
.footer__tag { font-family: var(--font-display); font-size: 19px; font-weight: 480; font-style: italic; margin-top: 14px; color: #d9cfbf; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 38px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; }
.footer__links a { color: #b8ab99; text-decoration: none; }
.footer__links a:hover { color: var(--paper); }
.footer__note { font-size: 11.5px; color: #b8ab99; line-height: 1.6; max-width: 46em; }
.footer__colophon { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(233,224,210,.14); font-family: var(--font-mono); font-size: 11px; color: #a39684; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .kicker__dot { animation: none; }
  .button:hover:not(:disabled), .sample-notice:hover { transform: none; }
}
