/* =====================================================================
   Spironova AI homepage styles.

   Typography uses Inter with optical sizing and navy and blue headings.
   ===================================================================== */

:root {
    --bg-0: #f3f6fb;          /* footer */
    --bg-1: #ffffff;          /* page */
    --bg-2: #f6f8fc;          /* alternate sections */
    --bg-3: #e9eff9;          /* image placeholders */
    --line: #e3e9f2;
    --line-strong: #cfd9e8;
    --text: #0f1b33;          /* headings: deep navy */
    --text-2: #3b4a65;        /* body text */
    --muted: #5d6b84;         /* secondary text (5:1 on white) */
    --heading-muted: #2f5fd0; /* second line of headings: brand blue */
    --blue: #2563eb;
    --blue-light: #1d4ed8;    /* links and accents (readable on white) */
    --indigo: #4f46e5;
    --cyan: #0891b2;
    --teal: #0f766e;
    --violet: #7c3aed;
    --grad-brand: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --grad-card: #ffffff;
    --card-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 30px -20px rgba(15, 23, 42, .18);
    --ease: cubic-bezier(.22, .68, 0, 1.02);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 84px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    color: var(--text-2);
    background: var(--bg-1);
    color-scheme: light;
    font-synthesis: none;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); background: var(--bg-1); }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; background: var(--bg-1); overflow-x: hidden; }
body.modal-open, html.modal-open { overflow: hidden !important; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
button, summary, a, input, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; border-radius: 6px; }
::selection { background: rgba(37, 99, 235, .16); color: var(--text); }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); z-index: 5000; padding: 12px 20px; background: var(--grad-brand); color: #fff; border-radius: 10px; font-weight: 600; }
.skip-link:focus { transform: none; }

/* Two-tone headings: the second part in a calm, muted blue. */
.heading-muted { color: var(--heading-muted); }

/* Section label above a heading: sentence case, small, with a short accent line. */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-light); font-size: .9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; flex-shrink: 0; transform-origin: left center; }
h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.12; letter-spacing: -.028em; }

/* ---------- Buttons and links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-size: .94rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.4; white-space: nowrap; transition: translate .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, filter .25s; }
.button i { font-size: .8em; transition: translate .25s var(--ease); }
.button:hover { translate: 0 -2px; }
.button:hover i.fa-arrow-right { translate: 3px 0; }
.button-lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.button-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .55), inset 0 1px 0 rgba(255, 255, 255, .22); }
.button-primary:hover { filter: brightness(1.08); box-shadow: 0 16px 32px -12px rgba(79, 70, 229, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.button-glass, .button-outline { background: #fff; border-color: var(--line-strong); color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.button-glass:hover, .button-outline:hover { background: #f3f7ff; border-color: #a9c1f2; }
.button-white { background: #fff; color: #0b1f4d; border-color: rgba(15, 23, 42, .1); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .35); }
.button-white:hover { background: #eef3ff; }
.text-button { display: inline-flex; align-items: center; gap: 10px; border: none; background: none; color: var(--blue-light); padding: 0; font-weight: 600; font-size: .94rem; line-height: 1.6; text-align: left; }
.text-button:hover { color: #1e3a8a; }
.text-link { color: var(--blue-light); font-weight: 600; font-size: .92rem; text-decoration: underline; text-decoration-color: rgba(29, 78, 216, .35); text-underline-offset: 5px; }
.text-link:hover { color: #1e3a8a; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled, body.nav-open .site-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 23, 42, .18); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; overflow: hidden; }
.scroll-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #2563eb, #06b6d4); will-change: transform; }
.header-inner { display: flex; gap: 36px; align-items: center; height: var(--header-h); }
/* Company name (header and footer logo) in Arial. The rest of the page stays in Inter. */
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: Arial, Helvetica, sans-serif; font-size: 1.26rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(37, 99, 235, .18)); }
.brand b { font-weight: 700; color: var(--blue-light); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav > a, .nav-dropdown > summary { position: relative; color: var(--text-2); font-weight: 500; font-size: .92rem; white-space: nowrap; transition: color .2s; }
.main-nav > a:hover, .nav-dropdown > summary:hover, .nav-dropdown[open] > summary, .main-nav > a.is-active { color: var(--blue-light); }
.main-nav > a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--blue-light); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { cursor: pointer; display: flex; align-items: center; gap: 7px; list-style: none; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown summary i { font-size: .6rem; transition: transform .2s; }
.nav-dropdown[open] summary i { transform: rotate(180deg); }
.product-menu { position: absolute; top: calc(100% + 18px); left: -180px; width: 660px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .28); overflow: hidden; animation: menuIn .25s var(--ease-out) both; }
.menu-heading { color: var(--muted); font-size: .86rem; font-weight: 600; padding: 22px 26px 8px; }
.menu-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 14px 16px; }
.menu-product-grid a { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 12px; transition: background .2s; }
.menu-product-grid a:hover { background: #f3f7ff; }
.menu-product-grid strong { display: block; font-size: .92rem; font-weight: 600; color: var(--text); }
.menu-product-grid small { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.icon-tile { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 11px; background: #eaf1ff; color: var(--blue-light); border: 1px solid #d6e3ff; }
.icon-tile.teal { background: #e6f6f3; color: var(--teal); border-color: #c8ebe4; }
.icon-tile.violet { background: #f1ebfe; color: #6d28d9; border-color: #e1d5fb; }
.menu-footer { display: flex; align-items: center; gap: 8px; padding: 15px 26px; background: #f7f9fd; border-top: 1px solid var(--line); font-size: .9rem; color: var(--blue-light); font-weight: 600; }
.menu-footer i { font-size: .75rem; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-demo { font-size: .88rem; min-height: 42px; padding: 9px 18px; border-radius: 10px; }

.mobile-contact { display: none; }
/* "Sign up" (logged-out visitors only): a quiet outlined button beside "Log in".
   On phones it moves into the ☰ menu (.nav-signup), where there is room. */

/* "Interview Preparation" is shortened to "Interview Prep" only on small laptops (see below). */

.menu-toggle { display: none; background: #fff; border: 1px solid var(--line-strong); width: 42px; height: 42px; padding: 10px; border-radius: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 42, .35); }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: var(--header-h); background:
        radial-gradient(1100px 620px at 80% 4%, rgba(59, 130, 246, .16), transparent 62%),
        radial-gradient(900px 560px at 6% 96%, rgba(139, 92, 246, .10), transparent 62%),
        linear-gradient(180deg, #f2f6ff 0%, #f8faff 55%, var(--bg-1) 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
/* Soft fade at the bottom of the hero, so its blue glow blends into the next section instead of ending in a hard line. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg-1)); pointer-events: none; }
.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 30%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 75% 65% at 55% 30%, #000 15%, transparent 72%); }
.hero-glow { position: absolute; border-radius: 50%; will-change: transform; }
.glow-a { width: 680px; height: 680px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(59, 130, 246, .20), transparent 66%); animation: drift 17s ease-in-out infinite alternate; }
.glow-b { width: 560px; height: 560px; left: -220px; top: 34%; background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 66%); animation: drift 21s ease-in-out infinite alternate-reverse; }
.glow-c { width: 460px; height: 460px; right: 28%; bottom: -240px; background: radial-gradient(circle, rgba(6, 182, 212, .12), transparent 66%); animation: drift 24s ease-in-out infinite alternate; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; padding: 60px 0 56px; position: relative; z-index: 1; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text-2); font-size: .86rem; font-weight: 500; box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 18px -10px rgba(37, 99, 235, .35); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #06b6d4; box-shadow: 0 0 0 0 rgba(6, 182, 212, .5); animation: pulse 2.4s ease-out infinite; }
.hero h1 { margin-top: 26px; font-size: clamp(2.6rem, 4vw, 3.75rem); font-weight: 650; letter-spacing: -.038em; line-height: 1.05; }
.hero-description { color: var(--text-2); font-size: 1.125rem; line-height: 1.72; max-width: 540px; margin-top: 26px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.hero-points li:last-child { grid-column: 1 / -1; }
.hero-points li > span { min-width: 0; }
.hero-points strong { display: block; color: var(--text-2); font-weight: 600; }
.hero-points i { color: var(--teal); flex-shrink: 0; margin-top: 4px; }
.hero-point-description { display: block; margin-top: 2px; font-size: .875rem; }

.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 6% -4% -2% 8%; background: radial-gradient(closest-side, rgba(59, 130, 246, .28), rgba(139, 92, 246, .12) 60%, transparent); filter: blur(34px); z-index: 0; }
.hero-showcase { position: relative; z-index: 1; border-radius: 22px; padding: 0 20px 18px; border: 1px solid transparent; background: linear-gradient(180deg, #ffffff, #f9fbff) padding-box, linear-gradient(140deg, rgba(59, 130, 246, .55), rgba(148, 163, 184, .25) 45%, rgba(6, 182, 212, .45)) border-box; box-shadow: 0 40px 80px -36px rgba(30, 58, 138, .35), 0 2px 6px rgba(15, 23, 42, .04); }
.showcase-topline { display: flex; align-items: center; gap: 14px; padding: 18px 2px 16px; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }
.mini-wordmark { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text); font-weight: 500; }
.mini-wordmark i { color: var(--blue-light); }
.preview-badge { margin-left: auto; color: var(--muted); font-size: .72rem; border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 999px; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #f1f5fb; border: 1px solid var(--line); padding: 4px; border-radius: 12px; gap: 4px; margin-bottom: 14px; }
.hero-tabs button { background: none; color: #475569; border: 0; border-radius: 9px; font-size: .82rem; font-weight: 600; padding: 9px 6px; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .2s, color .2s; }
.hero-tabs button:hover { color: var(--text); }
.hero-tabs button[aria-selected="true"] { background: #fff; color: var(--blue-light); box-shadow: 0 1px 3px rgba(15, 23, 42, .12), inset 0 0 0 1px #d6e3ff; }
.preview-stage { display: grid; background: #f8fafd; border: 1px solid var(--line); border-radius: 15px; padding: 24px 22px 20px; min-height: 350px; }
/* All tabs sit in the same grid cell, so the window is always as tall as the tallest tab and
   never jumps when the tabs change. Inactive tabs keep their space but are invisible (also to
   screen readers and the keyboard). Their animations replay each time a tab becomes active. */
.hero-scene { grid-area: 1 / 1; display: flex; flex-direction: column; }
.preview-stage > .hero-scene[hidden] { display: flex !important; visibility: hidden; }
.hero-scene.is-active { animation: sceneIn .45s ease both; }
.hero-scene.is-active .workflow-step { animation: stepIn .55s var(--ease) both; animation-delay: calc(var(--step, 0) * .15s); }
.hero-scene.is-active .workflow-check { animation: checkIn .45s ease both; animation-delay: calc(.8s + var(--step, 0) * .5s); }
.hero-scene.is-active .preview-steps li { animation: stepIn .55s var(--ease) both; animation-delay: calc(.3s + var(--step, 0) * .15s); }
.hero-scene > .workflow-result { margin-top: auto; }
.hero-scene > .workflow-track, .hero-scene > .preview-steps { margin-bottom: 18px; }
.preview-scene-name { color: var(--blue-light); font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
/* A styled paragraph, not a heading: the preview is an illustration, not a section of the page. */
.preview-scene-title { color: var(--text); font-size: 1.38rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.workflow-track { margin-top: 22px; display: grid; gap: 10px; position: relative; }
.workflow-track::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(rgba(37, 99, 235, .35), rgba(37, 99, 235, .08)); }
/* Solid (not see-through) boxes: the connecting line then shows only in the gaps between them. */
.workflow-step { display: flex; align-items: center; gap: 12px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.workflow-track.single::before { display: none; }
/* Order of the steps in the hero preview (replaces inline style="--step:N"). */
.step-1 { --step: 1; } .step-2 { --step: 2; } .step-3 { --step: 3; }
.workflow-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--teal); background: #e6f6f3; border-radius: 9px; font-size: .9rem; }
/* Each product line takes its product's colour (teal / blue / violet, from core/homepage.py). */
.workflow-step.blue .workflow-icon { color: var(--blue-light); background: #eaf1ff; }
.workflow-step.violet .workflow-icon { color: #6d28d9; background: #f1ebfe; }

/* Product lines in the preview are buttons: they open that product's details. */
.preview-product { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, translate .25s var(--ease); }
.preview-product-text { display: block; min-width: 0; }
.preview-product:hover, .preview-product:focus-visible { background: #f5f8ff; border-color: #a9c1f2; translate: 3px 0; }
.preview-product .workflow-check { transition: background .2s, border-color .2s, color .2s; }
.preview-product.blue .workflow-check { border-color: rgba(29, 78, 216, .4); color: var(--blue-light); }
.preview-product.violet .workflow-check { border-color: rgba(109, 40, 217, .4); color: #6d28d9; }
.preview-product:hover .workflow-check, .preview-product:focus-visible .workflow-check { background: var(--grad-brand); border-color: transparent; color: #fff; }

/* A tab with a single product also shows how that product works, step by step. */
.preview-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-steps li { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--text-2); font-size: .76rem; font-weight: 500; line-height: 1.3; }
.preview-steps li span { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: #f1ebfe; color: #6d28d9; font-size: .68rem; font-weight: 700; }
.workflow-step strong { display: block; font-size: .86rem; font-weight: 600; color: var(--text); }
.workflow-step small { display: block; color: var(--muted); font-size: .76rem; }
.workflow-check { margin-left: auto; display: grid; place-items: center; border: 1px solid rgba(15, 118, 110, .4); color: var(--teal); width: 22px; height: 22px; border-radius: 50%; font-size: .6rem; flex-shrink: 0; }
.workflow-result { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; color: #fff; border-radius: 11px; background: linear-gradient(105deg, #0f766e, #0e7490); box-shadow: 0 12px 26px -14px rgba(15, 118, 110, .5); }
.hero-scene.blue .workflow-result { background: linear-gradient(105deg, #1d4ed8, #4338ca); box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .5); }
.hero-scene.violet .workflow-result { background: linear-gradient(105deg, #5b3fb0, #7c5ccf); box-shadow: 0 12px 26px -14px rgba(109, 40, 217, .5); }
.workflow-result > i { font-size: 1.1rem; color: #ccfbf1; }
.hero-scene.blue .workflow-result > i { color: #dbeafe; }
.hero-scene.violet .workflow-result > i { color: #ede9fe; }
.workflow-result strong { display: block; font-size: .84rem; font-weight: 600; }
.workflow-result small { display: block; color: #e0ecff; font-size: .72rem; }
.connection-mark { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.connection-mark span { width: 3px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .75); animation: voiceWave 1.6s ease-in-out infinite alternate; }
.connection-mark span:nth-child(2) { height: 22px; animation-delay: .4s; }
.connection-mark span:nth-child(3) { height: 16px; animation-delay: .8s; }
.showcase-footer { display: flex; align-items: center; justify-content: space-between; color: var(--muted); padding: 14px 2px 0; gap: 8px; font-size: .74rem; }
.showcase-footer button { background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text-2); padding: 4px 9px; font-size: .72rem; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; }
.showcase-footer button:hover { background: #f3f7ff; }
/* Centred under the window: never covers the footer text (left) or the Pause button (right). */
.showcase-float { position: absolute; bottom: -30px; left: 50%; translate: -50% 0; white-space: nowrap; display: flex; align-items: center; gap: 9px; padding: 12px 17px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: .8rem; font-weight: 600; box-shadow: 0 16px 36px -14px rgba(30, 58, 138, .3); animation: gentleFloat 6s ease-in-out infinite; }
.showcase-float i { color: var(--cyan); }
.preview-paused *, .preview-paused::after { animation-play-state: paused !important; }

.industry-strip { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 34px 0 60px; text-align: center; }
.industry-strip .section-label { align-self: stretch; margin-bottom: 8px; }   /* same badge as every section */
/* A balanced grid: 3 + 3 on laptops, 2 + 2 + 2 on tablets, one column on phones (see the media queries). */
.industry-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 12px; }
.industry-strip li { display: flex; }
/* Industry chips: each one opens its tab in the Solutions section (see home.js).
   Hover / keyboard focus: lift, glow, icon turns brand-blue, a small arrow fades in.
   The arrow's space is always reserved, so chips never change size and neighbours never move. */
.industry-chip { width: 100%; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); font-size: .98rem; font-weight: 500; transition: translate .3s var(--ease), border-color .3s, background .3s, box-shadow .3s, color .3s; }
.industry-chip-icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: #eaf1ff; color: var(--blue-light); font-size: .82rem; transition: background .3s, color .3s, transform .45s var(--ease); }
.industry-chip-go { margin-left: auto; display: inline-grid; place-items: center; width: 14px; font-size: .72rem; color: var(--blue-light); opacity: 0; translate: -6px 0; transition: opacity .3s, translate .3s var(--ease); }
.industry-chip:hover, .industry-chip:focus-visible { translate: 0 -3px; color: var(--text); border-color: #93b4f5; background: #f5f8ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), 0 14px 28px -14px rgba(37, 99, 235, .45); }
.industry-chip:hover .industry-chip-icon, .industry-chip:focus-visible .industry-chip-icon { background: var(--grad-brand); color: #fff; transform: rotate(-10deg) scale(1.06); }
.industry-chip:hover .industry-chip-go, .industry-chip:focus-visible .industry-chip-go { opacity: 1; translate: 0 0; color: var(--blue-light); }

/* ---------- Section badges ("Our products", "Resources" ...) ----------
   A centred badge opens every section: a brand-blue icon, the section name, and a
   thin glowing line on each side. On hover the badge lifts and glows, a soft light
   sweeps across it once and the icon turns. (Decorative: the badge is not a link.) */
.section-label { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 44px; }
.section-label::before, .section-label::after { content: ""; flex: 0 1 140px; height: 1px; background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .35)); transform-origin: right center; }
.section-label::after { background: linear-gradient(90deg, rgba(37, 99, 235, .35), transparent); transform-origin: left center; }
.section-badge { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; border-radius: 999px; border: 1px solid #c9d8fb; background: linear-gradient(135deg, #eef4ff, #f4f1ff); color: #1e3a8a; font-size: 1.05rem; font-weight: 600; letter-spacing: .005em; line-height: 1.2; white-space: nowrap; flex-shrink: 0; box-shadow: 0 8px 20px -14px rgba(37, 99, 235, .55), inset 0 1px 0 #fff; transition: translate .35s var(--ease), border-color .35s, box-shadow .35s, background .35s; }
.section-badge-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: .85rem; box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .55); transition: transform .45s var(--ease); }
.section-badge::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-20deg); pointer-events: none; }
.section-badge:hover { translate: 0 -2px; border-color: #93b4f5; background: linear-gradient(135deg, #e5eeff, #efe9ff); box-shadow: 0 0 0 5px rgba(37, 99, 235, .08), 0 14px 30px -14px rgba(37, 99, 235, .55), inset 0 1px 0 #fff; }
.section-badge:hover::after { left: 130%; transition: left .85s var(--ease-out); }   /* sweeps across once; snaps back unseen */
.section-badge:hover .section-badge-icon { transform: rotate(-12deg) scale(1.08); }
.mentor-section .section-label, .contact-section .section-label { margin-bottom: 30px; }

/* ---------- Section headings (full-width sections: badge, heading and summary centred) ---------- */
.section-heading { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 820px; margin: 0 auto 44px; }
.section-heading .section-label { align-self: stretch; margin-bottom: 24px; }   /* full width, so the badge is never squeezed */
.section-heading > p { color: var(--muted); max-width: 640px; font-size: 1.06rem; line-height: 1.7; margin-top: 18px; }
.section-note { text-align: center; margin-top: 36px; color: var(--muted); font-size: .95rem; }
.section-note a { color: var(--blue-light); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.section-note a i { font-size: .72rem; transition: translate .25s var(--ease); }
.section-note a:hover { color: #1e3a8a; }
.section-note a:hover i { translate: 3px 0; }
.result-count { margin-left: auto; color: var(--muted); font-size: .86rem; }

/* ---------- Products ---------- */
.products-section { background: var(--bg-1); padding-top: 80px; }   /* follows the hero directly */
.filter-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
/* Under a centred heading the filters are centred too, with the count on its own line below. */
.filter-bar .result-count, .resource-toolbar .result-count { width: 100%; margin: 6px 0 0; text-align: center; }
.filter-button { background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); padding: 8px 17px; font-size: .9rem; font-weight: 500; min-height: 42px; transition: background .2s, border-color .2s, color .2s; }
.filter-button:hover { background: #f3f7ff; color: var(--text); }
.filter-button.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .55); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { --tone: var(--blue-light); --tone-glow: rgba(37, 99, 235, .28); box-shadow: var(--card-shadow); display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--grad-card); transition: translate .3s var(--ease), border-color .3s, box-shadow .3s; }
.product-card.teal { --tone: var(--teal); --tone-glow: rgba(15, 118, 110, .25); }
.product-card.violet { --tone: #6d28d9; --tone-glow: rgba(109, 40, 217, .25); }
.product-card:hover { translate: 0 -6px; border-color: color-mix(in srgb, var(--tone) 45%, transparent); box-shadow: 0 30px 70px -30px var(--tone-glow), 0 0 0 1px color-mix(in srgb, var(--tone) 20%, transparent); }
.product-art { height: 210px; position: relative; overflow: hidden; background: var(--bg-3); }
.product-art > img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.product-art > img[src*="followup-"] { object-position: center 18%; }
.product-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 27, 51, .28) 100%); pointer-events: none; }
.product-card:hover .product-art > img { scale: 1.045; }
.product-category { position: absolute; z-index: 1; bottom: 14px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(15, 23, 42, .08); color: var(--tone); box-shadow: 0 2px 8px rgba(15, 23, 42, .12); font-size: .78rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.product-card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.28rem; letter-spacing: -.02em; }
.product-headline { color: var(--tone); font-size: .94rem; font-weight: 500; margin: 8px 0 10px; }
.product-description { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.product-card .text-button { margin-top: auto; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; color: var(--text); font-size: .94rem; }
.explore-icon { display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; width: 32px; height: 32px; font-size: .72rem; flex-shrink: 0; transition: background .25s, border-color .25s, color .25s; }
.product-card:hover .explore-icon { background: var(--grad-brand); border-color: transparent; color: #fff; }

/* ---------- Solutions ---------- */
.services-section { background: linear-gradient(180deg, var(--bg-1), var(--bg-2)); border-top: 1px solid var(--line); }
.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.solution-tabs { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.solution-tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; color: var(--text-2); padding: 15px 16px; text-align: left; border: 1px solid transparent; border-radius: 12px; font-size: .94rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.solution-tab > span { display: flex; align-items: center; gap: 13px; }
.solution-tab > i { font-size: .62rem; opacity: .5; }
.solution-tab > span > i { width: 20px; text-align: center; color: var(--muted); }
.solution-tab:hover { background: #eef3fb; color: var(--text); }
.solution-tab.is-active { background: #fff; border-color: #c9d8fb; color: var(--blue-light); font-weight: 600; box-shadow: 0 8px 20px -14px rgba(37, 99, 235, .45); }
.solution-tab.is-active > span > i, .solution-tab.is-active > i { color: var(--blue-light); opacity: 1; }
.solution-stage { position: relative; overflow: hidden; background: var(--grad-card); box-shadow: 0 2px 6px rgba(15, 23, 42, .04), 0 30px 60px -36px rgba(30, 58, 138, .25); border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; min-height: 470px; }
.solution-stage::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .55), transparent); }
.solution-stage::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .08), transparent 65%); pointer-events: none; }
.solution-panel { position: relative; z-index: 1; }
.solution-panel.is-active { animation: panelIn .45s var(--ease-out) both; }
.panel-eyebrow { display: block; color: var(--teal); font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.solution-panel h3 { font-size: 1.75rem; letter-spacing: -.025em; line-height: 1.2; max-width: 620px; }
.solution-panel > p { color: var(--muted); font-size: 1.02rem; margin: 15px 0 28px; max-width: 660px; }
.service-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 30px; }
.service-groups h4 { font-size: .94rem; margin-bottom: 14px; letter-spacing: -.01em; }
.service-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-groups li { display: flex; align-items: baseline; gap: 10px; color: var(--text-2); font-size: .92rem; line-height: 1.6; }
.service-groups li i { font-size: .66rem; color: var(--teal); }
.solution-panel .button { min-height: 46px; font-size: .9rem; padding: 11px 20px; }

/* ---------- Websites ---------- */
.website-section { overflow: hidden; background:
        radial-gradient(800px 520px at 88% 18%, rgba(99, 102, 241, .12), transparent 62%),
        radial-gradient(700px 520px at 0% 100%, rgba(6, 182, 212, .10), transparent 62%),
        var(--bg-2); border-top: 1px solid var(--line); }
.website-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.website-copy > p { font-size: 1.06rem; color: var(--text-2); margin-top: 22px; line-height: 1.72; }
.website-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.website-tags span { padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text-2); font-size: .84rem; font-weight: 500; }
.website-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.light-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-light); font-size: .92rem; font-weight: 500; border-bottom: 1px solid rgba(29, 78, 216, .35); padding-bottom: 3px; }
.light-link i { font-size: .7rem; }
.light-link:hover { color: #1e3a8a; border-color: #1e3a8a; }
.website-copy p.website-footnote { font-size: .86rem; margin-top: 18px; color: var(--muted); }
.website-visual { position: relative; }
.website-visual > img { border-radius: 20px; width: 100%; aspect-ratio: 1.3; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(30, 58, 138, .4), 0 0 0 8px rgba(255, 255, 255, .7); }
.website-caption { position: relative; margin: -30px 22px 0; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); color: var(--text); padding: 16px; border-radius: 13px; display: flex; justify-content: space-around; gap: 12px; box-shadow: 0 16px 36px -16px rgba(15, 23, 42, .25); font-size: .84rem; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.website-caption span { display: flex; align-items: center; gap: 8px; }
.website-caption i { color: var(--cyan); }

/* ---------- Interview preparation and overview video ---------- */

.benefit-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.benefit-list li { display: flex; gap: 11px; align-items: baseline; font-size: .95rem; color: var(--text-2); }
.benefit-list i { color: var(--teal); font-size: .72rem; }

.coming-soon i { color: var(--violet); }
.coming-soon span { margin-left: 3px; padding: 2px 10px; font-size: .76rem; font-weight: 600; border-radius: 999px; background: #f1ebfe; border: 1px solid #e1d5fb; color: #6d28d9; }

.product-dialog[open] { animation: dialogIn .35s var(--ease-out) both; }
.product-dialog::backdrop { background: rgba(15, 23, 42, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Mentor ---------- */
.mentor-section { background: var(--bg-1); padding: 0 0 112px; }
.mentor-layout { display: grid; grid-template-columns: 84px 1fr auto; gap: 30px; align-items: center; padding: 34px 40px; border-radius: 24px; border: 1px solid transparent; background: linear-gradient(120deg, #eef4ff, #f6f2ff 55%, #ecf8fb) padding-box, linear-gradient(120deg, #bcd0fa, #e4dcfb 50%, #bde6ef) border-box; box-shadow: 0 24px 50px -32px rgba(37, 99, 235, .35); }
.mentor-symbol { position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: var(--grad-brand); font-size: 1.85rem; box-shadow: 0 14px 28px -12px rgba(37, 99, 235, .5); }
.mentor-symbol > span { position: absolute; bottom: -8px; right: -8px; display: grid; place-items: center; width: 30px; height: 30px; background: #fff; border: 2px solid #eef4ff; border-radius: 9px; color: var(--cyan); font-size: .75rem; }
.mentor-layout h2 { font-size: 1.65rem; letter-spacing: -.022em; }
.mentor-layout p { color: var(--text-2); font-size: .98rem; max-width: 660px; margin-top: 10px; }

/* ---------- Resources ---------- */
.resources-section { background: var(--bg-2); border-top: 1px solid var(--line); }
.resource-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.resource-search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); background: #fff; border-radius: 12px; padding: 0 16px; width: 340px; max-width: 100%; transition: border-color .2s; }
.resource-search:focus-within { border-color: #93b4f5; }
.resource-search i { color: var(--muted); font-size: .9rem; }
.resource-search input { width: 100%; padding: 12px 0; background: transparent; border: none; color: var(--text); min-width: 0; font-size: .94rem; outline: none; }
.resource-search input::placeholder { color: var(--muted); }
.resource-select { display: flex; align-items: center; position: relative; }
.resource-select select { appearance: none; width: 220px; padding: 12px 38px 12px 15px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; font-size: .94rem; color: var(--text-2); }
.resource-select select option { background: #fff; color: var(--text); }
.resource-select i { position: absolute; right: 15px; pointer-events: none; font-size: .6rem; color: var(--muted); }
.brochure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brochure-card { display: flex; align-items: stretch; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; min-width: 0; background: var(--grad-card); box-shadow: var(--card-shadow); transition: border-color .25s, box-shadow .25s, translate .25s var(--ease); }
.brochure-card:hover { translate: 0 -3px; border-color: #b9cdf6; box-shadow: 0 22px 44px -26px rgba(30, 58, 138, .35); }
.brochure-cover { width: 86px; flex-shrink: 0; align-self: flex-start; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06); }
.brochure-cover img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; transition: scale .5s var(--ease); }
.brochure-card:hover .brochure-cover img { scale: 1.05; }
.brochure-info { min-width: 0; display: flex; flex-direction: column; flex: 1; }
.brochure-category { color: var(--teal); font-size: .82rem; font-weight: 600; margin-bottom: 5px; }
.brochure-info h3 { font-size: 1.04rem; line-height: 1.35; letter-spacing: -.015em; }
.brochure-info p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 7px 0; }
.brochure-info > small { color: var(--muted); font-size: .8rem; margin-top: auto; }
.brochure-actions { display: flex; align-items: center; gap: 10px; padding-top: 10px; }
.brochure-actions a { display: inline-flex; align-items: center; min-height: 34px; color: var(--blue-light); font-size: .9rem; font-weight: 600; }
.brochure-actions a:hover { color: #1e3a8a; }
.resource-more { text-align: center; margin-top: 30px; }
.resource-more .button { font-size: .9rem; }
.empty-state { padding: 35px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); }

/* ---------- About ---------- */
.about-section { background: var(--bg-1); border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-intro > p { color: var(--text-2); font-size: 1.06rem; line-height: 1.72; margin-top: 24px; max-width: 520px; }
.brand-promise { display: inline-flex; align-items: center; gap: 13px; margin-top: 32px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.brand-promise img { width: 38px; height: 38px; }
.brand-promise span { color: var(--text); font-size: .92rem; font-weight: 600; }
.approach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.approach-list li { display: flex; align-items: flex-start; gap: 20px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--grad-card); box-shadow: var(--card-shadow); transition: border-color .25s, translate .25s var(--ease); }
.approach-list li:hover { translate: 6px 0; border-color: #b9cdf6; }
.approach-icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: #eaf1ff; border: 1px solid #d6e3ff; color: var(--blue-light); font-size: 1.05rem; }
.approach-step { display: block; color: var(--blue-light); font-size: .82rem; font-weight: 600; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.approach-list h3 { font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: 7px; }
.approach-list p { color: var(--muted); font-size: .95rem; }

/* Company identity belongs with the company About section. */
.company-story { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 56px; align-items: center; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 56px; }
.company-story > div { min-width: 0; }
.company-story h3, .company-values > div h3 { color: var(--text); font-size: 1.65rem; line-height: 1.3; letter-spacing: -.025em; }
.company-story p { margin-top: 16px; color: var(--text-2); font-size: 1rem; line-height: 1.75; }
.company-symbols { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.company-symbols li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); color: var(--text-2); font-size: .9rem; font-weight: 600; }
.company-symbols img { width: 48px; height: 48px; object-fit: contain; }
.company-quote { grid-column: 1 / -1; margin: 0; padding: 26px 30px; border-left: 3px solid var(--blue-light); border-radius: 0 16px 16px 0; background: var(--bg-2); color: var(--text-2); font-size: 1.05rem; line-height: 1.75; }
.company-values { margin-top: 48px; }
.company-values > div p { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.company-values .approach-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.company-values h4 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 7px; }
@media (max-width: 767px) {
    .company-story { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding-top: 36px; }
    .company-values .approach-list { grid-template-columns: 1fr; }
    .company-symbols li { padding: 16px; }
    .company-quote { padding: 20px; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-layout > div:first-child > p { margin-top: 24px; color: var(--muted); font-size: 1rem; }
.faq-layout > div:first-child > p > a { color: var(--blue-light); font-weight: 600; }
.faq-layout > div:first-child > p > a:hover { color: #1e3a8a; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .25s, background .25s; }
.faq-list details[open] { border-color: #b9cdf6; background: #f7faff; }
.faq-list details[open] p { animation: panelIn .35s var(--ease-out) both; }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; list-style: none; cursor: pointer; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.faq-list summary i { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue-light); font-size: .7rem; transition: transform .25s, background .25s; }
.faq-list details[open] summary i { transform: rotate(45deg); background: #e6eeff; }
.faq-list details p { margin-top: 14px; color: var(--text-2); font-size: .97rem; line-height: 1.75; }

/* ---------- Contact banner ---------- */
.contact-section { background: var(--bg-2); padding: 0 0 112px; }
.contact-banner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 68px 64px; border-radius: 28px; color: #fff; border: 1px solid rgba(255, 255, 255, .16); background:
        radial-gradient(620px 320px at 92% 0%, rgba(34, 211, 238, .38), transparent 62%),
        radial-gradient(520px 320px at 0% 100%, rgba(167, 139, 250, .28), transparent 62%),
        linear-gradient(120deg, #1d4ed8 0%, #3730a3 58%, #2b2a80 100%);
    box-shadow: 0 50px 100px -50px rgba(37, 99, 235, .55); }
.contact-art { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%); }
.contact-copy, .contact-banner-actions { position: relative; z-index: 1; }
.contact-banner h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3rem); }
.contact-banner p { color: #dbe6ff; margin-top: 20px; font-size: 1.06rem; max-width: 560px; }
.contact-banner-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; flex-shrink: 0; }
.contact-banner-actions > a:last-child { color: #e6eeff; font-size: .96rem; font-weight: 500; }
.contact-banner-actions > a:last-child i { margin-right: 8px; font-size: .78rem; }
.contact-banner-actions > a:last-child:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-0); border-top: 1px solid var(--line); padding: 70px 0 0; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(720px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .45), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; }
.site-footer .brand { font-size: 1.18rem; }
.site-footer .brand img { width: 36px; height: 36px; }
.footer-brand p { font-size: .94rem; color: var(--muted); margin: 20px 0; line-height: 1.75; max-width: 320px; }
.footer-brand > a:last-child { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); font-size: .94rem; }
.footer-brand > a:last-child i { color: var(--blue-light); font-size: .78rem; }
.footer-grid h2 { font-size: .96rem; letter-spacing: -.01em; color: var(--text); margin: 6px 0 20px; }
.footer-grid > div:not(.footer-brand) > a { display: block; font-size: .92rem; color: var(--muted); margin-bottom: 12px; line-height: 1.6; width: fit-content; transition: color .2s; }
.footer-grid > div > a:hover { color: var(--blue-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }

/* ---------- Product details dialog ---------- */
.product-dialog { margin: auto; padding: 0; width: min(1040px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 48px); border: 1px solid var(--line-strong); border-radius: 22px; background: #fff; color: var(--text-2); overflow: auto; box-shadow: 0 40px 100px rgba(15, 23, 42, .3); }
.dialog-close { position: absolute; top: 15px; right: 15px; z-index: 2; display: grid; place-items: center; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--text); border-radius: 50%; width: 40px; height: 40px; }
.dialog-close:hover { background: #eef3ff; }
.product-detail { --tone: var(--blue-light); display: grid; grid-template-columns: .8fr 1.2fr; min-height: 540px; }
.product-detail.teal { --tone: var(--teal); }
.product-detail.violet { --tone: #6d28d9; }
.detail-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px 24px; background: linear-gradient(145deg, var(--bg-3), #eef3ff); min-width: 0; }
/* Preserve the original brochure artwork instead of enlarging a landscape crop. */
.detail-art img { display: block; width: auto; height: auto; max-width: 100%; max-height: 620px; object-fit: contain; border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .3); }
.detail-art-label { display: inline-flex; gap: 8px; align-items: center; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--tone); font-weight: 600; font-size: .85rem; }
.detail-art-label i { color: inherit; }
.detail-copy { padding: 48px 40px 38px; }
.detail-copy .eyebrow { font-size: .86rem; font-weight: 500; margin: 0 30px 14px 0; color: var(--muted); }
.detail-copy .eyebrow::before { display: none; }
.detail-copy h3 { font-size: 1.95rem; letter-spacing: -.028em; }
.detail-headline { color: var(--tone); font-weight: 500; margin-top: 10px; font-size: 1rem; }
.detail-copy > p:not(.detail-headline) { color: var(--text-2); font-size: 1rem; line-height: 1.8; margin-top: 15px; }
.detail-copy .benefit-list { margin: 22px 0; gap: 10px; }
.detail-copy .benefit-list li { font-size: .92rem; }
.detail-copy .benefit-list i { color: var(--tone); }
.detail-workflow { display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); padding-top: 18px; }
.detail-workflow span { color: var(--text-2); font-size: .8rem; border: 1px solid var(--line-strong); background: #f6f8fc; border-radius: 999px; padding: 4px 11px; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.detail-actions .button { min-height: 44px; padding: 10px 19px; font-size: .9rem; }
.detail-actions .text-link { font-size: .9rem; }

/* =====================================================================
   Motion
   ===================================================================== */
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(50px, 36px, 0) scale(1.08); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); } }
@keyframes sceneIn { from { opacity: .2; } to { opacity: 1; } }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes checkIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes voiceWave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, .55), 0 14px 34px -8px rgba(37, 99, 235, .8); } 100% { box-shadow: 0 0 0 18px rgba(99, 102, 241, 0), 0 14px 34px -8px rgba(37, 99, 235, .8); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes revealLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes revealRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes revealZoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
@keyframes imageSettle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Page-load entrance for the hero (pure CSS: content ends fully visible even without JavaScript). */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: revealUp .9s var(--ease-out) both; }
    .hero-copy > :nth-child(2) { animation-delay: .08s; }
    .hero-copy > :nth-child(3) { animation-delay: .16s; }
    .hero-copy > :nth-child(4) { animation-delay: .24s; }
    .hero-copy > :nth-child(5) { animation-delay: .32s; }
    .hero-visual { animation: revealRight 1.1s .2s var(--ease-out) both; }
    .industry-strip { animation: revealUp .9s .45s var(--ease-out) both; }
}

/* Scroll reveal. home.js adds .reveal-enabled to <html> (only when motion is allowed)
   and .is-visible to each .reveal element once it scrolls into view.
   --d on an element staggers it after its neighbours. */
/* Stagger order (replaces inline style="--d:N" in the template, so the HTML has no inline styles). */
.stagger-1 { --d: 1; } .stagger-2 { --d: 2; } .stagger-3 { --d: 3; }
.reveal-enabled .reveal:not(.is-visible) { opacity: 0; }
.reveal-enabled .reveal.is-visible { animation: revealUp .9s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms); }
.reveal-enabled .reveal.from-left.is-visible { animation-name: revealLeft; }
.reveal-enabled .reveal.from-right.is-visible { animation-name: revealRight; }
.reveal-enabled .reveal.zoom.is-visible { animation-name: revealZoom; animation-duration: 1s; }

/* Section headings: label, heading and summary arrive one after another. */
.reveal-enabled .section-heading.reveal.is-visible { animation: none; }
.reveal-enabled .section-heading.reveal.is-visible > * { animation: revealUp .9s var(--ease-out) both; }
.reveal-enabled .section-heading.reveal.is-visible > :nth-child(2) { animation-delay: .12s; }
.reveal-enabled .section-heading.reveal.is-visible > :nth-child(3) { animation-delay: .24s; }
/* The lines beside a badge draw outwards as the section appears. */
.reveal-enabled .section-label.is-visible::before, .reveal-enabled .section-label.is-visible::after,
.reveal-enabled .is-visible > .section-label::before, .reveal-enabled .is-visible > .section-label::after { animation: lineGrow .9s .2s var(--ease-out) both; }

/* Product images settle into place as their card appears. */
.reveal-enabled .product-card.is-visible .product-art > img { animation: imageSettle 1.4s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms); }

/* Gentle depth on large screens: the hero background moves slower than the page.
   --hero-shift (pixels scrolled) is set by home-motion.js. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
    .hero-glow { translate: 0 calc(var(--hero-shift, 0) * .35px); }
    .hero-lines { translate: 0 calc(var(--hero-shift, 0) * .18px); }
    .hero-copy { translate: 0 calc(var(--hero-shift, 0) * .1px); }
    .hero-visual { translate: 0 calc(var(--hero-shift, 0) * -.05px); }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 1600px) {
    .container { width: min(1320px, calc(100% - 120px)); }
    .hero-grid { gap: 100px; padding-block: 84px 64px; }
    .hero h1 { font-size: 4rem; }
    .product-art { height: 230px; }
}

@media (max-width: 1200px) {
    .container { width: calc(100% - 64px); }
    .header-inner { gap: 24px; } .main-nav { gap: 20px; } .header-actions { gap: 16px; }
    .brand { font-size: 1.16rem; } .brand img { width: 36px; height: 36px; }
    .main-nav > a, .nav-dropdown > summary { font-size: .88rem; }
    .hero-grid { gap: 44px; } .hero h1 { font-size: clamp(2.7rem, 4.6vw, 3.2rem); }
    .hero-showcase { padding-inline: 16px; } .preview-stage { padding: 22px 17px 17px; }
    .mini-wordmark { font-size: .76rem; } .preview-badge { font-size: .66rem; }
    .product-art { height: 185px; } .product-card-body { padding: 20px; } .product-card h3 { font-size: 1.2rem; }
    .services-layout { grid-template-columns: 240px 1fr; gap: 24px; } .solution-stage { padding: 32px; }
     .brochure-grid { grid-template-columns: repeat(2, 1fr); } .about-layout { gap: 56px; }
}

/* Small laptops: the full menu plus Log in, Sign up and Request a demo only just fit. */
@media (min-width: 1024px) and (max-width: 1200px) {
     
    .main-nav { gap: 18px; } .header-actions { gap: 12px; }
    .header-demo { padding-inline: 14px; }
}

@media (max-width: 1023px) {
    :root { --header-h: 76px; }
    .section { padding: 84px 0; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: var(--header-h); left: 24px; right: 24px; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; max-height: calc(100dvh - 100px); overflow: auto; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .25); }
    .main-nav.is-open { display: block; animation: menuIn .25s var(--ease-out) both; }
    .main-nav > a, .nav-dropdown > summary { display: flex; width: 100%; padding: 13px; min-height: 48px; font-size: 1rem; border-radius: 10px; }
    .main-nav > a:hover { background: #f3f7ff; }
    .main-nav > a.is-active::after { display: none; }
    .nav-dropdown > summary { justify-content: space-between; }
    .main-nav .mobile-contact { display: flex; color: var(--blue-light); font-weight: 600; }
    .product-menu { position: static; width: 100%; border-radius: 14px; margin: 0 0 12px; box-shadow: none; background: #f8fafd; border-color: var(--line); animation: none; }
    .menu-heading { padding: 16px 15px 6px; } .menu-product-grid { padding-inline: 8px; }
    .menu-product-grid a { padding: 10px 7px; } .menu-product-grid strong { font-size: .88rem; }
    .menu-footer { padding: 12px 16px; }
    .hero-grid { grid-template-columns: 1fr; padding: 64px 0 48px; gap: 64px; }
    .hero-copy { max-width: 680px; }
    .hero h1 { font-size: clamp(2.9rem, 7.4vw, 4rem); }
    .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
    .industry-strip { padding-bottom: 52px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); } .product-art { height: 210px; }
    .section-heading > p { font-size: 1rem; }
    .website-layout { gap: 40px; }
    .services-layout { grid-template-columns: 210px 1fr; gap: 20px; } .solution-tab { padding: 14px 12px; font-size: .88rem; }
    .solution-stage { padding: 28px; } .solution-panel h3 { font-size: 1.5rem; } .service-groups { gap: 18px; }
    
    .mentor-layout { grid-template-columns: 70px 1fr; gap: 24px; padding: 30px; } .mentor-layout > .button { grid-column: 2; width: fit-content; }
    .mentor-symbol { width: 66px; height: 66px; font-size: 1.6rem; }
    .about-layout { gap: 40px; } .faq-layout { gap: 50px; } .footer-grid { gap: 26px; }
    .contact-banner { padding: 52px 44px; }
}

@media (max-width: 767px) {
    :root { --header-h: 70px; }
    .container { width: calc(100% - 40px); } .section { padding: 72px 0; }
    .header-inner { gap: 12px; } .brand { font-size: 1.12rem; gap: 8px; } .brand img { width: 34px; height: 34px; }
    .header-actions { gap: 14px; } .header-demo { display: none; } 

    .main-nav { left: 14px; right: 14px; }
    .hero-grid { padding: 48px 0 40px; gap: 56px; }
    .hero-pill { font-size: .8rem; }
    .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); line-height: 1.07; }
    .hero-description { font-size: 1.04rem; margin-top: 22px; }
    .hero-actions .button { flex: 1 1 auto; }
    .hero-points { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
    .hero-showcase { padding: 0 14px 14px; }
    .preview-badge { display: none; }
    .hero-tabs button { font-size: .76rem; gap: 5px; }
    .preview-stage { padding: 20px 14px 16px; } .preview-scene-title { font-size: 1.2rem; }
    .workflow-step { padding: 10px; } .workflow-step strong { font-size: .82rem; } .workflow-step small { font-size: .72rem; }
    .workflow-result small { font-size: .68rem; } .showcase-footer > span { font-size: .7rem; }
    .showcase-float { bottom: -26px; font-size: .76rem; padding: 10px 14px; }
    .industry-strip { padding: 34px 0 44px; }
    .industry-strip ul { gap: 10px; }
    .industry-chip { font-size: .92rem; gap: 8px; padding: 6px 12px 6px 6px; } .industry-chip-icon { width: 28px; height: 28px; font-size: .74rem; }
}

/* Industry chips: 2 per row on tablets, one tidy column on phones. */
@media (max-width: 860px) {
    .industry-strip ul { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 520px) {
    .industry-strip ul { grid-template-columns: minmax(0, 300px); }
}

/* Phones (continued) */
@media (max-width: 767px) {
    h2 { font-size: 1.95rem; } .section-heading { margin-bottom: 30px; }
    .section-heading > p { margin-top: 14px; }
    .section-label { gap: 12px; margin-bottom: 32px; } .section-heading .section-label { margin-bottom: 20px; }
    .section-badge { font-size: .98rem; padding-right: 18px; } .section-badge-icon { width: 30px; height: 30px; font-size: .78rem; }
    .filter-bar { gap: 6px; } .filter-button { font-size: .84rem; padding: 7px 13px; } .filter-bar .result-count { width: 100%; margin: 10px 0 0; }
    .product-grid { gap: 18px; } .product-art { height: 170px; } .product-card-body { padding: 20px; }
    .services-layout { grid-template-columns: 1fr; gap: 18px; }
    .solution-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .solution-tab { padding: 11px 8px; font-size: .78rem; text-align: center; min-height: 74px; justify-content: center; background: #fff; border-color: var(--line); }
    .solution-tab > span { flex-direction: column; gap: 6px; align-items: center; width: 100%; line-height: 1.35; }
    .solution-tab > i { display: none; } .solution-tab > span > i { font-size: 1rem; }
    .solution-stage { padding: 28px 22px; min-height: 0; } .solution-stage::before { left: 20px; right: 20px; }
    .solution-panel h3 { font-size: 1.4rem; }
    .website-layout { grid-template-columns: 1fr; gap: 44px; }
    .website-visual > img { aspect-ratio: 1.6; } .website-caption { font-size: .78rem; margin-inline: 14px; }

    .mentor-section { padding-bottom: 72px; }
    .mentor-layout { grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 22px; }
    .mentor-layout > .button { grid-column: 1 / -1; width: 100%; }
    .mentor-symbol { width: 52px; height: 52px; font-size: 1.35rem; border-radius: 14px; } .mentor-symbol > span { width: 24px; height: 24px; font-size: .62rem; }
    .mentor-layout h2 { font-size: 1.4rem; }
    .resource-toolbar { flex-wrap: wrap; gap: 12px; } .resource-search { width: 100%; }
    .brochure-grid { gap: 14px; } .brochure-card { padding: 15px; gap: 14px; } .brochure-cover { width: 66px; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .approach-list li { padding: 20px; gap: 16px; } .approach-list li:hover { translate: 0 0; }
    .faq-layout { grid-template-columns: 1fr; gap: 30px; } .faq-layout h2 br, .faq-layout p br { display: none; }
    .faq-list details { padding: 18px; } .faq-list summary { font-size: .98rem; }
    .contact-section { padding-bottom: 64px; }
    .contact-banner { display: block; padding: 40px 26px; border-radius: 22px; }
    .contact-banner h2 { font-size: 2rem; }
    .contact-banner-actions { align-items: flex-start; margin-top: 30px; gap: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .site-footer { padding-top: 50px; }
    .footer-grid > .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-wrap: wrap; gap: 8px; font-size: .8rem; padding-block: 20px; }
    .product-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
    .product-detail { grid-template-columns: 1fr; min-height: 0; } .detail-art { padding: 24px 20px; gap: 14px; }
    .detail-art img { max-height: 360px; } .detail-copy { padding: 28px 22px; }
    .detail-copy .eyebrow { margin-right: 0; } .detail-copy h3 { font-size: 1.65rem; }
      
    /* Sideways slides can push past a narrow screen's edge; use the gentle rise instead. */
    .reveal-enabled .reveal.from-left.is-visible, .reveal-enabled .reveal.from-right.is-visible { animation-name: revealUp; }
}

@media (max-width: 480px) {
    .container { width: calc(100% - 32px); }
    .brand { font-size: 1.06rem; } .brand img { width: 32px; height: 32px; }
    .header-actions { gap: 12px; } .menu-toggle { width: 40px; height: 40px; } 
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; } .hero-actions .button { width: 100%; }
    .mini-wordmark { font-size: .76rem; } .window-dots { display: none; }
    .hero-tabs button i { display: none; }
    .preview-steps li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .workflow-step { gap: 10px; } .workflow-result small { font-size: .64rem; }
    .showcase-footer > span { font-size: .66rem; }
    .product-grid { grid-template-columns: 1fr; } .product-art { height: 200px; }
    .solution-tab { font-size: .72rem; padding: 11px 4px; }
    .service-groups { grid-template-columns: 1fr; gap: 22px; }
    .website-caption { flex-direction: column; align-items: center; gap: 7px; margin-top: -20px; }
     
    .mentor-layout { grid-template-columns: 1fr; } .mentor-symbol { display: none; }
    .resource-select select { width: 190px; }
    .brochure-grid { grid-template-columns: 1fr; } .brochure-cover { width: 76px; }
    .contact-banner h2 { font-size: 1.85rem; } .contact-banner h2 br { display: none; }
    .contact-banner-actions .button { width: 100%; }
}

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