:root {
  --paper: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #e8efeb;
  --ink: #15211c;
  --muted: #596860;
  --line: #c9d3cd;
  --green: #006b55;
  --green-dark: #003d31;
  --green-soft: #c6eadb;
  --amber: #efc45b;
  --amber-soft: #fff1ca;
  --blue-soft: #dfeaf6;
  --red: #bb3b3e;
  --dark: #121b17;
  --dark-line: #34413a;
  --max: 1200px;
  --header-height: 72px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 14px; border-radius: 4px; color: white; background: var(--green-dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); border-bottom: 1px solid transparent; background: rgba(244, 247, 244, .92); transition: border-color .2s ease, background-color .2s ease; }
.site-header.scrolled { border-color: rgba(114, 132, 122, .24); background: rgba(255, 255, 255, .96); }
.nav-shell { width: min(calc(100% - 40px), 1360px); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 780; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 30px; color: #394740; font-size: 14px; font-weight: 650; }
.site-nav a { position: relative; white-space: nowrap; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .2s ease; }
.site-nav a:not(.nav-cta):hover::after, .site-nav a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta, .presentation-button { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--green); border-radius: 6px; color: white; background: var(--green); font-size: 13px; font-weight: 750; cursor: pointer; }
.nav-cta:hover, .presentation-button:hover { background: var(--green-dark); }
.presentation-button > span:first-child { font-size: 18px; line-height: 1; }
.menu-button { display: none; width: 42px; height: 42px; padding: 11px 9px; border: 0; border-radius: 50%; background: transparent; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 4px auto; border-radius: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.presentation-toolbar { position: fixed; right: 18px; bottom: 18px; z-index: 180; display: none; align-items: center; gap: 5px; padding: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: white; background: rgba(13, 22, 18, .92); box-shadow: 0 8px 28px rgba(0,0,0,.24); }
.presentation-toolbar button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: white; background: transparent; font-size: 19px; cursor: pointer; }
.presentation-toolbar button:hover, .presentation-toolbar button:focus-visible { background: rgba(255,255,255,.12); }
.presentation-toolbar button:disabled { cursor: not-allowed; opacity: .32; }
.presentation-count { min-width: 112px; padding: 0 10px; color: #d8e8e1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; white-space: nowrap; }

.section-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero { position: relative; min-height: 820px; padding-top: var(--header-height); overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; top: var(--header-height); bottom: 54px; left: calc(50% + 168px); width: 1px; background: #d7dfda; }
.hero-inner { position: relative; width: min(calc(100% - 48px), 1360px); min-height: 748px; margin: 0 auto; }
.hero-copy { position: relative; z-index: 3; width: min(610px, 48%); padding-top: 112px; }
.eyebrow, .section-index { margin: 0 0 22px; color: var(--green); font-size: 12px; font-weight: 780; line-height: 1.4; letter-spacing: 0; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", "Songti SC", serif; font-size: 72px; font-weight: 600; line-height: .98; letter-spacing: 0; }
.hero-statement { margin: 26px 0 0; font-size: 36px; font-weight: 620; line-height: 1.25; }
.hero-statement strong { color: var(--green); font-weight: 760; }
.hero-lede { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 750; transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.button:hover { box-shadow: 0 4px 14px rgba(25, 45, 35, .1); }
.button:active { box-shadow: none; }
.button-primary { border-color: var(--green); color: white; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green-dark); background: transparent; }
.button-secondary:hover { border-color: var(--green); background: var(--surface); }
.button-secondary span { font-size: 18px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, max-content); gap: 34px; margin: 46px 0 0; }
.hero-facts div { padding-left: 11px; border-left: 2px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: 11px; }
.hero-facts dd { margin: 4px 0 0; font-size: 13px; font-weight: 730; }
.hero-product { position: absolute; z-index: 2; top: 116px; left: calc(50% + 132px); width: 840px; transform: none; transform-origin: 20% 50%; }
.product-window { overflow: hidden; border: 1px solid #aebbb4; border-radius: 8px; background: var(--surface); box-shadow: 0 28px 70px rgba(26, 45, 36, .19); }
.window-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #dfe5e1; background: #f9faf9; }
.window-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #bfc9c3; }
.window-bar > span:first-child { background: #e9af5a; }
.window-bar small { margin-left: 10px; color: #718078; font-size: 9px; }
.product-window img { width: 100%; height: auto; }
.stock-signal { position: absolute; left: -42px; bottom: 50px; min-width: 242px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #e4be68; border-radius: 6px; background: var(--amber-soft); box-shadow: 0 10px 28px rgba(28, 37, 32, .13); }
.signal-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #513700; background: var(--amber); font-weight: 820; }
.stock-signal strong, .stock-signal small { display: block; }
.stock-signal strong { font-size: 12px; }
.stock-signal small { margin-top: 2px; color: #735818; font-size: 10px; }
.hero-edge { position: absolute; inset: auto 0 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1360px) / 2)); border-top: 1px solid #d7dfda; color: #6b7a72; font-size: 10px; font-weight: 750; }

.section-dark { color: #eff5f1; background: var(--dark); }
.problems { padding: 126px 0 110px; }
.problems .section-shell { display: grid; grid-template-columns: .86fr 1.14fr; gap: 80px 90px; }
.section-heading h2, .scan-copy h2, .principles h2, .open-copy h2, .final-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", "Songti SC", serif; font-size: 52px; font-weight: 600; line-height: 1.17; letter-spacing: 0; }
.section-heading > p:last-child, .section-lede, .open-copy > p { max-width: 580px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section-dark .section-index { color: #8fcab7; }
.section-dark .section-heading > p:last-child { color: #aebbb4; }
.sheet-scene { align-self: start; overflow: hidden; margin-top: 2px; border: 1px solid var(--dark-line); border-radius: 8px; background: #18231e; box-shadow: 16px 16px 0 #0d1411; }
.sheet-title { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--dark-line); color: #d9e3dd; font-size: 12px; font-weight: 700; }
.sheet-status { color: #9dd0bf; font-size: 10px; }
.sheet-row { min-height: 58px; display: grid; grid-template-columns: minmax(140px, 1.4fr) repeat(3, minmax(70px, .6fr)); align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--dark-line); color: #bdc8c2; font-size: 13px; }
.sheet-row strong { color: white; font-weight: 650; }
.sheet-row em { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #281d02; background: var(--amber); font-style: normal; font-weight: 800; }
.sheet-head { min-height: 38px; color: #829088; background: #111a16; font-size: 10px; text-transform: uppercase; }
.sheet-note { margin: 20px; padding: 14px 16px; border-left: 3px solid var(--amber); color: #f3dfaa; background: #212b26; font-family: Georgia, "Songti SC", serif; font-size: 15px; }
.problem-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--dark-line); }
.problem-list article { min-width: 0; padding: 28px 28px 0 0; }
.problem-list article + article { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.problem-list span, .feature-grid > article > span { color: #78bca6; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.problem-list h3 { margin: 20px 0 10px; font-size: 17px; }
.problem-list p { margin: 0; color: #aebbb4; font-size: 13px; line-height: 1.75; }

.scan-flow { padding: 130px 0; background: #edf2ef; }
.scan-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr); gap: 96px; align-items: center; }
.scan-visual { position: relative; min-height: 670px; }
.phone-frame { position: absolute; z-index: 2; top: 0; right: 4%; width: 322px; overflow: hidden; padding: 11px; border: 2px solid #15211c; border-radius: 34px; background: #16211c; box-shadow: 0 24px 60px rgba(32, 48, 40, .2); }
.phone-screen { width: 100%; aspect-ratio: 390 / 843; overflow: hidden; border-radius: 24px; color: #17231e; background: #cbd3cf; }
.phone-dialog-preview { height: calc(100% - 10px); margin: 10px 4px 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #26342d; border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 4px 14px rgba(21, 33, 28, .16); }
.phone-dialog-head { min-height: 70px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 19px 13px 10px; border-bottom: 1px solid #d7ded9; }
.phone-dialog-head strong { display: block; font-size: 14px; line-height: 1.25; }
.phone-dialog-head p { margin: 5px 0 0; color: #58655f; font-size: 8px; line-height: 1.45; }
.phone-dialog-head > span { padding: 0 2px; color: #4c5a53; font-size: 20px; line-height: 1; }
.phone-mode-preview { height: 52px; display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; margin: 10px 10px 7px; padding: 4px; border-radius: 9px; background: #edf2ef; color: #44534c; font-size: 10px; text-align: center; }
.phone-mode-preview strong { height: 100%; display: grid; place-items: center; border-radius: 22px; color: var(--green-dark); background: #fff; box-shadow: 0 2px 7px rgba(22, 37, 30, .13); }
.phone-form-preview { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 6px 13px 12px; }
.phone-field { display: grid; gap: 4px; }
.phone-field-label { min-width: 0; min-height: 13px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 8px; line-height: 1.25; }
.phone-field-label strong { min-width: 0; font-weight: 720; }
.phone-field-label em { color: var(--green); font-style: normal; }
.phone-field-label span { flex: 0 0 auto; color: var(--green); font-weight: 720; }
.phone-input-preview { min-height: 37px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #8d9a93; border-radius: 3px; color: #7a8680; background: #fff; font-size: 9px; line-height: 1.35; }
.phone-input-value { justify-content: space-between; color: #17231e; font-size: 10px; }
.phone-input-value b { font-size: 9px; }
.phone-field small { color: #6b7771; font-size: 7px; line-height: 1.35; }
.phone-field-note .phone-input-preview { min-height: 49px; align-items: flex-start; padding-top: 9px; }
.phone-form-actions { min-height: 39px; display: flex; justify-content: flex-end; gap: 6px; margin-top: auto; padding-top: 2px; color: var(--green-dark); font-size: 9px; font-weight: 760; }
.phone-form-actions span, .phone-form-actions strong { min-width: 62px; display: grid; place-items: center; padding: 0 9px; border: 1px solid #c7d0cb; border-radius: 21px; }
.phone-form-actions strong { min-width: 102px; border-color: var(--green); color: #fff; background: var(--green); }
.phone-frame::after { content: ""; position: absolute; z-index: 4; bottom: 7px; left: 50%; width: 72px; height: 3px; border-radius: 2px; background: rgba(22, 33, 28, .62); transform: translateX(-50%); }
.phone-speaker { position: absolute; z-index: 3; top: 9px; left: 50%; width: 74px; height: 18px; border-radius: 0 0 12px 12px; background: #16211c; transform: translateX(-50%); }
.label-card { position: absolute; z-index: 4; left: 0; bottom: 66px; width: 332px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 17px; padding: 14px; border: 1px solid #aebbb4; border-radius: 6px; background: white; box-shadow: 0 16px 40px rgba(32, 48, 40, .17); transform: rotate(-4deg); }
.label-qr { width: 132px; height: 132px; }
.label-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.label-copy img { margin-bottom: 12px; border-radius: 5px; }
.label-copy strong { font-size: 18px; line-height: 1.25; }
.label-copy span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.label-copy small { margin-top: 18px; color: var(--green); font-size: 9px; font-weight: 800; }
.scan-line-note { position: absolute; z-index: 5; top: 18px; left: 0; padding: 9px 12px; border-radius: 4px; color: var(--green-dark); background: var(--amber); font-size: 12px; font-weight: 780; transform: rotate(-2deg); }
.scan-copy .section-lede { max-width: 510px; }
.flow-steps { margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.flow-steps > li > span { padding-top: 3px; color: var(--green); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 750; }
.flow-steps h3 { margin: 0; font-size: 17px; }
.flow-steps p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.safety-note { display: grid; gap: 6px; margin-top: 28px; padding: 17px 18px; border-left: 4px solid var(--green); border-radius: 0 6px 6px 0; background: var(--green-soft); }
.safety-note strong { font-size: 13px; }
.safety-note span { color: #315f51; font-size: 12px; line-height: 1.6; }

.capabilities { padding: 132px 0 118px; background: var(--surface); }
.section-heading-wide { display: grid; grid-template-columns: 1fr minmax(280px, .42fr); gap: 24px 70px; align-items: end; }
.section-heading-wide .section-index { grid-column: 1 / -1; }
.section-heading-wide > p:last-child { margin: 0 0 7px; }
.product-figure { margin: 76px 0 0; }
.screenshot-button { position: relative; width: 100%; display: block; overflow: hidden; padding: 0; border: 1px solid #afbbb4; border-radius: 8px; background: #eef2ef; box-shadow: 0 18px 50px rgba(30, 48, 39, .14); cursor: zoom-in; }
.screenshot-button > img { width: 100%; height: auto; }
.screenshot-button::after { content: ""; position: absolute; inset: 0; background: rgba(0, 61, 49, 0); transition: background-color .2s ease; }
.screenshot-button:hover::after { background: rgba(0, 61, 49, .07); }
.screenshot-button > span { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 8px 10px; border-radius: 4px; color: white; background: rgba(18, 27, 23, .88); font-size: 11px; font-weight: 700; }
.product-figure figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.product-figure figcaption span:first-child { color: var(--green); font-weight: 750; }
.feature-slide { padding: 124px 0 118px; background: var(--paper); }
.feature-slide-heading { display: grid; grid-template-columns: 1fr minmax(280px, .48fr); gap: 24px 70px; align-items: end; }
.feature-slide-heading .section-index { grid-column: 1 / -1; }
.feature-slide-heading > p:last-child { margin: 0 0 7px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 84px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-width: 0; min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid h3 { margin: 32px 0 12px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.principles { padding: 120px 0; background: var(--amber-soft); }
.principles-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.principle-lines { border-top: 1px solid #d7bd7d; }
.principle-lines article { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 30px; align-items: start; padding: 25px 0; border-bottom: 1px solid #d7bd7d; }
.principle-lines strong { font-size: 16px; }
.principle-lines p { margin: 0; color: #6f5e35; font-size: 14px; line-height: 1.75; }

.section-green { color: white; background: var(--green-dark); }
.open-source { padding: 130px 0; }
.open-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; align-items: center; }
.open-copy .section-index { color: #8bd3bb; }
.open-copy > p { color: #b9d0c7; }
.license-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.license-row span { padding: 7px 9px; border: 1px solid #52796b; border-radius: 4px; color: #cfe4db; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.deploy-panel { overflow: hidden; border: 1px solid #638779; border-radius: 8px; background: #07382e; box-shadow: 16px 16px 0 #012d25; }
.deploy-head { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid #416c5e; color: #9dc8b9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.online-dot { display: inline-flex; align-items: center; gap: 7px; color: #d0e7df; }
.online-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #78d7b7; }
.open-feature-grid { display: grid; grid-template-columns: 1fr 1fr; }
.open-feature { min-width: 0; min-height: 164px; padding: 25px 26px; border-right: 1px solid #416c5e; border-bottom: 1px solid #416c5e; }
.open-feature:nth-child(even) { border-right: 0; }
.open-feature span, .open-feature strong { display: block; }
.open-feature span { color: #8fcab7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.open-feature strong { margin-top: 17px; font-size: 18px; }
.open-feature p { margin: 9px 0 0; color: #a8c8bc; font-size: 12px; line-height: 1.65; }
.deploy-panel > p { margin: 0; padding: 14px 18px; border-top: 1px solid #416c5e; color: #9dc8b9; font-size: 11px; text-align: center; }

.final-cta { padding: 130px 0; text-align: center; background: var(--blue-soft); }
.final-inner { max-width: 850px; }
.final-inner > img { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 8px; box-shadow: 0 8px 24px rgba(24, 54, 43, .15); }
.final-inner > p:not(.section-index) { max-width: 590px; margin: 24px auto 0; color: #526574; font-size: 16px; line-height: 1.8; }
.final-actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 104px; display: flex; align-items: center; gap: 24px; }
.footer-brand { font-size: 15px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-inner p { flex: 1; color: var(--muted); font-size: 12px; }
.footer-inner > span { color: var(--muted); font-size: 11px; }

.image-dialog { width: min(94vw, 1320px); max-height: 94vh; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: white; box-shadow: 0 30px 90px rgba(8, 18, 13, .35); }
.image-dialog::backdrop { background: rgba(10, 18, 14, .78); }
.dialog-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.dialog-head strong, .dialog-head span { display: block; }
.dialog-head strong { font-size: 14px; }
.dialog-head span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.dialog-head button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: transparent; font-size: 26px; cursor: pointer; }
.dialog-head button:hover { background: var(--surface-soft); }
.image-dialog > img { width: 100%; max-height: calc(94vh - 64px); object-fit: contain; }

html.presentation-mode { overflow-y: auto; scrollbar-width: none; scroll-snap-type: y mandatory; background: #08100c; }
html.presentation-mode::-webkit-scrollbar { display: none; }
.presentation-mode body { overflow: visible; }
.presentation-mode .site-header, .presentation-mode .site-footer { display: none; }
.presentation-mode .presentation-toolbar { display: flex; }
html.presentation-mode .reveal { opacity: 1; transform: none; transition: none; }
.presentation-mode main > section[data-slide] { height: 100svh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.presentation-mode main > section[data-slide] > .section-shell,
.presentation-mode .hero > .hero-inner {
  width: min(100vw, calc(100svh * 16 / 9));
  height: min(100svh, calc(100vw * 9 / 16));
  max-width: none;
  min-height: 0;
  margin: auto;
  padding: clamp(38px, 3.4vw, 64px);
}
.presentation-mode .hero { padding-top: 0; }
.presentation-mode .hero::before { top: 0; bottom: 0; }
.presentation-mode .hero-edge { display: none; }
.presentation-mode .hero > .hero-inner { display: grid; align-items: center; }
.presentation-mode .hero-copy { width: min(680px, 48%); padding-top: 0; }
.presentation-mode .hero h1 { font-size: 82px; }
.presentation-mode .hero-statement { font-size: 42px; }
.presentation-mode .hero-lede { max-width: 640px; font-size: 20px; line-height: 1.75; }
.presentation-mode .hero-actions { margin-top: 30px; }
.presentation-mode .button { min-height: 52px; padding-inline: 22px; font-size: 16px; }
.presentation-mode .hero-facts { margin-top: 38px; }
.presentation-mode .hero-facts dt { font-size: 12px; }
.presentation-mode .hero-facts dd { font-size: 15px; }
.presentation-mode .hero-product { top: 50%; width: 900px; translate: 0 -50%; }
.presentation-mode .section-index { margin-bottom: 18px; font-size: 14px; }
.presentation-mode :is(.section-heading h2, .scan-copy h2, .principles h2, .open-copy h2, .final-cta h2) { font-size: 60px; }
.presentation-mode :is(.section-heading > p:last-child, .section-lede, .open-copy > p, .final-inner > p:not(.section-index)) { font-size: 18px; line-height: 1.75; }
.presentation-mode .problems .section-shell { gap: 42px 82px; }
.presentation-mode .problem-list article { padding-top: 22px; }
.presentation-mode .problem-list h3 { font-size: 20px; }
.presentation-mode .problem-list p { font-size: 15px; line-height: 1.7; }
.presentation-mode .sheet-row { font-size: 15px; }
.presentation-mode .sheet-note { font-size: 17px; }
.presentation-mode .scan-layout { gap: 72px; }
.presentation-mode .scan-visual { min-height: 100%; }
.presentation-mode .phone-frame { top: 50%; width: 360px; transform: translateY(-50%); }
.presentation-mode .phone-dialog-head strong { font-size: 15px; }
.presentation-mode .phone-dialog-head p { font-size: 9px; }
.presentation-mode .phone-mode-preview { font-size: 11px; }
.presentation-mode .phone-field-label { font-size: 9px; }
.presentation-mode .phone-input-preview { font-size: 10px; }
.presentation-mode .phone-input-value { font-size: 11px; }
.presentation-mode .phone-field small { font-size: 8px; }
.presentation-mode .phone-form-actions { font-size: 10px; }
.presentation-mode .label-card { bottom: 52px; }
.presentation-mode .flow-steps h3 { font-size: 20px; }
.presentation-mode .flow-steps p { font-size: 15px; }
.presentation-mode .safety-note strong { font-size: 15px; }
.presentation-mode .safety-note span { font-size: 14px; }
.presentation-mode .capabilities .section-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: center; }
.presentation-mode .capabilities .product-figure { width: min(100%, 880px); margin: 28px auto 0; }
.presentation-mode .feature-slide .section-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: center; }
.presentation-mode .feature-slide-heading { grid-template-columns: 1fr minmax(280px, .5fr); gap: 16px 54px; }
.presentation-mode .feature-grid { margin-top: 30px; }
.presentation-mode .feature-grid article { min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 30px 34px; }
.presentation-mode .feature-grid > article > span { font-size: 13px; }
.presentation-mode .feature-grid h3 { margin: 22px 0 12px; font-size: 22px; }
.presentation-mode .feature-grid p { font-size: 17px; line-height: 1.6; }
.presentation-mode .principles-layout, .presentation-mode .open-layout { align-content: center; align-items: center; }
.presentation-mode .principle-lines article { grid-template-columns: 200px minmax(0, 1fr); padding: 32px 0; }
.presentation-mode .principle-lines strong { font-size: 21px; }
.presentation-mode .principle-lines p { font-size: 18px; line-height: 1.7; }
.presentation-mode .license-row span { font-size: 12px; }
.presentation-mode .open-feature { min-height: 210px; padding: 32px 34px; }
.presentation-mode .open-feature span { font-size: 12px; }
.presentation-mode .open-feature strong { margin-top: 20px; font-size: 22px; }
.presentation-mode .open-feature p { font-size: 15px; line-height: 1.65; }
.presentation-mode .final-inner { display: grid; place-content: center; justify-items: center; }
.presentation-mode .image-dialog { max-height: 92svh; }

@media (min-width: 1700px) and (min-height: 900px) {
  .presentation-mode .hero-product { left: calc(50% + 82px); width: 1050px; }
  .presentation-mode .capabilities .product-figure { width: min(100%, 1050px); }
  .presentation-mode .phone-frame { width: 400px; }
  .presentation-mode .label-card { width: 360px; grid-template-columns: 144px minmax(0, 1fr); }
  .presentation-mode .label-qr { width: 144px; height: 144px; }
}

@media (min-width: 861px) and (max-height: 800px) {
  .presentation-mode .flow-steps { margin-top: 24px; }
  .presentation-mode .flow-steps li { padding: 14px 0; }
  .presentation-mode .safety-note { margin-top: 18px; padding-block: 12px; }
  .presentation-mode .capabilities .product-figure { width: min(100%, 800px); margin-top: 20px; }
}

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .hero { min-height: 790px; }
  .hero-copy { width: 55%; }
  .hero-product { left: 53%; width: 770px; }
  .hero h1 { font-size: 62px; }
  .hero-statement { font-size: 31px; }
  .scan-layout { gap: 48px; }
  .phone-frame { right: 0; width: 300px; }
  .label-card { width: 302px; grid-template-columns: 116px minmax(0, 1fr); }
  .label-qr { width: 116px; height: 116px; }
}

@media (max-width: 860px) {
  :root { --header-height: 66px; }
  .nav-shell { width: min(calc(100% - 28px), 1360px); }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: var(--header-height) 0 auto; display: grid; gap: 0; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; background: rgba(255, 255, 255, .98); transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid #e4e9e6; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { justify-content: center; margin-top: 10px; border-bottom: 0; }
  .site-nav .presentation-button { display: none; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: auto; padding-bottom: 54px; }
  .hero::before { display: none; }
  .hero-inner { min-height: 720px; }
  .hero-copy { width: 70%; padding-top: 88px; }
  .hero-product { top: 270px; left: 42%; width: 720px; opacity: .72; }
  .stock-signal { display: none; }
  .hero-copy::after { content: ""; position: absolute; z-index: -1; inset: 60px -30px -28px -24px; background: rgba(244, 247, 244, .88); }
  .problems .section-shell, .scan-layout, .open-layout, .principles-layout { grid-template-columns: 1fr; }
  .problems .section-shell { gap: 58px; }
  .problem-list { grid-template-columns: 1fr 1fr; }
  .problem-list article:nth-child(3) { padding-left: 0; border-left: 0; }
  .problem-list article:nth-child(n+3) { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
  .scan-layout { gap: 72px; }
  .scan-copy { grid-row: 1; }
  .scan-visual { grid-row: 2; }
  .scan-visual { width: min(100%, 590px); margin: 0 auto; }
  .scan-copy { max-width: 650px; }
  .section-heading-wide { grid-template-columns: 1fr; }
  .section-heading-wide > p:last-child { margin-top: 0; }
  .feature-slide-heading { grid-template-columns: 1fr; }
  .feature-slide-heading > p:last-child { margin-top: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-layout, .open-layout { gap: 58px; }
  .open-copy { max-width: 650px; }
}

@media (max-width: 600px) {
  .section-shell, .hero-inner { width: min(calc(100% - 32px), var(--max)); }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-bottom: 54px; }
  .hero-inner { min-height: 680px; }
  .hero-copy { width: 100%; padding-top: 62px; }
  .hero-copy::after { inset: 36px -12px -20px; }
  .eyebrow { max-width: 300px; font-size: 11px; }
  .hero h1 { font-size: 45px; }
  .hero-statement { margin-top: 20px; font-size: 29px; }
  .hero-lede { margin-top: 18px; font-size: 15px; line-height: 1.75; }
  .hero-actions { display: grid; margin-top: 26px; }
  .button { width: 100%; min-height: 48px; padding: 0 14px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
  .hero-facts div { padding-left: 8px; }
  .hero-facts dd { font-size: 11px; line-height: 1.35; }
  .hero-product { top: 505px; left: 10px; width: 530px; opacity: 1; transform: none; }
  .window-bar { height: 26px; }
  .hero-edge span:first-child { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .problems, .scan-flow, .capabilities, .feature-slide, .open-source, .final-cta { padding: 90px 0; }
  .section-heading h2, .scan-copy h2, .principles h2, .open-copy h2, .final-cta h2 { font-size: 38px; }
  .section-heading > p:last-child, .section-lede, .open-copy > p { font-size: 15px; }
  .sheet-title { align-items: flex-start; flex-direction: column; padding: 14px; }
  .sheet-row { grid-template-columns: minmax(110px, 1.35fr) repeat(3, minmax(46px, .55fr)); gap: 6px; padding: 0 10px; font-size: 11px; }
  .sheet-note { margin: 14px; font-size: 13px; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list article { padding-right: 0; }
  .problem-list article + article { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--dark-line); border-left: 0; }
  .scan-visual { min-height: 565px; }
  .phone-frame { right: 0; width: 266px; }
  .label-card { bottom: 48px; width: 252px; grid-template-columns: 92px minmax(0, 1fr); gap: 11px; padding: 10px; }
  .label-qr { width: 92px; height: 92px; }
  .label-copy img { width: 22px; height: 22px; margin-bottom: 8px; }
  .label-copy strong { font-size: 15px; }
  .label-copy span { font-size: 10px; }
  .label-copy small { margin-top: 10px; font-size: 8px; }
  .scan-line-note { right: auto; left: 8px; }
  .product-figure { margin-top: 46px; }
  .product-figure figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .screenshot-button > span { display: none; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .feature-grid article { min-height: 0; padding: 24px; }
  .feature-grid h3 { margin-top: 24px; }
  .principles { padding: 88px 0; }
  .principle-lines article { grid-template-columns: 1fr; gap: 8px; }
  .deploy-panel { box-shadow: 8px 8px 0 #012d25; }
  .open-feature-grid { grid-template-columns: 1fr; }
  .open-feature { min-height: 0; padding: 22px; border-right: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 28px 0; }
  .footer-inner p { margin: 0; }
  .image-dialog { width: calc(100vw - 16px); border-radius: 24px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 36px; }
  .hero-statement { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
