/* Nunito (OFL, assets/fonts/OFL.txt), self-hosted: no request leaves wagora.app. */
@font-face {
  font-family: "Nunito";
  font-weight: 300 1000;
  font-display: swap;
  src: url(fonts/nunito-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-weight: 300 1000;
  font-display: swap;
  src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Brand palette (Assets.xcassets). Text pairs checked by web/tools/contrast.mjs (≥ 4.5:1).
   --orange is a fill only, with --ink on top; white text never sits on it.
   --green is decorative; green text uses --green-text. */
:root {
  color-scheme: light;
  --cream: #FFF8F0;
  --card: #FFFFFF;
  --ink: #2A2A2A;
  --ink-2: #5A5550;
  --orange: #FF7A45;
  --orange-text: #BF4A18;
  --orange-soft: #FFE6D9;
  --green: #2F8F6B;
  --green-text: #267A5A;
  --green-soft: #E3F2EB;
  --error: #B3261E;
  --radius: 1.25rem;
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); }
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-text); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--cream); padding: 0.75rem 1rem; border-radius: 0.5rem; z-index: 10; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding-inline: 1.25rem; }

/* Header */
.site-header { padding-block: 1rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.35rem; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; }
.lang { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 0.75rem; font-weight: 700; }

/* Hero */
.hero { padding-block: 2rem 3rem; }
.badge { display: inline-block; background: var(--green-soft); color: var(--green-text); font-weight: 800; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.75rem 1.5rem; border: 0; border-radius: 999px; background: var(--orange); color: var(--ink);
  font: inherit; font-weight: 800; font-size: 1.05rem; text-decoration: none; cursor: pointer;
}
.button:hover { background: #FF8C5E; }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Sections */
section { padding-block: 2.5rem; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgb(42 42 42 / 8%); }
.card p { margin: 0; color: var(--ink-2); }
.step-no { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 900; margin-bottom: 0.75rem; }
.safety .card { border-top: 6px solid var(--green); }

/* Waitlist form */
.form-card { background: var(--card); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); max-width: 36rem; box-shadow: 0 1px 2px rgb(42 42 42 / 8%); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 800; margin-bottom: 0.35rem; }
.hint { display: block; color: var(--ink-2); font-size: 0.95rem; }
label .hint { display: inline; font-weight: 400; }
input[type="email"], input[type="text"], select {
  width: 100%; min-height: 48px; padding: 0.6rem 0.9rem; font: inherit; color: var(--ink);
  background: var(--card); border: 2px solid var(--ink-2); border-radius: 0.75rem;
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--orange-text); }
.check label { font-weight: 400; }
.notice { font-size: 0.95rem; color: var(--ink-2); background: var(--cream); border-radius: 0.75rem; padding: 0.9rem 1rem; margin-bottom: 1rem; }
.notice p:last-child { margin: 0; }
.error { color: var(--error); font-weight: 700; margin: 0.35rem 0 0; }
.turnstile { margin-bottom: 1.25rem; min-height: 65px; }
.status { margin-top: 1rem; font-weight: 700; }
.status:empty { display: none; }
.status.ok { color: var(--green-text); }
.status.fail { color: var(--error); }

/* Legal documents */
.doc { max-width: 44rem; padding-block: 1rem 3rem; }
.doc h2 { margin-top: 2rem; font-size: 1.4rem; }
.doc h3 { margin-top: 1.5rem; }
.doc li { margin-bottom: 0.4rem; }
.draft { background: var(--orange-soft); border-left: 6px solid var(--orange); border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 2rem; }
.draft p { margin: 0; }
.draft a { color: var(--ink); }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--card); border-radius: 0.75rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8E0D8; }
th { font-weight: 800; }

/* Footer */
.site-footer { padding-block: 2rem 3rem; color: var(--ink-2); }
.site-footer nav ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
