:root {
  --ink: #0b0b0e;
  --surface: #151519;
  --surface-2: #1c1c21;
  --cobalt: #7096ff;
  --light: #f5f5f7;
  --white: #ffffff;
  --muted: #a0a0ab;
  --border: #303037;
  --light-ink: #131318;
  --light-muted: #62626d;
  --radius: 18px;
  --container: 1180px;
  --header-height: 82px;
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: clamp(88px, 10vw, 144px) 0; }
.dark-section { background: var(--ink); color: var(--white); }
.light-section { background: var(--light); color: var(--light-ink); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height); border-bottom: 1px solid transparent; background: rgba(11, 11, 14, .92); backdrop-filter: blur(16px); transition: border-color .25s ease, background .25s ease; }
.site-header.scrolled { border-color: var(--border); background: rgba(11, 11, 14, .98); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; flex: 0 0 auto; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.85rem; font-weight: 750; letter-spacing: -.07em; }
.brand-name span { color: var(--cobalt); }
.brand-tagline { margin-top: 6px; color: var(--muted); font-size: .65rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 36px); }
.main-nav > a:not(.button) { position: relative; color: #d5d5db; font-size: .92rem; font-weight: 550; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--cobalt); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--white); transition: transform .2s ease, opacity .2s ease; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--cobalt); border-radius: 10px; background: var(--cobalt); color: var(--ink); font-weight: 750; line-height: 1.2; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
.button:hover { background: #88a7ff; border-color: #88a7ff; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 17px; font-size: .9rem; }
.button-secondary { border-color: var(--border); background: transparent; color: var(--white); }
.button-secondary:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-dark:hover { border-color: var(--surface); background: var(--surface); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: #c3d1ff; font-size: .75rem; font-weight: 750; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; background: var(--cobalt); content: ""; }
.dark-eyebrow { color: #3f4b70; }
.cobalt-eyebrow { color: #222a40; }
.cobalt-eyebrow::before { background: var(--ink); }

.hero { position: relative; min-height: 760px; padding: calc(var(--header-height) + 92px) 0 100px; overflow: hidden; }
.hero::before { position: absolute; top: var(--header-height); left: 50%; width: 1px; height: calc(100% - var(--header-height)); background: #202026; content: ""; opacity: .65; }
.hero-grid { display: grid; min-height: 570px; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .section-intro h2, .about h2, .project-copy h2, .contact h2, .legal-main h1, .error-page h1 { margin: 0; font-family: var(--font-display); font-weight: 690; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 620px; font-size: clamp(3.4rem, 6vw, 5.9rem); }
.hero h1 span, .about h2 span, .contact h2 span { color: var(--cobalt); }
.hero-description { max-width: 590px; margin: 28px 0 0; color: #b1b1bb; font-size: clamp(1rem, 1.4vw, 1.16rem); }

.product-stage { position: relative; height: 560px; perspective: 1000px; }
.product-stage::before { position: absolute; inset: 7% 0 2% 7%; border: 1px solid #24242b; border-radius: 30px; content: ""; }
.product-stage::after { position: absolute; top: 0; right: 4%; width: 150px; height: 150px; border-top: 1px solid var(--cobalt); border-right: 1px solid var(--cobalt); content: ""; opacity: .4; }
.interface-card { position: absolute; overflow: hidden; border: 1px solid #3a3a44; border-radius: 14px; background: #17171c; box-shadow: 0 28px 60px rgba(0, 0, 0, .32); }
.window-bar { display: flex; height: 34px; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #303037; background: #1d1d23; }
.window-bar span { width: 6px; height: 6px; border-radius: 50%; background: #555560; }
.window-bar strong { margin-left: 7px; color: #858590; font-size: .58rem; font-weight: 500; }
.system-window { top: 38px; left: 0; z-index: 2; width: 87%; height: 330px; transform: rotateY(-3deg) rotateX(1deg); }
.dashboard-shell { display: grid; height: calc(100% - 34px); grid-template-columns: 42px 1fr; }
.dashboard-nav { display: flex; flex-direction: column; align-items: center; gap: 17px; padding-top: 26px; border-right: 1px solid #292930; }
.dashboard-nav i { width: 13px; height: 13px; border: 2px solid #5a5a67; border-radius: 4px; }
.dashboard-nav i:first-child { border-color: var(--cobalt); background: var(--cobalt); }
.dashboard-content { padding: 24px; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dashboard-head span { font-family: var(--font-display); font-size: .9rem; font-weight: 650; }
.dashboard-head small { padding: 4px 8px; border: 1px solid #393942; border-radius: 6px; color: var(--muted); font-size: .55rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric-row div { padding: 11px; border: 1px solid #2e2e35; border-radius: 8px; background: #1b1b20; }
.metric-row small, .metric-row strong { display: block; }
.metric-row small { color: #777782; font-size: .5rem; }
.metric-row strong { margin-top: 3px; color: #e6e6eb; font-family: var(--font-display); font-size: 1.02rem; }
.chart { display: flex; height: 105px; align-items: flex-end; gap: 10px; margin-top: 24px; padding: 15px 18px 0; border-top: 1px solid #292930; }
.chart span { width: 13%; height: var(--h); border-radius: 3px 3px 0 0; background: var(--cobalt); opacity: .72; }
.code-window { right: 0; bottom: 45px; z-index: 3; width: 68%; height: 230px; }
.code-window pre { margin: 0; padding: 18px; color: #b8b8c0; font-family: Consolas, monospace; font-size: clamp(.55rem, .8vw, .7rem); line-height: 1.7; }
.code-window b { color: #83a2ff; font-weight: 500; }
.code-window em { color: #d6a9ff; font-style: normal; }
.phone { bottom: 0; left: 7%; z-index: 4; width: 136px; height: 274px; padding: 9px; border: 2px solid #4b4b55; border-radius: 25px; background: #0d0d10; transform: rotate(-4deg); }
.phone-speaker { position: absolute; top: 15px; left: 50%; z-index: 2; width: 35px; height: 4px; border-radius: 4px; background: #3a3a42; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 28px 13px 15px; border-radius: 17px; background: #1b1b21; }
.mini-brand { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 6px; background: var(--cobalt); color: var(--ink); font-size: .7rem; font-weight: 800; }
.phone-screen p { margin: 21px 0 0; color: #878791; font-size: .55rem; }
.phone-screen strong { display: block; font-family: var(--font-display); font-size: .72rem; line-height: 1.3; }
.progress-ring { display: grid; width: 65px; height: 65px; margin: 20px auto; place-items: center; border: 6px solid #30303a; border-top-color: var(--cobalt); border-right-color: var(--cobalt); border-radius: 50%; color: var(--white); font-size: .65rem; font-weight: 700; transform: rotate(15deg); }
.phone-lines { display: grid; gap: 6px; }
.phone-lines i { height: 5px; border-radius: 4px; background: #36363e; }
.phone-lines i:nth-child(2) { width: 70%; background: #576ba7; }
.stage-label { position: absolute; z-index: 5; padding: 4px 9px; border: 1px solid #35477e; border-radius: 5px; background: #171b27; color: #a9bbef; font-family: Consolas, monospace; font-size: .6rem; }
.label-one { top: 19px; left: -15px; }
.label-two { right: -10px; bottom: 25px; }

.institutional-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #111115; }
.strip-list { display: grid; min-height: 78px; grid-template-columns: repeat(3, 1fr); align-items: center; }
.strip-list span { display: flex; align-items: center; justify-content: center; gap: 12px; color: #c9c9d0; font-size: .82rem; font-weight: 620; letter-spacing: .04em; }
.strip-list span + span { border-left: 1px solid var(--border); }
.strip-list i, .remote-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }

.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; margin-bottom: 62px; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.section-intro h2, .about h2, .project-copy h2, .contact h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.section-intro h2 span { color: #4a4a55; }
.section-intro > p:last-child { max-width: 500px; margin: 0 0 4px; color: var(--light-muted); font-size: 1.05rem; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { padding: 22px 22px 28px; border: 1px solid #dddde3; border-radius: var(--radius); background: var(--white); transition: border-color .25s ease, transform .25s ease; }
.solution-card:hover { border-color: #a6b8eb; transform: translateY(-6px); }
.solution-visual { position: relative; height: 215px; margin-bottom: 27px; overflow: hidden; border-radius: 12px; background: #151519; }
.card-kicker { color: #596078; font-size: .7rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.solution-card h3 { margin: 8px 0 12px; font-family: var(--font-display); font-size: 1.48rem; letter-spacing: -.035em; }
.solution-card p { min-height: 82px; margin: 0; color: var(--light-muted); font-size: .94rem; }
.solution-card ul { display: grid; gap: 8px; margin: 20px 0 0; padding: 19px 0 0; border-top: 1px solid #e2e2e7; list-style: none; }
.solution-card li { display: flex; align-items: center; gap: 9px; color: #38383f; font-size: .82rem; font-weight: 550; }
.solution-card li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); content: ""; }
.mini-window { position: absolute; top: 29px; left: 28px; width: 70%; height: 65%; border: 1px solid #555563; border-radius: 8px; }
.mini-window > span { display: inline-block; width: 5px; height: 5px; margin: 8px 1px; border-radius: 50%; background: #6b6b75; }
.mini-window > span:first-child { margin-left: 9px; }
.mini-window > div { height: 32px; margin: 8px 11px; border: 1px solid #33333b; border-radius: 4px; }
.systems-icon svg { position: absolute; right: 18px; bottom: 12px; width: 60%; fill: none; stroke: var(--cobalt); stroke-width: 3; }
.browser-frame { position: absolute; inset: 28px 24px 22px; border: 1px solid #555563; border-radius: 8px; }
.browser-frame > span { display: inline-block; width: 5px; height: 5px; margin: 8px 1px; border-radius: 50%; background: #6b6b75; }
.browser-frame > span:first-child { margin-left: 9px; }
.browser-hero { width: calc(100% - 20px); height: 48px; margin: 4px 10px 10px; background: var(--cobalt); opacity: .72; }
.browser-frame i { display: inline-block; width: calc(33.33% - 12px); height: 45px; margin-left: 7px; border: 1px solid #3b3b44; border-radius: 3px; }
.app-phone { position: absolute; top: 20px; left: 50%; width: 98px; height: 176px; padding: 13px 9px; border: 2px solid #5b5b67; border-radius: 19px; transform: translateX(-50%) rotate(3deg); }
.app-phone > span { display: block; width: 25px; height: 3px; margin: 0 auto 18px; border-radius: 5px; background: #555560; }
.app-phone > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.app-phone i { height: 44px; border: 1px solid #3b3b45; border-radius: 6px; }
.app-phone i:first-child { grid-column: 1 / -1; height: 34px; background: var(--cobalt); border-color: var(--cobalt); opacity: .75; }
.apps-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #5f76b8; stroke-width: 1; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 9vw, 130px); }
.about-copy { position: sticky; top: calc(var(--header-height) + 60px); align-self: start; }
.about-copy > p:not(.eyebrow) { max-width: 510px; margin: 25px 0 0; color: #aaaab4; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { min-height: 250px; padding: 29px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .25s ease, transform .25s ease; }
.value-card:hover { border-color: #526697; transform: translateY(-4px); }
.value-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #41537e; border-radius: 10px; color: #afc2fa; font-family: var(--font-display); font-size: .7rem; font-weight: 700; }
.value-card h3 { margin: 48px 0 12px; font-family: var(--font-display); font-size: 1.23rem; letter-spacing: -.025em; }
.value-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.project-invitation { background: var(--cobalt); color: var(--ink); }
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(70px, 9vw, 130px); }
.project-copy > p:not(.eyebrow) { max-width: 520px; margin: 26px 0 34px; color: #232939; font-size: 1.05rem; }
.possibility-list { border-top: 1px solid rgba(11, 11, 14, .35); }
.possibility-list > div { position: relative; display: grid; min-height: 128px; grid-template-columns: 54px 1fr 52px; align-items: center; border-bottom: 1px solid rgba(11, 11, 14, .35); }
.possibility-list span { font-family: var(--font-display); font-size: .72rem; font-weight: 700; }
.possibility-list p { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; }
.possibility-list i { position: relative; width: 38px; height: 38px; justify-self: end; border: 1px solid rgba(11, 11, 14, .5); border-radius: 50%; }
.possibility-list i::before, .possibility-list i::after { position: absolute; top: 50%; left: 50%; background: var(--ink); content: ""; transform: translate(-50%, -50%); }
.possibility-list i::before { width: 13px; height: 2px; }
.possibility-list i::after { width: 2px; height: 13px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 8vw, 110px); }
.contact-copy > p:not(.eyebrow, .remote-note) { max-width: 490px; margin: 28px 0 36px; color: var(--muted); }
.contact-links { display: grid; max-width: 430px; gap: 10px; }
.contact-links a { display: flex; align-items: center; gap: 14px; padding: 13px; border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s ease, background .2s ease; }
.contact-links a:hover { border-color: #59668d; background: var(--surface); }
.contact-link-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--cobalt); color: var(--ink); font-weight: 800; }
.contact-links small, .contact-links strong { display: block; }
.contact-links small { color: var(--muted); font-size: .68rem; }
.contact-links strong { font-size: .88rem; }
.remote-note { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; color: #c9c9d0; font-size: .8rem; }
.contact-form { padding: clamp(25px, 4vw, 44px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.form-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.form-heading h3 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; }
.form-heading p { margin: 0 0 2px; color: var(--muted); font-size: .78rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin: 0 0 7px; color: #d8d8df; font-size: .78rem; font-weight: 650; }
.field label span { color: var(--cobalt); }
.field label small { color: #777782; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #3a3a43; border-radius: 9px; background: #101014; color: var(--white); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { height: 49px; padding: 0 14px; }
.field textarea { min-height: 132px; padding: 13px 14px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2392929e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: calc(100% - 13px) center; background-repeat: no-repeat; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(112, 150, 255, .14); }
.field [aria-invalid="true"] { border-color: #ff8c93; }
.field-error { display: block; min-height: 17px; margin-top: 4px; color: #ffadb2; font-size: .7rem; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #a8a8b1; font-size: .72rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--cobalt); }
.consent a { color: #bdcbf5; text-decoration: underline; text-underline-offset: 2px; }
.submit-button { width: 100%; margin-top: 21px; }
.submit-button[disabled] { cursor: wait; opacity: .72; transform: none; }
.spinner { display: none; width: 16px; height: 16px; margin-left: 10px; border: 2px solid rgba(11, 11, 14, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button[disabled] .spinner { display: block; }
.form-status { min-height: 24px; margin-top: 12px; color: #c5d2fa; font-size: .78rem; text-align: center; }
.form-status.error { color: #ffadb2; }
.form-status.success { color: #b7c9ff; }

.site-footer { padding: 68px 0 20px; border-top: 1px solid var(--border); background: #08080a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr 1fr; gap: 48px; padding-bottom: 58px; }
.footer-brand p, .footer-company p { max-width: 270px; margin: 24px 0 0; color: #85858f; font-size: .8rem; }
.footer-grid h2 { margin: 0 0 20px; color: #777782; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: block; margin: 0 0 10px; color: #c1c1c8; font-size: .82rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 19px; border-top: 1px solid #222227; color: #686872; font-size: .7rem; }
.footer-bottom a { color: #b6b6bd; }
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #a5bbff; border-radius: 14px; background: var(--cobalt); color: var(--ink); box-shadow: 0 16px 34px rgba(0, 0, 0, .28); font-weight: 850; transition: transform .2s ease; }
.floating-contact:hover { transform: translateY(-3px); }

.legal-page { background: var(--light); color: var(--light-ink); }
.legal-page .site-header { position: static; background: var(--ink); }
.legal-main { padding: 90px 0 110px; }
.legal-layout { max-width: 820px; }
.legal-main h1 { margin-bottom: 28px; font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-lead { margin: 0 0 55px; color: var(--light-muted); font-size: 1.15rem; }
.legal-main section { padding: 28px 0; border-top: 1px solid #d7d7dd; }
.legal-main section h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.25rem; }
.legal-main section p { margin: 0; color: var(--light-muted); }
.text-link { display: inline-block; margin-top: 35px; color: #25376b; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.error-page { display: grid; min-height: 100svh; place-items: center; padding: 24px; text-align: center; }
.error-page main { max-width: 620px; }
.error-page h1 { font-size: clamp(3rem, 8vw, 6rem); }
.error-page main > p:not(.eyebrow) { margin: 25px 0 35px; color: var(--muted); }
.error-page .eyebrow { justify-content: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .product-stage { transform: scale(.9); transform-origin: center right; }
  .solution-grid { gap: 14px; }
  .solution-card { padding: 16px 16px 24px; }
  .solution-visual { height: 185px; }
  .about-grid, .project-grid, .contact-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: var(--header-height); right: 0; left: 0; display: grid; max-height: 0; padding: 0 18px; overflow: hidden; border-bottom: 1px solid transparent; background: #0b0b0e; opacity: 0; transition: max-height .3s ease, opacity .2s ease, padding .3s ease, border-color .3s ease; }
  .main-nav.open { max-height: calc(100svh - var(--header-height)); padding: 24px 18px 30px; border-color: var(--border); opacity: 1; }
  .main-nav > a:not(.button) { padding: 11px 5px; font-size: 1.05rem; }
  .main-nav > a:not(.button)::after { display: none; }
  .hero { padding-top: calc(var(--header-height) + 70px); }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 680px; }
  .product-stage { width: min(100%, 620px); margin-inline: auto; transform: none; }
  .strip-list { grid-template-columns: 1fr; padding: 17px 0; }
  .strip-list span { min-height: 42px; justify-content: flex-start; }
  .strip-list span + span { border: 0; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-intro .eyebrow { margin-bottom: 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { display: grid; grid-template-columns: 230px 1fr; column-gap: 25px; padding: 20px; }
  .solution-visual { height: 220px; grid-row: 1 / 6; margin: 0; }
  .solution-card p { min-height: auto; }
  .about-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-copy { position: static; }
  .project-grid { gap: 70px; }
  .contact-copy { max-width: 650px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-company { grid-column: 2 / 4; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .brand-tagline { font-size: .55rem; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .product-stage { height: 430px; }
  .system-window { top: 22px; width: 95%; height: 270px; }
  .dashboard-content { padding: 16px; }
  .metric-row div { padding: 8px; }
  .chart { height: 75px; }
  .code-window { right: -3%; bottom: 20px; width: 76%; height: 185px; }
  .code-window pre { padding: 12px; font-size: .48rem; }
  .phone { bottom: 0; left: 1%; width: 112px; height: 225px; }
  .phone-screen { padding: 22px 9px 10px; }
  .progress-ring { width: 51px; height: 51px; margin: 14px auto; }
  .stage-label { display: none; }
  .section-intro h2, .about h2, .project-copy h2, .contact h2 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .solution-card { display: block; padding: 16px 16px 25px; }
  .solution-visual { height: 205px; margin-bottom: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 220px; }
  .value-card h3 { margin-top: 35px; }
  .possibility-list > div { grid-template-columns: 38px 1fr 42px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { display: block; }
  .form-heading p { margin-top: 5px; }
  .contact-form { padding: 22px 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-company { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p { margin: 6px 0; }
  .floating-contact { right: 15px; bottom: 15px; }
}

@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; }
}
