:root {
  --paper: #f2f1eb;
  --ink: #20221d;
  --muted: #5e6057;
  --orange: #f65b21;
  --dark: #1e211d;
  --line: #cfcec6;
  --gutter: clamp(22px, 4.8vw, 84px);
  --platform-edge: clamp(24px,2.5vw,40px);
  --header: 76px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Onest, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
button, input, summary, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button, .pill { touch-action: manipulation; }
::selection { background: #ffc3a8; color: #20221d; }
:focus-visible { outline: 3px solid #1678ad; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
button, summary { -webkit-appearance: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
section[id], #product, #main { scroll-margin-top: calc(var(--header) - 1px); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.nav-industries { display: flex; gap: 2px; align-items: center; }
.industry-picker { position: relative; }
.industry-picker > summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; }
.nav-industries .industry-picker > summary { width: 32px; }
.industry-picker > summary .icon { width: 14px; height: 14px; }
.industry-picker[open] > summary .icon { transform: rotate(180deg); }
.industry-options {
  display: grid; min-width: 218px; position: absolute; z-index: 5; left: -12px; top: calc(100% + 2px);
  padding: 6px; border: 1px solid #c7cabc; border-radius: 9px; background: #f7f6ee; color: #20251d;
  box-shadow: 0 12px 28px #11190f28;
}
.industry-picker .industry-options a { display: block; padding: 10px 12px; border: 0; border-radius: 5px; color: #292e25; font: 530 14px/1.35 Onest,Arial,sans-serif; text-decoration: none; }
.industry-picker .industry-options a:hover, .industry-picker .industry-options a:focus-visible, .industry-picker .industry-options a[aria-current] { color: #242b1f; background: #e1e5d5; }
.industry-picker .industry-options a::after { display: none; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.frame { width: 100%; max-width: 1720px; margin-inline: auto; padding-inline: var(--gutter); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 100; top: 10px; left: 12px; background: white; padding: 10px 18px; }
.js-only { display: none !important; }
.enhanced .js-only { display: inline-flex !important; }
.orange { color: var(--orange); }

/* Navigation */
.site-header { position: sticky; z-index: 20; top: 0; background: var(--paper); }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 22px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; width: max-content; }
.brand img { width: 34px; height: auto; }
.brand span { font-size: 32px; font-weight: 740; line-height: 1; letter-spacing: -.072em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.main-nav a { color: #575950; position: relative; padding: 13px 0; font-size: 14px; font-weight: 540; line-height: 1; }
.main-nav a[aria-current] { color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 100%; height: 2px; background: var(--orange); transform-origin: left; transform: scaleX(0); transition: transform .22s; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 100px; padding: 16px 21px 16px 24px; min-height: 51px; font-size: 15px; font-weight: 620; letter-spacing: -.023em; line-height: 1.15; width: fit-content; transition: background .2s, color .2s, transform .2s; }
.pill .icon { width: 17px; height: 17px; transition: transform .22s; stroke-width: 1.85; }
.pill:hover .icon { transform: translateX(3px); }
.pill-dark { color: #faf9f1; background: var(--ink); }
.pill-dark:hover { background: #3c3e35; }
.pill-orange { color: #211b12; background: var(--orange); }
.pill-orange:hover { background: #ff733e; }
.header-contact { gap: 16px; padding: 12px 17px 12px 20px; min-height: 42px; font-size: 13px; }
.header-contact .icon { width: 14px; height: 14px; }
.header-contact:hover .icon, .contact-actions .pill:hover .icon { transform: translate(2px,-2px); }
.reading-track { position: absolute; bottom: 0; height: 1px; width: 100%; background: var(--line); }
.reading-track span { display: block; height: 2px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--read,0)); }
.enhanced .menu-toggle.js-only { display: none !important; }

.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.eyebrow-rule { width: 23px; height: 1px; background: #9b9c93; }
.lead { max-width: 395px; font-size: clamp(16px,1.29vw,21px); line-height: 1.47; letter-spacing: -.024em; color: #53564d; }
.scene-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 52px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.scroll-cue { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 530; color: #55574f; }
.round-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #bdbfb2; border-radius: 50%; transition: background .22s; }
.scroll-cue:hover .round-icon { background: #dedfd5; }
.round-icon .icon { width: 13px; height: 13px; }
.scene-index { display: flex; gap: 8px; align-items: center; font: 10px/1 var(--mono); color: var(--muted); }
.scene-index i { display: block; width: 30px; height: 1px; background: #a5a698; }
.scene-index b { font-weight: 600; color: var(--ink); }
.scene-index span { margin-left: 6px; font-family: Onest, Arial, sans-serif; font-size: 12px; }
.demo-device { position: relative; width: min(100%, 380px); justify-self: center; border: 1px solid #cecec5; border-radius: 27px; padding: 19px; background: #fbfbf5; box-shadow: 0 26px 45px -28px #2d302a65, inset 0 0 0 2px #fff8; }
.device-top { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 13px; }
.device-top > span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 640; letter-spacing: -.035em; }
.device-top > span .icon { color: #bb450e; }
.reset-demo { width: 34px; height: 34px; display: grid; place-content: center; align-items: center; justify-content: center; background: #e9eadf; border-radius: 50%; }
.reset-demo:hover { background: #dbdece; }
.reset-demo .icon { width: 15px; height: 15px; }
.enhanced .demo-actions.js-only { display: grid !important; }
.demo-actions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 12px 0 16px; }
.demo-actions button { background: #edeee6; border-radius: 11px; padding: 9px 3px; display: grid; justify-items: center; gap: 2px; line-height: 1.28; transition: background-color .18s; }
.demo-actions button:not(:disabled):hover { background: #e2e4d7; }
.demo-actions button:disabled { opacity: .45; }
.demo-actions .icon { width: 17px; height: 17px; margin-bottom: 3px; }
.demo-actions strong { font-weight: 600; font-size: 11px; }
.demo-actions small { font-size: 10px; color: var(--muted); }
.history-head { display: flex; align-items: center; gap: 10px; margin: 12px 2px 3px; font-size: 11px; font-weight: 590; color: var(--muted); }
.history-head i { flex: 1; height: 1px; background: #d9dbcf; }
.history { min-height: 63px; list-style: none; padding: 0 2px; }
.history li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 12px; line-height: 1.1; }
.history li + li { border-top: 1px solid #e5e5dc; }
.history b { font-weight: 590; white-space: nowrap; }
.positive { color: #356143; }
.updated li:first-child { animation: arrive .3s ease-out; }
@keyframes arrive { from { opacity: .2; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.enter-view { animation: enter-view .58s cubic-bezier(.2,.65,.25,1) both; }
@keyframes enter-view { from { opacity: .4; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Industry scenarios */
.dark-section { background: var(--dark); color: #f2f2e9; }
.section-pad { padding-block: clamp(22px,2vw,34px) clamp(18px,1.6vw,28px); }
.section-top { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(200px,.65fr); align-items: end; gap: 45px; margin-bottom: clamp(24px,2.65vw,42px); }
.section-top .eyebrow, .platform .eyebrow, .contact .eyebrow { margin-bottom: 16px; }
.display { font-size: clamp(51px,6.25vw,105px); font-weight: 520; line-height: .95; letter-spacing: -.062em; }
.section-intro, .platform-intro { font-size: clamp(16px,1.35vw,21px); line-height: 1.47; letter-spacing: -.027em; }
.section-intro { max-width: 366px; color: var(--muted); padding-bottom: 3px; }
.dark-section .section-intro { color: #c3c6ba; }
.dark-section .eyebrow { color: #d0d2c7; }
.industry-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.90fr); align-items: stretch; gap: clamp(36px,7vw,120px); }
html:not(.enhanced) .industry-layout { display: block; }
html:not(.enhanced) .case-stage { display: none; }
.sector { border-top: 1px solid #4b4e45; }
.sector:last-child { border-bottom: 1px solid #4b4e45; }
.sector summary, .more-industries summary, .model-extra summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.sector summary { padding: 16px 0; font-size: clamp(21px,2vw,34px); font-weight: 480; letter-spacing: -.045em; transition: color .2s; }
.sector[open] summary, .sector summary:hover { color: #ff834b; }
.sector-sign { position: relative; flex: none; width: 17px; height: 17px; display: block; }
.sector-sign::before, .sector-sign::after { position: absolute; content: ""; width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: currentColor; }
.sector-sign::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .2s; }
.sector[open] .sector-sign::after { transform: translate(-50%,-50%); }
.sector-body { padding: 0 24px 22px 0; max-width: 568px; }
.sector-body p { color: #d0d3c6; font-size: 15px; line-height: 1.5; letter-spacing: -.012em; }
.sector-body > span { color: #a3a79a; display: block; font: 10px/1.6 var(--mono); margin-top: 14px; }
.case-stage { align-self: start; position: sticky; top: calc(var(--header) + 25px); min-height: 400px; height: clamp(420px,35vw,555px); display: grid; place-items: center; isolation: isolate; overflow: hidden; border: 1px solid #505348; background-color: #31352e; background-image: radial-gradient(#696d5f 0.65px, transparent .85px); background-size: 11px 11px; }
.case-guides { width: 95%; aspect-ratio: 1; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid #626658; transform: scale(.83); }
.case-guides::before, .case-guides::after { content: ""; position: absolute; inset: -14%; border: 1px solid #505548; border-radius: 50%; }
.case-guides::after { inset: 14%; }
.receipt { position: relative; width: min(72%,310px); padding: clamp(18px,2.2vw,33px); color: var(--ink); background: #f1eee2; transform: rotate(-5deg); filter: drop-shadow(9px 15px 10px #12151066); }
.receipt::after { content: ""; height: 8px; position: absolute; left: 0; right: 0; top: calc(100% - 1px); background: linear-gradient(135deg,#f1eee2 25%, transparent 25%) 0 0/14px 14px,linear-gradient(225deg,#f1eee2 25%, transparent 25%) 0 0/14px 14px; }
.receipt-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid #bdbbad; padding-bottom: 12px; }
.receipt-top span, .receipt-sector { font: 10px/1.3 var(--mono); }
.receipt-sector { text-transform: uppercase; letter-spacing: .07em; color: #6b6b5f; margin: 22px 0 6px; }
.receipt h3 { font-size: clamp(19px,1.75vw,27px); letter-spacing: -.045em; font-weight: 580; line-height: 1.08; }
.receipt-amount { font-size: clamp(35px,3.25vw,57px); letter-spacing: -.073em; font-weight: 560; margin: 4px 0 16px; line-height: 1.04; }
.receipt-rule { border-top: 1px dashed #a9a895; }
.receipt-data { margin: 11px 0 13px; }
.receipt-data > div { display: flex; justify-content: space-between; gap: 7px; padding: 4px 0; font-size: 11px; }
.receipt-data dt { color: #656659; }
.receipt-data dd { text-align: right; font-weight: 540; }
.receipt-data i { display: inline-block; vertical-align: 1px; width: 5px; height: 5px; border-radius: 50%; background: #487245; }
.receipt-code { width: 70%; height: 22px; opacity: .77; background: repeating-linear-gradient(90deg,#32362b 0 2px,transparent 2px 4px,#32362b 4px 7px,transparent 7px 8px,#32362b 8px 9px,transparent 9px 13px,#32362b 13px 16px,transparent 16px 18px,#32362b 18px 19px,transparent 19px 23px); }
.case-demo-link { align-items: center; gap: 8px; padding: 10px 0 3px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.case-demo-link .icon { width: 13px; height: 13px; }
.case-stage.changing .receipt { animation: change-case .38s ease-out; }
.case-empty { position: absolute; max-width: 225px; text-align: center; color: #e1e5d7; font-size: 16px; line-height: 1.45; }
.case-stage.no-selection .receipt { visibility: hidden; }
@keyframes change-case { from { transform: translateY(7px) rotate(-3deg); opacity: .55; } to { transform: rotate(-5deg); opacity: 1; } }
.more-industries { margin-top: 28px; color: #c7cabc; }
.more-industries summary { width: fit-content; padding: 8px 0; font-size: 14px; }
.more-industries summary:hover { color: white; }
details[open] > summary > .icon { transform: rotate(180deg); }
.more-industries summary .icon, .model-extra summary .icon { width: 15px; height: 15px; transition: transform .2s; }
.more-industries dl { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; margin-top: 20px; border-top: 1px solid #494d42; padding-top: 20px; }
.more-industries dt { font-weight: 620; color: #f2f2e9; margin-bottom: 6px; }
.more-industries dd { font-size: 14px; line-height: 1.46; }

/* Economics */
.calc-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(26px,7vw,120px); align-items: start; }
.assumptions fieldset { padding: 0; margin: 0; border: none; min-width: 0; }
.model-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 4px 0 19px; }
.model-head h3 { font-size: clamp(20px,1.85vw,28px); font-weight: 560; letter-spacing: -.047em; }
.text-button { font-size: 12px; background: none; display: flex; align-items: center; gap: 6px; padding: 8px 2px; color: var(--muted); }
.text-button:hover { color: var(--ink); }
.text-button .icon { width: 14px; height: 14px; }
.field-row { padding: 13px 0; display: grid; grid-template-columns: minmax(0,1fr) 40%; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.field-row label { font-size: 15px; line-height: 1.3; letter-spacing: -.018em; }
.number-field { display: flex; align-items: center; gap: 7px; padding: 8px 11px; min-width: 0; background: #faf9f3; border: 1px solid #cccec1; border-radius: 5px; }
.number-field:focus-within { border-color: #6f7363; }
.number-field input { width: 100%; min-width: 0; background: transparent; border: 0; text-align: right; font-size: 17px; color: var(--ink); font-weight: 570; letter-spacing: -.025em; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.number-field input:focus-visible { outline: 0; }
.number-field:has(input:focus-visible) { outline: 2px solid #1678ad; outline-offset: 1px; }
.number-field input::-webkit-inner-spin-button, .number-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.number-field span { color: var(--muted); font: 12px/1.2 var(--mono); }
.model-extra summary { justify-content: flex-start; padding: 18px 0; color: #4f5149; width: fit-content; font-size: 14px; font-weight: 555; }
.model-extra[open] summary { color: var(--ink); }
.model-extra .field-row { padding: 9px 0; }
.result-card { background: #e4e6da; border: 1px solid #cdd0c1; padding: clamp(22px,3.05vw,48px); min-width: 0; }
.result-card .eyebrow { color: #41463b; }
.result-card output { display: block; font-size: clamp(40px,5.85vw,97px); line-height: 1.06; margin: 13px 0 18px; letter-spacing: -.078em; font-weight: 555; overflow-wrap: anywhere; }
.result-card output.long-value { font-size: clamp(28px,3.7vw,59px); }
.result-bar { background: #4c5547; width: 100%; height: 5px; margin-bottom: 21px; }
.result-bar i { display: block; height: 100%; width: var(--order-part,66.666%); background: var(--orange); transition: width .2s ease; }
.model-results > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid #c4c9b9; }
.model-results dt { color: #53594d; font-size: 13px; }
.model-results dd { font-size: 14px; font-weight: 610; white-space: nowrap; letter-spacing: -.025em; }
.result-card > p { margin-top: 19px; color: #575d50; font-size: 12px; line-height: 1.48; }

/* Platform and contact */
.platform { background: #eaeae1; border-top: 1px solid var(--line); }
.economics > .section-pad { padding-bottom: var(--platform-edge); }
.platform > .section-pad { padding-block: var(--platform-edge); }
.contact > .contact-inner { padding-top: var(--platform-edge); }
.platform-intro { color: var(--muted); max-width: 670px; margin-top: 23px; }
.platform-flow { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: start; gap: clamp(30px,7vw,120px); margin-top: clamp(24px,2.65vw,42px); }
.layer-stage { --spread: 48px; position: sticky; top: calc(var(--header) + 6vh); height: clamp(330px,48svh,480px); overflow: clip; isolation: isolate; }
.layer-ring { position: absolute; width: min(75%,360px); aspect-ratio: 1; border: 1px solid #ccd0c1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.layer-ring::before, .layer-ring::after { content: ""; position: absolute; inset: 10%; border: 1px dashed #c8ccbd; border-radius: 50%; }
.layer-ring::after { inset: -10%; border-style: solid; border-color: #d3d7c8; }
.system-layer { position: absolute; left: 50%; top: 50%; width: min(64%,320px); aspect-ratio: 1.66; display: flex; align-items: flex-end; justify-content: space-between; padding: 22px; border-radius: 18px; border: 1px solid var(--edge); background: var(--surface); color: var(--label); transform: translate(-50%,-50%) perspective(900px) rotateX(52deg) rotateZ(-20deg); box-shadow: -1px 3px 0 var(--edge), -2px 6px 0 var(--edge), -11px 18px 20px -12px #393c3355; }
.system-layer::before { content: ""; position: absolute; inset: 11px; border: 1px solid currentColor; opacity: .17; border-radius: 10px; }
.system-layer span { font-size: clamp(16px,1.5vw,23px); font-weight: 570; letter-spacing: -.035em; }
.system-layer .icon { width: 24px; height: 24px; }
.layer-service { --surface: #e8e5d9; --edge: #b2b2a3; --label: #394034; z-index: 3; top: calc(50% - var(--spread)); }
.layer-processor { --surface: #3b4238; --edge: #232820; --label: #f6f5e8; z-index: 2; }
.layer-settlement { --surface: #fc743b; --edge: #c6562e; --label: #40251a; z-index: 1; top: calc(50% + var(--spread)); }
.platform-grid { display: grid; }
.platform-grid article { position: relative; border-top: 1px solid #b9bdaf; padding: 23px 0 28px; min-height: clamp(156px,23svh,243px); }
.platform-grid article:last-child { min-height: 0; padding-bottom: 0; }
.platform-grid article::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 46px; transform-origin: left; transform: scaleX(0); background: var(--orange); transition: transform .3s; }
.enhanced .platform-flow[data-active="0"] article:nth-child(1)::before,
.enhanced .platform-flow[data-active="1"] article:nth-child(2)::before,
.enhanced .platform-flow[data-active="2"] article:nth-child(3)::before { transform: scaleX(1); }
.platform-grid article > .icon { width: 27px; height: 27px; color: #a6411c; stroke-width: 1.45; }
.platform-grid h3 { font-size: clamp(21px,1.85vw,32px); font-weight: 550; letter-spacing: -.047em; line-height: 1.09; margin: 20px 0 12px; }
.platform-grid p { color: #555a4f; font-size: 15px; line-height: 1.5; max-width: 372px; }
.contact { background: #12140f; color: #f4f2e8; }
.contact-inner { position: relative; isolation: isolate; overflow: clip; padding-top: clamp(22px,2vw,34px); padding-bottom: clamp(32px,3.7vw,60px); }
.contact-photo { position: absolute; right: var(--gutter); top: 50%; z-index: -1; width: min(57%,744px); aspect-ratio: 1.5; transform: translateY(-50%); overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 25%, black 94%, transparent),linear-gradient(180deg,transparent,black 11%,black 85%,transparent); mask-composite: intersect; }
.contact-photo img { width: 100%; height: 100%; transform: scale(var(--contact-zoom,1)); transform-origin: 70% 60%; }
.contact .status-dot { background: var(--orange); }
.contact .display { font-size: clamp(65px,8.5vw,145px); }
.contact .display span { color: var(--orange); }
.contact-inner > p:not(.eyebrow) { font-size: clamp(16px,1.3vw,21px); line-height: 1.43; letter-spacing: -.02em; max-width: 448px; margin-top: 27px; color: #d4d6c8; }
.contact-actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.contact-actions .pill { background: var(--orange); color: #211b12; }
.contact-actions .pill:hover { background: #ff7e4b; }
.copy-email { width: 47px; height: 47px; border-radius: 50%; background: transparent; border: 1px solid #73776a; display: flex; align-items: center; justify-content: center; }
.copy-email:hover { background: #34392f; }
.copy-email .icon { width: 17px; height: 17px; }
.copy-status { font-size: 13px; }
.footer-line { display: flex; gap: 18px; align-items: center; position: relative; min-height: 84px; }
.footer-line::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid #44483b; }
.footer-line .brand span { font-size: 25px; }.footer-line .brand img { width: 26px; }
.footer-line > span { font-size: 12px; }
.to-top { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; font-weight: 560; padding: 10px 0; }
.to-top .icon { width: 16px; height: 16px; }

@media (max-width: 899px) {
  :root { --header: 65px; }
  .main-nav { gap: 17px; }.main-nav a { font-size: 13px; }
  .brand span { font-size: 28px; }.brand img { width: 30px; }
  .section-top { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 24px; }
  .section-intro, .platform-intro { font-size: 16px; }
  .case-stage { min-height: 0; height: 390px; }
  .industry-layout, .calc-layout { gap: 28px; }
  .receipt { width: 80%; }
  .model-results dd { font-size: 13px; }
  .platform-flow { gap: 24px; }
}

@media (max-width: 699px) {
  :root { --gutter: clamp(18px,5.25vw,32px); --header: 61px; }
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }.brand span { font-size: 26px; }.brand img { width: 27px; }
  .header-actions { gap: 8px; }
  .header-contact { min-height: 36px; font-size: 11px; padding: 10px 13px; gap: 9px; }
  .header-contact .icon { width: 12px; height: 12px; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 1; display: grid; grid-template-columns: repeat(4,auto); justify-content: center; gap: 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .enhanced .main-nav { display: none; }
  .enhanced .site-header.menu-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 17px; box-shadow: 0 10px 18px -16px #2d3228aa; }
  .main-nav a { font-size: 12px; padding: 12px 0; }
  .enhanced .main-nav a { border-bottom: 1px solid #d9dace; padding: 14px 0; font-size: 18px; }
  .enhanced .main-nav a::after { display: none; }
  .enhanced .nav-industries { display: grid; grid-template-columns: 1fr 46px; position: relative; }
  .enhanced .nav-industries .industry-picker { position: static; }
  .enhanced .nav-industries .industry-picker > summary { width: 46px; min-height: 46px; border-bottom: 1px solid #d9dace; }
  .enhanced .nav-industries .industry-options { position: absolute; left: 0; right: 0; }
  .enhanced .main-nav .industry-options a { border-bottom: 0; font-size: 14px; padding: 10px 12px; }
  .enhanced .menu-toggle.js-only { display: flex !important; position: relative; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 38px; height: 38px; border: 1px solid #bfc1b5; padding: 0; border-radius: 50%; background: transparent; }
  html:not(.enhanced) { --header: 99px; }
  html:not(.enhanced) .site-header { height: var(--header); }
  html:not(.enhanced) .header-inner { height: 61px; }
  .menu-toggle i { width: 15px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-open .menu-toggle i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-toggle i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .eyebrow { font-size: 10px; gap: 8px; }
  .lead { font-size: 15px; line-height: 1.43; max-width: 410px; }
  .scene-foot { position: relative; left: auto; right: auto; height: 52px; width: 100%; }
  .round-icon { width: 24px; height: 24px; }
  .scroll-cue { font-size: 11px; gap: 8px; }
  .scene-index { font-size: 9px; gap: 5px; }.scene-index span { font-size: 10px; margin-left: 2px; }.scene-index i { width: 16px; }
  .demo-device { width: min(100%,375px); padding: 15px; border-radius: 22px; }
  .section-pad { padding-block: 16px; }
  .section-top { display: block; margin-bottom: 21px; }
  .section-top .eyebrow, .platform .eyebrow, .contact .eyebrow { margin-bottom: 12px; }
  .display { font-size: clamp(43px,10.4vw,70px); line-height: .97; }
  .section-intro { margin-top: 18px; font-size: 15px; }
  .industry-layout, .calc-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .sector summary { padding: 14px 0; font-size: 23px; }
  .sector-body { padding-bottom: 18px; }
  .case-stage { position: relative; top: auto; height: 330px; }
  .receipt { width: min(66%,249px); padding: 18px 21px; }
  .receipt h3 { font-size: 21px; }.receipt-amount { font-size: 39px; }.receipt-sector { margin: 14px 0 5px; }.receipt-top { padding-bottom: 8px; }.receipt-data { margin: 7px 0 10px; }.receipt-code { height: 17px; }
  .sector .case-stage { height: auto; margin-top: 14px; border: none; background: none; display: block; }
  .case-stage.no-selection { display: none; }
  .sector .receipt { width: 100%; padding: 12px 15px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 5px 10px; transform: none; filter: none; background: #e7e7d8; }
  .sector .receipt-top { grid-column: 1 / -1; padding: 0; border: 0; }
  .sector .receipt-top span { font-size: 9px; }
  .sector .receipt h3 { font-size: 15px; }
  .sector .receipt-amount { font-size: 17px; margin: 0; white-space: nowrap; color: var(--ink); }
  .sector .case-demo-link { grid-column: 1 / -1; justify-self: start; padding: 5px 0; }
  .sector .case-guides, .sector .receipt-top img, .sector .receipt-sector, .sector .receipt-data, .sector .receipt-code, .sector .receipt-rule, .sector .receipt::after { display: none; }
  .sector .case-stage.changing .receipt { animation: arrive .26s ease-out; }
  .more-industries { margin-top: 16px; }
  .more-industries dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 13px; }
  .model-head { padding-bottom: 12px; }.model-head h3 { font-size: 21px; }
  .model-results > div { padding-block: 10px; }
  .result-card output { font-size: clamp(42px,12vw,65px); }
  .result-card output.long-value { font-size: clamp(27px,8vw,42px); }
  .platform-flow { grid-template-columns: minmax(0,1fr); gap: 15px; margin-top: 20px; }
  .layer-stage { position: relative; top: auto; height: 246px; }
  .layer-ring { width: 58%; }.system-layer { width: min(58%,240px); padding: 13px; border-radius: 13px; }
  .system-layer::before { inset: 7px; border-radius: 8px; }.system-layer .icon { width: 18px; height: 18px; }
  .platform-grid article { min-height: 0; padding: 17px 0; display: grid; grid-template-columns: 28px 1fr; gap: 9px 12px; align-items: center; }
  .platform-grid h3 { margin: 0; font-size: 22px; }.platform-grid p { grid-column: 2; font-size: 14px; max-width: none; }
  .platform-grid article > .icon { width: 23px; height: 23px; }
  .platform-intro { font-size: 15px; margin-top: 16px; }
  .contact-inner { padding-block: 16px; }.contact .display { font-size: clamp(54px,12.1vw,84px); }
  .contact-photo { position: relative; top: auto; right: auto; z-index: 0; transform: none; width: 100%; margin-top: 20px; }
  .contact-inner > p:not(.eyebrow) { font-size: 15px; }
  .footer-line { min-height: 67px; gap: 9px; }.footer-line > span { font-size: 10px; }.footer-line .brand span { font-size: 21px; }.footer-line .brand img { width: 20px; }
}

@media (max-width: 350px) {
  .header-contact { font-size: 10px; gap: 5px; padding-inline: 9px; }
  .receipt { width: 78%; }
  .field-row { grid-template-columns: minmax(0,1fr) 42%; }.field-row label { font-size: 13px; }
  .model-results dt, .model-results dd { font-size: 12px; }
  .footer-line > span { max-width: 78px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.following-link { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
