/* ==========================================================================
   Alhaan LLC — core styles
   1. Fonts & design tokens   2. Base   3. Layout   4. Typography
   5. Buttons   6. Header & navigation (shared)   7. Sections & cards
   8. Page heroes & breadcrumb   9. Lists, steps, tables   10. FAQ
   11. Forms   12. Notices, dialog   13. Footer   14. Utilities
   Breakpoint-specific rules live in responsive.css
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-var-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy-950: #061227;
  --navy-900: #0b1d3a;
  --navy-800: #11284f;
  --navy-700: #1a3768;
  --blue-700: #1347d6;
  --blue-600: #1f5eff;
  --blue-500: #3d76ff;
  --blue-100: #e6eeff;
  --blue-50:  #f2f6ff;
  --teal-400: #2cc5d6;
  --teal-200: #a6ecf3;
  --ink: #0f1b33;
  --ink-2: #33415c;
  --muted: #5b6884;
  --line: #e1e7f1;
  --line-strong: #c9d3e4;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --success: #0f8a5f;
  --success-bg: #e8f7f0;
  --danger: #c4282d;
  --danger-bg: #fdecec;
  --warning: #9a6200;
  --warning-bg: #fff6e0;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, .06), 0 1px 3px rgba(11, 29, 58, .06);
  --shadow: 0 6px 24px -8px rgba(11, 29, 58, .18), 0 2px 6px rgba(11, 29, 58, .05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 29, 58, .35);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 72px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--blue-600);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink-2); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
main:focus { outline: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.draft-banner { background: var(--warning-bg); color: var(--warning); text-align: center; padding: 8px 16px; font-size: .9rem; border-bottom: 1px solid #f1d58c; }

/* 3. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(44, 197, 214, .18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(31, 94, 255, .35), transparent 60%), var(--navy-900); color: #c8d4ea; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark p { color: #c8d4ea; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
.stack > * + * { margin-top: 1rem; }

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--teal-400); }
.text-gradient { background: linear-gradient(92deg, #fff 20%, var(--teal-200) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small, small { font-size: .875rem; }
.muted { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* 5. Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: .9em 1.45em; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--sm { font-size: .9rem; padding: .7em 1.15em; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 94, 255, .8); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--navy-900); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--blue-700); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--teal-200); }

/* 6. Header & navigation (shared; layout per breakpoint in responsive.css) */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 29, 58, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--font-head); }
.brand-name { font-size: 1.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.brand-suffix { font-size: .78rem; font-weight: 700; color: var(--blue-600); letter-spacing: .14em; }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-suffix { color: var(--teal-400); }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-sm); }
.nav-trigger .chev { width: 1em; height: 1em; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item[data-active="true"] > .nav-trigger, .nav-item[data-active="true"] > .nav-link { color: var(--blue-700); }
.mega a { text-decoration: none; color: var(--ink-2); }
.mega a:hover, .mega a[aria-current="page"] { color: var(--blue-700); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega-heading { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); margin: 0 0 10px; }
.mega-heading .icon { color: var(--blue-600); }
.mega-heading--spaced { margin-top: 22px; }
.mega-col li a { display: block; padding: 6px 0; font-size: .93rem; }
.mega-card { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius); }
.mega-card:hover { background: var(--blue-50); }
.mega-card .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); }
.mega-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.mega-card small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.mega-feature { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c8d4ea; border-radius: var(--radius); padding: 22px; font-size: .9rem; }
.mega-feature p { margin-bottom: 14px; }
.mega-feature-title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; margin-bottom: 6px !important; }
.mega-feature .mega-all { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--teal-200); font-weight: 600; }
.mega-feature .mega-all:hover { color: #fff; }
.menu-list a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .94rem; }
.menu-list a:hover { background: var(--blue-50); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

/* 7. Sections & cards ---------------------------------------------------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdaf0; }
.card .card-foot { margin-top: auto; padding-top: 10px; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(145deg, var(--blue-100), #fff); color: var(--blue-700); border: 1px solid #d9e4ff; margin-bottom: 18px; }
.card-icon .icon { width: 26px; height: 26px; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.card--dark p { color: #b5c3dc; }
.card--dark .card-icon { background: rgba(44, 197, 214, .12); border-color: rgba(44, 197, 214, .3); color: var(--teal-200); }
.card--feature { background: linear-gradient(160deg, var(--blue-50), #fff 60%); }
.tag-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.section--dark .tag-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #d6e0f2; }
.capability-bar { border-block: 1px solid var(--line); background: #fff; }
.capability-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px 28px; }
.capability-list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: .95rem; line-height: 1.3; }
.capability-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.media-panel { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-lg); overflow: hidden; color: #c8d4ea; }
.media-panel svg { display: block; width: 100%; height: auto; }
.media-panel--light { background: linear-gradient(160deg, var(--blue-50), #fff); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink-2); }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); background: radial-gradient(700px 300px at 100% 0%, rgba(44, 197, 214, .25), transparent 60%), linear-gradient(135deg, var(--blue-700), var(--navy-900)); color: #d9e3f5; }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { max-width: 640px; color: #d9e3f5; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); border: 1px solid #d3e0ff; }
.pill--warn { background: var(--warning-bg); color: var(--warning); border-color: #f1d58c; }
.pill--sample { background: #fff2e8; color: #9b4a07; border-color: #f6c9a4; }

/* 8. Page heroes & breadcrumb ------------------------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 88% -8%, rgba(44, 197, 214, .22), transparent 60%), radial-gradient(900px 600px at -8% 120%, rgba(31, 94, 255, .45), transparent 60%), var(--navy-950); color: #c8d4ea; padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.hero h1 { color: #fff; }
.hero .lead { color: #c8d4ea; max-width: 600px; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: #aebcd6; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--teal-400); }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; display: block; }
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 92% -20%, rgba(44, 197, 214, .2), transparent 60%), radial-gradient(800px 500px at -10% 130%, rgba(31, 94, 255, .4), transparent 60%), var(--navy-950); color: #c8d4ea; padding-block: clamp(44px, 6vw, 84px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 860px; }
.page-hero .lead { color: #c8d4ea; max-width: 720px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero-icon { display: none; }
.breadcrumb { background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .84rem; color: #8e9dbb; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #56658a; }
.breadcrumb a { color: #b9c7e2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.toc a:hover { border-color: var(--blue-600); color: var(--blue-700); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.subnav .toc { padding: 12px 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.subnav .toc a { white-space: nowrap; }

/* 9. Lists, steps, tables ----------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231347d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .check-list li::before { background-color: rgba(44, 197, 214, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6ecf3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 28px; }
.check-list strong { color: var(--ink); }
.section--dark .check-list strong { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--dark .steps li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .steps li::before { background: var(--blue-600); }
.section--dark .steps p { color: #b5c3dc; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { box-shadow: var(--focus); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
caption { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--ink); caption-side: top; border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); font-size: .85rem; letter-spacing: .02em; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.def-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; }
.def-list div { border-left: 3px solid var(--blue-600); padding: 4px 0 4px 16px; }
.def-list dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.def-list dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* 10. FAQ --------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #c9d7f5; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231347d6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* 11. Forms ------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); color: var(--ink-2); }
.form-card h2, .form-card h3 { margin-bottom: .3em; }
.form-intro { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend, .field .label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field-hint { font-size: .84rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333415c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
select[multiple] { background-image: none; padding-right: 14px; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(31, 94, 255, .15); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 40, 45, .15) !important; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2); background: #fff; transition: all .15s; }
.choice input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.choice input:focus-visible + span { box-shadow: var(--focus); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.error-summary { border: 1.5px solid var(--danger); background: var(--danger-bg); color: #7d1a1d; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.error-summary h3 { color: #7d1a1d; font-size: 1rem; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: #7d1a1d; font-weight: 600; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .btn-label-idle { display: none; }
.btn-label-busy { display: none; align-items: center; gap: 8px; }
.is-loading .btn-label-busy { display: inline-flex; }

/* 12. Notices, dialog --------------------------------------------------- */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid #d3e0ff; background: var(--blue-50); color: var(--navy-800); font-size: .94rem; }
.notice > .icon { color: var(--blue-600); width: 22px; height: 22px; margin-top: 1px; }
.notice p:last-child { margin-bottom: 0; }
.notice--warn { background: var(--warning-bg); border-color: #f1d58c; color: #5e3d00; }
.notice--warn > .icon { color: var(--warning); }
.notice--success { background: var(--success-bg); border-color: #a9e2c8; color: #0a5a3e; }
.notice--success > .icon { color: var(--success); }
.notice--error { background: var(--danger-bg); border-color: #f2b7b9; color: #7d1a1d; }
.notice--error > .icon { color: var(--danger); }
.notice strong { color: inherit; }
.notice .btn-row { margin-top: 12px; }
.section--dark .notice { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #d6e0f2; }
.section--dark .notice > .icon { color: var(--teal-200); }
dialog.modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(6, 18, 39, .65); backdrop-filter: blur(3px); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.25rem; margin: 0; }
.modal-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; color: var(--ink); }
.modal-close:hover { background: var(--bg-soft); }
.modal-body { padding: 24px; }
.modal-body .form-card { border: 0; box-shadow: none; padding: 0; }

/* Configurator ---------------------------------------------------------- */
.configurator { display: grid; gap: 24px; }
.config-summary { background: var(--navy-900); color: #c8d4ea; border-radius: var(--radius-lg); padding: 26px; align-self: start; }
.config-summary h3 { color: #fff; font-size: 1.1rem; }
.config-summary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.config-summary dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .15); padding-bottom: 8px; font-size: .92rem; }
.config-summary dt { color: #93a3c2; }
.config-summary dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }

/* 13. Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: #9fb0cf; font-size: .93rem; }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(48px, 6vw, 80px) 40px; grid-template-columns: 1fr; }
.footer-tagline { font-family: var(--font-head); color: #fff; font-weight: 600; margin: 18px 0 8px; }
.footer-desc { max-width: 360px; }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--teal-400); margin-top: 3px; }
.site-footer a { color: #c8d4ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-heading { font-family: var(--font-head); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer-heading--spaced { margin-top: 28px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-cta { margin-top: 22px; }
.site-footer .btn--light { color: var(--navy-900); }
.site-footer .btn--light:hover { text-decoration: none; color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); text-decoration: none; }
.back-to-top:hover { background: var(--blue-600); color: #fff; }
.back-to-top[hidden] { display: none; }

/* 14. Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.center-row { display: flex; justify-content: center; }
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .hero-visual .pulse { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  .hero-visual .pulse:nth-of-type(2n) { animation-delay: 1.1s; }
  .hero-visual .flow { stroke-dasharray: 4 10; animation: flow 2.8s linear infinite; }
}
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .9; transform: scale(1.35); } }
@keyframes flow { to { stroke-dashoffset: -56; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
@media print { .site-header, .site-footer, .back-to-top, .subnav { display: none !important; } .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; } .hero h1, .page-hero h1 { color: #000 !important; } }

/* Additions */
a.card { text-decoration: none; color: inherit; }
a.card h3 { color: var(--ink); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.grid--tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.grid--tiles .card { padding: 22px; }
.grid--tiles .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.grid--tiles .card h3 { font-size: 1.05rem; }
.grid--tiles .card p { font-size: .92rem; margin: 0; }
.nav-trigger, .nav-link { white-space: nowrap; }
.steps--stack { grid-template-columns: 1fr; gap: 12px; }
.steps--stack li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px; border-radius: var(--radius); }
.steps--stack li::before { grid-row: span 2; margin: 0; }
.steps--stack h3 { margin: 0 0 2px; }
.grid--stack { grid-template-columns: 1fr; gap: 16px; }
.def-list--stack { grid-template-columns: 1fr; }
address { font-style: normal; }
.section--dark p a, .section--dark li a { color: var(--teal-200); }
.section--dark p a:hover, .section--dark li a:hover { color: #fff; }
.page-hero .lead a, .page-hero p a:not(.btn) { color: var(--teal-200); }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--blue-700); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #aebcd6; font-size: .9rem; margin-top: 12px; }
.split { align-items: start; }
.split--center { align-items: center; }
.page-hero-grid > *, .hero-grid > *, .split > * { min-width: 0; }
.mega .btn--primary, .mega .btn--primary:hover { color: #fff; }
