:root {
  color-scheme: dark;
  --bg: #030917;
  --bg-soft: #071328;
  --panel: rgba(10, 26, 52, 0.72);
  --panel-strong: rgba(15, 38, 77, 0.88);
  --line: rgba(144, 202, 255, 0.18);
  --text: #f5f9ff;
  --muted: #a9bad1;
  --subtle: #71839c;
  --cyan: #35d7ff;
  --blue: #2a78ff;
  --blue-deep: #0847d8;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(42, 120, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 84% 12%, rgba(53, 215, 255, 0.18), transparent 31rem),
    linear-gradient(180deg, #030917 0%, #061126 45%, #020713 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 70%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(3, 9, 23, 0.76);
  border-bottom: 1px solid rgba(144, 202, 255, 0.12);
}

.nav {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(53, 215, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

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

.lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  flex: 0 0 auto;
  padding: 6px 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.lang-switch a[aria-current="true"] {
  color: var(--bg);
  background: var(--cyan);
}

.hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 64px;
  padding: 78px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 7.1rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.headline-tight {
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: #d7e6f8;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: #001226;
  background: linear-gradient(135deg, var(--cyan), #6af4ff);
  box-shadow: 0 16px 46px rgba(53, 215, 255, 0.25);
}

.button.disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: default;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
}

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

.hero-card {
  position: absolute;
  inset: 22px 0 auto auto;
  width: min(82%, 420px);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 22px;
}

.icon-float {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(44%, 230px);
  border-radius: 28px;
  box-shadow: 0 26px 90px rgba(6, 70, 216, 0.44);
}

.preview-panel {
  position: absolute;
  left: 22px;
  right: 42px;
  bottom: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 9, 22, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.preview-panel strong {
  display: block;
  color: var(--white);
}

.preview-panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section.narrow {
  width: min(100% - 40px, 860px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.section-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.feature-card,
.info-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.feature-card h3,
.info-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.feature-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(53, 215, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(53, 215, 255, 0.32);
  font-weight: 800;
}

.privacy-band {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 76px;
  border: 1px solid rgba(53, 215, 255, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(42, 120, 255, 0.24), rgba(53, 215, 255, 0.08)),
    rgba(5, 18, 38, 0.82);
  box-shadow: var(--shadow);
}

.privacy-band p {
  max-width: 760px;
  color: #d7e6f8;
  font-size: 1.14rem;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.privacy-points div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: start;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
}

.shot.tall {
  height: 720px;
}

.shot.tall img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doc-hero {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 86px 0 34px;
}

.doc-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

.doc-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.doc {
  width: min(100% - 40px, 920px);
  margin: 0 auto 80px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.doc h2 {
  margin: 42px 0 14px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc h3 {
  margin: 26px 0 10px;
}

.doc p,
.doc li {
  color: #d4e1f2;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc a {
  color: var(--cyan);
}

.last-updated {
  color: var(--subtle);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(144, 202, 255, 0.14);
  background: rgba(2, 7, 19, 0.72);
}

.footer-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero,
  .section-heading,
  .screenshot-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 560px;
  }

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

  .privacy-band {
    padding: 42px 24px;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .section,
  .privacy-band,
  .doc-hero,
  .doc,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    display: none;
  }

  .nav-links {
    font-size: 0.86rem;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-card {
    width: 88%;
    right: 0;
  }

  .icon-float {
    width: 39%;
  }

  .preview-panel {
    left: 0;
    right: 0;
  }

  .section {
    padding: 68px 0;
  }

  .doc {
    padding: 26px 18px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
