/* ============================================================
   QuickUpay — landing site
   Palette: #001F70 navy · #0088F5 blue · #FFFFFF white · #EAF4FF sky
   ============================================================ */

:root {
  --navy: #001F70;
  --navy-deep: #00164f;
  --navy-ink: #0a1b3d;
  --blue: #0088f5;
  --blue-dark: #006fcc;
  --blue-soft: #d9ebff;
  --white: #ffffff;
  --sky: #eaf4ff;
  --sky-2: #f5faff;
  --muted: #58698a;
  --line: #d9e7f8;
  --ok: #0f9d6e;
  --warn: #b45309;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --shadow-sm: 0 10px 30px -18px rgba(0, 31, 112, 0.35);
  --shadow: 0 30px 70px -34px rgba(0, 31, 112, 0.42);
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.grad { background: linear-gradient(96deg, var(--blue) 0%, #3aa8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow::before { display: none; }
.lede { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 60ch; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 136, 245, 0.8); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); padding-inline: 6px; }
.btn-ghost:hover { color: var(--blue); }
.btn-light { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -26px rgba(0, 31, 112, 0.55); }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 82px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: #2a3c60;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { color: var(--navy); background: var(--sky); }
.nav a.active { color: var(--navy); background: var(--sky); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.ghost-link { font-size: 14px; font-weight: 600; color: var(--navy); padding: 10px 8px; }
.ghost-link:hover { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; padding: 8px 0 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 13px 20px; font-weight: 500; color: #2a3c60; border-radius: 10px; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--sky); color: var(--navy); }
.mobile-nav .mobile-actions { display: flex; gap: 10px; padding: 12px 20px 0; }
.mobile-nav .mobile-actions .btn { flex: 1; }
.mobile-nav.open { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 78px 0 96px;
  background:
    radial-gradient(900px 460px at 92% -10%, rgba(0, 136, 245, 0.16), transparent 65%),
    linear-gradient(180deg, var(--sky) 0%, #f7fbff 58%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 31, 112, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  opacity: 0.5; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 .accent { display: inline-block; color: var(--blue); position: relative; }
.hero h1 .accent::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 9px; background: var(--sky); z-index: -1; border-radius: 3px; }
.hero .lede { font-size: 18.5px; max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.micro-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line); }
.micro-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.micro-trust svg { width: 17px; height: 17px; color: var(--blue); }

/* dashboard mock */
.hero-visual { position: relative; }
.visual-frame {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 26px; padding: 24px; box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.visual-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.visual-top .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.visual-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(15, 157, 110, 0.12); }
.visual-balance { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--navy); margin: 12px 0 2px; letter-spacing: -0.03em; }
.visual-balance small { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.visual-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 20px 0; padding: 12px; border-radius: 14px; background: var(--sky-2); border: 1px solid #e8f1fc; }
.visual-chart span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), #69b9ff); opacity: 0.9; }
.visual-chart span:nth-child(1) { height: 38%; opacity: 0.45; }
.visual-chart span:nth-child(2) { height: 56%; opacity: 0.55; }
.visual-chart span:nth-child(3) { height: 44%; opacity: 0.5; }
.visual-chart span:nth-child(4) { height: 72%; opacity: 0.7; }
.visual-chart span:nth-child(5) { height: 62%; opacity: 0.65; }
.visual-chart span:nth-child(6) { height: 88%; }
.visual-chart span:nth-child(7) { height: 100%; }
.visual-rows { display: grid; gap: 10px; }
.visual-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid #edf4fd; border-radius: 12px; background: #fff; }
.visual-row .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.visual-row .dot.ok { background: rgba(15, 157, 110, 0.1); color: var(--ok); }
.visual-row .meta { line-height: 1.3; }
.visual-row .meta strong { display: block; font-size: 13px; color: var(--navy); }
.visual-row .meta small { font-size: 11.5px; color: var(--muted); }
.visual-row .amt { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--navy); }
.float-note {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}
.float-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.note-a { top: -18px; right: 18px; transform: rotate(2deg); }
.note-b { bottom: -18px; left: -22px; transform: rotate(-2deg); }
.note-b::before { background: var(--ok); }

/* ---------- stats band ---------- */
.band { background: var(--navy); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -190px; background: radial-gradient(circle, rgba(0, 136, 245, 0.35), transparent 65%); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.stat span { display: block; font-size: 13.5px; color: rgba(234, 244, 255, 0.75); margin-top: 4px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 24px; }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.sky { background: var(--sky-2); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.b-card {
  grid-column: span 4; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #bfdcfb; }
.b-card.wide { grid-column: span 8; background: linear-gradient(135deg, var(--navy) 0%, #003a9e 58%, var(--blue) 130%); color: #fff; border-color: transparent; }
.b-card.wide h3, .b-card.wide p { color: #fff; }
.b-card.wide p { color: rgba(234, 244, 255, 0.82); }
.b-card.tall { grid-column: span 4; grid-row: span 2; }
.b-card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue-dark); margin-bottom: 18px;
}
.b-card.wide .ico { background: rgba(255, 255, 255, 0.14); color: #fff; }
.b-card .ico svg { width: 22px; height: 22px; }
.b-card h3 { font-size: 19px; margin-bottom: 8px; }
.b-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.b-card .tag { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); background: var(--sky); padding: 5px 10px; border-radius: 999px; }
.b-card.wide .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.b-card.wide .wide-visual { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.chip { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #eaf4ff; border-radius: 999px; padding: 7px 13px; font-size: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-size: 40px; font-weight: 700;
  color: var(--sky); -webkit-text-stroke: 1px #b9d8f8; letter-spacing: -0.04em; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step .line { position: absolute; top: 52px; right: -22px; width: 22px; height: 2px; background: var(--line); }
.step:last-child .line { display: none; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { display: grid; gap: 16px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--blue-dark); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; height: 14px; }
.check-list strong { display: block; font-size: 15px; color: var(--navy); }
.check-list span { font-size: 14px; color: var(--muted); }

/* ledger panel */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.ledger-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: var(--sky-2); border-bottom: 1px solid var(--line); }
.ledger-head strong { font-family: var(--font-head); font-size: 15px; color: var(--navy); }
.ledger-head .badge { font-size: 11.5px; font-weight: 700; color: var(--ok); background: rgba(15, 157, 110, 0.1); border-radius: 999px; padding: 5px 10px; }
.ledger-body { padding: 8px 22px 18px; }
.ledger-row { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px dashed #e6effa; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--sky); color: var(--blue-dark); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ledger-row .info strong { display: block; font-size: 13.5px; color: var(--navy); }
.ledger-row .info small { color: var(--muted); font-size: 12px; }
.ledger-row .val { margin-left: auto; text-align: right; }
.ledger-row .val strong { display: block; font-size: 13.5px; color: var(--navy); }
.ledger-row .val small { font-size: 11.5px; color: var(--ok); font-weight: 600; }

/* quote */
.quote-band { background: var(--sky); border-block: 1px solid #d7e9ff; padding: 64px 0; }
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote .mark { font-family: var(--font-head); font-size: 64px; line-height: 0.6; color: var(--blue); display: block; margin-bottom: 18px; }
.quote p { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 27px); font-weight: 500; color: var(--navy); line-height: 1.5; letter-spacing: -0.02em; }
.quote cite { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq details[open] { border-color: #bfdcfb; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: 64px 56px; background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 52%, #0049b8 100%); color: #fff; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -130px; bottom: -240px; background: radial-gradient(circle, rgba(0, 136, 245, 0.5), transparent 65%); }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(234, 244, 255, 0.18); border-radius: 50%; right: 90px; top: -150px; }
.cta-band h2 { position: relative; font-size: clamp(28px, 3.4vw, 42px); color: #fff; max-width: 20ch; margin-bottom: 12px; }
.cta-band p { position: relative; color: rgba(234, 244, 255, 0.8); max-width: 55ch; margin-bottom: 26px; }
.cta-band .cta-row { position: relative; margin-top: 0; }

/* divider ornament */
.rule { display: flex; align-items: center; gap: 14px; color: var(--blue); }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: var(--line); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: 68px 0 64px; background: linear-gradient(180deg, var(--sky) 0%, #f8fbff 100%); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 136, 245, 0.22), transparent 68%); }
.page-hero .inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 58px); letter-spacing: -0.035em; margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 0; }
.page-index { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--blue-dark); text-transform: uppercase; padding-bottom: 8px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { opacity: 0.5; }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.value .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 16px; }
.value .ico svg { width: 20px; height: 20px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { margin: 0; color: var(--muted); font-size: 14.5px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sky-2); }
.mv-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.mv-card h3 svg { width: 20px; height: 20px; color: var(--blue); }
.mv-card p { margin: 0; color: var(--muted); }

/* ---------- services page ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.svc:hover { transform: translateY(-3px); border-color: #bfdcfb; box-shadow: var(--shadow-sm); }
.svc .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--sky); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 18px; }
.svc .ico svg { width: 21px; height: 21px; }
.svc h3 { font-size: 18px; margin-bottom: 12px; }
.svc li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); margin-bottom: 7px; }
.svc li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0.7; }
.svc .note { margin-top: 16px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel h2 { font-size: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: inherit; font-size: 14.5px; color: var(--navy-ink); background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 136, 245, 0.12); }
.field textarea { min-height: 120px; resize: vertical; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-status { display: none; margin-top: 12px; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; }
.form-status.success { display: block; background: rgba(15, 157, 110, 0.08); color: #0b6b4c; border: 1px solid rgba(15, 157, 110, 0.22); }
.form-status.error { display: block; background: rgba(220, 38, 38, 0.06); color: #a32323; border: 1px solid rgba(220, 38, 38, 0.2); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.contact-item .ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--blue-dark); display: grid; place-items: center; }
.contact-item .ico svg { width: 19px; height: 19px; }
.contact-item strong { display: block; font-size: 13.5px; color: var(--navy); margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.contact-item a:hover { color: var(--blue); }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sky-2); padding: 26px; }
.map-card .pin { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.map-card h3 { font-size: 17px; margin-bottom: 6px; }
.map-card p { color: var(--muted); font-size: 14px; }
.map-card .btn { margin-top: 8px; }

/* ---------- prose / legal ---------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; background: var(--sky-2); }
.legal-nav strong { display: block; font-family: var(--font-head); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-nav a { display: block; font-size: 13.5px; color: #2a3c60; padding: 7px 0; border-bottom: 1px dashed #e2edfa; }
.legal-nav a:last-child { border-bottom: 0; }
.legal-nav a:hover, .legal-nav a.active { color: var(--blue-dark); }
.prose { max-width: 780px; }
.prose .updated { display: inline-block; font-size: 12.5px; color: var(--muted); background: var(--sky); border-radius: 999px; padding: 5px 12px; margin-bottom: 22px; }
.prose h2 { font-size: 23px; margin-top: 36px; scroll-margin-top: 110px; }
.prose h3 { font-size: 17px; margin-top: 26px; }
.prose p, .prose li { color: #3d4f70; font-size: 15px; }
.prose ul { list-style: disc; padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { background: var(--sky-2); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 22px 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(234, 244, 255, 0.72); padding: 66px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -240px; top: -300px; background: radial-gradient(circle, rgba(0, 136, 245, 0.18), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 34ch; }
.footer h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { font-size: 14px; color: rgba(234, 244, 255, 0.72); }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--blue); }
.footer-bottom { position: relative; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: 12.5px; }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom nav a { font-size: 12.5px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 22, 79, 0.55); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: min(100%, 620px); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 18px; }
.modal-box h2 { font-size: 28px; margin-bottom: 8px; }
.modal-box > p { color: var(--muted); font-size: 14.5px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick label { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 13px; }
.role-pick input { accent-color: var(--blue); }
.role-pick strong { display: block; font-size: 13.5px; color: var(--navy); }
.role-pick small { color: var(--muted); font-size: 11.5px; }

/* ---------- to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.2s ease, transform 0.2s ease; z-index: 50; box-shadow: var(--shadow-sm); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 560px; }
  .note-b { left: 0; }
  .bento .b-card, .b-card.wide, .b-card.tall { grid-column: span 6; }
  .b-card.tall { grid-row: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav a { display: inline-block; border-bottom: 0; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin: 0 6px 6px 0; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--container)); }
  .nav, .topbar-actions .ghost-link { display: none; }
  .topbar-actions { margin-left: auto; }
  .topbar-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 52px 0 70px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero .lede { font-size: 16.5px; }
  .float-note { display: none; }
  .section { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-card, .b-card.wide, .b-card.tall { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step .line { display: none; }
  .split, .mv-grid, .values, .contact-grid, .form-2 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .cta-band { padding: 40px 26px; border-radius: 22px; }
  .page-hero .inner { grid-template-columns: 1fr; }
  .page-index { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .role-pick { grid-template-columns: 1fr; }
  .modal-box { padding: 26px; }
}

/* extra icon sizes */
.map-card .pin svg { width: 20px; height: 20px; }
.rule svg { width: 18px; height: 18px; }
.hero-visual .float-note svg { width: 15px; height: 15px; }

/* quarter bento cards */
.b-card.quarter { grid-column: span 3; }
@media (max-width: 1020px) { .b-card.quarter { grid-column: span 6; } }
@media (max-width: 760px) { .b-card.quarter { grid-column: auto; } }

.footer-tagline {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fd0ff;
}
