/* STRK — shared styles for the marketing and legal pages */

:root {
  --bg: #08080c;
  --bg-elevated: #101018;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f2f7;
  --text-muted: #a3a3b3;
  --text-dim: #74748a;

  --brand: #6d3bf5;
  --brand-bright: #8b5cf6;
  --brand-soft: rgba(109, 59, 245, 0.14);
  --accent: #3b82f6;
  --pink: #ff5da2;
  --lime: #c8ff2e;
  --cyan: #4de3ff;

  --radius: 14px;
  --radius-lg: 22px;
  --measure: 68ch;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background glow, replaces the old animated gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 15% -10%, rgba(109, 59, 245, 0.28), transparent 65%),
    radial-gradient(50rem 35rem at 90% 5%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(70rem 50rem at 50% 110%, rgba(139, 92, 246, 0.1), transparent 70%);
}

a {
  color: var(--brand-bright);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #a78bfa;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(8, 8, 12, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 560px) {
  .site-nav {
    gap: 18px;
    font-size: 13.5px;
  }
  .site-nav .site-nav__optional {
    display: none;
  }
}

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

.hero {
  padding: clamp(48px, 9vw, 104px) 0 clamp(48px, 8vw, 88px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 940px) {
  .hero__visual {
    margin-top: 12px;
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    justify-items: center;
  }
  .hero .store-row {
    justify-content: center;
  }
  .hero__trust {
    justify-content: center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--brand-soft);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 720;
  background: linear-gradient(180deg, #ffffff 25%, #b9b4d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-bright), var(--pink) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.chip svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------- store links */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.store-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(109, 59, 245, 0.9);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: currentColor;
}

.store-btn__label {
  text-align: left;
  line-height: 1.25;
}

.store-btn__label small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.store-btn__label strong {
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------- section */

.section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.section__head {
  max-width: 44ch;
  margin: 0 0 40px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 670;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

/* ----------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--border);
}

.card__icon svg {
  width: 21px;
  height: 21px;
  stroke: #c4b5fd;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ plan */

.plan-note {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(109, 59, 245, 0.12), rgba(255, 255, 255, 0.02));
}

.plan-note h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 620;
}

.plan-note p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: var(--measure);
}

.plan-note p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------- legal layout */

.legal-hero {
  padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 700;
}

.legal-hero .updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13.5px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0 96px;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.toc {
  position: sticky;
  top: 96px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .toc {
    position: static;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
  }
}

.toc__title {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 640;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.toc a {
  display: block;
  padding: 6px 12px;
  border-left: 2px solid var(--border);
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.toc a:hover {
  color: var(--text);
  background: var(--surface);
}

.toc a.is-active {
  color: var(--text);
  border-left-color: var(--brand-bright);
  background: var(--brand-soft);
}

/* ---------------------------------------------------------- legal prose */

.prose {
  max-width: var(--measure);
}

.prose section + section {
  margin-top: 44px;
}

.prose h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  scroll-margin-top: 96px;
}

.prose p {
  margin: 0 0 15px;
  color: #cdcdd8;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  margin: 0 0 15px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  color: #cdcdd8;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
  opacity: 0.85;
}

.prose strong {
  color: var(--text);
  font-weight: 620;
}

.callout {
  margin: 0 0 15px;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-bright);
  background: var(--surface);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--warn {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer nav a {
  color: var(--text-muted);
}

.site-footer nav a:hover {
  color: var(--text);
}

/* ----------------------------------------------------------- phone mock */

.phone {
  position: relative;
  width: min(100%, 302px);
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a38, #101018 60%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 50px 100px -40px rgba(109, 59, 245, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.6) inset;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 37px;
  background: #0b0b12;
}

/* ---------------------------------------------------------- marquee band */

.marquee {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: slide 32s linear infinite;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee span::after {
  content: "◆";
  font-size: 8px;
  color: var(--brand-bright);
}

/* ----------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 680;
  color: #0b0b12;
  background: linear-gradient(140deg, var(--lime), #8ee62e);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ------------------------------------------------------------ safety row */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 15.5px;
}

.check-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list b {
  color: var(--text);
  font-weight: 620;
}

/* ------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--brand-bright);
}

.faq .faq__body {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 62ch;
}

/* ------------------------------------------------------------------- cta */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 72px) clamp(24px, 5vw, 60px);
  border-radius: 30px;
  border: 1px solid var(--border-strong);
  text-align: center;
  background:
    radial-gradient(40rem 20rem at 50% 0%, rgba(109, 59, 245, 0.4), transparent 70%),
    radial-gradient(30rem 18rem at 85% 100%, rgba(255, 93, 162, 0.25), transparent 70%),
    var(--bg-elevated);
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.cta p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 17px;
}

.cta .store-row {
  justify-content: center;
}

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