/* Eight Twelve Labs. One stylesheet, system fonts, no scripts, nothing from anywhere else. */

:root {
  color-scheme: dark;
  --bg: #08080b;
  --surface: #111116;
  --surface-2: #18181f;
  --line: #24242e;
  --text: #f5f5f8;
  --muted: #a0a0ae;
  --dim: #63636e;
  --light: #ffc94d;
  --light-soft: rgba(255, 201, 77, 0.12);
  --light-glow: rgba(255, 201, 77, 0.35);
  --volt: #c6ff3d;
  --volt-soft: rgba(198, 255, 61, 0.12);
  --danger: #ff4d5e;
  --radius: 22px;
  --max: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe08f; }

:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* -- header --------------------------------------------------------------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }

.nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
@media (max-width: 520px) { .nav { gap: 14px; font-size: 14px; } .nav .hide-sm { display: none; } }

/* -- type ------------------------------------------------------------------ */

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 850; }
h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 20px 0 0; }
.muted { color: var(--muted); }
.glow { color: var(--light); text-shadow: 0 0 40px var(--light-glow); }

/* -- sections ---------------------------------------------------------------- */

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 201, 77, 0.16), transparent 62%);
  pointer-events: none;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 750;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
}
.btn:hover { color: var(--text); border-color: var(--dim); }
.btn.primary { background: var(--light); color: #14110a; border-color: var(--light); }
.btn.primary:hover { background: #ffd673; color: #14110a; }
.btn.soon { cursor: default; color: var(--muted); }
.btn.soon:hover { border-color: var(--line); color: var(--muted); }

/* -- cards and grids ------------------------------------------------------------ */

.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .grid.three { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

.promise h3 { display: flex; align-items: center; gap: 10px; }
.promise h3::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light);
  box-shadow: 0 0 14px var(--light-glow);
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--light);
  color: #14110a;
  font-weight: 850;
}

.callout {
  border: 1px solid var(--light-glow);
  background: var(--light-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 18px;
}
.callout p { margin: 0; color: var(--text); }

code, .mono { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

/* -- app card on the home page ------------------------------------------------------ */

.app-card {
  display: grid;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.08), transparent 55%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.app-card:hover { color: var(--text); border-color: rgba(198, 255, 61, 0.45); }
@media (min-width: 760px) { .app-card { grid-template-columns: auto 1fr auto; padding: 32px; } }
.app-card .icon { width: 96px; height: 96px; border-radius: 22px; }
.app-card p { color: var(--muted); margin: 6px 0 0; }
.app-card .go { color: var(--volt); font-weight: 750; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--volt-soft); color: var(--volt); margin-left: 8px; vertical-align: middle; }

/* -- app page ----------------------------------------------------------------------- */

.app { --light: var(--volt); --light-soft: var(--volt-soft); --light-glow: rgba(198, 255, 61, 0.35); }
.app .btn.primary { color: #0b0d05; }
.app .btn.primary:hover { background: #d6ff73; color: #0b0d05; }
.app .hero::before { background: radial-gradient(circle, rgba(198, 255, 61, 0.14), transparent 62%); }

.app-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app-hero { grid-template-columns: 1.1fr 0.9fr; } }
.app-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-title img { width: 72px; height: 72px; border-radius: 18px; }

.phone {
  border-radius: 34px;
  border: 1px solid #2e2e38;
  background: #000;
  padding: 7px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone img { border-radius: 28px; width: 100%; height: auto; }
.hero-phone { max-width: 320px; margin: 0 auto; }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 20px; }
.shots figure { flex: 0 0 240px; margin: 0; scroll-snap-align: start; }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }

.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .feature { grid-template-columns: 1fr 300px; } .feature.flip { grid-template-columns: 300px 1fr; } .feature.flip .phone { order: -1; } }
.feature .phone { max-width: 300px; margin: 0 auto; }
.feature ul { padding-left: 20px; color: var(--muted); }
.feature li { margin: 6px 0; }
.feature li strong { color: var(--text); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--text); width: 32%; font-weight: 700; }
td { color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 12px; }

.note { font-size: 14px; color: var(--dim); }

/* -- long-form pages ------------------------------------------------------------------ */

.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--light);
  font-size: 21px;
  color: var(--text);
}
.prose blockquote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; color: var(--muted); }

/* -- footer ------------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 4px 0; }
.quiet { font-style: italic; }
.eyebrow.flush { margin: 0; }

/* -- home: big hero ------------------------------------------------------------------ */

.hero.big { padding: 112px 0 104px; }
@media (min-width: 900px) { .hero.big { min-height: 78vh; display: flex; align-items: center; } }
.hero.big::before { animation: breathe 7s ease-in-out infinite; }
.hero.big::after {
  content: '8:12';
  position: absolute;
  right: -3vw;
  bottom: -9vw;
  font-size: 34vw;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 201, 77, 0.09);
  pointer-events: none;
}
.hero.big h1 { font-size: clamp(52px, 10vw, 112px); line-height: 0.98; letter-spacing: -0.045em; }
.hero.big .wrap { position: relative; z-index: 1; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1fr auto; } }
.hero-flame { display: none; width: 220px; height: auto; filter: drop-shadow(0 0 60px rgba(255, 170, 50, 0.55)); animation: flicker 5s ease-in-out infinite; transform-origin: 50% 100%; }
@media (min-width: 900px) { .hero-flame { display: block; margin-right: 40px; } }

.shine {
  background: linear-gradient(100deg, #fff4d1 0%, #ffc94d 45%, #ff8a1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 170, 50, 0.35));
}

@keyframes breathe { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.03, 0.98) rotate(-1deg); } 60% { transform: scale(0.98, 1.03) rotate(1deg); } }

/* -- ticker -------------------------------------------------------------------------- */

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--surface); }
.ticker-track { display: flex; width: max-content; animation: scroll 36s linear infinite; }
.ticker span { font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding: 0 28px; }
.ticker span::before { content: '\2726'; color: var(--light); margin-right: 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* -- home: app showcase -------------------------------------------------------------- */

.showcase { display: grid; gap: 16px; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1.3fr 1fr; } .showcase .offgrid { grid-row: span 2; } }

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.tile p { color: var(--muted); margin: 0; }
.tile h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tile .icon { width: 72px; height: 72px; border-radius: 18px; }
.tile .tag { margin-left: 0; }
.tag.gold { background: var(--light-soft); color: var(--light); }

a.tile { transition: border-color 0.2s, transform 0.2s; }
a.tile:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(198, 255, 61, 0.45); }
.tile .go { color: var(--volt); font-weight: 750; }

.tile.offgrid { background: radial-gradient(circle at 85% 0%, rgba(198, 255, 61, 0.16), transparent 55%), var(--surface); padding-bottom: 0; }
.tile.offgrid .peek { width: 78%; max-width: 320px; margin: 16px auto -38%; }
.tile.bible { background: radial-gradient(circle at 0% 0%, rgba(255, 201, 77, 0.2), transparent 60%), var(--surface); }
.tile.lab { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px), var(--surface); justify-content: center; }

.stats { display: flex; gap: 28px; margin: 8px 0 4px; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: 36px; font-weight: 850; letter-spacing: -0.03em; color: var(--volt); line-height: 1; }
.stats dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* -- home: values and closer --------------------------------------------------------- */

.values .card { position: relative; padding-top: 28px; }
.values .num { display: block; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--light); letter-spacing: 0.1em; margin-bottom: 18px; }

.closer { text-align: center; padding: 104px 0; background: radial-gradient(ellipse at 50% 100%, rgba(255, 201, 77, 0.12), transparent 60%); }
.closer blockquote { margin: 0 auto; max-width: 820px; font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
.closer cite { display: block; margin-top: 18px; font-size: 15px; font-style: normal; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); }
.actions.center { justify-content: center; margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  .hero.big::before, .hero-flame, .ticker-track { animation: none; }
  a.tile { transition: none; }
  a.tile:hover { transform: none; }
}
.closer-title { font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.045em; }
