/* Ascenciety: the approved design (owner approval of the visual mockup, 2026-11-29).
 *
 * One stylesheet for Home, Business Systems, Pricing and About.
 *
 * Palette: Obsidian #08090C, Midnight #101D35, Platinum #C4C9D0, Electric blue #246BFE.
 * Electric blue is for light, lines, icons and glows. Small text and links on dark use the light blue #7fa8ff
 * (8.4:1 on Obsidian). Main buttons are white with dark words (18:1).
 * Fonts, all self-hosted: Archivo (headings), Inter (text), Instrument Serif (accents; SIL OFL 1.1, licence in /fonts).
 *
 * Motion: every animation is decoration. The words and buttons are real, usable elements from the first frame.
 * With prefers-reduced-motion every animation and transition is cut to its end state. Without JavaScript every
 * section is visible and the hero shows a still picture of the same scene.
 */

@font-face { font-family: 'Archivo'; src: url('/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  --obsidian: #08090C; --midnight: #101D35; --navy-2: #0c1528; --platinum: #C4C9D0;
  --blue: #246BFE; --blue-ui: #2563eb; --blue-l: #7fa8ff;
  --text-2: rgba(255, 255, 255, .76); --text-3: rgba(255, 255, 255, .62);
  --line: rgba(196, 201, 208, .16); --line-2: rgba(196, 201, 208, .28);
  --glass: linear-gradient(160deg, rgba(46, 80, 160, .5), rgba(10, 18, 44, .66));
  --glass-border: rgba(140, 180, 255, .5);
  --r: 16px; --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: 'Archivo', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--obsidian); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--obsidian); color: #fff; font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
main a:not([class]) { color: #cfe0ff; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #9cc0ff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: #fff; color: #0a0f1c; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { position: relative; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.serif-r { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -.005em; }
.label { display: block; font: 600 .75rem/1.3 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--blue-l); }
.h-display { font-family: var(--head); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; }
.h2 { font: 700 clamp(2.1rem, 4.4vw, 3.75rem)/1.02 var(--head); letter-spacing: -.025em; }
.h2 .serif { font-size: 1.06em; letter-spacing: 0; }
.lede { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.1875rem); max-width: 560px; }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-tight { padding-top: 40px; }
.sec-head { max-width: 900px; margin-bottom: 48px; }
.sec-head .h2 { margin-top: 16px; }
#faq .sec-head { max-width: 560px; }

/* ---------- Glass ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .02), inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 46px -6px rgba(36, 107, 254, .6); }
/* Smoked glass: darker, for long text (pricing cards, tables, forms). */
.smoked { background: linear-gradient(165deg, rgba(30, 48, 96, .62), rgba(8, 13, 30, .86)); border: 1px solid rgba(140, 170, 235, .3); border-radius: 18px;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 40px -14px rgba(36, 107, 254, .45); }
.icon-tile { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(160deg, #2f6bff, #173fae); box-shadow: 0 0 18px rgba(36, 107, 254, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.icon-tile svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pkg { display: inline-block; margin-top: 16px; font: 600 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #b9d0ff; border: 1px solid rgba(127, 168, 255, .4); border-radius: 999px; padding: 6px 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 .9375rem/1 var(--body); white-space: nowrap; cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-light { background: #fff; color: #0a0f1c; box-shadow: 0 8px 30px rgba(36, 107, 254, .25), inset 0 -2px 0 rgba(36, 107, 254, .18); }
.btn-light .arr { color: var(--blue-ui); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(10, 14, 26, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-nav { min-height: 42px; padding: 0 18px; font-size: .875rem; background: #dbe6ff; color: #0a0f1c; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #cfe0ff; border-bottom: 1px solid rgba(127, 168, 255, .5); padding: 6px 0 3px; font-weight: 600; }
.link:hover { color: #fff; border-color: #fff; }

/* ---------- Floating glass navigation ---------- */
.nav { position: fixed; top: 18px; left: var(--gutter); right: var(--gutter); z-index: 50; }
.nav::before { content: ''; position: absolute; z-index: -1; top: -18px; bottom: -26px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: linear-gradient(180deg, rgba(8, 9, 12, .9), rgba(8, 9, 12, .62) 62%, transparent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.nav.scrolled::before { opacity: 1; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.0625rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.brand img { height: 40px; width: auto; }
.pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(14, 20, 36, .42); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.pill a { display: block; padding: 9px 16px; border-radius: 999px; font-size: .875rem; color: rgba(255, 255, 255, .88); transition: background .2s; }
.pill a:hover, .pill a[aria-current="page"] { background: rgba(255, 255, 255, .09); color: #fff; }
/* The small chevron beside Solutions, as in the approved mockup: the link goes down to the solutions. */
.pill li:first-child a::after { content: ''; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); margin-left: 7px; opacity: .7; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(14, 20, 36, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; place-items: center; }
.mobile-menu { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 10px; border-radius: 18px; background: #0a0f1e; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; font-weight: 500; }
.mobile-menu a:not(.btn):hover, .mobile-menu a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }
@media (max-width: 900px) {
  .nav nav, .nav .btn-nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu.open { display: block; }
}
/* No JavaScript on a small screen: the menu button could not open anything, so the links and the button are simply shown. */
@media (scripting: none) and (max-width: 900px) {
  .nav { position: absolute; }
  .menu-btn { display: none; }
  .mobile-menu { display: flex; flex-wrap: wrap; gap: 0 4px; position: static; margin-top: 8px; padding: 6px; }
  .mobile-menu a:not(.btn) { min-height: 44px; padding: 0 10px; font-size: .875rem; }
  .hero, .sys-hero { padding-top: 250px !important; }
  .phero { padding-top: 290px !important; }
  .ahero { padding-top: 250px !important; }
}

/* ---------- Home hero ---------- */
.hero { height: 100vh; height: 100svh; min-height: 720px; max-height: 1100px; overflow: hidden; --px: 0; --py: 0; background: #070b16; }
.stage-box { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
/* The stage is the picture's own 1672 x 941 pixel grid. assets/hero.js scales it to sit exactly on the picture
   (the same cover fit, anchored to the right), then switches it on. Until then it is not shown. */
.stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; visibility: hidden; pointer-events: none; }
.stage.on { visibility: visible; }
.stage.plain .gtile, .stage.plain .tile-lines { display: none; }
.glow { position: absolute; left: 980px; top: 640px; width: 560px; height: 220px; background: radial-gradient(closest-side, rgba(36, 107, 254, .35), transparent); mix-blend-mode: screen; opacity: 0; }
.stage.on .glow { animation: fadeIn 1.2s ease .7s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* The words, the buttons and the header are fully visible from the first frame: their entrance moves them, it never hides them. */
@keyframes rise { from { transform: translateY(26px); } }
@keyframes drop { from { transform: translateY(-16px); } }
/* The feature cards (home hero): one glass card per feature, each a label and a real snippet. assets/hero.js sets
   the size (--cw) and the place of each card; only transform and opacity change while they move. All six share one
   size, one type size, one border and one radius, and the glass is nearly solid so the label reads over the
   photograph. No blur behind them, so they cost little to draw. Hidden until the script has found places that keep
   them off the words, the devices and the counter. */
.orbit { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; visibility: hidden; overflow: hidden; }
.orbit.on { visibility: visible; }
.oc { position: absolute; left: 0; top: 0; width: var(--cw, 168px); padding: calc(var(--cw, 168px) * .035); border-radius: 12px; color: #fff; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; backface-visibility: hidden;
  background: linear-gradient(158deg, rgba(52, 84, 172, .95), rgba(19, 34, 80, .96) 58%, rgba(10, 18, 44, .97));
  border: 1px solid rgba(178, 206, 255, .55); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .26); }
.oc b { display: block; margin: 1px 2px calc(var(--cw, 168px) * .04); font: 600 max(10.8px, calc(var(--cw, 168px) * .08))/1.2 var(--body); letter-spacing: .005em; overflow-wrap: break-word; }
.oc img { display: block; width: 100%; height: auto; border-radius: 7px; }
/* The narrowest cards (phones): the label drops its first word and is set a little larger, so it stays on one line. */
.orbit.tight .oc-x { display: none; }
.orbit.tight .oc b { font-size: max(11.5px, calc(var(--cw, 168px) * .115)); }

/* Offscreen: nothing keeps animating. */
.paused .wire-flow { animation-play-state: paused !important; }

.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 8, 16, .82) 0%, rgba(5, 8, 16, .55) 32%, rgba(5, 8, 16, 0) 58%), linear-gradient(0deg, rgba(8, 9, 12, .9), transparent 22%); }
.hero-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); max-width: min(620px, 47vw); z-index: 3; }
.hero-copy .label { margin-bottom: 22px; }
.accent { display: block; font-size: clamp(2.125rem, 3.4vw, 3.125rem); line-height: 1; color: #eef2fa; margin-bottom: 14px; white-space: nowrap; }
.hero h1 { font: 700 clamp(2.75rem, 5.4vw, 5rem)/.98 var(--head); letter-spacing: -.03em; }
.hero h1 .ln { display: block; }
.hero h1 .ln > span { display: block; animation: rise .9s var(--ease) both; }
.hero .sub { margin: 24px 0 32px; color: var(--text-2); font-size: clamp(1rem, 1.25vw, 1.1875rem); max-width: 470px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.r1 { animation: rise .8s var(--ease) .1s both; }
.r2 { animation: rise .8s var(--ease) .18s both; }
.hero h1 .d1 > span { animation-delay: .24s; } .hero h1 .d2 > span { animation-delay: .32s; } .hero h1 .d3 > span { animation-delay: .4s; }
.r3 { animation: rise .8s var(--ease) .5s both; }
.r4 { animation: rise .8s var(--ease) .62s both; }
.home .nav, .enter .nav { animation: drop .8s var(--ease) .05s both; }

/* Narrower landscape screens: fewer glass tiles, so nothing sits on the words. */
@media (max-width: 1200px) and (min-width: 761px) and (orientation: landscape) {
  .gtile.hide-t, .tile-lines .hide-t { display: none; }
  .sys-copy { max-width: 41vw; }
  .sys-copy h1 { font-size: clamp(2.1rem, 4.1vw, 3rem); }
  .sys-copy p:not(.label) { font-size: 1rem; }
}
/* Stacked hero: phones, and tablets held upright. */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero { height: auto; min-height: 0; max-height: none; padding-top: 104px; display: flex; flex-direction: column; }
  .hero-copy { position: relative; left: auto; top: auto; transform: none; padding: 0 var(--gutter); max-width: none; }
  .hero-copy .label { margin-bottom: 16px; letter-spacing: .26em; }
  .hero h1 { font-size: clamp(2.3rem, 11.3vw, 2.75rem); }
  .accent { font-size: clamp(1.75rem, 8.7vw, 2.125rem); }
  .hero .sub { margin: 16px 0 22px; }
  .ctas { gap: 10px; }
  .ctas .btn { flex: 1 1 auto; padding: 0 16px; font-size: .875rem; }
  .hero .stage-box { position: relative; inset: auto; margin-top: 26px; aspect-ratio: 742 / 730; }
  .sys-hero .stage-box { position: relative; inset: auto; margin-top: 24px; aspect-ratio: 712 / 570; }
  .hero .scene-img { object-position: 50% 50%; }
  .shade { background: none; }
  .stage-box .scene-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .stage-box::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 80%, #08090C 100%); }
  .glow { display: none; }
}

/* ---------- Our belief ---------- */
.belief { padding: 110px 0 70px; }
.belief .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center; }
.belief .vr { width: 1px; height: 120px; background: var(--line-2); }
.belief h2 { font-size: clamp(2.375rem, 4.2vw, 3.75rem); line-height: 1.02; margin-top: 14px; }
.belief p:not(.label) { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.1875rem); max-width: 520px; }

/* ---------- Our solutions ---------- */
.solutions > .wrap > .label { text-align: center; margin-bottom: 28px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0f1729, #0a0f1c); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .5s var(--ease), border-color .5s; }
.svc:hover, .svc:focus-within { transform: translateY(-4px); border-color: rgba(127, 168, 255, .45); }
.svc .img { position: relative; aspect-ratio: 16 / 10; }
.svc .img img { width: 100%; height: 100%; object-fit: cover; }
.svc .img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #0c1322 100%); }
.svc .body { position: relative; flex: 1; padding: 4px 22px 24px; min-height: 178px; }
.svc h3 { font: 600 1.3125rem/1.15 var(--head); margin-bottom: 10px; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
@supports selector(:has(*)) {
  .svc h3 a:focus-visible { outline: none; }
  .svc:has(h3 a:focus-visible) { outline: 2px solid #9cc0ff; outline-offset: 3px; }
}
.svc p { color: var(--text-2); font-size: .90625rem; line-height: 1.5; padding-right: 30px; }
.svc .quote { display: block; margin-top: 10px; font: 600 .75rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-l); }
.svc .go { position: absolute; right: 18px; bottom: 18px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: .875rem; }
.sol-note { margin-top: 22px; text-align: center; color: var(--text-3); font-size: .875rem; }

/* ---------- Everything connected ---------- */
.connected { padding: 90px 0 60px; overflow: hidden; }
.connected-bg { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 40%; max-width: none; }
.connected::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #08090C 40%, rgba(8, 9, 12, .55) 64%, rgba(8, 9, 12, .85)), linear-gradient(180deg, #08090C, transparent 22%, transparent 78%, #08090C); }
.connected .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.cx { position: relative; aspect-ratio: 1.3; }
.cx-laptop { position: absolute; left: -8%; top: 0; width: 66%; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%); }
/* The approved refinement: a brighter laptop, with a soft light behind it. */
.cx-laptop img { width: 100%; }
.cx::before { content: ''; position: absolute; left: 2%; top: 14%; width: 48%; height: 56%; background: radial-gradient(closest-side, rgba(52, 116, 255, .34), transparent); filter: blur(10px); }
.chips { position: absolute; inset: 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 12px; font: 600 .9375rem var(--body); white-space: nowrap; }
.chip .icon-tile { width: 30px; height: 30px; }
.chip .icon-tile svg { width: 17px; height: 17px; }
.chip em { font: 600 .75rem var(--body); letter-spacing: .1em; color: #b9d0ff; border: 1px solid rgba(127, 168, 255, .5); border-radius: 999px; padding: 3px 6px; margin-left: 4px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; vector-effect: non-scaling-stroke; }
.wire { stroke: rgba(127, 168, 255, .5); stroke-width: 1.5; filter: drop-shadow(0 0 3px #246bfe); }
/* The approved refinement: light travelling along each connection, from the laptop to its step. */
.wire-flow { stroke: #cfe0ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px #5b93ff); animation: flow 3.2s linear infinite; animation-delay: var(--t, 0s); }
@keyframes flow { to { stroke-dashoffset: 0; } }
.connected .btn { margin-top: 28px; }
.connected .h2 { margin: 16px 0 18px; }

/* ---------- Our work ---------- */
.work .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.work .shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.work .shot img { width: 100%; }
.work .h2 { margin: 16px 0 18px; }
.tag { display: block; font: 600 .75rem/1.5 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.work .lede { margin-top: 14px; }

/* ---------- Founder: the photograph in its natural colour, no filter, no overlay ---------- */
.founder .wrap, .story-wrap { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.portrait { width: clamp(240px, 24vw, 320px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder .h2, .story-wrap .h2 { margin: 16px 0 6px; }
.founder-name { font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1.1; color: #dfe7f7; }
.founder .lede, .story-wrap .lede { margin-top: 18px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; margin-top: 16px; }
.steps::before { content: ''; position: absolute; left: 5%; right: 5%; top: 27px; height: 1px; background: linear-gradient(90deg, transparent, rgba(127, 168, 255, .5), transparent); }
.step .n { position: relative; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font: 700 1.125rem var(--head); margin-bottom: 20px; }
.step h3 { font: 600 1.1875rem var(--head); margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .90625rem; }

/* ---------- Pricing cards (home and the pricing page) ---------- */
.pricing-head { text-align: center; margin-bottom: 56px; }
.pricing-head h2 { margin-top: 16px; font-size: clamp(2.5rem, 5vw, 4.125rem); line-height: 1.02; }
.pricing-head h2 .serif { font-size: 1.04em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; text-align: left; }
.plan { position: relative; padding: 30px 28px; display: flex; flex-direction: column; }
/* The approved refinement: Pro has a lit border, and blue light reflected on the floor under it. */
.plan.pro { border-color: rgba(92, 146, 255, .95); box-shadow: 0 0 0 1px rgba(36, 107, 254, .65), 0 0 60px -10px rgba(36, 107, 254, .55), 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .16); }
.plan.pro::after { content: ''; position: absolute; left: 8%; right: 8%; top: calc(100% + 6px); height: 42px; pointer-events: none; background: radial-gradient(50% 100% at 50% 0, rgba(60, 124, 255, .5), rgba(36, 107, 254, .12) 55%, transparent 75%); filter: blur(7px); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue-ui); font: 600 .75rem var(--body); padding: 6px 14px; border-radius: 999px; box-shadow: 0 0 20px rgba(36, 107, 254, .7); white-space: nowrap; }
.plan h3 { font: 700 1.5rem var(--head); }
.plan .tg { color: var(--text-2); font-size: .875rem; margin: 4px 0 22px; min-height: 42px; }
.price { font: 700 2.5rem/1 var(--head); }
.price small, .price2 small { font: 500 .9375rem var(--body); color: var(--text-2); margin-left: 6px; }
.price2 { font: 700 1.625rem/1 var(--head); margin: 10px 0 22px; }
.plan ul { border-top: 1px solid var(--line); padding-top: 18px; flex: 1; }
.plan li { position: relative; padding: 6px 0 6px 26px; font-size: .90625rem; color: #e6ecf8; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 12px; height: 6px; border: solid #7fa8ff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan li em { font-style: normal; font-size: .75rem; color: var(--text-3); white-space: nowrap; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan .btn-ghost { background: rgba(255, 255, 255, .06); }
.fine { color: var(--text-3); font-size: .8125rem; margin-top: 18px; text-align: center; }
.pricing-note { color: var(--text-2); font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; align-items: start; }
.faq-grid details { border: 1px solid var(--line); border-radius: 14px; background: rgba(16, 29, 53, .35); }
.faq-grid details[open] { border-color: rgba(127, 168, 255, .4); }
.faq-grid summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 500; cursor: pointer; list-style: none; border-radius: 14px; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: '+'; color: var(--blue-l); font-size: 1.25rem; line-height: 1; transition: transform .25s; }
.faq-grid details[open] summary::after { transform: rotate(45deg); }
.faq-grid details > div { padding: 0 22px 20px; color: var(--text-2); font-size: .9375rem; }
.faq-grid details a { color: #cfe0ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Client words: filled by assets/work.js from data/testimonials.json, hidden while that file is empty ---------- */
.words { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.word { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(16, 29, 53, .35); }
.word blockquote { color: #e6ecf8; }
.word figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .875rem; color: var(--text-2); }
.word figcaption img, .word-ini { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.word-ini { display: grid; place-items: center; background: var(--midnight); font-weight: 600; }
.words-note { margin-top: 18px; color: var(--text-3); font-size: .8125rem; }

/* ---------- Closing ---------- */
.closing { min-height: 620px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #08090C 0%, rgba(8, 9, 12, .35) 35%, rgba(8, 9, 12, .55) 70%, #08090C 100%); }
.closing .in { position: relative; z-index: 2; padding: 0 var(--gutter); }
.closing h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); margin: 18px 0 16px; }
.closing p:not(.label) { color: var(--text-2); max-width: 520px; margin: 0 auto 32px; }
.closing-plain { text-align: center; }
.closing-plain h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); margin-bottom: 14px; }
.closing-plain p { color: var(--text-2); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--text-3); font-size: .875rem; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer .about { margin-top: 16px; max-width: 300px; }
.footer h2 { color: #fff; font: 600 .8125rem var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { margin: 2px 0; }
.footer li a, .footer .contact a { display: inline-block; padding: 6px 0; color: var(--text-2); }
.footer li a:hover, .footer .contact a:hover { color: #fff; }
.footer .contact { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 12px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; }

/* ---------- First paint. Until the page has loaded, the sections below the first one are skipped by layout and
   paint, so the first screen is not held up by the rest of the page. assets/site.js switches this off (class
   "cv-off") once the page is idle or at the visitor's first touch, key, click or scroll, and at once on a reload.
   It is never on with JavaScript off, when the address points at a part of the page (#pricing), or in a browser
   that lacks any of these features: there the page is laid out in full from the start, as before. ---------- */
@media (scripting: enabled) {
  html:not(.cv-off):not(:has(:target)) main > section ~ section,
  html:not(.cv-off):not(:has(:target)) .footer { content-visibility: auto; contain-intrinsic-size: auto 800px; }
}

/* ---------- Reveal on scroll (assets/site.js). Without JavaScript nothing is ever hidden. ---------- */
html:not(.no-js) .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html:not(.no-js) .reveal.in { opacity: 1; transform: none; }

/* ============================ BUSINESS SYSTEMS ============================ */
.sys-hero { height: 760px; overflow: hidden; background: #070b16; --zoom: 1.18; --shift: 7.177; --ay: .72; }
@supports (width: 1cqw) {
  .sys-hero .scene-img { inset: auto; right: 0; top: calc(var(--ay) * 100%); width: calc(max(100cqw, 100cqh * 1.77683) * var(--zoom)); height: auto; object-fit: fill; transform: translate(calc(var(--shift) * 1%), calc(var(--ay) * -100%)); }
}
.sys-hero .shade { background: linear-gradient(90deg, rgba(5, 8, 16, .9) 0%, rgba(5, 8, 16, .6) 34%, rgba(5, 8, 16, 0) 60%), linear-gradient(0deg, #08090C, transparent 25%); }
.sys-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-42%); max-width: min(560px, 46vw); z-index: 2; }
.sys-copy h1 { font: 700 clamp(2.5rem, 4.6vw, 4.125rem)/1.02 var(--head); letter-spacing: -.025em; margin: 18px 0; }
.sys-copy p:not(.label) { color: var(--text-2); font-size: 1.125rem; max-width: 470px; margin-bottom: 30px; }
/* The approved refinement: the icon tiles are translucent glass panels with a lit edge, each joined to the laptop by a thin line. */
.tile-lines { position: absolute; inset: 0; }
.tile-lines path { fill: none; stroke: rgba(160, 196, 255, .7); stroke-width: 1.2; stroke-dasharray: 300; stroke-dashoffset: 300; filter: drop-shadow(0 0 3px #246bfe); }
.stage.on .tile-lines path { animation: draw 1.1s var(--ease) both; animation-delay: var(--t, .9s); }
.gtile { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; font: 600 14px/1.2 var(--body); color: #fff; white-space: nowrap; opacity: 0;
  background: linear-gradient(158deg, rgba(92, 134, 232, .42), rgba(18, 34, 82, .5) 60%, rgba(12, 22, 54, .58));
  border: 1px solid rgba(178, 206, 255, .7);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 0 18px rgba(120, 165, 255, .14), 0 0 0 1px rgba(120, 165, 255, .14), 0 0 34px -6px rgba(62, 124, 255, .75); }
.stage.on .gtile { animation: pop .9s var(--ease) both; animation-delay: var(--t, .5s); }
.gtile .icon-tile { width: 34px; height: 34px; }
.gtile em { font: 600 10px var(--body); letter-spacing: .1em; color: #cfe0ff; border: 1px solid rgba(160, 196, 255, .55); border-radius: 999px; padding: 2px 6px; }
@keyframes pop { from { opacity: 0; transform: translate(var(--fx, 40px), var(--fy, 60px)) scale(.3); } to { opacity: 1; transform: none; } }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feat.rev .shot { order: 2; }
.feat .shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(36, 107, 254, .45); }
.feat .shot img { width: 100%; }
/* A definite width, so the tall phone picture holds its space before it has loaded (the page under it does not move). */
.feat .shot.phone { width: 100%; max-width: 300px; justify-self: center; }
.feat h2 { font: 700 clamp(1.75rem, 3vw, 2.5rem)/1.05 var(--head); margin: 14px 0; letter-spacing: -.015em; }
.feat p:not(.label) { color: var(--text-2); font-size: 1.0625rem; max-width: 470px; }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 34px; border-radius: 20px; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 .875rem var(--body); text-align: center; flex: 1; }
.flow li.sep { flex: 0 0 40px; height: 1px; background: linear-gradient(90deg, transparent, #7fa8ff, transparent); }
.flow-note { margin-top: 18px; text-align: center; color: var(--text-3); font-size: .875rem; }
.center-link { margin-top: 26px; text-align: center; }

/* The existing audit form and Book a call form, restyled only: glass card, rounded fields, the white main button.
   Their fields, wording, steps and wiring are in /audit-form.js and /book-form.js, and the blocks around them are
   the page's own markup and <style>: none of it is touched. "main .legacy" outranks the page's own ".legacy" rules. */
main .legacy.legacy-wrap { min-height: 0; background: transparent !important; font-family: var(--body); }
main .legacy .sec { padding: clamp(56px, 7vw, 96px) 0; }
main .legacy .inner { max-width: 1320px; padding: 0 var(--gutter); }
main .legacy .tag { font: 600 .75rem/1.3 var(--body); letter-spacing: .32em; color: var(--blue-l); margin-bottom: 16px; }
main .legacy .tag::before { display: none; }
main .legacy .sh { font: 700 clamp(2.1rem, 4.4vw, 3.75rem)/1.02 var(--head); letter-spacing: -.025em; margin-bottom: 16px; }
main .legacy .sh span { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: inherit; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: 0; }
main .legacy .ss { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; font-weight: 400; color: var(--text-2); max-width: 520px; }
main .legacy .audit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
main .legacy .audit-points { list-style: none; margin-top: 20px; display: grid; gap: 10px; color: var(--text-2); font-size: .9375rem; }
main .legacy .audit-points li { display: flex; align-items: center; gap: 10px; }
main .legacy .audit-points svg { color: var(--blue-l); flex: none; }
main .legacy .audit-form, main .legacy .audit-done, main .legacy .form-box { margin: 0; max-width: none; padding: 30px; border-radius: 20px; border: 1px solid var(--glass-border); text-align: left;
  background: linear-gradient(165deg, rgba(30, 48, 96, .62), rgba(8, 13, 30, .86));
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 46px -12px rgba(36, 107, 254, .5); }
main .legacy .btn-main, .legacy .book-bar .btn-main { background: #fff; color: #0a0f1c; border: 0; border-radius: 999px; min-height: 48px; padding: 0 26px; font: 600 .9375rem/1 var(--body); letter-spacing: 0; box-shadow: 0 8px 30px rgba(36, 107, 254, .25), inset 0 -2px 0 rgba(36, 107, 254, .18); }
main .legacy .btn-main:hover { box-shadow: 0 10px 36px rgba(36, 107, 254, .4), inset 0 -2px 0 rgba(36, 107, 254, .18); }
main .legacy .btn-main:disabled { opacity: .6; }
main .legacy .fg input, main .legacy .fg select, main .legacy .fg textarea { border-radius: 12px; border: 1px solid var(--line-2); background-color: rgba(8, 12, 24, .6); color: #fff; }
main .legacy .fg input:focus, main .legacy .fg select:focus, main .legacy .fg textarea:focus { outline: 2px solid #9cc0ff; outline-offset: 1px; border-color: #7fa8ff; }
main .legacy .wiz-steplabel, main .legacy .fsec, main .legacy .q-branch-h { font-family: var(--body); font-weight: 600; color: var(--blue-l); letter-spacing: .2em; }
main .legacy .wiz-fill { background: linear-gradient(90deg, #5b93ff, #b9d3ff); }
main .legacy .need-grid { gap: 8px; border: 0; background: none; }
main .legacy .need-card { border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8, 12, 24, .5); }
main .legacy .need-card.on { border-color: #7fa8ff; background: rgba(36, 107, 254, .16); }
main .legacy .mod-box { border-radius: 6px; }
main .legacy .btn-sub { background: #fff; color: #0a0f1c; border: 0; border-radius: 999px; min-height: 48px; font: 600 .9375rem/1 var(--body); letter-spacing: 0; box-shadow: 0 8px 30px rgba(36, 107, 254, .25), inset 0 -2px 0 rgba(36, 107, 254, .18); }
main .legacy .btn-sub:disabled { opacity: .6; }
main .legacy .btn-back { border-radius: 999px; min-height: 48px; }
main .legacy .cta-note { color: var(--text-3); }
main .legacy .consent span { color: var(--text-2); }
main .legacy .consent a { color: #cfe0ff; }
main .legacy .em, main .legacy .bf-err, main .legacy .audit-err { color: #ffb4b4; }
main .legacy .fg .err, main .legacy .fg .err:focus { border-color: #ff8a8f; }
@media (min-width: 900px) {
  main .legacy .consent span { font-size: 12.5px; }
  main .legacy .em, main .legacy .bf-err { font-size: 13px; }
}
main .legacy .ig-line { color: var(--text-2); }
.legacy .book-bar { border-top: 1px solid var(--line-2); background: rgba(8, 9, 12, .94); }
.legacy .book-bar .btn-ghost { min-height: 44px; border-radius: 999px; border-color: var(--line-2); font: 600 .875rem var(--body); }

/* Book a call: the words on the left, a glass card on the right. Closed, the card holds the page's own
   "Request a call" button; open, it is the form itself. */
main .legacy #quote .inner { text-align: left !important; }
main .legacy #quote .inner > .tag { justify-content: flex-start !important; }
main .legacy #quote .inner > .ss { margin-left: 0 !important; margin-right: 0 !important; margin-bottom: 12px; }
main .legacy #quote .book-choice { margin-left: 0; }
@media (min-width: 901px) {
  main .legacy #quote .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: 56px; align-items: start; }
  main .legacy #quote .inner > * { grid-column: 1; }
  main .legacy #quote #quoteBody { grid-column: 2; grid-row: 1 / -1; }
}
@supports selector(:has(*)) {
  @media (min-width: 901px) {
    main .legacy #quote .inner { --card-w: calc((100% - 2 * var(--gutter) - 56px) * 1.1 / 2.1); }
    main .legacy #quote .inner::after { content: ''; position: absolute; z-index: 0; right: var(--gutter); top: 0; width: var(--card-w); height: 208px; border-radius: 20px; border: 1px solid var(--glass-border);
      background: linear-gradient(165deg, rgba(30, 48, 96, .62), rgba(8, 13, 30, .86)); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 46px -12px rgba(36, 107, 254, .5); }
    main .legacy #quote .inner::before { content: 'Book a call'; position: absolute; z-index: 1; right: var(--gutter); top: 0; width: var(--card-w); padding: 30px 30px 0; font: 600 1.125rem var(--head); }
    main .legacy #quote .inner > .quote-open { position: absolute; z-index: 1; right: calc(var(--gutter) + 30px); top: 78px; width: calc(var(--card-w) - 60px); margin: 0; }
    main .legacy #quote .inner > .cta-note { position: absolute; z-index: 1; right: calc(var(--gutter) + 30px); top: 146px; width: calc(var(--card-w) - 60px); margin: 0; text-align: center; }
    main .legacy #quote .inner:has(#quoteBody:not([hidden]))::before, main .legacy #quote .inner:has(#quoteBody:not([hidden]))::after { display: none; }
    main .legacy #quote .inner:has(#quoteBody:not([hidden])) > .cta-note { position: static; width: auto; text-align: left; }
  }
}
@media (max-width: 900px) {
  main .legacy .audit-grid { grid-template-columns: 1fr; gap: 24px; }
  main .legacy #quote #quoteBody { margin-top: 24px; }
  main .legacy .audit-form, main .legacy .audit-done, main .legacy .form-box { padding: 22px 18px; }
}

/* ============================ PRICING ============================ */
.phero { padding: 150px 0 0; text-align: center; overflow: hidden; }
.phero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 20%; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 12, .55), rgba(8, 9, 12, .35) 30%, rgba(8, 9, 12, .75) 62%, #08090C 80%); }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(2.875rem, 6vw, 5.25rem); line-height: 1; margin: 18px 0; }
.phero .sub { color: var(--text-2); max-width: 520px; margin: 0 auto 14px; font-size: 1.125rem; }
.phero .pricing-note { margin-bottom: 26px; }
.phero .ctas { justify-content: center; }
.phero .plans { margin-top: 70px; padding-bottom: 64px; }
.table-wrap { border-radius: 18px; overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 .8125rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.compare th[scope="row"] { font-weight: 400; color: #e6ecf8; }
.compare td, .compare thead th + th { text-align: center; color: #b9d0ff; }
.compare td svg { margin: 0 auto; }
.compare .grp th { font: 600 .75rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-l); background: rgba(8, 12, 26, .45); }
.compare .price-row td { color: #fff; }
.compare .price-row b { font: 700 1.25rem var(--head); }
.compare small { color: var(--text-3); }
.compare .no { color: var(--text-3); }
.mini-badge { display: inline-block; margin-left: 6px; font: 600 .75rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: #cfe0ff; border: 1px solid rgba(127, 168, 255, .5); border-radius: 999px; padding: 3px 7px; vertical-align: middle; }
.cards { display: grid; gap: 20px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.info { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16, 29, 53, .35); }
.info h3 { font: 600 1.125rem var(--head); margin-bottom: 8px; }
.info p { color: var(--text-2); font-size: .9375rem; }
.info b { color: #fff; }

/* ============================ ABOUT ============================ */
.ahero { min-height: 640px; display: flex; align-items: center; overflow: hidden; padding: 120px 0 60px; }
.ahero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; }
.ahero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6, 9, 18, .92) 0%, rgba(6, 9, 18, .65) 38%, rgba(6, 9, 18, .1) 70%), linear-gradient(0deg, #08090C, transparent 30%); }
.ahero .in { position: relative; z-index: 2; max-width: 600px; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.ahero h1 { font-size: clamp(2.875rem, 5.6vw, 5rem); line-height: 1; margin: 18px 0 20px; }
.ahero p:not(.label) { color: var(--text-2); font-size: 1.125rem; max-width: 480px; margin-bottom: 30px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.cols3 > div { padding: 10px 40px; text-align: center; border-left: 1px solid var(--line); }
.cols3 > div:first-child { border-left: 0; }
.cols3 svg { width: 30px; height: 30px; margin: 0 auto 18px; stroke: #7fa8ff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cols3 h2 { font: 600 1.375rem var(--head); margin-bottom: 10px; }
.cols3 p { color: var(--text-2); font-size: .9375rem; max-width: 300px; margin: 0 auto; }
.prose { display: grid; gap: 16px; color: var(--text-2); font-size: 1.0625rem; max-width: 720px; }
.timeline { display: grid; gap: 28px; margin-top: 8px; }
.timeline > div { padding-left: 24px; border-left: 1px solid rgba(127, 168, 255, .4); }
.timeline h3 { font: 600 1.25rem var(--head); margin-bottom: 8px; }
.timeline p { color: var(--text-2); }
.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.beliefs li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(16, 29, 53, .35); color: #e6ecf8; }

/* ============================ SMALLER SCREENS ============================ */
@media (max-width: 1100px) {
  .cards4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 28px 18px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; gap: 30px; }
  .plan { max-width: 520px; width: 100%; margin: 0 auto; }
  .plan .tg { min-height: 0; }
  .cards.c4 { grid-template-columns: 1fr 1fr; }
  .connected .wrap { grid-template-columns: 1fr; gap: 12px; }
  .connected .wrap > div:last-child { order: -1; }
  .cx { max-width: 560px; margin-left: 8%; }
  .connected-bg { width: 100%; opacity: .5; }
  .connected::before { background: linear-gradient(180deg, #08090C, rgba(8, 9, 12, .7) 30%, rgba(8, 9, 12, .7) 70%, #08090C); }
}
@media (max-width: 900px) {
  .sec-head { margin-bottom: 32px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .cards.c3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .belief .wrap, .work .wrap, .founder .wrap, .story-wrap { grid-template-columns: 1fr; gap: 28px; }
  .belief .vr { display: none; }
  .belief { padding: 72px 0 40px; }
  .cards4 { grid-template-columns: 1fr; gap: 16px; }
  .svc .body { min-height: 0; padding-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 0 16px; }
  .step .n { grid-row: span 2; margin: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .portrait { width: min(100%, 320px); }
  .closing { min-height: 520px; }
  /* Everything connected on a phone: the laptop, then the five steps as a list joined by one line of light. */
  .cx { aspect-ratio: auto; max-width: none; margin-left: 0; }
  .cx::before { left: 10%; top: 0; width: 80%; height: 200px; }
  .cx-laptop { position: relative; left: auto; width: min(78%, 320px); margin: 0 auto -18px; }
  .wires { display: none; }
  .cx .chips { position: relative; inset: auto; display: grid; gap: 10px; padding-left: 26px; }
  .chips::before { content: ''; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, transparent, rgba(127, 168, 255, .8), transparent); }
  .chip { position: relative; left: auto !important; top: auto !important; white-space: normal; }
  .chip::before { content: ''; position: absolute; left: -22px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: #9cc0ff; box-shadow: 0 0 10px #246bfe; }
  .feat { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feat.rev .shot { order: 0; }
  .flow { flex-direction: column; padding: 26px; }
  .flow li.sep { flex: none; width: 1px; height: 24px; background: linear-gradient(180deg, transparent, #7fa8ff, transparent); }
  .gtile { font-size: 22px; padding: 14px 20px 14px 14px; border-radius: 20px; gap: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(158deg, rgba(74, 112, 208, .9), rgba(20, 36, 84, .94) 58%, rgba(12, 22, 54, .96)); }
  .gtile .icon-tile { width: 48px; height: 48px; border-radius: 13px; }
  .gtile .icon-tile svg { width: 26px; height: 26px; }
  .gtile em { font-size: 15px; padding: 3px 9px; }
  .phero { padding-top: 124px; }
  .phero .plans { margin-top: 48px; }
  .ahero { min-height: 560px; align-items: flex-end; padding-bottom: 40px; }
  .ahero-bg { object-position: 62% 50%; }
  .cols3 { grid-template-columns: 1fr; gap: 34px; }
  .cols3 > div { border-left: 0; padding: 0; }
  .beliefs, .cards.c4 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .sys-hero { height: auto; padding-top: 104px; display: flex; flex-direction: column; }
  .sys-copy { position: relative; left: auto; top: auto; transform: none; padding: 0 var(--gutter); max-width: none; }
  .sys-hero .scene-img { inset: 0; width: 100%; height: 100%; transform: none; top: 0; object-fit: cover; }
  .sys-hero .shade { background: none; }
  .gtile.hide-m, .tile-lines .hide-m { display: none; }
}
/* Phones: glass without the live blur behind it (it costs scrolling smoothness, and over the dark page it looks the same). */
@media (max-width: 760px) {
  .glass, .smoked, .btn-ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 380px) {
  .ctas .btn { flex-basis: 100%; }
  .brand { letter-spacing: .1em; font-size: 1rem; }
}

/* ---------- Reduced motion: every animation and transition is cut to its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .wire-flow { display: none; }
  html:not(.no-js) .reveal { opacity: 1; transform: none; }
}

/* ====================== HYBRID 03 HERO (Home; ported 4 December 2026 from commit 6969fb5) ====================== */
/* Phone hero: the mountains fill the whole first screen behind the headline, and the devices stand at its foot.
   The hero's height is fixed by the screen before anything loads, so nothing moves when the pictures arrive.
   The mountains are a backdrop: they are fetched once the page has loaded (site.js adds "bg-on"), so they never
   compete with the first screen's main picture on a slow connection. Without JavaScript they are there at once. */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: 100vh; min-height: 100svh; background: #070b16; }
  html.bg-on .hero, html.no-js .hero { background: #070b16 url(/images/approved/mountains-1100.webp) 58% 0 / cover no-repeat; }
  .hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 8, 16, .88) 0, rgba(5, 8, 16, .66) 36%, rgba(5, 8, 16, .24) 60%, rgba(5, 8, 16, 0) 74%); }
  .hero-copy { z-index: 3; margin-bottom: 26px; }
  .hero .stage-box { margin-top: auto; }
  .hero .stage-box .scene-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36%); mask-image: linear-gradient(180deg, transparent 0, #000 36%); }
}
/* The brand line is the headline: the serif of the approved accent, at headline size, with the same rise. */
.hero h1.hero-title { font: italic 400 clamp(3.25rem, 6.6vw, 6.25rem)/.96 var(--serif); letter-spacing: -.01em; color: #fff; }
.hero h1.hero-title .ln > span { padding-bottom: .06em; }
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero h1.hero-title { font-size: clamp(3rem, 14.5vw, 3.75rem); }
}
/* The entrance, wider screens only: the scene and its cards ease back a touch. Phones keep the lighter entrance. */
@keyframes scene { from { transform: scale(1.04); } }
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference), (min-width: 761px) and (orientation: landscape) and (prefers-reduced-motion: no-preference) {
  .hero .stage-box, .hero .orbit { transform-origin: 78% 60%; animation: scene 1.6s var(--ease) backwards; }
}
