:root {
  --ink: #102a43;
  --muted: #5d7083;
  --blue: #1457a6;
  --blue-dark: #0c3f7d;
  --sky: #e8f3ff;
  --paper: #f7f8f5;
  --white: #fff;
  --line: #dce5ec;
  --green: #1b8f5a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 87, 166, .08), transparent 28rem),
    var(--paper);
}

a { color: inherit; }

.flag-line { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 5px; }
.flag-line span:nth-child(1) { background: #f5d22d; }
.flag-line span:nth-child(2) { background: #1759a8; }
.flag-line span:nth-child(3) { background: #d7353f; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 42, 67, .14);
}
.brand-mark svg { width: 27px; fill: none; stroke: white; stroke-width: 2.1; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }

.independent-badge {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

main { display: grid; align-items: center; min-height: calc(100vh - 210px); padding: 48px 0 70px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(52px, 8vw, 110px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }
h1 { max-width: 680px; margin: 0; font-size: clamp(46px, 6.4vw, 82px); line-height: .98; letter-spacing: -.055em; }
.intro { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 21px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(20, 87, 166, .22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 15px 32px rgba(20, 87, 166, .28); }
.button-secondary { border: 1px solid var(--line); background: var(--white); }
.button-secondary:hover { box-shadow: 0 10px 24px rgba(16, 42, 67, .08); }
.external-note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.external-note svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.service-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(220,229,236,.85);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 70px rgba(16, 42, 67, .12);
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #f5d22d 50%, #1759a8 50% 75%, #d7353f 75%); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.card-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 700; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(27,143,90,.12); }
.service-card h2 { margin: 24px 0 20px; font-size: 24px; letter-spacing: -.025em; }
.service-link { display: grid; grid-template-columns: 34px 1fr 20px; gap: 13px; align-items: center; padding: 17px 5px; border-top: 1px solid var(--line); text-decoration: none; }
.service-link:last-child { padding-bottom: 4px; }
.service-number { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.service-link strong, .service-link small { display: block; }
.service-link strong { margin-bottom: 5px; font-size: 14px; }
.service-link small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.service-link > svg { width: 19px; fill: none; stroke: #8ca0b1; stroke-width: 2; transition: transform .2s ease, stroke .2s ease; }
.service-link:hover > svg { transform: translateX(3px); stroke: var(--blue); }

footer { display: flex; justify-content: space-between; gap: 40px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
footer p { max-width: 520px; margin: 0; }

@media (max-width: 840px) {
  .site-header, main, footer { width: min(100% - 32px, 640px); }
  main { padding: 54px 0; }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  h1 { font-size: clamp(43px, 13vw, 68px); }
  footer { flex-direction: column; gap: 10px; }
}

@media (max-width: 520px) {
  .site-header { padding: 20px 0; }
  .independent-badge { display: none; }
  main { min-height: auto; padding-top: 36px; }
  .eyebrow { font-size: 11px; }
  .intro { font-size: 16px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .service-card { padding: 24px 20px; border-radius: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .55s ease-out both; }
  .service-card { animation: enter .55s .12s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
