:root {
  --ink: #f7f9ff;
  --muted: #aeb8ce;
  --line: #29334a;
  --surface: #121827;
  --surface-2: #171f31;
  --bg: #080b12;
  --violet: #7c5cff;
  --cyan: #36d7ff;
  --red: #ef3c4f;
  --green: #4bd59b;
  --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(124, 92, 255, .18), transparent 31rem),
    radial-gradient(circle at 8% 34%, rgba(54, 215, 255, .08), transparent 27rem),
    var(--bg);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; color: #080b12; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 11, 18, .8);
  backdrop-filter: blur(18px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 198px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: .65rem .85rem; text-decoration: none; color: var(--muted); border-radius: 10px; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.menu-button { display: none; color: #fff; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: .6rem .8rem; font: inherit; }

.eyebrow { margin: 0 0 18px; color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 850; }
.hero { min-height: 690px; padding: 76px 0 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6.8vw, 6.25rem); max-width: 720px; }
.gradient-text { background: linear-gradient(105deg, #fff 10%, #b9aaff 57%, #65def8); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.27rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid transparent; border-radius: 12px; color: #fff; font-weight: 780; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(110deg, var(--violet), #5a62f4); box-shadow: 0 12px 35px rgba(124, 92, 255, .3); }
.button-secondary { background: rgba(255,255,255,.045); border-color: var(--line); }
.micro-note { margin: 18px 0 0; color: #8e9ab2; font-size: .9rem; }

.device-stage { position: relative; min-height: 545px; }
.device-stage::before { content: ""; position: absolute; inset: 12% 4% 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.35), rgba(54,215,255,.04) 58%, transparent 70%); filter: blur(2px); }
.phone { position: absolute; overflow: hidden; width: 245px; padding: 8px; border: 1px solid #343d53; border-radius: 34px; background: #0d111c; box-shadow: var(--shadow); }
.phone img { aspect-ratio: 1080/2400; width: 100%; object-fit: cover; border-radius: 27px; }
.phone-one { right: 4%; top: 5%; transform: rotate(4deg); z-index: 2; }
.phone-two { left: 2%; top: 17%; transform: rotate(-5deg); }
.record-chip { position: absolute; right: 7%; bottom: 12%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(16,22,35,.9); box-shadow: var(--shadow); font-weight: 780; }
.record-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(239,60,79,.16); }

.section { padding: 92px 0; }
.section-dark { border-block: 1px solid rgba(255,255,255,.07); background: rgba(17,23,37,.68); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head h2, .page-hero h1 { margin-bottom: 0; font-size: clamp(2.15rem, 4.8vw, 4.3rem); }
.section-head p { max-width: 510px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23,31,49,.95), rgba(15,20,32,.92)); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 34px; color: var(--cyan); border: 1px solid rgba(54,215,255,.24); border-radius: 12px; background: rgba(54,215,255,.08); font-size: 1.2rem; font-weight: 900; }
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(5) .feature-icon { color: #c7baff; border-color: rgba(124,92,255,.3); background: rgba(124,92,255,.12); }
.feature-card:nth-child(3) .feature-icon { color: #ff8391; border-color: rgba(239,60,79,.3); background: rgba(239,60,79,.1); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.feature-card p { margin: 0; color: var(--muted); }

.prereq { display: grid; grid-template-columns: .78fr 1.22fr; gap: 46px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding: 16px 18px 16px 50px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,24,39,.7); }
.check-list li::before { content: "✓"; position: absolute; left: 17px; top: 16px; display: grid; place-items: center; width: 22px; height: 22px; color: #07140f; border-radius: 50%; background: var(--green); font-size: .78rem; font-weight: 1000; }

.steps { display: grid; gap: 54px; }
.step { display: grid; grid-template-columns: 340px 1fr; gap: 62px; align-items: center; }
.step:nth-child(even) { grid-template-columns: 1fr 340px; }
.step:nth-child(even) .step-shot { order: 2; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 30px; margin-bottom: 20px; color: var(--cyan); border: 1px solid rgba(54,215,255,.28); border-radius: 999px; background: rgba(54,215,255,.07); font-weight: 900; }
.step h3 { margin-bottom: 14px; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.step p { color: var(--muted); }
.step-shot { justify-self: center; width: 292px; padding: 9px; border: 1px solid #303b55; border-radius: 36px; background: #0b0f18; box-shadow: var(--shadow); }
.step-shot img { border-radius: 28px; }
.tip { padding: 16px 18px; border-left: 3px solid var(--violet); background: rgba(124,92,255,.08); color: #d7dcf0 !important; border-radius: 0 10px 10px 0; }

.gallery-tools { display: flex; gap: 8px; margin-bottom: 28px; }
.filter-button { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: .58rem .95rem; font: inherit; font-weight: 720; cursor: pointer; }
.filter-button[aria-pressed="true"] { color: #fff; border-color: #6451d1; background: rgba(124,92,255,.18); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { margin: 0; }
.gallery-button { width: 100%; padding: 0; color: inherit; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; cursor: zoom-in; }
.gallery-button:hover, .gallery-button:focus-visible { border-color: #6657bb; transform: translateY(-2px); }
.gallery-button img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; background: #f9f3fb; }
.gallery-button span { display: block; min-height: 74px; padding: 14px 15px; color: var(--muted); font-size: .9rem; }
.gallery-item[hidden] { display: none; }

.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 40px; border: 1px solid rgba(124,92,255,.35); border-radius: 28px; background: linear-gradient(120deg, rgba(124,92,255,.18), rgba(54,215,255,.07)); }
.cta h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.cta p { margin: 0; color: var(--muted); }

.page-hero { padding: 82px 0 54px; }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.15rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { padding: 32px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card:hover { border-color: #5b69a0; }
.contact-card small { display: block; margin-bottom: 8px; color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.contact-card strong { display: block; font-size: clamp(1.25rem, 2.8vw, 2rem); overflow-wrap: anywhere; }
.contact-card span { color: var(--muted); }
.support-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h2 { font-size: 1.7rem; }
.panel p, .panel li { color: var(--muted); }
.panel ol, .panel ul { padding-left: 1.25rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 4px; cursor: pointer; font-weight: 800; }
.faq details p { margin: -5px 4px 20px; }
.policy { max-width: 820px; }
.policy section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.policy h2 { font-size: 1.55rem; }
.policy p, .policy li { color: var(--muted); }
.policy a { color: #b9ccff; }
.notice { margin: 30px 0 0; padding: 18px 20px; border: 1px solid rgba(54,215,255,.22); border-radius: 14px; background: rgba(54,215,255,.06); color: #dfefff; }

.site-footer { margin-top: 70px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 35px; padding: 46px 0; }
.footer-brand img { width: 180px; margin-bottom: 15px; }
.footer-brand p, .footer-links a, .copyright { color: var(--muted); }
.copyright a { color: #dbe4ff; text-underline-offset: .18em; }
.copyright a:hover { color: #fff; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 6px; color: #fff; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: .88rem; }

dialog { width: min(92vw, 580px); max-height: 92vh; padding: 0; border: 1px solid #39445f; border-radius: 24px; background: #0b0f18; color: #fff; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(2,4,8,.85); backdrop-filter: blur(5px); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; }
.dialog-bar strong { font-size: .95rem; }
.dialog-close { color: #fff; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: .45rem .7rem; cursor: pointer; }
.dialog-image { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #eef0f5; }

@media (max-width: 920px) {
  .hero-grid, .prereq, .support-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .device-stage { min-height: 520px; max-width: 580px; width: 100%; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .step, .step:nth-child(even) { grid-template-columns: 270px 1fr; gap: 38px; }
  .step:nth-child(even) .step-shot { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 168px; }
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 10px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: #0d121e; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.25rem); }
  .hero-copy { font-size: 1rem; }
  .device-stage { min-height: 430px; }
  .phone { width: 184px; border-radius: 28px; }
  .phone img { border-radius: 21px; }
  .phone-one { right: 1%; }
  .phone-two { left: 0; top: 20%; }
  .record-chip { right: 1%; bottom: 8%; font-size: .84rem; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step-shot { width: min(260px, 82vw); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-button span { min-height: 82px; padding: 11px; font-size: .82rem; }
  .cta { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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