:root {
  color-scheme: dark;
  --ink: #f4f5f0;
  --muted: #b9b7ae;
  --soft: #d3d9d0;
  --paper: #edf0ea;
  --paper-ink: #151611;
  --paper-muted: #5d6259;
  --black: #090a08;
  --graphite: #11130f;
  --panel: #171a15;
  --line: rgba(244, 245, 240, 0.14);
  --line-dark: rgba(20, 22, 17, 0.14);
  --mint: #8ee8bd;
  --amber: #e7b765;
  --steel: #a8b3ad;
  --rust: #c96b4a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
a,
span,
strong,
dd,
dt {
  overflow-wrap: break-word;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(246, 242, 232, 0.08);
  background: rgba(9, 10, 8, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(142, 232, 189, 0.45);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(142, 232, 189, 0.2), rgba(231, 183, 101, 0.08));
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.brand-text {
  font-weight: 700;
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(246, 242, 232, 0.74);
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(246, 242, 232, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(246, 242, 232, 0.06);
  color: var(--ink);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  min-height: calc(100svh - 156px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 54px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.96;
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.28;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(246, 242, 232, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #10120e;
}

.button-primary:hover {
  background: #ffffff;
}

.button-quiet {
  border-color: rgba(246, 242, 232, 0.18);
  color: var(--ink);
  background: rgba(246, 242, 232, 0.06);
}

.button-quiet:hover {
  border-color: rgba(142, 232, 189, 0.42);
  background: rgba(142, 232, 189, 0.1);
}

.button-buy {
  background: var(--mint);
  color: #0d120f;
}

.button-buy:hover {
  background: #aaf4cf;
}

.button-download {
  background: var(--amber);
  color: #11130f;
}

.button-download:hover {
  background: #f1c981;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 0;
}

.hero-facts div {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.045);
}

.hero-facts dt {
  margin-bottom: 7px;
  color: rgba(246, 242, 232, 0.5);
  font-size: 12px;
}

.hero-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  font-size: 15px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual img {
  position: relative;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-strip {
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 0 24px 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.proof-strip div {
  min-height: 92px;
  padding: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 232, 0.035);
}

.proof-strip div:first-child {
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
}

.proof-strip div:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.proof-strip span {
  color: rgba(246, 242, 232, 0.64);
  font-size: 14px;
}

.section-band {
  padding: 92px 24px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
  color: var(--paper-ink);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(142, 232, 189, 0.08), transparent 32%),
    #10120e;
  color: var(--ink);
}

.section-console {
  background: #151611;
  color: var(--ink);
}

.section-specs {
  background: #e3e8df;
  color: var(--paper-ink);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--paper-muted);
  font-size: 17px;
}

.section-dark .section-heading p:not(.eyebrow),
.section-console .section-heading p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.68);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.delivery-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #151611;
  color: var(--mint);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.delivery-card p {
  margin-bottom: 0;
  color: var(--paper-muted);
}

.section-guide {
  background:
    linear-gradient(135deg, rgba(142, 232, 189, 0.1), transparent 30%),
    #11130f;
  color: var(--ink);
}

.guide-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
}

.guide-preview .section-heading {
  margin-bottom: 0;
}

.guide-preview .section-heading p:not(.eyebrow) {
  margin-bottom: 26px;
  color: rgba(246, 242, 232, 0.68);
}

.guide-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-preview-media {
  display: block;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(246, 242, 232, 0.14);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.06);
  box-shadow: var(--shadow);
}

.guide-preview-media img {
  width: 100%;
  border-radius: 6px;
}

.guide-mini-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.guide-mini-steps article {
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.045);
}

.guide-mini-steps span,
.step-copy span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--mint);
  color: #0d120f;
  font-size: 13px;
  font-weight: 800;
}

.guide-mini-steps p {
  margin-bottom: 0;
  color: rgba(246, 242, 232, 0.64);
}

.guide-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-choice-card {
  display: block;
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--paper-ink);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.guide-choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 22, 17, 0.28);
  background: rgba(255, 255, 255, 0.74);
}

.guide-choice-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border-radius: 8px;
  background: var(--paper-ink);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.guide-choice-card p {
  margin-bottom: 0;
  color: var(--paper-muted);
}

.guide-workspace {
  position: relative;
  background:
    linear-gradient(180deg, #090a08 0, #10120e 34%, #151611 100%);
  color: var(--ink);
}

.guide-switch-shell {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  z-index: 20;
  width: calc(100% - 48px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border: 1px solid rgba(244, 245, 240, 0.16);
  border-radius: 8px;
  background: rgba(17, 19, 15, 0.9);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  transform: translateY(-22px);
}

.guide-switch-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide-switch-tab {
  min-width: 0;
  min-height: 96px;
  padding: 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  text-align: left;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.055);
  color: rgba(246, 242, 232, 0.74);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.guide-switch-tab:hover,
.guide-switch-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(142, 232, 189, 0.42);
  background: linear-gradient(145deg, rgba(142, 232, 189, 0.16), rgba(231, 183, 101, 0.08));
  color: var(--ink);
}

.guide-switch-tab span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.1);
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.guide-switch-tab.is-active span {
  background: var(--mint);
  color: #0d120f;
}

.guide-switch-tab strong,
.guide-switch-tab small {
  min-width: 0;
}

.guide-switch-tab strong {
  font-weight: 800;
}

.guide-switch-tab small {
  display: block;
  color: rgba(246, 242, 232, 0.56);
  font-size: 13px;
}

.guide-switch-tab.is-active small {
  color: rgba(246, 242, 232, 0.72);
}

.guide-panels {
  margin-top: -74px;
}

.guide-panel[hidden] {
  display: none;
}

.guide-panel-band {
  padding-top: 132px;
}

.guide-page .guide-panel-band {
  background:
    linear-gradient(180deg, rgba(142, 232, 189, 0.045), transparent 24%),
    #10120e;
  color: var(--ink);
}

.guide-page .guide-panel-band .section-heading p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.68);
}

.guide-page .guide-panel-band .tutorial-step {
  border-color: rgba(246, 242, 232, 0.13);
  background: rgba(246, 242, 232, 0.055);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.guide-page .guide-panel-band .tutorial-step h3 {
  color: var(--ink);
}

.guide-page .guide-panel-band .tutorial-step .step-copy p,
.guide-page .guide-panel-band .tutorial-step figcaption {
  color: rgba(246, 242, 232, 0.66);
}

.guide-page .guide-panel-band .tutorial-step .step-copy span {
  background: rgba(246, 242, 232, 0.1);
  color: var(--mint);
}

.guide-page .guide-panel-band .tutorial-step img {
  border-color: rgba(246, 242, 232, 0.13);
  background: #20231d;
}

.guide-page .guide-panel-band .screenshot-grid,
.guide-page .guide-panel-band .screenshot-grid-3,
.guide-page .guide-panel-band .screenshot-grid-single {
  grid-template-columns: 1fr;
}

.split-layout,
.specs-layout,
.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 50px;
  align-items: start;
}

.pipeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pipeline-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.pipeline-list li > span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.pipeline-list h3 {
  margin-bottom: 6px;
}

.pipeline-list p {
  margin-bottom: 0;
  color: rgba(246, 242, 232, 0.66);
}

.console-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.console-panel {
  min-height: 520px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 232, 0.15);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(246, 242, 232, 0.1), rgba(246, 242, 232, 0.035));
  box-shadow: var(--shadow);
}

.console-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: rgba(246, 242, 232, 0.6);
}

.console-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steel);
}

.console-topbar span:nth-child(2) {
  background: var(--amber);
}

.console-topbar span:nth-child(3) {
  background: var(--mint);
}

.console-topbar strong {
  margin-left: auto;
  font-size: 13px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr;
  gap: 14px;
  padding-top: 16px;
}

.preview-window {
  position: relative;
  min-height: 310px;
  border-radius: 8px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  overflow: hidden;
  background:
    linear-gradient(rgba(142, 232, 189, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 232, 189, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 48% 43%, rgba(142, 232, 189, 0.18), transparent 22%),
    linear-gradient(145deg, #242720, #10120e 62%);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.preview-window::before,
.preview-window::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(246, 242, 232, 0.18);
}

.preview-window::after {
  inset: 34%;
  border-color: rgba(142, 232, 189, 0.6);
}

.scan-box {
  position: absolute;
  width: 86px;
  height: 112px;
  left: 52%;
  top: 33%;
  border: 2px solid var(--mint);
  border-radius: 6px;
  box-shadow: 0 0 36px rgba(142, 232, 189, 0.2);
  animation: scanPulse 2.6s ease-in-out infinite;
}

.target-point {
  position: absolute;
  width: 12px;
  height: 12px;
  left: calc(52% + 37px);
  top: calc(33% + 46px);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(231, 183, 101, 0.13);
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-stack div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  background: rgba(9, 10, 8, 0.34);
}

.metric-stack span,
.metric-stack strong {
  display: block;
}

.metric-stack span {
  margin-bottom: 8px;
  color: rgba(246, 242, 232, 0.52);
  font-size: 13px;
}

.metric-stack strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.control-surface {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  background: rgba(9, 10, 8, 0.26);
}

.control-surface label {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(246, 242, 232, 0.7);
  font-size: 14px;
}

.control-surface i {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(246, 242, 232, 0.14);
  overflow: hidden;
}

.control-surface i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, var(--mint), var(--amber));
}

.console-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.console-points div {
  padding-left: 18px;
  border-left: 2px solid rgba(142, 232, 189, 0.56);
}

.console-points strong,
.console-points span {
  display: block;
}

.console-points strong {
  margin-bottom: 2px;
}

.console-points span {
  color: rgba(246, 242, 232, 0.62);
}

.section-mobile {
  background:
    linear-gradient(180deg, rgba(231, 183, 101, 0.1), transparent 34%),
    #0f110d;
  color: var(--ink);
  overflow: hidden;
}

.mobile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}

.section-mobile .section-heading p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.68);
}

.mobile-copy-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.mobile-copy-grid article {
  padding: 18px 0 18px 18px;
  border-left: 2px solid rgba(142, 232, 189, 0.56);
}

.mobile-copy-grid strong,
.mobile-copy-grid span {
  display: block;
}

.mobile-copy-grid strong {
  margin-bottom: 4px;
}

.mobile-copy-grid span {
  color: rgba(246, 242, 232, 0.62);
}

.mobile-gallery {
  min-width: 0;
}

.mobile-gallery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(246, 242, 232, 0.62);
  font-size: 14px;
  font-weight: 760;
}

.mobile-gallery-actions {
  display: flex;
  gap: 8px;
}

.mobile-gallery-actions button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(246, 242, 232, 0.14);
  border-radius: 6px;
  background: rgba(246, 242, 232, 0.06);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mobile-gallery-actions button:hover {
  border-color: rgba(142, 232, 189, 0.42);
  background: rgba(142, 232, 189, 0.1);
  transform: translateY(-1px);
}

.mobile-gallery-actions svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-phone-stage {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(248px, 58%);
  gap: 18px;
  min-width: 0;
  padding: 6px 4px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(142, 232, 189, 0.68) rgba(246, 242, 232, 0.1);
  scrollbar-width: thin;
}

.mobile-phone-stage:focus-visible {
  outline: 2px solid rgba(142, 232, 189, 0.72);
  outline-offset: 6px;
}

.mobile-phone-stage::-webkit-scrollbar {
  height: 10px;
}

.mobile-phone-stage::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(246, 242, 232, 0.1);
}

.mobile-phone-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(142, 232, 189, 0.68);
}

.phone-shot {
  position: relative;
  scroll-snap-align: start;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(246, 242, 232, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(246, 242, 232, 0.13), rgba(246, 242, 232, 0.04));
  box-shadow: var(--shadow);
}

.phone-shot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(9, 10, 8, 0.7);
  transform: translateX(-50%);
  z-index: 2;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 427 / 929;
  object-fit: cover;
  border-radius: 20px;
  background: #080b09;
}

.phone-shot figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(142, 232, 189, 0.32);
  border-radius: 6px;
  background: rgba(9, 10, 8, 0.78);
  color: rgba(246, 242, 232, 0.86);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.section-hardware {
  background:
    linear-gradient(180deg, rgba(142, 232, 189, 0.1), transparent 36%),
    #151611;
  color: var(--ink);
  overflow: hidden;
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 42px;
  align-items: center;
}

.hardware-copy {
  position: relative;
  z-index: 2;
}

.hardware-copy p:not(.eyebrow) {
  margin-bottom: 28px;
  color: rgba(246, 242, 232, 0.68);
  font-size: 17px;
}

.hardware-visual {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(246, 242, 232, 0.05);
  box-shadow: var(--shadow);
}

.hardware-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 22, 17, 0.46), transparent 46%);
  pointer-events: none;
}

.hardware-visual img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.platform-grid article {
  min-height: 136px;
  padding: 22px;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.055);
}

.platform-grid strong,
.platform-grid span {
  display: block;
}

.platform-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
}

.platform-grid span {
  color: rgba(246, 242, 232, 0.64);
}

.hardware-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid rgba(246, 242, 232, 0.11);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(246, 242, 232, 0.08);
}

.hardware-list article {
  min-height: 228px;
  padding: 22px;
  background: rgba(9, 10, 8, 0.36);
}

.hardware-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(142, 232, 189, 0.14);
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.hardware-list p {
  margin-bottom: 0;
  color: rgba(246, 242, 232, 0.62);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.delivery-card {
  display: flex;
  flex-direction: column;
}

.delivery-card span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 8px;
  background: var(--paper-ink);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.specs-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.spec-table {
  border-top: 1px solid var(--line-dark);
}

.spec-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.spec-table strong {
  color: var(--paper-ink);
}

.spec-table span {
  color: var(--paper-muted);
}

.cta-band {
  padding: 92px 24px;
  background:
    linear-gradient(135deg, rgba(142, 232, 189, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(231, 183, 101, 0.16), transparent 30%),
    #0f110d;
}

.cta-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner p:not(.eyebrow) {
  margin: 0 auto 26px;
  max-width: 640px;
  color: rgba(246, 242, 232, 0.68);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section-disclaimer {
  background: #10120e;
  color: var(--ink);
}

.section-disclaimer .section-heading p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.68);
}

.section-disclaimer .notes-grid {
  grid-template-columns: 1fr;
}

.disclaimer-fineprint {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 242, 232, 0.12);
  color: rgba(246, 242, 232, 0.56);
  font-size: 14px;
}

.compact-disclaimer {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(246, 242, 232, 0.13);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.045);
}

.compact-disclaimer h2 {
  margin-bottom: 0;
}

.compact-disclaimer p:last-child {
  margin: 0;
  color: rgba(246, 242, 232, 0.68);
}

.site-footer {
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(246, 242, 232, 0.09);
  color: rgba(246, 242, 232, 0.52);
  font-size: 14px;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.guide-page {
  background: var(--black);
}

.guide-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 24px 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.guide-hero h1 {
  max-width: 720px;
}

.guide-hero-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.055);
  box-shadow: var(--shadow);
}

.guide-hero-panel h2 {
  margin-bottom: 22px;
  font-size: 27px;
}

.prep-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-list li {
  padding: 16px;
  border: 1px solid rgba(246, 242, 232, 0.11);
  border-radius: 8px;
  background: rgba(9, 10, 8, 0.24);
}

.prep-list strong,
.prep-list span {
  display: block;
}

.prep-list strong {
  margin-bottom: 4px;
}

.prep-list span {
  color: rgba(246, 242, 232, 0.62);
}

.tutorial-steps {
  display: grid;
  gap: 28px;
}

.tutorial-step {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.step-copy span {
  background: var(--paper-ink);
  color: var(--amber);
}

.step-copy p {
  margin-bottom: 0;
  color: var(--paper-muted);
}

.tutorial-step figure {
  margin: 0;
}

.tutorial-step img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(20, 22, 17, 0.16);
  background: #2f3338;
}

.tutorial-step figcaption {
  margin-top: 10px;
  color: var(--paper-muted);
  font-size: 13px;
}

.script-file-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  align-content: center;
  padding: 28px;
  border: 1px solid rgba(20, 22, 17, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 22, 17, 0.95), rgba(48, 52, 48, 0.95));
  color: var(--ink);
}

.script-file-card span {
  color: rgba(246, 242, 232, 0.62);
  font-size: 13px;
}

.script-file-card strong {
  overflow-wrap: anywhere;
  color: var(--amber);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.tutorial-step-dark {
  border-color: rgba(246, 242, 232, 0.13);
  background: rgba(246, 242, 232, 0.055);
}

.tutorial-step-dark h3 {
  color: var(--ink);
}

.tutorial-step-dark .step-copy p,
.tutorial-step-dark figcaption {
  color: rgba(246, 242, 232, 0.66);
}

.tutorial-step-dark .step-copy span {
  background: rgba(246, 242, 232, 0.1);
  color: var(--mint);
}

.tutorial-step-text-only {
  grid-template-columns: 1fr;
}

.tutorial-step-stacked {
  grid-template-columns: 1fr;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.screenshot-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-grid-single {
  grid-template-columns: minmax(0, 0.58fr);
  justify-content: center;
}

.screenshot-grid img {
  height: auto;
  object-fit: contain;
}

.screenshot-grid figcaption {
  grid-column: 1 / -1;
}

.compact-guide-preview {
  align-items: start;
}

.compact-guide-preview .guide-preview-media {
  margin: 0;
}

.resource-links {
  display: grid;
  gap: 10px;
}

.resource-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--paper-ink);
  font-weight: 750;
}

.resource-links span {
  color: var(--paper-muted);
  font-weight: 600;
}

.section-guide-notes {
  background: #151611;
  color: var(--ink);
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.section-guide-notes .section-heading p:not(.eyebrow) {
  color: rgba(246, 242, 232, 0.68);
}

.notes-grid {
  display: grid;
  gap: 14px;
}

.notes-grid article {
  padding: 20px;
  border: 1px solid rgba(246, 242, 232, 0.13);
  border-radius: 8px;
  background: rgba(246, 242, 232, 0.045);
}

.notes-grid strong,
.notes-grid span {
  display: block;
}

.notes-grid strong {
  margin-bottom: 5px;
}

.notes-grid span {
  color: rgba(246, 242, 232, 0.62);
}

.notes-actions {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.82;
  }
  50% {
    transform: translate3d(8px, -5px, 0);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 24px;
    right: 24px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 15, 12, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: center;
    font-size: 16px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13, 15, 12, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: center;
    font-size: 16px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 18px 26px;
    gap: 28px;
  }

  .hero-copy {
    max-width: 720px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding: 0 18px 34px;
  }

  .proof-strip div,
  .proof-strip div:first-child,
  .proof-strip div:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .feature-grid,
  .delivery-grid,
  .guide-preview,
  .guide-mini-steps,
  .guide-choice-grid,
  .guide-switch-shell,
  .screenshot-grid-3,
  .mobile-layout,
  .hardware-layout,
  .platform-grid,
  .hardware-list,
  .split-layout,
  .console-layout,
  .specs-layout,
  .guide-hero,
  .tutorial-step,
  .notes-layout,
  .compact-disclaimer {
    grid-template-columns: 1fr;
  }

  .console-layout {
    gap: 34px;
  }

  .hardware-visual img {
    min-height: 360px;
  }

  .mobile-phone-stage {
    grid-auto-columns: minmax(238px, 42%);
  }

  .guide-hero {
    padding: 52px 18px 54px;
    gap: 34px;
  }

  .guide-switch-shell {
    top: calc(var(--header-h) + 10px);
    width: calc(100% - 36px);
    transform: translateY(-18px);
  }

  .guide-switch-tabs {
    grid-template-columns: 1fr;
  }

  .guide-switch-tab {
    min-height: 70px;
  }

  .guide-panels {
    margin-top: -58px;
  }

  .guide-panel-band {
    padding-top: 116px;
  }

  .console-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 15px;
  }

  .hero-section {
    padding-top: 34px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .cta-inner p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .guide-switch-shell {
    width: calc(100% - 24px);
    padding: 10px;
  }

  .guide-switch-tabs {
    gap: 8px;
  }

  .guide-switch-tab {
    min-height: 58px;
    padding: 10px;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
  }

  .guide-switch-tab span {
    width: 32px;
    height: 32px;
  }

  .guide-switch-tab small {
    display: none;
  }

  .guide-panel-band {
    padding-top: 104px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: 70px;
  }

  .section-band,
  .cta-band {
    padding: 62px 18px;
  }

  .compact-disclaimer {
    gap: 18px;
    padding: 22px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature-card,
  .delivery-card {
    min-height: auto;
    padding: 20px;
  }

  .split-layout,
  .console-layout,
  .specs-layout,
  .guide-preview,
  .mobile-layout,
  .hardware-layout,
  .notes-layout {
    gap: 30px;
  }

  .hardware-list {
    gap: 1px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid,
  .screenshot-grid-3,
  .screenshot-grid-single {
    grid-template-columns: 1fr;
  }

  .hardware-list article {
    min-height: auto;
    padding: 20px;
  }

  .hardware-visual::after {
    background: linear-gradient(180deg, rgba(21, 22, 17, 0.42), transparent 42%);
  }

  .hardware-visual img {
    min-height: 260px;
  }

  .mobile-phone-stage {
    grid-auto-columns: minmax(258px, 84%);
    gap: 14px;
    padding-bottom: 16px;
  }

  .mobile-gallery-top {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-gallery-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-gallery-actions button {
    width: 100%;
  }

  .pipeline-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .preview-window {
    min-height: 240px;
  }

  .control-surface {
    grid-column: auto;
  }

  .control-surface label {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .site-footer {
    min-height: 92px;
    padding: 20px 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
