:root {
  color-scheme: light;
  --ink: #0b1728;
  --muted: #40536b;
  --blue: #0a66ff;
  --link: #064fc7;
  --line: #dbe4ef;
  font-family: system-ui, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2080ff; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 8px; left: 8px; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { background: var(--blue); color: white; }
.header-inner, .brand, .desktop-nav, .actions { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { width: fit-content; gap: 10px; font-size: 1.25rem; font-weight: 760; text-decoration: none; }
.brand img { border-radius: 10px; }
.desktop-nav { gap: 26px; }
.desktop-nav a, .mobile-nav a { color: white; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover, .footer a:hover { text-decoration: underline; }
.mobile-nav { display: none; }
.hero { color: white; background: radial-gradient(ellipse at 85% 70%, #12366a, var(--ink) 67%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 74px); padding-block: clamp(48px, 6vw, 82px); }
.eyebrow { margin: 0 0 12px; color: var(--link); font-size: .875rem; font-weight: 760; }
.hero .eyebrow { color: #91bdff; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 17ch; font-size: clamp(2.65rem, 5.35vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
.intro { max-width: 49ch; margin: 24px 0; color: #dbe7fb; font-size: clamp(1rem, 1.8vw, 1.16rem); }
.actions { gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; text-decoration: none; line-height: 1.25; }
.button span { font-size: .75rem; font-weight: 550; }
.button strong { font-size: 1.07rem; }
.button-white { background: white; color: var(--ink); }
.button-white:hover { background: #dceaff; }
.button-outline { border-color: #7388a7; color: white; }
.button-outline:hover { background: #263d5d; }
.header-account { border-color: white; }
.header-account:hover { background: #084bbd; }
.header a:focus-visible, .header summary:focus-visible, .footer a:focus-visible { outline-color: white; }
.button-blue { background: #0756d5; color: white; }
.button-blue:hover { background: #0648ad; }
.hero-link { display: inline-block; margin-top: 18px; color: #c6dcff; text-underline-offset: 4px; }
.hero-photo {
  min-height: 395px;
  border-radius: 28px;
  border: 1px solid #405575;
  background: linear-gradient(160deg, #091a2e15, #091a2e65),
    url("/site/route.webp") center / cover, #19355b;
}
.sections { display: grid; gap: clamp(36px, 6vw, 72px); padding-block: clamp(32px, 6vw, 72px); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
section > h2 + .profile-grid { margin-top: 22px; }
.panel { padding: clamp(20px, 4vw, 39px); border: 1px solid var(--line); border-radius: 20px; }
.panel-blue { background: #eef5ff; border-color: #cee0ff; }
.panel p:not(.eyebrow), .account p { color: var(--muted); max-width: 62ch; }
.panel p:last-child, .account p { margin-bottom: 0; }
.text-link { color: var(--link); font-weight: 700; text-underline-offset: 4px; }
.account { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(22px, 4vw, 40px); border-radius: 20px; background: #f2f6fc; }
.account .button { flex: none; }
.footer { background: var(--blue); color: white; padding-block: 32px 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.footer nav a { display: block; width: fit-content; padding-block: 6px; text-decoration: none; }
.footer .social-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.footer .social-links a { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 8px; background: rgb(255 255 255 / 24%); }
.footer .social-links a:hover { background: rgb(255 255 255 / 34%); }
@media (max-width: 620px) {
  .footer .social-links { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .desktop-nav, .header-account { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; padding: 10px 12px; border: 1px solid white; border-radius: 10px; font-weight: 700; }
  .mobile-nav nav { position: absolute; z-index: 2; right: 0; top: calc(100% + 8px); width: 190px; padding: 8px; border: 1px solid #7388a7; border-radius: 12px; background: #084bbd; }
  .mobile-nav a { display: block; padding: 8px; }
  .hero-photo { min-height: 315px; }
  .account { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .hero-grid, .profile-grid { grid-template-columns: 1fr; }
  .actions .button { padding-inline: 15px; }
  .hero-grid { gap: 28px; padding-block: 34px 26px; }
  .hero-photo { min-height: 0; aspect-ratio: 2 / 1; border-radius: 18px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
