:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #f5f6f8;
    --surface-strong: #eceef2;
    --surface-inverse: #101216;
    --text: #111318;
    --text-soft: #5d6470;
    --text-faint: #8a9099;
    --border: #dfe2e7;
    --border-strong: #cbd0d8;
    --header: rgba(255, 255, 255, .84);
    --shadow: 0 24px 70px rgba(18, 24, 33, .11);
    --radius-sm: .55rem;
    --radius: .85rem;
    --radius-lg: 1.25rem;
    --container: 75rem;
    --section: clamp(5.5rem, 10vw, 9rem);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d0f12;
    --surface: #15181d;
    --surface-strong: #1c2026;
    --surface-inverse: #f4f6f8;
    --text: #f3f5f7;
    --text-soft: #aab0ba;
    --text-faint: #747c88;
    --border: #282d35;
    --border-strong: #373e48;
    --header: rgba(13, 15, 18, .84);
    --shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; min-width: 20rem; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg.icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
:focus-visible { outline: .18rem solid color-mix(in srgb, var(--accent) 72%, white); outline-offset: .2rem; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 3rem), 50rem); }
.section { padding-block: var(--section); position: relative; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: .7rem; left: .7rem; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.eyebrow { display: flex; align-items: center; margin: 0 0 1.15rem; color: var(--text-soft); font-size: .74rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { display: none; }
.section-heading { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading h2 { max-width: 40rem; margin: 0; font-size: clamp(2.1rem, 4.3vw, 4rem); line-height: 1.04; letter-spacing: -.052em; font-weight: 650; }
.section-heading > p:last-child, .split-heading > p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.8; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered h2 { margin-inline: auto; }
.split-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 3rem; }
.split-heading > div { flex: 1; }
.split-heading > p { max-width: 27rem; margin: 0; }

.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .65rem; padding: .78rem 1.25rem; border: 1px solid var(--text); border-radius: var(--radius-sm); background: var(--text); color: var(--bg); font-size: .91rem; font-weight: 700; cursor: pointer; transition: transform .22s var(--ease), box-shadow .22s, background .22s, color .22s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16, 18, 22, .16); }
.button:hover .icon, .text-link:hover .icon { transform: translateX(.22rem); }
.button .icon, .text-link .icon { transition: transform .22s var(--ease); }
.button-small { min-height: 2.7rem; padding: .55rem 1rem; }
.button-secondary { border-color: var(--border-strong); background: transparent; color: var(--text); box-shadow: none; }
.button-secondary:hover { background: var(--surface); box-shadow: none; }
.button-light { border-color: #fff; background: #fff; color: #111318; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; padding-block: .35rem; border-bottom: 1px solid var(--border-strong); font-size: .92rem; font-weight: 700; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 5.5rem; display: flex; align-items: center; border-bottom: 1px solid transparent; transition: height .3s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { height: 4.6rem; border-color: var(--border); background: var(--header); box-shadow: 0 10px 30px rgba(22, 27, 35, .04); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .98rem; font-weight: 780; letter-spacing: -.025em; }
.brand-mark { display: inline-grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: .48rem; background: var(--text); color: var(--bg); font-size: .72rem; font-weight: 850; letter-spacing: -.04em; }
.brand-logo { width: auto; height: 2.4rem; object-fit: contain; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
.desktop-nav { display: flex; align-items: center; gap: 1.65rem; margin-left: auto; }
.desktop-nav a { position: relative; padding: .45rem 0; color: var(--text-soft); font-size: .82rem; font-weight: 650; }
.desktop-nav a::after { position: absolute; content: ""; inset: auto 0 .2rem; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .65rem; }
.icon-button { display: inline-grid; width: 2.7rem; height: 2.7rem; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.icon-button:hover { border-color: var(--border-strong); background: var(--surface); transform: translateY(-1px); }
.theme-icon { display: grid; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: grid; }
.menu-toggle { display: none; width: 2.7rem; height: 2.7rem; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--border); border-radius: .62rem; background: transparent; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
.menu-toggle:hover { border-color: var(--border-strong); background: var(--surface); }
.menu-glyph { position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; }
.menu-glyph i { position: absolute; right: 0; top: 50%; height: 1px; background: currentColor; transform-origin: center; transition: width .28s var(--ease), transform .32s var(--ease); }
.menu-glyph i:first-child { width: 1rem; transform: translateY(-.24rem); }
.menu-glyph i:last-child { width: .68rem; transform: translateY(.24rem); }
.menu-toggle[aria-expanded="true"] .menu-glyph i:first-child { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-glyph i:last-child { width: 1rem; transform: translateY(0) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 90; inset: 0; display: none; padding-top: 5rem; background: color-mix(in srgb, var(--bg) 97%, transparent); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; backdrop-filter: blur(16px); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { display: flex; height: calc(100dvh - 5rem); flex-direction: column; justify-content: space-between; padding: 2.2rem 1.5rem 1.5rem; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 600; border-bottom: 1px solid var(--border); transform: translateY(1rem); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.mobile-menu.open nav a { transform: none; opacity: 1; }
.mobile-menu nav a:nth-child(2) { transition-delay: .03s; }.mobile-menu nav a:nth-child(3) { transition-delay: .06s; }.mobile-menu nav a:nth-child(4) { transition-delay: .09s; }.mobile-menu nav a:nth-child(5) { transition-delay: .12s; }.mobile-menu nav a:nth-child(6) { transition-delay: .15s; }
.mobile-menu nav span { width: 1.2rem; color: var(--text-faint); font-size: .65rem; letter-spacing: .08em; }
.mobile-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero { min-height: min(56rem, 100svh); display: grid; align-items: center; padding-top: 9rem; overflow: hidden; }
.hero::before { position: absolute; content: ""; width: 36rem; height: 36rem; right: -24rem; top: 6rem; border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 0 0 6rem color-mix(in srgb, var(--surface) 55%, transparent), 0 0 0 12rem color-mix(in srgb, var(--surface) 25%, transparent); pointer-events: none; }
.hero::after { position: absolute; content: ""; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px); background-size: 3.25rem 3.25rem; opacity: .52; -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 72%, transparent 96%); mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 72%, transparent 96%); animation: hero-grid-drift 28s linear infinite; pointer-events: none; }
[data-theme="dark"] .hero::after { opacity: .34; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(31rem, 1.1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 44rem; margin: 0; font-size: clamp(3rem, 5.65vw, 5.75rem); line-height: .98; letter-spacing: -.067em; font-weight: 630; }
.hero-description { max-width: 38rem; margin: 1.7rem 0 0; color: var(--text-soft); font-size: clamp(1.03rem, 1.5vw, 1.18rem); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.1rem; }
.hero-note { margin: 2rem 0 0; color: var(--text-faint); font-size: .78rem; }
.product-stage { position: relative; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); transform: perspective(1000px) rotateY(-3deg) rotateX(1deg); overflow: hidden; }
.stage-toolbar { height: 3.35rem; display: flex; align-items: center; gap: .7rem; padding: 0 1rem; border-bottom: 1px solid var(--border); color: var(--text-faint); font-size: .68rem; }
.stage-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #6fb886; box-shadow: 1rem 0 0 #dfad65, 2rem 0 0 #d87676; margin-right: 2rem; }
.stage-status { margin-left: auto; color: #368958; }
.menu-preview { min-height: 27rem; display: grid; grid-template-columns: 9.5rem 1fr; background: var(--bg); }
.preview-sidebar { display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem 1rem; border-right: 1px solid var(--border); }
.preview-sidebar strong { margin-bottom: 1.2rem; font-size: 1rem; }
.preview-sidebar span { padding: .55rem .6rem; border-radius: .4rem; color: var(--text-faint); font-size: .65rem; }
.preview-sidebar span.active { background: var(--surface-strong); color: var(--text); font-weight: 700; }
.preview-content { min-width: 0; padding: 1.7rem; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.preview-heading div { display: grid; gap: .25rem; }
.preview-heading small, .preview-products small { color: var(--text-faint); font-size: .55rem; letter-spacing: .12em; }
.preview-heading strong { font-size: 1.15rem; }
.preview-search { display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; }
.preview-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preview-products article { display: flex; min-width: 0; flex-direction: column; gap: .3rem; padding: .65rem; border: 1px solid var(--border); border-radius: .65rem; }
.preview-products article > strong { font-size: .77rem; }
.preview-products article > span { margin-top: .4rem; font-size: .72rem; font-weight: 750; }
.preview-image { aspect-ratio: 4 / 3; margin-bottom: .45rem; border-radius: .45rem; background: linear-gradient(145deg, #d9c6ad, #8a6d4f); position: relative; overflow: hidden; }
.preview-image::after { position: absolute; content: ""; width: 55%; aspect-ratio: 1; left: 22%; top: 20%; border-radius: 50%; border: .45rem solid rgba(255,255,255,.55); }
.preview-image-alt { background: linear-gradient(145deg, #adbea9, #4d6650); }
.stage-caption { position: absolute; right: .8rem; bottom: .7rem; padding: .28rem .5rem; border-radius: .3rem; background: rgba(0,0,0,.7); color: white; font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; }

.product-intro { border-top: 1px solid var(--border); background: var(--surface); }
.product-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-panel { position: relative; min-height: 34rem; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.7rem, 4vw, 3.3rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; }
.product-panel-dark { background: #101216; color: #f4f6f8; border-color: #101216; }
.panel-number { align-self: end; color: var(--text-faint); font-size: .7rem; letter-spacing: .1em; }
.product-panel-dark .panel-number { color: #737984; }
.panel-label { margin: 0 0 1rem; color: var(--accent); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.product-panel h3 { max-width: 31rem; margin: 0; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.07; letter-spacing: -.05em; font-weight: 620; }
.product-panel ul { display: grid; gap: .55rem; margin: 1.7rem 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: .9rem; }
.product-panel-dark ul { color: #aeb3bc; }
.product-panel li::before { content: "—"; margin-right: .65rem; color: var(--accent); }
.browser-line { display: flex; align-items: center; gap: .35rem; height: 2.8rem; margin: 3rem -3.3rem -3.3rem; padding: 0 1.2rem; background: #1b1e23; border-top: 1px solid #2b3038; }
.browser-line span { width: .42rem; height: .42rem; border-radius: 50%; background: #575e69; }
.browser-line small { margin-left: auto; color: #757c87; }
.qr-motif { position: absolute; right: -2rem; bottom: -2rem; width: 13rem; height: 13rem; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: .35rem; opacity: .12; transform: rotate(-7deg); }
.qr-motif span { background: var(--text); }.qr-motif span:nth-child(1){grid-area:1/1/3/3}.qr-motif span:nth-child(2){grid-area:1/4/2/6}.qr-motif span:nth-child(3){grid-area:2/5/4/6}.qr-motif span:nth-child(4){grid-area:3/2/5/4}.qr-motif span:nth-child(5){grid-area:5/1/6/2}.qr-motif span:nth-child(6){grid-area:5/4/6/6}.qr-motif span:nth-child(7){grid-area:3/1/4/2}

.features-section { border-top: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature-card { min-height: 19rem; padding: 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .25s, transform .25s var(--ease); }
.feature-card:hover { background: var(--surface); }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4.5rem; }
.feature-icon { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); }
.feature-index { color: var(--text-faint); font-size: .65rem; letter-spacing: .12em; }
.feature-card h3 { margin: 0 0 .8rem; font-size: 1.2rem; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.75; }

.pricing-section { background: var(--surface); border-block: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.price-card.featured { border-color: var(--text); box-shadow: 0 18px 50px rgba(17, 19, 24, .09); }
.recommended { position: absolute; top: 1rem; right: 1rem; padding: .3rem .55rem; border-radius: 99rem; background: var(--text); color: var(--bg); font-size: .62rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.price-head { min-height: 7rem; padding-right: 4rem; }
.price-head h3 { margin: 0 0 .75rem; font-size: 1.35rem; letter-spacing: -.03em; }
.price-head p { margin: 0; color: var(--text-soft); font-size: .88rem; }
.price-value { min-height: 6.3rem; display: flex; flex-direction: column; justify-content: center; padding-block: 1.6rem; border-block: 1px solid var(--border); }
.price-value strong { font-size: 2.15rem; line-height: 1; letter-spacing: -.05em; }
.price-value span { margin-top: .45rem; color: var(--text-faint); font-size: .75rem; }
.price-card ul { display: grid; gap: .8rem; margin: 1.8rem 0 2.4rem; padding: 0; list-style: none; }
.price-card li { display: flex; align-items: start; gap: .65rem; color: var(--text-soft); font-size: .88rem; }
.price-card li .icon { margin-top: .2rem; color: var(--accent); }
.price-card .button { width: 100%; margin-top: auto; }

.references-section { overflow: hidden; }
.reference-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.reference-card { position: relative; min-height: 17rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 1.6rem 3.6rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; transition: background .2s, color .2s; }
.reference-card:hover { background: var(--surface); }
.reference-card > img { width: 7rem; height: 7rem; aspect-ratio: 1; flex: 0 0 auto; object-fit: contain; object-position: center; filter: grayscale(1); transition: filter .25s ease; }
.reference-card:hover > img,
.reference-card:focus > img,
.reference-card:active > img { filter: grayscale(0); }
.reference-card > div { width: 100%; }
.reference-card > .icon { position: absolute; right: 1.6rem; bottom: 1.6rem; color: var(--text-faint); }
.reference-monogram { display: grid; width: 4.5rem; height: 4.5rem; place-items: center; border: 1px solid var(--border); border-radius: 50%; font-size: 1.1rem; font-weight: 800; letter-spacing: -.05em; }
.reference-card small { color: var(--text-faint); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.reference-card h3, .reference-card h2 { margin: .35rem 0 0; font-size: 1rem; letter-spacing: -.02em; }
.reference-card p { max-width: 20rem; margin: .5rem auto 0; color: var(--text-soft); font-size: .8rem; }

/* Reference card alignment is intentionally scoped to both public reference surfaces. */
.references-section .reference-card,
.reference-archive .reference-card { align-items: center; justify-content: center; text-align: center; }
.references-section .reference-card > img,
.reference-archive .reference-card > img { display: block; margin-inline: auto; object-position: center; }
.references-section .reference-card > div,
.reference-archive .reference-card > div { width: 100%; text-align: center; }

.faq-section { background: var(--surface); border-top: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-layout .section-heading { position: sticky; top: 7rem; margin: 0; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: var(--text-faint); font-size: .64rem; letter-spacing: .08em; }
.faq-item summary strong { font-size: 1rem; font-weight: 650; }
.faq-item summary i { display: grid; font-style: normal; transition: transform .25s; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 3.2rem 1.5rem; }
.faq-answer p { max-width: 42rem; margin: 0; color: var(--text-soft); line-height: 1.8; }

.final-cta { padding-block: 1rem var(--section); background: var(--surface); }
.cta-panel { display: flex; align-items: end; justify-content: space-between; gap: 3rem; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius-lg); background: #101216; color: #f4f6f8; }
.cta-panel .eyebrow { color: #a6adb7; }
.cta-panel h2 { max-width: 46rem; margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 620; }
.cta-panel p:last-child { max-width: 38rem; margin: 1.4rem 0 0; color: #a6adb7; }
.cta-panel .button { flex: 0 0 auto; }

.site-footer { padding-top: 5rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 4rem; padding-bottom: 4rem; }
.footer-brand p { max-width: 21rem; margin: 1.4rem 0; color: var(--text-soft); font-size: .9rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.social-links a { color: var(--text-soft); font-size: .78rem; border-bottom: 1px solid transparent; }
.social-links a:hover { color: var(--text); border-color: currentColor; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: .7rem; }
.footer-column h2 { margin: 0 0 .55rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { color: var(--text-soft); font-size: .82rem; }
.footer-column a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.35rem; border-top: 1px solid var(--border); color: var(--text-faint); font-size: .73rem; }
.footer-bottom a { color: var(--text-soft); }

.page-hero { padding-top: 11rem; padding-bottom: 5rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 48rem; margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .98; letter-spacing: -.065em; font-weight: 630; }
.page-hero .narrow > p:last-child { max-width: 38rem; margin: 1.5rem 0 0; color: var(--text-soft); font-size: 1.06rem; }
.reference-archive { min-height: 34rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; }
.filter-bar button { padding: .58rem .85rem; border: 1px solid var(--border); border-radius: 99rem; background: transparent; color: var(--text-soft); font-size: .78rem; cursor: pointer; }
.filter-bar button:hover, .filter-bar button.active { border-color: var(--text); background: var(--text); color: var(--bg); }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-grid .reference-card { min-height: 20rem; }
.empty-state { min-height: 25rem; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state .brand-mark { margin-bottom: 1.5rem; }
.empty-state h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.empty-state p { margin: .7rem 0 1.7rem; color: var(--text-soft); }
.legal-hero { padding-bottom: 4rem; }
.legal-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.legal-section { padding-top: 4.5rem; }
.legal-content { font-size: 1.03rem; line-height: 1.85; }
.legal-content h2 { margin: 3rem 0 1rem; font-size: 1.7rem; line-height: 1.2; letter-spacing: -.035em; }
.legal-content h3 { margin: 2.2rem 0 .8rem; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--text-soft); }
.legal-content a { color: var(--accent); text-decoration: underline; }
.error-page { min-height: 80vh; display: grid; align-items: center; padding-top: 9rem; text-align: center; }
.error-page .eyebrow { justify-content: center; }
.error-code { display: block; margin-bottom: 1.5rem; color: var(--border-strong); font-size: clamp(6rem, 22vw, 15rem); line-height: .75; letter-spacing: -.08em; font-weight: 800; }
.error-page h1 { margin: 0; font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.05em; }
.error-page p:not(.eyebrow) { margin: 1rem 0 1.8rem; color: var(--text-soft); }

.reveal { opacity: 0; transform: translateY(1.1rem); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes hero-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 3.25rem 3.25rem, 3.25rem 3.25rem; }
}

@media (max-width: 68rem) {
    .desktop-nav { gap: 1rem; }
    .desktop-nav a { font-size: .76rem; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .reference-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 60rem) {
    .desktop-nav, .desktop-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .mobile-menu { display: block; }
    .hero { min-height: auto; padding-top: 10rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 48rem; }
    .product-stage { max-width: 44rem; width: 100%; margin-inline: auto; transform: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 42rem; margin-inline: auto; }
    .price-head { min-height: 0; padding-bottom: 1.5rem; }
    .price-card { padding: 1.7rem; }
    .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq-layout .section-heading { position: static; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-column:last-child { grid-column: 2; }
}

@media (max-width: 45rem) {
    .container, .container.narrow { width: min(calc(100% - 2rem), var(--container)); }
    :root { --section: 5rem; }
    .site-header { height: 4.7rem; }
    .site-header.scrolled { height: 4.4rem; }
    .hero { padding-top: 8rem; }
    .hero::before { display: none; }
    .hero h1 { font-size: clamp(2.75rem, 13.5vw, 4.6rem); }
    .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
    .hero-actions .button { width: 100%; }
    .product-stage { border-radius: .9rem; }
    .menu-preview { min-height: 23rem; grid-template-columns: 5.5rem 1fr; }
    .preview-sidebar { padding: 1rem .55rem; }
    .preview-sidebar strong { font-size: .75rem; }
    .preview-sidebar span { padding: .45rem .25rem; font-size: .5rem; }
    .preview-content { padding: 1rem; }
    .preview-products { gap: .5rem; }
    .preview-products article { padding: .45rem; }
    .stage-toolbar { height: 2.8rem; }
    .split-heading { align-items: start; flex-direction: column; gap: 1.5rem; }
    .product-pair { grid-template-columns: 1fr; }
    .product-panel { min-height: 29rem; }
    .browser-line { margin: 3rem -1.7rem -1.7rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 16rem; }
    .feature-top { margin-bottom: 3rem; }
    .reference-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reference-card { min-height: 15rem; padding: 1.2rem 3rem; }
    .reference-card > img { width: 6rem; height: 6rem; }
    .reference-card > .icon { right: 1.2rem; bottom: 1.2rem; }
    .cta-panel { align-items: stretch; flex-direction: column; }
    .cta-panel .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column:last-child { grid-column: auto; }
    .footer-bottom { align-items: start; flex-direction: column; gap: .5rem; }
    .page-hero { padding-top: 8rem; }
}

@media (max-width: 24rem) {
    .reference-grid, .archive-grid { grid-template-columns: 1fr; }
    .mobile-menu nav a { font-size: 1.8rem; }
    .mobile-menu-footer { align-items: stretch; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}

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