@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-latin.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #131b26;          /* same navy as the logo background */
  --text: #eef1f5;
  --muted: #a3adbb;
  --border: #2b3748;
  --field: #1b2533;
  --brand: #f7a325;
  --brand-hover: #ffb84d;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1.2em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* Logo */
.wordmark { font-family: "Poppins", "Inter", sans-serif; font-weight: 700; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; color: #fff; }
.wordmark .dot { color: var(--brand); }
.wordmark--sm { font-size: 1.3rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav__links { display: none; } }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero__inner { text-align: center; max-width: 760px; }
.hero .lead { max-width: 620px; margin: 0 auto 2rem; }

/* Sign-up form */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; margin: 0 auto; }
.signup input {
  flex: 1 1 200px; min-width: 0; padding: .85em 1.1em; border-radius: 10px;
  border: 1px solid var(--border); background: var(--field); color: var(--text); font: inherit;
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.signup .btn { flex: 0 0 auto; }
@media (max-width: 560px) { .signup .btn { flex: 1 1 100%; } }
.signup__msg { flex: 1 1 100%; min-height: 1.5em; margin: 4px 0 0; font-weight: 500; color: var(--brand); }

.btn {
  padding: .85em 1.8em; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--brand); color: #131b26; font: inherit; font-weight: 700;
}
.btn:hover { background: var(--brand-hover); }

/* Sections */
.section { padding: 80px 0; }
.section--line { border-top: 1px solid var(--border); }
#mission { border-top: 1px solid var(--border); }

.cols { display: grid; gap: 40px; }
@media (min-width: 760px) {
  .cols--2 { grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
  .cols--3 { grid-template-columns: repeat(3, 1fr); }
}
.cols p { color: var(--muted); }
.num { display: block; color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 0 0 .7em 20px; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer p { color: var(--muted); font-size: .9rem; margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { color: var(--muted); font-size: .9rem; }
.footer nav a:hover { color: var(--text); }

.fine a, .legal a { color: var(--text); text-decoration: underline; }

/* Legal pages */
.legal { max-width: 720px; padding: 72px 16px 88px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin: 2.2em 0 .6em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-size: .9rem; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Invite panel */
.invited { color: var(--brand); font-weight: 600; margin: 0 0 1rem; }
.invite { text-align: left; max-width: 640px; margin: 0 auto; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--field); }
.invite__title { font-size: 1.3rem; font-weight: 700; margin-bottom: .4em; }
.invite__text { color: var(--muted); }
.invite__text strong { color: var(--text); }
.invite__count { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.invite__num { color: var(--brand); font-weight: 700; font-size: 1.1rem; }
.bar { height: 8px; background: var(--border); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .4s; }
.invite__link { display: flex; flex-wrap: wrap; gap: 8px; }
.invite__link input { flex: 1 1 240px; min-width: 0; padding: .85em 1em; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: .92rem; }
.invite__wa { display: inline-block; margin-top: 14px; color: var(--muted); font-size: .92rem; text-decoration: underline; }
.invite__wa:hover { color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--border); }
.signup[hidden], .invite[hidden] { display: none; }
.intro { max-width: 760px; margin-bottom: 2.5rem; }
.legal .eyebrow { color: var(--brand); }
