/* The front page, in the design system's colours (design/design-system-v2), light and dark. */
:root {
  --navy: #142B45; --teal: #258C80; --link: #176F66; --ground: #F5F7FA; --surface: #FFFFFF; --subtle: #EEF3F7;
  --muted: #5D7085; --line: #D7E1EA; --control: #8093A8; --action: #142B45; --action-text: #FFFFFF;
  --good: #176F52; --good-ground: #EAF6F0; --bad: #B42332; --bad-ground: #FDEDF0;
  --shadow: 0 1px 2px rgba(20, 43, 69, 0.06), 0 12px 32px rgba(20, 43, 69, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #ECF2F7; --teal: #5CB7AB; --link: #7ADCCD; --ground: #0C1725; --surface: #14263A; --subtle: #1A3047;
    --muted: #A7B9CC; --line: #344A60; --control: #7891AB; --action: #63D0C0; --action-text: #0C1725;
    --good: #7AD7AD; --good-ground: #16372C; --bad: #FF9AA8; --bad-ground: #3E2230;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--navy); font: 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--action); color: var(--action-text); border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; color: var(--navy); min-height: 44px; }
.wordmark { height: 30px; width: auto; }
.wordmark .accent { fill: var(--teal); }
nav { display: flex; gap: 22px; margin-left: 12px; }
nav a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.85; }
nav a:hover { opacity: 1; color: var(--link); }
.actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.language { font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 900px) { nav { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 12px; background: var(--action); color: var(--action-text); font-weight: 600; font-size: 17px; text-decoration: none; }
.button:hover { filter: brightness(1.12); }
.button.small { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.button.ghost { background: transparent; color: var(--link); padding: 0 6px; }
.button.ghost:hover { filter: none; text-decoration: underline; }
.button .icon { width: 20px; height: 20px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 12px; border: 1px dashed var(--control); color: var(--muted); font-weight: 600; font-size: 16px; }
.store .icon { width: 22px; height: 22px; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--good-ground); color: var(--good); font-size: 14px; font-weight: 600; }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.035em; }
.lead { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-art { position: relative; min-height: 560px; }
.paper { position: absolute; right: 0; top: 18px; width: 72%; transform: rotate(3deg); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #FFFFFF; }
.hero-art .phone { position: absolute; left: 4%; top: 0; width: 46%; transform: rotate(-3deg); }
.phone { border-radius: 36px; padding: 8px; background: #142B45; box-shadow: var(--shadow); }
.phone img { border-radius: 29px; }
@media (prefers-color-scheme: dark) { .phone { background: #22384F; } }

/* Hero jumps */
.jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jumps a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.jumps a:hover { border-color: var(--teal); color: var(--link); }
.jumps .icon { width: 16px; height: 16px; transform: rotate(90deg); color: var(--teal); }

/* What it is for */
section#uses { padding: 24px 0 64px; }
.use-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 28px; align-items: start; }
.use { padding: 28px; }
.use.featured { border: 2px solid var(--teal); }
.card.use .use-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.card.use h3 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; }
.card.use .use-lead { margin-top: 10px; font-size: 17px; color: var(--muted); }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; background: var(--subtle); font-size: 14px; font-weight: 600; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 16px; }
.ticks .icon { width: 20px; height: 20px; color: var(--good); margin-top: 2px; }
.card.use .use-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--subtle); font-size: 14px; color: var(--muted); }

/* Facts */
.facts { padding: 8px 0 56px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.fact h2 { margin-top: 14px; font-size: 19px; }
.fact p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon.badge { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--subtle); color: var(--link); }
.icon.small { width: 20px; height: 20px; }

/* Sections */
section[id] { padding: 80px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.03em; max-width: 24em; text-wrap: balance; }
.section-lead { margin-top: 12px; color: var(--muted); font-size: 18px; max-width: 40em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.band .card { background: var(--ground); }
.card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.source h3 { margin-top: 16px; }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step .phone { max-width: 250px; margin: 0 auto 22px; }
.step-number { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; }
.step h3 { margin-top: 4px; font-size: 21px; }
.step p:last-child { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Document */
.pages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.page { margin: 0; }
.page a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #FFFFFF; transition: transform 0.2s ease; }
.page a:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .page a { transition: none; } .page a:hover { transform: none; } }
.page figcaption { margin-top: 14px; }
.page h3 { font-size: 17px; }
.page p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.more { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more li { display: flex; gap: 12px; padding: 18px; border-radius: 14px; background: var(--ground); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.more .icon { color: var(--good); }

/* Verification */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.numbered { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.numbered li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 17px; }
.numbered li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--subtle); font-weight: 700; font-size: 15px; }
.quiet { margin: 22px 0 24px; color: var(--muted); font-size: 15px; }
.record { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.record-url { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); padding: 8px 12px; background: var(--subtle); border-radius: 10px; overflow-wrap: anywhere; }
.record-found { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 600; }
.record-code { margin-top: 6px; font: 600 26px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }
.record dl { margin: 16px 0 0; }
.record dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.record dt { color: var(--muted); }
.record dd { margin: 0; font-weight: 600; text-align: right; }
.record-check { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--good-ground); color: var(--good); font-weight: 600; font-size: 15px; }

/* Lists */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.list ul { margin: 14px 0 0; padding: 0 0 0 20px; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.list h3 .icon { color: var(--link); }
.list.never h3 .icon, .list.no h3 .icon { color: var(--bad); }
.list.yes h3 .icon { color: var(--good); }
.notes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.legal { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--subtle); font-size: 16px; font-weight: 500; }

/* Pricing */
.plan h3 { font-size: 22px; }
.plan.featured { border: 2px solid var(--teal); }
.price { margin-top: 16px !important; font-weight: 600; color: var(--navy) !important; }

/* Questions */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--link); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 42em; }

/* Closing and footer */
.closing { padding: 72px 0; text-align: center; background: var(--surface); border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.closing .ctas { justify-content: center; }
.bottom { padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.bottom p + p { margin-top: 8px; }
.foot-brand { color: var(--navy); margin-bottom: 16px; }
.foot-brand .wordmark { height: 24px; }
.fine { font-size: 13px; max-width: 52em; }

/* Narrower screens */
@media (max-width: 1020px) {
  .pages { grid-template-columns: repeat(3, 1fr); }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero { padding-top: 36px; }
  .hero-grid, .split, .two, .fact-grid, .use-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; height: 120vw; max-height: 540px; }
  .paper { width: 64%; }
  .hero-art .phone { width: 42%; left: 2%; }
  section[id] { padding: 60px 0; }
}
@media (max-width: 560px) {
  .wordmark { height: 24px; }
  .actions .button.small { display: none; }
  .source-grid, .pages { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
  .step .phone { margin: 0; border-radius: 20px; padding: 5px; }
  .step .phone img { border-radius: 16px; }
  .lead { font-size: 17px; }
  .card { padding: 18px; }
  .use { padding: 20px; }
}
@media (max-width: 380px) { .source-grid { grid-template-columns: 1fr; } }

/* The page for an address that is not the site's */
.missing { padding-top: 96px; padding-bottom: 96px; }

/* Pages of text: the privacy policy and support */
.prose { padding-top: 48px; padding-bottom: 56px; }
.prose h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.prose h2 { margin-top: 40px; font-size: 24px; line-height: 1.25; }
.prose h3 { margin-top: 26px; font-size: 18px; line-height: 1.35; }
.prose p, .prose ul, .prose .table { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose .lead { margin-top: 16px; }
.prose code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--subtle); padding: 1px 5px; border-radius: 5px; }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--subtle); }
.prose tr:last-child td { border-bottom: 0; }
.prose .aside { margin-top: 32px; color: var(--muted); }
