/* Homepage composition; shared account and pricing styles stay independent. */
.landing { --text-faint: #969db5; background: #090c13; }
.landing .bg-grid { position: absolute; height: 820px; background-size: 72px 72px; opacity: .45; mask-image: linear-gradient(#000, transparent); }
.landing .bg-glow { position: absolute; top: -300px; width: 100%; max-width: 1200px; opacity: .5; }
.landing .shell { max-width: 1280px; padding: 24px 48px 48px; }
.landing .topbar { position: relative; margin-bottom: 64px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.landing .topnav { gap: 20px; }
.landing .topnav > a { color: #b8bdd1; padding: 10px 0; }
.landing .topnav > a:hover { color: #fff; }
.landing .topnav .nav-install { padding: 10px 16px; border: 1px solid #505a80; border-radius: 8px; color: #fff; }
.landing .lang button { min-height: 36px; min-width: 38px; }
.nav-toggle { display: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: #fff; color: #090c13; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.landing section[id], .landing main { scroll-margin-top: 24px; }
.landing .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 12px; padding-bottom: 24px; }
.landing h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -.055em; line-height: 1.04; margin-bottom: 24px; }
.landing h1, .landing h2 { text-wrap: balance; }
.landing .hero .accent { background: none; -webkit-text-fill-color: #84dfd2; color: #84dfd2; }
.landing .eyebrow { border: 0; border-radius: 0; border-left: 2px solid var(--teal); padding: 0 0 0 12px; background: none; color: #bec6d7; margin-bottom: 24px; font-size: 10px; }
.landing .lede { font-size: 18px; line-height: 1.7; max-width: 520px; margin-bottom: 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta-row .btn-primary { background: #a0f0df; color: #10231f; box-shadow: none; justify-content: space-between; min-width: 174px; }
.hero-cta-row .btn-primary:hover { background: #bcffef; }
.hero-cta-row .btn-secondary { border-color: #39415a; gap: 22px; }
.landing .hero-actions { gap: 20px; margin-bottom: 22px; }
.landing .hero .install-line { width: 100%; max-width: 520px; padding: 10px 12px; gap: 8px; box-shadow: none; background: #0e131e; font-size: 11px; }
.landing .install-line code { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; min-width: 0; }
.landing .copy-btn { min-height: 34px; transition: color .15s, border-color .15s; }
.landing .hero-platforms { gap: 16px; margin-bottom: 12px; }
.landing .platform-pill { padding: 0; border: 0; color: #aeb8c9; }
.landing .hero-foot { font-size: 11px; letter-spacing: 0; }
.landing .verify-details { font-size: 11px; }
.landing .hero-art { margin-right: -24px; }
.landing .hero-art img { animation: none; }
.landing .stats { margin: 40px 0 80px; padding: 28px 0; border-radius: 0; border-width: 1px 0; background: none; gap: 0; grid-template-columns: repeat(4, 1fr); }
.landing .stat + .stat { border-left: 1px solid var(--line-soft); }
.landing .stat-n { font-size: 30px; background: none; -webkit-text-fill-color: #f0f3fa; font-variant-numeric: tabular-nums; }
.landing .stat-l { font-size: 10px; }
.landing .section-h { text-align: left; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; }
.landing .section-sub { text-align: left; margin: 0 0 32px; max-width: 650px; line-height: 1.7; }
.landing .shots-real { width: 100%; max-width: none; margin-left: 0; transform: none; gap: 20px; }
.landing .shot-card { padding: 8px; background: #101520; border-color: #283047; border-radius: 14px; transition: border-color .2s; }
.landing .shot-card:hover { transform: none; border-color: #67789a; }
.landing .shot-card figcaption { padding: 6px 10px 10px; color: #d4dce9; }
.landing .modules, .landing .shots, .landing .how, .landing .install, .landing .why { margin-bottom: 88px; }
.landing .module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.landing .mod-card { text-align: left; align-items: flex-start; padding: 18px; background: #10141e; transition: border-color .15s; }
.landing .mod-card:hover { transform: none; }
.landing .mod-card-more { align-items: center; }
.landing .cta { border: 1px solid #334c50; background: linear-gradient(120deg, #132727, #111626); }
.landing .btn-secondary { transition: background .15s, border-color .15s; }
.landing summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.landing button, .landing a, .landing summary { touch-action: manipulation; }
@media (max-width: 1050px) {
  .landing .shell { padding-inline: 28px; }
  .landing .topnav { gap: 12px; font-size: 12px; }
}
@media (max-width: 900px) {
  .landing .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .landing .hero-grid .lede, .landing .hero-grid .verify-details { margin-left: 0; }
  .landing .hero-grid .hero-actions { align-items: flex-start; }
  .landing .hero-grid .hero-platforms { justify-content: flex-start; }
  .landing .hero-art { margin: 12px 0 0; }
  .landing .hero-art img { max-width: 480px; }
  .landing .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .landing .topbar { margin-bottom: 40px; flex-wrap: wrap; gap: 16px; padding-bottom: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #39415a; border-radius: 8px; background: #101520; color: #fff; font: inherit; cursor: pointer; }
  .landing .topnav { display: none; width: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .nav-toggle[aria-expanded="true"] + .topnav { display: flex; }
  .landing .topnav > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .landing .topnav .lang { margin-left: auto; }
  .landing .shots-real { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .landing .shell { padding: 20px 20px 32px; }
  .landing h1 { font-size: clamp(40px, 10.5vw, 64px); }
  .landing .lede { font-size: 16px; }
  .landing .eyebrow { font-size: 9px; letter-spacing: .06em; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row a { justify-content: center; padding: 13px 16px; min-width: 0; }
  .landing .hero .install-line { flex-wrap: nowrap; align-items: center; }
  .landing .hero .install-line::before { content: none; }
  .landing .hero .copy-btn { padding: 6px; min-height: 44px; }
  .landing .hero-platforms { gap: 12px; }
  .landing .platform-pill { font-size: 10px; }
  .landing .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; margin: 24px 0 56px; }
  .landing .stat:nth-child(3) { border-left: 0; }
  .landing .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .mod-card { padding: 14px; }
  .landing .modules, .landing .shots, .landing .how, .landing .install, .landing .why { margin-bottom: 60px; }
}

/* Product map: the machine boundary separates runtime from model choice. */
.product-map { padding-top: 8px; }
.map-kicker { margin: 0 0 16px; font: 11px/1.5 var(--font-mono); letter-spacing: .1em; color: #91dfd1; }
.map-entry { display: flex; align-items: center; gap: 24px; padding: 20px 0 0; }
.map-entry strong { color: #edf4fa; font: 11px/1.6 var(--font-mono); white-space: nowrap; }
.map-entry > span { color: #acb8cd; font-size: 14px; }
.map-down { color: #86d8cb; font-size: 28px; padding: 12px 0; text-align: center; }
.map-machine { border: 1px solid #355954; border-radius: 18px; background: linear-gradient(135deg, #112321 0%, #0f1520 60%); overflow: hidden; }
.map-boundary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #28403e; padding: 14px 24px; color: #92e1d3; font: 11px/1.5 var(--font-mono); letter-spacing: .06em; }
.map-boundary > span:last-child { color: #afbacb; letter-spacing: 0; }
.map-flow { display: grid; grid-template-columns: 1fr 40px 1.05fr 40px 1fr; padding: 32px 24px; align-items: center; }
.map-node { min-width: 0; }
.map-node h3 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.025em; }
.map-node p:not(.map-kicker) { color: #acb8cd; font-size: 14px; line-height: 1.7; margin: 18px 0 0; }
.map-sources { display: flex; flex-direction: column; gap: 8px; }
.map-sources > span { border-left: 2px solid #638286; padding: 8px 12px; background: #18252c; border-radius: 0 6px 6px 0; font-size: 13px; }
.map-core { text-align: center; padding: 0 16px; }
.map-core img { width: 90px; height: auto; margin: 0 auto 12px; }
.map-core h3 { margin-bottom: 0; }
.map-connector { font-size: 26px; color: #88dacf; text-align: center; }
.map-results ul { list-style: none; padding: 0; margin: 0; }
.map-results li { padding: 8px 0 8px 18px; position: relative; font-size: 13px; }
.map-results li::before { content: ''; width: 5px; height: 5px; background: #94e8d4; position: absolute; left: 0; top: 16px; border-radius: 50%; }
.map-foundation { padding: 18px 24px; border-top: 1px solid #28403e; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.map-foundation strong { font: 10px/1.6 var(--font-mono); color: #90c4bb; letter-spacing: .04em; }
.map-foundation > span { font-size: 12px; color: #c1cbdb; }
.map-models { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 20px; padding: 36px 0 10px; align-items: stretch; }
.map-models > div:first-child { align-self: center; padding-right: 24px; }
.map-models h3 { font-size: 25px; letter-spacing: -.035em; margin: 0 0 12px; }
.map-models p { color: #afbdd0; font-size: 14px; line-height: 1.7; margin: 0; }
.map-model-option { position: relative; padding: 24px; border: 1px solid #2a3e46; border-radius: 16px; background: linear-gradient(135deg, #142628, #111822); }
.map-model-remote { border-color: #343b57; background: linear-gradient(135deg, #1b2136, #111822); }
.map-model-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid #385551; border-radius: 12px; background: #1b3533; color: #9ae8d6; }
.map-model-remote .map-model-symbol { background: #282e49; color: #b5bfff; border-color: #414b72; }
.map-model-option strong { display: block; font: 11px/1.6 var(--font-mono); color: #a0efdc; letter-spacing: .08em; margin-bottom: 10px; }
.map-model-remote strong { color: #bac4ff; }
.map-note { font-size: 12px; color: #9baac0; line-height: 1.7; max-width: 850px; }
.map-models + .map-note { padding-left: 14px; border-left: 2px solid #35455e; margin: 18px 0 0; }
.map-examples { margin-top: 48px; padding: 36px; border: 1px solid #29364a; border-radius: 24px; background: radial-gradient(ellipse at 100% 0, #182737 0, transparent 55%), #0e141f; }
.map-examples h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; margin: 0 0 12px; }
.map-examples > .map-note { max-width: 700px; margin: 0; font-size: 13px; }
.map-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 36px; padding: 6px; background: #090f19; border: 1px solid #263246; border-radius: 14px; }
.map-options button { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 60px; border: 1px solid transparent; border-radius: 10px; padding: 12px 16px; background: transparent; color: #b9c6d9; font: inherit; font-size: 13px; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.map-options button .map-icon { width: 20px; height: 20px; flex-shrink: 0; }
.map-option-arrow { margin-left: auto; font-size: 18px; opacity: .5; }
.map-options button:hover { background: #1a2839; color: #fff; }
.map-options button[aria-pressed="true"] { background: #a0efdd; color: #102a26; border-color: #b0f8e8; box-shadow: 0 3px 12px #0003; }
.map-options button[aria-pressed="true"] .map-option-arrow { opacity: 1; }
.map-scenario[hidden] { display: none; }
.map-scenario ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; gap: 18px; }
.map-scenario li { position: relative; padding: 0 4px; min-width: 0; }
.map-step { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #46546e; border-radius: 50%; background: #182335; font: 12px var(--font-mono); color: #c0cdec; }
.map-scenario li:not(:last-child)::after { content: ''; position: absolute; left: 58px; right: 0; top: 21px; height: 1px; background: linear-gradient(90deg, #4c607b, #2c3b50); }
.map-scenario li:last-child .map-step { background: #1b3935; border-color: #49867a; color: #a0efdd; }
.map-scenario h4 { font-size: 15px; margin: 22px 0 10px; color: #eef3fc; letter-spacing: -.02em; }
.map-scenario p { color: #b2bdd0; font-size: 14px; line-height: 1.75; margin: 0; }
.map-scenario li:first-child p { color: #dce5f5; font-style: italic; }
.map-scenario li:last-child p { color: #abd8ce; }
.map-technical { margin-top: 16px; border: 1px solid #263246; border-radius: 12px; padding: 0 20px; background: #0f1520; }
.map-technical > summary { cursor: pointer; color: #b5c2e5; font-size: 13px; min-height: 58px; padding: 18px 0; }
.map-technical .snippet { margin-top: 8px; }
@media (max-width: 900px) {
  .map-flow { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .map-node { max-width: 560px; width: 100%; margin: auto; }
  .map-core { padding: 0; text-align: left; }
  .map-core img { width: 72px; margin: 0 0 16px; }
  .map-connector { transform: rotate(90deg); }
  .map-models { grid-template-columns: 1fr 1fr; gap: 20px; }
  .map-models > div:first-child { grid-column: 1 / -1; }
  .map-scenario ol { grid-template-columns: 1fr 1fr; gap: 28px; }
  .map-scenario li:nth-child(2)::after { display: none; }
  .map-options button { padding: 12px 10px; gap: 8px; }
  .map-option-arrow { display: none; }
}
@media (max-width: 540px) {
  .map-entry { align-items: flex-start; flex-direction: column; gap: 8px; }
  .map-boundary, .map-foundation { padding: 16px; }
  .map-flow { padding: 24px 16px; }
  .map-foundation { gap: 8px; }
  .map-models { grid-template-columns: 1fr; }
  .map-examples { padding: 24px 18px; border-radius: 18px; margin-top: 32px; }
  .map-scenario ol { grid-template-columns: 1fr; gap: 0; }
  .map-scenario li { padding: 0 0 28px 56px; position: relative; }
  .map-scenario li:last-child { padding-bottom: 0; }
  .map-scenario h4 { margin-top: 0; padding-top: 8px; }
  .map-scenario li:not(:last-child)::after { display: block; top: 46px; bottom: 4px; left: 20px; width: 1px; height: auto; background: #35465d; }
  .map-step { position: absolute; top: 0; left: 0; }
  .map-options { grid-template-columns: 1fr; gap: 4px; margin-bottom: 28px; }
  .map-options button { min-height: 48px; padding: 10px 14px; }
  .map-option-arrow { display: block; }
}
