/* ============================================================
   IepirkumuAI — Landing page styles
   Recreated from the design handoff. Design tokens as documented.
   ============================================================ */

:root {
  /* Colors */
  --navy: #0d243f;
  --footer-navy: #081a30;
  --blue: #2f6fed;
  --light-blue: #6ea0ff;
  --text: #16243a;
  --text-muted: #5b6b7e;
  --on-navy: #aebccd;
  --on-navy-faint: #cdd9e8;
  --gray: #7a8694;
  --gray-2: #9aa6b2;
  --bg: #ffffff;
  --bg-light: #f6f8fb;
  --border: #eef1f5;
  --border-2: #e7ebef;
  --border-3: #ecf0f4;
  --tint: #eef3fb;
  --green: #1f8a5b;
  --green-dark: #15623f;
  --green-bg: #e7f4ee;
  --faded-num: #cfd9e6;
  --faded-num-2: #dbe3ee;
  --muted-chip: #cdd5dd;
  --error: #d9534f;

  /* Layout */
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
button { font-family: inherit; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ===== Keyframes ===== */
@keyframes flowdash { to { stroke-dashoffset: -16; } }
@keyframes floaty   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulse    { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ===== Range inputs ===== */
input[type=range] {
  -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 999px; background: #dbe2ea; outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(47,111,237,0.4); cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(47,111,237,0.4); cursor: pointer;
}

/* ===== Shared ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section-pad { padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px); }
.eyebrow {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.eyebrow.blue { color: var(--blue); }
.eyebrow.lblue { color: var(--light-blue); }
.h2 {
  font-weight: 800; font-size: clamp(28px, 4vw, 42px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0; color: var(--navy);
}

/* Visually hidden (a11y) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid #eceffa;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(20px, 5vw, 40px);
}
.logo-lockup { display: flex; align-items: center; gap: 11px; }
.logo-chip {
  width: 32px; height: 32px; border-radius: 8px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-chip img { width: 22px; height: 22px; }
.logo-word { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--navy); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 15px; color: #4a5867; font-weight: 500; white-space: nowrap;
}
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-login {
  font-size: 15px; color: #4a5867; font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-login:hover { color: var(--navy); }
.btn-nav {
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 600;
  padding: 11px 20px; border-radius: 9px; text-decoration: none;
  white-space: nowrap; cursor: pointer; border: none; transition: background .15s, transform .15s;
}
.btn-nav:hover { background: #14365d; transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 9px; align-items: center; justify-content: center;
}
.nav-burger:hover { background: #eef1f5; }
.nav-burger svg { width: 24px; height: 24px; stroke: var(--navy); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-burger { display: flex; }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none; border-top: 1px solid #eceffa; background: rgba(255,255,255,0.97);
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 15px clamp(20px, 5vw, 40px); font-size: 16px; font-weight: 500;
  color: #4a5867; text-decoration: none; cursor: pointer; border-bottom: 1px solid #f2f4f7;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--bg-light); }

/* ============ HERO ============ */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  min-height: 640px; border-bottom: 1px solid var(--border-3);
}
.hero-left {
  background: var(--navy); padding: clamp(56px, 7vw, 72px) clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 15% 20%, rgba(47,111,237,0.22) 0%, rgba(47,111,237,0) 60%);
}
.hero-content { position: relative; max-width: 520px; margin-left: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: var(--on-navy-faint); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--light-blue); }
.hero h1 {
  font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: 1.04;
  letter-spacing: -0.03em; margin: 0 0 22px; color: #fff;
}
.hero h1 .accent { color: var(--light-blue); }
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--on-navy); margin: 0 0 34px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff; font-size: 17px; font-weight: 600;
  padding: 15px 26px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: none; transition: background .15s, transform .15s;
}
.btn-primary:hover { background: #245fd6; transform: translateY(-1px); }
.link-soft {
  color: var(--on-navy-faint); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: color .15s;
}
.link-soft:hover { color: #fff; }

.hero-right {
  background: var(--bg-light); padding: clamp(48px, 6vw, 64px) clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); font-weight: 700; margin-bottom: 24px;
}
.workflow { display: flex; flex-direction: column; gap: 13px; max-width: 520px; }
.wf-card {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--border-2); border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 14px 30px -26px rgba(13,36,63,0.4);
}
.wf-num {
  width: 38px; height: 38px; border-radius: 9px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0; background: var(--navy);
}
.wf-title { font-weight: 700; font-size: 16px; color: var(--navy); }
.wf-cap { font-size: 14px; color: var(--gray); }
.wf-card.active {
  border-color: #cfe0ff; box-shadow: 0 18px 36px -22px rgba(47,111,237,0.45);
  animation: floaty 3.4s ease-in-out infinite;
}
.wf-card.active .wf-num { background: var(--blue); }
.wf-card.active .wf-cap { color: var(--text-muted); }
.wf-badge {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--blue);
  background: var(--tint); padding: 4px 9px; border-radius: 6px; white-space: nowrap;
  animation: pulse 1.6s ease-in-out infinite;
}
.wf-card.muted { opacity: 0.7; }
.wf-card.muted .wf-num { background: var(--muted-chip); }
.wf-connector { display: flex; justify-content: center; }
.wf-connector line { stroke: #c2ccd6; stroke-width: 2; stroke-dasharray: 4 4; }
.wf-connector.animated line { animation: flowdash 0.8s linear infinite; }

/* ============ PROBLEM ============ */
.problem { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px) 40px; }
.problem-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px; flex-wrap: wrap;
}
.problem-head .h2 { max-width: 620px; }
.problem-intro { font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 380px; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.challenge-card {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 26px; transition: transform .15s, box-shadow .15s;
}
.challenge-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(13,36,63,0.3); }
.challenge-card .c-num {
  font-size: 34px; font-weight: 800; color: var(--faded-num);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 18px;
}
.challenge-card .c-title { font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.challenge-card .c-body { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* ============ SOLUTION ============ */
.solution { background: var(--navy); margin-top: 64px; }
.solution .h2 { color: #fff; max-width: 640px; margin-bottom: 12px; }
.solution-sub { font-size: 18px; color: var(--on-navy); margin: 0 0 44px; max-width: 560px; }
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.sol-list { display: flex; flex-direction: column; gap: 8px; }
.sol-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 12px; cursor: pointer; transition: all .15s;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: var(--on-navy); text-align: left; width: 100%; font: inherit;
}
.sol-item:hover { background: rgba(255,255,255,0.06); }
.sol-item .num { font-weight: 800; font-size: 14px; color: #6b7d92; }
.sol-item .title { font-weight: 600; font-size: 17px; }
.sol-item.active {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff;
}
.sol-item.active .num { color: var(--light-blue); }
.sol-detail {
  background: #fff; border-radius: 16px; padding: 38px 40px;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.5);
}
.sol-detail .sd-eyebrow {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-2); font-weight: 700; margin-bottom: 6px;
}
.sol-detail .sd-title { font-weight: 800; font-size: 28px; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 28px; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 24px; }
.ba-card { border-radius: 12px; padding: 20px; }
.ba-card.before { background: #f7f8f9; border: 1px solid #eceef0; }
.ba-card.after { background: var(--tint); border: 1px solid #d7e4fb; }
.ba-label {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.ba-card.before .ba-label { color: #9097a0; }
.ba-card.after .ba-label { color: var(--blue); text-transform: none; }
.ba-label .dot { width: 8px; height: 8px; border-radius: 50%; }
.ba-card.before .ba-label .dot { background: #c2ccd6; }
.ba-card.after .ba-label .dot { background: var(--blue); }
.ba-body { font-size: 15px; line-height: 1.55; }
.ba-card.before .ba-body { color: var(--text-muted); }
.ba-card.after .ba-body { color: #27384a; }
.result-strip {
  display: flex; align-items: center; gap: 12px; background: var(--green-bg);
  border-radius: 12px; padding: 16px 20px;
}
.result-check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.result-text { font-size: 16px; font-weight: 600; color: var(--green-dark); }

/* ============ HOW IT WORKS ============ */
.how { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px); }
.how-head { text-align: center; margin-bottom: 44px; }
.how-head .h2 { margin: 0 auto 14px; max-width: 620px; }
.how-sub { font-size: 18px; color: var(--text-muted); margin: 0 auto; max-width: 560px; }
.tabs { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; justify-content: center; }
.tab {
  display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 11px;
  cursor: pointer; font-weight: 600; font-size: 16px; transition: all .15s;
  background: #fff; color: #27384a; border: 1px solid #e3e8ee;
}
.tab:hover { border-color: #c9d2dd; }
.tab .num { font-weight: 800; font-size: 13px; color: #aab4c0; }
.tab.active {
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  box-shadow: 0 14px 30px -20px rgba(13,36,63,0.6);
}
.tab.active .num { color: var(--light-blue); }
.how-panel {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.how-num { font-size: clamp(48px, 7vw, 72px); font-weight: 800; color: var(--faded-num-2); letter-spacing: -0.03em; line-height: 1; }
.how-title { font-weight: 800; font-size: 30px; color: var(--navy); letter-spacing: -0.01em; margin: 14px 0; }
.how-summary { font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.step { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid #e6eaef; }
.step:last-child { border-bottom: none; }
.step .step-n {
  width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid #d7e0ea;
  color: var(--blue); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step .step-text { font-size: 16px; color: #27384a; line-height: 1.5; }

/* ============ FEATURES ============ */
.features { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features .h2 { margin: 0 0 48px; max-width: 620px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px;
  transition: transform .15s, box-shadow .15s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(13,36,63,0.25); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 9px; }
.feature-desc { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* ============ METRICS ============ */
.metrics { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px); }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.metric-num { font-weight: 800; font-size: clamp(38px, 5vw, 54px); color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.metric-num.blue { color: var(--blue); }
.metric-num .unit { font-size: 30px; color: var(--blue); }
.metric-num.blue .unit { color: var(--blue); }
.metric-cap { font-size: 15px; color: var(--text-muted); margin-top: 10px; }
.metric-cap .sub { color: var(--gray-2); font-size: 13px; }
.metrics-note { text-align: center; margin: clamp(32px, 4vw, 44px) auto 0; max-width: 640px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }

/* ============ ROI CALCULATOR ============ */
.roi { background: var(--navy); }
.roi-head { margin-bottom: clamp(32px, 4vw, 48px); }
.roi .h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; }
.roi-intro { font-size: 17px; color: var(--on-navy); line-height: 1.55; margin: 0; max-width: 560px; }
.roi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.roi-card-label {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 24px;
}
.roi-controls {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: clamp(24px, 3vw, 36px);
}
.roi-controls .roi-card-label { color: var(--on-navy); }
.sliders { display: flex; flex-direction: column; gap: 26px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.slider-label { font-size: 15px; color: var(--on-navy-faint); font-weight: 600; }
.slider-value { font-size: 20px; color: #fff; font-weight: 800; flex-shrink: 0; }
.slider-row input[type=range] { width: 100%; accent-color: var(--blue); }

.roi-result { background: #fff; border-radius: 18px; padding: clamp(24px, 3vw, 36px); }
.roi-result .roi-card-label { color: var(--gray); }
.roi-hero-tile { background: var(--tint); border-radius: 14px; padding: 24px 26px; margin-bottom: 14px; }
.roi-figure { font-weight: 800; font-size: clamp(40px, 5.5vw, 56px); color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.roi-hero-cap { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-top: 10px; }
.roi-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.roi-tile { background: var(--bg-light); border-radius: 14px; padding: 20px; }
.roi-tile.tint { background: var(--tint); }
.roi-tile.green { background: var(--green-bg); }
.roi-tile .t-num { font-weight: 800; font-size: 26px; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.roi-tile.green .t-num { color: var(--green); }
.roi-tile .t-cap { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.35; }
.roi-tile.green .t-cap { color: var(--green-dark); }

.roi-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.roi-bar-row { display: flex; justify-content: space-between; align-items: baseline; }
.roi-bar-row:not(:first-child) { margin-top: 8px; }
.roi-bar-row .b-label { font-size: 14px; color: var(--text-muted); }
.roi-bar-row .b-val { font-size: 14px; font-weight: 700; color: var(--navy); }
.roi-bar-track { height: 10px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.roi-bar-fill { height: 100%; border-radius: 999px; transition: width .3s ease; }
.roi-bar-fill.now { background: #cbd5e1; }
.roi-bar-fill.ai { background: var(--green); }

.roi-email-btn {
  display: block; margin-top: 22px; text-align: center; text-decoration: none;
  padding: 14px 18px; border-radius: 10px; font-size: 15px; font-weight: 700;
  color: #fff; background: var(--blue); border: 1px solid var(--blue);
  transition: background .15s, transform .15s;
}
.roi-email-btn:hover { background: #245fd6; transform: translateY(-1px); }
.roi-footnote { margin-top: 28px; font-size: 13px; color: var(--on-navy); opacity: .65; line-height: 1.6; max-width: 900px; }

/* ============ COMPARISON ============ */
.comparison { max-width: 1100px; margin: 0 auto; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px); }
.comparison-head { text-align: center; margin-bottom: 16px; }
.comparison-head .h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin: 0 auto; max-width: 700px; }
.table-scroll { margin: 44px 0 0; overflow-x: auto; }
.cmp-table { min-width: 640px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.cmp-head { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.cmp-head > div { padding: 18px 24px; font-weight: 700; }
.cmp-head .c-crit { font-size: 14px; color: var(--gray-2); text-transform: uppercase; letter-spacing: 0.05em; }
.cmp-head .c-uni { font-size: 15px; color: var(--text-muted); }
.cmp-head .c-us { font-size: 15px; color: var(--navy); background: var(--tint); }
.cmp-body .cmp-row { border-bottom: 1px solid #f2f4f7; }
.cmp-body .cmp-row:last-child { border-bottom: none; }
.cmp-body .c-crit { padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--navy); }
.cmp-body .c-uni { padding: 20px 24px; font-size: 15px; color: var(--gray); display: flex; align-items: center; gap: 9px; }
.cmp-body .c-uni .mark { color: #c2ccd6; font-weight: 800; }
.cmp-body .c-us { padding: 20px 24px; font-size: 15px; color: #27384a; font-weight: 600; background: #f8faff; display: flex; align-items: center; gap: 9px; }
.cmp-body .c-us .mark { color: var(--green); font-weight: 800; }
.honest-note {
  margin-top: 24px; background: #fbfbf9; border: 1px solid #eceef0; border-radius: 12px;
  padding: 22px 26px; display: flex; gap: 14px;
}
.honest-note .ico { font-size: 18px; flex-shrink: 0; }
.honest-note .txt { font-size: 14px; line-height: 1.6; color: #6b7682; }

/* ============ FAQ ============ */
.faq { background: var(--bg-light); border-top: 1px solid var(--border); }
.faq-inner { max-width: 860px; margin: 0 auto; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 40px); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head .h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; }
.faq-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 8px 32px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; cursor: pointer; width: 100%; background: none; border: none;
  text-align: left; font: inherit;
}
.faq-q .q-text { font-size: 18px; font-weight: 700; color: var(--navy); }
.faq-q .q-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s, background .2s, color .2s;
  background: var(--border); color: var(--text-muted);
}
.faq-item.open .q-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a {
  font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 680px;
  overflow: hidden; max-height: 0; transition: max-height .25s ease, padding .25s ease; padding: 0;
}
.faq-item.open .faq-a { padding: 0 0 26px; max-height: 400px; }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--navy); position: relative; overflow: hidden; }
.final-cta .glow {
  position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(47,111,237,0.28) 0%, rgba(47,111,237,0) 60%);
}
.final-cta-inner { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(72px, 9vw, 104px) clamp(20px, 5vw, 40px); text-align: center; }
.final-cta h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 20px; color: #fff; }
.final-cta p { font-size: 19px; color: var(--on-navy); line-height: 1.55; margin: 0 0 36px; }
.final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  color: #fff; font-size: 17px; font-weight: 600; padding: 16px 28px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22); background: transparent; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.final-cta .btn-primary { padding: 16px 30px; }

/* ============ FOOTER ============ */
.footer { background: var(--footer-navy); color: var(--on-navy); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px clamp(20px, 5vw, 40px) 48px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-word { color: #fff; }
.footer-blurb { font-size: 15px; line-height: 1.6; color: #8295aa; margin: 16px 0 0; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.footer-col a, .footer-col button {
  color: var(--on-navy); text-decoration: none; background: none; border: none;
  text-align: left; padding: 0; font: inherit; cursor: pointer; transition: color .15s;
}
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-col .accent { color: var(--light-blue); font-weight: 600; }
.footer-col .accent:hover { color: #fff; }
.footer-copy { padding-top: 28px; font-size: 13px; color: #6b7d92; }

/* ============ MODAL (spec submission) ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,16,30,0.62);
  backdrop-filter: blur(5px); display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 5vh, 64px) 20px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: #fff; border-radius: 18px; width: 100%; max-width: 480px;
  box-shadow: 0 40px 80px -30px rgba(8,16,30,0.6); position: relative;
  padding: clamp(28px, 4vw, 40px);
}
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: #f2f4f7; color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; cursor: pointer; border: none; transition: background .15s;
}
.modal-close:hover { background: #e6eaef; }
.modal-eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.modal-title { font-weight: 800; font-size: 24px; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 8px; }
.modal-sub { font-size: 15px; line-height: 1.5; color: var(--text-muted); margin-bottom: 26px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.field label .opt { color: var(--gray-2); font-weight: 400; }
.field input,
.field textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px; font-size: 15px; font-family: inherit;
  color: var(--text); background: #fff; outline: none; box-sizing: border-box;
  border: 1px solid #d7dce1; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,237,0.12); }
.field input[type=file] { padding: 10px 12px; cursor: pointer; }
.field input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; font-size: 13px; color: var(--blue);
  background: var(--tint); border: none; border-radius: 7px; padding: 8px 12px;
  margin-right: 12px; cursor: pointer; transition: background .15s;
}
.field input[type=file]::file-selector-button:hover { background: #e2ebfb; }
.field.error input,
.field.error textarea { border-color: var(--error); }
.field-hint { font-size: 12px; color: var(--gray-2); margin-top: 6px; }
.field-error { font-size: 13px; color: var(--error); margin-top: 6px; }
.btn-submit {
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; padding: 14px;
  border-radius: 10px; text-align: center; cursor: pointer; margin-top: 4px; border: none; width: 100%;
  transition: background .15s;
}
.btn-submit:hover { background: #245fd6; }
.btn-submit:disabled { opacity: 0.7; cursor: default; }
.form-micro { font-size: 12px; line-height: 1.5; color: var(--gray-2); text-align: center; }
.form-micro a { color: var(--blue); font-weight: 600; }
.form-server-error { font-size: 13px; color: var(--error); text-align: center; }

.modal-success { text-align: center; padding: 18px 0 8px; }
.success-check {
  width: 62px; height: 62px; border-radius: 50%; background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800;
  margin: 0 auto 22px;
}
.success-title { font-weight: 800; font-size: 24px; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 12px; }
.success-body { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 360px; margin: 0 auto 28px; }
.btn-success-close {
  display: inline-block; background: var(--navy); color: #fff; font-size: 16px; font-weight: 600;
  padding: 13px 28px; border-radius: 10px; cursor: pointer; border: none;
}
.btn-success-close:hover { background: #14365d; }
