/* Soltra marketing site — brand tokens from the app design system */

:root {
  --midnight: #0C1322;
  --street: #16243C;
  --sheet: #18243A;
  --card: #22324C;
  --divider: #35496A;
  --gold: #F3BD12;
  --ember: #A85A0C;
  --pale-gold: #FCE38A;
  --white-hot: #FFF6E0;
  --text: #EEF3FA;
  --text-2: #A6B6CC;
  --text-3: #6B7E99;
  --link: #5AC8E0;
  --radius: 18px;
  --wrap: 1120px;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--midnight);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 em { font-style: italic; color: var(--gold); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--midnight) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--divider) 40%, transparent);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 19px; letter-spacing: 0.02em;
}

.brand-hex { width: 20px; height: 20px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(243, 189, 18, 0.55)); }

.nav-cta {
  color: var(--gold); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--midnight); }

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

.hero { position: relative; padding: 84px 0 40px; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px; align-items: center;
}

.eyebrow {
  color: var(--gold); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}

.hero h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 22px; }

.lede { color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; }

.hero-copy .lede { margin-bottom: 34px; }

/* ---------- device frame ---------- */

.device {
  position: relative;
  border-radius: clamp(38px, 5.2vw, 54px);
  padding: clamp(8px, 1vw, 11px);
  background: linear-gradient(160deg, #3a4356, #12192a 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(243, 189, 18, 0.07);
}

.device img {
  border-radius: clamp(30px, 4.2vw, 44px);
  width: 100%;
}

.hero-shot { position: relative; max-width: 360px; justify-self: center; }

.hero-glow {
  position: absolute; inset: -18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(243, 189, 18, 0.16), transparent 70%);
  pointer-events: none;
}

/* ---------- waitlist form ---------- */

.waitlist { max-width: 480px; }

.waitlist-row { display: flex; gap: 10px; flex-wrap: wrap; }

.waitlist input[type="email"] {
  flex: 1 1 220px;
  background: var(--sheet);
  border: 1px solid var(--divider);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist input[type="email"]::placeholder { color: var(--text-3); }
.waitlist input[type="email"]:focus { border-color: var(--gold); }

.waitlist button {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--midnight);
  border: 0; border-radius: 12px;
  font-size: 16px; font-weight: 700;
  padding: 13px 22px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
  box-shadow: 0 0 22px rgba(243, 189, 18, 0.28);
}
.waitlist button:hover { filter: brightness(1.07); }
.waitlist button:active { transform: scale(0.98); }
.waitlist button[disabled] { opacity: 0.6; cursor: default; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.turnstile-slot { margin-top: 12px; min-height: 0; }
.turnstile-slot:not(:empty) { min-height: 65px; }

.form-note { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }
.form-note.ok { color: var(--pale-gold); }
.form-note.err { color: #E8A878; }

/* ---------- teaser feature blocks ---------- */

.feature-block { padding: 72px 0; border-top: 1px solid color-mix(in srgb, var(--divider) 35%, transparent); }
.feature-block.alt { background: color-mix(in srgb, var(--sheet) 40%, transparent); }
.feature-block .kicker { text-align: center; }
.feature-block h2 { font-size: clamp(30px, 3.8vw, 46px); text-align: center; margin-bottom: 14px; }
.feature-block .blurb { color: var(--text-2); max-width: 44em; margin: 0 auto 40px; text-align: center; }

.premium-tag {
  color: var(--pale-gold);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 999px; padding: 2px 10px;
  font-size: 12px; letter-spacing: 0.08em;
}

.shot-row { display: grid; gap: 28px; justify-content: center; }
.shot-row.two { grid-template-columns: repeat(2, minmax(0, 280px)); }
.shot-row.three { grid-template-columns: repeat(3, minmax(0, 250px)); }
.shot-row figure { margin: 0; }
.shot-row figcaption { text-align: center; color: var(--text-3); font-size: 13.5px; margin-top: 12px; }
.shot-row.cards { grid-template-columns: repeat(3, minmax(0, 300px)); }
.shot-row.cards img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.5); }

.feature-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.feature-split .device { max-width: 300px; justify-self: center; }
.feature-split .kicker, .feature-split h2, .feature-split .blurb { text-align: left; margin-left: 0; }
.feature-split.flip .feature-copy { order: 1; }
.feature-split.flip .device { order: 2; }

.promise { padding: 56px 0; text-align: center; }
.promise p {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--pale-gold); max-width: 30em; margin: 0 auto;
}
.promise strong { color: var(--gold); }

@media (max-width: 900px) {
  .shot-row.two, .shot-row.three, .shot-row.cards { grid-template-columns: minmax(0, 300px); }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split.flip .feature-copy { order: 1; }
  .feature-split.flip .device { order: 2; }
  .feature-split .kicker, .feature-split h2, .feature-split .blurb { text-align: center; }
}

/* ---------- features ---------- */

.features { padding: 60px 0 20px; }

.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
  padding: 56px 0;
  border-top: 1px solid color-mix(in srgb, var(--divider) 35%, transparent);
}
.feature:first-child { border-top: 0; }

.feature-solo { grid-template-columns: 1fr; text-align: center; }
.feature-solo .feature-copy { max-width: 620px; margin: 0 auto; }
.feature-solo p:not(.kicker) { margin: 0 auto; }

.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-shot { order: 1; }

.kicker {
  color: var(--gold); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}

.feature h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }

.feature p:not(.kicker) { color: var(--text-2); max-width: 32em; }

.feature-shot { max-width: 320px; justify-self: center; }

/* ---------- how it works ---------- */

.how { padding: 80px 0; }

.how-title { font-size: clamp(30px, 3.6vw, 44px); text-align: center; margin-bottom: 48px; }

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; list-style: none; counter-reset: step;
}

.steps li {
  background: var(--sheet);
  border: 1px solid color-mix(in srgb, var(--divider) 55%, transparent);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-n {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold); font-weight: 800; font-size: 15px;
  margin-bottom: 16px;
}

.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 15.5px; }

/* ---------- bottom CTA ---------- */

.cta {
  padding: 90px 0 100px;
  background:
    radial-gradient(60% 120% at 50% 100%, rgba(243, 189, 18, 0.10), transparent 70%),
    linear-gradient(var(--midnight), #0A1120);
}

.cta-inner { text-align: center; display: grid; justify-items: center; gap: 18px; }

.cta h2 { font-size: clamp(34px, 4.4vw, 54px); }

.cta .waitlist { margin-top: 10px; }
.cta .waitlist-row { justify-content: center; }
.cta .turnstile-slot { display: flex; justify-content: center; }

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

.footer { border-top: 1px solid color-mix(in srgb, var(--divider) 40%, transparent); padding: 26px 0; }

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  color: var(--text-3); font-size: 14.5px;
}

.footer a { color: var(--text-2); text-decoration: none; margin-left: 22px; }
.footer a:first-child { margin-left: 0; }
.footer a:hover { color: var(--gold); }

/* ---------- privacy page ---------- */

.doc { padding: 70px 0 90px; max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 10px; }
.doc .updated { color: var(--text-3); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc a { color: var(--link); }

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

@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { max-width: 300px; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-shot { order: 2; }
  .feature-shot { max-width: 280px; }
  .steps { grid-template-columns: 1fr; }
}
