/* Leaderfish teaser lander. Brand: ink #0B1A20, ink-2 #12252C, lime #CDF545 (only on ink). Archivo, self-hosted. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B1A20;
  --ink-2: #12252C;
  --lime: #CDF545;
  --lime-hover: #E4FA8C;
  --white: #FFFFFF;
  --text-2: #C9D2CF;
  --text-3: #A9B4B1;
  --line: rgba(255, 255, 255, 0.3);
  --gutter: clamp(20px, 6.95vw, 100px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 24px; width: auto; }
.header-tag { display: none; margin: 0; font-size: 15px; font-weight: 600; color: var(--text-3); }

/* Main */
.main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 8px; padding-bottom: 28px; }
.hero { display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
.headline {
  margin: 0;
  font-weight: 900;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  white-space: nowrap;
  /* "EVERY ANGLER." is about 8.6em wide: fill the column, never overflow it. */
  font-size: clamp(30px, calc(100cqi / 8.55), 120px);
}
.headline span { display: block; }
.lime { color: var(--lime); }
.lede { margin: 0; font-size: 16px; line-height: 1.45; color: var(--text-2); max-width: 34ch; }

.lower { display: flex; flex-direction: column; gap: 22px; }
.launch { order: -1; }

/* Sign-up */
.signup, .signed-up { display: flex; flex-direction: column; gap: 10px; }
.signup-label { font-size: 19px; font-weight: 800; font-stretch: 112%; }
.signup-row { display: flex; flex-direction: column; gap: 10px; }
.signup input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--ink-2);
  color: var(--white);
  font: inherit;
  font-size: 16px; /* 16px stops iPhone zooming in */
}
.signup input[type="email"]::placeholder { color: #8C9996; }
.signup input[type="email"][aria-invalid="true"] { border-color: #FF9C8A; }
.btn-primary {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover { background: var(--lime-hover); }
.btn-primary[disabled] { opacity: 0.7; cursor: progress; }
.signup-msg { margin: 0; min-height: 0; font-size: 14px; line-height: 1.45; color: #FFB4A6; }
.signup-msg:empty { display: none; }
.share-line { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.share-line a { color: var(--white); font-weight: 600; }
.share-msg { color: var(--lime); font-weight: 600; }
.signed-up:focus { outline: none; }
.signed-up-title { margin: 0; font-size: 34px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; }
.signed-up-body { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }

/* Honeypot: off screen, out of the tab order, hidden from screen readers */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Launch card */
.launch {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas: "logo head" "count count" "cta cta";
  align-items: center;
  column-gap: 14px;
  row-gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.launch-logo { grid-area: logo; width: 88px; height: auto; }
.launch-head { grid-area: head; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }
.launch-line { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.live-now { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--white); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); display: inline-block; }
.countdown { grid-area: count; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cell { padding: 7px 0 6px; border-radius: 9px; background: var(--ink); text-align: center; }
.num { display: block; font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.unit { display: block; margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.btn-outline {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid var(--lime);
  color: var(--lime);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.btn-outline:hover { background: rgba(205, 245, 69, 0.08); }

/* Which words show depends on the comp's phase (site.js sets data-phase) */
.launch .when-live, .launch .when-after, .launch .lbl-results { display: none; }
.launch[data-phase="live"] .when-before, .launch[data-phase="after"] .when-before { display: none; }
.launch[data-phase="live"] .when-live, .launch[data-phase="after"] .when-after { display: block; }
.launch[data-phase="live"] .live-now.when-live { display: flex; }
.launch[data-phase="after"] .lbl-board { display: none; }
.launch[data-phase="after"] .lbl-results { display: inline; }

@media (min-width: 640px) {
  .launch { grid-template-columns: 168px minmax(0, 1fr); grid-template-areas: "logo head" "logo count" "logo cta"; column-gap: 24px; padding: 22px 24px; }
  .launch-logo { width: 168px; align-self: center; }
  .countdown { grid-template-columns: repeat(4, 70px); gap: 8px; }
  .num { font-size: 32px; }
  .unit { font-size: 10px; margin-top: 5px; }
  .eyebrow { font-size: 13px; }
  .launch-line { font-size: 14px; }
  .live-now { font-size: 28px; }
  .btn-outline { justify-self: start; min-height: 44px; }
}

/* Footer and ruler */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; white-space: nowrap; padding-top: 14px; padding-bottom: 14px; font-size: 12px; color: var(--text-3); }
.site-footer a { color: var(--text-3); display: inline-flex; align-items: center; min-height: 44px; }
.footer-tag { margin-right: auto; }
.site-footer > span:first-child { order: 2; }
.footer-tag { order: 1; }
.site-footer a { order: 3; }
.ruler {
  flex: none;
  height: 24px;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--lime) 0 3px, transparent 3px 40px),
    repeating-linear-gradient(90deg, transparent 0 20px, var(--lime) 20px 23px, transparent 23px 40px);
  background-size: 100% 16px, 100% 9px;
  background-repeat: no-repeat;
  border-top: 3px solid var(--lime);
}

@media (max-width: 359px) {
  .footer-tag { display: none; }
  .site-footer > span:first-child { margin-right: auto; }
}

@media (min-width: 720px) {
  .lede { font-size: 20px; max-width: none; }
  .signup-row { flex-direction: row; }
  .signup input[type="email"] { min-height: 60px; font-size: 17px; flex: 1; min-width: 0; }
  .btn-primary { min-height: 60px; }
  .signup-label { font-size: 21px; }
  .share-line { font-size: 14px; }
  .signed-up-title { font-size: 44px; }
}

@media (min-width: 1024px) {
  .site-header { padding-top: 24px; padding-bottom: 20px; }
  .brand img { height: 30px; }
  .header-tag { display: block; }
  .main { gap: 36px; padding-bottom: 28px; }
  .hero { gap: 22px; }
  .site-footer { font-size: 14px; padding-bottom: 16px; }
  .footer-tag { display: none; }
  .site-footer > span:first-child { order: 1; margin-right: auto; }
  .ruler { height: 30px; background-size: 100% 20px, 100% 11px; }
}

@media (min-width: 1200px) {
  .lower { flex-direction: row; align-items: stretch; gap: 48px; }
  .launch { order: 0; flex: 1 1 0; min-width: 0; }
  .signup-area { flex: 0 0 560px; display: flex; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
