:root {
  --bg: #07090d;
  --bg-2: #0c1118;
  --panel: rgba(14, 20, 28, 0.72);
  --panel-solid: #101820;
  --line: rgba(157, 195, 219, 0.12);
  --line-strong: rgba(157, 195, 219, 0.28);
  --text: #eef5f8;
  --muted: #8fa3b3;
  --accent: #8fd4ee;
  --accent-2: #5d90b2;
  --accent-deep: #2d6f93;
  --good: #4ade80;
  --hard: #fbbf24;
  --again: #f87171;
  --easy: #60a5fa;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--accent);
  color: #041018;
  padding: 8px 12px;
  border-radius: 8px;
}

.aurora, .grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.aurora {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(93, 144, 178, 0.28), transparent 55%),
    radial-gradient(700px 480px at 92% 8%, rgba(143, 212, 238, 0.12), transparent 50%),
    radial-gradient(600px 400px at 70% 100%, rgba(45, 111, 147, 0.18), transparent 55%);
  animation: auroraShift 18s ease-in-out infinite alternate;
}
.grid-bg {
  background-image:
    linear-gradient(rgba(143, 212, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 212, 238, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
}
@keyframes auroraShift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(18px) scale(1.04); }
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(7, 9, 13, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 9, 13, 0.88);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(143, 212, 238, 0.08);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #b7e7f7, #6bb3d1);
  color: #041018;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(93, 144, 178, 0.28);
  transition: transform 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-lg { height: 52px; padding: 0 22px; font-size: 1.02rem; }

.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.kicker:before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; margin: 0; }
h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  margin: 14px 0 18px;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.2rem; }
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.meta-row strong { color: var(--text); }

.hero-stage {
  position: relative;
  min-height: 460px;
}
.shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #111;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.shot img { width: 100%; }
.shot-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 16, 0.88);
}
.window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #161a20;
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: linear-gradient(180deg, #1c242e, #141a22);
  border-bottom: 1px solid var(--line);
}
.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a4654;
}
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}
.hero-shot {
  position: relative;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  animation: floaty 7s ease-in-out infinite;
}
.hero-shot-2 {
  position: absolute;
  width: 46%;
  right: -4%;
  bottom: -8%;
  transform: perspective(1200px) rotateY(12deg);
  animation: floaty 8s ease-in-out infinite reverse;
}
.hero-shot-3 {
  position: absolute;
  width: 28%;
  left: -8%;
  bottom: 8%;
  animation: floaty 6.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.phone {
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(180deg, #1b2430, #0c1118);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 20px; }

.grades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 28px;
  max-width: 460px;
}
.grade {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.grade small { display: block; font-weight: 500; opacity: 0.75; }
.g-again { background: rgba(248, 113, 113, 0.12); color: var(--again); }
.g-hard { background: rgba(251, 191, 36, 0.12); color: var(--hard); }
.g-good { background: rgba(74, 222, 128, 0.12); color: var(--good); }
.g-easy { background: rgba(96, 165, 250, 0.12); color: var(--easy); }

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.5);
  margin: 28px 0 10px;
}
.marquee {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 48s linear infinite;
  padding: 22px 0;
}
.marquee:hover { animation-play-state: paused; }
.marquee .shot { width: 340px; flex: none; }
@keyframes marquee {
  from { translate: 0; }
  to { translate: -50%; }
}

section { padding: 88px 0; position: relative; z-index: 1; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head p { color: var(--muted); max-width: 520px; margin: 10px 0 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(16px);
}
.cards-3, .cards-4 {
  display: grid;
  gap: 16px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card img.icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  filter: invert(1) sepia(1) saturate(3) hue-rotate(160deg);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.gallery-stack { display: grid; gap: 16px; }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
th { color: var(--muted); font-weight: 600; background: rgba(255,255,255,0.02); }
td.yes { color: var(--good); }
td.no { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.hl { background: rgba(143, 212, 238, 0.06); }

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}
blockquote footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dl-card .os {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.dl-card h3 { margin: 8px 0 12px; }
.dl-card .links { display: flex; flex-direction: column; gap: 8px; }
.dl-card a.btn, .dl-card a.btn-ghost { width: 100%; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  background: var(--panel);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--display);
}
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 48px;
  background:
    radial-gradient(500px 180px at 20% 0%, rgba(143, 212, 238, 0.16), transparent),
    var(--panel-solid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.legal { font-size: 0.8rem; line-height: 1.5; }

.page-hero { padding: 56px 0 20px; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.crumbs a:hover { color: var(--accent); }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shot-grid .shot:first-child { grid-column: span 2; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 90vh;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero, .split, .gallery, .cards-3, .cards-4, .quote-grid, .dl-grid, .footer-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .shot-grid { grid-template-columns: 1fr; }
  .shot-grid .shot:first-child { grid-column: auto; }
  .hero-stage { min-height: 0; }
  .hero-shot { transform: none; }
  .hero-shot-2, .hero-shot-3 { position: relative; width: 100%; right: auto; left: auto; bottom: auto; margin-top: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 9, 13, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .split.reverse { direction: ltr; }
}
