:root {
  color-scheme: light dark;
  --blue: #144fa8;
  --blue-strong: #0d397c;
  --lavender: #6b4daa;
  --red: #e03345;
  --green: #1a8c6b;
  --gold: #e3941f;
  --ink: #141c2b;
  --muted: #5f6a7b;
  --canvas: #f4f7ff;
  --canvas-deep: #e9f0ff;
  --surface: #ffffff;
  --border: #d6deed;
  --shadow: 0 22px 55px rgba(27, 53, 102, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(20, 79, 168, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(107, 77, 170, 0.13), transparent 24rem),
    linear-gradient(155deg, #fbfcff 0%, var(--canvas) 48%, var(--canvas-deep) 100%);
  font-size: 17px;
  line-height: 1.68;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--lavender);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 70%, white);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-150%);
  padding: 10px 15px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 10px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  color: white;
  background: linear-gradient(140deg, var(--blue), var(--lavender));
  box-shadow: 0 8px 22px rgba(20, 79, 168, 0.24);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
}

.brand-mark::after {
  content: "";
  width: 13px;
  height: 3px;
  margin-top: -8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0 33%, white 33% 66%, var(--red) 66%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.78);
}

main {
  width: min(var(--content), calc(100% - 32px));
  margin: 50px auto 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 7vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  top: -85px;
  right: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(20, 79, 168, 0.15), rgba(107, 77, 170, 0.2));
  content: "";
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  position: relative;
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.4rem);
}

h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

p,
ul {
  margin-top: 0.65rem;
  margin-bottom: 1rem;
}

.lede {
  position: relative;
  max-width: 58ch;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.meta-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}

.pill {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(244, 247, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 650;
}

.summary-card,
.content-card,
.link-card,
details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.summary-card {
  margin: 24px 0;
  padding: 22px;
  border-left: 5px solid var(--green);
}

.summary-card p:last-child,
.content-card p:last-child,
.link-card p:last-child,
details p:last-child {
  margin-bottom: 0;
}

.content {
  padding: 10px 4px 0;
}

.content-card {
  margin: 20px 0;
  padding: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.link-card {
  display: block;
  min-height: 175px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(27, 53, 102, 0.1);
}

.link-card .arrow {
  display: inline-block;
  margin-top: 5px;
  color: var(--blue);
  font-weight: 750;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}

.feature-list li::before {
  position: absolute;
  top: 0.5em;
  left: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  content: "";
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

details {
  padding: 0 20px;
}

summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 720;
  line-height: 1.35;
}

details[open] {
  padding-bottom: 19px;
}

details[open] summary {
  color: var(--blue-strong);
}

.contact-panel {
  margin-top: 30px;
  padding: 26px;
  border-radius: var(--radius-md);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--lavender));
  box-shadow: 0 18px 38px rgba(20, 79, 168, 0.22);
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-panel a {
  color: white;
  font-weight: 720;
}

.site-footer {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.83rem;
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 650px) {
  .site-header {
    padding-top: 16px;
  }

  .nav {
    align-items: flex-start;
  }

  .brand-label {
    display: none;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  main {
    margin-top: 28px;
  }

  .cards,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    border-radius: 22px;
  }
}

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

  .link-card {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #61a1ff;
    --blue-strong: #9dc4ff;
    --lavender: #b096ed;
    --red: #ff7382;
    --green: #57caa6;
    --gold: #ffbf4f;
    --ink: #f0f5ff;
    --muted: #aab4c8;
    --canvas: #0d111b;
    --canvas-deep: #141726;
    --surface: #191e2c;
    --border: #3b4358;
    --shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  }

  body {
    background:
      radial-gradient(circle at 12% 2%, rgba(97, 161, 255, 0.13), transparent 28rem),
      radial-gradient(circle at 92% 18%, rgba(176, 150, 237, 0.12), transparent 24rem),
      linear-gradient(155deg, #090c13 0%, var(--canvas) 48%, var(--canvas-deep) 100%);
  }

  .hero,
  .summary-card,
  .content-card,
  .link-card,
  details {
    background: rgba(25, 30, 44, 0.87);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(25, 30, 44, 0.9);
  }

  .pill {
    background: rgba(20, 25, 38, 0.9);
  }
}
