:root {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #aab9d0;
  --faint: #72839e;
  --line: rgba(205, 220, 244, 0.14);
  --panel: rgba(17, 39, 69, 0.72);
  --panel-strong: #112746;
  --navy: #06152d;
  --navy-deep: #030a17;
  --sky: #91c8ff;
  --gold: #d9c486;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 0%, rgba(93, 144, 207, 0.2), transparent 35rem),
    linear-gradient(160deg, #0b2342 0%, var(--navy) 48%, var(--navy-deep) 100%);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(222, 235, 255, 0.78);
  border-radius: 12px;
  box-shadow: inset 0 0 13px rgba(168, 210, 255, 0.24);
}

.brand-mark::after {
  width: 13px;
  height: 18px;
  content: "";
  border-radius: 7px;
  background: linear-gradient(180deg, #cfe8ff, #5d96cb);
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(189, 216, 249, 0.11);
  outline: none;
}

main {
  padding: 72px 0 104px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-title {
  font-size: clamp(34px, 6vw, 58px);
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.window-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(212, 228, 249, 0.14);
  border-radius: 44% 44% 42% 42% / 26% 26% 36% 36%;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 52% 18%, #d9eeff 0 5%, #7cb3de 24%, #315d86 44%, #132c4b 67%, #071326 100%);
  box-shadow:
    inset 0 0 0 20px rgba(7, 20, 38, 0.64),
    inset 0 0 45px 34px rgba(0, 6, 16, 0.5),
    0 28px 70px rgba(0, 0, 0, 0.34);
}

.window-art::before {
  position: absolute;
  inset: 18% 22% 16%;
  content: "";
  border-radius: 48% 48% 45% 45% / 34% 34% 42% 42%;
  background:
    linear-gradient(180deg, #b9ddf7 0%, #7eb8e6 30%, #416f9a 31%, #183b5f 66%, #0b2847 100%);
  box-shadow:
    0 0 0 14px rgba(191, 215, 238, 0.23),
    0 0 48px 23px rgba(151, 202, 247, 0.28);
}

.window-art::after {
  position: absolute;
  right: 18%;
  bottom: 24%;
  width: 55%;
  height: 3px;
  content: "";
  transform: rotate(-8deg);
  transform-origin: right;
  background: linear-gradient(90deg, transparent, rgba(235, 244, 252, 0.9));
  box-shadow: 0 12px 0 -1px rgba(216, 231, 244, 0.5);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(220, 234, 252, 0.08);
  text-decoration: none;
  font-weight: 650;
}

.button.primary {
  color: #07182c;
  border-color: transparent;
  background: linear-gradient(135deg, #dceeff, #99c9f3);
  box-shadow: 0 12px 30px rgba(74, 135, 190, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(194, 222, 249, 0.42);
  outline-offset: 3px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 56px;
  margin-top: 58px;
}

.prose {
  min-width: 0;
}

.prose section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.35;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.25em;
}

.side-card,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(31, 61, 96, 0.72), rgba(10, 27, 52, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.side-card {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  border-radius: 24px;
}

.side-card p {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.side-card strong {
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
}

.contact-card {
  max-width: 700px;
  margin-top: 48px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 30px;
}

.contact-card h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 4vw, 34px);
}

.contact-card .button {
  margin-top: 16px;
}

.note {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  background: rgba(223, 205, 147, 0.08);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, 960px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.09em;
  }

  .brand-mark {
    width: 26px;
    height: 31px;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 11.5px;
  }

  main {
    padding: 48px 0 76px;
  }

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .window-art {
    min-height: 360px;
  }

  .content-grid {
    gap: 24px;
    margin-top: 42px;
  }

  .side-card {
    position: static;
    order: -1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 160ms ease, outline-color 160ms ease;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d8e4f6;
    --line: rgba(237, 245, 255, 0.36);
  }
}
