:root {
  --bg: #080705;
  --bg-2: #0e0c08;
  --panel: #11100c;
  --panel-soft: #17140d;
  --cream: #f5f0e7;
  --cream-2: #ece5d8;
  --warm: #efe7d8;
  --ink: #15130f;
  --ink-muted: #625d53;
  --text: #f4efe5;
  --muted: #aaa294;
  --gold: #e8b538;
  --gold-2: #f6cf68;
  --gold-dark: #9f7212;
  --wine: #641235;
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(25,20,13,.14);
  --max: 1380px;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.wrap { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: #111; transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(7,7,5,.88); border-color: var(--line); box-shadow: 0 12px 35px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.nav-wrap { width: min(calc(100% - 44px), 1320px); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.02; }
.brand-copy strong { letter-spacing: .24em; font-size: .93rem; }
.brand-copy small { margin-top: 6px; color: #9d9689; font-size: .69rem; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #c9c2b6; font-size: .88rem; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; padding: 8px 0; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .2s ease; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: #fff; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--gold); border-radius: 10px; background: var(--gold); color: #15110a; font-weight: 800; letter-spacing: -.01em; box-shadow: 0 12px 30px rgba(232,181,56,.16); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gold-2); border-color: var(--gold-2); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: .82rem; }
.button-large { min-height: 54px; }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.24); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--gold); }

.hero, .product-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 75% 18%, rgba(232,181,56,.1), transparent 28%), linear-gradient(140deg, #070705, #0d0b07); }
.home-hero { min-height: 780px; padding: 154px 0 105px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-a { width: 620px; height: 620px; right: -180px; top: 50px; background: radial-gradient(circle, rgba(232,181,56,.16), transparent 64%); }
.hero-glow-b { width: 430px; height: 430px; left: -180px; bottom: -110px; background: radial-gradient(circle, rgba(100,18,53,.16), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: var(--gold-2); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { width: 42px; height: 1px; background: currentColor; }
.kicker.dark { color: #7e5c0d; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.042em; }
h1 { max-width: 790px; margin-bottom: 24px; font-size: clamp(3.8rem, 6.4vw, 6.4rem); line-height: .98; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
h2 { margin-bottom: 22px; font-size: clamp(2.65rem, 4.6vw, 4.8rem); line-height: 1.04; }
.hero-lede { max-width: 710px; margin-bottom: 31px; color: #bbb3a5; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 32px; color: #aaa294; font-size: .82rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px rgba(232,181,56,.72); }

.hero-product { position: relative; min-height: 620px; }
.screen { overflow: hidden; border: 1px solid rgba(246,207,104,.34); border-radius: 18px; background: #0d0c09; box-shadow: 0 35px 95px rgba(0,0,0,.5); }
.screen img { width: 100%; height: auto; }
.screen-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,.08); background: #11100d; }
.screen-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #4a463e; }
.screen-bar > b { margin-left: 7px; color: #777165; font-size: .68rem; font-weight: 650; }
.screen-primary { position: absolute; width: 94%; right: 0; top: 18px; transform: rotate(1.1deg); }
.screen-secondary { position: absolute; width: 58%; left: -6%; bottom: 0; transform: rotate(-2.1deg); border-color: rgba(255,255,255,.15); }
.hero-metric { position: absolute; z-index: 3; min-width: 180px; padding: 14px 16px; border: 1px solid rgba(246,207,104,.28); border-radius: 13px; background: rgba(14,12,8,.86); box-shadow: 0 18px 40px rgba(0,0,0,.32); backdrop-filter: blur(12px); }
.hero-metric small, .hero-metric strong { display: block; }
.hero-metric small { margin-bottom: 5px; color: #8e877a; font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
.hero-metric strong { font-family: Georgia, serif; font-size: 1.06rem; font-weight: 500; }
.metric-a { right: -16px; bottom: 55px; }
.metric-b { left: 32%; top: -18px; }

.capability-bar { border-block: 1px solid rgba(232,181,56,.18); background: #0d0b07; }
.capability-items { min-height: 62px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 16px; color: #b6afa3; font-size: .73rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.capability-items b { color: var(--gold); }

.section { padding: 110px 0; }
.section-light { background: var(--cream); color: var(--ink); }
.section-dark { background: var(--bg); color: var(--text); }
.section-goldwash { background: linear-gradient(135deg, #eee3cc, #f8f3e9); color: var(--ink); }
.section-warm { background: #eae1d2; color: var(--ink); }
.split-heading, .problem-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: 100px; align-items: start; }
.body-copy { padding-top: 34px; color: var(--ink-muted); font-size: 1.02rem; line-height: 1.8; }
.body-copy p + p { margin-top: 22px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.value-card { min-height: 260px; padding: 27px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.52); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.value-card:hover { transform: translateY(-5px); border-color: rgba(159,114,18,.42); box-shadow: 0 18px 45px rgba(56,43,14,.1); }
.value-card > span { color: #8d690f; font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.value-card h3 { margin: 78px 0 10px; font-family: Georgia, serif; font-size: 1.38rem; font-weight: 500; }
.value-card p { margin: 0; color: var(--ink-muted); line-height: 1.62; font-size: .9rem; }
.section-intro { max-width: 800px; margin-bottom: 58px; }
.section-intro.center { margin-inline: auto; text-align: center; }
.section-intro.center .kicker { justify-content: center; }
.section-intro > p:last-child { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.section-light .section-intro > p:last-child, .section-warm .section-intro > p:last-child { color: var(--ink-muted); }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { min-height: 360px; display: flex; flex-direction: column; padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #11100d, #0b0a08); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(232,181,56,.32); box-shadow: 0 22px 60px rgba(0,0,0,.3); }
.app-card-featured { border-color: rgba(232,181,56,.48); background: radial-gradient(circle at 80% 10%, rgba(232,181,56,.1), transparent 35%), linear-gradient(145deg, #15120a, #0b0a08); }
.app-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-number { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.status { padding: 6px 8px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: #746f65; font-size: .65rem; }
.status-live { color: var(--gold-2); border-color: rgba(232,181,56,.32); background: rgba(232,181,56,.06); }
.app-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 38px 0 25px; border: 1px solid rgba(232,181,56,.36); border-radius: 14px; color: var(--gold); font-family: Georgia, serif; font-size: 1.35rem; }
.app-card h3 { margin-bottom: 15px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.15; font-weight: 500; }
.app-card p { color: #a59e92; line-height: 1.65; font-size: .91rem; }
.app-card ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: #d6d0c4; font-size: .82rem; }
.app-card li { position: relative; padding-left: 18px; }
.app-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.card-link { margin-top: auto; padding-top: 28px; color: var(--gold-2); font-weight: 800; font-size: .85rem; }
.card-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.card-link:hover span { transform: translateX(5px); }

.edge-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 90px; align-items: center; }
.edge-copy > p:not(.kicker) { color: var(--ink-muted); line-height: 1.78; font-size: 1.02rem; }
.edge-points { display: grid; gap: 15px; margin-top: 30px; }
.edge-points div { padding: 18px 19px; border: 1px solid rgba(72,54,12,.14); border-radius: 14px; background: rgba(255,255,255,.42); }
.edge-points strong, .edge-points span { display: block; }
.edge-points strong { margin-bottom: 5px; }
.edge-points span { color: var(--ink-muted); font-size: .88rem; line-height: 1.55; }
.edge-diagram { position: relative; display: grid; gap: 14px; padding: 30px; border: 1px solid rgba(72,54,12,.18); border-radius: 24px; background: #0d0c09; box-shadow: var(--shadow); }
.node { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #15130e; }
.node small, .node strong { display: block; }
.node small { margin-bottom: 8px; color: #8a8275; text-transform: uppercase; letter-spacing: .09em; font-size: .66rem; }
.node strong { font-family: Georgia, serif; font-size: 1.22rem; font-weight: 500; }
.node-accent { border-color: rgba(232,181,56,.46); background: radial-gradient(circle at 90% 0%, rgba(232,181,56,.1), transparent 45%), #15120a; }
.connector { height: 22px; display: grid; place-items: center; color: var(--gold); }
.connector::before { content: ""; position: absolute; width: 1px; height: 32px; background: rgba(232,181,56,.32); }
.connector span { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 22px; border-radius: 999px; background: #0d0c09; font-size: .7rem; }
.diagram-note { margin-top: 7px; color: #8c8578; text-align: center; font-size: .73rem; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card { min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.46); }
.industry-card strong { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.28rem; font-weight: 500; }
.industry-card span { color: var(--ink-muted); font-size: .86rem; line-height: 1.5; }

.contact-section { padding-top: 100px; }
.contact-card { display: grid; grid-template-columns: 1.15fr .7fr; gap: 84px; padding: 55px; border: 1px solid rgba(232,181,56,.3); border-radius: 28px; background: radial-gradient(circle at 83% 10%, rgba(232,181,56,.1), transparent 33%), #0f0e0b; }
.contact-card h2 { max-width: 720px; }
.contact-card p:not(.kicker) { max-width: 690px; color: var(--muted); line-height: 1.75; }
.contact-actions { display: grid; align-content: center; gap: 12px; }
.contact-line { display: block; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; transition: border-color .2s ease, background .2s ease; }
.contact-line:hover { border-color: rgba(232,181,56,.42); background: rgba(232,181,56,.04); }
.contact-line small, .contact-line strong, .contact-line span { display: block; }
.contact-line small { color: #817b70; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-line strong { margin: 5px 0 3px; }
.contact-line span { color: #aaa294; font-size: .81rem; }

.site-footer { padding: 48px 0 24px; border-top: 1px solid var(--line); background: #050504; color: #9d968a; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 42px; align-items: center; }
.footer-brand img { width: 43px; height: 43px; }
.footer-main > p { margin: 0; font-size: .87rem; }
.footer-links { display: flex; gap: 22px; font-size: .82rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 28px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.07); color: #6f6a61; font-size: .7rem; }

/* Product page */
.product-hero { padding: 145px 0 90px; }
.product-hero-grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #777165; font-size: .72rem; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs b { color: #b3ac9e; font-weight: 650; }
.product-hero h1 { max-width: 760px; font-size: clamp(3.5rem, 5.7vw, 5.7rem); }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 30px; }
.feature-pills span { padding: 8px 11px; border: 1px solid rgba(232,181,56,.27); border-radius: 999px; background: rgba(232,181,56,.05); color: #d4c9b5; font-size: .72rem; }
.product-hero-media { position: relative; padding-bottom: 46px; }
.screen-product { transform: rotate(.7deg); }
.floating-callout { position: absolute; right: -12px; bottom: 0; min-width: 260px; padding: 17px 18px; border: 1px solid rgba(232,181,56,.35); border-radius: 14px; background: rgba(12,10,7,.94); box-shadow: 0 20px 50px rgba(0,0,0,.34); }
.floating-callout small, .floating-callout strong, .floating-callout span { display: block; }
.floating-callout small { margin-bottom: 6px; color: var(--gold); font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; }
.floating-callout strong { margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 500; }
.floating-callout span { color: #8e877b; font-size: .72rem; }
.problem-list { display: grid; gap: 12px; }
.problem-list div { display: grid; grid-template-columns: 38px 1fr; gap: 17px; padding: 19px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255,255,255,.48); }
.problem-list span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); font-size: .69rem; font-weight: 900; }
.problem-list p { margin: 2px 0 0; color: var(--ink-muted); line-height: 1.55; font-size: .9rem; }
.video-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 65px; align-items: center; }
.video-section .section-intro { margin-bottom: 0; }
.video-points { display: grid; gap: 9px; margin-top: 28px; color: #d6d0c4; font-size: .84rem; }
.video-points span { position: relative; padding-left: 19px; }
.video-points span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.video-shell { overflow: hidden; border: 1px solid rgba(232,181,56,.32); border-radius: 20px; background: #000; box-shadow: 0 28px 85px rgba(0,0,0,.45); }
.video-shell iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.capability-card { min-height: 300px; padding: 27px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.54); }
.capability-card > span { color: #8d690f; font-size: .72rem; font-weight: 900; }
.capability-card h3 { margin: 70px 0 12px; font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.18; font-weight: 500; }
.capability-card p { color: var(--ink-muted); line-height: 1.62; font-size: .88rem; }
.screenshot-stack { display: grid; gap: 25px; }
.screenshot-card { overflow: hidden; margin: 0; border: 1px solid rgba(25,20,13,.16); border-radius: 20px; background: #f8f4ec; box-shadow: 0 25px 65px rgba(50,38,13,.1); }
.screenshot-card img { width: 100%; }
.screenshot-card figcaption { display: flex; justify-content: space-between; gap: 30px; padding: 20px 24px; border-top: 1px solid rgba(25,20,13,.1); }
.screenshot-card figcaption strong { font-family: Georgia, serif; font-size: 1.13rem; font-weight: 500; }
.screenshot-card figcaption span { max-width: 560px; color: var(--ink-muted); font-size: .85rem; line-height: 1.55; text-align: right; }
.edge-product-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 85px; align-items: center; }
.edge-copy > p:not(.kicker) { color: var(--muted); }
.check-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: #d8d1c5; font-size: .9rem; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.edge-spec { overflow: hidden; border: 1px solid rgba(232,181,56,.32); border-radius: 22px; background: #11100d; box-shadow: var(--shadow); }
.spec-header { padding: 25px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 90% 0%, rgba(232,181,56,.12), transparent 40%); }
.spec-header small, .spec-header strong { display: block; }
.spec-header small { margin-bottom: 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.spec-header strong { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.spec-row { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.07); }
.spec-row span { color: #777165; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.spec-row b { color: #d9d2c6; font-size: .86rem; font-weight: 650; }
.spec-badge { margin: 19px 24px 24px; padding: 12px 14px; border: 1px solid rgba(232,181,56,.28); border-radius: 10px; background: rgba(232,181,56,.06); color: var(--gold-2); text-align: center; font-size: .76rem; font-weight: 800; }
.outcomes-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: start; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.outcome-list div { min-height: 170px; padding: 23px; border: 1px solid var(--line-dark); border-radius: 17px; background: rgba(255,255,255,.5); }
.outcome-list strong, .outcome-list span { display: block; }
.outcome-list strong { margin-bottom: 9px; font-family: Georgia, serif; font-size: 1.22rem; font-weight: 500; }
.outcome-list span { color: var(--ink-muted); line-height: 1.55; font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .17s; }
.delay-3 { transition-delay: .25s; }

@media (max-width: 1080px) {
  .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .product-hero-copy { max-width: 900px; }
  .hero-product { max-width: 880px; margin: 20px auto 0; width: 100%; }
  .product-hero-media { max-width: 930px; margin-inline: auto; }
  .value-grid, .capability-grid { grid-template-columns: repeat(2,1fr); }
  .app-grid { grid-template-columns: repeat(2,1fr); }
  .edge-grid, .edge-product-grid, .video-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .video-section .section-intro { max-width: 780px; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .contact-card { gap: 46px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; left: 20px; right: 20px; top: 76px; display: grid; gap: 0; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(9,8,6,.98); box-shadow: 0 20px 55px rgba(0,0,0,.42); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > a { padding: 13px 12px; }
  .site-nav .button { margin-top: 7px; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 86px 0; }
  .split-heading, .problem-grid, .contact-card { grid-template-columns: 1fr; gap: 38px; }
  .body-copy { padding-top: 0; }
  .contact-card { padding: 38px; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .screenshot-card figcaption { display: grid; }
  .screenshot-card figcaption span { text-align: left; }
}

@media (max-width: 620px) {
  .wrap, .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-copy strong { font-size: .8rem; }
  .home-hero { min-height: auto; padding: 125px 0 78px; }
  .product-hero { padding: 122px 0 72px; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.55rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-product { min-height: 390px; }
  .screen-primary { width: 100%; }
  .screen-secondary { width: 68%; left: 0; }
  .hero-metric { display: none; }
  .value-grid, .app-grid, .capability-grid, .industry-grid, .outcome-list { grid-template-columns: 1fr; }
  .value-card { min-height: 210px; }
  .value-card h3 { margin-top: 48px; }
  .app-card { min-height: 420px; }
  .feature-pills { gap: 6px; }
  .floating-callout { position: relative; right: auto; bottom: auto; margin: 12px 0 0; }
  .product-hero-media { padding-bottom: 0; }
  .screenshot-card figcaption { padding: 18px; }
  .contact-card { padding: 28px 22px; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}

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

/* Homepage four-application hero preview */
.hero-product.hero-quad {
  min-height: 0;
  width: 100%;
}

.hero-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.hero-quad .quad-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(246, 207, 104, .32);
  border-radius: 16px;
  background: #050505;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
  transform: none;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.hero-quad .quad-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 207, 104, .62);
  box-shadow: 0 30px 72px rgba(0, 0, 0, .5);
}

.hero-quad .screen-bar {
  height: 34px;
  background: #080808;
}

.hero-quad .screen-bar > b {
  overflow: hidden;
  color: #9c9588;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-quad .quad-card img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  object-position: top left;
  background: #080808;
}

/* HQ and outlet architecture illustration */
.edge-grid-visual {
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
}

.edge-visual {
  overflow: hidden;
  border: 1px solid rgba(72, 54, 12, .18);
  border-radius: 24px;
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 28px 70px rgba(50, 38, 13, .16);
}

.edge-visual img {
  width: 100%;
  height: auto;
}

@media (max-width: 1080px) {
  .hero-product.hero-quad {
    max-width: 980px;
  }

  .edge-grid-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-product.hero-quad {
    min-height: 0;
  }

  .hero-quad-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-quad .quad-card img {
    aspect-ratio: 16 / 8.5;
  }
}


/* Homepage refinements v4 */
.hero-copy { max-width: 560px; }
.hero-product.hero-quad { min-height: 0; width: 100%; }
.hero-quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.hero-quad .quad-card { border-radius: 18px; }
.hero-quad .screen-bar { height: 40px; }
.hero-quad .screen-bar > b { font-size: .78rem; color: #b9b1a3; }
.hero-quad .quad-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; background: #080808; }

.app-topline-simple { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.app-card .app-icon, .app-card .app-number { display: none; }
.app-card p { color: #c5beb1; line-height: 1.65; font-size: .92rem; }
.app-card ul { margin: 18px 0 0; padding-left: 18px; color: #e5ded2; line-height: 1.85; font-size: .9rem; }
.app-card-featured .card-link { margin-top: auto; }

.edge-grid-visual { grid-template-columns: .76fr 1.24fr; gap: 52px; align-items: center; }
.edge-copy > p:not(.kicker) { color: var(--ink-muted); }
.edge-summary { display: grid; gap: 14px; margin-top: 12px; }
.edge-summary p { margin: 0; color: var(--ink-muted); line-height: 1.8; font-size: 1rem; }
.edge-visual-architecture { padding: 10px; }
.edge-visual-architecture img { width: 100%; height: auto; border-radius: 18px; }

@media (min-width: 1081px) {
  .hero-product.hero-quad { width: min(100%, 880px); margin-left: auto; }
}

@media (max-width: 1080px) {
  .hero-copy { max-width: 900px; }
  .hero-product.hero-quad { max-width: 1080px; }
  .edge-grid-visual { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-product { min-height: 0; }
  .hero-quad-grid { grid-template-columns: 1fr; gap: 14px; }
  .app-card { min-height: 0; padding: 22px; }
}


/* Demand & Inventory page refinements v5 */
.capability-grid-compact .capability-card {
  min-height: 220px;
  padding: 25px 26px;
}

.capability-grid-compact .capability-card h3 {
  margin: 0 0 14px;
}

.capability-grid-compact .capability-card p {
  margin: 0;
}

@media (max-width: 620px) {
  .capability-grid-compact .capability-card {
    min-height: 0;
  }
}


/* Demand & Inventory refinements v6 */
.planning-impact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgba(232,181,56,.13), transparent 38%),
    linear-gradient(145deg, #080705, #0d0b07);
}

.planning-impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(232,181,56,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(232,181,56,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 92%);
}

.planning-impact-section > .wrap { position: relative; }
.planning-impact-section .section-intro { max-width: 920px; margin-bottom: 48px; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.impact-card {
  position: relative;
  min-height: 285px;
  padding: 27px 25px 25px;
  overflow: hidden;
  border: 1px solid rgba(232,181,56,.25);
  border-radius: 19px;
  background: linear-gradient(155deg, rgba(27,23,14,.96), rgba(11,10,8,.98));
  box-shadow: 0 24px 65px rgba(0,0,0,.27);
}

.impact-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,181,56,.15), transparent 67%);
}

.impact-range {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 74px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.1vw, 3.65rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.impact-card h3 {
  position: relative;
  z-index: 1;
  margin: 25px 0 12px;
  color: #f7f0e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 500;
}

.impact-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #aaa294;
  font-size: .86rem;
  line-height: 1.65;
}

.impact-disclaimer {
  position: relative;
  margin-top: 27px;
  padding: 16px 19px;
  border-left: 2px solid var(--gold);
  background: rgba(232,181,56,.055);
  color: #aaa294;
  font-size: .78rem;
  line-height: 1.65;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  background: #f7f2e9;
}

@media (max-width: 1080px) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-card { min-height: 250px; }
}

@media (max-width: 620px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { min-height: 0; }
  .impact-range { min-height: 0; font-size: 2.65rem; }
  .impact-card h3 { margin-top: 18px; }
}


/* Architecture and deployment layout refinements v7 */
.edge-grid-dual {
  grid-template-columns: minmax(360px, .76fr) minmax(620px, 1.24fr);
  gap: 48px;
  align-items: stretch;
}

.edge-copy-balanced {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.edge-copy-balanced h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 4.3vw, 4.65rem);
}

.edge-copy-body {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-block: 1px solid rgba(72,54,12,.18);
}

.edge-copy-body p,
.deployment-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.deployment-copy {
  display: grid;
  gap: 15px;
  padding: 26px 0;
}

.deployment-copy h3 {
  margin: 0 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.22;
  font-weight: 500;
  color: var(--ink);
}

.deployment-copy strong {
  color: var(--wine);
}

.edge-closing {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(72,54,12,.18);
  color: #6d5010 !important;
  font-weight: 800;
  line-height: 1.55 !important;
}

.edge-visual-stack {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.edge-visual-stack figure {
  margin: 0;
}

.edge-visual-stack .edge-visual {
  padding: 8px;
}

.edge-visual-stack .edge-visual img {
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.edge-visual-deployment {
  border-radius: 20px;
}

@media (max-width: 1180px) {
  .edge-grid-dual {
    grid-template-columns: 1fr;
  }

  .edge-copy-balanced {
    gap: 28px;
  }

  .edge-visual-stack {
    max-width: 980px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .edge-copy-body,
  .deployment-copy {
    padding-block: 22px;
  }

  .edge-visual-stack {
    gap: 9px;
  }

  .edge-visual-stack .edge-visual {
    padding: 5px;
    border-radius: 16px;
  }
}


/* Tighten the homepage architecture section so both columns finish together. */
#edge-ai.section {
  padding-bottom: 40px;
}

.edge-grid-dual {
  align-items: start;
}

.edge-copy-balanced {
  min-height: 0;
  justify-content: flex-start;
  gap: 18px;
  padding: 4px 0 0;
}

.edge-copy-balanced h2 {
  font-size: clamp(2.8rem, 3.85vw, 4.1rem);
  line-height: 1.01;
}

.edge-copy-body {
  gap: 12px;
  padding: 18px 0;
}

.edge-copy-body p,
.deployment-copy p {
  font-size: .96rem;
  line-height: 1.62;
}

.deployment-copy {
  gap: 10px;
  padding: 16px 0;
}

.deployment-copy h3 {
  font-size: clamp(1.35rem, 1.72vw, 1.72rem);
  line-height: 1.16;
}

.edge-closing {
  padding-top: 14px;
  line-height: 1.42 !important;
}

@media (max-width: 1180px) {
  #edge-ai.section {
    padding-bottom: 72px;
  }

  .edge-copy-balanced {
    gap: 24px;
  }
}


/* Demand & Inventory section separator */
.page-product .video-section {
  border-top: 1px solid rgba(255, 255, 255, .10);
}


/* Homepage application CTAs and equal-height cards */
#applications .app-grid {
  align-items: stretch;
}

#applications .app-card {
  height: 100%;
  min-height: 390px;
}

.app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--gold);
  color: #15110a;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(232,181,56,.14);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.app-cta:hover,
.app-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: 0 16px 34px rgba(232,181,56,.21);
}


/* Click-to-enlarge architecture diagrams */
.image-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.image-zoom-trigger img {
  transition: transform .28s ease, filter .28s ease;
}

.image-zoom-trigger:hover img,
.image-zoom-trigger:focus-visible img {
  transform: scale(1.012);
  filter: brightness(.94);
}

.image-zoom-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 13px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(8,7,5,.72);
  color: #fff;
  font-size: .68rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
}

.image-zoom-trigger:hover .zoom-hint,
.image-zoom-trigger:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}

.image-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1500px);
  max-height: 92vh;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(246,207,104,.38);
  border-radius: 18px;
  background: #0c0b08;
  box-shadow: 0 38px 120px rgba(0,0,0,.7);
}

.image-modal-image {
  max-width: 100%;
  max-height: calc(92vh - 28px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.image-modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(8,7,5,.84);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  #applications .app-card {
    min-height: 0;
  }

  .image-modal {
    padding: 12px;
  }

  .image-modal-dialog {
    width: 100%;
    padding: 8px;
  }

  .zoom-hint {
    display: none;
  }
}


/* Outlet Intelligence impact labels */
.impact-word {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  min-height: 74px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 2.75vw, 3.15rem);
  line-height: 1;
  letter-spacing: -.04em;
}


/* Outlet Intelligence projected-performance workflow step */
.projection-screenshot-card img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #f8f4ec;
}


/* Looping product preview inside the Demand & Inventory hero frame */
.product-hero-loop {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #080705;
}


/* Wider Demand & Inventory hero so the looping application preview stays legible */
.page-demand-inventory .product-hero {
  padding: 128px 0 78px;
}

.page-demand-inventory .product-hero > .product-hero-grid {
  width: min(calc(100% - 48px), 1640px);
  grid-template-columns: minmax(420px, .62fr) minmax(0, 1.38fr);
  gap: 38px;
}

.page-demand-inventory .product-hero-copy {
  max-width: 560px;
}

.page-demand-inventory .product-hero h1 {
  max-width: 600px;
  font-size: clamp(3.35rem, 4.7vw, 5.25rem);
}

.page-demand-inventory .product-hero-media {
  width: 100%;
  padding-bottom: 42px;
}

.page-demand-inventory .screen-product {
  width: 100%;
  transform: none;
}

.page-demand-inventory .product-hero-loop {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.page-demand-inventory .floating-callout {
  right: 18px;
  bottom: 0;
}

@media (max-width: 1180px) {
  .page-demand-inventory .product-hero > .product-hero-grid {
    width: min(calc(100% - 44px), 1100px);
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-demand-inventory .product-hero-copy {
    max-width: 850px;
  }

  .page-demand-inventory .product-hero-media {
    max-width: 1080px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .page-demand-inventory .product-hero {
    padding: 118px 0 66px;
  }

  .page-demand-inventory .product-hero > .product-hero-grid {
    width: min(calc(100% - 28px), 1100px);
  }

  .page-demand-inventory .product-hero h1 {
    font-size: 3.05rem;
  }

  .page-demand-inventory .product-hero-media {
    padding-bottom: 0;
  }

  .page-demand-inventory .floating-callout {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }
}


/* v17: consistent looping application hero previews, 10% smaller than v16 Demand frame */
.page-demand-inventory .product-hero > .product-hero-grid,
.page-outlet-intelligence .product-hero > .product-hero-grid,
.page-network-intelligence .product-hero > .product-hero-grid,
.page-point-of-sale .product-hero > .product-hero-grid {
  width: min(calc(100% - 56px), 1540px);
  grid-template-columns: minmax(420px, .68fr) minmax(0, 1.32fr);
  gap: 42px;
}

.page-demand-inventory .product-hero-media,
.page-outlet-intelligence .product-hero-media,
.page-network-intelligence .product-hero-media,
.page-point-of-sale .product-hero-media {
  width: 99%;
  max-width: none;
  margin-left: auto;
  padding-bottom: 42px;
}

.page-demand-inventory .screen-product,
.page-outlet-intelligence .screen-product,
.page-network-intelligence .screen-product,
.page-point-of-sale .screen-product {
  width: 100%;
  transform: none;
}

.page-demand-inventory .product-hero-loop,
.page-outlet-intelligence .product-hero-loop,
.page-network-intelligence .product-hero-loop,
.page-point-of-sale .product-hero-loop {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.page-outlet-intelligence .floating-callout,
.page-network-intelligence .floating-callout,
.page-point-of-sale .floating-callout {
  right: 18px;
  bottom: 0;
}

@media (max-width: 1180px) {
  .page-demand-inventory .product-hero > .product-hero-grid,
  .page-outlet-intelligence .product-hero > .product-hero-grid,
  .page-network-intelligence .product-hero > .product-hero-grid,
  .page-point-of-sale .product-hero > .product-hero-grid {
    width: min(calc(100% - 44px), 1100px);
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-demand-inventory .product-hero-media,
  .page-outlet-intelligence .product-hero-media,
  .page-network-intelligence .product-hero-media,
  .page-point-of-sale .product-hero-media {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .page-demand-inventory .product-hero > .product-hero-grid,
  .page-outlet-intelligence .product-hero > .product-hero-grid,
  .page-network-intelligence .product-hero > .product-hero-grid,
  .page-point-of-sale .product-hero > .product-hero-grid {
    width: min(calc(100% - 28px), 1100px);
  }

  .page-demand-inventory .product-hero-media,
  .page-outlet-intelligence .product-hero-media,
  .page-network-intelligence .product-hero-media,
  .page-point-of-sale .product-hero-media {
    width: 100%;
    padding-bottom: 0;
  }

  .page-outlet-intelligence .floating-callout,
  .page-network-intelligence .floating-callout,
  .page-point-of-sale .floating-callout {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }
}


/* v18: only live homepage preview cards behave like links */
.hero-quad .quad-card:hover {
  transform: none;
  border-color: rgba(246, 207, 104, .32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.hero-quad .quad-card-active {
  display: block;
  cursor: pointer;
}

.hero-quad .quad-card-active:hover,
.hero-quad .quad-card-active:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(246, 207, 104, .62);
  box-shadow: 0 30px 72px rgba(0, 0, 0, .5);
}

.hero-quad .quad-card-active:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}


/* v20: hero preview videos link directly to each page's product walkthrough */
.product-hero-demo-link {
  display: block;
  border-radius: 18px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.product-hero-demo-link .screen-product {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.product-hero-demo-link:hover .screen-product {
  transform: translateY(-3px);
  border-color: rgba(246, 207, 104, .62);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .56);
}

.product-hero-demo-link:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 6px;
}

.product-hero-demo-link:focus-visible .screen-product {
  border-color: rgba(246, 207, 104, .72);
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-demo-link .screen-product { transition: none; }
  .product-hero-demo-link:hover .screen-product { transform: none; }
}


/* v22: horizontally scrollable six-application homepage preview */
.hero-app-carousel {
  min-width: 0;
}

.hero-carousel-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0 4px 12px;
}

.hero-carousel-controls {
  display: flex;
  gap: 8px;
}

.hero-carousel-button {
  display: inline-grid;
  width: 52px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-2);
  border-radius: 10px;
  background: var(--gold-2);
  color: #090806;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.hero-carousel-button:hover:not(:disabled),
.hero-carousel-button:focus-visible:not(:disabled) {
  border-color: #f7d979;
  background: #f7d979;
  transform: translateY(-1px);
}

.hero-carousel-button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.hero-carousel-button:disabled {
  cursor: default;
  opacity: .38;
}

.hero-app-carousel .hero-quad-grid {
  display: grid;
  grid-template-columns: none;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 22px) / 2);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(232, 181, 56, .55) rgba(255, 255, 255, .08);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.hero-app-carousel .hero-quad-grid::-webkit-scrollbar {
  height: 7px;
}

.hero-app-carousel .hero-quad-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.hero-app-carousel .hero-quad-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(232, 181, 56, .55);
}

.hero-app-carousel .quad-card {
  scroll-snap-align: start;
}

.hero-app-carousel .quad-card:not(.quad-card-active) {
  cursor: default;
}

@media (max-width: 620px) {
  .hero-carousel-topline {
    align-items: flex-start;
  }

  .hero-app-carousel .hero-quad-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
  }

}
