:root {
  color-scheme: light;
  --ground: #BFD7FF;
  --ground-soft: #EAF1FF;
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --soft: #3D3D3D;
  --muted: #4D4D4D;
  --line: #D9D9D9;
  --on-ink-soft: #C9C9C9;
  --on-ink-muted: #BDBDBD;
  --on-ink-line: #3A3A3A;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --gap-y: clamp(48px, 7vw, 104px);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.skip-link { position: absolute; top: -100px; left: 12px; z-index: 80; padding: 12px 16px; background: var(--ink); color: var(--paper); font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Home */
.home { background: var(--ink); }
.band { padding-inline: var(--pad); }
.ground { background: var(--ground); color: var(--ink); }
.label { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 600; }
.top a, .top .brand { display: inline-flex; align-items: center; min-height: 44px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }

.hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.wordmark { margin: 0 0 0 -.04em; font-family: var(--display); font-weight: 800; font-size: clamp(96px, 34vw, 520px); line-height: .78; letter-spacing: -.04em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 56px; margin-top: clamp(32px, 5vw, 72px); }
.hero-copy { flex: 2 1 420px; max-width: 820px; }
.tagline { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 58px); line-height: 1.02; letter-spacing: -.03em; }
.hero-copy .sub { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 1.5; }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 28px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 600; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms ease; }
.btn:hover { text-decoration: none; }
.btn:hover .down { transform: translateY(3px); }
.btn:hover .right { transform: translateX(3px); }

.apps { padding-block: var(--gap-y); background: var(--ink); color: var(--paper); }
.apps .label { margin-bottom: 32px; color: var(--on-ink-muted); }
.app { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; padding-block: 28px; border-top: 2px solid var(--on-ink-line); }
.app:first-of-type { border-top-color: var(--paper); }
.app:last-of-type { border-bottom: 2px solid var(--on-ink-line); }
.app h3 { flex: 1 1 420px; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.6vw, 100px); line-height: .95; letter-spacing: -.045em; }
.app-body { flex: 1 1 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.app-line { font-size: 21px; font-weight: 600; line-height: 1.3; }
.app-detail { font-size: 16px; line-height: 1.5; color: var(--on-ink-soft); }
.app-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 44px; margin-top: 6px; font-size: 14px; font-weight: 600; }
.app-meta span { color: var(--on-ink-muted); }
.app-meta a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--paper); }
.app-meta a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }

.freelance { padding-block: var(--gap-y); background: var(--paper); }
.freelance .label { margin-bottom: 20px; color: var(--muted); }
.headline { max-width: 1000px; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; }
.intro { max-width: 760px; margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 1.5; color: #1F1F1F; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 72px); }
.stats li { flex: 1 1 220px; }
.stats strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; }
.stats span { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; }
.stack { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.stack > div { flex: 1 1 280px; padding-top: 20px; border-top: 2px solid var(--ink); }
.stack h3 { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; }
.tags li { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 2px solid var(--ink); }
.start { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 72px); }
.start p { font-size: 16px; font-weight: 500; color: var(--soft); }

.contact { padding-top: var(--gap-y); }
.contact > p { max-width: 620px; margin-bottom: 16px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.mail { display: inline-block; padding-block: 8px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 32px; margin-top: clamp(40px, 6vw, 88px); padding-block: 12px 28px; border-top: 2px solid var(--ink); font-size: 14px; font-weight: 600; }
.foot div { display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* Policy, terms and support pages */
.navbar { position: sticky; top: 0; z-index: 5; background: var(--ground); border-bottom: 2px solid var(--ink); }
.navbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: min(100% - 40px, 860px); min-height: 56px; margin-inline: auto; font-size: 15px; font-weight: 600; }
.navbar a { display: inline-flex; align-items: center; min-height: 44px; }
.navbar-title { color: var(--ink); }
.navbar .end { justify-self: end; }
.back { gap: 2px; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.page { width: min(100% - 40px, 860px); margin-inline: auto; padding-block: clamp(48px, 7vw, 88px) 72px; }
.doc-head { padding-bottom: clamp(36px, 5vw, 56px); }
.doc-head .row-icon { display: none; }
.doc-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -.04em; }
.doc-head p { margin-top: 16px; color: var(--muted); font-size: 15px; font-weight: 500; }
.page section { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding-block: 32px; border-top: 2px solid var(--ink); }
.group-title { padding-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.group-foot { grid-column: 2; margin-top: -8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.group-foot a, .prose a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
nav.group { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
nav.group .row { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); font-size: 14px; font-weight: 600; }
nav.group .row:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.prose { color: var(--soft); font-size: 17px; line-height: 1.7; }
.prose + .prose { margin-top: 36px; }
.prose[id] { scroll-margin-top: 84px; }
.prose h2 { margin-bottom: 8px; color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p, .prose .note + p, .prose p + .note { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose li + li { margin-top: 4px; }
.note { padding: 14px 16px; background: var(--ground-soft); color: var(--ink); font-size: 16px; }
.note strong { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.row-title { display: block; }
.row-sub { display: block; color: var(--muted); font-size: 14px; }
.site-foot { padding-top: 24px; border-top: 2px solid var(--ink); color: var(--muted); font-size: 14px; font-weight: 500; }

/* Index of policies */
.doc-list { border-top: 2px solid var(--ink); }
.doc-list > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; padding-block: 24px; border-bottom: 2px solid var(--line); }
.doc-list h2 { flex: 1 1 240px; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.doc-list ul { flex: 1 1 300px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-list ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); font-size: 15px; font-weight: 600; }
.doc-list ul a:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.doc-note { margin-top: 28px; color: var(--soft); font-size: 16px; line-height: 1.6; }
.doc-note a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Plain single-column documents */
.doc main { width: min(100% - 40px, 760px); margin-inline: auto; padding-block: clamp(48px, 7vw, 88px) 72px; color: var(--soft); font-size: 17px; line-height: 1.7; }
.doc .eyebrow { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.doc h1 { margin-block: 12px 16px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -.04em; }
.doc h2 { margin-top: 36px; margin-bottom: 8px; color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.doc main p + p { margin-top: 12px; }
.doc main a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc footer { margin-top: 56px; padding-top: 20px; border-top: 2px solid var(--ink); font-size: 15px; font-weight: 600; }

@media (max-width: 640px) {
  .page section { grid-template-columns: 1fr; gap: 16px; }
  .group-foot { grid-column: 1; margin-top: 0; }
  .navbar-inner { grid-template-columns: auto 1fr auto; }
  .navbar-title { justify-self: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
