:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #121212;
  --panel-strong: #181818;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --muted-strong: #d5d5d5;
  --green: #ffffff;
  --amber: #cccccc;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.site-header.compact {
  border-color: var(--line);
  background: rgba(5, 5, 5, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #000000;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.nav a,
.footer-links a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  color: #050505;
  background: var(--white);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(92vh - 78px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 48px) 44px;
  overflow: hidden;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.3rem, 14vw, 9.5rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero-line {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 850;
}

.button-primary {
  color: #050505;
  background: var(--white);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.hero-stats dt {
  color: var(--text);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-preview img {
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 690px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.section-band {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 112px) 0;
}

.split,
.protection-layout,
.recovery-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.split p,
.protection-layout p,
.recovery-copy p,
.download-layout p {
  font-size: 1.08rem;
}

.features,
.privacy,
.recovery {
  background: var(--bg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.trust-list article {
  min-height: 224px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
}

.protection-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.flow-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.flow-row + .flow-row {
  margin-top: 10px;
}

.flow-row span {
  color: var(--muted);
}

.flow-row strong {
  color: var(--green);
  white-space: nowrap;
}

.flow-row.warning strong {
  color: var(--muted-strong);
}

.recovery {
  border-block: 1px solid var(--line);
}

.recovery-box {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)), var(--panel);
}

.recovery-box p {
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-weight: 850;
  text-transform: uppercase;
}

.recovery-box strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-list article {
  min-height: 245px;
}

.download-actions {
  display: flex;
  justify-content: flex-end;
}

.store-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icons label"
    "icons title";
  column-gap: 20px;
  align-items: center;
  width: min(100%, 420px);
  min-height: 92px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.store-button span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.store-button > span:not(.store-icon-row) {
  grid-area: label;
}

.store-button strong {
  grid-area: title;
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(1.08rem, 4.8vw, 1.35rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.store-button .store-icon-row {
  grid-area: icons;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 100px;
}

.store-streak-logo {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000000;
  padding: 2px;
  object-fit: contain;
}

.play-store-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #000000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0;
}

.footer-inner p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted-strong);
}

.legal-page {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0;
}

.legal-document {
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.legal-document h1 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.legal-document a {
  color: var(--green);
}

.legal-document ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-document li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 71px 18px auto;
    display: none;
    grid-column: 1 / -1;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0b0b0b;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px;
    color: var(--muted-strong);
  }

  .hero,
  .split,
  .protection-layout,
  .recovery-layout,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-media {
    width: min(100%, 350px);
  }

  .phone-preview img {
    max-height: 520px;
  }

  .feature-grid,
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero-stats,
  .feature-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    width: min(100%, 280px);
  }

  .phone-preview img {
    max-height: 400px;
    border-radius: 28px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-card,
  .trust-list article {
    min-height: auto;
  }

  .flow-row {
    display: grid;
    gap: 4px;
  }

  .flow-row strong {
    white-space: normal;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .store-button {
    column-gap: 14px;
    min-height: 84px;
    padding: 16px;
  }

  .store-icon-row {
    gap: 8px;
    min-width: 84px;
  }

  .store-streak-logo {
    width: 36px;
    height: 36px;
  }

  .play-store-logo {
    width: 34px;
    height: 34px;
  }
}
