/* ==========================================================================
   KEON GRP — Design System
   Palette derived from the supplied brand mark (deep navy / warm bronze).
   ========================================================================== */

:root {
  /* Brand colors — sampled from Keon_Group_Logo_Enhanced.svg */
  --navy-900: #0A1526;
  --navy-800: #12203D;
  --navy-700: #1B2E52;
  --navy-600: #2A3F66;
  --bronze-600: #8A6F58;
  --bronze-500: #A98F76;
  --bronze-300: #CBB6A0;
  --bronze-100: #EDE4DA;
  --paper: #F7F5F2;
  --white: #FFFFFF;
  --ink: #16202E;
  --ink-soft: #4B5768;
  --line: #DDD6CC;
  --line-dark: rgba(247, 245, 242, 0.14);

  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1240px;
  --radius-s: 4px;
  --radius-m: 8px;
  --shadow-card: 0 1px 2px rgba(10, 21, 38, 0.06), 0 8px 24px -12px rgba(10, 21, 38, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--bronze-600); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: var(--white);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--bronze-500); outline-offset: 3px; border-radius: 2px;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--navy-900); color: var(--bronze-100); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(247, 245, 242, 0.72); }
.section--sunk { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(247, 245, 242, 0.88);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 242, 0.97); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; height: 60px; }
.brand img { height: 100%; width: auto; }
.brand:focus-visible { outline-offset: 6px; }

.nav-desktop { display: none; }
@media (min-width: 1080px) {
  .nav-desktop { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav-desktop > li { position: relative; }
  .nav-desktop > li > a, .nav-desktop > li > button.nav-top {
    display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer;
    padding: 10px 14px; font-size: 0.92rem; font-weight: 600; color: var(--navy-800);
    text-decoration: none; border-radius: var(--radius-s);
  }
  .nav-desktop > li > a[aria-current="page"] { color: var(--bronze-600); }
  .nav-desktop > li:hover > a, .nav-desktop > li:hover > button.nav-top { color: var(--bronze-600); }
  .nav-top .chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.2s var(--ease); }
  .has-mega:hover .nav-top .chev, .has-mega:focus-within .nav-top .chev { transform: rotate(225deg); margin-top: 3px; }

  .mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); width: 620px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-card);
    padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  .mega a { display: block; padding: 10px 12px; border-radius: var(--radius-s); text-decoration: none; }
  .mega a:hover { background: var(--paper); }
  .mega .mega-label { display: block; font-weight: 700; color: var(--navy-900); font-size: 0.9rem; }
  .mega .mega-desc { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
}

.header-cta { display: none; }
@media (min-width: 1080px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer;
}
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle .bar { display: block; width: 18px; height: 1.5px; background: var(--navy-900); position: relative; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--navy-900); transition: transform 0.25s var(--ease); }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

.nav-mobile {
  position: fixed; top: 84px; right: 0; bottom: 0; left: 0; background: var(--navy-900); color: var(--white);
  transform: translateX(100%); transition: transform 0.32s var(--ease); z-index: 190; overflow-y: auto;
}
@media (min-width: 1080px) { .nav-mobile { display: none; } }
body.nav-open .nav-mobile { transform: translateX(0); }
body.nav-open { overflow: hidden; }
.nav-mobile .wrap { padding: 28px; }
.nav-mobile details { border-bottom: 1px solid var(--line-dark); }
.nav-mobile summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: "+"; font-size: 1.3rem; color: var(--bronze-500); }
.nav-mobile details[open] summary::after { content: "–"; }
.nav-mobile .sub-list { padding: 0 2px 18px; display: grid; gap: 10px; }
.nav-mobile .sub-list a { color: rgba(247,245,242,0.78); text-decoration: none; font-size: 0.95rem; }
.nav-mobile > .wrap > a.top-link { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line-dark); font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; text-decoration: none; color: var(--white); }
.nav-mobile .mobile-cta { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius-s);
  font-weight: 700; font-size: 0.9rem; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bronze-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--bronze-300); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-arrow::after { content: "→"; transition: transform 0.18s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 90px; overflow: hidden; background: var(--navy-900); color: var(--white); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.15rem; color: rgba(247,245,242,0.78); max-width: 46ch; margin-bottom: 32px; }
.hero-text-stack { position: relative; min-height: 460px; }
.hero-text-slide { position: absolute; inset: 0; opacity: 0; animation: dashCrossfade 2.3s ease infinite; }
.hero-text-slide h1 { margin-top: 0; }
@media (max-width: 640px) { .hero-text-stack { min-height: 560px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-text-slide { animation: none !important; opacity: 0 !important; }
  .hero-text-slide:first-child { opacity: 1 !important; position: relative; }
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--bronze-300); }
.hero-stats .stat span { font-size: 0.82rem; color: rgba(247,245,242,0.62); }
.hero-visual { position: relative; min-height: 340px; }
.hero-orbit { width: 100%; height: auto; }
.hero-bg-lines { position: absolute; inset: -20% -10%; opacity: 0.35; pointer-events: none; }
.hero-dashboard { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }

/* ---------- Animated hero dashboard slider ---------- */
.dash-slider { width: 100%; }
.dash-slider-stack { position: relative; aspect-ratio: 640 / 460; }
.dash-slide { position: absolute; inset: 0; opacity: 0; animation: dashCrossfade 2.3s ease infinite; }
.dash-slide .hero-dashboard { box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }
.dash-dots { display: flex; gap: 9px; justify-content: center; margin-top: 20px; }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(247,245,242,0.25); animation: dashDotPulse 2.3s ease infinite; }

.dash-bar { transform-box: fill-box; transform-origin: bottom; animation: growBar 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
.dash-bar-h { transform-box: fill-box; transform-origin: left; animation: growBarH 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
.dash-card { opacity: 0; animation: cardPop 0.4s cubic-bezier(0.22,1,0.36,1) forwards; }
.dash-donut-group { opacity: 0; transform-box: fill-box; transform-origin: center; animation: donutPop 0.45s cubic-bezier(0.22,1,0.36,1) forwards; }
.dash-sparkline { animation: sparkDraw 0.55s ease forwards; }

/* Inside the auto-cycling slider, each chart element's animation-duration is stretched by JS to
   match the full multi-slide cycle (so it can loop in sync every time its slide reappears) — these
   faster keyframe variants use small percentage checkpoints tuned to that longer duration, so the
   "grow in" motion still completes in a fraction of a second rather than stretching across the
   whole cycle. Standalone use elsewhere (hub pages) keeps the plain keyframes above, tuned for
   their own short one-shot duration. */
.dash-slide .dash-bar { animation-name: growBarFast; }
.dash-slide .dash-bar-h { animation-name: growBarHFast; }
.dash-slide .dash-card { animation-name: cardPopFast; }
.dash-slide .dash-donut-group { animation-name: donutPopFast; }
.dash-slide .dash-sparkline { animation-name: sparkDrawFast; }

@keyframes dashCrossfade {
  0% { opacity: 0; } 6% { opacity: 1; } 27% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes dashDotPulse {
  0% { opacity: 0.25; transform: scale(1); } 6% { opacity: 1; transform: scale(1.3); }
  27% { opacity: 1; transform: scale(1.3); } 33% { opacity: 0.25; transform: scale(1); } 100% { opacity: 0.25; transform: scale(1); }
}
@keyframes growBar { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes growBarH { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes cardPop { 0% { opacity: 0; transform: translateY(8px); } 60% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes donutPop { 0% { opacity: 0; transform: scale(0.7); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sparkDraw { 0% { clip-path: inset(0 100% 0 0); } 60% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }

@keyframes growBarFast { 0% { transform: scaleY(0); } 6% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes growBarHFast { 0% { transform: scaleX(0); } 6% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes cardPopFast { 0% { opacity: 0; transform: translateY(8px); } 6% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes donutPopFast { 0% { opacity: 0; transform: scale(0.7); } 6% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes sparkDrawFast { 0% { clip-path: inset(0 100% 0 0); } 8% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .dash-slide { animation: none !important; opacity: 0 !important; }
  .dash-slide:first-child { opacity: 1 !important; }
  .dash-dots { display: none !important; }
  .dash-bar, .dash-bar-h, .dash-card, .dash-donut-group, .dash-sparkline {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: space-between; }
.trust-strip .trust-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.trust-items span { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--navy-800); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: var(--bronze-300); }
.card .icon { width: 42px; height: 42px; margin-bottom: 18px; color: var(--bronze-600); }
.icon svg { width: 100%; height: 100%; display: block; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bronze-100); color: var(--bronze-600); margin-bottom: 18px; }
.icon-circle .icon { width: 22px; height: 22px; margin-bottom: 0; }
.icon-circle-dark { background: rgba(255,255,255,0.08); color: var(--bronze-300); }

.card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.card p { font-size: 0.94rem; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 0.86rem; color: var(--navy-800); text-decoration: none; }
.card a.card-link::after { content: "→"; transition: transform 0.18s var(--ease); }
.card a.card-link:hover::after { transform: translateX(3px); }

.card-link-wrap { text-decoration: none; display: block; color: inherit; }

/* Service / industry card with index label */
.cap-card { position: relative; }
.cap-card .idx { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-weight: 700; color: var(--bronze-300); font-size: 0.8rem; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band .stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); }
.stat-band .stat span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Journey / process ---------- */
.journey { display: grid; gap: 16px; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(6, 1fr); } }
.journey-step { position: relative; padding: 26px 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius-m); background: rgba(255,255,255,0.03); }
.journey-step .n { font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; color: var(--bronze-400, var(--bronze-500)); letter-spacing: 0.08em; }
.journey-step h4 { color: var(--white); margin: 10px 0 6px; font-size: 1rem; }
.journey-step p { font-size: 0.85rem; color: rgba(247,245,242,0.68); margin: 0; }
.journey-line { display: none; }
@media (min-width: 860px) {
  .journey { position: relative; }
  .journey::before { content: ""; position: absolute; top: 18px; left: 6%; right: 6%; height: 1px; background: var(--line-dark); }
}

/* ---------- Ecosystem / tech chips ---------- */
.tech-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-chip { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px 16px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; min-height: 128px; transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.tech-chip:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: var(--bronze-300); }
.tech-chip .icon-circle { margin-bottom: 0; }
.tech-chip .name { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 0.92rem; }


/* ---------- Case study cards ---------- */
.case-card { display: flex; flex-direction: column; height: 100%; }
.case-card .tag { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze-600); background: var(--bronze-100); padding: 5px 10px; border-radius: 20px; margin-bottom: 14px; }
.case-card .flow { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 16px; font-size: 0.8rem; color: var(--ink-soft); }
.case-card .flow b { color: var(--navy-800); }

/* ---------- Split section ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse .split-media { order: -1; }
@media (min-width: 900px) { .split.reverse .split-media { order: 2; } }
.split-media { border-radius: var(--radius-m); overflow: hidden; }
.split ul.checklist { display: grid; gap: 12px; margin-top: 20px; }
.split ul.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.split ul.checklist li .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--bronze-100); color: var(--bronze-600); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; margin-top: 2px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; font-family: var(--font-display); color: var(--navy-900); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus { flex: none; width: 22px; height: 22px; border: 1px solid var(--bronze-500); border-radius: 50%; position: relative; }
.accordion summary .plus::before, .accordion summary .plus::after { content: ""; position: absolute; background: var(--bronze-600); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.accordion summary .plus::before { width: 10px; height: 1.4px; }
.accordion summary .plus::after { width: 1.4px; height: 10px; transition: transform 0.2s var(--ease); }
.accordion details[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion .a-body { padding: 0 4px 22px; max-width: 68ch; }

/* ---------- Illustration blocks (line-art, no stock photos) ---------- */
.art-frame { position: relative; border-radius: var(--radius-m); overflow: hidden; background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.art-frame svg { width: 82%; height: auto; }
.art-frame--mockup { background: none; aspect-ratio: auto; }
.art-frame--mockup .hero-dashboard { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px -18px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0; font-size: 0.82rem; color: var(--ink-soft); background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--bronze-600); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb li[aria-current] { color: var(--navy-900); font-weight: 600; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative; padding: 64px 0 72px; background: var(--navy-900); color: var(--white); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -18%; right: -8%; width: 640px; height: 640px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cg fill='none' stroke='%23A98F76' stroke-width='1' opacity='0.22'%3E%3Ccircle cx='320' cy='320' r='300'/%3E%3Ccircle cx='320' cy='320' r='230'/%3E%3Ccircle cx='320' cy='320' r='150'/%3E%3Ccircle cx='320' cy='320' r='70'/%3E%3Cpath d='M320 20v600M20 320h600M112 112l416 416M528 112L112 528'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero-visual .hero-dashboard { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px -18px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06); }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lede { color: rgba(247,245,242,0.75); max-width: 62ch; font-size: 1.08rem; margin-top: 14px; }
.page-hero-metaline { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.pill { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,0.08); color: var(--bronze-300); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: var(--white); border-radius: var(--radius-m); padding: 56px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { max-width: 56ch; margin: 0 auto 30px; color: rgba(247,245,242,0.72); }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy-900); }
.field .req { color: var(--bronze-600); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze-500); }
.field-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); }
.field-checkbox input { margin-top: 4px; }
.field-error { font-size: 0.78rem; color: #B3261E; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error .field-error { display: block; }
.form-status { padding: 16px 18px; border-radius: var(--radius-s); font-size: 0.9rem; display: none; margin-bottom: 20px; }
.form-status.show { display: block; }
.form-status.success { background: #E7F3E8; color: #1E4620; }
.form-status.error { background: #FBEAE9; color: #7A241F; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; margin: 0; }
legend { padding: 0 8px; font-weight: 700; font-family: var(--font-display); color: var(--navy-900); font-size: 0.92rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radio-row label { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(247,245,242,0.7); padding: 72px 0 28px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 56px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand img { height: 58px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 32ch; font-size: 0.88rem; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.footer-contact a { text-decoration: none; color: rgba(247,245,242,0.82); }
.footer-contact a:hover { color: var(--bronze-300); }
.footer-contact-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(247,245,242,0.4); margin-left: 2px; }
.footer-col h5 { color: var(--white); font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: rgba(247,245,242,0.68); }
.footer-col a:hover { color: var(--bronze-300); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 0.8rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; color: rgba(247,245,242,0.62); }
.footer-legal a:hover { color: var(--bronze-300); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
body.js-ready .reveal { opacity: 0; transform: translateY(18px); }
body.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { body.js-ready .reveal { opacity: 1; transform: none; } }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.note-box { border: 1px dashed var(--bronze-300); background: var(--bronze-100); border-radius: var(--radius-m); padding: 18px 20px; font-size: 0.86rem; color: var(--navy-800); }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { font-size: 0.78rem; font-weight: 600; padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px; color: var(--navy-800); background: var(--white); }

.icon-list { display: grid; gap: 16px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-500); margin-top: 8px; }
.icon-list b { color: var(--navy-900); display: block; margin-bottom: 2px; }
.icon-list span { font-size: 0.92rem; color: var(--ink-soft); }

/* 404 */
.page-404 { padding: 140px 0; text-align: center; }
.page-404 .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); color: var(--bronze-300); line-height: 1; }
