:root {
  --ink: #172033;
  --muted: #566176;
  --line: #dce2ea;
  --surface: #f5f7fa;
  --white: #ffffff;
  --blue: #1769e0;
  --blue-dark: #0e4fae;
  --green: #187653;
  --orange: #b85f10;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-dark); }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.18; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { left: .5rem; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 48px; height: 48px; object-fit: contain; transform: scale(1.25); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-cta { padding: .55rem .85rem; color: var(--white); background: var(--blue); border-radius: 5px; }
.nav-links .nav-cta:hover { color: var(--white); background: var(--blue-dark); }
.nav-toggle { display: none; min-width: 42px; height: 42px; padding: 0 .65rem; border: 1px solid var(--line); background: var(--white); border-radius: 5px; font: inherit; cursor: pointer; }
.home-hero { position: relative; min-height: min(730px, 78svh); display: grid; align-items: center; color: #fff; background: url('/assets/hero.png') center 35% / cover no-repeat; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(9, 18, 32, .72); }
.home-hero .container { position: relative; }
.hero-copy { max-width: 710px; }
.eyebrow { margin-bottom: .75rem; color: #b8dcff; font-size: .84rem; font-weight: 800; text-transform: uppercase; }
.home-hero h1 { max-width: 700px; }
.home-hero p { max-width: 650px; font-size: 1.15rem; color: #edf3fb; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 5px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 750; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button.secondary { border-color: currentColor; background: transparent; color: inherit; }
.button.secondary:hover { background: rgba(255,255,255,.12); }
.button.quiet { border-color: var(--line); background: var(--white); color: var(--ink); }
.button.quiet:hover { border-color: var(--blue); color: var(--blue); }
.page-hero { padding: 5.5rem 0 3.25rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { max-width: 820px; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.section { padding: 4.5rem 0; }
.section.compact { padding: 3rem 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.card h2 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card a.card-link { display: inline-block; margin-top: .25rem; font-weight: 750; text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }
.flag { width: 34px; height: 24px; margin-bottom: 1rem; object-fit: cover; border: 1px solid var(--line); }
.feature-list, .plain-list { margin: 0; padding-left: 1.2rem; }
.feature-list li, .plain-list li { margin: .55rem 0; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.8rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 1.25rem; top: 1.25rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: #fff; background: var(--green); font-weight: 800; }
.price { margin: .6rem 0; color: var(--blue-dark); font-size: 2rem; font-weight: 850; }
.price small { color: var(--muted); font-size: .9rem; font-weight: 600; }
.tag { display: inline-block; margin-bottom: .75rem; padding: .2rem .5rem; border-radius: 4px; background: #e8f2ff; color: var(--blue-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--orange); background: #fff8ee; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.contact-form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; padding: .75rem; border: 1px solid #bfc8d5; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.profile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.dashboard-preview { border: 1px solid var(--line); }
.policy { max-width: 820px; }
.policy h2 { margin-top: 2rem; font-size: 1.4rem; }
.site-footer { padding: 2.5rem 0; color: #d7dfeb; background: #151e2d; }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.footer-layout p { margin: .35rem 0 0; color: #aeb9c9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; inset: 70px 0 auto; padding: 1rem; border-bottom: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .55rem .75rem; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout, .profile { grid-template-columns: 1fr; }
  .profile img { width: min(280px, 100%); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  .home-hero { min-height: 72svh; background-position: 54% center; }
  .home-hero h1 { font-size: 2.6rem; }
  .page-hero { padding: 3.5rem 0 2.5rem; }
  .section { padding: 3.25rem 0; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .actions .button, .contact-actions .button { width: 100%; }
  .footer-layout { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
