:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --ink: #0d1728;
  --muted: #5b687a;
  --line: rgba(13, 23, 40, 0.12);
  --blue: #1458b8;
  --blue-dark: #0a316d;
  --teal: #167f7a;
  --amber: #a76b16;
  --shadow: 0 22px 50px rgba(13, 23, 40, 0.1);
  --section-width: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 42%, #edf2f7 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 88, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 88, 184, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 78%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(20, 88, 184, 0.45);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.35rem;
}

.page-shell {
  width: var(--section-width);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 1200;
  padding: 0.72rem 0.95rem;
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(13, 23, 40, 0.14);
}

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

main:focus {
  outline: none;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0 0;
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(13, 23, 40, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(13, 23, 40, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: clamp(3rem, 6vw, 3.7rem);
  border-radius: 0.65rem;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

main {
  padding: 1.1rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-card,
.summary-card,
.content-card,
.faq-group,
.cta-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(1.45rem, 3vw, 2.3rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 252, 0.96));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(20, 88, 184, 0.08);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card h1 {
  margin-top: 0.9rem;
  overflow-wrap: break-word;
}

.hero-card p {
  max-width: 66ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-note {
  display: inline-flex;
  margin-top: 1.1rem;
  padding: 0.72rem 0.86rem;
  border: 1px solid rgba(20, 88, 184, 0.12);
  border-radius: 0.85rem;
  background: rgba(20, 88, 184, 0.06);
  color: var(--ink);
  font-weight: 600;
}

.summary-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
}

.summary-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.summary-card p {
  color: var(--muted);
}

.summary-list {
  display: grid;
  gap: 0.7rem;
}

.summary-list div {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(20, 88, 184, 0.1);
  border-radius: 0.85rem;
  background: rgba(20, 88, 184, 0.045);
}

.summary-list strong {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--ink);
}

.summary-list span {
  color: var(--muted);
  overflow-wrap: break-word;
}

.section {
  padding: 2rem 0 0;
}

.section-head {
  max-width: 68rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-top: 0.8rem;
}

.section-head p {
  max-width: 72ch;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-card {
  padding: 1.2rem;
}

.content-card h3 {
  margin-bottom: 0.7rem;
}

.content-card p,
.content-card li {
  color: var(--muted);
  overflow-wrap: break-word;
}

.content-card p + p,
.content-card p + ul,
.content-card ul + p {
  margin-top: 0.85rem;
}

.content-card a,
.cta-card a {
  color: var(--blue-dark);
  font-weight: 700;
}

.faq-layout {
  display: grid;
  gap: 1rem;
}

.faq-group {
  padding: 1.2rem;
}

.faq-group h2 {
  margin-bottom: 0.85rem;
}

.faq-group details {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(20, 88, 184, 0.1);
  border-radius: 0.85rem;
  background: rgba(20, 88, 184, 0.045);
}

.faq-group details + details {
  margin-top: 0.72rem;
}

.faq-group summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group p {
  margin-top: 0.65rem;
  color: var(--muted);
  overflow-wrap: break-word;
}

.cta-card {
  margin-top: 1rem;
  padding: 1.2rem;
}

.cta-card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

footer {
  padding: 0 0 2.4rem;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(13, 23, 40, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-shell strong {
  color: var(--ink);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(360px, calc(100vw - 1rem));
  }

  .topbar-wrap {
    padding-top: 0.55rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    flex-wrap: wrap;
  }

  .brand-copy span {
    max-width: 18ch;
  }

  h1 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.2rem);
  }

  .hero-card,
  .summary-card,
  .content-card,
  .faq-group,
  .cta-card {
    border-radius: 0.85rem;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}
