/* Hermes Box waitlist. Same skin as the box: matte black, electric cyan, metallic gold.
   Brand register. OKLCH throughout, tinted neutrals, Sora local. */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/sora-latin.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;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/sora-latin-ext.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;
}

/* ---------- tokens ---------- */
:root {
  --base:    oklch(0.16 0.008 230);
  --base-2:  oklch(0.14 0.008 230);
  --panel:   oklch(0.21 0.008 230);
  --panel-2: oklch(0.25 0.008 230);
  --line:    oklch(0.32 0.010 230);
  --line-soft: oklch(0.32 0.010 230 / 0.5);
  --ink:     oklch(0.95 0.005 230);
  --muted:   oklch(0.68 0.012 235);
  --cyan:    oklch(0.78 0.13 215);
  --cyan-dk: oklch(0.68 0.12 218);
  --gold:    oklch(0.78 0.10 85);
  --error:   oklch(0.68 0.17 25);

  --maxw: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--base);
  color: var(--ink);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft cyan light coming from the top, like the glow off the box logo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 600px at 18% -8%, oklch(0.78 0.13 215 / 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, oklch(0.78 0.10 85 / 0.05), transparent 55%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.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;
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: oklch(0.16 0.008 230 / 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
header.scrolled { border-bottom-color: var(--line); background: oklch(0.15 0.008 230 / 0.9); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand img { height: 30px; width: auto; }

.langtoggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--panel);
}
.langtoggle button {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  color: var(--muted); font: inherit; font-size: 0.8rem; font-weight: 600;
  padding: 0.45rem 0.85rem; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.langtoggle button[aria-pressed="true"] { color: var(--base); background: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  appearance: none; cursor: pointer; font: inherit; font-weight: 700;
  border: 0; border-radius: 12px; padding: 0.95rem 1.4rem;
  color: oklch(0.16 0.02 230);
  background: linear-gradient(180deg, var(--cyan), var(--cyan-dk));
  box-shadow: 0 6px 22px oklch(0.78 0.13 215 / 0.22);
  transition: filter 0.2s var(--ease), transform 0.1s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px oklch(0.78 0.13 215 / 0.3); }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .logo-lead { height: clamp(54px, 7vw, 82px); width: auto; margin-bottom: 1.6rem; }
.kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.02em; max-width: 16ch;
}
.subhead { margin-top: 1.25rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 46ch; }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.55);
}
.hero-photo::after {
  content: ""; position: absolute; inset: -10% -6% auto auto; width: 60%; height: 60%;
  background: radial-gradient(circle, oklch(0.78 0.13 215 / 0.18), transparent 70%);
  z-index: -1; filter: blur(8px);
}

/* ---------- signup ---------- */
.signup { margin-top: 2rem; max-width: 30rem; }
.field { display: flex; gap: 0.6rem; }
.field input[type="email"] {
  flex: 1; min-width: 0; font: inherit; color: var(--ink);
  background: oklch(0.13 0.008 230); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.95rem 1rem; min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: oklch(0.55 0.01 235); }
.field input:focus-visible {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px oklch(0.78 0.13 215 / 0.16);
}
.trust { margin-top: 0.85rem; font-size: 0.82rem; color: var(--muted); }
.signup-status {
  margin-top: 1rem; font-size: 0.95rem; padding: 0.9rem 1.1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}
.signup-status.ok { border-color: var(--cyan); color: var(--ink); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.mc-sink { display: none; }

/* ---------- section frame ---------- */
section.block { position: relative; z-index: 1; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- pillars (compact) ---------- */
.pillars { border-top: 1px solid var(--line-soft); }
.pillars-head { margin-bottom: clamp(1rem, 2.5vw, 1.8rem); }
.pillars-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 0.5rem; }
.pillar {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.9rem; align-items: start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft);
}
.pillar:last-child { border-bottom: 0; }
.pillar .idx {
  font-size: 0.9rem; font-weight: 800; line-height: 1.45; color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.pillar h2 { font-size: 1.08rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; max-width: 44ch; }
.pillar p { margin-top: 0.3rem; color: var(--muted); font-size: 0.9rem; max-width: 68ch; }
.pillar .lead-ink { color: var(--ink); }

.note {
  margin-top: 0.8rem; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.8rem 1rem; max-width: 66ch;
}
.note .tag {
  display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.note p { margin-top: 0; color: var(--muted); font-size: 0.85rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.chip {
  font-size: 0.78rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem;
  background: var(--panel);
}

/* ---------- tiers ---------- */
.tiers { border-top: 1px solid var(--line-soft); }
.tiers-head { text-align: center; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.tiers-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 0.6rem; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.tier {
  display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tier:hover { transform: translateY(-4px); border-color: oklch(0.40 0.02 225); }
.tier .photo { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.tier .photo img { width: 100%; height: 100%; object-fit: cover; }
.tier .body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tier .name { font-size: 1.18rem; font-weight: 700; }
.kind {
  align-self: flex-start; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: 999px; padding: 0.25rem 0.6rem; margin-bottom: 0.7rem;
}
.kind-cloud { color: var(--muted); border: 1px solid var(--line); }
.kind-local { color: var(--cyan); border: 1px solid oklch(0.78 0.13 215 / 0.4); }
.spec { margin-top: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--ink); opacity: 0.85; letter-spacing: 0.01em; }
.spec-note { margin-top: 0.3rem; font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
.feat { list-style: none; margin: 0.85rem 0 0; display: grid; gap: 0.4rem; }
.feat li { position: relative; padding-left: 1.05rem; font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.feat li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.price { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: baseline; gap: 0.55rem; }
.price .num { font-size: 1.9rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.price .early { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.price-after { margin-top: 0.25rem; font-size: 0.82rem; color: var(--muted); }
.tiers-foot { text-align: center; margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- closing ---------- */
.closing { border-top: 1px solid var(--line-soft); text-align: center; }
.closing h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
.closing p.lead { margin: 1rem auto 0; color: var(--muted); max-width: 48ch; }
.closing .signup { margin-inline: auto; }
.closing .field { justify-content: center; }

/* ---------- footer ---------- */
footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.foot img { height: 26px; opacity: 0.9; }
.foot p { font-size: 0.82rem; color: var(--muted); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- videos ---------- */
.videos { border-top: 1px solid var(--line-soft); }
.videos-head { text-align: center; max-width: 680px; margin: 0 auto clamp(1.8rem, 3vw, 2.6rem); }
.videos-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 0.6rem; }
.videos-sub { margin-top: 0.6rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.video-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin-inline: auto; }
.video-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin-inline: auto; }
.video-card {
  margin: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px oklch(0.10 0.008 230 / 0.4);
}
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--base-2); object-fit: cover; }
.video-title { padding: 0.85rem 1rem; font-size: 1rem; font-weight: 700; color: var(--ink); text-align: center; letter-spacing: -0.01em; }
.video-lang { font-weight: 400; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  h1 { max-width: 100%; }
  .pillar { grid-template-columns: 2rem 1fr; gap: 0.7rem; }
  .pillar .idx { font-size: 0.88rem; }
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
  .video-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
