:root {
  color-scheme: light;
  --ink: #14283a;
  --muted: #53697b;
  --line: #d9e2e9;
  --paper: #f5f8fa;
  --white: #ffffff;
  --brand: #245b82;
  --brand-dark: #183f5c;
  --accent: #d88931;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .65rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.skip-link:focus { top: 1rem; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: .02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
}

nav { display: flex; align-items: center; gap: .4rem; }

nav a {
  padding: .55rem .8rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover { color: var(--brand-dark); background: #e9f0f5; }

nav .nav-app { color: var(--white); background: var(--brand); }
nav .nav-app:hover { color: var(--white); background: var(--brand-dark); }

main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgb(30 65 90 / 9%);
}

.hero {
  position: relative;
  min-height: 480px;
  padding: clamp(4rem, 10vw, 7.5rem) clamp(1.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 85% 25%, rgb(216 137 49 / 19%), transparent 23rem),
    linear-gradient(135deg, #f8fbfd 0%, #eef5f9 100%);
}

.hero::after {
  position: absolute;
  right: clamp(2rem, 8vw, 7rem);
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 34px solid rgb(36 91 130 / 8%);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .7rem 1.15rem;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--brand-dark); }

.text-link {
  color: var(--brand-dark);
  font-weight: 650;
  text-underline-offset: 4px;
}

.summary {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1.2fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.summary > p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.content-page {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 7vw, 5.5rem);
}

.content-page h1 {
  max-width: 850px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.content-page h2 {
  margin-top: 2.2rem;
  font-size: 1.35rem;
}

.content-page p,
.content-page li {
  max-width: 780px;
  color: var(--muted);
}

.content-page .updated {
  margin-top: .4rem;
  font-size: .88rem;
}

.content-page .notice {
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  background: #fff8ef;
}

.content-page a { color: var(--brand-dark); text-underline-offset: 3px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: .82rem;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; padding: 1rem 0; }
  .site-header { gap: 1rem; flex-direction: column; }
  nav { width: 100%; overflow-x: auto; padding-bottom: .3rem; }
  nav a { flex: 0 0 auto; }
  .hero { min-height: 420px; }
  .summary { grid-template-columns: 1fr; gap: 1.2rem; }
  .actions { align-items: flex-start; flex-direction: column; }
  footer { gap: .6rem; flex-direction: column; }
}
