:root {
  --navy: #112c46;
  --navy-2: #183d5c;
  --ink: #1c2b36;
  --muted: #5d6b76;
  --accent: #2d7c78;
  --accent-dark: #215f5c;
  --surface: #f4f7f8;
  --surface-2: #edf2f4;
  --white: #ffffff;
  --line: #d8e0e5;
  --focus: #0b62a3;
  --shadow: 0 18px 50px rgba(17, 44, 70, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(11, 98, 163, .28); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section.compact { padding: 62px 0; }
.section.alt { background: var(--surface); }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-weight: 750; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.45rem, 5vw, 4.65rem); letter-spacing: -.045em; max-width: 900px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1.15rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--muted); max-width: 760px; }
.small { font-size: .92rem; color: var(--muted); }
.muted { color: var(--muted); }

.topbar { background: #0c2338; color: #dfe9ef; font-size: .88rem; }
.topbar .container { display: flex; gap: 20px; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbar a { color: #eef6fa; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: -.025em; font-size: 1.06rem; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: #314453; padding: 10px 11px; border-radius: 8px; font-size: .94rem; font-weight: 650; }
.nav a[aria-current="page"] { color: var(--navy); background: var(--surface-2); }
.nav a:hover { background: var(--surface); color: var(--navy); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 11px; color: var(--navy); cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 9px; border: 1px solid transparent; text-decoration: none; font-weight: 750; transition: .18s ease; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { border-color: #b9c7d0; background: #fff; color: var(--navy); }
.btn-secondary:hover { border-color: var(--navy); background: var(--surface); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 13px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { padding: 82px 0 74px; background: linear-gradient(180deg, #fbfcfd, #f2f6f7); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 24px; box-shadow: var(--shadow); border: 1px solid #d7e1e6; }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-top: 34px; max-width: 760px; }
.info-strip > div { background: #fff; padding: 16px 18px; }
.info-strip strong { display: block; color: var(--navy); font-size: .97rem; }
.info-strip span { color: var(--muted); font-size: .86rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 30px rgba(17,44,70,.035); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eaf3f2; color: var(--accent-dark); margin-bottom: 20px; }
.card .icon svg { width: 25px; height: 25px; stroke: currentColor; }
.card-link { text-decoration: none; display: inline-flex; margin-top: 12px; font-weight: 750; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.kicker-box { border-left: 4px solid var(--accent); background: var(--surface); padding: 22px 24px; border-radius: 0 12px 12px 0; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid #edf0f2; }
.list-clean li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; }
.list-clean li:last-child { border-bottom: 0; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { counter-increment: step; border-top: 3px solid var(--accent); padding: 22px 18px 0 0; }
.process-step::before { content: "0" counter(step); display: block; color: var(--accent-dark); font-weight: 800; font-size: .82rem; letter-spacing: .08em; margin-bottom: 12px; }

.callout { background: var(--navy); color: #edf5f8; border-radius: 22px; padding: clamp(28px, 5vw, 52px); display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.callout h2 { color: #fff; margin-bottom: 10px; }
.callout p { color: #c9d8e3; margin-bottom: 0; max-width: 720px; }
.callout .btn-secondary { border-color: #7f98aa; background: transparent; color: #fff; }
.callout .btn-secondary:hover { background: rgba(255,255,255,.08); }

.page-hero { padding: 68px 0 58px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.35rem, 4.5vw, 4rem); margin-bottom: 18px; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 680px; background: #fff; }
th, td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--navy); background: var(--surface); }
tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; }
.contact-card { background: var(--navy); color: #eaf2f6; border-radius: 20px; padding: 34px; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card a { color: #fff; }
.contact-detail { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-detail:last-child { border-bottom: 0; }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 34px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
label { display: block; color: var(--navy); font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid #bfcbd3; border-radius: 9px; background: #fff; color: var(--ink); padding: 12px 13px; min-height: 46px; }
textarea { min-height: 142px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 3px solid rgba(11,98,163,.12); }
.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.checkbox input { width: 18px; height: 18px; min-height: 0; margin-top: 4px; }
.checkbox label { font-weight: 500; color: var(--ink); margin: 0; }
.form-note { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.status { margin-top: 16px; padding: 12px 14px; border-radius: 9px; display: none; }
.status.show { display: block; }
.status.error { color: #7c1e1e; background: #fff1f1; border: 1px solid #efc4c4; }
.status.success { color: #165845; background: #effaf5; border: 1px solid #bce6d5; }

.notice { background: #fff9e8; border: 1px solid #ebd99c; border-radius: 12px; padding: 18px 20px; color: #5d4a13; }
.notice strong { color: #46370d; }
.legal h2 { margin-top: 42px; font-size: 1.6rem; }
.legal h3 { margin-top: 28px; font-size: 1.2rem; }
.legal ul { padding-left: 1.25rem; }
.legal code { background: var(--surface); border: 1px solid var(--line); padding: 2px 5px; border-radius: 5px; }

.site-footer { background: #0b2236; color: #d3dfe7; padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 42px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { font-size: 1.2rem; margin-bottom: 14px; }
.site-footer h3 { font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #e8f0f4; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 38px; padding-top: 22px; font-size: .84rem; color: #9fb2c0; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }

@media (max-width: 980px) {
  .topbar .container { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; border-radius: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin-top: 6px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .hero-visual { max-width: 720px; }
  .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 66px 0; }
  .topbar { display: none; }
  .header-inner { min-height: 66px; }
  .brand { max-width: 73%; white-space: normal; line-height: 1.15; }
  .hero { padding: 58px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .info-strip { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .process, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .field.full { grid-column: auto; }
  .card, .form-card, .contact-card { padding: 24px; }
  .callout { align-items: flex-start; flex-direction: column; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
