:root {
  --navy: #13224A;
  --navy-2: #0c1a3c;
  --blue: #0b4a8f;
  --orange: #F5841F;
  --orange-2: #ff6a13;
  --ink: #17203a;
  --muted: #5b6475;
  --bg: #ffffff;
  --soft: #f5f7fc;
  --line: #e4e8f1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(19, 34, 74, .10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8ecf6;
    --muted: #a8b2c8;
    --bg: #0b1226;
    --soft: #121c38;
    --line: #243157;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

:root[data-theme="dark"] {
  --ink: #e8ecf6;
  --muted: #a8b2c8;
  --bg: #0b1226;
  --soft: #121c38;
  --line: #243157;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
h2 { font-size: 34px; color: var(--navy); }
h3 { font-size: 19px; color: var(--ink); }
[data-theme="dark"] h2, :root:not([data-theme="light"]) h2 { color: #fff; }
a { color: var(--orange); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- header (also used by the policy pages) ---------- */
header.top, header:not(.top) {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) header.top, :root:not([data-theme="light"]) header:not(.top) { background: rgba(11, 18, 38, .92); }
}
header .wrap, header .bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 22px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }

header nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-left: 22px;
}
header nav a:hover { color: var(--orange); }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 132, 31, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
  box-shadow: none;
}
.btn.soon, .btn.soon:hover {
  background: rgba(255, 255, 255, .12);
  border: 1.5px dashed rgba(255, 255, 255, .8);
  color: #fff;
  box-shadow: none;
  cursor: default;
  transform: none;
}
header nav a.pill {
  background: var(--navy);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
}
.soon-pill {
  display: inline-block;
  background: rgba(245, 132, 31, .16);
  color: #ffb36b;
  border: 1px solid rgba(245, 132, 31, .55);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 72px 0 120px;
  background:
    linear-gradient(100deg, rgba(8, 22, 54, .86) 0%, rgba(8, 22, 54, .55) 55%, rgba(8, 22, 54, .15) 100%),
    url("assets/wave.webp") center 22% / cover no-repeat,
    var(--navy);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
}
.hero h1 { font-size: 56px; color: #fff; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 18px; color: #d7e0f3; max-width: 520px; margin: 0 0 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; }
.trust {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #c6d2ec;
  font-size: 14.5px;
}
.trust li::before { content: "\2713"; color: var(--orange); font-weight: 800; margin-right: 7px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 132, 31, .45), rgba(245, 132, 31, 0) 68%);
  top: 8%;
}
.hero-art img {
  position: relative;
  width: 100%;
  max-width: 470px;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- stats ---------- */
.stats { padding: 0; margin-top: -56px; position: relative; z-index: 2; }
.stats .box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.stats .num { font-size: 28px; font-weight: 800; color: var(--navy); }
[data-theme="dark"] .stats .num, :root:not([data-theme="light"]) .stats .num { color: #fff; }
.stats .num b { color: var(--orange); }
.stats small { color: var(--muted); font-size: 14px; }

/* ---------- feature rows ---------- */
.rows { display: grid; gap: 84px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.row.flip .art { order: 2; }
.art {
  position: relative;
  background: linear-gradient(145deg, var(--soft), var(--bg));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  display: flex;
  justify-content: center;
}
.art img { max-width: 360px; width: 100%; filter: drop-shadow(0 18px 24px rgba(19, 34, 74, .22)); }
.row p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: var(--ink); }
.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(245, 132, 31, .16);
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}

/* ---------- app preview ---------- */
.preview { background: var(--soft); }
.preview .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone-wrap { display: flex; justify-content: center; }
.phone-wrap svg { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 26px 36px rgba(19, 34, 74, .3)); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.mini {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.mini strong { display: block; color: var(--orange); font-size: 15px; }
.mini span { color: var(--muted); font-size: 14px; }

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 12%; right: 12%;
  border-top: 2px dashed var(--line);
}
.step { text-align: center; position: relative; }
.step .num {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(19, 34, 74, .3);
  border: 4px solid var(--bg);
}
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- sellers ---------- */
.sell .box {
  background:
    linear-gradient(110deg, rgba(8, 22, 54, .94), rgba(8, 22, 54, .72)),
    url("assets/wave.webp") center 70% / cover;
  border-radius: 28px;
  padding: 52px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.sell h2 { color: #fff; }
.sell p { color: #d1dbf0; margin: 0 0 20px; }
.sell img { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .4)); }

/* ---------- about ---------- */
.about { background: var(--soft); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { color: var(--muted); font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.fact strong { display: block; color: var(--orange); font-size: 14px; margin-bottom: 4px; }
.fact span { color: var(--ink); font-size: 15px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--bg);
  transition: box-shadow .2s ease;
}
.faq details[open] { background: var(--soft); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
  border-radius: 28px;
  padding: 48px 44px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn.soon { background: rgba(19, 34, 74, .9); border-color: var(--navy); position: relative; z-index: 1; }

/* ---------- footer ---------- */
footer.site, footer:not(.site) {
  background: var(--navy-2);
  color: #b9c4de;
  font-size: 14.5px;
}
footer.site { padding: 56px 0 28px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site .logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px;
  margin-bottom: 14px;
}
footer.site .logo-chip img { height: 44px; width: auto; }
footer.site h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
footer a { color: #b9c4de; text-decoration: none; }
footer a:hover { color: #fff; }
footer.site .cols a { display: block; margin-bottom: 8px; }
footer.site .copy { margin-top: 34px; padding-top: 20px; border-top: 1px solid #25375f; color: #8f9cbd; }

/* ---------- inner pages ---------- */
main { max-width: 820px; margin: 0 auto; padding: 48px 22px 56px; }
main h1 { font-size: 38px; color: var(--navy); }
[data-theme="dark"] main h1, :root:not([data-theme="light"]) main h1 { color: #fff; }
main h2 { font-size: 22px; margin-top: 30px; }
main ul, main ol { padding-left: 22px; }
main li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; }
.notice {
  background: var(--soft);
  border-left: 4px solid var(--orange);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  margin: 16px 0;
}
.placeholder { background: #fff3d6; color: #6b4a00; padding: 0 5px; border-radius: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
footer:not(.site) { padding: 22px 0; margin-top: 24px; }
footer:not(.site) .bar {
  max-width: 1120px; margin: 0 auto; padding: 0 22px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center;
}
footer:not(.site) nav a { margin-left: 16px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img { animation: none; }
}

/* ---------- tablet / phone ---------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  h2 { font-size: 28px; }
  .hero { padding: 44px 0 100px; }
  .hero-grid, .row, .preview .wrap, .about .wrap, .sell .box { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 300px; }
  .row.flip .art { order: 0; }
  .rows { gap: 56px; }
  .stats .box { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
  .sell .box { padding: 36px 26px; }
  .sell img { max-width: 220px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  header nav a:not(.pill) { display: none; }
  .brand img { height: 40px; }
  .hero h1 { font-size: 34px; }
  .facts, .mini-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  main h1 { font-size: 30px; }
  footer:not(.site) nav a { margin: 0 14px 0 0; }
}

/* logo sits on a white chip so the navy lettering stays readable in dark mode */
.brand img { background: #fff; border-radius: 12px; padding: 3px 8px; }

/* on a phone the hero is tall, so the white foot of the wave image would show; darken it */
@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(8, 22, 54, .72) 0%, rgba(8, 22, 54, .94) 100%),
      url("assets/wave.webp") center top / cover no-repeat,
      var(--navy);
  }
}

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 28px; align-items: start; }
.contact-grid .side { margin-top: 0; grid-template-columns: 1fr; }
.form { display: grid; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 132, 31, .2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .send { justify-self: start; }
.form .send[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; min-height: 22px; font-size: 14.5px; }
.form-status.ok { color: #1a9d55; }
.form-status.err { color: #e0443a; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
