:root {
  color-scheme: light;
  --ink: #241b38;
  --muted: #665d76;
  --paper: #fffaf0;
  --panel: #ffffff;
  --purple: #6846b8;
  --purple-dark: #493087;
  --gold: #f1bd51;
  --green: #2d9d78;
  --line: #e9dfd0;
  --shadow: 0 18px 54px rgba(54, 36, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(241, 189, 81, 0.18), transparent 30rem),
    radial-gradient(circle at 100% 12%, rgba(104, 70, 184, 0.14), transparent 32rem),
    var(--paper);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.68;
}

a {
  color: var(--purple-dark);
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.7rem 1rem;
  z-index: 20;
  color: #fff;
  background: var(--purple-dark);
  border-radius: 0.75rem;
}

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

.site-header {
  border-bottom: 1px solid rgba(73, 48, 135, 0.12);
  background: rgba(255, 250, 240, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav,
.page-shell,
.site-footer {
  width: calc(100% - 2rem);
  max-width: 920px;
  margin-inline: auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--purple-dark);
  border-radius: 11px 11px 15px 15px;
  color: var(--purple-dark);
  background: linear-gradient(145deg, #8fe1dc, #3eafba);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.95rem;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
}

.page-shell {
  padding-block: 4.5rem 3rem;
}

.hero {
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.25rem);
}

h2 {
  margin: 2.4rem 0 0.85rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.05rem;
}

.lede {
  max-width: 760px;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  margin-block: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.notice {
  border-left: 5px solid var(--gold);
  background: #fff8df;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-item {
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
}

.contact-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
li,
td,
a {
  overflow-wrap: anywhere;
}

ul,
ol {
  padding-left: 1.25rem;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem;
  font-size: 0.94rem;
}

.data-table th,
.data-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--purple-dark);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--purple-dark);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(#7d59ce, var(--purple-dark));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 5px 0 #342064;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: none;
}

.faq details {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

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

@media (max-width: 640px) {
  .nav {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding-block: 0.85rem;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }

  .page-shell {
    padding-top: 3rem;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tr {
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    padding: 0.35rem 0;
    border: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--purple-dark);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
  }
}

@media print {
  .site-header,
  .button-row {
    display: none;
  }

  body {
    background: #fff;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .card {
    box-shadow: none;
    break-inside: avoid;
  }
}
