:root {
  --bg: #05081f;
  --bg-2: #0b0730;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.54);
  --cyan: #15d5f4;
  --cyan-deep: #0486ad;
  --yellow: #ffcc08;
  --green: #32ce63;
  --purple: #cf32ef;
  --orange: #ff8b2c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(16, 101, 146, 0.36), transparent 22rem),
    radial-gradient(circle at 8% 72%, rgba(102, 15, 143, 0.3), transparent 18rem),
    linear-gradient(145deg, var(--bg), var(--bg-2) 52%, #030817);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.space-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.star-field,
.star-field::before,
.star-field::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.8px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.4px);
  background-position: 4% 12%, 62% 38%;
  background-size: 124px 156px, 176px 204px;
  opacity: 0.56;
}

.star-field::before {
  transform: translate3d(28px, 44px, 0);
  opacity: 0.36;
}

.star-field::after {
  transform: translate3d(-36px, 88px, 0);
  opacity: 0.24;
}

.planet {
  position: absolute;
  border-radius: 999px;
  filter: saturate(1.1);
}

.planet-blue {
  width: 360px;
  height: 360px;
  right: -110px;
  top: 115px;
  background: rgba(12, 87, 128, 0.5);
}

.planet-purple {
  width: 250px;
  height: 250px;
  left: -95px;
  bottom: 12%;
  background: rgba(94, 22, 133, 0.62);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(15, 18, 42, 0.7);
}

.nav-links a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 850;
  padding: 9px 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links [aria-current="page"] {
  background: rgba(255, 255, 255, 0.11);
  color: var(--text);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 30px 0 70px;
}

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-lead {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.14;
}

.hero-body,
.section-heading p,
.mission-panel p,
.privacy-strip p,
.feature-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.hero-body {
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 950;
  padding: 13px 22px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: linear-gradient(180deg, var(--cyan), var(--cyan-deep));
  color: #051021;
  box-shadow: 0 16px 34px rgba(21, 213, 244, 0.2);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.compact {
  min-height: 42px;
  padding: 10px 18px;
}

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

.hero-stats div,
.feature-card,
.mission-panel,
.policy-card,
.privacy-strip {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.065));
  box-shadow: var(--shadow);
}

.hero-stats div {
  border-radius: 20px;
  padding: 16px;
}

.hero-stats dt {
  color: var(--yellow);
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--soft);
  font-size: 14px;
  font-weight: 850;
  text-transform: lowercase;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: #05081f;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46);
}

.phone-frame::before {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 24px;
  border-radius: 999px;
  background: #000;
  content: "";
  transform: translateX(-50%);
}

.primary-phone {
  width: min(390px, 86vw);
  margin-left: auto;
  transform: rotate(3deg);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

#activeScreenshot {
  transition: opacity 160ms ease;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background: rgba(36, 31, 67, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  padding: 16px;
  backdrop-filter: blur(16px);
}

.floating-card strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
}

.floating-card span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: transparent;
}

.mini-icon.flame {
  background: var(--orange);
}

.mini-icon.check {
  background: var(--green);
}

.card-streak {
  left: 0;
  top: 120px;
}

.card-score {
  right: 0;
  bottom: 82px;
}

.mission-band,
.features,
.screenshots,
.policy-main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.mission-band {
  padding: 10px 0 82px;
}

.mission-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  border-radius: var(--radius);
  padding: 26px;
}

.mission-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mission-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: var(--cyan);
  color: #030817;
}

.mission-icon svg,
.feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.mission-panel h2,
.privacy-strip h2 {
  margin-bottom: 5px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 1000;
  line-height: 1.05;
}

.mission-panel p,
.privacy-strip p {
  margin-bottom: 0;
}

.features,
.screenshots {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 1000;
  line-height: 1.02;
}

.section-heading p {
  margin-bottom: 0;
}

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

.feature-card {
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: #05081f;
}

.feature-icon.cyan {
  background: var(--cyan);
}

.feature-icon.yellow {
  background: var(--yellow);
}

.feature-icon.green {
  background: var(--green);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: 1000;
  line-height: 1.08;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 16px;
}

.screen-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(330px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.screen-picker {
  display: grid;
  gap: 12px;
}

.screen-tab {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 17px 18px;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.screen-tab:hover,
.screen-tab:focus-visible,
.screen-tab.active {
  border-color: rgba(21, 213, 244, 0.48);
  background: rgba(21, 213, 244, 0.13);
  outline: none;
  transform: translateX(3px);
}

.screen-tab span {
  display: block;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 1000;
}

.screen-tab strong {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 900;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.gallery-phone {
  width: min(390px, 86vw);
}

.privacy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(1160px, calc(100% - 36px));
  margin: 20px auto 88px;
  border-radius: var(--radius);
  padding: 28px;
}

.privacy-strip > div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 800;
  padding: 26px 0 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  outline: none;
}

.policy-main {
  padding: 48px 0 84px;
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
}

.policy-card h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 7vw, 76px);
}

.policy-date {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 950;
}

.policy-card section {
  margin-top: 32px;
}

.policy-card h2 {
  margin-bottom: 9px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 1000;
}

.policy-card p {
  color: rgba(255, 255, 255, 0.77);
  font-size: 17px;
  font-weight: 700;
}

.policy-card a {
  color: var(--cyan);
  font-weight: 950;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .screen-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
  }

  .primary-phone {
    margin: 0 auto;
    transform: none;
  }

  .floating-card {
    display: none;
  }

  .mission-panel,
  .privacy-strip {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .privacy-strip {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .mission-band,
  .features,
  .screenshots,
  .policy-main,
  .privacy-strip,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .brand span {
    font-size: 16px;
  }

  .nav-links a {
    padding: 9px 6px;
    text-align: center;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .mission-panel,
  .feature-card,
  .privacy-strip {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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