:root {
  --navy: #252c5d;
  --navy-2: #1b2149;
  --blue: #287bbd;
  --blue-dark: #173d52;
  --cyan-soft: #d7e6ed;
  --purple: #8126b7;
  --orange: #ef4b00;
  --red: #dd331f;
  --gold: #d8c795;
  --ink: #171921;
  --muted: #5e6473;
  --line: #dfe4ea;
  --paper: #ffffff;
  --surface: #f4f7f9;
  --surface-2: #ebf1f4;
  --shadow: 0 24px 60px rgba(20, 30, 55, 0.13);
  --shadow-soft: 0 10px 30px rgba(20, 30, 55, 0.10);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max-width: 1180px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #f4f5f8;
  --muted: #b8bfd0;
  --line: #333b54;
  --paper: #111522;
  --surface: #171c2b;
  --surface-2: #20273a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 9999;
  background: #fff;
  color: #111;
  padding: 12px 18px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  border: 2px solid color-mix(in srgb, var(--gold) 80%, white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  padding: 10px 13px;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button,
.lang-button {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.lang-button { padding: 0 14px; font-weight: 800; letter-spacing: .04em; }
.icon-button:hover, .lang-button:hover { transform: translateY(-1px); background: var(--surface); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: clip;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 80% 10%, rgba(40,123,189,.22), transparent 28%),
    radial-gradient(circle at 12% 70%, rgba(129,38,183,.12), transparent 25%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, var(--paper)), var(--paper));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37,44,93,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37,44,93,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
[data-theme="dark"] .eyebrow { color: #9ccce5; }
.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.035em; }
h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  max-width: 780px;
}
.hero-title-accent {
  display: block;
  color: var(--navy);
}
[data-theme="dark"] .hero-title-accent { color: #aab6ff; }
.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(37,44,93,.25); }
.button-secondary { border-color: var(--line); background: var(--paper); color: var(--ink); }
.button-ghost { background: transparent; border-color: color-mix(in srgb, var(--line) 80%, transparent); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .92rem;
}
.hero-note svg { flex: 0 0 auto; color: var(--blue-dark); }

.phone-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}
.phone-orbit {
  position: absolute;
  width: min(100%, 570px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(37,44,93,.10);
  background: radial-gradient(circle, rgba(40,123,189,.14), rgba(40,123,189,0) 66%);
}
.phone-orbit::before,
.phone-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(37,44,93,.14);
}
.phone-orbit::before { inset: 13%; }
.phone-orbit::after { inset: 27%; }
.phone {
  position: relative;
  z-index: 2;
  width: min(72vw, 330px);
  padding: 10px;
  border-radius: 42px;
  background: #090b11;
  box-shadow: 0 40px 85px rgba(17,25,60,.30), inset 0 0 0 2px rgba(255,255,255,.10);
  transform: rotate(4deg);
}
.phone img { width: 100%; height: auto; border-radius: 33px; object-fit: contain; }
.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.floating-chip.one { top: 18%; right: -2%; }
.floating-chip.two { bottom: 17%; left: -3%; }
.chip-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 6px rgba(129,38,183,.12); }
.chip-dot.blue { background: var(--blue); box-shadow: 0 0 0 6px rgba(40,123,189,.12); }

.trust-strip { margin-top: -28px; position: relative; z-index: 5; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.trust-item { padding: 22px 24px; display: flex; align-items: center; gap: 13px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); color: var(--navy); flex: 0 0 auto; }
[data-theme="dark"] .trust-icon { color: #b5c0ff; }
.trust-item strong { display: block; font-size: .98rem; }
.trust-item span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }

.section { padding: 110px 0; }
.section-soft { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feature-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.feature-card.large { grid-column: span 7; }
.feature-card.small { grid-column: span 5; }
.feature-card h3 { margin: 22px 0 10px; font-size: 1.65rem; }
.feature-card p { margin: 0; color: var(--muted); max-width: 50ch; }
.feature-icon { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: white; }
.feature-icon.navy { background: var(--blue-dark); }
.feature-icon.blue { background: var(--blue); }
.feature-icon.purple { background: var(--purple); }
.feature-icon.orange { background: var(--orange); }
.feature-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -75px;
  bottom: -90px;
  background: color-mix(in srgb, var(--accent, var(--blue)) 16%, transparent);
}
.feature-card[data-accent="navy"] { --accent: var(--blue-dark); }
.feature-card[data-accent="purple"] { --accent: var(--purple); }
.feature-card[data-accent="orange"] { --accent: var(--orange); }
.feature-card[data-accent="blue"] { --accent: var(--blue); }

.showcase {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 50px;
  align-items: center;
}
.showcase-copy { position: sticky; top: 120px; }
.showcase-copy h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.3rem); }
.showcase-copy p { color: var(--muted); font-size: 1.08rem; }
.carousel-controls { display: flex; gap: 10px; margin-top: 26px; }
.round-button { width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.round-button:hover { background: var(--surface-2); }
.carousel-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.carousel-dot { width: 11px; height: 11px; border: 0; padding: 0; border-radius: 50%; background: var(--line); }
.carousel-dot.active { width: 32px; border-radius: 99px; background: var(--navy); }
[data-theme="dark"] .carousel-dot.active { background: #aab6ff; }
.screenshot-stage {
  min-height: 720px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 40%, rgba(40,123,189,.24), transparent 36%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
  overflow: hidden;
  box-shadow: var(--shadow);
}
.screenshot-stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
}
.screenshot-stage::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
}
.gallery-phone { width: min(66vw, 335px); transform: rotate(-2deg); transition: opacity .25s ease, transform .35s ease; }
.gallery-phone.changing { opacity: 0; transform: translateY(16px) rotate(-2deg) scale(.98); }
.gallery-phone img { width: 100%; height: auto; object-fit: contain; }

.gallery-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 4;
  max-width: 310px;
  color: white;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(10,14,34,.58);
  backdrop-filter: blur(14px);
}
.gallery-caption strong { display: block; font-size: 1.08rem; }
.gallery-caption span { opacity: .76; font-size: .9rem; }

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 30px;
  align-items: stretch;
  border-radius: 38px;
  padding: clamp(30px, 6vw, 70px);
  background: linear-gradient(135deg, var(--navy), #36417b);
  color: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.privacy-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -170px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.privacy-panel h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.privacy-panel p { color: rgba(255,255,255,.76); font-size: 1.08rem; max-width: 58ch; }
.privacy-list { display: grid; gap: 14px; align-content: center; }
.privacy-item { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.06); }
.privacy-item svg { flex: 0 0 auto; margin-top: 2px; }
.privacy-item strong { display: block; }
.privacy-item span { display: block; color: rgba(255,255,255,.70); font-size: .92rem; }
.privacy-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.privacy-buttons .button-primary { background: #fff; color: var(--navy); box-shadow: none; }
.privacy-buttons .button-ghost { color: #fff; border-color: rgba(255,255,255,.25); }

.logo-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.logo-card { display: flex; align-items: center; justify-content: center; min-height: 420px; border-radius: 36px; padding: 38px; background: linear-gradient(180deg, var(--paper), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
[data-theme="dark"] .logo-card { background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 92%, #0f1320), var(--surface)); }
.logo-card img { width: min(100%, 440px); max-width: 100%; height: auto; object-fit: contain; margin-inline: auto; }
.story-copy h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); }
.story-copy p { color: var(--muted); font-size: 1.06rem; }
.story-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.story-tag { padding: 9px 13px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 700; font-size: .88rem; }

.cta-band { padding: 86px 0; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cta-card h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 3rem); }
.cta-card p { margin: 8px 0 0; color: var(--muted); }

.site-footer { background: #11162e; color: #fff; padding: 66px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 60px; }
.footer-brand { max-width: 520px; }
.footer-brand p { color: rgba(255,255,255,.65); }
.footer-logo { width: 82px; height: 82px; border-radius: 20px; background: transparent; object-fit: contain; border: 1px solid rgba(216,199,149,.45); padding: 6px; }
.footer-heading { margin: 0 0 14px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.76); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.52); font-size: .88rem; }

/* Policy and legal pages */
.legal-hero { padding: 70px 0 44px; background: linear-gradient(180deg, var(--surface), var(--paper)); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.legal-hero p { color: var(--muted); max-width: 720px; font-size: 1.08rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.legal-pill { padding: 8px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .86rem; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding: 62px 0 100px; }
.legal-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 7px; }
.legal-toc a { text-decoration: none; color: var(--muted); padding: 8px 11px; border-radius: 10px; font-size: .92rem; }
.legal-toc a:hover { background: var(--surface); color: var(--ink); }
.legal-content { max-width: 820px; }
.legal-content section { scroll-margin-top: 110px; margin-bottom: 46px; }
.legal-content h2 { font-size: 1.72rem; margin: 0 0 12px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 22px; }
.legal-notice { padding: 18px 20px; border-radius: 16px; border-left: 5px solid var(--orange); background: color-mix(in srgb, var(--orange) 8%, var(--surface)); margin-bottom: 34px; }
.legal-notice strong { display: block; margin-bottom: 4px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(4,7,18,.86);
  backdrop-filter: blur(12px);
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 24px; box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; right: 24px; top: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.08); border-radius: 50%; font-size: 1.5rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 18px 20px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 13px 14px; }
  .menu-toggle { display: inline-grid; }
  .hero-grid, .showcase, .privacy-panel, .logo-story { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-content { text-align: center; }
  .hero-content .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-copy { margin-inline: auto; }
  .phone-stage { min-height: 590px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .feature-card.large, .feature-card.small { grid-column: span 6; }
  .showcase-copy { position: static; }
  .screenshot-stage { min-height: 680px; }
  .logo-card { max-width: 520px; margin-inline: auto; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header .brand span { display: none; }
  .nav-wrap { min-height: 68px; }
  .nav-links { inset-block-start: 68px; }
  .hero { padding: 58px 0 70px; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.8rem); }
  .phone-stage { min-height: 500px; }
  .phone { width: 270px; }
  .floating-chip { font-size: .82rem; padding: 10px 13px; }
  .floating-chip.one { right: 1%; }
  .floating-chip.two { left: 1%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item, .trust-item:nth-child(3), .trust-item:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 82px 0; }
  .feature-card.large, .feature-card.small { grid-column: 1 / -1; }
  .feature-card { min-height: 280px; padding: 25px; }
  .screenshot-stage { min-height: 610px; border-radius: 30px; }
  .gallery-phone { width: 270px; }
  .gallery-caption { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .privacy-panel { padding: 30px 22px; border-radius: 28px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { padding-top: 48px; }
  .legal-layout { padding-top: 42px; }
  .legal-toc { grid-template-columns: 1fr; }
}

/* Long-form official privacy notices */
.legal-toc { max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.legal-content h3 { margin: 26px 0 10px; font-size: 1.18rem; }
.legal-content p { line-height: 1.78; }
.legal-content li { line-height: 1.65; margin-bottom: 8px; }
.legal-content a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-content section + section { padding-top: 4px; border-top: 1px solid var(--line); }
.legal-content section + section h2 { padding-top: 42px; }
@media (max-width: 980px) {
  .legal-toc { max-height: none; overflow: visible; padding-right: 0; }
}
