/* Colours: brand/token-policy.v1.json, theme "sovereign-amethyst". */
:root {
  --ground: #EEEDF2; --raised: #FFFFFF; --ink: #17131F; --ink-2: #4F4A5C;
  --hairline: #17131F1F; --accent: #4B2A86; --on-accent: #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0F0C15; --raised: #1A1623; --ink: #F0EDF6; --ink-2: #ABA3BA; --hairline: #F0EDF61F; --accent: #C3AEF6; --on-accent: #160F24; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
.wrap { max-width: calc(720px + 32px); margin-inline: auto; padding: 14px 16px 56px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; max-width: calc(720px + 64px); } }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; }
h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem); line-height: 1.1; letter-spacing: -0.024em; margin: 48px 0 16px; }
h2 { font-size: 1.25rem; letter-spacing: -0.012em; margin: 40px 0 10px; }
p, li { color: var(--ink-2); text-wrap: pretty; }
p { margin: 0 0 14px; }
.files { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.files li { padding: 16px 0; border-bottom: 1px solid var(--hairline); display: grid; gap: 4px; }
.files strong { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; color: var(--ink); }
.downloads { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 0.9375rem; }
.note { padding: 14px 16px; border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--ink); margin: 0 0 14px; }
.fine { font-size: 0.9375rem; }
footer p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.legal { white-space: nowrap; }

/* Waitlist form (/waitlist/). Colours from the tokens above. */
.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; }
.waitlist { display: grid; gap: 22px; margin: 28px 0 20px; max-width: 34rem; }
.field-group { display: grid; gap: 8px; }
.field-group label, .label, .optional legend { color: var(--ink); font-weight: 600; margin: 0; }
.optional { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.optional legend { padding: 0; margin-bottom: 18px; font-size: 1.0625rem; }
.hint { color: var(--ink-2); font-weight: 400; font-size: 0.9375rem; margin: 0; }
.field {
  width: 100%; min-width: 0; font: inherit; font-size: 1.0625rem; color: var(--ink);
  min-height: 48px; padding: 10px 14px; border-radius: 12px;
  background: var(--raised); border: 1px solid var(--ink-2);
  -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--ink-2); opacity: 1; }
.field:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); border-radius: 12px; }
.button {
  justify-self: start; font: inherit; font-size: 1.0625rem; font-weight: 600;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
}
.button:hover { filter: brightness(1.12); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.cf-turnstile { min-height: 65px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
/* Turnstile's widget is at least 300px wide: keep it inside a 320px viewport. */
@media (max-width: 332px) { .wrap { padding-inline: 10px; } }

/* Country picker (/waitlist/waitlist.js). Without the script the five plain boxes show instead. */
.picker { display: grid; gap: 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 2px; max-width: 100%;
  min-height: 40px; padding: 1px 1px 1px 13px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--ink-2); color: var(--ink); font-size: 0.9375rem;
}
.chip span { overflow-wrap: anywhere; }
.chip button {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.chip button:hover { background: var(--hairline); color: var(--ink); }
.chip button:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-radius: 999px; }
.combo { position: relative; }
.options {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px);
  max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: var(--raised); border: 1px solid var(--ink-2); border-radius: 12px;
  box-shadow: 0 12px 32px #0000002E;
}
.options li { padding: 10px 12px; border-radius: 8px; color: var(--ink); cursor: pointer; }
.options li:hover { background: var(--hairline); }
.options li[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.options li.add { font-style: italic; }
@media (forced-colors: active) { .options li[aria-selected="true"] { outline: 2px solid Highlight; } }

/* Language dropdown. The arrow is drawn in CSS because the page allows no data: images. */
.field-group[hidden] { display: none; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
select.field { padding-right: 44px; cursor: pointer; }
select.field:has(option[value=""]:checked) { color: var(--ink-2); }
select.field option { color: var(--ink); }
