@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f2137;
  --text: #3b4f66;
  --muted: #6b7f95;
  --navy-950: #081a2f;
  --navy-900: #0c2742;
  --navy-800: #13385d;
  --navy-700: #1c4a78;
  --teal: #2b8a7a;
  --teal-600: #237263;
  --teal-50: #ecf6f3;
  --teal-100: #d3ebe4;
  --line: #e2e8f0;
  --surface: #f6f8fb;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 55, 0.06);
  --shadow: 0 1px 2px rgba(15, 33, 55, 0.05), 0 8px 24px rgba(15, 33, 55, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 33, 55, 0.06), 0 16px 40px rgba(15, 33, 55, 0.10);
  --space: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--teal-600); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-size: 21px; font-weight: 800; letter-spacing: 0.14em; }
.brand-name span { font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; gap: 6px; font-size: 14.5px; font-weight: 500; }
.site-nav a {
  color: var(--text); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--surface); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--teal-50); color: var(--teal-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(43, 138, 122, 0.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(28, 74, 120, 0.9), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: 112px 0 128px;
}
.hero-pattern {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0.5; pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #a9c4dc;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--teal); }
.hero h1 {
  margin: 0 0 20px; max-width: 760px;
  font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; font-weight: 700;
  letter-spacing: -0.025em; color: var(--white);
  text-wrap: balance;
}
.hero-lede {
  margin: 0 0 40px; max-width: 560px;
  font-size: 19px; line-height: 1.6; color: #c9d7e6;
}
.hero-lede strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px 15px 20px; border-radius: 999px;
  background: var(--white); color: var(--navy-950);
  font-size: 18px; font-weight: 700; letter-spacing: -0.005em; text-decoration: none;
  box-shadow: 0 10px 30px rgba(3, 12, 24, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { color: var(--navy-950); background: #f2fbf8; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(3, 12, 24, 0.42); }
.btn-icon {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: var(--white);
}
.btn-icon svg { width: 17px; height: 17px; }
.hero-note { font-size: 14.5px; color: #a9c4dc; }

/* ---------- Home content ---------- */
.contact { position: relative; z-index: 1; margin-top: -56px; padding-bottom: 88px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.card-icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 12px; background: var(--teal-50); color: var(--teal-600);
}
.card-icon svg { width: 22px; height: 22px; }
.card h2 {
  margin: 0 0 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.card address, .card p { margin: 0; font-style: normal; color: var(--ink); font-size: 16.5px; line-height: 1.6; }
.card .big-link { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.card .big-link:hover { color: var(--teal-600); }

.notice {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px; padding: 24px 28px;
  background: linear-gradient(180deg, #f8fbfd 0%, var(--surface) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
}
.notice-icon {
  flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
}
.notice-icon svg { width: 20px; height: 20px; }
.notice-title { margin: 0 0 4px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.notice-text { margin: 0; color: var(--text); font-size: 16px; }

/* ---------- Legal pages ---------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(43, 138, 122, 0.28), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-head .hero-pattern { opacity: 0.35; }
.page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4.6vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em;
}
.page-head p { margin: 0; max-width: 620px; color: #b8cadc; font-size: 15.5px; }

.legal { padding: 64px 0 96px; }
.prose { max-width: 68ch; }
.prose h2 {
  margin: 44px 0 12px; padding-top: 18px;
  position: relative;
  font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
}
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 36px; height: 3px; border-radius: 3px; background: var(--teal);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose address { margin: 0 0 16px; }
.prose address { font-style: normal; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose .notice { display: block; margin: 20px 0 20px; padding: 20px 24px; border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--teal-50); border-top: 0; border-right: 0; border-bottom: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8fa6bd; font-size: 14.5px; padding: 56px 0 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.footer-brand .brand-mark rect { fill: #1c4a78; }
.footer-brand strong { font-size: 16px; font-weight: 700; display: block; }
.footer-brand span { font-size: 13.5px; color: #8fa6bd; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.site-footer a { color: #d3dfeb; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-meta {
  margin: 32px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .site-header .container { min-height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name strong { font-size: 19px; }
  .brand-name span { display: none; }
  .site-nav { gap: 2px; font-size: 13.5px; }
  .site-nav a { padding: 7px 10px; }
  .hero { padding: 64px 0 96px; }
  .eyebrow { margin-bottom: 18px; font-size: 11.5px; }
  .hero h1 { font-size: 34px; }
  .hero-lede { font-size: 17px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-note { text-align: center; }
  .contact { margin-top: -48px; padding-bottom: 64px; }
  .card { padding: 22px 20px; }
  .card-icon { margin-bottom: 14px; }
  .notice { padding: 20px; gap: 14px; }
  .page-head { padding: 48px 0 44px; }
  .legal { padding: 44px 0 72px; }
  .prose h2 { margin-top: 36px; font-size: 19px; }
  .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Header: client login ---------- */
.site-header .container { flex-wrap: wrap; }
.site-nav { order: 2; margin-left: auto; }
.header-cta {
  order: 3;
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--navy-800); color: var(--navy-900);
  font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.header-cta:hover { background: var(--navy-900); color: var(--white); }
@media (max-width: 600px) {
  .site-header .container { row-gap: 0; padding-top: 12px; padding-bottom: 8px; min-height: 0; }
  .header-cta { order: 2; margin-left: auto; padding: 7px 14px; font-size: 13.5px; }
  .site-nav { order: 3; width: 100%; margin: 8px 0 0 -10px; }
}
