:root {
  color-scheme: dark;
  --bg: #05091f;
  --bg-soft: #11215b;
  --ink: #f4f7ff;
  --ink-strong: #ffffff;
  --muted: #b9c4ef;
  --line: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.09);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --blue: #6b56ff;
  --green: #5bd08d;
  --coral: #ff8b68;
  --gold: #f1c45f;
  --cyan: #51d6f3;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 10%, rgba(81, 214, 243, 0.25), transparent 26rem),
    radial-gradient(circle at 14% 8%, rgba(120, 100, 255, 0.32), transparent 26rem),
    radial-gradient(circle at 50% 82%, rgba(91, 208, 141, 0.14), transparent 32rem),
    linear-gradient(180deg, #243c91 0%, #11215b 42%, #05091f 100%);
}

a {
  color: inherit;
}

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

.site {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink-strong);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-size: 17px;
}

.brand-tagline {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: center / cover no-repeat url("/app-icon.png"), linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 34px rgba(81, 214, 243, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink-strong);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher a {
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  text-align: center;
}

.language-switcher a.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--ink-strong);
}

.hero-shell {
  padding: 26px 0 30px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.82fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  padding: 28px 0 34px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  color: var(--ink-strong);
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink-strong);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0;
}

.lead,
.section-copy > p,
.final-panel p,
.add-note,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(18px, 2.1vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-strong);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 600px);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 34px 58px rgba(21, 42, 76, 0.12));
}

.hero-carousel {
  aspect-ratio: 1.34;
  overflow: hidden;
  border-radius: 26px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-carousel:active {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(10px) scale(0.985);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
}

.hero-slide .app-store-shot {
  width: auto;
  height: 96%;
  max-width: 58%;
  border-radius: 18px;
  box-shadow: 0 26px 64px rgba(5, 9, 31, 0.28);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 9, 31, 0.42);
  box-shadow: 0 12px 28px rgba(5, 9, 31, 0.18);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.78);
}

.hero-dots button.active {
  width: 22px;
  background: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 6px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-strong);
  text-align: center;
  font-weight: 800;
}

.section {
  padding: 76px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.88fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 0.95fr);
}

.section-copy > p {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 18px;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article,
.safety-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px;
}

.steps article span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.steps article:nth-child(2) span {
  background: var(--blue);
}

.steps article:nth-child(3) span {
  background: var(--coral);
}

.steps p,
.safety-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
}

.safety-band {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 139, 104, 0.15), transparent 24rem),
    radial-gradient(circle at 90% 40%, rgba(81, 214, 243, 0.12), transparent 26rem),
    rgba(5, 9, 31, 0.24);
}

.safety-list {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.safety-list p {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 18px 14px 48px;
  color: var(--ink);
  font-weight: 750;
}

.safety-list p::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.76);
}

.final-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  margin-bottom: 78px;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #10213f, #173d73);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-panel h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.final-panel p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.final-panel .actions {
  margin-top: 0;
  justify-content: flex-end;
}

.final-panel .button.primary {
  background: #fff;
  color: #10213f;
}

.final-panel .button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.add-landing {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 56px 0 78px;
}

.add-card {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 54px);
}

.add-card h1 {
  font-size: clamp(40px, 8vw, 72px);
}

.add-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: center / cover no-repeat url("/app-icon.png");
  box-shadow: 0 18px 46px rgba(49, 95, 192, 0.22);
}

.add-note {
  margin: 24px 0 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

[hidden] {
  display: none !important;
}

.legal {
  padding: 26px 0 72px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
  box-shadow: 0 12px 36px rgba(21, 42, 76, 0.06);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-panel .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    padding-top: 18px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-shell {
    padding-top: 12px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .trust-strip span {
    min-height: 58px;
  }

  .section {
    padding: 54px 0;
  }

  .steps article {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
  }

  .steps article span {
    width: 36px;
    height: 36px;
  }

  .feature-image {
    border-radius: 18px;
  }

  .final-panel {
    margin-top: 48px;
    margin-bottom: 58px;
    padding: 26px;
    border-radius: 18px;
  }
}
