:root {
  --bg: #05070b;
  --border: rgba(255, 255, 255, .11);
  --text: #f5f5f7;
  --muted: #9b9da6;
  --red: #ef1738;
  --pad: clamp(1rem, 2.2vw, 2rem);
  --radius: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 92% 68%, rgba(114, 15, 18, .22), transparent 28%),
    radial-gradient(circle at 6% 16%, rgba(77, 37, 18, .15), transparent 24%),
    linear-gradient(180deg, #06080d 0%, #05070b 100%);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: .75rem;
  padding: .85rem var(--pad) 1rem;
  overflow: clip;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, .34) 100%);
}

.ambient {
  position: absolute;
  pointer-events: none;
  z-index: -2;
  filter: blur(30px);
  opacity: .65;
  border-radius: 50%;
}
.ambient-a {
  width: min(420px, 50vw);
  height: min(340px, 38vw);
  left: -6%;
  top: 8%;
  background: rgba(74, 35, 17, .14);
}
.ambient-b {
  width: min(460px, 48vw);
  height: min(300px, 34vw);
  right: -8%;
  top: 40%;
  background: rgba(120, 10, 25, .16);
}

.brand {
  position: relative;
  z-index: 10;
  width: 100%;
  user-select: none;
}
.brand-name {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: clamp(.95rem, 1vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .26em;
  white-space: nowrap;
}
.brand-dot {
  width: .38em;
  height: .38em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(239, 23, 56, .75);
  flex-shrink: 0;
}
.brand-tagline {
  margin-top: .25rem;
  font-size: .7rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--red);
}

.hero {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(280px, .95fr) minmax(380px, 1.45fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

.hero-photo {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  margin-left: calc(var(--pad) * -1);
  width: calc(100% + var(--pad));
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 28%, rgba(5, 7, 11, .35) 70%, #05070b 100%),
    linear-gradient(180deg, rgba(5, 7, 11, .08) 0%, transparent 40%, rgba(5, 7, 11, .85) 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .25rem 0;
}

.app-preview-wrap {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #b0b1b7;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow span {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(239, 23, 56, .6);
  flex-shrink: 0;
}

h1 {
  margin: .75rem 0 .65rem;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}
h1 strong { color: var(--red); font-weight: inherit; }

.hero-description {
  margin: 0;
  max-width: 30rem;
  color: #a9abb2;
  font-size: clamp(.9rem, .4vw + .8rem, 1rem);
  line-height: 1.6;
}

.trust-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.trust-item { text-align: center; min-width: 0; }
.trust-item svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adult-icon {
  width: 1.9rem;
  height: 1.9rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: .68rem;
  font-weight: 800;
}
.trust-item h3 {
  margin: .45rem 0 .2rem;
  font-size: .8rem;
  font-weight: 700;
}
.trust-item p {
  margin: 0;
  color: #9c9ea6;
  font-size: .74rem;
  line-height: 1.4;
}

.download-block { margin-top: 1.2rem; text-align: center; }
.download-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #8f9199;
  font-size: .7rem;
  letter-spacing: .12em;
  font-weight: 600;
}
.download-label::before,
.download-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, .09);
}
.download-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: .7rem;
}
.download-button {
  min-height: 3.25rem;
  padding: .6rem .8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(20, 22, 28, .94), rgba(11, 13, 18, .94));
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}
.download-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  border-color: rgba(255, 255, 255, .26);
}
.download-button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.download-button.windows {
  border-color: rgba(255, 55, 78, .48);
  background: linear-gradient(135deg, #dd1834 0%, #a90d26 100%);
  box-shadow: 0 0 24px rgba(222, 19, 48, .14), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.download-button span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.download-button small {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.download-button b {
  margin-top: .08rem;
  font-size: 1.02rem;
  line-height: 1;
}
.windows-logo {
  width: 1.3rem;
  height: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex-shrink: 0;
  transform: perspective(30px) rotateY(-3deg);
}
.windows-logo i { background: #fff; display: block; }
.apple-logo {
  position: relative;
  width: 1.3rem;
  height: 1.45rem;
  display: block;
  flex-shrink: 0;
}
.apple-logo i {
  position: absolute;
  width: 1.05rem;
  height: 1.15rem;
  left: .12rem;
  top: .32rem;
  background: white;
  border-radius: 48% 48% 52% 52% / 58% 58% 42% 42%;
}
.apple-logo i::after {
  content: "";
  position: absolute;
  right: -.28rem;
  top: .22rem;
  width: .48rem;
  height: .48rem;
  background: #0e1015;
  border-radius: 50%;
}
.apple-logo b {
  position: absolute;
  width: .48rem;
  height: .24rem;
  left: .65rem;
  top: .04rem;
  background: #fff;
  border-radius: 70% 10% 70% 10%;
  transform: rotate(-35deg);
}
.system-note {
  margin: .55rem 0 0;
  color: #8e9099;
  font-size: .74rem;
}

/* Live app mockup */
.app-window {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(239, 23, 56, .35);
  background: #0b0d12;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04),
    0 24px 80px rgba(0, 0, 0, .45),
    0 0 40px rgba(239, 23, 56, .08);
}
.app-side {
  background: linear-gradient(180deg, #12151c, #0c0e13);
  border-right: 1px solid rgba(255, 255, 255, .06);
  padding: 1rem .7rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 0;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 0 .35rem;
}
.app-logo span {
  width: .32rem;
  height: .32rem;
  border-radius: 50%;
  background: var(--red);
}
.app-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.app-nav button {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .55rem .6rem;
  border-radius: 8px;
  color: #9a9ca5;
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
}
.app-nav button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.app-nav button.active {
  background: var(--red);
  color: #fff;
}
.app-nav .badge {
  margin-left: auto;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  display: grid;
  place-items: center;
}
.app-nav button.active .badge {
  background: #fff;
  color: var(--red);
}

.app-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: .85rem .9rem .9rem;
  gap: .7rem;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.app-top h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.app-tools {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.app-tools span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  color: #b0b2ba;
  font-size: .72rem;
  font-weight: 600;
}
.app-tools svg {
  width: .85rem;
  height: .85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.profile-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.profile-card {
  position: relative;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #151821;
}
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.profile-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .88));
  pointer-events: none;
}
.profile-card div {
  position: absolute;
  left: .55rem;
  right: .45rem;
  bottom: .5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.profile-card strong {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.profile-card em {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-style: normal;
  color: #c5c7ce;
  font-size: .62rem;
}
.profile-card em i {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, .7);
}

.feature-strip,
.stats-strip {
  width: 100%;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 14, 20, .88), rgba(8, 10, 14, .8));
  backdrop-filter: blur(10px);
}

.feature-strip {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: .85rem .65rem;
}
.feature-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  padding: .25rem .7rem;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.feature-card:last-child { border-right: 0; }
.feature-card svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: .1rem;
}
.feature-card h3 {
  margin: 0 0 .2rem;
  font-size: .84rem;
  line-height: 1.25;
}
.feature-card p {
  margin: 0;
  color: #999ba4;
  font-size: .74rem;
  line-height: 1.4;
}

.stats-strip {
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: .7rem 1rem;
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-width: 0;
  padding: .2rem .4rem;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.stat:last-child { border-right: 0; }
.stat svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.stat div { display: flex; flex-direction: column; min-width: 0; }
.stat strong { font-size: 1.1rem; letter-spacing: -.03em; }
.stat span {
  margin-top: .12rem;
  color: #9b9da5;
  font-size: .72rem;
  line-height: 1.3;
}

.footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: #666871;
  font-size: .74rem;
}
.footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.footer a { text-decoration: none; color: #666871; }
.footer a:hover { color: #989aa2; }
.adult-footer {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.adult-footer span {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border: 1px solid #666871;
  border-radius: 50%;
  font-size: .6rem;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
  .hero-photo {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(42vw, 340px);
    height: auto;
    opacity: .28;
    z-index: -1;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .app-preview-wrap { grid-column: 2; grid-row: 1; }
  .app-side { width: 10rem; }
  .app-window { grid-template-columns: 10rem minmax(0, 1fr); }
  .feature-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: .7rem .55rem;
  }
  .feature-card:nth-child(n+4) { border-bottom: 0; }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { border-top: 1px solid rgba(255, 255, 255, .07); }
}

@media (max-width: 900px) {
  .page-shell {
    height: auto;
    min-height: 100vh;
    grid-template-rows: auto auto auto auto auto;
    overflow: visible;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: min(52vh, 420px);
    opacity: .32;
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .app-preview-wrap {
    grid-column: 1;
    grid-row: 2;
    min-height: 28rem;
  }
  .app-window { grid-template-columns: 9rem minmax(0, 1fr); }
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(7.5rem, 1fr));
  }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:nth-child(n) {
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .feature-card:nth-child(5) { grid-column: 1 / -1; }
  .feature-card:last-child { border-bottom: 0; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: .6rem;
  }
  .adult-footer { justify-self: center; }
}

@media (max-width: 600px) {
  .brand-name { letter-spacing: .14em; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .download-buttons { grid-template-columns: 1fr; }
  .trust-item p br { display: none; }
  .app-window { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card:nth-child(5) {
    grid-column: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .feature-card:last-child { border-bottom: 0; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .stat:last-child { border-bottom: 0; }
}

@media (min-width: 901px) and (max-height: 820px) {
  h1 { font-size: clamp(1.7rem, 2vw + .8rem, 2.3rem); margin: .5rem 0 .45rem; }
  .trust-row { margin-top: .8rem; }
  .download-block { margin-top: .8rem; }
  .feature-strip { padding: .55rem .5rem; }
  .stats-strip { padding: .5rem .8rem; }
  .app-side { padding: .7rem .55rem; }
  .profile-card strong { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Download availability */
.download-button.is-disabled {
  opacity: .38;
  filter: grayscale(.35);
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}
.download-button.is-disabled:hover {
  transform: none;
  filter: grayscale(.35);
}

/* Thank-you modal */
body.modal-open { overflow: hidden; }

.thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.thanks-overlay[hidden] { display: none !important; }

.thanks-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, .72);
  backdrop-filter: blur(8px);
}

.thanks-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  padding: 1.75rem 1.5rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(16, 18, 24, .97), rgba(8, 10, 14, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(239, 23, 56, .12);
  text-align: center;
}

.thanks-close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #8b8d96;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.thanks-close:hover { color: #fff; }

.thanks-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto .9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 23, 56, .55);
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(239, 23, 56, .18);
}

.thanks-dialog h2 {
  margin: 0 0 .55rem;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  font-weight: 800;
}

.thanks-lead {
  margin: 0 0 1.1rem;
  color: #a9abb2;
  font-size: .92rem;
  line-height: 1.55;
}

.thanks-steps {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.15rem;
  text-align: left;
  color: #d5d6db;
  font-size: .86rem;
  line-height: 1.55;
}
.thanks-steps li { margin: 0 0 .55rem; }
.thanks-steps li:last-child { margin-bottom: 0; }

.thanks-ok {
  min-height: 2.75rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #dd1834 0%, #a90d26 100%);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(222, 19, 48, .16);
}
.thanks-ok:hover { filter: brightness(1.06); }
.thanks-ok:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
