/* Northstar's public site. The app's own palette (Components/DesignSystem.swift) and type:
   no web fonts, no scripts, nothing loaded from another site. */
:root {
  color-scheme: light dark;
  --bg: #F2EFE8;
  --surface: #FEFCF7;
  --text: #14212E;
  --muted: #4E5862;
  --rule: rgba(20, 33, 46, 0.14);
  --track: rgba(20, 33, 46, 0.09);
  --action: #12243B;
  --on-action: #FEFCF7;
  --band: #12243B;
  --on-band: #F5F1E6;
  --on-band-muted: rgba(245, 241, 230, 0.78);
  --copper: #A84A21;
  --star-1: #758C9E;
  --star-2: #14212E;
  --star-3: #121F2B;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --gutter: 16px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1317;
    --surface: #1A1F24;
    --text: #F5F1E6;
    --muted: #B9B6AE;
    --rule: rgba(245, 241, 230, 0.14);
    --track: rgba(245, 241, 230, 0.12);
    --action: #F5F1E6;
    --on-action: #0A131F;
    --band: #1A1F24;
    --on-band: #F5F1E6;
    --on-band-muted: #B9B6AE;
    --copper: #F0945C;
    --star-1: #FFF7E6;
    --star-2: #C7C2B0;
    --star-3: #FFFFFF;
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--copper); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: var(--gutter); z-index: 10; background: var(--surface); padding: 10px 14px; border-radius: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: the wordmark as in the app's welcome screen, then help, privacy and the languages. */
.top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 20px; padding-block: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 23px; letter-spacing: -0.05em; text-decoration: none; justify-self: start; }
.wordmark:hover { color: inherit; }
.wordmark svg { width: 20px; height: 22px; color: var(--copper); }
.links { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 22px; font-size: 15px; }
.links a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); }
.links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--copper); }
.languages { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: 999px; }
.languages a { min-width: 40px; padding: 5px 10px; border-radius: 999px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 650; letter-spacing: 0.03em; color: var(--muted); }
.languages a:hover { color: var(--text); }
.languages a[aria-current="true"] { background: var(--action); color: var(--on-action); }
@media (min-width: 720px) {
  .top { grid-template-columns: 1fr auto auto; padding-block: 24px; }
  .links { grid-column: auto; grid-row: auto; }
}

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 16px; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.lede { font-size: clamp(18px, 2.3vw, 22px); line-height: 1.45; color: var(--muted); }
.fine { font-size: 15px; color: var(--muted); }

/* Home */
.hero { display: grid; gap: 8px; padding-block: 28px 64px; }
.hero .star { width: 132px; justify-self: center; transform: rotate(10deg); margin-block: 8px 28px; filter: drop-shadow(0 7px 6px rgba(0, 0, 0, 0.18)); }
.tagline { font-size: clamp(46px, 10vw, 88px); line-height: 1; letter-spacing: -0.045em; margin-bottom: 18px; }
.hero .lede { max-width: 30ch; margin-bottom: 26px; }
.platform { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.platform li { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.5fr 1fr; align-items: center; padding-block: 56px 64px; }
  .hero .star { width: 232px; grid-column: 2; grid-row: 1 / span 4; margin: 0; }
}

.section { padding-block: 56px; }
.section-head { max-width: 40ch; margin-bottom: 28px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 24px 22px; }
.card .icon { width: 30px; height: 30px; color: var(--copper); margin-bottom: 18px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

.score { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .score { grid-template-columns: 320px 1fr; gap: 64px; } }
.dial { justify-self: center; text-align: center; }
.dial svg { width: 210px; height: 210px; }
.dial .track { fill: none; stroke: var(--track); stroke-width: 10; }
.dial .fill { fill: none; stroke: var(--copper); stroke-width: 10; stroke-linecap: round; }
.dial .number { font-family: var(--display); font-weight: 700; font-size: 34px; fill: var(--text); }
.dial .word { margin: 14px 0 0; font-weight: 600; font-size: 20px; }
.score .lede { max-width: 38ch; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--copper); }
.steps p { color: var(--muted); margin: 0; }

.band { background: var(--band); color: var(--on-band); border-radius: 30px; padding: 44px 26px; margin-block: 24px 72px; }
.band p { color: var(--on-band-muted); max-width: 62ch; }
.band a { color: var(--on-band); }
@media (min-width: 720px) { .band { padding: 64px 56px; } }

/* Help and privacy */
.page-head { padding-block: 24px 28px; max-width: 46ch; }
.page-head h1 { font-size: clamp(42px, 7vw, 68px); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 14px; }
.narrow { max-width: 760px; }
.contact { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; margin-bottom: 48px; }
.contact h2 { font-size: 26px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; margin: 6px 0 20px; border-radius: 999px; background: var(--action); color: var(--on-action); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.button:hover { color: var(--on-action); opacity: 0.9; }
.contact ul { margin: 0; padding-left: 20px; color: var(--muted); }
.contact li { margin-bottom: 6px; }
.faq h2 { font-size: 26px; margin: 44px 0 6px; }
details { border-bottom: 1px solid var(--rule); }
summary { position: relative; cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
details .answer { padding-bottom: 18px; color: var(--muted); }
details .answer p:last-child { margin-bottom: 0; }
b.ui { font-weight: 600; color: var(--text); }

.policy .version { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.policy .lede { margin-bottom: 22px; }
.toc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 8px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.policy section { padding-top: 26px; }
.policy h2 { font-size: 25px; letter-spacing: -0.015em; margin-bottom: 10px; }
.policy ul { padding-left: 22px; }
.policy .same { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* Footer */
.foot { border-top: 1px solid var(--rule); margin-top: 24px; padding-block: 28px 44px; font-size: 14px; color: var(--muted); }
.foot .row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot p { margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .top, .foot, .skip { display: none; } body { background: #fff; color: #000; } }

/* The star (Components/PocketDesign.swift): a copper offset, a three-stop gradient, a thin edge. */
.star .star-1 { stop-color: var(--star-1); }
.star .star-2 { stop-color: var(--star-2); }
.star .star-3 { stop-color: var(--star-3); }
.star .star-shadow { fill: var(--copper); }
.star .star-edge { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.45; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 6px; }
/* The copper focus ring is too faint on the navy band (2.7:1): use the band's text colour there. */
.band :focus-visible { outline-color: var(--on-band); }
