/* Self-hosted (SIL OFL), so the page makes no third-party requests. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/fonts/dm-sans.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/schibsted-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-serif-4.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
[hidden] { display: none !important; }

:root {
  --bg: #FAFAF7; --fg: #1C2430; --muted: #4A5462; --faint: #6B7480;
  --line: #E3E3DE; --card: #FFFFFF; --soft: #F1F1EC; --pill: #C9C9C2;
  --sidebar: #4F7A8C; --xa: #141B26; --xa-hi: #FDE68A;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --xa-sans: 'Schibsted Grotesk', 'DM Sans', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  color-scheme: light;
}
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sidebar); outline-offset: 3px; border-radius: 6px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.logo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fg); }
nav { display: flex; align-items: center; gap: 28px; font-weight: 500; color: var(--muted); }
nav a { text-decoration: none; }
nav .links { display: flex; gap: 28px; }
@media (max-width: 760px) { nav .links { display: none; } }

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 56px); max-width: 900px; }
h1 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin: 20px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 720px; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app.xa { font-family: var(--xa-sans); }
.app-name { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 700; }
.app h2 { margin: 0; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; }
.app p { margin: 0; color: var(--muted); line-height: 1.55; }
.app-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.go { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; padding: 12px 22px; font-weight: 700; text-decoration: none; min-height: 44px; box-sizing: border-box; }
.go.sb { background: var(--sidebar); border-radius: 999px; }
.go.xa { background: var(--xa); border-radius: 10px; }
.host { font-size: 14px; color: var(--faint); }
.xa-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--xa); display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.xa-mark::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 14%; height: 9%; background: var(--xa-hi); border-radius: 2px; }
.xa-mark span { position: relative; z-index: 1; font-family: var(--serif); font-weight: 600; font-size: 26px; color: #FFFFFF; line-height: 1; margin-top: -4px; }
.docket-mark { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.docket-mark svg { display: block; width: 100%; height: 100%; }

.soon { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); border: 1px solid var(--pill); border-radius: 999px; padding: 3px 10px; }
.btn-outline { background: transparent; border: 1.5px solid var(--fg); border-radius: 999px; padding: 11px 22px; min-height: 44px; font: inherit; font-weight: 700; color: var(--fg); cursor: pointer; }
.btn-outline:hover { background: var(--card); }
.notify { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.notify label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notify input { flex: 1 1 240px; min-width: 0; max-width: 360px; min-height: 44px; box-sizing: border-box; border: 1.5px solid var(--line); background: var(--card); color: var(--fg); border-radius: 12px; padding: 10px 14px; font: inherit; }
.notify-msg { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }


/* Docket: a quieter strip under the family apps, not a third card. */
.docket { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 24px; background: var(--soft); border-radius: 24px; padding: 24px clamp(24px, 3vw, 40px); }
.docket h2 { margin: 0; font-size: 20px; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.docket p { margin: 4px 0 0; color: var(--muted); line-height: 1.55; }
.docket-act { justify-self: end; }
.docket:has(.notify:not([hidden])) .docket-act { grid-column: 1 / -1; justify-self: stretch; }
@media (max-width: 860px) {
  .docket { grid-template-columns: auto 1fr; align-items: start; }
  .docket-act { grid-column: 1 / -1; justify-self: start; }
}
.notify-check { flex-basis: 100%; }
.notify-check:empty { display: none; }
.notify-msg a { color: inherit; }

.promises { padding-top: clamp(56px, 7vw, 96px); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); margin: 0 0 28px; }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 48px; }
.promise::before { content: ""; display: block; width: 32px; height: 3px; background: var(--fg); margin-bottom: 18px; }
.promise h3 { margin: 0 0 8px; font-size: 19px; }
.promise p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

.why { margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); background: var(--soft); border-radius: 24px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.why h2 { margin: 0; font-size: 22px; flex: 0 0 260px; }
.why-text { flex: 1 1 360px; min-width: 0; }
.why p { margin: 0; font-size: 17px; color: var(--muted); line-height: 1.6; }
.why a { color: inherit; }
.why .sig { margin-top: 12px; color: var(--fg); font-weight: 700; }

footer { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; }
footer .logo { font-size: 18px; color: var(--fg); }
footer .logo::before { width: 8px; height: 8px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer ul a { text-decoration: none; }

/* Text pages (privacy). */
.prose { max-width: 720px; padding-block: clamp(40px, 7vw, 96px); }
.prose h1 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.prose h2 { margin: 40px 0 0; font-size: 20px; }
.prose p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.prose .lede { margin-top: 20px; }
.prose .updated { margin-top: 40px; font-size: 14px; color: var(--faint); }
