:root {
  color-scheme: dark;
  --bg: #080a13;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --muted: #a4abc2;
  --text: #f7f8ff;
  --blue: #0a84ff;
  --blue-2: #5e5ce6;
  --max: 1180px;
  --radius-card: 22px;
  --radius-control: 12px;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); min-width: 320px; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 34% at 74% 8%, rgba(10, 132, 255, .17), transparent),
    radial-gradient(ellipse 42% 30% at 12% 34%, rgba(94, 92, 230, .12), transparent),
    radial-gradient(ellipse 50% 36% at 88% 74%, rgba(94, 92, 230, .07), transparent);
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #7cbcff; outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; z-index: 40; top: 8px; left: 8px; padding: 10px 14px; background: white; color: black; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* ---------- glass primitives ---------- */
.site-header, .glass-nav, .glass-card, .region-lab, .faq-list details, .learning-card, .table-wrap, .prose .notice, .step-grid article, .privacy-grid article, .suggestion-demo, .price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 44px rgba(0, 0, 0, .3);
}
.glass-card { padding: 26px 28px; border-radius: var(--radius-card); }

/* ---------- header ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 30; width: min(calc(100% - 32px), var(--max)); margin: 14px auto 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 12px; border-radius: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; letter-spacing: -.02em; font-size: 17px; }
.brand img { border-radius: 8px; }
.site-header nav:not(.glass-nav) { display: flex; gap: 22px; }
.site-header nav:not(.glass-nav) a { color: var(--muted); font-size: 13.5px; }
.site-header nav:not(.glass-nav) a:hover { color: var(--text); }
.glass-nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; }
.glass-nav a { padding: 8px 15px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 550; transition: color .18s ease, background .18s ease; }
.glass-nav a:hover { color: var(--text); background: var(--panel-2); }
.lang-switch { font-weight: 650; color: var(--blue); }
.site-header nav:not(.glass-nav) .lang-switch { color: var(--blue); }
.button { min-height: 44px; padding: 0 19px; border: 1px solid var(--line); border-radius: var(--radius-control); display: inline-flex; align-items: center; justify-content: center; font-weight: 620; font-size: 14px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 36px; padding-inline: 15px; font-size: 13px; }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; box-shadow: 0 10px 30px rgba(10, 110, 255, .34); }
.button-primary:hover { box-shadow: 0 14px 36px rgba(10, 110, 255, .44); }
.button-secondary { background: var(--panel); border-color: var(--line-strong); backdrop-filter: blur(18px); }
.nav-cta { border-radius: 999px; }

/* ---------- hero ---------- */
.hero { width: min(calc(100% - 40px), var(--max)); min-height: 690px; margin: auto; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 16px; color: #93a0c6; font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 700px; font-size: clamp(50px, 5.5vw, 74px); line-height: .99; letter-spacing: -.055em; background: linear-gradient(140deg, #fff 30%, #b9c6ee 74%, #7e86b4); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-lead { max-width: 580px; margin: 24px 0 10px; color: var(--muted); font-size: clamp(18px, 2vw, 20px); line-height: 1.55; }
.hero-sub { max-width: 580px; margin: 0 0 24px; color: #7e869e; font-size: 15px; }
.launch-status { width: fit-content; max-width: 560px; margin: 0 0 26px; padding: 11px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(74, 190, 123, .3); border-radius: 999px; background: rgba(48, 209, 88, .09); backdrop-filter: blur(18px); }
.launch-status > span:last-child, .launch-status strong, .launch-status small { display: block; }
.launch-status strong { font-size: 13px; }
.launch-status small { margin-top: 2px; color: #86c99b; font-size: 12px; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 5px rgba(48, 209, 88, .13); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.store-badge { display: inline-flex; border-radius: 9px; transition: transform .16s ease, filter .16s ease; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.18); }
.store-badge img { display: block; border-radius: 9px; }
.microcopy { margin-top: 16px; color: #727a92; font-size: 13px; }

/* ---------- hero visual (macOS window) ---------- */
.hero-visual { position: relative; }
.display-frame {
  overflow: hidden; aspect-ratio: 1.23;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
  background: rgba(22, 26, 43, .78);
  backdrop-filter: blur(26px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 48px 110px rgba(0, 0, 0, .5), 0 0 90px rgba(35, 80, 220, .13);
  transform: perspective(1300px) rotateY(-4deg) rotateX(2deg);
}
.display-toolbar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #76809b; font-size: 11px; background: rgba(255, 255, 255, .04); }
.display-toolbar i { width: 11px; height: 11px; border-radius: 50%; }
.display-toolbar i:nth-child(1) { background: #ff5f57; }
.display-toolbar i:nth-child(2) { background: #febc2e; }
.display-toolbar i:nth-child(3) { background: #28c840; }
.display-toolbar span { margin: auto; padding-right: 52px; }
.display-content { position: relative; height: calc(100% - 44px); background: linear-gradient(150deg, rgba(16, 20, 38, .9), rgba(11, 13, 26, .95)); }
.ghost-lines { position: absolute; inset: 14% 8%; display: grid; align-content: start; gap: 9%; opacity: .38; }
.ghost-lines b { width: 56%; height: 7px; background: #46506d; border-radius: 4px; }
.ghost-lines b:nth-child(2), .ghost-lines b:nth-child(5) { width: 76%; }
.ghost-lines b:nth-child(3) { width: 43%; }
.capture-region { position: absolute; display: grid; place-items: center; border: 1px solid rgba(95, 168, 255, .85); background: linear-gradient(150deg, rgba(10, 132, 255, .28), rgba(94, 92, 230, .34)); box-shadow: inset 0 0 64px rgba(40, 110, 255, .18); transition: inset .28s ease, width .28s ease, height .28s ease; }
.capture-region.right { inset: 0 0 0 50%; }.capture-region.left { inset: 0 50% 0 0; }.capture-region.top { inset: 0 0 50% 0; }.capture-region.bottom { inset: 50% 0 0 0; }.capture-region.full { inset: 0; }
.capture-region > div { text-align: center; }.capture-region strong, .capture-region small { display: block; }.capture-region strong { font-size: clamp(15px, 2vw, 24px); }.capture-region small { margin-top: 6px; color: #bdd7ff; }
.corner { position: absolute; width: 15px; height: 15px; border-color: #f4f8ff; }.corner-one { top: 8px; left: 8px; border-top: 2px solid; border-left: 2px solid; }.corner-two { top: 8px; right: 8px; border-top: 2px solid; border-right: 2px solid; }.corner-three { bottom: 8px; left: 8px; border-bottom: 2px solid; border-left: 2px solid; }.corner-four { right: 8px; bottom: 8px; border-right: 2px solid; border-bottom: 2px solid; }
.success-pill { position: absolute; right: -14px; bottom: -20px; padding: 12px 17px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(24, 28, 46, .82); box-shadow: 0 18px 45px rgba(0, 0, 0, .4); backdrop-filter: blur(20px) saturate(150%); font-size: 13px; font-weight: 550; }
.success-pill span { color: #30d158; margin-right: 6px; font-weight: 800; }

/* ---------- region lab ---------- */
.region-lab, .features, .steps, .product-shot, .learning, .privacy, .final-cta, .compare, .faq, .store-launch { width: min(calc(100% - 40px), var(--max)); margin: 96px auto; }
.region-lab { display: grid; justify-items: center; gap: 15px; padding: 22px 28px 14px; border-radius: var(--radius-card); }
h2 { margin: 0; font-size: clamp(33px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.042em; }
.region-controls { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 7px; }
.region-controls button, .region-controls label { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(255, 255, 255, .045); display: inline-flex; align-items: center; gap: 7px; }
.region-controls button { cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.region-controls button:hover, .region-controls button.selected { color: white; border-color: #3b8cff; background: rgba(10, 132, 255, .18); }
.region-controls select { color: white; border: 0; background: transparent; }
.region-note { margin: 0; color: #7f879f; font-size: 13px; }

/* ---------- features ---------- */
.section-heading { max-width: 760px; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-glyph { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; font-size: 20px; color: #9ecbff; background: linear-gradient(140deg, rgba(10, 132, 255, .22), rgba(94, 92, 230, .22)); border: 1px solid rgba(120, 165, 255, .25); }
.glass-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.glass-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ---------- steps ---------- */
.step-grid, .privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-grid article, .privacy-grid article { min-height: 205px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); backdrop-filter: blur(18px); }
.step-grid article > span { color: #67718f; font: 700 12px ui-monospace, monospace; }
.step-grid h3, .privacy-grid h3 { margin: 48px 0 10px; font-size: 20px; }
.step-grid p, .privacy-grid p, .shot-copy p, .learning-card p { color: var(--muted); line-height: 1.65; }

/* ---------- product shot ---------- */
.product-shot { display: grid; grid-template-columns: .88fr 1.12fr; gap: 76px; align-items: center; padding: 64px 0; }
.shot-copy p { font-size: 16.5px; }
.shot-copy ul { padding: 0; list-style: none; color: #cdd3e6; line-height: 2.1; }
.shot-copy li::before { content: "✓"; color: #4f9eff; margin-right: 10px; font-weight: 700; }
.shot-frame { min-height: 540px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle at 50% 42%, rgba(45, 105, 255, .2), transparent 44%), rgba(13, 16, 29, .7); overflow: hidden; }
.shot-frame img { width: min(84%, 520px); height: auto; filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .46)); }

/* ---------- compare ---------- */
.compare .region-note { margin-top: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--panel); backdrop-filter: blur(18px); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 680px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { color: #97a1bd; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .03); }
.compare tbody th { font-weight: 620; color: #dfe4f2; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: #5fd38d; font-weight: 650; }
.compare td.no { color: #757d94; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 11px; max-width: 860px; }
.faq-list details { padding: 4px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); backdrop-filter: blur(16px); }
.faq-list summary { padding: 15px 0; cursor: pointer; font-weight: 620; font-size: 15.5px; list-style: none; position: relative; padding-right: 30px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-52%); color: #8b95b2; font-size: 20px; font-weight: 400; transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.faq-list details p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 700px; }

/* ---------- learning ---------- */
.learning-card { display: grid; grid-template-columns: auto 1fr .7fr; gap: 28px; align-items: center; padding: 30px 36px; border: 1px solid rgba(109, 113, 255, .26); border-radius: 20px; background: linear-gradient(125deg, rgba(28, 41, 88, .3), rgba(48, 32, 81, .2)); }
.spark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg, #0a84ff, #7d5bf6); font-size: 25px; }
.learning-card h2 { font-size: clamp(28px, 3.1vw, 44px); }
.suggestion-demo { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 10, 19, .55); }
.suggestion-demo small, .suggestion-demo strong, .suggestion-demo span { display: block; }
.suggestion-demo small { color: #8d96b2; }
.suggestion-demo strong { margin: 8px 0 15px; }
.suggestion-demo span { width: fit-content; padding: 7px 10px; border-radius: 7px; color: #bdddff; background: rgba(10, 132, 255, .18); font-size: 12px; }

/* ---------- privacy ---------- */
.privacy { padding: 76px 0; }
.privacy > div:first-child { max-width: 700px; margin-bottom: 45px; }
.privacy-grid article > span { font-size: 27px; color: #78a9ff; }
.privacy-grid h3 { margin-top: 26px; }
.text-link { display: inline-block; margin-top: 24px; color: #9ec7ff; }

/* ---------- store / final cta ---------- */
.store-launch { display: grid; grid-template-columns: 1fr 330px; gap: 64px; align-items: center; padding: 54px 62px; border: 1px solid rgba(96, 135, 255, .26); border-radius: 28px; background: radial-gradient(circle at 88% 20%, rgba(67, 91, 255, .22), transparent 36%), rgba(17, 22, 44, .6); backdrop-filter: blur(24px); box-shadow: 0 28px 80px rgba(0, 0, 0, .24); }
.store-copy p:last-child { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.price-card { min-height: 300px; padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius-card); background: rgba(8, 10, 22, .66); box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 22px 48px rgba(0, 0, 0, .26); }
.price-card small { color: #8f9ab8; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card strong { margin: 10px 0 5px; font-size: 60px; line-height: 1; letter-spacing: -.05em; }
.price-card sup { margin-right: 6px; color: #aeb8d5; font-size: 18px; letter-spacing: 0; vertical-align: super; }
.price-card span { color: #dce5ff; font-weight: 650; }
.price-card em { margin: 14px 0 22px; color: #7f899f; font-size: 12.5px; font-style: normal; }
.price-button { width: 100%; }
.final-cta { width: 100%; padding: 78px max(30px, calc((100% - var(--max)) / 2)); text-align: center; border-block: 1px solid var(--line); background: linear-gradient(110deg, rgba(12, 26, 62, .75), rgba(22, 40, 92, .68), rgba(12, 26, 62, .75)); }
.final-cta p:not(.eyebrow) { max-width: 680px; color: var(--muted); margin: 18px auto 28px; }
.final-cta .hero-actions { justify-content: center; }

footer { width: min(calc(100% - 40px), var(--max)); min-height: 110px; margin: auto; display: flex; align-items: center; justify-content: space-between; color: #8e96ad; font-size: 13px; }
footer p { margin: 0; }
footer nav { display: flex; gap: 24px; }
footer nav a:hover, .site-header nav a:hover, .text-link:hover { color: white; }

/* ---------- prose pages (install/support/privacy/terms) ---------- */
.prose { width: min(calc(100% - 40px), 800px); min-height: calc(100vh - 220px); margin: 70px auto 110px; }
.prose h1 { margin-bottom: 26px; font-size: clamp(44px, 7vw, 68px); }
.prose h2 { margin-top: 46px; font-size: 27px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose a { color: #9ec7ff; }
.prose .notice { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.document-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 26px 0 40px; }
.prose .document-actions a.button-primary { color: white; }

@media (max-width: 1000px) {
  .glass-nav { display: none; }
}
@media (max-width: 850px) {
  .hero { min-height: auto; padding: 70px 0; grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .region-controls { grid-template-columns: repeat(3, 1fr); }
  .store-launch { grid-template-columns: 1fr; gap: 35px; padding: 38px 30px; }
  .price-card { min-height: 240px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-grid, .privacy-grid { grid-template-columns: 1fr; }
  .product-shot { grid-template-columns: 1fr; gap: 35px; }
  .learning-card { grid-template-columns: auto 1fr; }
  .suggestion-demo { grid-column: 1 / -1; }
  .shot-frame { min-height: 460px; }
}
@media (max-width: 560px) {
  .site-header, footer { width: min(calc(100% - 24px), var(--max)); }
  .nav-wrap { width: min(calc(100% - 24px), var(--max)); top: 10px; }
  .hero, .region-lab, .features, .steps, .product-shot, .learning, .privacy, .compare, .faq, .store-launch { width: min(calc(100% - 24px), var(--max)); margin-block: 64px; }
  .hero { padding-top: 54px; gap: 46px; }
  .launch-status { max-width: 100%; }
  .hero-actions, .document-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .document-actions .button, .store-badge { width: 100%; justify-content: center; }
  .store-badge img { width: 100%; height: auto; }
  .region-controls { grid-template-columns: repeat(2, 1fr); }
  .region-controls label { width: 100%; justify-content: space-between; }
  .price-card strong { font-size: 52px; }
  .feature-grid { grid-template-columns: 1fr; }
  .learning-card { padding: 24px; grid-template-columns: 1fr; }
  .shot-frame { min-height: 390px; }
  .final-cta { padding-inline: 20px; }
  footer { padding: 30px 0; align-items: flex-start; flex-direction: column; gap: 20px; }
  footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .display-frame { transform: none; }
  .button:hover, .store-badge:hover { transform: none; }
}
