/* American IT Experts. Layout concept: a bright, flag-inspired operations desk. White page, royal blue and coral from the logo, a real flag strip as the divider, pointer-reactive star panel behind a replaying incident record, an always-dark AI band, and a floating assistant. */
:root {
  --bg: #FFFFFF; --tint: #F2F6FF; --surface: #FFFFFF; --navy: #14235C; --text: #2A3652; --muted: #52607C; --line: #DCE4F2;
  --brand: #1D3FB5; --block: #1D3FB5; --block-2: #2C56DB; --on-block: #FFFFFF; --on-block-muted: #DCE6FF;
  --cta: #D42A48; --cta-hover: #B91F3B; --on-cta: #FFFFFF; --coral-soft: #FDE8EC; --blue-soft: #E6EDFF;
  --ok: #0F7A56; --ok-soft: #DAF2E8; --wash-a: #D9E6FF; --wash-b: #FFE1E7;
  --stripe-red: #D42A48; --stripe-white: #FFFFFF; --grid-ink: #14235C;
  --shadow: 0 26px 50px -26px rgba(20, 35, 92, .5); --shadow-sm: 0 12px 26px -16px rgba(20, 35, 92, .4);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --star: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2740%27%20height%3D%2732%27%20viewBox%3D%270%200%2040%2032%27%3E%3Cg%20fill%3D%27white%27%20fill-opacity%3D%27.92%27%3E%3Cpolygon%20points%3D%2710.00%2C4.40%2010.81%2C6.89%2013.42%2C6.89%2011.31%2C8.42%2012.12%2C10.91%2010.00%2C9.38%207.88%2C10.91%208.69%2C8.42%206.58%2C6.89%209.19%2C6.89%27%2F%3E%3Cpolygon%20points%3D%2730.00%2C20.40%2030.81%2C22.89%2033.42%2C22.89%2031.31%2C24.42%2032.12%2C26.91%2030.00%2C25.38%2027.88%2C26.91%2028.69%2C24.42%2026.58%2C22.89%2029.19%2C22.89%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1226; --tint: #0E1932; --surface: #131F3E; --navy: #F3F6FF; --text: #D3DBEC; --muted: #9FB0CE; --line: #243459;
    --brand: #8FB0FF; --block: #16307F; --block-2: #2040A8;
    --cta: #FF6B81; --cta-hover: #FF8798; --on-cta: #2A0610; --coral-soft: #3A1624; --blue-soft: #15264F;
    --ok: #4CC38A; --ok-soft: #0F3326; --wash-a: #15306E; --wash-b: #3A1624;
    --stripe-red: #E5445B; --stripe-white: #E9EEFB; --grid-ink: #0B1636;
    --shadow: 0 26px 50px -26px rgba(0, 0, 0, .85); --shadow-sm: 0 12px 26px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1226; --tint: #0E1932; --surface: #131F3E; --navy: #F3F6FF; --text: #D3DBEC; --muted: #9FB0CE; --line: #243459;
  --brand: #8FB0FF; --block: #16307F; --block-2: #2040A8;
  --cta: #FF6B81; --cta-hover: #FF8798; --on-cta: #2A0610; --coral-soft: #3A1624; --blue-soft: #15264F;
  --ok: #4CC38A; --ok-soft: #0F3326; --wash-a: #15306E; --wash-b: #3A1624;
  --stripe-red: #E5445B; --stripe-white: #E9EEFB; --grid-ink: #0B1636;
  --shadow: 0 26px 50px -26px rgba(0, 0, 0, .85); --shadow-sm: 0 12px 26px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.62; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--brand); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; line-height: 1.06; letter-spacing: -0.028em; }
h1 { font-size: clamp(2.35rem, 1rem + 5.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 16px; top: -4rem; background: var(--navy); color: var(--bg); padding: .6rem 1rem; z-index: 80; border-radius: 6px; }
.skip:focus { top: 8px; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 37rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; padding: .7rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--cta); color: var(--on-cta); box-shadow: 0 14px 26px -14px var(--cta); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .95rem; }
.btn-light { background: #FFFFFF; color: #14235C; }
.btn-light:hover { background: #E6EDFF; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #FFFFFF; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #FFFFFF; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-block: .55rem; position: relative; }
.logo-chip { display: inline-flex; background: #FFFFFF; border-radius: .6rem; padding: .25rem .5rem; flex: none; }
.logo-chip img { display: block; height: 50px; width: auto; }
.nav { display: flex; gap: .15rem 1.6rem; font-size: .98rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--text); padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--cta); }
.bar-end { display: flex; align-items: center; gap: .6rem; }
.theme-btn, .menu-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; padding: 0; }
.theme-btn svg, .menu-btn svg { width: 1.2rem; height: 1.2rem; }
.menu-btn { display: none; }
.nav a.nav-cta { display: none; }
.short { display: none; }

/* hero (home) */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); background: radial-gradient(58% 70% at 88% 6%, var(--wash-a), transparent 72%), radial-gradient(42% 52% at 2% 100%, var(--wash-b), transparent 70%), var(--bg); overflow: hidden; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero-media.on { opacity: 1; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, color-mix(in srgb, var(--bg) 62%, transparent) 55%, color-mix(in srgb, var(--bg) 28%, transparent)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 3rem 3.5rem; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; justify-items: start; min-width: 0; }
.hero h1 .a { background: linear-gradient(transparent 64%, var(--coral-soft) 64% 92%, transparent 92%); color: var(--cta); }
.hero h1 .b { color: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .3rem; }
.micro { font-size: .94rem; color: var(--muted); }
.rise > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.rise > *:nth-child(2) { animation-delay: .08s; }
.rise > *:nth-child(3) { animation-delay: .16s; }
.rise > *:nth-child(4) { animation-delay: .24s; }
.rise > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; padding: 2.2rem 0; min-width: 0; --px: 0; --py: 0; }
.canton { position: absolute; top: 0; right: 0; width: 82%; height: 72%; border-radius: .8rem; background-color: var(--block); background-image: var(--star); background-size: 40px 32px; transform: translate(calc(var(--px) * 14px), calc(var(--py) * 10px)); transition: transform .25s ease-out; }
.stripes { position: absolute; bottom: 0; left: 0; width: 58%; height: 44%; border-radius: .8rem; background: repeating-linear-gradient(to bottom, var(--stripe-red) 0 10px, var(--stripe-white) 10px 20px); box-shadow: inset 0 0 0 1px var(--line); transform: translate(calc(var(--px) * -16px), calc(var(--py) * -12px)); transition: transform .25s ease-out; }
.ticket { position: relative; z-index: 1; margin: 0 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: .8rem; box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.15rem; min-width: 0; }
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 500; }
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ticket-id { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding-top: .95rem; font-family: var(--font-mono); font-size: .84rem; color: var(--brand); font-weight: 500; }
.ticket-title { font-family: var(--font-display); color: var(--navy); font-weight: 700; font-size: 1.28rem; line-height: 1.25; padding-block: .3rem .8rem; }
.timeline li, .recs li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .75rem; padding: .7rem .6rem; margin-inline: -.6rem; border-top: 1px dashed var(--line); font-size: .95rem; line-height: 1.45; border-radius: .4rem; transition: background-color .4s; }
.timeline li.on, .recs li.on { background: var(--blue-soft); }
.timeline time, .recs b { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); padding-top: .15rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.timeline li:last-child time { color: var(--ok); font-weight: 500; }
.ticket-foot { border-top: 1px solid var(--line); padding-top: .8rem; font-size: .84rem; color: var(--muted); }

/* inner page hero */
.page-hero { position: relative; padding-block: clamp(2.5rem, 5.5vw, 4.5rem) clamp(2.5rem, 5vw, 3.8rem); background: radial-gradient(52% 80% at 92% 0%, var(--wash-a), transparent 72%), radial-gradient(40% 60% at 0% 100%, var(--wash-b), transparent 70%), var(--bg); overflow: hidden; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem 3.5rem; align-items: center; }
.ph-grid.solo { grid-template-columns: minmax(0, 46rem); }
.ph-grid > * { min-width: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 1rem + 4.4vw, 3.9rem); }
.page-hero h1 .a { color: var(--cta); }
.page-hero h1 .b { color: var(--brand); }
.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.2rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.panel-foot { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .4rem; font-size: .84rem; color: var(--muted); }
.board li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .72rem .6rem; margin-inline: -.6rem; border-top: 1px dashed var(--line); border-radius: .4rem; transition: background-color .4s; }
.board li.on { background: var(--blue-soft); }
.board b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.board span.d { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.board .st { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: var(--tint); color: var(--muted); white-space: nowrap; }
.board li.on .st { background: var(--ok-soft); color: var(--ok); }
.board .st::before { content: "Queued"; }
.board li.on .st::before { content: "Checked"; }
.recs li { grid-template-columns: 6.2rem minmax(0, 1fr); }
.recs li:first-child { border-top: 0; }
.flagmark { position: relative; min-height: 18rem; }
.flagmark .canton { width: 78%; height: 62%; }
.flagmark .stripes { width: 62%; height: 52%; }

.flagstrip { display: flex; height: 35px; }
.flagstrip .c { flex: 0 0 min(36%, 15rem); background-color: var(--block); background-image: var(--star); background-size: 40px 32px; background-position: 6px 2px; }
.flagstrip .s { flex: 1; background: repeating-linear-gradient(to bottom, var(--stripe-red) 0 5px, var(--stripe-white) 5px 10px); }

/* sections */
.section { padding-block: clamp(3.5rem, 7.5vw, 6rem); }
.section-tint { background: var(--tint); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); max-width: 46rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-row p { color: var(--muted); }
.note { margin-top: 1.6rem; color: var(--muted); max-width: 46rem; }
.fine { margin-top: 2rem; color: var(--muted); font-size: .9rem; max-width: 52rem; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    @keyframes reveal { from { opacity: .8; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  }
}

/* three paths (home) */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.6rem; }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .25s, box-shadow .25s; min-width: 0; }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path-top { position: relative; min-height: 9.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; }
.path-top.t-stars { background-color: var(--block); background-image: var(--star); background-size: 40px 32px; }
.path-top.t-stripes { background: repeating-linear-gradient(to bottom, var(--stripe-red) 0 9px, var(--stripe-white) 9px 18px); box-shadow: inset 0 -1px 0 var(--line); }
.path-top.t-grid { background-color: var(--grid-ink); background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px; }
.path-badge { background: #FFFFFF; color: #14235C; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; padding: .4rem .75rem; border-radius: 999px; line-height: 1.25; max-width: 70%; }
.path-ico { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #FFFFFF; color: #1D3FB5; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.path-ico svg { width: 1.6rem; height: 1.6rem; }
.path-body { padding: 1.5rem 1.5rem 1.7rem; display: grid; gap: .8rem; align-content: start; }
.path-body p { color: var(--muted); }
.ticks { display: grid; gap: .4rem; font-size: .97rem; }
.ticks li { padding-left: 1.4rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: .85rem; height: .85rem; background: var(--brand); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.path-link { margin-top: .4rem; justify-self: start; font-weight: 700; text-decoration: none; color: var(--brand); display: inline-flex; gap: .4rem; align-items: center; }
.path-link span { transition: transform .2s; }
.path:hover .path-link span, .path-link:hover span { transform: translateX(5px); }

/* services, cards */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19.5rem), 1fr)); gap: 1.4rem; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: 1.6rem 1.5rem 1.7rem; display: grid; gap: .75rem; align-content: start; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--brand); }
.service p { color: var(--muted); font-size: 1rem; }
.service .ticks { padding-top: .25rem; font-size: .96rem; }
.ico-box { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .8rem; background: var(--blue-soft); color: var(--brand); }
.ico-box.warm { background: var(--coral-soft); color: var(--cta); }
.ico-box svg { width: 1.55rem; height: 1.55rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4.5rem; align-items: center; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 1.1rem; justify-items: start; }
.stack p:not(.eyebrow) { color: var(--muted); }
.build-list { display: grid; gap: .9rem; }
.build-list li { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: 1.1rem 1.2rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; }
.build-list b, .principles b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.build-list div > span, .principles div > span { color: var(--muted); font-size: .97rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem; counter-reset: step; }
.step { position: relative; display: grid; gap: .6rem; align-content: start; min-width: 0; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--cta); color: var(--on-cta); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 1.45rem; left: 3.4rem; right: -1.2rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: 1rem; }

.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.4rem; align-items: stretch; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: 1.8rem 1.6rem 1.9rem; display: grid; gap: .9rem; align-content: start; min-width: 0; }
.model p { color: var(--muted); }
.model-main { background: linear-gradient(160deg, var(--block-2), var(--block)); border-color: transparent; box-shadow: var(--shadow); }
.model-main h3, .model-main p, .model-main li { color: var(--on-block); }
.model-main p { color: var(--on-block-muted); }
.model-main .ticks li::before { background: #FFFFFF; }
.tag { justify-self: start; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; background: #FFFFFF; color: #14235C; font-weight: 500; }

.principles { display: grid; gap: 1rem; }
.principles li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--tint); border-radius: .85rem; }
.section-tint .principles li { background: var(--surface); border: 1px solid var(--line); }
.tick { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: var(--bg); }
.tick svg { width: 1.1rem; height: 1.1rem; }
.ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.2rem; }
.op { background: var(--surface); border: 1px solid var(--line); border-radius: .9rem; padding: 1.4rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.op b { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.op > span:not(.tick) { color: var(--muted); font-size: .98rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); font-weight: 700; font-size: .98rem; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--cta); }
.pill.plain::before { display: none; }

/* AI band: always dark, with local tokens so shared components read correctly */
.ai { --navy: #FFFFFF; --text: #DCE6FF; --muted: #C0CFF0; --line: #3552B5; --surface: #1A2E78; --brand: #A9C1FF; --tint: #12236B; --blue-soft: #243C95; --bg: #0F1D56; --ok: #5ED39B; --ok-soft: #0E3A2C;
  position: relative; background-color: #0B1636; background-image: radial-gradient(60% 80% at 85% 20%, rgba(44, 86, 219, .55), transparent 70%), radial-gradient(45% 60% at 5% 100%, rgba(232, 72, 96, .25), transparent 70%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: auto, auto, 32px 32px, 32px 32px; color: var(--text); overflow: hidden; }
.ai h2, .ai h3 { color: #FFFFFF; }
.ai .eyebrow { color: #FF9BAA; }
.ai .section-head p:not(.eyebrow), .ai .stack p:not(.eyebrow) { color: #C0CFF0; }
.ai .ticks li { color: #E6EDFF; }
.ai .ticks li::before { background: #FF9BAA; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 2.5rem 4rem; align-items: center; }
.ai-grid > * { min-width: 0; }
.ai .panel { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(6px); }
.ai .panel-head, .ai .panel-foot { color: #C0CFF0; border-color: rgba(255,255,255,.2); }

/* agent flow diagram */
.flow { width: 100%; height: auto; display: block; }
.flow text { font-family: var(--font-body); }
.flow .node { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.flow .agent { fill: var(--block); stroke: none; }
.flow .review { fill: var(--coral-soft); stroke: var(--cta); stroke-width: 1.5; stroke-dasharray: 5 4; }
.flow .lbl { fill: var(--navy); font-weight: 700; font-size: 15px; }
.flow .sub { fill: var(--muted); font-size: 12px; }
.flow .on-dark { fill: #FFFFFF; }
.flow .on-dark.sub { fill: #DCE6FF; }
.flow .rv { fill: var(--cta); font-weight: 700; font-size: 13px; }
.ai .flow .review { fill: rgba(255, 107, 129, .18); stroke: #FF9BAA; }
.ai .flow .rv { fill: #FFC2CC; }
.flow .agent { fill: #2C56DB; }
.flow .wire { stroke: var(--brand); stroke-width: 2; fill: none; stroke-dasharray: 6 6; animation: dash 1.4s linear infinite; }
.flow .pulse { fill: var(--cta); }
.ai .flow .pulse { fill: #FF9BAA; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* lifecycle tabs */
.lifecycle { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.tablist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--tint); border-bottom: 1px solid var(--line); }
.tablist button { position: relative; display: grid; gap: .1rem; justify-items: start; text-align: left; padding: 1rem 1.2rem; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; border-bottom: 3px solid transparent; }
.tablist button b { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.tablist button span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.tablist button[aria-selected="true"] { background: var(--surface); border-bottom-color: var(--cta); }
.tablist button[aria-selected="true"] span { color: var(--cta); }
.tablist button:hover b { color: var(--brand); }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 3rem; padding: clamp(1.4rem, 3vw, 2.2rem); animation: fade .35s ease both; }
.tabpanel > * { min-width: 0; }
.tabpanel h3 { margin-bottom: .6rem; }
.tabpanel p { color: var(--muted); }
.tabpanel .out { background: var(--tint); border-radius: .8rem; padding: 1.1rem 1.2rem; display: grid; gap: .4rem; align-content: start; }
.tabpanel .out b { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem 4.5rem; align-items: start; }
.faq-grid > * { min-width: 0; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--blue-soft); color: var(--brand); font-family: var(--font-mono); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--brand); color: var(--bg); }
.faq details p { color: var(--muted); padding: 0 1.3rem 1.3rem; max-width: 44rem; }

/* closing band + form */
.cta { position: relative; background-color: var(--block); background-image: linear-gradient(160deg, var(--block-2), var(--block) 70%); color: var(--on-block); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: var(--star); background-size: 40px 32px; opacity: .2; pointer-events: none; }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem 4.5rem; align-items: center; }
.cta-in > * { min-width: 0; }
.cta h1, .cta h2 { color: #FFFFFF; margin-bottom: 1rem; }
.cta .eyebrow { color: #FFFFFF; margin-bottom: .9rem; }
.cta .email { color: #FFFFFF; }
.cta .btn-ghost.light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.55); }
.cta .btn-ghost.light:hover { background: rgba(255,255,255,.14); border-color: #FFFFFF; color: #FFFFFF; }
.cta .direct { border-top-color: rgba(255,255,255,.3); color: var(--on-block-muted); }
.cta-form .direct { border-top-color: var(--line); color: var(--muted); }
.cta-form .email { color: var(--navy); }
.cta .sub { color: var(--on-block-muted); font-size: 1.15rem; max-width: 34rem; }
.cta-card { background: var(--surface); color: var(--text); border-radius: 1rem; padding: 1.6rem; box-shadow: var(--shadow); display: grid; gap: .9rem; }
.cta-card .label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.email { font-family: var(--font-mono); font-weight: 500; color: var(--navy); overflow-wrap: anywhere; user-select: all; }
.next { display: grid; gap: .8rem; padding-top: 1.6rem; counter-reset: n; }
.next li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: center; color: #FFFFFF; font-weight: 500; counter-increment: n; }
.next li::before { content: counter(n); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #FFFFFF; color: #14235C; font-weight: 800; font-family: var(--font-display); }
.form-card { background: var(--surface); color: var(--text); border-radius: 1rem; padding: 1.7rem 1.6rem 1.8rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form-card h3 { font-size: 1.35rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .94rem; color: var(--navy); }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: .6rem; padding: .7rem .85rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.form-status { min-height: 1.4rem; font-size: .94rem; color: var(--muted); }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.privacy { font-size: .86rem; color: var(--muted); }

footer { background: #0B1636; color: #DCE4F0; padding-block: 2.5rem; font-size: .95rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.foot > * { min-width: 0; }
.foot small { display: block; color: #93A3BC; font-size: .88rem; padding-top: .7rem; max-width: 26rem; }
.foot h4 { margin: 0 0 .7rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: #93A3BC; font-weight: 500; }
.foot a { color: #DCE4F0; }
.foot ul { display: grid; gap: .45rem; }
.foot .email { color: #FFFFFF; }
.legal { grid-column: 1 / -1; border-top: 1px solid #243459; padding-top: 1.2rem; color: #93A3BC; font-size: .85rem; }

/* assistant */
.aix-launch { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px)); z-index: 70; display: inline-flex; align-items: center; gap: .6rem; min-height: 3.4rem; padding: .5rem 1.15rem .5rem .55rem; border-radius: 999px; border: 0; background: var(--block); color: #FFFFFF; font: 700 1rem/1 var(--font-body); box-shadow: var(--shadow); cursor: pointer; transition: transform .15s; }
.aix-launch:hover { transform: translateY(-2px); }
.aix-launch .ic { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #FFFFFF; color: #1D3FB5; }
.aix-launch .ic svg { width: 1.3rem; height: 1.3rem; }
.aix-launch .dot { position: absolute; top: .15rem; left: 2.35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--cta); border: 2px solid var(--block); }
.aix-panel { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px) + 8px) + 4.2rem); z-index: 71; width: min(24.5rem, calc(100vw - 32px)); height: min(36rem, calc(100dvh - 8.5rem)); display: flex; flex-direction: column; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); overflow: hidden; animation: fade .25s ease both; }
.aix-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; background: var(--block); color: #FFFFFF; }
.aix-head b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.1; }
.aix-head small { display: block; color: #DCE6FF; font-size: .78rem; padding-top: .15rem; }
.aix-x { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #FFFFFF; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0; }
.aix-x:hover { background: rgba(255,255,255,.16); }
.aix-log { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem; display: grid; gap: .7rem; align-content: start; background: var(--bg); }
.aix-m { max-width: 88%; padding: .65rem .85rem; border-radius: .9rem; font-size: .96rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.aix-m.bot { background: var(--tint); color: var(--text); border-bottom-left-radius: .25rem; justify-self: start; }
.aix-m.me { background: var(--block); color: #FFFFFF; border-bottom-right-radius: .25rem; justify-self: end; }
.aix-m.typing { display: inline-flex; gap: .3rem; padding-block: .8rem; }
.aix-m.typing i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--muted); animation: pulse 1s ease-in-out infinite; }
.aix-m.typing i:nth-child(2) { animation-delay: .15s; }
.aix-m.typing i:nth-child(3) { animation-delay: .3s; }
.aix-opts { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: .1rem; }
.aix-opt { font: 600 .9rem/1.2 var(--font-body); padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand); cursor: pointer; text-decoration: none; }
.aix-opt:hover { background: var(--brand); color: var(--bg); }
.aix-opt.go { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.aix-opt.go:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--on-cta); }
.aix-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: var(--surface); }
.aix-form input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: .6rem .95rem; }
.aix-form input:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.aix-form button { flex: none; width: 2.9rem; border: 0; border-radius: 50%; background: var(--cta); color: var(--on-cta); cursor: pointer; display: grid; place-items: center; }
.aix-form button svg { width: 1.2rem; height: 1.2rem; }
.aix-foot { padding: 0 .9rem .6rem; background: var(--surface); font-size: .76rem; color: var(--muted); }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  html.js .menu-btn { display: inline-grid; }
  html.js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 0 0 1rem 1rem; box-shadow: var(--shadow); padding: .5rem 1rem 1rem; z-index: 5; }
  html.js .nav.open { display: flex; }
  html.js .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  html.js .nav a:last-child { border-bottom: 0; }
  html.js .nav a.nav-cta { display: inline-flex; margin-top: .9rem; padding: .7rem 1.6rem; border-bottom: 0; color: var(--on-cta); }
  .bar { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .hero-grid, .ph-grid, .split, .faq-grid, .cta-in, .ai-grid, .tabpanel { grid-template-columns: minmax(0, 1fr); }
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent), var(--bg) 85%); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .ticket { margin: 0 .9rem; }
  .timeline li { grid-template-columns: 4.2rem minmax(0, 1fr); gap: .5rem; }
  .recs li { grid-template-columns: 5rem minmax(0, 1fr); gap: .5rem; }
  .logo-chip img { height: 44px; }
  .bar-end > .btn { display: none; }
  .long { display: none; }
  .short { display: inline; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .aix-launch .t { display: none; }
  .aix-launch { padding: .5rem; }
  .aix-launch .dot { left: 2rem; }
  .aix-panel { left: max(16px, env(safe-area-inset-left, 0px)); width: auto; height: min(34rem, calc(100dvh - 7.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .path, .canton, .stripes, .timeline li, .board li, .recs li, .service, .aix-launch { transition: none; }
  .chip::before, .flow .wire, .aix-m.typing i, .rise > *, .tabpanel, .aix-panel { animation: none; }
}

/* hero motion: aurora, live network canvas, floating status badges, flag sheen */
.hero::before, .page-hero::before { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; background: radial-gradient(38% 42% at 72% 28%, color-mix(in srgb, var(--block-2) 26%, transparent), transparent 70%), radial-gradient(34% 40% at 18% 82%, color-mix(in srgb, var(--cta) 18%, transparent), transparent 70%); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; transition: opacity 1s; }
.hero canvas.fx, .page-hero canvas.fx { -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 58%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 58%); }
.has-video canvas.fx { opacity: 0; }
.ai > .wrap { position: relative; z-index: 1; }
.fbadge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 600 .82rem/1 var(--font-body); color: var(--navy); white-space: nowrap; animation: bob 6s ease-in-out infinite; transform: translate(calc(var(--px) * var(--d, 18px)), calc(var(--py) * var(--d, 18px) * .7)); transition: transform .25s ease-out; }
.fbadge i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--cta); }
.fbadge i.ok { background: var(--ok); }
.fb-a { top: -.15rem; left: .2rem; --d: 14px; }
.fb-b { top: -.15rem; right: .6rem; --d: -12px; animation-delay: -2s; }
.fb-c { bottom: -.1rem; right: 2.2rem; --d: 10px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.flagstrip .s { position: relative; overflow: hidden; }
.flagstrip .s::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 8s ease-in-out infinite; }
@keyframes sheen { 0%, 62% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (max-width: 860px) {
  .fbadge { display: none; }
  .hero canvas.fx, .page-hero canvas.fx { -webkit-mask-image: none; mask-image: none; opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::before, .fbadge, .flagstrip .s::after { animation: none; }
}

/* contact details */
.reach { display: grid; gap: .9rem; margin-top: 1.5rem; }
.reach li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .75rem; color: #FFFFFF; line-height: 1.45; }
.reach b { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #DCE6FF; font-weight: 500; padding-top: .25rem; }
.reach a { color: #FFFFFF; }
footer address { font-style: normal; color: #DCE4F0; }
.cta-card a.email, .op a { text-decoration: none; }
.cta .cta-card .email { color: var(--text); }
.op a { font-weight: 600; }

/* legal text */
.prose { max-width: 46rem; display: grid; gap: .9rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; }
.aix-foot a { color: var(--brand); }
.privacy a { color: var(--brand); }
