/* STRIKE marketing site. Palette is taken from the app icon:
   tile #175676, arrow #78A9F6 (original #4176D1), canvas #F6F5F3. */

:root {
  --bg: #F6F5F3;
  --bg-soft: #ECEFEA;
  --surface: #FFFFFF;
  --ink: #111A20;
  --ink-2: #4A5A63;
  --rule: #DCE1DA;
  --field-border: #8D9AA1;
  --brand: #175676;
  --brand-deep: #0F3F57;
  --accent: #4176D1;
  --on-brand: #FFFFFF;
  --band-bg: #0F3F57;
  --band-ink: #FFFFFF;
  --band-ink-2: #C3D8E4;
  --band-card: rgba(255, 255, 255, 0.08);
  --band-rule: rgba(255, 255, 255, 0.18);
  --tag-bg: #E4EAF3;
  --tag-free-bg: #DDEFE6;
  --tag-ink: #111A20;
  --error: #A32B23;
  --link: #175676;
  --focus: #4176D1;
  --shadow: 0 1px 2px rgba(17, 26, 32, .06), 0 8px 24px rgba(17, 26, 32, .08);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1A22;
    --bg-soft: #0F212B;
    --surface: #12262F;
    --ink: #EAF0F3;
    --ink-2: #A8B8C0;
    --rule: #223943;
    --field-border: #5F7683;
    --brand: #E8F2F7;
    --brand-deep: #FFFFFF;
    --on-brand: #0C2A38;
    --band-bg: #081218;
    --band-card: rgba(255, 255, 255, 0.06);
    --tag-bg: #1D3442;
    --tag-free-bg: #1B3A30;
    --tag-ink: #EAF0F3;
    --error: #FF9C94;
    --link: #8CC4E4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--link); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav ul { display: flex; align-items: center; gap: 28px; }
.nav li a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav li a:not(.btn):hover { color: var(--ink); }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; font-size: 1.15rem;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; text-align: center;
  background: var(--brand); color: var(--on-brand);
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--brand);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink-2); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; letter-spacing: .12em;
  background: var(--brand); color: var(--on-brand); font-size: .72rem;
}

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink-2); margin: 22px 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-facts li::before { content: "\2713"; color: var(--accent); font-weight: 800; margin-right: 8px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(100%, 360px); border-radius: 22.5%;
  box-shadow: 0 24px 60px rgba(15, 63, 87, .28);
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 42em; margin-bottom: 44px; }
.section-sub { margin-top: 14px; color: var(--ink-2); }
.band-soft { background: var(--bg-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li {
  font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--tag-bg); color: var(--tag-ink);
}

/* Workflow band */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .eyebrow, .band .section-sub { color: var(--band-ink-2); }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pipeline li {
  position: relative; background: var(--band-card); border: 1px solid var(--band-rule);
  border-radius: var(--radius); padding: 22px 20px 24px;
}
.pipeline li:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: -17px; width: 18px; height: 2px;
  background: #78A9F6;
}
.pipeline h3 { margin: 12px 0 8px; }
.pipeline p { color: var(--band-ink-2); font-size: .95rem; }
.step {
  display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .9rem;
}

/* API keys */
.key-groups { display: grid; gap: 32px; }
.group-title {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 12px;
}
.keys {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.keys li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 20px 24px;
}
.keys li + li { border-top: 1px solid var(--rule); }
.keys h4 { margin-bottom: 4px; }
.keys p { color: var(--ink-2); font-size: .98rem; max-width: 46em; }
.or { font-weight: 600; color: var(--ink-2); padding: 0 4px; }
.tag {
  flex: none; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--tag-bg); color: var(--tag-ink); white-space: nowrap;
}
.tag-free { background: var(--tag-free-bg); }
.note { margin-top: 24px; color: var(--ink-2); font-size: .95rem; }

/* Register */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.beta-steps { margin-top: 30px; display: grid; gap: 20px; }
.beta-steps li { display: flex; gap: 16px; align-items: flex-start; }
.beta-steps h3 { font-size: 1.05rem; margin-bottom: 2px; }
.beta-steps p { color: var(--ink-2); font-size: .98rem; }

.form-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 20px;
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--field-border); border-radius: 10px;
}
.field select { appearance: auto; }
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fine { margin-top: 14px; color: var(--ink-2); font-size: .85rem; }
.form-status { margin-top: 12px; min-height: 1.4em; font-weight: 600; font-size: .95rem; }
.form-status.error { color: var(--error); }
.form-status.pending { color: var(--ink-2); }

.form-success { text-align: center; padding: 24px 0; }
.form-success:focus { outline: none; }
.form-success .check {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-size: 1.6rem; font-weight: 800; margin-bottom: 18px;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }
.form-success strong { color: var(--ink); overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.brand-footer { font-size: 1rem; }
.disclaimer { color: var(--ink-2); font-size: .85rem; max-width: 52em; display: grid; gap: 10px; }

/* Legal pages (terms, risk disclosure, privacy) */
.legal-page { padding: clamp(32px, 6vw, 64px) 0 clamp(48px, 8vw, 96px); }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 12px; }
.legal .meta { color: var(--ink-2); font-size: .95rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 14px; scroll-margin-top: 80px; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 14px; }
.legal ol.alpha { list-style: lower-alpha; padding-left: 1.6em; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal .num { font-weight: 700; margin-right: 6px; }
.legal .caps { text-transform: uppercase; font-size: .9rem; line-height: 1.55; letter-spacing: .01em; }
.legal-toc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.legal-toc h2 { font-size: 1rem; margin: 0 0 10px; }
.legal-toc ol { list-style: none; columns: 2; column-gap: 32px; font-size: .95rem; }
.legal-toc li { margin-bottom: 4px; break-inside: avoid; }
.draft-banner {
  border: 2px dashed var(--field-border); border-radius: var(--radius);
  background: var(--surface); padding: 16px 20px; margin-bottom: 28px; font-size: .95rem;
}
.drafting-notes { border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 28px; background: var(--surface); }
.drafting-notes summary { cursor: pointer; font-weight: 700; }
.drafting-notes ul { margin-top: 12px; font-size: .95rem; }
mark.ph { background: #FFE98A; color: #111A20; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) mark.ph { background: #6B5800; color: #FFF6CF; } }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 4px; }
.legal-links a { color: var(--ink-2); font-weight: 600; }

/* Contact section (pre-launch page) */
.contact .section-sub { max-width: 40em; }

/* Analytics consent banner + footer settings button */
.consent {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--field-border);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
}
.consent-body { flex: 1 1 360px; font-size: .92rem; line-height: 1.5; }
.consent-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 2px; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink-2); text-decoration: underline;
}
.link-btn:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li::after { display: none; }
}

@media (max-width: 720px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .hero-art img { width: 200px; }
  .nav li:not(:last-child) { display: none; }
  .cards, .pipeline { grid-template-columns: 1fr; }
  .keys li { flex-direction: column; gap: 10px; padding: 18px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .legal-toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
