:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --dark: #08090b;
  --dark-surface: #17181b;
  --dark-muted: #a1a1a6;
  /* Palette from the current Prefeitura de Saquarema logo (verde #36B564,
     amarelo #ECD90C, azul #3470B0) and portal saquarema.rj.gov.br (verde
     escuro #09582C), collected 2026-11-18. The action green is the logo green
     darkened to #1F7A3F so white text and links pass WCAG AA. */
  --accent: #1f7a3f;
  --accent-hover: #09582c;
  --accent-on-dark: #ecd90c;
  --brand-deep: #09582c;
  --brand-green: #36b564;
  --brand-yellow: #ecd90c;
  --brand-blue: #3470b0;
  --brand-soft: #e6f4ea;
  --brand-soft-strong: #cfe9d8;
  --line: #d2d2d7;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --content: 1200px;
  --section: clamp(80px, 9vw, 144px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
  --reveal-stagger: 60ms;
}
* { box-sizing: border-box; }
html { background: var(--soft); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button:disabled { cursor: default; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1,h2,h3,h4 { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.dark-section :focus-visible { outline-color: var(--accent-on-dark); }
.container { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 300; background: white; padding: 12px 20px; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
/* A translucent toolbar gives the scrolling content a stable navigation layer. */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,250,252,.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--brand-green) 0 55%, var(--brand-yellow) 55% 73%, var(--brand-blue) 73% 100%); pointer-events: none; }
.nav-shell { width: min(var(--content), calc(100% - 64px)); height: 52px; display: flex; align-items: center; gap: 32px; margin: auto; }
.wordmark { white-space: nowrap; font-size: 21px; font-weight: 400; letter-spacing: -.6px; }
.wordmark strong { font-weight: 650; color: var(--accent); }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.desktop-nav a { font-size: 12px; color: #515154; padding-block: 16px; }
.desktop-nav a:hover { color: var(--accent); }
.nav-cta { padding: 8px 16px; background: var(--accent); color: white; font-size: 12px; border-radius: 24px; }
.nav-cta:hover { background: var(--accent-hover); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-nav { padding: 8px 32px 28px; background: var(--soft); }
.mobile-nav a { display: block; font-size: 23px; font-weight: 500; padding: 10px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 13px 25px; border-radius: 28px; font-size: 17px; transition: background-color .18s, transform .18s; }
.button:active,.round-control:active,.feature-open:active { transform: scale(.97); }
.button-accent { background: var(--accent); color: white; }
.button-accent:hover { background: var(--accent-hover); }
.text-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 0; color: var(--accent); font-size: 17px; font-weight: 400; text-align: left; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; }
.dark-section .text-link { color: var(--accent-on-dark); }
.hero { background: #f3f3f5; overflow: clip; text-align: center; padding: 48px 0 24px; }
.hero-copy { position: relative; z-index: 1; padding-inline: 24px; }
.hero h1 { font-size: clamp(44px,5vw,64px); font-weight: 650; line-height: 1.025; letter-spacing: -.048em; }
.hero-copy > p { font-size: clamp(19px,1.8vw,21px); line-height: 1.4; letter-spacing: -.02em; color: var(--muted); margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; }
.hero-actions .button { min-height: 46px; padding: 11px 23px; font-size: 16px; }
.button-outline { color: var(--accent); border: 1px solid var(--accent); }
.button-outline:hover { color: white; background: var(--accent); }
.hero-product { width: min(100%, 700px); margin: 16px auto 0; }
.hero-product img { width: 100%; -webkit-mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 10%,#000 90%,transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 10%,#000 90%,transparent); mask-composite: intersect; }
.hero-product figcaption { font-size: 12px; color: var(--muted); padding: 12px 24px 0; }
.section-heading { margin-bottom: 56px; }
h2 { font-size: clamp(38px,4.2vw,64px); line-height: 1.06; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); font-size: 22px; line-height: 1.45; letter-spacing: -.015em; max-width: 490px; }
.split-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; }
.split-heading > p,.split-heading > div { justify-self: end; }
.overview { background: var(--paper); }
.overview-line { border-top: 1px solid var(--line); padding-top: 40px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.overview-line > p { font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.overview-line > p span { color: var(--muted); }
.solutions { overflow: clip; }
.gallery-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.gallery-heading > p { font-size: 19px; }
.feature-track { display: flex; gap: 24px; padding: 4px max(48px, calc((100vw - var(--content)) / 2)) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(48px, calc((100vw - var(--content)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.feature-track::-webkit-scrollbar { display: none; }
.feature-card { position: relative; flex: 0 0 360px; min-height: 490px; border-radius: 28px; padding: 32px; overflow: hidden; scroll-snap-align: start; background: white; }
.feature-category { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.feature-card h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.03em; }
.feature-open { position: absolute; bottom: 22px; right: 22px; width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 50%; transition: transform .2s, background-color .2s; }
.feature-open:hover { background: var(--accent-hover); }
.wallet-preview { background: #f5f5f7; margin: 36px -8px 0; padding: 22px 22px 14px; border-radius: 22px; }
.wallet-brand { font-size: 26px; letter-spacing: -.04em; font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.wallet-preview > span { color: var(--muted); font-size: 12px; }
.wallet-preview > strong { display: block; font-size: 30px; letter-spacing: -.03em; margin-top: 3px; }
.wallet-actions { display: flex; justify-content: space-between; margin: 22px 0 14px; }
.wallet-actions > span { display: flex; align-items: center; flex-direction: column; gap: 6px; font-size: 11px; }
.wallet-actions .icon { color: var(--accent); }
.wallet-preview > small { color: var(--muted); font-size: 10px; }
.benefits-card { background: var(--brand-soft); color: var(--brand-deep); }
.benefit-preview { margin: 52px -4px 0; }
.benefit-preview > div { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--brand-soft-strong); font-size: 20px; font-weight: 500; }
.benefit-preview > div > .icon:last-child { margin-left: auto; width: 16px; }
.credit-card { background: var(--brand-deep); color: #f5f5f7; }
.credit-card :focus-visible { outline-color: var(--accent-on-dark); }
.credit-preview { margin-top: 56px; font-size: 28px; font-weight: 500; line-height: 1.28; letter-spacing: -.035em; }
.credit-preview span { display: block; margin-top: 13px; }
.credit-preview span:nth-child(2) { color: var(--brand-soft); }
.credit-preview span:nth-child(3) { color: var(--accent-on-dark); }
.credit-card .feature-open { background: var(--brand-soft); color: var(--accent-hover); }
.credit-card .feature-open:hover { background: white; }
.food-card { background: #fff; }
.food-preview { margin-top: 42px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; color: var(--accent); }
.food-mark { width: 104px; height: 104px; stroke-width: 1; }
.food-preview > span { color: var(--muted); font-size: 16px; }
.business-card { background: var(--brand-soft-strong); color: var(--brand-deep); }
.business-preview { margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.business-mark { width: 120px; height: 120px; stroke-width: .9; color: var(--accent); }
.business-preview > span { font-size: 17px; color: var(--accent-hover); }
.gallery-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 24px; }
.gallery-bottom > p { color: var(--muted); font-size: 14px; }
.gallery-controls { display: flex; gap: 12px; }
.round-control { width: 44px; height: 44px; display: grid; place-items: center; background: #e8e8ed; border-radius: 50%; transition: background-color .18s, transform .18s; }
.round-control:hover { background: #dcdce1; }
.round-control:disabled { opacity: .35; }
.rotate { transform: rotate(180deg); }
.commerce { background: white; }
.commerce .split-heading .text-link { margin-top: 20px; }
.commerce-gallery { min-width: 0; }
.commerce-track { display: flex; align-items: start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 16px; }
.commerce-gallery.is-enhanced .commerce-track { scrollbar-width: none; }
.commerce-gallery.is-enhanced .commerce-track::-webkit-scrollbar { display: none; }
.commerce-track:focus-visible { outline-offset: 8px; }
.commerce-scene { flex: 0 0 92%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.commerce-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1.9; }
.commerce-photo img { width: 100%; height: 100%; object-fit: cover; }
.commerce-scene-title { margin-top: 24px; color: var(--ink); font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.commerce-gallery.is-enhanced .commerce-scene:not(.is-current) .commerce-scene-title { visibility: hidden; }
.commerce-gallery-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 8px; }
.commerce-gallery-footer > p { color: var(--muted); font-size: 14px; }
.commerce-gallery-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.commerce-gallery-status { margin-right: 8px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.commerce-gallery-controls [aria-disabled=true] { color: var(--muted); background: var(--soft); cursor: default; }
.commerce-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin: 36px 8% 0; }
.commerce-notes p { color: var(--muted); font-size: 20px; line-height: 1.5; }
.commerce-notes strong { color: var(--ink); }
.dark-section { color: var(--soft); background: var(--dark); }
.card-story { padding: 40px 0 72px; overflow: clip; }
.card-scene { position: relative; min-height: 730px; display: flex; align-items: center; }
.card-scene > img { position: absolute; right: 0; width: 74%; height: 100%; object-fit: contain; mix-blend-mode: lighten; }
.card-copy { position: relative; z-index: 1; pointer-events: none; }
.card-copy > * { width: 380px; pointer-events: auto; }
.section-category { color: var(--dark-muted); font-size: 18px; font-weight: 600; margin-bottom: 24px; }
.card-copy h2 { font-size: clamp(48px,5vw,76px); }
.card-copy > p:not(.section-category) { font-size: 21px; color: var(--dark-muted); margin: 28px 0 16px; }
.card-details { display: flex; gap: 72px; padding-top: 32px; border-top: 1px solid #333337; justify-content: space-between; }
.card-details p { color: var(--dark-muted); font-size: 17px; line-height: 1.5; }
.card-details strong { color: var(--soft); font-weight: 600; }
.experience { background: white; }
.experience .section-heading { text-align: center; margin-bottom: 36px; }
.experience .section-heading p { margin: 24px auto 0; }
.experience-tabs { display: flex; width: fit-content; max-width: 100%; margin: auto; padding: 5px; background: #ededf0; border-radius: 32px; }
.experience-tabs button { min-height: 44px; padding: 10px 24px; border-radius: 28px; font-size: 15px; transition: background-color .2s, color .2s; }
.experience-tabs button[aria-selected=true] { background: var(--accent); color: white; box-shadow: 0 2px 5px #0000000d; }
.experience-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; background: var(--soft); padding: 64px; margin-top: 40px; border-radius: 32px; min-height: 560px; }
.experience-copy h3 { font-size: 38px; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 22px; }
.experience-copy > p { color: var(--muted); font-size: 19px; line-height: 1.5; }
.clean-list { list-style: none; margin: 24px 0 16px; padding: 0; }
.clean-list li { font-size: 15px; border-top: 1px solid #dcdce1; padding: 12px 0; }
.demo-screen { border-radius: 24px; padding: 28px; background: white; min-width: 0; box-shadow: 0 18px 48px #00000009; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 34px; }
.demo-top > span { font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.demo-top small { font-size: 10px; color: var(--muted); }
.demo-greeting { font-size: 18px; margin-bottom: 20px; font-weight: 500; }
.demo-label { color: var(--muted); font-size: 12px; }
.demo-balance { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; }
.demo-balance > span { font-size: 30px; }
.demo-actions { display: flex; gap: 12px; margin: 24px 0 18px; }
.demo-actions > div { background: var(--soft); flex: 1; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 4px; font-size: 12px; }
.demo-actions .icon { color: var(--accent); }
.demo-transaction { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #ededf0; font-size: 12px; }
.demo-transaction span strong { display: block; font-weight: 500; }
.demo-transaction small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.demo-transaction > strong { font-weight: 500; white-space: nowrap; }
.positive { color: var(--accent); }
.payment-ready { text-align: center; padding: 10px 0 38px; }
.payment-ready > svg { display: block; width: 70px; height: 70px; margin: 0 auto 28px; color: var(--accent); }
.payment-ready > p { color: var(--muted); font-size: 15px; }
.payment-ready > strong { display: block; font-size: 46px; font-weight: 600; letter-spacing: -.04em; margin-block: 8px 28px; }
.payment-ready > span { font-size: 13px; color: var(--muted); }
.demo-caption { font-size: 11px; color: var(--muted); text-align: center; }
.manager-screen h4 { font-size: 22px; letter-spacing: -.02em; }
.manager-screen h4 + p { font-size: 12px; color: var(--muted); margin: 6px 0 24px; }
.workflow-step { display: flex; gap: 14px; align-items: center; border-top: 1px solid #ededf0; padding: 20px 0; }
.workflow-step strong { font-size: 13px; font-weight: 500; }
.workflow-step small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.workflow-check { display: grid; place-items: center; width: 30px; height: 30px; background: var(--brand-soft); color: var(--accent); border-radius: 50%; }
.workflow-check .icon { width: 16px; height: 16px; }
.workflow-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #b7b7bd; }
.manager-screen .demo-caption { margin-top: 20px; }
.management .section-heading p { color: var(--dark-muted); }
.management-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.management-primary { border-radius: 28px; background: var(--dark-surface); padding: 48px; display: flex; flex-direction: column; align-items: start; }
.large-icon { width: 34px; height: 34px; color: var(--accent-on-dark); margin-bottom: 24px; }
.management h3 { font-size: 36px; line-height: 1.13; letter-spacing: -.03em; }
.management article > p { color: var(--dark-muted); font-size: 19px; margin: 20px 0 16px; max-width: 360px; }
.system-flow { display: flex; gap: 14px; align-items: center; width: 100%; margin-top: 64px; padding-top: 32px; border-top: 1px solid #3c3c40; font-size: 13px; }
.system-flow strong { font-weight: 600; font-size: 25px; letter-spacing: -.04em; }
.system-flow .icon { width: 15px; }
.system-flow > span { color: var(--dark-muted); }
.management-secondary { padding: 0 12px 0 32px; }
.management-secondary article { padding: 24px 0 32px; }
.management-secondary article + article { border-top: 1px solid #333337; padding-top: 36px; }
.management-secondary h3 { font-size: 28px; }
.management-secondary .large-icon { margin-bottom: 14px; }
.security { background: white; }
.security-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 100px; align-items: center; max-width: 980px; }
.security-mark { display: flex; justify-content: center; }
.security-mark svg { width: 184px; height: 184px; stroke-width: .85; color: var(--accent); }
.security h2 { margin-bottom: 24px; }
.security p { color: var(--muted); font-size: 21px; max-width: 540px; }
.security .text-link { margin-top: 22px; }
.implementation { background: var(--soft); }
.milestones { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; margin: 0 0 32px; }
.milestones li { padding-top: 28px; border-top: 2px solid #d2d2d7; }
.milestones li > span { color: var(--accent); font-size: 14px; font-weight: 600; }
.milestones h3 { font-size: 25px; line-height: 1.16; letter-spacing: -.025em; margin: 18px 0 14px; }
.milestones p { font-size: 17px; color: var(--muted); line-height: 1.5; }
.closing { background: var(--brand-soft); text-align: center; }
.closing-brand { color: var(--accent-hover); font-size: 21px; font-weight: 500; margin-bottom: 24px; }
.closing h2 { font-size: clamp(48px,6vw,84px); color: var(--brand-deep); }
.closing h2 + p { color: var(--accent-hover); font-size: 23px; margin: 28px 0; }
.closing .button { margin-top: 6px; }
.closing-return { display: flex; justify-content: center; align-items: center; gap: 2px; width: fit-content; margin: 22px auto 0; font-size: 16px; color: var(--accent-hover); padding: 8px; }
.closing-return:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { background: var(--soft); padding: 48px 0 24px; }
/* Municipal band in the proportions of the Prefeitura logo's rule. */
.site-footer { border-top: 6px solid; border-image: linear-gradient(90deg, var(--brand-green) 0 55%, var(--brand-yellow) 55% 73%, var(--brand-blue) 73% 100%) 1; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top > p { font-size: 14px; color: var(--muted); }
.footer-notes { padding-block: 24px; max-width: 980px; font-size: 12px; color: var(--muted); }
.footer-notes p + p { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; color: var(--muted); }
.footer-bottom a { display: flex; gap: 6px; align-items: center; }
.footer-bottom .icon { width: 14px; height: 14px; transform: rotate(-90deg); }
/* Native product detail sheets maintain context and keyboard focus. */
.detail-dialog { color: var(--ink); width: min(860px,calc(100% - 48px)); max-height: calc(100svh - 64px); background: var(--paper); border: 0; border-radius: 28px; padding: 0; overflow: auto; overscroll-behavior: contain; }
.detail-dialog::backdrop { background: rgba(0,0,0,.55); }
.detail-dialog[open] { animation: dialog-enter .3s var(--ease); }
.dialog-close { position: sticky; top: 16px; margin: 16px 16px 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-width: 44px; min-height: 44px; padding: 10px 16px; font-size: 14px; background: #ededf0; border-radius: 24px; z-index: 2; }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-content { padding: 16px 64px 64px; }
.dialog-category { color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.dialog-content h2 { font-size: clamp(32px,4vw,48px); }
.dialog-intro { color: var(--muted); font-size: 21px; margin: 24px 0 36px; }
.detail-item { padding: 24px 0; border-top: 1px solid #dedee3; }
.detail-item h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.detail-item p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.dialog-note { color: var(--muted); font-size: 13px; margin-top: 24px; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* Scroll entrances are transient WAAPI effects, never a hidden CSS resting state. */
[data-reveal] { --reveal-distance: 20px; --reveal-duration: 640ms; }
:is(.section-heading,.products-heading,.end-mosaic-heading,.card-copy,.overview-line)[data-reveal] { --reveal-distance: 12px; --reveal-duration: 520ms; }
@media(max-width:767px) {
  [data-reveal] { --reveal-distance: 12px; --reveal-duration: 480ms; --reveal-stagger: 40ms; }
  :is(.section-heading,.products-heading,.end-mosaic-heading,.card-copy,.overview-line)[data-reveal] { --reveal-distance: 10px; --reveal-duration: 440ms; }
}
@media(min-width:1800px) { .hero-product { width: 800px; } }
@media(max-width:1100px) {
  .nav-shell { gap: 24px; }
  .desktop-nav { gap: 20px; }
  .split-heading { gap: 48px; }
  .experience-panel { padding: 40px; gap: 40px; }
  .card-scene { min-height: 620px; }
  .card-copy > * { width: 330px; }
  .card-scene > img { width: 80%; right: -8%; }
  .management-primary { padding: 36px; }
  .management-secondary { padding-left: 12px; }
}
@media(max-width:800px) {
  :root { --section: 80px; }
  .container { width: calc(100% - 48px); }
  .nav-shell { width: calc(100% - 40px); height: 58px; gap: 20px; }
  .desktop-nav { display: none; }
  .nav-cta { margin-left: auto; font-size: 11px; }
  .menu-toggle { display: block; margin-left: -8px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 64px; }
  .hero-product { width: 90%; margin-top: 36px; }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  .split-heading > p,.split-heading > div { justify-self: start; max-width: 580px; }
  .section-heading p { font-size: 21px; }
  .section-heading { margin-bottom: 36px; }
  .overview-line { gap: 24px; flex-direction: column; align-items: start; }
  .gallery-heading { display: block; }
  .gallery-heading > p { margin-top: 20px; }
  .feature-track { padding-inline: 24px; scroll-padding-inline: 24px; gap: 20px; }
  .commerce-photo { aspect-ratio: 1.4; }
  .commerce-notes { margin-inline: 0; gap: 32px; }
  .commerce-notes p { font-size: 18px; }
  .card-story { padding-top: 76px; padding-bottom: 56px; }
  .card-scene { display: flex; flex-direction: column; min-height: 0; }
  .card-copy { order: -1; }
  .card-copy > * { width: auto; max-width: 520px; }
  .card-scene > img { position: relative; width: 100%; right: auto; height: auto; margin-top: -16px; }
  .card-copy h2 { font-size: 60px; }
  .card-details { gap: 24px; }
  .card-details p { font-size: 15px; }
  .experience-panel { gap: 40px; padding: 32px; grid-template-columns: 1fr; }
  .experience-copy { max-width: 520px; }
  .demo-screen { width: min(100%,460px); margin-inline: auto; }
  .management-grid { grid-template-columns: 1fr; }
  .management-primary { padding: 40px; }
  .management-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 12px 0 0; }
  .management-secondary article + article { border-top: none; padding-top: 24px; }
  .management-secondary h3 { font-size: 26px; }
  .security-layout { gap: 48px; grid-template-columns: .6fr 1fr; }
  .security-mark svg { width: 132px; height: 132px; }
  .security p { font-size: 19px; }
  .milestones { gap: 28px; }
  .milestones h3 { font-size: 23px; }
  .milestones p { font-size: 16px; }
}
@media(max-width:520px) {
  :root { --section: 64px; }
  .wordmark { font-size: 19px; }
  .nav-shell { gap: 12px; }
  .nav-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero { padding-top: 44px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(38px,10.8vw,55px); letter-spacing: -.045em; }
  .hero-copy > p { font-size: 18px; max-width: 330px; margin: 22px auto 0; }
  .desktop-break { display: none; }
  .button { font-size: 15px; min-height: 48px; padding: 12px 22px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .button { font-size: 14px; padding: 11px 17px; min-height: 44px; }
  .hero-product { width: 112%; max-width: none; margin-left: -6%; margin-top: 28px; }
  .hero-product figcaption { font-size: 11px; padding-top: 4px; }
  h2 { font-size: 38px; letter-spacing: -.04em; }
  .section-heading p { font-size: 19px; }
  .overview-line { padding-top: 28px; }
  .overview-line > p { font-size: 21px; }
  .text-link { font-size: 16px; }
  .feature-card { flex-basis: min(320px,calc(100vw - 64px)); min-height: 480px; padding: 28px; }
  .feature-card h3 { font-size: 27px; }
  .feature-category { font-size: 13px; }
  .credit-preview { font-size: 25px; }
  .gallery-bottom { align-items: start; gap: 16px; margin-top: 20px; }
  .gallery-bottom > p { font-size: 12px; max-width: 205px; }
  .gallery-controls { gap: 8px; }
  .commerce-photo { border-radius: 20px; aspect-ratio: .95; }
  .commerce-photo img { object-position: 49% center; }
  .commerce-track { gap: 16px; }
  .commerce-scene { flex-basis: calc(100% - 24px); }
  .commerce-scene-title { margin-top: 20px; font-size: 24px; }
  .commerce-gallery-footer { align-items: start; flex-direction: column; gap: 16px; }
  .commerce-gallery-controls { align-self: flex-end; }
  .commerce-notes { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .commerce-notes p { font-size: 18px; }
  .card-story { padding-top: 64px; }
  .card-copy h2 { font-size: 54px; }
  .section-category { font-size: 16px; margin-bottom: 18px; }
  .card-copy > p:not(.section-category) { font-size: 18px; margin-top: 22px; }
  .card-scene > img { width: 120%; max-width: none; margin-left: -20%; margin-top: 0; }
  .card-details { flex-direction: column; gap: 24px; padding-top: 28px; }
  .card-details p br { display: none; }
  .card-details strong { margin-right: 4px; }
  .experience .section-heading { text-align: left; }
  .experience .section-heading p { margin-top: 20px; }
  .experience-tabs { width: 100%; padding: 4px; }
  .experience-tabs button { flex: 1; min-width: 0; padding: 10px 8px; font-size: 14px; }
  .experience-panel { margin-top: 28px; padding: 28px 20px; border-radius: 24px; gap: 28px; }
  .experience-copy h3 { font-size: 30px; margin-bottom: 16px; }
  .experience-copy > p { font-size: 17px; }
  .clean-list li { font-size: 13px; }
  .demo-screen { padding: 22px; border-radius: 20px; }
  .demo-top { margin-bottom: 28px; }
  .demo-top > span { font-size: 20px; }
  .demo-top small { font-size: 9px; }
  .demo-balance { font-size: 38px; }
  .demo-transaction { font-size: 10px; gap: 8px; }
  .demo-transaction small { font-size: 9px; }
  .demo-actions { gap: 8px; }
  .demo-actions > div { font-size: 10px; }
  .management-primary { padding: 28px; }
  .management h3 { font-size: 32px; }
  .management article > p { font-size: 18px; }
  .system-flow { margin-top: 36px; gap: 10px; font-size: 11px; }
  .system-flow strong { font-size: 22px; }
  .system-flow .icon { width: 13px; }
  .management-secondary { grid-template-columns: 1fr; gap: 0; padding: 0 8px; }
  .management-secondary article + article { border-top: 1px solid #333337; padding-top: 32px; }
  .management-secondary h3 { font-size: 27px; }
  .security-layout { grid-template-columns: 1fr; gap: 32px; }
  .security-mark { justify-content: start; }
  .security-mark svg { width: 84px; height: 84px; stroke-width: 1.1; }
  .milestones { grid-template-columns: 1fr; gap: 28px; }
  .milestones li { padding-top: 24px; }
  .milestones h3 { font-size: 25px; }
  .milestones p { max-width: 340px; }
  .closing h2 { font-size: 48px; }
  .closing-brand { font-size: 18px; }
  .closing h2 + p { font-size: 20px; }
  .footer-top { flex-direction: column; align-items: start; gap: 12px; }
  .footer-notes { font-size: 11px; line-height: 1.6; }
  .detail-dialog { width: calc(100% - 24px); max-height: calc(100svh - 32px); border-radius: 24px; }
  .dialog-content { padding: 16px 28px 32px; }
  .dialog-intro { font-size: 18px; }
  .detail-item h3 { font-size: 20px; }
  .detail-item p { font-size: 16px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media(prefers-reduced-transparency: reduce) { .site-header { background: var(--soft); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media(prefers-contrast: more) {
  :root { --muted: #45454a; --dark-muted: #d2d2d7; }
  .site-header { background: var(--soft); backdrop-filter: none; }
  .feature-card,.demo-screen { border: 1px solid currentColor; }
}
