:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5f6f7a;
  --line: #d9e2e8;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --accent: #158f7a;
  --accent-strong: #0f6b5d;
  --night: #10161c;
  --gold: #f0b84f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 226, 232, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

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

.language-select {
  height: 36px;
  min-width: 128px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 7vw, 110px) 72px;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 16, 22, 0.96) 0%, rgba(10, 16, 22, 0.76) 42%, rgba(10, 16, 22, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 16, 22, 0.7), rgba(10, 16, 22, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.eyebrow,
.section-kicker {
  margin: 24px 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.app-store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 188px;
  height: 60px;
  padding: 8px 22px;
  color: #fff;
  background: #06090b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.app-store span {
  font-size: 12px;
  opacity: 0.82;
}

.app-store strong {
  font-size: 23px;
  line-height: 1.05;
}

.secondary-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.intro,
.privacy,
.product-view {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 86px clamp(20px, 7vw, 110px);
}

.intro {
  background: var(--paper);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro > p,
.privacy > p,
.product-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(21, 143, 122, 0.09);
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.feature-grid article:hover::after {
  transform: scale(1.25);
  opacity: 0.72;
}

.feature-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mode-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 86px clamp(20px, 7vw, 110px);
  background:
    linear-gradient(135deg, rgba(21, 143, 122, 0.1), rgba(240, 184, 79, 0.12)),
    var(--soft);
}

.mode-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.mode-console {
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 80px rgba(23, 32, 38, 0.12);
  backdrop-filter: blur(18px);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: #e7eef2;
}

.segmented button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.segmented button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 38, 0.12);
}

.route-card {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 184, 79, 0.28), transparent 30%),
    linear-gradient(135deg, #13232c, #0d151b);
}

.route-card strong {
  display: block;
  font-size: clamp(34px, 6vw, 56px);
}

.route-card p {
  min-height: 58px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
  font-weight: 800;
}

.route-line i {
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.route-line i::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold);
  animation: routePulse 1.8s infinite linear;
}

@keyframes routePulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

.product-view {
  background: var(--night);
  color: #fff;
}

.phone-panel {
  width: min(360px, 100%);
  min-height: 680px;
  justify-self: center;
  padding: 26px;
  border: 10px solid #242d35;
  border-radius: 42px;
  background: #f8fbfc;
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
}

.phone-status span {
  width: 72px;
  height: 8px;
  border-radius: 99px;
  background: #d7e1e6;
}

.phone-status span:last-child {
  width: 36px;
}

.connection-ring {
  display: grid;
  place-items: center;
  width: 218px;
  height: 218px;
  margin: 0 auto 32px;
  border: 18px solid rgba(21, 143, 122, 0.16);
  border-top-color: var(--accent);
  border-radius: 50%;
}

.connection-ring span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.connection-ring strong {
  font-size: 42px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.metric-row div,
.node-list div {
  padding: 16px;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #fff;
}

small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.node-list {
  display: grid;
  gap: 12px;
}

.node-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-list strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.active-node {
  box-shadow: inset 4px 0 0 var(--accent);
}

.product-copy .section-kicker,
.privacy .section-kicker {
  margin-top: 0;
}

.product-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.privacy {
  background: var(--soft);
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 86px clamp(20px, 7vw, 110px);
  background: #fff;
}

.faq-heading .section-kicker {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.faq-item span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 18px;
  font-weight: 850;
}

.faq-item span::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 24px;
}

.faq-item em {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
  transition:
    max-height 0.24s ease,
    margin-top 0.24s ease;
}

.faq-item.open span::after {
  content: "-";
}

.faq-item.open em {
  max-height: 120px;
  margin-top: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 7vw, 110px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 94px;
  height: auto;
}

footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

.policy-page {
  background: var(--soft);
}

.policy-hero {
  padding: 150px clamp(20px, 7vw, 110px) 66px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(240, 184, 79, 0.24), transparent 28%),
    linear-gradient(135deg, #10161c, #172c34 58%, #0f6b5d);
}

.policy-hero .section-kicker {
  margin-top: 0;
}

.policy-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 78px);
}

.policy-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.policy-hero span {
  display: inline-block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 700;
}

.policy-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 86px;
}

.policy-content article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content article:first-child {
  padding-top: 0;
}

.policy-content h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.policy-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subscription-page {
  background: var(--paper);
}

.subscription-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: 74vh;
  padding: 140px clamp(20px, 7vw, 110px) 76px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(240, 184, 79, 0.25), transparent 28%),
    linear-gradient(135deg, #10161c, #17323b 56%, #0f6b5d);
}

.subscription-hero .section-kicker {
  margin-top: 0;
}

.subscription-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 82px);
}

.subscription-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.72;
}

.subscription-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.subscription-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.subscription-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.subscription-steps,
.subscription-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.subscription-steps article,
.subscription-faq article {
  min-height: 280px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subscription-steps span {
  display: block;
  margin-bottom: 52px;
  color: var(--accent);
  font-weight: 900;
}

.subscription-steps h2,
.subscription-faq h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.subscription-steps p,
.subscription-faq p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.subscription-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 86px clamp(20px, 7vw, 110px);
  background: var(--soft);
}

.subscription-note .section-kicker {
  margin-top: 0;
}

.subscription-note p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .site-header {
    height: 64px;
  }

  nav {
    display: none;
  }

  .language-select {
    min-width: 116px;
    max-width: 42vw;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(10, 16, 22, 0.94), rgba(10, 16, 22, 0.66));
  }

  .intro,
  .privacy,
  .product-view,
  .mode-lab,
  .faq,
  .subscription-hero,
  .subscription-note {
    grid-template-columns: 1fr;
    padding: 64px 20px;
  }

  .subscription-hero {
    padding-top: 112px;
  }

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

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

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

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

  .feature-grid article {
    min-height: 0;
  }

  .subscription-steps article,
  .subscription-faq article {
    min-height: 0;
  }

  .feature-grid span {
    margin-bottom: 26px;
  }

  .phone-panel {
    min-height: 600px;
    border-radius: 34px;
  }

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

  .policy-hero {
    padding: 112px 20px 50px;
  }

  .policy-content {
    width: calc(100% - 40px);
    padding: 44px 0 64px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
