:root {
  --ink: #0f1f33;
  --ink-soft: #44546a;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --line: #dbe2ec;
  --brand: #0f6e78;
  --brand-dark: #0b525a;
  --brand-tint: #e3f2f3;
  --navy: #10233d;
  --error: #b4234a;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: -0.5px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 88px 0 80px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0 0 18px; max-width: 760px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; color: #c9d5e6; max-width: 640px; margin: 0 0 30px; }
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-tint); color: var(--navy); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.3px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 720px; margin: 0 0 40px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; color: var(--ink-soft); }
.card-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:first-child { color: var(--ink-soft); }
.facts li span:last-child { font-weight: 600; text-align: right; }

.cta { background: var(--brand); color: #fff; border-radius: 14px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #d6eef0; }

/* Page header */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.4px; }
.page-head p { margin: 0; color: var(--ink-soft); }

/* Legal text */
.legal { max-width: 780px; padding: 48px 20px 80px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: #24364d; }
.legal .notice { background: var(--brand-tint); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 6px; margin: 20px 0; }
.legal .notice p { margin: 0; }

/* Form */
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid #c3cdda; border-radius: 7px;
  font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.consent label { font-size: 14px; color: #24364d; line-height: 1.55; }
.form-note { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }
.form-error { color: var(--error); font-size: 14px; margin: 0 0 14px; display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy); color: #b5c3d6; padding: 48px 0 32px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.6px; }
.site-footer a { color: #b5c3d6; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer .bottom { border-top: 1px solid #253a57; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 56px; }
  section { padding: 52px 0; }
  .cta { padding: 30px; }
  .wrap { padding: 0 16px; }
}
