/* ============================================================
   AISoltrics — Enterprise Navy Design System (v2, blueprint 1.0)
   Deep navy / charcoal, restrained electric-blue accents.
   Copyright (c) 2026 AISoltrics Technologies Inc.
   ============================================================ */
:root {
  --navy-950: #060D1A;
  --navy-900: #0A1628;
  --navy-800: #0F2038;
  --navy-700: #16304F;
  --navy-600: #1E4066;
  --blue: #2563EB;
  --blue-bright: #3B82F6;
  --blue-soft: #DBEAFE;
  --ink: #0F1B2D;
  --muted: #5B6B82;
  --muted-2: #8A97AB;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-cool: #EEF2F7;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --danger: #DC2626;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(10, 22, 40, 0.06), 0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section.navy { background: var(--navy-900); color: #EAF0F8; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: #B9C6DA; }

h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.02em; color: var(--navy-900); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p.lead, .lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }

.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.9rem;
}
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; }
.brand-name .ai { color: var(--blue); }
.brand-tag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.8rem; font-weight: 500; font-size: 0.95rem; color: var(--ink);
  border-radius: 8px; white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: var(--bg-soft); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.6;
}
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem; list-style: none; z-index: 1001;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 0.6rem 0.85rem; border-radius: 8px; color: var(--ink); font-size: 0.93rem; }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); text-decoration: none; }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; font-size: 1.3rem; padding: 0.35rem 0.7rem; cursor: pointer; color: var(--navy-900); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { background: #1D4ED8; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--border-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(--bg-soft); color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Hero (navy) ---------- */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #EAF0F8; padding: 96px 0 104px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 52% 48%; gap: 3.5rem; align-items: center; }
.hero .kicker { color: var(--blue-bright); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-sub { color: #B9C6DA; font-size: 1.12rem; max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-support { color: #8FA1BC; font-size: 0.95rem; }
.hero-support a { color: #CFDAEC; font-weight: 600; }
.hero-micro { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; font-size: 0.85rem; color: #8FA1BC; }
.hero-micro span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-micro svg { flex: none; }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual svg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.grad { background: linear-gradient(100deg, var(--blue-bright), #60A5FA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-logo img { width: 72px; border-radius: 14px; margin-bottom: 1rem; }
.hero-tagline { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 1rem; font-weight: 700; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.12rem; }
.card h3 a { color: var(--navy-900); }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.card .card-link { font-weight: 600; font-size: 0.95rem; margin-top: 0.4rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 0.4rem;
}
.card-icon svg { width: 24px; height: 24px; }
.section.navy .card { background: var(--navy-800); border-color: var(--navy-700); }
.section.navy .card h3 a, .section.navy .card h3 { color: #fff; }
.section.navy .card p { color: #B9C6DA; }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--border); background: #fff; padding: 2.2rem 0; }
.trust-items { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; gap: 0.9rem; align-items: flex-start; max-width: 320px; }
.trust-item svg { flex: none; width: 30px; height: 30px; color: var(--blue); margin-top: 2px; }
.trust-item strong { display: block; color: var(--navy-900); font-size: 0.98rem; }
.trust-item span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Delivery steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.1rem; text-align: center; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 0.5rem;
}
.step strong { display: block; color: var(--navy-900); margin-bottom: 0.3rem; font-size: 0.98rem; }
.step span { font-size: 0.86rem; color: var(--muted); }
.section.navy .step { background: var(--navy-800); border-color: var(--navy-700); }
.section.navy .step strong { color: #fff; }
.section.navy .step span { color: #B9C6DA; }

/* ---------- Page hero / prose ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #EAF0F8; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; margin: 0.8rem 0 1rem; }
.page-hero .lead { color: #B9C6DA; }
.breadcrumb { font-size: 0.88rem; color: #8FA1BC; }
.breadcrumb a { color: #CFDAEC; }
.prose { max-width: 780px; }
.prose h2 { margin: 2.2rem 0 0.8rem; font-size: 1.45rem; }
.prose h3 { margin: 1.6rem 0 0.5rem; }
.prose p { margin-bottom: 1.1rem; color: #33415C; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; color: #33415C; }
.prose li { margin-bottom: 0.45rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.workflow-chain {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; font-size: 0.95rem; color: var(--navy-800); margin: 1.2rem 0; line-height: 2;
}
.cap-list { list-style: none; margin-left: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.cap-list li { padding-left: 1.6rem; position: relative; }
.cap-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.related-box { background: var(--blue-soft); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; }
.related-box h3 { font-size: 1.05rem; }
.related-box ul { margin: 0.5rem 0 0 1.2rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2.6rem; max-width: 860px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; color: var(--navy-900); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  padding: 0.8rem 1rem; border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); outline: none; }
.field .hint { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.4rem; }
.error-msg { display: none; color: var(--danger); font-size: 0.85rem; margin-top: 0.4rem; font-weight: 500; }
.field-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important; }
.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent-row input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-thanks { display: none; text-align: center; padding: 2rem 1rem; }
.form-thanks h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.check-icon { width: 60px; height: 60px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }

/* demo slot picker */
.slot-picker { display: flex; flex-direction: column; gap: 0.8rem; max-height: 300px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; padding: 1rem; background: var(--bg-soft); }
.slot-day { font-weight: 700; font-size: 0.92rem; color: var(--navy-900); margin-top: 0.3rem; }
.slot-day .hint { font-weight: 400; color: var(--muted-2); font-size: 0.8rem; }
.slot-times { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.slot-btn { padding: 0.5rem 0.9rem; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; color: var(--ink); font-size: 0.88rem; cursor: pointer; transition: all 0.12s ease; }
.slot-btn:hover { border-color: var(--blue); color: var(--blue); }
.slot-btn.selected { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }

/* ---------- Showcase / visuals ---------- */
.showcase-frame { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.showcase-frame img { width: 100%; }
.diagram { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.diagram svg { max-width: 100%; height: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: 24px; padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-band p { color: #B9C6DA; max-width: 620px; margin: 0 auto 2rem; font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #B9C6DA; padding: 72px 0 0; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer-brand img { width: 46px; border-radius: 10px; margin-bottom: 1rem; }
.footer-brand p { margin-bottom: 1rem; font-size: 0.9rem; }
.footer-address { font-size: 0.86rem; color: #8FA1BC; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #B9C6DA; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--navy-700); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: #8FA1BC; }

/* ---------- Chat widget ---------- */
#ai-chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 9999; font-family: var(--font); }
#ai-chat-fab { width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(135deg, var(--navy-800), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45); transition: transform 0.15s ease; }
#ai-chat-fab:hover { transform: scale(1.07); }
#ai-chat-panel { position: absolute; right: 0; bottom: 70px; width: 340px; max-height: 480px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-lg); }
#ai-chat-panel[hidden] { display: none; }
#ai-chat-head { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1rem; background: linear-gradient(135deg, var(--navy-900), var(--blue)); color: #fff; font-size: 0.95rem; }
#ai-chat-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
#ai-chat-msgs { padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.6rem; min-height: 220px; max-height: 340px; }
.ai-msg { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; }
.ai-bot { background: var(--bg-soft); color: var(--ink); align-self: flex-start; border: 1px solid var(--border); }
.ai-user { background: var(--blue); color: #fff; align-self: flex-end; }
#ai-chat-inputrow { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border); }
#ai-chat-input { flex: 1; padding: 0.6rem 0.8rem; border: 1px solid var(--border-strong); border-radius: 9px; font-size: 0.9rem; }
#ai-chat-send { padding: 0.6rem 1rem; border: none; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 600; cursor: pointer; }

/* ---------- Misc ---------- */
.pill { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.pill.prototype { background: #FEF3C7; color: #92400E; }

/* Copyright (c) 2026 AISoltrics Technologies Inc. All rights reserved. */
/* ---------- Homepage blueprint sections ---------- */
.hero-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; color: var(--gold, #C9A227); text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-micro { margin-top: 1.2rem; font-size: 0.95rem; }
.hero-micro a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }
.flow-diagram { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 2rem 1.5rem; }
.flow-node { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 0.8rem 1.2rem; border-radius: 10px; }
.flow-arrow { color: var(--blue); font-size: 1.4rem; font-weight: 700; }
.flow-caption { text-align: center; color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 1rem; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.trust-list li strong { display: block; font-size: 1rem; color: var(--navy-900); margin-bottom: 0.25rem; }
.trust-list li span { font-size: 0.88rem; color: var(--muted); }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.why-card h3 { margin-bottom: 0.6rem; color: var(--navy-900); }
.section-alt { background: var(--bg-soft); }
@media (max-width: 900px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
.article-meta { font-size: 0.86rem; color: var(--muted-2); display: flex; gap: 1rem; flex-wrap: wrap; }
.faq details { border: 1px solid var(--border); border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 0.8rem; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy-900); }
.faq p { margin-top: 0.7rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 0.7rem 1.2rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; gap: 0;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { display: block; padding: 0.8rem 0.4rem; }
  .dropdown { position: static; display: block; box-shadow: none; border: none; border-left: 3px solid var(--border); border-radius: 0; margin: 0 0 0.5rem 0.6rem; padding: 0.25rem 0 0.25rem 0.5rem; }
  .nav-cta { margin: 0.8rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .section { padding: 60px 0; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem; }
  .cta-band { padding: 2.6rem 1.4rem; }
  .cap-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  #ai-chat-panel { width: calc(100vw - 44px); }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* touch-opened dropdown state */
.nav-item.dd-open .dropdown { display: block; }

/* ---------- Job listings ---------- */
.job-list { max-width: 1000px; margin: 0 auto 2.5rem; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s; }
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card summary { list-style: none; cursor: pointer; padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary:hover .job-title { color: var(--blue); }
.job-title { font-weight: 700; font-size: 1.1rem; color: var(--navy-900); flex: 1 1 220px; }
.job-meta { font-size: 0.86rem; color: var(--muted); flex: 2 1 280px; }
.job-cta { font-size: 0.86rem; font-weight: 700; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 0.35rem 1rem; white-space: nowrap; }
.job-card[open] .job-cta { background: var(--blue); color: #fff; }
.job-body { padding: 0 1.6rem 1.6rem; border-top: 1px solid var(--border); padding-top: 1.4rem; }
.job-body h3 { font-size: 1rem; margin: 1.2rem 0 0.5rem; color: var(--navy-900); }
.job-body ul { margin: 0 0 0.8rem 1.3rem; color: #33415C; }
.job-body li { margin-bottom: 0.4rem; }
.job-body .apply-btn { margin-top: 1rem; }
@media (max-width: 640px) {
  .job-card summary { flex-direction: column; align-items: flex-start; }
}

/* ---------- Candidate account ---------- */
.acct-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; }
.acct-tab {
  padding: 0.65rem 1.4rem; border: 1px solid var(--border-strong); background: transparent;
  color: var(--muted); border-radius: 999px; font-weight: 700; font-size: 0.9rem; cursor: pointer;
}
.acct-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.acct-error { color: var(--danger); font-weight: 600; margin-top: 1rem; text-align: center; }
.acct-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.gate-box {
  text-align: center; padding: 2.5rem 1.5rem; background: var(--bg-soft);
  border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); margin-bottom: 1rem;
}
.gate-box h3 { margin-bottom: 0.6rem; }
.gate-box p { color: var(--muted); margin-bottom: 1.2rem; }
