/* Heracles landing. Theme v3 "Court", transcribed from
   heracles-mobile/lib/core/theme/app_colors.dart. The site is a fourth face of one app:
   these values are copied, never re-picked. */

:root {
  --bg: #080D18;
  --bg-deep: #05090F;
  --card: #10182A;
  --inset: #0B1220;
  --sheet: #121B2E;
  --border: #1D2942;
  --hairline: #152036;
  --accent: #C6F24E;
  --accent-soft: rgba(198, 242, 78, 0.14);
  --on-accent: #0A1020;
  --good: #4ADE80;
  --warn: #FBBF24;
  --text: #F4F7FF;
  --text-2: #CBD5E8;
  --muted: #93A3C0;
  --faint: #64748B;
  --radius-card: 22px;
  --radius-pill: 14px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 24, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); }
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.01em; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; display: block; }

.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- buttons ---------- */

.store-button {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-pill);
  padding: 12px 22px 12px 18px;
  font-weight: 700;
  box-shadow: 0 0 34px rgba(198, 242, 78, 0.22);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.store-button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 44px rgba(198, 242, 78, 0.34); }
.store-button svg { width: 24px; height: 24px; fill: var(--on-accent); }
.store-button .lines { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-button .lines span:first-child { font-size: 11px; font-weight: 600; opacity: 0.72; letter-spacing: 0.04em; text-transform: uppercase; }
.store-button .lines span:last-child { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.store-button.small { padding: 9px 16px 9px 14px; box-shadow: none; }
.store-button.small svg { width: 18px; height: 18px; }
.store-button.small .lines span:last-child { font-size: 14px; }
.store-button.small .lines span:first-child { display: none; }

.ghost-button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 12px 20px; color: var(--text-2); font-weight: 600; font-size: 15px;
}
.ghost-button:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }

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

h1, h2, h3 { letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ---------- hero ---------- */

.hero { position: relative; padding: 76px 0 92px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -220px 0 auto 50%;
  width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198, 242, 78, 0.13) 0%, rgba(198, 242, 78, 0) 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--faint); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(198, 242, 78, 0.28);
  border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- device frames ---------- */

.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; }

.phone {
  position: relative;
  width: 300px; flex: none;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #263148 0%, #0C1322 44%, #1C2739 100%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 999px; background: #05070D;
}
.phone img { border-radius: 37px; width: 100%; }
.phone.sm { width: 232px; border-radius: 38px; padding: 8px; }
.phone.sm::after { width: 72px; height: 20px; top: 18px; }
.phone.sm img { border-radius: 31px; }

.watch {
  position: relative; width: 186px; flex: none;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(150deg, #2A344A 0%, #0B1220 50%, #1E2839 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.watch::before, .watch::after {
  content: ""; position: absolute; right: -5px; width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, #37425C, #131B2B);
}
.watch::before { top: 58px; height: 34px; }
.watch::after { top: 104px; height: 20px; }
.watch img { border-radius: 38px; width: 100%; }
.watch .band {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 118px; height: 58px; background: linear-gradient(180deg, #1A2335, #10182A);
  border-radius: 0 0 26px 26px; z-index: -1;
}
.watch .band.top { top: -46px; border-radius: 26px 26px 0 0; }
.watch .band.bottom { bottom: -46px; }

.hero .stage .watch { margin-left: -56px; margin-bottom: 34px; z-index: 2; }

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

section { padding: 92px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 54px; }
.section-head p { margin: 14px 0 0; }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 26px 30px;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* alternating feature rows */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 58px 0; }
.feature + .feature { border-top: 1px solid var(--hairline); }
.feature .copy h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; letter-spacing: -0.02em; }
.feature .copy p { color: var(--muted); margin: 0 0 14px; }
.feature .copy p:last-child { margin-bottom: 0; }
.feature.flip .shot { order: -1; }
.feature .shot { display: flex; justify-content: center; }

/* watch band section */

.watch-section { background: var(--bg-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.watch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.watch-pair { display: flex; justify-content: center; gap: 34px; }
.watch-pair .watch:last-child { margin-top: 54px; }

/* evidence */

.quote-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 26px 28px; margin: 22px 0 0;
}
.quote-card blockquote { margin: 0 0 12px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.quote-card .src { font-size: 13px; color: var(--faint); }
.quote-card .src strong { color: var(--muted); font-weight: 600; }

/* price */

.price-card {
  background: linear-gradient(180deg, var(--sheet), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 40px; max-width: 720px;
}
.price-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }
.price-tile {
  flex: 1 1 220px; background: var(--inset); border: 1px solid var(--border);
  border-radius: 18px; padding: 20px 22px;
}
.price-tile .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.price-tile .per { font-size: 14px; color: var(--muted); }
.price-tile .note { font-size: 13px; color: var(--accent); margin-top: 6px; font-weight: 600; }
.price-tile.year { border-color: rgba(198, 242, 78, 0.35); }

.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--hairline); color: var(--text-2); font-size: 16px; }
.checks li:first-child { border-top: 0; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: var(--accent); }

/* two-column plain text */

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--muted); margin: 0; }

/* faq */

.faq { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--hairline); padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 68ch; }

/* closing cta */

.closing { text-align: center; position: relative; overflow: hidden; }
.closing::before {
  content: ""; position: absolute; left: 50%; bottom: -320px; width: 820px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198, 242, 78, 0.16) 0%, rgba(198, 242, 78, 0) 65%);
  pointer-events: none;
}
.closing .wrap { position: relative; }
.closing h2 { max-width: 18ch; margin: 0 auto 18px; }
.closing .lede { margin: 0 auto 30px; }
.closing .hero-actions { justify-content: center; }

/* footer */

.site-footer { border-top: 1px solid var(--hairline); padding: 46px 0 60px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; align-items: flex-start; }
.site-footer .links a { color: var(--muted); font-weight: 500; }
.site-footer p { margin: 12px 0 0; max-width: 56ch; }

/* reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap, .watch-grid, .feature, .cols { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 72px; }
  .feature.flip .shot { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .links { justify-content: flex-start; }
  section { padding: 72px 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-nav { display: none; }
  .hero .stage { flex-direction: column; align-items: center; }
  .hero .stage .watch { width: 128px; margin: -64px 0 0 128px; }
  .phone { width: 262px; }
  .watch-pair { gap: 18px; }
  .watch { width: 150px; }
  .watch-pair .watch:last-child { margin-top: 34px; }
  .price-card { padding: 26px 22px; }
}
