/* Landing page and shared site chrome. Keep motion local to each interaction. */
:root {
  --paper: #f8f9f5;
  --ink: #132820;
  --muted: #4e6459;
  --deep: #143e33;
  --line: #dce5dc;
  --site-surface: #fff;
  --site-teal: #14725d;
  --site-soft: #e8f1ea;
  --site-gutter: clamp(18px, 4vw, 64px);
  --site-radius: 22px;
  --site-out: cubic-bezier(.23, 1, .32, 1);
  --site-press: 120ms;
}

body { color: var(--ink); background: var(--paper); }
.wrap { width: min(1280px, calc(100% - 2 * var(--site-gutter))); }
.site-header { height: 78px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); }
.site-header nav { gap: clamp(12px, 2.5vw, 34px); font-size: 14px; }
.site-header .nav-download { min-height: 44px; padding: 11px 16px; margin-left: 0; border-radius: 10px; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 2px solid var(--site-teal); outline-offset: 4px; }
.button, .nav-download, .try-demo, .aspect-buttons button, .operations-tabs button {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform var(--site-press) var(--site-out);
}
.button:active, .nav-download:active, .try-demo:active, .aspect-buttons button:active, .operations-tabs button:active {
  transform: scale(.97);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding: clamp(36px, 5vw, 78px) 0 clamp(32px, 4vw, 60px);
}
.hero-copy { text-align: left; max-width: 510px; }
.hero .hero-platform {
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--site-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-platform svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(44px, 5vw, 73px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.065em;
  text-wrap: balance;
  margin: 0 0 22px;
}
.hero .teal-word { color: var(--site-teal); }
.hero-description { max-width: 39ch; margin: 0 0 21px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.hero-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin: 0 0 25px;
  padding: 15px 19px;
  border: 1px solid #c9dfd1;
  border-radius: 16px;
  background: #eaf4ed;
  color: var(--deep);
  scroll-margin-top: 30px;
}
.hero-price-label { width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--site-teal); }
.hero-price strong { font-size: clamp(33px, 3vw, 44px); line-height: 1; font-weight: 750; letter-spacing: -.055em; }
.hero-price-note { font-size: 12px; color: var(--muted); }
.usage-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1050px) { .usage-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .hero-price { width: 100%; margin-bottom: 20px; }
  .usage-steps { grid-template-columns: 1fr; }
}
.hero .hero-gesture-hint { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 27px; color: var(--muted); font-size: 13px; }
.hero-gesture-hint > span { display: inline-flex; align-items: center; gap: 7px; }
.hero .hero-gesture-hint kbd { padding: 3px 7px; background: #fff; color: var(--deep); border-color: #cddbd0; }
.hero .hero-actions { justify-content: flex-start; gap: 10px 20px; flex-wrap: wrap; align-items: center; }
.hero-actions .button { font-size: 14px; min-height: 53px; border-radius: 11px; background: var(--deep); padding-inline: 15px; }
.hero-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--site-teal); font-size: 14px; }
.hero .download-meta { color: var(--muted); margin: 14px 0 0; font-size: 12px; line-height: 1.55; }
.hero-install-link { max-width: 42ch; margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.hero-install-link a { color: var(--site-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.hero-visual {
  container-type: inline-size;
  min-width: 0;
  border-radius: var(--site-radius);
  border: 1px solid #29443b;
  background: #142b26;
  box-shadow: 0 24px 55px -32px #112e26a6, 0 4px 14px #112e2617;
  scroll-margin-top: 18px;
}
.scene-topline { padding: 13px clamp(14px, 3cqi, 22px); background: #12231f; color: #edf6f1; font-size: 13px; letter-spacing: 0; }
.scene-topline > span:first-child > svg { color: #6fe8c5; width: 18px; height: 19px; }
.scene-topline .scene-time { color: #b8d0c6; font-size: 11px; }
.hero-visual .scene-art {
  min-height: clamp(350px, calc(56cqi + 108px), 535px);
  background: radial-gradient(ellipse at 68% 78%, #266653 0, transparent 59%),
              radial-gradient(ellipse at 21% 0, #314750 0, transparent 60%), #152b26;
}
.hero-visual .desktop-photo {
  width: 62%;
  max-width: none;
  top: 11%;
  left: 5%;
  transform: none;
  border-color: #8ca9a67a;
  border-radius: 12px;
  box-shadow: 0 20px 38px #07191466;
}
.hero-visual .desktop-window-bar { padding: 10px 12px; color: #d8e6de; font-size: 11px; background: #182e29; }
.hero-visual .desktop-photo > img { aspect-ratio: 1.63; }
.hero-visual .exact-wheel {
  width: 54%;
  max-width: 448px;
  top: 14px;
  right: 14px;
  transform: scale(.9);
  transition: transform 220ms var(--site-out), opacity 160ms var(--site-out), visibility 160ms;
}
.hero-visual .demo-open .exact-wheel { transform: scale(1); }
.exact-wheel .sector > path, .exact-wheel .close-sector > path:first-child { fill: url(#glass); stroke: #9ab8ac; }
.exact-wheel .sector.drag-over { transform: none; }
.hero-visual .demo-pill { top: 14px; right: 14px; width: 14.7%; max-width: 122px; }
.hero-visual .pill-hint { top: 33px; right: calc(16% + 17px); font-size: 11px; color: #c0e5d6; transform: none; }
.touch-hint { display: none; }
.hero-visual .demo-file-tray {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: auto;
  gap: 4px;
  left: 14px;
  right: 14px;
  bottom: 13px;
  padding: 6px;
  border: 1px solid #a8cfbe43;
  border-radius: 13px;
  background: #102721e8;
}
.hero-visual .tray-label { top: -23px; left: 4px; color: #d0e8db; font-size: 11px; letter-spacing: 0; }
.hero-visual .demo-file { width: 100%; min-width: 0; min-height: 59px; padding: 6px 2px; gap: 6px; }
.hero-visual .demo-file.selected { border-color: #7bc5ac9c; background: #72d6b229; }
.hero-visual .demo-file:focus-visible, .hero-visual .try-demo:focus-visible { outline-color: #75f1ce; outline-offset: 2px; }
.hero-visual .demo-file > span:last-child { color: #eef7f0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(8px, 1.75cqi, 12px); }
.hero-visual .sample-file-icon { width: 31px; height: 32px; }
.hero-visual .demo-results { left: 19px; bottom: 121px; }
.hero-visual .conversion-receipt { bottom: 115px; left: 54%; }
.hero-visual .demo-instructions { min-height: 55px; padding: 7px 15px; background: #edf5ee; }
.hero-visual .demo-instructions > span:nth-child(2) { color: #305448; font-size: 12px; }
.hero-visual .demo-step { color: var(--site-teal); font-size: 10px; }
.hero-visual .demo-instructions > button { width: 44px; height: 44px; flex: 0 0 auto; }
.hero-visual .scene-bottom { padding: 6px 15px; background: #f8faf6; }
.hero-visual .scene-bottom .preview-label { color: var(--muted); font-size: 9px; letter-spacing: .05em; }
.hero-visual .try-demo { display: inline-flex; align-items: center; min-height: 44px; color: var(--site-teal); font-size: 12px; }

.numbers { margin: 0 auto; border-block: 1px solid var(--line); }
.numbers article { align-items: center; gap: clamp(9px, 2vw, 21px); padding-block: 21px; }
.numbers strong { color: var(--deep); font-size: clamp(30px, 4.4vw, 59px); letter-spacing: -.055em; }
.numbers strong span { color: var(--site-teal); }
.numbers h2 { color: var(--ink); font-size: clamp(12px, 1.4vw, 16px); }
.numbers p { color: var(--muted); font-size: 13px; line-height: 1.4; }
.usage-section { padding-block: clamp(46px, 7vw, 96px); }
.section-heading { gap: clamp(14px, 4vw, 58px); }
.section-heading h2, .faq-section h2 { font-size: clamp(32px, 4.25vw, 55px); letter-spacing: -.055em; line-height: 1.07; text-wrap: balance; }
.section-heading .eyebrow, .local-copy .eyebrow, .included-extra .eyebrow, .setup-guide .eyebrow { color: var(--site-teal); font-size: 11px; letter-spacing: .09em; }
.section-heading > p { max-width: 36ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.essentials-grid { gap: 1px; padding: 1px; border-radius: var(--site-radius); background: var(--line); overflow: hidden; }
.essential-card { background: var(--site-surface); border: 0; border-radius: 0; box-shadow: none; padding: clamp(20px, 3vw, 34px); }
.essential-card h3 { color: var(--ink); font-size: 20px; }
.essential-card p, .included-extra p:not(.eyebrow), .studio-card-copy p, .feature-copy > p,
.feature-copy ul, .faqs details > p { font-size: 15px; line-height: 1.6; }
.essential-card p, .included-extra p:not(.eyebrow), .feature-copy > p, .faqs details > p { color: var(--muted); }
.included-extras { margin-top: 0; }
.included-extra { border-color: var(--line); border-radius: 16px; }
.feature-tabs { gap: 8px; }
.feature-tab { min-height: 48px; color: var(--muted); font-size: 14px; }
.feature-tab.selected { color: var(--site-teal); border-bottom-color: var(--site-teal); }
.aspect-buttons button { min-height: 44px; }
.local-section { background: #13372e; border-radius: var(--site-radius); }
.local-copy .eyebrow { color: #9be7ca; }
.local-copy > p:not(.eyebrow) { color: #d0e4d8; font-size: 15px; }

.operations-toolbar { gap: 14px; }
.operations-tabs { background: #e9efe8; padding: 4px; }
.operations-tabs button { min-height: 44px; font-size: 14px; }
.operations-search { min-height: 52px; border-color: #c8d8cc; background: #fff; }
.operations-search input { font-size: 16px; }
.operations-meta, .operations-footnote { color: var(--muted); font-size: 13px; }
.operations-intro, .operation-inputs, .operation-row p, .operation-tips p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.operation-group { border-color: var(--line); background: var(--site-surface); border-radius: 14px; }
.operation-group > summary { min-height: 60px; font-size: 16px; }
.operation-group[open] > summary { background: #f1f6f0; }
.operation-group > summary:focus-visible { outline-offset: -4px; }
.operation-group-count { color: var(--muted); }
.operation-chevron { transition: transform 180ms var(--site-out); }
.operation-row h4 { font-size: 15px; }
.faqs summary { min-height: 48px; font-size: 16px; }
.pricing-section { padding-block: 28px 12px; }
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 5vw, 48px);
  background: #eef5ef;
  border: 1px solid #d4e3d8;
  border-radius: var(--site-radius);
  color: var(--ink);
}
.pricing-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.045em; }
.pricing-copy p { margin: 0; max-width: 48ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.pricing-offer { border-inline-start: 1px solid #cbdcd0; padding-inline-start: 32px; }
.pricing-offer p { margin: 0; }
.pricing-label { color: #27594a; font-weight: 700; font-size: 13px; }
.pricing-price { display: flex; gap: 8px; align-items: baseline; line-height: 1.15; }
.pricing-price strong { font-size: clamp(38px, 6vw, 60px); letter-spacing: -.055em; }
.pricing-price span, .pricing-terms, .pricing-availability { color: var(--muted); font-size: 13px; }
.pricing-offer .pricing-availability { margin-top: 10px; }
.download-card { border-radius: var(--site-radius); }
.download-card h2 { color: var(--ink); font-size: clamp(32px, 5vw, 58px); letter-spacing: -.06em; text-wrap: balance; }
.download-card .download-card-meta { color: var(--muted); font-size: 13px; }
.download-card .button { font-size: 14px; }
.install-mini p { font-size: 13px; }
.site-footer a, .site-footer button, .site-footer .copyright { font-size: 13px; }
.site-footer .brand { font-size: 24px; }
.policy-header h1 { color: var(--ink); text-wrap: balance; }
.policy-toc { font-size: 14px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { max-width: 13ch; }
  .hero-description { max-width: 46ch; }
}

@media (max-width: 600px) {
  .pricing-card { grid-template-columns: 1fr; gap: 18px; }
  .pricing-offer { border-inline-start: 0; border-top: 1px solid #cbdcd0; padding: 18px 0 0; }
  .site-header { height: 62px; }
  .site-header .brand { font-size: 24px; }
  .site-header .nav-download { display: inline-flex; padding-inline: 12px; }
  .hero { padding-block: 33px 26px; }
  .hero .hero-platform { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 53px); margin-bottom: 17px; }
  .hero .hero-gesture-hint { margin-bottom: 18px; }
  .hero-actions .button { min-height: 48px; }
  .hero-visual { border-radius: 16px; }
  .hero-visual .scene-art { min-height: calc(94cqi + 112px); }
  .hero-visual .desktop-photo { display: block; top: 18%; width: 73%; left: 6%; }
  .hero-visual .exact-wheel { width: 94%; top: 8px; right: 7px; }
  .hero-visual .demo-pill { width: 25.6%; top: 8px; right: 7px; }
  .hero-visual .pill-hint { top: 24px; right: 27%; }
  .hero-visual .demo-file-tray { left: 8px; right: 8px; padding: 4px; gap: 2px; }
  .hero-visual .demo-file > span:last-child { font-size: clamp(9px, 2.55cqi, 11px); }
  .hero-visual .demo-instructions { padding-inline: 10px; }
  .numbers article { flex-direction: column; align-items: flex-start; gap: 3px; }
  .numbers article + article { padding-left: 10px; }
  .numbers p { display: none; }
  .numbers h2 { margin: 0; }
  .essentials-grid { gap: 1px; }
  .operations-toolbar .operations-search { flex-basis: auto; }
  .operation-group > summary { font-size: 14px; gap: 9px; }
  .operation-mode-switch .operations-tabs button { padding-inline: 10px; }
  .operation-mode-switch .operations-tabs button span { margin-left: 4px; }
}

@media (hover: none), (max-width: 600px) {
  .keyboard-hint { display: none; }
  .touch-hint { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .exact-wheel, .button:active, .nav-download:active, .try-demo:active,
  .aspect-buttons button:active, .operations-tabs button:active { transform: none; }
}
