@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap');

:root {
  --ink: #0e1a24;
  --ink-soft: #1c2e3d;
  --paper: #f3f6f4;
  --sea: #1f6f6a;
  --sea-deep: #134e4a;
  --amber: #e8a14a;
  --amber-hot: #d4892a;
  --text: #15222c;
  --muted: #5a6b76;
  --line: rgba(21, 34, 44, 0.12);
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 18px 50px rgba(14, 26, 36, 0.14);
  --max: 1080px;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(232, 161, 74, 0.18), transparent 55%),
    radial-gradient(800px 420px at 92% 0%, rgba(31, 111, 106, 0.14), transparent 50%),
    linear-gradient(180deg, #eef4f1 0%, var(--paper) 42%, #e8efeb 100%);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 16.5px;
}

a { color: var(--sea-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Top bar ───────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 244, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(14, 26, 36, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong { font-size: 1.15rem; font-weight: 800; }
.brand em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
}
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover,
.nav a.active { color: var(--ink); }

.lang-switch { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.lang-switch button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 68vw, 560px);
  display: flex;
  align-items: center;
  border-radius: 0 0 28px 28px;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: opacity 220ms ease;
  background: #0e1a24;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(8, 16, 22, 0.92) 0%, rgba(8, 16, 22, 0.72) 42%, rgba(8, 16, 22, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 16, 22, 0.5), transparent 50%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0 2.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem 2rem;
  align-items: center;
  color: #f7faf9;
}

.hero-copy { display: grid; gap: 0.85rem; max-width: 36rem; }

.eyebrow {
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 249, 0.72);
}

.hero-brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
}

.hero .lead {
  font-size: 1.05rem;
  color: rgba(247, 250, 249, 0.9);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.88rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-play {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(232, 161, 74, 0.35);
}
.btn-play:hover { background: var(--amber-hot); color: var(--ink); }

.btn-play-dark {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.btn-play-dark:hover { background: #f3f6f4; color: var(--ink); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin-top: 0.35rem;
}
.hero-proof li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Phone mockup */
.hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: min(240px, 70vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.phone-bezel {
  background: linear-gradient(160deg, #1a2732, #0b1218);
  border-radius: 34px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-notch {
  width: 42%;
  height: 18px;
  margin: 0 auto 10px;
  background: #05080b;
  border-radius: 0 0 12px 12px;
}

.phone-screen {
  background: linear-gradient(180deg, #143b38, #0f2428 55%, #1a2f2c);
  border-radius: 24px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #fff;
  text-align: center;
  padding: 1.4rem 1rem 1.8rem;
}

.phone-screen img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.phone-screen strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.phone-screen span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.phone-mic {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  margin-top: 0.6rem;
  background: radial-gradient(circle at 35% 30%, #f0b86a, var(--amber-hot));
  box-shadow: 0 0 0 10px rgba(232, 161, 74, 0.18);
  position: relative;
}
.phone-mic::after {
  content: '';
  position: absolute;
  inset: 22px 30px 18px;
  border-radius: 10px;
  background: rgba(14, 26, 36, 0.55);
}

.phone-shot { width: min(260px, 72vw); }
.phone-shot .phone-bezel { padding: 10px; }
.phone-shot-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #0b1218;
}

.shots { padding-top: 0.5rem; }
.shots-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 200px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shot-card {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b1218;
}
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.shot-card[hidden] { display: none !important; }

/* Compact banner on legal pages */
.page-banner {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  border-radius: 0 0 22px 22px;
}
.page-banner .hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 16, 22, 0.9) 0%, rgba(8, 16, 22, 0.45) 70%, rgba(8, 16, 22, 0.2) 100%);
}
.page-banner-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 1.35rem;
  color: #f7faf9;
}
.page-banner-inner h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.25rem;
}
.page-banner-inner .updated {
  color: rgba(247, 250, 249, 0.78);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Trust ─────────────────────────────────────────── */
.trust {
  padding: 2.6rem 0 1.4rem;
}
.trust h2,
.section h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.trust .sub,
.section .sub {
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 1.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(31, 111, 106, 0.12);
  color: var(--sea-deep);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}
.trust-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}
.trust-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ── Sections ──────────────────────────────────────── */
.section { padding: 2rem 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(31, 111, 106, 0.12);
  color: var(--sea-deep);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.section-cta { padding-top: 0.6rem; }
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  background: linear-gradient(120deg, var(--ink), var(--sea-deep));
  color: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.4rem;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 0.3rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 36rem;
}

.legal-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.legal-nav a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(14, 26, 36, 0.06);
  text-decoration: none;
}
.legal-nav a span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
}
.legal-nav a:hover {
  border-color: rgba(31, 111, 106, 0.4);
  text-decoration: none;
}

/* ── Legal document ────────────────────────────────── */
.doc { padding: 1.4rem 0 3.5rem; }
.doc-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.note {
  background: linear-gradient(135deg, rgba(31, 111, 106, 0.1), rgba(232, 161, 74, 0.12));
  border: 1px solid rgba(31, 111, 106, 0.18);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.2rem;
}
.doc h2 { font-size: 1.2rem; margin: 1.6rem 0 0.55rem; color: var(--ink); }
.doc h3 { font-size: 1.02rem; margin: 1.1rem 0 0.4rem; }
.doc p, .doc li { color: #243441; }
.doc ul, .doc ol { padding-left: 1.2rem; margin: 0.4rem 0 0.8rem; }
.doc li { margin: 0.28rem 0; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0 1rem;
  font-size: 0.94rem;
}
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.doc th { background: rgba(31, 111, 106, 0.08); color: var(--ink); }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  align-items: center;
}
.footer a { color: var(--muted); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-device { justify-content: center; padding-top: 0.5rem; }
  .phone { width: min(180px, 48vw); }
  .phone-screen { min-height: 250px; }
  .hero { min-height: auto; }
  .hero h1 { max-width: none; font-size: clamp(1.85rem, 7vw, 2.6rem); }
  .hero-actions { margin-top: 0.25rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .nav { justify-content: flex-start; flex-wrap: wrap; }
  .lang-switch { justify-content: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .cta-band { flex-direction: column; align-items: stretch; }
  .cards { grid-template-columns: 1fr; }
  .legal-nav { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; align-items: flex-start; }
}
