/* ==========================================================================
   AFU Datacenter — Design system & components
   Mobile-first base styles. Breakpoint overrides live in responsive.css.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours */
  --navy-950: #061230;
  --navy-900: #081736;
  --navy-800: #0B1F4B;
  --navy-700: #12306E;
  --blue-700: #1A43BA;
  --blue-600: #1F4FD8;
  --blue-500: #2F6BFF;
  --blue-50: #EEF3FF;
  --cyan-500: #0EA5C6;
  --cyan-400: #22C3E6;
  --cyan-300: #67DCF2;
  --cyan-50: #E8FAFD;
  --orange-600: #C94A12;   /* CTA background (white text, AA 4.7:1) */
  --orange-700: #A93D0D;
  --orange-400: #F2762E;   /* decorative accent only */
  --green-500: #10B981;
  --amber-50: #FFF7E6;
  --amber-600: #B45309;

  /* Neutrals */
  --white: #FFFFFF;
  --grey-25: #FAFBFD;
  --grey-50: #F5F7FB;
  --grey-100: #EDF1F7;
  --grey-200: #E1E7F0;
  --grey-300: #CBD5E1;
  --grey-500: #64748B;
  --grey-600: #475569;
  --grey-700: #334155;
  --ink: #0F1B33;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3D2EE;

  /* Semantic */
  --text: var(--grey-700);
  --heading: var(--ink);
  --link: var(--blue-600);
  --line: var(--grey-200);
  --surface: var(--white);
  --surface-alt: var(--grey-50);
  --focus: #F2762E;

  /* Typography */
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem);
  --fs-h1: clamp(1.85rem, 1.3rem + 2.4vw, 3.05rem);
  --lh-tight: 1.2;
  --lh-body: 1.65;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 88px;
  --gutter: 16px;
  --container: 1240px;
  --section-y: 56px;

  /* Shape & depth */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(15, 27, 51, .06);
  --shadow-sm: 0 2px 8px rgba(15, 27, 51, .06), 0 1px 2px rgba(15, 27, 51, .05);
  --shadow-md: 0 10px 30px -10px rgba(15, 27, 51, .18), 0 2px 6px rgba(15, 27, 51, .05);
  --shadow-lg: 0 24px 60px -18px rgba(8, 23, 54, .32), 0 4px 12px rgba(8, 23, 54, .06);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 150ms;
  --t-med: 220ms;

  --header-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body); color: var(--text); background: var(--surface); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: var(--lh-tight); margin: 0 0 var(--sp-3); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 var(--sp-4); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: var(--r-md); border: 1.5px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.btn .btn-icon { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover .btn-icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-accent { background: var(--orange-600); color: #fff; box-shadow: 0 6px 18px -8px rgba(201, 74, 18, .7); }
.btn-accent:hover { background: var(--orange-700); color: #fff; }
.btn-outline { border-color: var(--grey-300); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost { color: var(--navy-800); padding-inline: 8px; }
.btn-ghost:hover { color: var(--blue-600); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue-600); text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: var(--sp-3); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange-400); border-radius: 2px; }
.eyebrow--light { color: var(--cyan-300); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); line-height: 1.2; }
.badge-concept { background: var(--blue-50); color: var(--blue-700); }
.badge-illustrative { background: var(--amber-50); color: var(--amber-600); }
.badge--light { background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: var(--sp-4); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ---------- Utility bar & header ---------- */
.utility-bar { display: none; background: var(--navy-900); color: var(--on-dark-muted); font-size: .8rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility-tag { margin: 0; letter-spacing: .02em; }
.utility-links { display: flex; align-items: center; gap: 20px; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); text-decoration: none; }
.utility-links a:hover { color: #fff; }
.utility-links .icon { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow var(--t-med); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15, 27, 51, .25); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy-800); letter-spacing: .02em; }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-500); margin-top: 4px; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: var(--on-dark-muted); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: var(--navy-800); transition: background-color var(--t-fast), color var(--t-fast); }
.icon-btn:hover { background: var(--grey-100); color: var(--blue-600); }
.header-cta { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Desktop nav (enabled in responsive.css) */
.primary-nav { display: none; }

/* ---------- Mega menu (structure; layout activates on desktop) ---------- */
.mega { display: none; }
.mega-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(6, 18, 48, .38); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility 0s linear var(--t-med); }
body.mega-open .mega-backdrop { opacity: 1; visibility: visible; transition: opacity var(--t-med), visibility 0s; }

/* ---------- Mobile navigation ---------- */
.mobile-nav { position: fixed; z-index: 95; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); animation: drawerIn var(--t-med) var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.nav-open { overflow: hidden; }
.mobile-nav-inner { padding: 16px var(--gutter) 32px; }
.m-search { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--grey-50); color: var(--grey-600); text-align: left; margin-bottom: 8px; }
.m-list { list-style: none; }
.m-item { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; }
.m-link { flex: 1; padding: 14px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.m-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy-800); border-radius: var(--r-sm); }
.m-toggle .icon, .m-chev { transition: transform var(--t-med); }
.m-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-panel { padding: 0 4px 16px; }
.m-heading { margin: 12px 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); }
.m-sub { list-style: none; }
.m-sub a { display: block; padding: 9px 10px; border-radius: var(--r-sm); color: var(--grey-700); text-decoration: none; font-size: .95rem; }
.m-sub a:hover { background: var(--grey-50); color: var(--blue-600); }
.m-overview { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 10px; font-weight: 600; text-decoration: none; }
.m-overview .icon { width: 16px; height: 16px; }
.m-group { border-top: 1px dashed var(--line); }
.m-group-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 6px; border: 0; background: transparent; font-weight: 600; color: var(--navy-800); text-align: left; }
.m-group-toggle .icon:first-child { color: var(--blue-600); }
.m-group-toggle .m-chev { margin-left: auto; width: 18px; height: 18px; }
.m-group-toggle[aria-expanded="true"] .m-chev { transform: rotate(180deg); }
.m-group .m-sub { padding-left: 30px; padding-bottom: 8px; }
.m-cta { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- Search dialog ---------- */
.search-dialog { position: fixed; inset: 0; z-index: 200; background: rgba(6, 18, 48, .55); display: flex; justify-content: center; align-items: flex-start; padding: 10vh var(--gutter) 24px; animation: fadeIn var(--t-med) var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-box { width: 100%; max-width: 680px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.search-ico { color: var(--grey-500); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.05rem; padding: 10px 2px; background: transparent; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-clear { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--r-sm); background: var(--grey-100); color: var(--grey-600); }
.search-clear .icon { width: 16px; height: 16px; }
.search-close { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: .75rem; padding: 6px 8px; color: var(--grey-600); }
.search-suggestions { list-style: none; max-height: min(55vh, 440px); overflow-y: auto; }
.search-suggestions:empty { display: none; }
.search-suggestions li { border-bottom: 1px solid var(--grey-100); }
.search-suggestions a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; text-decoration: none; color: var(--text); }
.search-suggestions [aria-selected="true"] a, .search-suggestions a:hover { background: var(--blue-50); }
.sg-type { flex: none; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-700); background: var(--blue-50); border-radius: var(--r-pill); padding: 3px 8px; margin-top: 2px; }
.sg-title { display: block; font-weight: 600; color: var(--ink); }
.sg-desc { display: block; font-size: .85rem; color: var(--grey-600); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-suggestions mark, .search-page-results mark { background: #FFE8D6; color: inherit; border-radius: 2px; padding: 0 1px; }
.search-empty { padding: 20px 16px; color: var(--grey-600); }
.search-empty a { font-weight: 600; }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; background: var(--grey-50); font-size: .85rem; }
.search-hints p { margin: 0; color: var(--grey-500); font-weight: 600; }
.search-hints a { padding: 4px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy-800); }
.search-hints a:hover { border-color: var(--blue-600); color: var(--blue-600); }

.search-page-form { display: flex; gap: 10px; }
.search-page-form input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--grey-300); border-radius: var(--r-md); font-size: 1rem; }
.search-page-status { margin-top: 16px; color: var(--grey-600); }
.search-page-results { list-style: none; display: grid; gap: 12px; }
.search-page-results a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.search-page-results a:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.search-page-results strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(900px 500px at 85% 20%, rgba(34, 195, 230, .18), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(47, 107, 255, .22), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 32px; padding-block: 44px 28px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.grad-text { background: linear-gradient(90deg, var(--cyan-300), #8FB2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--on-dark-muted); font-size: var(--fs-lg); max-width: 40ch; margin-bottom: var(--sp-5); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--sp-5); font-size: .9rem; color: var(--on-dark-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--cyan-300); }
.hero-visual img { width: 100%; border-radius: var(--r-xl); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); }
.hero-strip { position: relative; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding-bottom: 36px; }
.hero-strip a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; line-height: 1.25; transition: background-color var(--t-fast), border-color var(--t-fast); }
.hero-strip a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(103, 220, 242, .5); color: #fff; }
.hero-strip .icon { color: var(--cyan-300); width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--on-dark); background: radial-gradient(700px 400px at 90% 0%, rgba(34, 195, 230, .16), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-800) 70%, var(--navy-700)); padding-block: 22px 44px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero-grid { display: grid; gap: 28px; align-items: center; margin-top: 18px; }
.page-hero h1 { color: #fff; }
.page-hero-copy .eyebrow { display: flex; width: fit-content; }
.page-hero .lead { color: var(--on-dark-muted); font-size: var(--fs-md); max-width: 62ch; }
.page-hero .btn-row { margin-top: var(--sp-5); }
.page-hero-visual img { width: 100%; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.hero-icon-card { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .12); background: radial-gradient(circle at 50% 45%, rgba(34, 195, 230, .35), transparent 55%), linear-gradient(145deg, #0E2763, #143A86); color: #fff; }
.hero-icon-card .icon { width: 34%; height: auto; aspect-ratio: 1; stroke-width: 1.1; filter: drop-shadow(0 6px 24px rgba(34, 195, 230, .5)); }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .84rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 500; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: 8px 12px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; color: var(--grey-600); text-decoration: none; }
.subnav a:hover { background: var(--grey-100); color: var(--navy-800); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--on-dark-muted); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--narrow .container { max-width: 880px; }
.section-head { max-width: 760px; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-lead { font-size: var(--fs-md); color: var(--grey-600); margin-bottom: 0; }
.section--navy .section-lead { color: var(--on-dark-muted); }
.center-row { display: flex; justify-content: center; margin-top: var(--sp-6); }
.mt { margin-top: var(--sp-6); }
.stack { display: grid; gap: 20px; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.split { display: grid; gap: 32px; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), border-color var(--t-med); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.card-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card-body p { color: var(--grey-600); font-size: .95rem; }
.card-body .link-arrow { margin-top: auto; }
.card-ico, .cap-ico, .feature-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--blue-50); color: var(--blue-600); margin-bottom: 14px; }
.card-meta { font-size: .8rem; font-weight: 600; color: var(--grey-500); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.card-body .badge { align-self: flex-start; margin-bottom: 10px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title-link:hover { color: var(--blue-600); }
.card-title-link:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card .tag-list a, .card .mini-links a { position: relative; z-index: 2; }

.cap-card, .svc-card, .product-card, .usecase-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), border-color var(--t-med); }
.cap-card:hover, .svc-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.cap-card:focus-within, .svc-card:focus-within, .product-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.cap-art img, .svc-art img, .product-art img, .usecase-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cap-body, .svc-body, .product-body, .usecase-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.cap-body .cap-ico { position: relative; margin-top: -46px; margin-bottom: 0; width: 48px; height: 48px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.cap-body h3 { margin-top: 18px; }
.cap-body p, .svc-body p, .product-body p, .usecase-body p { color: var(--grey-600); font-size: .95rem; }
.cap-body .link-arrow, .product-body .link-arrow { margin-top: auto; }
.svc-body .cap-ico { margin-bottom: 12px; }
.mini-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mini-links a { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: var(--grey-50); border: 1px solid var(--line); font-size: .8rem; color: var(--grey-700); text-decoration: none; }
.mini-links a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.svc-count { margin: auto 0 0; font-size: .82rem; font-weight: 600; color: var(--grey-500); }

.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.product-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-md); background: var(--navy-800); color: var(--accent, var(--cyan-300)); }
.concept-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-size: .86rem; color: var(--grey-600); }
.concept-note .icon { width: 18px; height: 18px; color: var(--blue-600); }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--grey-600); font-size: .94rem; margin: 0; }
.section--tint .feature-card { box-shadow: var(--shadow-xs); }
.feature-ico--warn { background: var(--amber-50); color: var(--amber-600); }

.item-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 20px); }
.item-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.item-card p { font-size: .92rem; color: var(--grey-600); }
.item-card .link-arrow { margin-top: auto; font-size: .86rem; }
.item-card:target { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31, 79, 216, .15); }

/* ---------- Industry tiles ---------- */
.ind-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.ind-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; min-height: 220px; }
.ind-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); z-index: -2; }
.ind-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 48, .05) 15%, rgba(6, 18, 48, .92) 85%); }
.ind-tile:hover .ind-img { transform: scale(1.05); }
.ind-overlay { position: absolute; inset: auto 0 0 0; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ind-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: var(--cyan-300); margin-bottom: 6px; }
.ind-ico .icon { width: 18px; height: 18px; }
.ind-name { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.ind-sum { font-size: .86rem; color: var(--on-dark-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ind-tile:hover { color: #fff; }

/* ---------- Why AFU ---------- */
.why-grid { display: grid; gap: 36px; }
.why-head .btn { margin-top: var(--sp-5); }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: .92rem; color: var(--on-dark-muted); }
.why-ico { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--r-md); background: rgba(34, 195, 230, .14); color: var(--cyan-300); }

/* ---------- Architecture showcase ---------- */
.arch-showcase { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-radius: var(--r-xl); padding: 20px; color: var(--on-dark-muted); box-shadow: var(--shadow-lg); }
.arch-nodes { list-style: none; display: grid; gap: 10px; position: relative; }
.arch-nodes li { position: relative; }
.arch-node { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; text-align: left; font-weight: 600; transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.arch-node:hover { border-color: rgba(103, 220, 242, .6); }
.arch-node.is-active { background: linear-gradient(135deg, rgba(47, 107, 255, .45), rgba(34, 195, 230, .3)); border-color: var(--cyan-300); }
.arch-node-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--cyan-300); }
.arch-node.is-active .arch-node-ico { background: #fff; color: var(--blue-600); }
.arch-nodes li:not(:last-child)::after { content: ""; position: absolute; left: 33px; bottom: -10px; width: 2px; height: 10px; background: linear-gradient(var(--cyan-400), transparent); }
.arch-panels { margin-top: 18px; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); min-height: 150px; }
.arch-panel-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.arch-panel-title .icon { color: var(--cyan-300); }
.arch-panel .chip-list { margin-top: 12px; }
.arch-panel .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.arch-panel .chip:hover { border-color: var(--cyan-300); color: #fff; }
.arch-panel:not([hidden]) { animation: fadeUp var(--t-med) var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Reference architecture flow (inner pages) */
.arch-flow { list-style: none; display: grid; gap: 14px; counter-reset: arch; }
.arch-step { position: relative; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.arch-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px; background: linear-gradient(var(--blue-500), var(--cyan-400)); }
.arch-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 2px; height: 14px; background: var(--cyan-400); }
.arch-num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--blue-600); letter-spacing: .08em; }
.arch-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin: 4px 0; }
.arch-desc { font-size: .92rem; color: var(--grey-600); margin: 0; }

/* ---------- Use cases ---------- */
.usecase-body .badge { align-self: flex-start; margin-bottom: 10px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-list a { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.tag-list a:hover { background: var(--blue-600); color: #fff; }

/* ---------- Lists, chips, steps ---------- */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--cyan-50); color: var(--cyan-500); stroke-width: 3; margin-top: 2px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .88rem; text-decoration: none; transition: border-color var(--t-fast), color var(--t-fast); }
.chip .icon { width: 16px; height: 16px; color: var(--blue-600); }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }

.steps { list-style: none; display: grid; gap: 16px; }
.step { position: relative; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; margin-bottom: 12px; }
.step-num { display: block; font-size: .74rem; font-weight: 700; color: var(--orange-600); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .92rem; color: var(--grey-600); margin: 0; }
.steps--compact { gap: 0; }
.steps--compact .step { border: 0; border-left: 2px solid var(--grey-200); border-radius: 0; padding: 4px 0 18px 24px; background: transparent; }
.steps--compact .step-ico { position: absolute; left: -17px; top: 0; width: 32px; height: 32px; border-radius: 50%; }
.steps--compact .step-ico .icon { width: 16px; height: 16px; }
.steps--compact .step:last-child { padding-bottom: 0; border-left-color: transparent; }

/* ---------- Prose & side cards ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--sp-6); font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: var(--sp-4); }
.prose ul li { margin-bottom: 6px; }
.prose .check-list { padding-left: 0; }
.prose--lead p { font-size: var(--fs-lg); color: var(--grey-700); }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--grey-500); margin-bottom: var(--sp-6); }
.article-meta .icon { width: 16px; height: 16px; }
.side-card { align-self: start; padding: 24px; border-radius: var(--r-lg); background: var(--grey-50); border: 1px solid var(--line); }
.side-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.side-links { list-style: none; display: grid; gap: 2px; margin-bottom: 14px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--grey-700); font-size: .93rem; }
.side-links a:hover { background: #fff; color: var(--blue-600); }
.side-links .icon { width: 16px; height: 16px; color: var(--blue-600); }
.side-facts { list-style: none; display: grid; gap: 12px; }
.side-facts li { font-size: .93rem; }
.side-facts span { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.placeholder-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--amber-50); color: var(--amber-600); font-size: .9rem; }
.small-note { margin-top: 18px; font-size: .86rem; color: var(--grey-500); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--blue-50); color: var(--navy-800); margin-bottom: var(--sp-6); border: 1px solid #D7E2FF; }
.notice p { margin: 0; font-size: .94rem; }
.notice .icon { color: var(--blue-600); margin-top: 2px; }
.notice--warn { background: var(--amber-50); border-color: #F8DFAE; }
.notice--warn .icon { color: var(--amber-600); }

.info-col { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.info-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; }
.info-col h3 .icon { color: var(--blue-600); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { transition: transform var(--t-med); color: var(--blue-600); }
.faq[open] .faq-ico { transform: rotate(45deg); }
.faq-body { padding: 0 18px 16px; color: var(--grey-600); }
.faq-body p { margin: 0; }
.faq-group { font-size: 1.25rem; margin: var(--sp-6) 0 var(--sp-4); }
.faq-group:first-child { margin-top: 0; }

/* ---------- Guides, KB, docs ---------- */
.guide-steps { list-style: none; display: grid; gap: 14px; }
.guide-step { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.guide-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.guide-step p { margin: 0; color: var(--grey-600); }
.guide-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 700; font-family: var(--font-head); }
.kb-list { display: grid; gap: 14px; }
.kb-article { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 20px); }
.kb-article p { margin: 0; color: var(--grey-600); }
.kb-article .feature-ico { flex: none; }
.kb-article:target { border-color: var(--blue-600); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: var(--sp-5); }
.docs table th, .docs table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; vertical-align: top; }
.docs table th { background: var(--grey-50); color: var(--ink); }
.docs table tr:last-child td { border-bottom: 0; }
.method { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; font-family: ui-monospace, monospace; }
.method-get { background: #E6F6EF; color: #047857; }
.method-post { background: var(--blue-50); color: var(--blue-700); }
pre.code { background: var(--navy-900); color: #DCE7FF; padding: 18px; border-radius: var(--r-md); overflow-x: auto; font-size: .85rem; line-height: 1.6; margin-bottom: var(--sp-5); }
.prose code { background: var(--grey-100); padding: 2px 6px; border-radius: 4px; }
pre.code code { background: none; padding: 0; }
.sitemap-grid { display: grid; gap: 28px; }
.sitemap-group ul { list-style: none; display: grid; gap: 6px; }
.sitemap-group a { text-decoration: none; }
.sitemap-group a:hover { text-decoration: underline; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin: 0 0 var(--sp-5); }
.group-title .icon { color: var(--blue-600); width: 24px; height: 24px; }
.sol-group + .sol-group { margin-top: var(--sp-8); }

/* ---------- Forms ---------- */
.lead-section { background: linear-gradient(180deg, #fff, var(--grey-50)); }
.lead-grid, .form-layout { display: grid; gap: 32px; align-items: start; }
.lead-copy .check-list { margin: var(--sp-5) 0 var(--sp-6); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-md); }
.form-title { font-size: 1.3rem; margin-bottom: var(--sp-4); }
.form-grid { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--orange-600); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--grey-300); border-radius: var(--r-sm); background: #fff; font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31, 79, 216, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C2261B; }
.field-error { margin: 0; font-size: .82rem; color: #B42318; font-weight: 500; }
.field-hint { margin: 0; font-size: .8rem; color: var(--grey-500); }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.field--check label { font-weight: 400; color: var(--grey-600); flex: 1; min-width: 0; }
.field--check .field-error { flex-basis: 100%; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.form-note { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .82rem; color: var(--grey-500); }
.form-note .icon { width: 14px; height: 14px; }
.form-summary { padding: 12px 14px; border-radius: var(--r-sm); background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; margin-bottom: 14px; font-size: .9rem; }
.form-summary ul { padding-left: 1.2em; margin-top: 4px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); font-size: .93rem; }
.form-status p { margin: 0 0 8px; }
.form-status p:last-child { margin: 0; }
.form-status.is-success { background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; }
.form-status.is-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.form-status.is-warning { background: var(--amber-50); color: #7A3E06; border: 1px solid #F8DFAE; }
.form-status.is-pending { background: var(--grey-50); color: var(--grey-700); border: 1px solid var(--line); }
.lead-form button[disabled] { opacity: .7; cursor: progress; }
.contact-card { padding: 24px; border-radius: var(--r-xl); background: var(--grey-50); border: 1px solid var(--line); }
.contact-list { list-style: none; display: grid; gap: 6px; margin-bottom: 18px; }
.contact-list a, .contact-muted { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: var(--r-md); text-decoration: none; color: var(--grey-700); }
.contact-list a:hover { background: #fff; }
.contact-list .icon { color: var(--blue-600); margin-top: 3px; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.contact-ctas { display: grid; gap: 10px; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(34, 195, 230, .22), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--navy-800)); color: var(--on-dark-muted); }
.cta-band-inner { display: grid; gap: 20px; padding-block: 44px; }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 6px; }
.cta-band p { margin: 0; }

.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: .92rem; }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-inner { display: grid; gap: 18px; padding-block: 36px; }
.footer-cta-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: 4px; }
.footer-cta p { margin: 0; }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand > p { margin: 16px 0; max-width: 42ch; }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--on-dark-muted); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--cyan-300); }
.footer-heading { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 12px; font-size: .98rem; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; padding-block: 20px 8px; font-size: .84rem; }
.footer-bottom-inner p { margin: 0; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: var(--on-dark-muted); text-decoration: none; }
.legal-links a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: .78rem; color: #8EA3C9; padding-bottom: 96px; margin: 8px 0 0; }

/* ---------- Floating contact widget ---------- */
.contact-fab { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 16px; border: 0; border-radius: var(--r-pill); background: var(--orange-600); color: #fff; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(201, 74, 18, .8); transition: transform var(--t-fast), background-color var(--t-fast); }
.fab-btn:hover { background: var(--orange-700); transform: translateY(-2px); }
.fab-btn .fab-close { display: none; }
.fab-btn[aria-expanded="true"] .fab-open { display: none; }
.fab-btn[aria-expanded="true"] .fab-close { display: block; }
.fab-panel { width: min(300px, calc(100vw - 32px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 16px; animation: fadeUp var(--t-med) var(--ease); }
.fab-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.fab-panel ul { list-style: none; display: grid; gap: 2px; }
.fab-panel a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--grey-700); font-weight: 500; }
.fab-panel a:hover { background: var(--grey-50); color: var(--blue-600); }
.fab-panel .icon { color: var(--blue-600); }

/* ---------- Reveal animation (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.steps.steps--compact { grid-template-columns: 1fr; }
main:has(> .cta-band:last-child) + .site-footer .footer-cta { display: none; }
