﻿.diagnostics-panel { position:fixed; z-index:100; right:16px; bottom:16px; width:min(360px,calc(100vw - 32px)); padding:16px; border:1px solid #456284; border-radius:16px; background:#0a1628; color:#edf5ff; box-shadow:0 12px 40px #0008; display:grid; gap:10px; font-size:13px; }
.diagnostics-panel canvas { width:100%; height:75px; }
.diagnostics-panel output { color:#afc4dc; }
:root {
  --bg: #060b17;
  --bg-2: #081225;
  --panel: rgba(9, 19, 38, .78);
  --panel-strong: rgba(12, 24, 48, .95);
  --line: rgba(137, 171, 255, .18);
  --line-strong: rgba(113, 166, 255, .42);
  --text: #f7f9ff;
  --muted: #a9b7d3;
  --muted-2: #7083a8;
  --blue: #61a8ff;
  --blue-2: #3f7cff;
  --violet: #8b63ff;
  --pink: #f09ad9;
  --gold: #ffc77a;
  --green: #4be2bb;
  --danger: #ff6f86;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0,0,0,.36);
  --max: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.visual-test *,
html.visual-test *::before,
html.visual-test *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(5,10,20,.24),rgba(7,16,31,.58)) fixed,
    url("/assets/studio-backdrop.webp") center center / cover fixed,
    #050a14;
  color: var(--text);
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.45;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    radial-gradient(circle at 14% 20%, #fff 0 1px, transparent 1.3px),
    radial-gradient(circle at 84% 30%, #9dc7ff 0 1px, transparent 1.4px),
    radial-gradient(circle at 68% 74%, #fff 0 .8px, transparent 1.2px),
    radial-gradient(circle at 37% 55%, #a38dff 0 .9px, transparent 1.2px);
  background-size: 240px 240px, 310px 310px, 370px 370px, 440px 440px;
}

h1, h2, h3, .brand, .price, .plan {
  font-family: "Manrope", "Onest", system-ui, sans-serif;
  font-variation-settings: "wght" 750;
  text-wrap: wrap;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.page-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .14;
  pointer-events: none;
  z-index: -1;
}
.page-glow-a { right: -220px; top: 180px; background: #5838ff; }
.page-glow-b { left: -260px; bottom: 8%; background: #165dff; }

.perf-debug {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 1000;
  width: min(260px, calc(100vw - 28px));
  padding: 12px 14px;
  border: 1px solid rgba(126, 174, 255, .28);
  border-radius: 14px;
  background: rgba(5, 12, 27, .90);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .38);
  backdrop-filter: blur(16px);
  color: #dbe8ff;
  font: 600 12px/1.45 ui-monospace, "Cascadia Code", Consolas, monospace;
  pointer-events: none;
}
.perf-debug[hidden] { display: none; }
.perf-debug strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 12px;
}
.perf-debug span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.perf-debug output { color: #8fc5ff; }

.topbar {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(135, 163, 211, .17);
  position: sticky;
  top: 0;
  background: #050a14;
  z-index: 30;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.03em;
  width: max-content;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(74, 136, 255, .55);
}
.topbar nav, footer nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a, footer nav a {
  color: #b2bfd8;
  font-size: 16px;
  transition: color .2s ease, transform .2s ease;
}
.topbar nav a:hover, footer nav a:hover { color: #fff; transform: translateY(-1px); }
#header-login { justify-self: end; }

.button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1px solid rgba(128, 169, 255, .28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.job-action .button[hidden] { display:none !important; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible, .price-card:focus-visible {
  outline: 3px solid rgba(101, 173, 255, .48);
  outline-offset: 3px;
}
.button-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(115deg, #1675cf, #1b57c8);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.36), 0 8px 24px rgba(25,122,240,.25);
}
.button-quiet { background: rgba(14, 28, 55, .76); color: #f3f7ff; }
.button-ghost { background: rgba(255,255,255,.035); color: #fff; border-color: rgba(255,255,255,.14); }
.button-google { background: #fff; color: #0c1425; border-color: #fff; }
.button-google img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.button-wide { width: 100%; }
.button[disabled] { opacity: .5; cursor: default; transform: none; }

main, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
section[id] { scroll-margin-top: 100px; }

.story-stage {
  position: absolute;
  z-index: 8;
  top: 108px;
  right: max(20px, calc((100vw - var(--max)) / 2));
  width: min(44vw, 560px);
  height: 470px;
  pointer-events: auto;
  will-change: left, top, width, height, opacity, transform;
}
.story-stage.is-managed {
  position: absolute;
}
.story-stage .hero-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.story-slot {
  pointer-events: none;
}
.story-slot-hero {
  min-height: 540px;
}
.story-slot-workflow {
  position: relative;
  width: 100%;
  height: 260px;
}
.how-section .section-head {
  padding-right: 0;
}
.story-slot-sync {
  min-height: 330px;
}
.story-slot-pricing {
  position: relative;
  width: 100%;
  height: 260px;
}
.pricing-head {
  padding-right: 0;
  min-height: 0;
}
.story-slot-windows {
  min-height: 300px;
}
.story-stage[data-story-state="workflow"],
.story-stage[data-story-state="sync"] {
  filter: saturate(1.02);
}
.story-stage[data-story-state="pricing"] {
  filter: saturate(.96);
}
.story-stage[data-story-state="windows"] {
  filter: saturate(1.05);
}
.story-stage[data-story-state="bonus"] .space-haze,
.story-stage[data-story-state="bonus"] .scene-controls { display:none; }

.hero {
  min-height: 600px;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 30px;
  position: relative;
}
.hero-copy { position: relative; z-index: 5; }
.eyebrow {
  margin: 0 0 11px;
  color: #87baff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow-pill {
  width: max-content;
  padding: 7px 14px;
  border: 1px solid rgba(112, 175, 255, .28);
  border-radius: 999px;
  background: rgba(15, 37, 75, .52);
  box-shadow: inset 0 0 24px rgba(70, 120, 255, .08);
}
.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1.01;
  letter-spacing: -.055em;
  text-wrap: wrap;
}
.hero h1 span {
  background: linear-gradient(110deg, #8ccfff, #6f9eda);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 450px;
  color: #bdc9de;
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.button-hero {
  min-width: 210px;
  min-height: 58px;
  flex-direction: row;
  gap: 10px;
  line-height: 1.18;
}
.button-hero small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; opacity: .7; }
.trust-line { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: #b0bdd2; font-size: 12px; }

.hero-visual {
  min-height: 460px;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}
.space-haze {
  position: absolute;
  inset: 3% 0 -4% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 48%, rgba(62, 111, 255, .28), rgba(83, 53, 255, .10) 34%, transparent 65%),
    radial-gradient(circle at 72% 36%, rgba(252, 137, 236, .10), transparent 32%);
  filter: blur(36px);
  pointer-events: none;
}
.hero-art-shell {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: none;
  transition: none;
}

.hero-three-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
  filter: none;
}
.hero-three-canvas[hidden] { display: none !important; }
.hero-visual.three-ready .hero-three-canvas {
  opacity: 1;
}
.hero-visual.three-card-hover {
  cursor: pointer;
}
.hero-hotspot {
  z-index: 3;
  position: absolute;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  pointer-events: none;
}
.hero-hotspot:hover,
.hero-hotspot:focus-visible,
.hero-hotspot.is-active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: none;
}
.hotspot-url { left: 16%; top: 8%; width: 25%; height: 18%; }
.hotspot-video { right: 8%; top: 8%; width: 27%; height: 20%; }
.hotspot-mp3 { left: 5%; top: 39%; width: 26%; height: 19%; }
.hotspot-course { right: 1%; top: 37%; width: 32%; height: 22%; }
.hotspot-windows { left: 20%; bottom: 5%; width: 29%; height: 22%; }
.hotspot-telegram { right: 8%; bottom: 5%; width: 27%; height: 21%; }

.section { padding: 38px 0; position: relative; }
.section-card, .sync-card, .download-card, .panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(13, 27, 53, .84), rgba(7, 15, 31, .82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.section-card { border-radius: var(--radius); padding: 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head h2, .sync-copy h2, .download-card h2, .dashboard-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.section-head p { margin: 7px 0 0; color: var(--muted); max-width: 640px; }
.section-head.compact { display: block; margin-bottom: 16px; }
.section-head.compact h2 { font-size: 31px; }

.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 13px; align-items: center; min-width: 0; }
.step-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; font-weight: 900;
  border: 1px solid rgba(123, 147, 255, .62);
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.18), rgba(77,64,255,.18) 40%, rgba(9,17,36,.9));
  box-shadow: 0 0 28px rgba(93, 67, 255, .3);
}
.step-icon { cursor:pointer; color:inherit; padding:0; }
.step-icon:hover { border-color:#a8d9ff; box-shadow:0 0 24px #2c8ed738; }
.step-icon:focus-visible { outline:3px solid #8dcaff; outline-offset:4px; }
.step strong { font-size: 16px; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.step-arrow { font-size: 44px; color: #7294df; font-weight: 200; }

.sync-card {
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr) 300px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.sync-copy p:not(.eyebrow) { color: var(--muted); margin: 12px 0 0; max-width: 420px; }
.sync-copy h2 { font-size: 33px; }
.auth-panel { min-width: 0; }
.auth-actions { display: grid; gap: 10px; }
.email-login-form { display: grid; grid-template-columns: 1fr; gap: 10px; }
input, select {
  width: 100%;
  min-height: 48px;
  color: var(--text);
  background: rgba(5, 13, 29, .82);
  border: 1px solid rgba(115, 150, 220, .24);
  border-radius: 13px;
  padding: 0 14px;
  outline: none;
}
input:focus, select:focus { border-color: #669cff; box-shadow: 0 0 0 3px rgba(82, 139, 255, .12); }
label { display: grid; gap: 7px; color: #c9d4e8; font-size: 13px; }
.field-note { color: var(--muted-2); font-size: 12px; line-height: 1.5; margin: 9px 0 0; }
.status { min-height: 0; margin: 9px 0 0; font-size: 13px; color: #b9c7df; }
.status:empty { display: none; }
.status.error { color: #ff8fa2; }
.status.success { color: #72e4bf; }

.dashboard-shell { margin-top: 22px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 18px; }
.dashboard-heading h2 { font-size: 38px; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.dashboard-grid.lower { grid-template-columns: 1fr 1fr; align-items: start; margin-top: 18px; }
.panel { border-radius: 20px; padding: 24px; }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.panel-title h3 { margin: 0; font-size: 22px; }
.panel-title .eyebrow { margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#download-form { display: grid; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; font-size: 11px; border: 1px solid rgba(123, 154, 217, .26); color: #b8c6dc;
}
.pill.online { color: #69e0ba; border-color: rgba(73, 221, 178, .28); background: rgba(38, 125, 102, .12); }
.pill.offline { color: #aab9d4; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(125, 151, 199, .12); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.text-link, .text-button { color: #80b7ff; }
.text-link { display: block; margin-top: 15px; font-size: 14px; }
.text-button { border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; }
.job-list, .device-list { display: grid; gap: 10px; }
.job-row, .device-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 14px; border: 1px solid rgba(118, 151, 211, .16); border-radius: 13px; background: rgba(4, 12, 28, .44);
}
.row-main { min-width: 0; }
.row-main b, .row-main small { display: block; }
.row-main small { color: var(--muted-2); margin-top: 3px; overflow-wrap: anywhere; }
.job-action { display: flex; align-items: center; gap: 10px; }
.state { color: #9fb2d3; font-size: 11px; }
.result-actions { display: flex; gap: 10px; margin-top: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.price-card {
  min-width: 0;
  min-height: 440px;
  padding: 24px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(142, 195, 240, .38);
  border-radius: 23px;
  background: linear-gradient(155deg, rgba(24, 51, 73, .46), rgba(7, 17, 31, .96) 44%);
  box-shadow: inset 2px 2px 2px rgba(218, 241, 255, .12), inset -2px -2px 2px rgba(102, 148, 188, .09), 0 17px 34px rgba(0, 0, 0, .24);
  --card-lift: 0px;
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  transform: perspective(900px) translateY(var(--card-lift)) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.price-card:hover { --card-lift: -5px; border-color: rgba(133, 202, 255, .7); }
.price-card.featured {
  border-color: rgba(104, 136, 255, .82);
  box-shadow: 0 0 0 1px rgba(99, 185, 255, .48), 0 0 24px rgba(39, 145, 246, .20), inset 2px 2px 4px rgba(178, 224, 255, .2);
}
.price-card.course-plan { border-color: rgba(174, 102, 255, .34); }
.badge {
  position: absolute; right: 15px; top: 15px;
  padding: 5px 9px; border-radius: 999px;
  background: linear-gradient(100deg, #775cff, #bd70ff);
  color: #fff; font-size: 10px; font-weight: 850;
}
.badge-course { background: linear-gradient(100deg, #aa57b8, #6f54b7); }
.plan-top { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 16px; }
.plan-symbol { width: 96px; height: 96px; display: block; object-fit: contain; }
.plan { margin: 0; font-weight: 850; font-size: 20px; }
.price { text-align: center; margin: 4px 0 7px; font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.price small { font-size: 11px; color: var(--muted); font-weight: 650; letter-spacing: 0; }
.plan-for { text-align: center; min-height: 54px; color: var(--muted); margin: 4px 0 12px; font-size: 13px; }
.feature-list { list-style: none; padding: 13px 0 0; margin: 0 0 16px; border-top: 1px solid rgba(130, 153, 197, .15); display: grid; gap: 9px; }
.feature-list li { padding-left: 21px; color: #c0cce0; font-size: 13px; position: relative; }
.feature-list li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.feature-list .yes::before { content: "✓"; color: #54e2b9; }
.feature-list .no::before { content: "×"; color: #e88ac4; }
.plan-action {
  margin-top: auto;
  min-height: 44px; border-radius: 13px; cursor: pointer;
  border: 1px solid rgba(114, 159, 255, .34); background: rgba(25, 49, 91, .74); color: #f4f7ff; font-weight: 800;
}
.featured .plan-action {
  color: #081020; border-color: transparent;
  background: linear-gradient(105deg, #66b5ff, #846fff 50%, #ffb7d3 78%, #ffd38a);
  box-shadow: 0 10px 24px rgba(90, 89, 255, .26);
}
.pricing-note { margin: 18px 0 0; color: var(--muted-2); font-size: 12px; }

.download-card {
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: center;
}
.download-lead { color: var(--muted); max-width: 680px; font-size: 16px; }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.site-footer {
  border-top: 1px solid rgba(129, 154, 203, .16);
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: 48px;
  padding: 42px 0 38px;
}
.site-footer .footer-brand { align-self: start; font-size: 26px; }
.footer-brand span { display: grid; gap: 1px; }
.footer-brand small { color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 4px; }
.site-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  min-width: 0;
}
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.footer-column h2 { margin: 0 0 8px; color: #91baff; font-family: "Manrope", "Onest", sans-serif; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-footer .footer-column a { display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; line-height: 1.55; font-size: 14px; color: var(--muted); }
.site-footer .footer-column a:hover { color: var(--text); }
@media (max-width: 1040px) {
  .site-footer { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .site-footer .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-column { gap: 4px; }
  .site-footer .footer-column a { min-height: 44px; }
  .footer-column h2 { margin-bottom: 2px; }
}

.plan-dialog {
  width: min(560px, calc(100vw - 30px));
  color: var(--text);
  background: linear-gradient(160deg, #0e1b35, #07101f);
  border: 1px solid rgba(116, 154, 229, .35);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
  max-height: min(85dvh, 1000px);
  overflow-y:auto;
}
.plan-dialog h2 { padding-right:40px; }
.info-dialog { width:min(760px,calc(100vw - 30px)); max-width:calc(100vw - 24px); }
.plan-dialog.info-dialog h2 { font-size:clamp(25px,4vw,34px); }
.info-dialog > .eyebrow { padding-right:44px; font-size:11px; line-height:1.5; }
.info-dialog h3 { font-size:19px; margin:26px 0 8px; }
.info-dialog p { line-height:1.65; }
#info-dialog-content p { color:#c5d0e4; margin:0; }
.scene-controls { position:absolute; inset:0; pointer-events:none; z-index:5; }
.scene-control { position:absolute; transform:translate(-50%,-50%); width:130px; min-height:48px; padding:4px;
  color:#f5f8ff; border:0; background:transparent; font:700 16px "Manrope", sans-serif; cursor:pointer; pointer-events:auto;
  text-shadow:none; line-height:1.25; letter-spacing:-.025em; }
.scene-control small { display:block; margin-top:4px; font:500 12px "Onest", sans-serif; color:#c2d5ee; letter-spacing:0; }
.scene-controls .scene-control[data-engraved="true"] { color:transparent; text-shadow:none; }
.scene-controls .scene-control[data-engraved="true"] small { color:transparent; }
.hero-hotspot[data-engraved="true"] span { opacity:0; }
.brand,.plan,.price,.step strong,.plan-action { font-family:"Manrope",sans-serif; }
.scene-control.device-control { width:130px; font-size:14px; }
.scene-control:hover { color:#a9dcff; }
.scene-control:focus-visible { outline:2px solid #91d6ff; outline-offset:2px; border-radius:10px; }
.scene-control[hidden],.hero-visual:not(.three-ready) .scene-control { display:none; }
@media (max-width:1050px) {
  .story-slot.story-slot-sync { height:330px; min-height:330px; }
  .story-slot.story-slot-windows { height:300px; min-height:300px; }
  .story-slot.story-slot-pricing { height:300px; min-height:300px; }
  .story-slot.story-slot-workflow { height:300px; min-height:300px; }
  .scene-control { width:120px; font-size:15px; }
}
.plan-dialog::backdrop { background: rgba(2, 6, 14, .76); backdrop-filter: blur(7px); }
.plan-dialog h2 { margin: 0; font-size: 36px; }
.dialog-x {
  position: absolute; right: 16px; top: 14px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; color: #d7e2f5; background: rgba(255,255,255,.05); cursor: pointer; font-size: 24px;
}
.dialog-price { font-size: 28px; font-weight: 900; margin: 8px 0 14px; }
.dialog-description { color: var(--muted); }
.plan-dialog ul { padding-left: 22px; color: #c5d0e4; display: grid; gap: 8px; }
.dialog-reason { padding: 12px; border-radius: 12px; background: rgba(255, 183, 89, .08); border: 1px solid rgba(255, 196, 107, .2); color: #ffd395; }
.dialog-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

@keyframes heroArtFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes ambientDriftA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-22px, 16px, 0) scale(1.05); }
}
@keyframes ambientDriftB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -18px, 0) scale(1.04); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art-shell { animation: heroArtFloat 7s ease-in-out infinite; }
  .page-glow-a { animation: ambientDriftA 18s ease-in-out infinite; }
  .page-glow-b { animation: ambientDriftB 22s ease-in-out infinite; }
  body.motion-ready .reveal-item {
    opacity: 0;
    transform: translateY(18px) scale(.992);
    transition:
      opacity .55s ease,
      transform .55s cubic-bezier(.22,.75,.18,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  body.motion-ready .reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 721px) {
  .hero-art-shell {
    inset: 0;
    transition: none;
  }
  .space-haze { inset: 3% 0 -4% 0; }
}

@media (max-width: 1050px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .story-stage,
  .story-stage.is-managed {
    position: absolute;
    right: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 470px;
  }
  .story-slot:not(.story-slot-hero) { display: block; position: relative; inset: auto; width: 100%; min-height: 210px; height: 210px; }
  .how-section .section-head,
  .pricing-head { padding-right: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 760px; }
  .story-slot-hero { min-height: 400px; }
  .hero-visual { min-height: 400px; }
  .sync-card { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .dashboard-grid.lower { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { background-attachment: scroll; }
  main, footer, .topbar { width: min(calc(100% - 24px), var(--max)); }
  .topbar { min-height: 64px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand { font-size: 22px; }
  .hero { min-height: auto; padding: 44px 0 30px; gap: 12px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button-hero { width: 100%; }
  .trust-line { display: grid; gap: 7px; }
  .hero-visual { min-height: 320px; transform: none; margin-bottom: 0; }
  .hero-art-shell { inset: 0; }
  .section { padding: 38px 0; }
  .section-card, .sync-card, .download-card, .panel { padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .sync-card { grid-template-columns: 1fr; }
  .email-login-form { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .pricing-head, .section-head { display: block; }
  .pricing-head > p { margin-top: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .site-footer { padding: 28px 0; }
}

@media (max-width: 460px) {
  #header-login { min-width: 84px; padding-inline: 14px; }
  .hero-visual { transform: none; width: 100%; margin-bottom: 0; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .story-slot-hero { min-height: 320px; }
  .section-head h2, .sync-copy h2, .download-card h2, .dashboard-heading h2 { font-size: 32px; }
  .dashboard-heading { align-items: flex-start; }
}

/* Studio surfaces use real assets; the text and actions stay on the front plane. */
.ui-icon { width: 22px; height: 22px; flex: 0 0 auto; filter: brightness(0) invert(1); }
.step-icon img { filter: brightness(0) invert(1); opacity: .9; }
.how-section { padding-block: 24px 36px; }
.how-section .section-head { max-width: 720px; }
.how-section .steps { padding-top: 0; }
.sync-card { border-radius: 22px; background: rgba(9, 23, 37, .45); box-shadow: none; }
.pricing-section { padding-block: 36px 54px; }
.price-card .plan-action { min-height: 48px; width: 100%; margin-top: auto; font-size: 14px; }
.price-card.featured .plan-action { background: linear-gradient(110deg, #1675cf, #1b57c8); color: #fff; box-shadow: 0 7px 22px rgba(50, 144, 255, .2); }
.price-card .badge { font-size: 11px; top: 18px; right: 16px; }
.price-card .feature-list { font-size: 13px; margin-top: 12px; }
.pricing-head h2 { font-size: 44px; }
.pricing-head .eyebrow { display: none; }
.pricing-note { color: #94a8bc; }
.plan-pedestal { position: absolute; width: calc(100% + 60px); height: 94px; object-fit: contain; left: -30px; bottom: -53px; pointer-events: none; z-index: -1; }
.price-card { isolation: isolate; }
.pricing-note { margin-top: 65px; }
.badge { background: #318beb; }
.badge-course { background: #31537b; }
.trust-line { font-size: 11px; color: #91a7bb; gap: 8px 16px; }
.button-hero { min-width: 0; min-height: 64px; font-size: 16px; white-space: nowrap; padding-inline: 24px; }
a:focus-visible, button:focus-visible { outline: 2px solid #8dcaff; outline-offset: 5px; }
.hero-hotspot:focus-visible { outline: none; }
.hero-visual:has(.hero-hotspot:focus-visible) { outline: 2px solid #8dcaff; outline-offset: 4px; }
.hero-visual { touch-action: pan-y; }
.hero-hotspot span { display: none; }

/* The guide follows the same file journey as the existing single 3D scene. */
.hero-guide-link { display:inline-flex; align-items:center; gap:8px; margin-top:18px; color:var(--blue); font-size:14px; line-height:1.6; }
.hero-guide-link:hover { color:var(--text); }
.hero-guide-link:focus-visible, .guide-method summary:focus-visible, .guide-start:focus-visible { outline:2px solid var(--blue); outline-offset:5px; border-radius:4px; }
.download-guide { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:38px; margin-top:40px; padding:32px; border:1px solid var(--line-strong); border-radius:var(--radius); background:linear-gradient(130deg,#102642,#081225 68%); scroll-margin-top:100px; }
.guide-intro { min-width:0; }
.guide-intro h3 { margin:10px 0 18px; font:750 clamp(24px,2.8vw,34px)/1.12 "Manrope",sans-serif; letter-spacing:-.04em; }
.guide-intro > p:not(.eyebrow) { color:var(--muted); font-size:14px; line-height:1.7; }
.guide-path { position:relative; display:flex; justify-content:space-between; gap:8px; margin:32px 0 24px; padding-top:18px; font-size:11px; color:var(--muted); }
.guide-path::before { content:""; position:absolute; top:4px; left:3px; right:3px; height:1px; background:linear-gradient(90deg,var(--blue),var(--green)); opacity:.65; }
.guide-path span { position:relative; }
.guide-path span::before { content:""; position:absolute; top:-18px; left:0; width:8px; height:8px; border:2px solid var(--blue); border-radius:50%; background:var(--bg-2); }
.guide-path span:last-child::before { border-color:var(--green); }
.guide-start { display:inline-flex; gap:10px; color:var(--blue); font-size:14px; }
.guide-methods { min-width:0; }
.guide-method { border-bottom:1px solid var(--line); }
.guide-method:last-child { border-bottom:0; }
.guide-method summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; cursor:pointer; list-style:none; font-weight:700; font-size:17px; }
.guide-method summary::-webkit-details-marker { display:none; }
.guide-method summary small { display:block; margin-bottom:3px; color:var(--muted); font-size:11px; font-weight:500; letter-spacing:.04em; }
.guide-method summary::after { content:"+"; flex:0 0 28px; text-align:center; color:var(--blue); font-size:24px; font-weight:400; }
.guide-method[open] summary::after { content:"−"; }
.guide-method[open] summary { color:var(--blue); }
.guide-method ol { padding:0 0 0 22px; margin:0 0 18px; font-size:14px; line-height:1.75; color:var(--muted); }
.guide-method li { padding-left:5px; margin:0 0 14px; }
.guide-method li::marker { color:var(--blue); font-weight:700; }
.guide-method strong { color:var(--text); font-weight:600; }
.guide-method a, .download-quick-help a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.guide-note { padding:12px 14px; margin:0 0 18px; border-left:2px solid var(--green); background:#081225; color:var(--muted); font-size:12px; line-height:1.65; }
.download-quick-help { color:var(--muted); font-size:13px; line-height:1.7; margin:0 0 20px; }
@media (prefers-reduced-motion:no-preference) {
  .guide-start span, .hero-guide-link span { transition:transform 180ms cubic-bezier(.2,.7,.2,1); }
  .guide-start:hover span, .hero-guide-link:hover span { transform:translate(2px,-2px); }
  .guide-method summary { transition:color 180ms cubic-bezier(.2,.7,.2,1); }
}
@media (max-width:800px) {
  .download-guide { grid-template-columns:1fr; gap:12px; padding:24px; }
  .guide-path { max-width:360px; margin-block:24px; }
  .guide-intro h3 br { display:none; }
}
@media (max-width:480px) {
  .download-guide { padding:20px 18px; margin-top:28px; }
  .guide-method summary { font-size:16px; }
  .guide-method ol { font-size:13px; line-height:1.75; }
  .hero-guide-link { max-width:100%; font-size:13px; text-wrap:balance; }
}

.hero-hotspot[hidden], .hero-visual:not(.three-ready) .hero-hotspot,
.story-stage:not([data-story-state="hero"]) .hero-hotspot { display: none; }
.hero-hotspot.is-studio-label { width: 75px; height: auto; bottom: auto; right: auto; transform: translate(-50%, -50%); }
.hero-hotspot.is-studio-label span { display: block; color: #f3f8ff; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; }
@media (min-width: 1051px) {
  .how-section .story-slot-workflow { height: 260px; }
  .how-section .steps { padding-top: 0; }
}
@media (max-width: 1050px) {
  .sync-card { grid-template-columns: 1fr 1fr; }
  .sync-card .story-slot-sync { grid-column: 1 / -1; }
  .pricing-head { padding-right: 0; }
  .pricing-grid { gap: 18px; }
  .pricing-grid { row-gap: 82px; }
  .story-slot-pricing { margin-top: 0; min-height:260px; }
}
@media (max-width: 720px) {
  .sync-card { grid-template-columns: 1fr; }
  .hero-actions { grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { letter-spacing: -.05em; line-height: 1.06; }
  .hero-copy { padding-inline: 6px; }
  .hero-lead { max-width: 340px; }
  .how-section .steps { padding-top: 4px; }
  .price-card { min-height: 420px; max-width: 420px; width: 100%; margin-inline: auto; padding: 26px; }
  .plan-top { margin-bottom: 10px; }
  .plan-pedestal { width: 100%; left: 0; }
  .pricing-head h2 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .price-card, .price-card:hover { transform: none; transition: none; }
  .story-slot:not(.story-slot-hero) { display: none; }
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Keep reserved model space after the general compact layout overrides. */
@media (max-width:1050px) {
  .story-slot.story-slot-sync { height:350px; min-height:350px; }
  .story-slot.story-slot-windows { height:340px; min-height:340px; }
  .story-slot.story-slot-pricing { height:300px; min-height:300px; }
  .story-slot.story-slot-workflow { height:300px; min-height:300px; }
}

/* The dashboard history is a compact list; device cards retain their layout. */
.jobs-history-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; list-style: none; cursor: pointer; }
.jobs-history-summary::-webkit-details-marker { display: none; }
.jobs-history-summary:focus-visible { outline: 2px solid #80b7ff; outline-offset: 8px; border-radius: 6px; }
.jobs-history-summary .eyebrow { display: block; margin: 0 0 4px; }
.jobs-history-title { display: block; font-size: 22px; font-weight: 700; }
.jobs-history-arrow { width: 10px; height: 10px; flex-shrink: 0; margin-right: 4px; border-right: 2px solid #80b7ff; border-bottom: 2px solid #80b7ff; transform: rotate(45deg); }
.jobs-history[open] .jobs-history-arrow { transform: rotate(225deg); }
.jobs-history-body { margin-top: 18px; }
.jobs-history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.job-list { list-style: none; margin: 8px 0 0; padding: 0; gap: 0; }
.job-list .job-row { min-height: 58px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(118,151,211,.16); border-radius: 0; background: transparent; }
.job-list .job-row:last-child { border-bottom: 0; }
.job-list .row-main b { font-size: 14px; font-weight: 650; }
.job-list .row-main small { font-size: 12px; }
.job-list .job-action { flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.job-empty { color: var(--muted); padding: 10px 0; font-size: 14px; }
.job-history-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; }
.job-history-actions button { min-height: 36px; }
.mac-note { display: flex; align-items: flex-start; flex-direction: column; gap: 9px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.mac-badge { color: #c4d9fa; border: 1px solid rgba(118,151,211,.25); border-radius: 99px; padding: 3px 11px; font-weight: 650; font-size: 12px; }
.mac-note a { color: #8fc3ff; text-decoration: underline; text-underline-offset: 4px; }
.rights-confirmation{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;line-height:1.5;cursor:pointer}.rights-confirmation input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;margin:3px 0 0;flex:0 0 18px;accent-color:#268aff}.rights-confirmation span{min-width:0}.rights-confirmation[hidden]{display:none!important}

/* Contextual installation help keeps optional details out of the download action. */
.windows-install-guide { margin-top: 20px; max-width: 70ch; border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 18px; color: var(--text); line-height: 1.65; }
.windows-install-guide summary { color: #bae6fd; cursor: pointer; font-weight: 700; }
.windows-install-guide summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.windows-install-guide li + li { margin-top: 10px; }
.windows-install-guide ol { padding-left: 24px; }

.windows-install-guide .instruction-button { display: inline; padding: 2px 6px; border-radius: 5px; font-family: inherit; font-weight: 760; font-size: .85em; line-height: 1.7; color: #fff; background: linear-gradient(115deg, #1675cf, #1b57c8); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
