/* =========================================================
   AICEA: clean, typographic stylesheet
   One family (Source Sans 3), restrained colour, generous space.
   ========================================================= */

:root {
  --navy: #13294B;
  --blue: #2559A5;
  --blue-dark: #1B4486;
  --azure: #4F9AD8;
  --sky: #86CDF3;
  --ice: #E3ECF8;
  --mist: #F4F6F8;
  --line: #DDE2EA;
  --line-strong: #B9C4D6;
  --muted: #5B6270;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #1F7A4D;

  --font: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --gutter: clamp(20px, 5.4vw, 140px);
  --edge: clamp(8px, 1vw, 16px);
  --maxw: 1920px;
  --header-h: 80px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
  margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; font-weight: 400;
  color: var(--navy); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc-stage :focus-visible, .band :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 100; background: var(--navy); color: var(--white); font-weight: 600; padding: 12px 20px; border-radius: 4px; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 9vw, 160px); }

/* ---------- Type ---------- */
.h2 { font-weight: 700; font-size: clamp(36px, 3.8vw, 68px); line-height: 1.1; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.accent { color: var(--blue); }
.lead { font-size: clamp(19px, 1.25vw, 23px); line-height: 1.7; color: var(--muted); max-width: 40em; text-wrap: pretty; }
.lead + .lead { margin-top: 16px; }
.section-head { margin-bottom: clamp(48px, 4.5vw, 80px); }
.section-head .h2 { margin-bottom: 20px; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--blue-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 4px; border: 2px solid transparent;
  font-weight: 600; font-size: 18px; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { display: none; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 17px; }
.btn-lg { min-height: 60px; padding: 0 36px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--ice); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; padding: var(--edge) var(--edge) 0; }
.header-inner { position: relative; z-index: 2; display: flex; gap: var(--edge); align-items: stretch; }
.nav-bar {
  flex: 1 1 auto; min-width: 0; min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px clamp(18px, 2.6vw, 48px);
  background: rgba(244,246,248,.97); border-radius: 6px;
  transition: box-shadow .3s ease;
}
.is-scrolled .nav-bar, .is-scrolled .menu-toggle { box-shadow: 0 10px 30px -20px rgba(19,41,75,.45); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; }
.brand-word { font-weight: 700; font-size: 30px; letter-spacing: .04em; line-height: 1; color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: clamp(28px, 4.2vw, 88px); margin-left: auto; margin-right: clamp(16px, 3vw, 64px); }
.nav-links a { position: relative; display: inline-block; padding: 10px 0; font-size: 19px; font-weight: 400; color: var(--navy); transition: color .2s ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.is-current { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }

.menu-toggle {
  flex: none; width: calc(var(--header-h) + 20px); min-height: var(--header-h);
  display: grid; place-items: center;
  background: rgba(244,246,248,.97); border: 0; border-radius: 6px; color: var(--navy);
  transition: color .2s ease, box-shadow .3s ease;
}
.menu-toggle:hover { color: var(--blue); }
.burger { position: relative; width: 34px; height: 20px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s ease, top .35s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Menu panel: drops below the bar */
.menu-backdrop { position: fixed; inset: 0; z-index: 0; background: rgba(19,41,75,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.site-menu {
  position: absolute; z-index: 1; left: var(--edge); right: var(--edge); top: calc(var(--header-h) + var(--edge) * 2);
  max-height: calc(100svh - var(--header-h) - var(--edge) * 4); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 72px) clamp(24px, 4.4vw, 88px);
  background: var(--mist); border-radius: 6px;
  opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility 0s linear .4s;
}
.site-menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s ease, transform .4s var(--ease-out), visibility 0s; }
.menu-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px clamp(48px, 8vw, 160px); }
.menu-primary li { border-bottom: 1px solid var(--navy); }
.menu-primary a { display: block; padding: clamp(18px, 2.4vh, 28px) 0; font-size: clamp(30px, 3vw, 48px); font-weight: 400; line-height: 1.2; color: var(--navy); transition: color .2s ease, padding-left .35s var(--ease); }
.menu-primary a:hover { color: var(--blue); padding-left: 12px; }
.menu-side { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.menu-label { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.menu-services a { display: block; padding: 10px 0; font-size: clamp(20px, 1.5vw, 24px); color: var(--navy); transition: color .2s ease; }
.menu-services a:hover { color: var(--blue); }

.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); transition: background-color .2s ease; }
.socials a:hover { background: var(--navy); }
.socials-sm a { width: 44px; height: 44px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h) - var(--edge)), 1040px);
  display: flex; align-items: center;
  padding-block: clamp(56px, 9vh, 140px) clamp(56px, 8vh, 112px);
}
.hero-inner { width: 100%; }
.hero-title { font-weight: 700; font-size: clamp(56px, 8.6vw, 184px); line-height: 1.04; letter-spacing: -.01em; color: var(--navy); }
.ht-row { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .26em; }
.ht-word { position: relative; display: inline-grid; white-space: nowrap; }
.ht-layer { grid-area: 1 / 1; white-space: nowrap; }
.ht-layer .ch { display: inline-block; white-space: pre; }
.ht-layer .ch.is-pre { opacity: 0; transform: translateY(.12em); filter: blur(6px); }
.ht-layer .ch.is-in { opacity: 1; transform: none; filter: none; transition: opacity .45s ease, transform .6s var(--ease-out), filter .45s ease; }
.ht-layer .ch.is-out { opacity: 0; transform: translateY(-.1em); filter: blur(6px); transition: opacity .3s ease, transform .35s ease-in, filter .3s ease; }
.ht-brand { color: var(--navy); }

/* The strike line: enters from the left, strikes the word, rests on the right */
.comet { position: absolute; left: 0; top: .45em; z-index: 2; width: 1.6em; height: .1em; pointer-events: none; }
.no-js .comet { left: auto; right: 0; }
.comet-trail { position: absolute; left: 0; right: 0; top: 50%; height: .075em; transform: translateY(-50%); background: var(--navy); transition: left .3s var(--ease-out); }
.comet.is-flying .comet-trail { left: -1.6em; background: linear-gradient(90deg, rgba(37,89,165,0), var(--blue) 45%, var(--navy)); }

/* Track */
.track-wrap { display: flex; align-items: center; gap: 24px; margin-top: clamp(48px, 8vh, 104px); }
.track { position: relative; flex: 1 1 auto; height: 48px; min-width: 0; }
.track-rail { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: var(--line); }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); transition: width .9s var(--ease); }
.track-spark { display: none; }
.track-stops { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.stop {
  width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center;
  font-weight: 700; font-size: 24px; line-height: 1;
  background: var(--white); color: var(--muted); border: 2px solid var(--line-strong);
  box-shadow: 0 0 0 8px var(--white);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.stop:hover { color: var(--blue); border-color: var(--blue); }
.stop.is-past { background: var(--ice); color: var(--blue); border-color: var(--blue); }
.stop.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.motion-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: var(--muted); font-size: 15px; font-weight: 600;
}
.motion-toggle:hover { color: var(--blue); }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }

.hero-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 32px clamp(40px, 6vw, 160px); margin-top: clamp(40px, 6vh, 80px); }
.hero-desc { font-size: clamp(21px, 1.6vw, 30px); line-height: 1.5; color: var(--muted); max-width: 34em; min-height: 3em; transition: opacity .3s ease; }
.hero-desc.is-swapping { opacity: 0; }
.hero-desc strong { color: var(--navy); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
.cta-row .btn { flex: 1 1 200px; max-width: 260px; }

/* =========================================================
   Capability strip
   ========================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-group li { display: inline-flex; align-items: center; gap: 40px; padding: 28px 40px 28px 0; font-size: clamp(20px, 1.6vw, 26px); font-weight: 600; white-space: nowrap; color: var(--navy); }
.marquee-group li::after { content: ''; flex: none; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Intro + agent card
   ========================================================= */
.intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 180px); align-items: center; padding-block: clamp(80px, 9vw, 160px); }
.intro .h2 { margin-bottom: 28px; }
.agent-wrap { justify-self: end; width: 100%; max-width: 640px; }
.agent-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(19,41,75,.4); }
.agent-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; background: var(--mist); border-bottom: 1px solid var(--line); }
.agent-id { display: flex; align-items: center; gap: 12px; }
.agent-avatar img { width: 34px; }
.agent-name { font-weight: 700; font-size: 19px; line-height: 1.2; }
.agent-sub { font-size: 15px; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); transition: background-color .3s ease; }
.status-pill.is-done .status-dot { background: var(--success); }
.agent-steps { list-style: none; margin: 0; padding: 8px 28px 12px; }
.agent-steps li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #EDF0F5; font-size: 18px; line-height: 1.4; color: var(--muted); transition: color .3s ease; }
.agent-steps li:last-child { border-bottom: 0; }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #C9D3E3; background: var(--white); color: var(--white); transition: background-color .3s ease, border-color .3s ease; }
.tick svg { opacity: 0; transition: opacity .3s ease; }
.agent-steps li.is-done { color: var(--navy); font-weight: 600; }
.agent-steps li.is-done .tick { background: var(--blue); border-color: var(--blue); }
.agent-steps li.is-done .tick svg { opacity: 1; }
.agent-foot { padding: 0 28px 24px; }
.agent-bar { display: block; height: 4px; border-radius: 2px; background: var(--ice); overflow: hidden; }
.agent-bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .8s var(--ease); }

/* =========================================================
   Statement band
   ========================================================= */
.band-wrap { padding-inline: var(--edge); }
.band { position: relative; overflow: hidden; border-radius: 12px; color: var(--white); background: linear-gradient(115deg, var(--navy) 0%, #1F4584 50%, var(--blue) 100%); }
.band-orbits { position: absolute; inset: 0; width: 100%; height: 100%; }
.o1 { opacity: .7; } .o2 { opacity: .25; }
.band-inner { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; gap: 40px clamp(48px, 7vw, 160px); padding: clamp(64px, 8vw, 150px) var(--gutter); }
.band-statement { font-weight: 600; font-size: clamp(28px, 3vw, 54px); line-height: 1.22; letter-spacing: -.005em; text-wrap: balance; }
.band-statement .accent { color: var(--white); }
.band-sub { font-size: clamp(18px, 1.2vw, 21px); line-height: 1.7; color: #DCE8F7; }

/* =========================================================
   Services
   ========================================================= */
.services { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 96px); align-items: stretch; }
.svc-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-tabs [role="tab"] {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 18px 4px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: clamp(20px, 1.4vw, 25px); color: var(--navy); transition: color .2s ease;
}
.svc-tabs [role="tab"]:hover, .svc-tabs [role="tab"][aria-selected="true"] { color: var(--blue); }
.svc-mark { flex: none; width: 12px; height: 12px; border-radius: 3px; background: #C9D3E3; transition: background-color .2s ease; }
[aria-selected="true"] .svc-mark { background: var(--blue); }
.svc-stage { border-radius: 12px; color: var(--white); background: linear-gradient(135deg, var(--navy) 0%, #1F4584 100%); }
.svc-panel { display: flex; flex-direction: column; gap: 24px; height: 100%; padding: clamp(36px, 4vw, 72px); }
.no-js .svc-panel + .svc-panel { border-top: 1px solid rgba(255,255,255,.15); }
.svc-panel:focus-visible { outline-offset: -6px; }
.svc-panel.is-entering { animation: fade .4s ease both; }
@keyframes fade { from { opacity: 0; } }
.svc-panel h3 { font-weight: 700; font-size: clamp(28px, 2.4vw, 44px); line-height: 1.15; }
.svc-panel > p { font-size: clamp(19px, 1.3vw, 22px); line-height: 1.65; color: #DCE8F7; max-width: 36em; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.5; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Cpath d='M4 11.5l4.5 4L18 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Cpath d='M4 11.5l4.5 4L18 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-panel .btn { align-self: flex-start; margin-top: auto; }

/* =========================================================
   Approach
   ========================================================= */
.approach { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px clamp(28px, 3vw, 64px); }
.step { position: relative; padding-top: 28px; border-top: 3px solid var(--line); }
.step::after { content: ''; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) var(--d, 0s); }
.step.is-in::after, .no-js .step::after { transform: scaleX(1); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--blue); color: var(--white); font-weight: 700; font-size: 19px; margin-bottom: 20px; }
.step h3 { font-weight: 700; font-size: clamp(23px, 1.6vw, 28px); margin-bottom: 10px; }
.step p { font-size: 18px; line-height: 1.65; color: var(--muted); }

/* =========================================================
   Why
   ========================================================= */
.why-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(40px, 6vw, 160px); }
.why-head .h2 { margin-bottom: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 3vw, 64px); }
.why-card { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.why-card h3 { font-weight: 700; font-size: clamp(22px, 1.6vw, 27px); line-height: 1.25; margin-bottom: 10px; }
.why-card p { font-size: 18px; line-height: 1.65; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 6vw, 160px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-weight: 600; font-size: clamp(20px, 1.5vw, 26px); line-height: 1.3; transition: color .2s ease; }
.faq-item summary:hover h3 { color: var(--blue); }
.faq-icon { position: relative; flex: none; width: 24px; height: 24px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item p { padding: 0 0 28px; max-width: 48em; font-size: 18px; line-height: 1.7; color: var(--muted); }

/* =========================================================
   Contact
   ========================================================= */
.contact-wrap { padding: 0 var(--edge) var(--edge); }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 160px); align-items: start;
  padding: clamp(56px, 7vw, 128px) var(--gutter); border-radius: 12px; background: var(--mist);
}
.contact .h2 { margin-bottom: 24px; }
.contact-list { margin-top: 40px; display: grid; gap: 18px; }
.contact-list dt { font-size: 15px; color: var(--muted); }
.contact-list dd { font-size: 19px; font-weight: 600; }
.contact-list a { color: var(--blue); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-note { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 16px; font-weight: 600; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 17px; color: var(--navy);
  background: var(--white); border: 1px solid #CFD6E0; border-radius: 4px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9FB0C8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,89,165,.2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after { content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-hint { font-size: 15px; color: var(--muted); }
.field-error { font-size: 15px; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding-block: clamp(56px, 5vw, 88px) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px clamp(40px, 6vw, 160px); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer-logo img { width: 360px; max-width: 100%; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.footer-nav li { padding: 6px 0; font-size: 17px; color: var(--muted); overflow-wrap: anywhere; }
.footer-nav a { color: var(--muted); transition: color .2s ease; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; font-size: 15px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { display: inline-block; padding: 10px 0; color: var(--muted); }
.footer-legal a:hover { color: var(--blue); }

/* =========================================================
   Reveal (subtle)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--d, 0s), transform .7s var(--ease-out) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Motion control
   ========================================================= */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
html.motion-paused .svc-panel { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .intro, .services, .faq, .contact, .band-inner, .hero-foot, .footer-top, .why-head { grid-template-columns: 1fr; }
  .agent-wrap { justify-self: stretch; max-width: none; }
  .faq .section-head { position: static; }
  .cta-row { justify-content: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .why-grid, .checks, .menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 17px; }
  .brand-word { font-size: 24px; }
  .brand img { width: 32px; }
  .nav-cta { display: none; }
  .menu-toggle { width: var(--header-h); }
  .steps { grid-template-columns: 1fr; }
  .track-wrap { flex-direction: column; align-items: stretch; }
  .motion-toggle { align-self: flex-start; }
  .stop { width: 44px; height: 44px; font-size: 20px; box-shadow: 0 0 0 6px var(--white); }
  .contact-form { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { max-width: none; }
  .hero { min-height: 0; }
}

/* =========================================================
   Contact form consent note
   ========================================================= */
.form-consent { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   Legal pages (Privacy Policy, Terms of Use)
   ========================================================= */
.legal-hero { padding-block: clamp(48px, 6vw, 104px) clamp(40px, 4vw, 72px); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 16px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-title { font-weight: 700; font-size: clamp(44px, 5.4vw, 96px); line-height: 1.05; letter-spacing: -.01em; }
.legal-meta { margin-top: 16px; font-size: 17px; color: var(--muted); }
.legal-summary { margin-top: clamp(32px, 3vw, 48px); padding: clamp(24px, 2.4vw, 40px); background: var(--mist); border-radius: 8px; border-left: 4px solid var(--blue); max-width: 1100px; }
.legal-summary h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.legal-summary ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 18px; line-height: 1.6; color: var(--navy); }
.legal-summary a, .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-summary a:hover, .prose a:hover { color: var(--blue-dark); }

.legal-grid { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2.6fr); gap: clamp(40px, 6vw, 140px); align-items: start; padding-block: clamp(48px, 5vw, 96px) clamp(80px, 8vw, 140px); }
.toc { position: sticky; top: calc(var(--header-h) + 40px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; }
.toc-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.toc ol { border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 16px; line-height: 1.4; color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }

.prose { max-width: 820px; font-size: 18px; line-height: 1.75; color: #2A3446; }
.prose section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 { font-size: clamp(24px, 1.9vw, 32px); font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 16px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.prose p + p, .prose ul + p, .prose p + ul, .prose .table-wrap + p, .prose p + address, .prose address + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose strong { color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.55; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mist); font-weight: 700; color: var(--navy); }
.prose tr:last-child td { border-bottom: 0; }
.contact-card { font-style: normal; padding: 20px 24px; background: var(--mist); border-radius: 8px; line-height: 1.8; }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; padding: 20px 24px; background: var(--mist); border-radius: 8px; }
}

/* Tagline */
.tagline { display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(16px, 2.4vh, 32px); font-size: clamp(17px, 1.3vw, 22px); font-weight: 600; letter-spacing: .01em; color: var(--blue); }
.tagline::before { content: ''; width: 40px; height: 2px; background: var(--blue); }
.footer-tagline { font-size: 19px; font-weight: 600; color: var(--navy); margin-top: -8px; }

/* Form actions: send + email alternative */
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.form-actions .btn { flex: 1 1 240px; }
