:root {
  --bg-base: #0a0e14;
  --bg-elev: #111722;
  --text: #e8eef5;
  --text-muted: #8b97a8;
  --accent: #21d4c8;
  --accent-2: #3a86ff;
  --accent-grad: linear-gradient(135deg, #21d4c8, #3a86ff);
  --border: #1e2733;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --text-hero: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --space-section: clamp(4rem, 3rem + 5vw, 9rem);
  --container: 1140px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 300ms;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(33, 212, 200, .12), transparent 32rem),
    linear-gradient(180deg, #0a0e14 0%, #0b1118 48%, #0a0e14 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(33, 212, 200, .9);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--accent);
  color: #041014;
  padding: .7rem 1rem;
  font-weight: 800;
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(30, 39, 51, .82);
  background: rgba(10, 14, 20, .86);
  backdrop-filter: blur(16px);
}

.nav-shell,
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 32px rgba(33, 212, 200, .24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a,
.footer-links a {
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.app-badge {
  display: inline-flex;
  line-height: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(33, 212, 200, .42);
  border-radius: 999px;
  background: rgba(33, 212, 200, .1);
  color: var(--text);
  padding: .7rem 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0 var(--space-section);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% -10% auto 45%;
  height: 16rem;
  background: repeating-linear-gradient(90deg, rgba(33, 212, 200, .18) 0 2px, transparent 2px 22px);
  filter: blur(.5px);
  opacity: .45;
  transform: skewY(-9deg);
  animation: shimmer 9s linear infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, .72fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  font-size: var(--text-hero);
  max-width: 11ch;
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.35rem 0 2rem;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.32rem);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.device-stage::before {
  content: "";
  position: absolute;
  width: min(92%, 430px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 212, 200, .32), rgba(58, 134, 255, .12) 42%, transparent 68%);
  filter: blur(8px);
}

.device-stage img {
  position: relative;
  width: min(72vw, 330px);
  border-radius: 34px;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, .55));
}

.device-screen {
  position: absolute;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: .85rem;
  width: min(55vw, 252px);
  aspect-ratio: 9 / 18.35;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 29%, rgba(33, 212, 200, .28), transparent 6rem),
    linear-gradient(180deg, rgba(17, 23, 34, .96), rgba(6, 10, 15, .98));
  box-shadow: inset 0 0 0 1px rgba(33, 212, 200, .12);
  color: var(--text);
  padding: 4.8rem 1.35rem 1.3rem;
  pointer-events: none;
}

.screen-top,
.screen-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.screen-top span,
.screen-route span,
.screen-status {
  color: var(--text-muted);
  font-size: .72rem;
}

.screen-top strong {
  color: var(--accent);
  font-size: .78rem;
}

.screen-shield {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: 1rem auto .25rem;
  border-radius: 28px;
  background: var(--accent-grad);
  color: #041014;
  font-size: 2.7rem;
  font-weight: 900;
  box-shadow: 0 0 44px rgba(33, 212, 200, .35);
}

.screen-status {
  margin: 0 0 .7rem;
  text-align: center;
  font-weight: 800;
}

.screen-route {
  min-height: 46px;
  border: 1px solid rgba(30, 39, 51, .9);
  border-radius: 12px;
  background: rgba(10, 14, 20, .7);
  padding: .65rem .75rem;
}

.screen-route strong {
  font-size: .78rem;
}

.section {
  padding: var(--space-section) 0;
}

.section.alt {
  background: rgba(17, 23, 34, .5);
  border-block: 1px solid rgba(30, 39, 51, .72);
}

.section-head {
  max-width: 690px;
  margin-bottom: 2.25rem;
}

.section-head p,
.problem p,
.privacy-band p,
.final-cta p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.problem {
  max-width: 760px;
}

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

.feature-card,
.step-card,
.faq details,
.reading-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, .82);
}

.feature-card {
  min-height: 185px;
  padding: 1.25rem;
}

.feature-card:nth-child(1),
.feature-card:nth-child(6) {
  grid-column: span 2;
}

.icon-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(33, 212, 200, .1);
  color: var(--accent);
  font-weight: 900;
}

.feature-card p,
.step-card p,
.faq p,
.reading-card p,
.reading-card li {
  color: var(--text-muted);
}

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

.step-card {
  padding: 1.4rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #041014;
  font-weight: 900;
}

.privacy-band {
  border-block: 1px solid rgba(33, 212, 200, .28);
  background: linear-gradient(90deg, rgba(33, 212, 200, .12), rgba(58, 134, 255, .1));
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.privacy-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq {
  display: grid;
  gap: .85rem;
  max-width: 850px;
}

.faq details {
  padding: 1rem 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
}

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p,
.final-actions {
  justify-content: center;
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: #080c12;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: flex-end;
}

.product-line {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .92rem;
}

.reading-main {
  padding: clamp(3rem, 6vw, 5rem) 0 var(--space-section);
}

.reading-shell {
  width: min(100% - 2rem, 72ch);
  margin-inline: auto;
}

.reading-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.reading-card h1 {
  max-width: none;
  font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem);
}

.last-updated {
  color: var(--accent);
  font-weight: 800;
}

.toc {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 14, 20, .62);
}

.toc a {
  color: var(--text);
  font-weight: 700;
  text-decoration-color: rgba(33, 212, 200, .55);
}

.reading-card h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.reading-card strong {
  color: var(--text);
}

@keyframes shimmer {
  from { transform: translateX(-2rem) skewY(-9deg); }
  to { transform: translateX(2rem) skewY(-9deg); }
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 420px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #0d131d;
    padding: 1rem;
  }

  .nav-shell {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 1rem;
  }

  .js .nav-shell {
    align-items: center;
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .js .nav-toggle {
    display: inline-block;
  }

  .js .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    display: none;
  }

  .js .site-nav.is-open,
  .js .site-nav:target {
    display: flex;
  }

  .site-nav .app-badge {
    margin-top: .35rem;
  }

  h1 {
    max-width: 12ch;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .privacy-band .container {
    align-items: flex-start;
    flex-direction: column;
  }

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

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