/* Zunoyo landing — direction B "Night" */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2-variations");
  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: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/geist-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0A0A0C;
  --surface: #141418;
  --line: #2C2C33;
  --line-strong: #3A3A42;
  --text: #F4F4F5;
  --text-2: #B4B4BC;
  --text-3: #A1A1AA;
  --placeholder: #8A8A94;
  --lime: #D4FF3A;
  --on-lime: #0A0A0C;
  --on-lime-2: #2A2F12;
  --error: #FF8A7A;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 12px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--lime); }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }

.page {
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: flex; align-items: center; gap: 4px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.05em; }
.logo:hover { color: var(--text); }
.logo__dot { width: 9px; height: 9px; margin-top: 10px; border-radius: 50%; background: var(--lime); }
.pill-link {
  display: flex; align-items: center; height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.pill-link:hover { background: var(--lime); color: var(--on-lime); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 88px; padding-bottom: 72px; text-align: center; }
.hero > * { position: relative; }
.hero__glow {
  position: absolute; top: 40px; left: 50%; width: 720px; height: 420px; margin-left: -360px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 255, 58, .16), rgba(212, 255, 58, 0));
}
.badge {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #D4D4D8;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.hero__title {
  max-width: 1200px;
  font-size: clamp(44px, 8.2vw, 120px); line-height: 0.95; letter-spacing: -0.055em; font-weight: 800;
  text-wrap: balance;
}
.hl { display: inline-block; margin-top: 0.1em; padding: 0.02em 0.14em 0.12em; border-radius: 0.12em; background: var(--lime); color: var(--on-lime); }
.hero__lead { max-width: 620px; font-size: 20px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero__note { max-width: 620px; margin-top: -8px; font-size: 15px; color: var(--text-3); text-wrap: pretty; }

/* Floating chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 14px; text-align: left;
}
.chip--a { top: 500px; left: 24px; animation: float 6s ease-in-out infinite; }
.chip--b { top: 420px; right: 24px; animation: float 7s ease-in-out -2s infinite; }
.chip__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: var(--on-lime); }
.chip__icon--lime { background: var(--lime); }
.chip__icon--light { background: var(--text); }
.chip__text { display: flex; flex-direction: column; line-height: 1.35; }
.chip__text strong { font-weight: 600; }
.chip__text span { font-size: 12px; color: var(--text-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

/* Join box + form */
.join {
  width: 100%; max-width: 960px; margin-top: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(20, 20, 24, .85);
  text-align: left;
}
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--submit { justify-content: flex-end; }
.field label {
  padding-left: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.field input, .field select {
  width: 100%; height: 56px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  color: var(--text); font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field select:invalid { color: var(--placeholder); }
.field select option { color: var(--text); background: var(--surface); }
.field input::placeholder { color: var(--placeholder); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212, 255, 58, .18); outline: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { padding-left: 4px; font-size: 13px; color: var(--error); }
.field__error--consent { padding: 0 6px; margin-top: -6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 24px; border: 0; border-radius: var(--radius);
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn--primary { background: var(--lime); color: var(--on-lime); }
.btn--primary:hover { color: var(--on-lime); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(212, 255, 58, .55); }
.btn--lg { height: 60px; padding: 0 32px; border-radius: 14px; font-size: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

.consent { display: flex; gap: 10px; align-items: flex-start; padding: 4px 6px 6px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lime); cursor: pointer; }
.consent label { cursor: pointer; }
.form-status { padding: 0 6px 6px; font-size: 13px; color: var(--error); }

/* Honeypot — off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.success { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; }
.success__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); color: var(--on-lime); }
.success__title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; outline: none; }
.success__text { font-size: 15px; color: var(--text-2); }

/* How it works */
.how { display: flex; flex-direction: column; gap: 40px; padding-top: 72px; padding-bottom: 96px; }
.how__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.how__title { font-size: clamp(36px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 800; }
.how__kicker { max-width: 360px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; text-transform: uppercase; color: var(--text-3); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 56px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.card__step { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; color: var(--lime); }
.card__body { display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 32px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.card__body p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.card--lime { border-color: var(--lime); background: var(--lime); color: var(--on-lime); }
.card--lime .card__step { color: var(--on-lime); }
.card--lime .card__body p { color: var(--on-lime-2); }

/* CTA */
.cta { padding-bottom: 96px; }
.cta__box {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--line); border-radius: 28px; background: var(--surface); text-align: center;
}
.cta__box > * { position: relative; }
.cta__glow {
  position: absolute; bottom: -260px; left: 50%; width: 640px; height: 400px; margin-left: -320px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212, 255, 58, .22), rgba(212, 255, 58, 0));
}
.cta__box > .cta__glow { position: absolute; }
.cta__title { font-size: clamp(36px, 6.4vw, 96px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 800; text-wrap: balance; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  padding-bottom: 40px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-3);
}
.site-footer__nav { display: flex; gap: 24px; }

/* Tablet / phone: chips join the flow between lead and form */
@media (max-width: 1100px) {
  .hero { padding-top: 48px; gap: 24px; }
  .chip { position: static; animation: none; order: 1; }
  .join { order: 2; }
  .hero__note { order: 3; }
}
