:root {
  --ink: #150A24;
  --ink-2: #1E0F33;
  --panel: #26143E;
  --line: rgba(214, 189, 255, 0.18);
  --orchid: #A855F7;
  --orchid-deep: #6D28D9;
  --spectre: #7BE3C4;
  --bone: #F3ECFF;
  --muted: #BCA9D8;
  --ember: #FF7A59;
  --display: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --data: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(168, 85, 247, 0.30), transparent 62%),
    radial-gradient(760px 460px at 96% 4%, rgba(123, 227, 196, 0.12), transparent 60%),
    var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a { color: var(--spectre); }
a:hover { color: var(--bone); }

:focus-visible {
  outline: 3px solid var(--spectre);
  outline-offset: 3px;
}

.ribbon {
  background: linear-gradient(90deg, var(--orchid-deep), #3B1360);
  border-bottom: 1px solid var(--line);
}

.ribbon p {
  margin: 0 auto;
  max-width: var(--wrap);
  padding: 7px 18px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #EBDDFF;
  text-align: center;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(21, 10, 36, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bone);
}

.brand__mark {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--spectre);
  filter: drop-shadow(0 0 10px rgba(123, 227, 196, 0.35));
}

.brand__mark svg { width: 100%; height: 100%; display: block; }
.mark-eye { fill: #1B0E2C; }

.brand__text {
  font-family: var(--display);
  font-size: 27px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand__text--thin {
  display: block;
  font-family: var(--body);
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: none;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.nav a:hover { color: var(--bone); border-bottom-color: var(--spectre); }

.nav__cta { margin-left: auto; }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(120deg, var(--ember), var(--orchid));
  color: #1A0B2A;
  box-shadow: 0 10px 26px rgba(168, 85, 247, 0.34);
}

.btn--solid:hover { box-shadow: 0 14px 32px rgba(255, 122, 89, 0.42); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(214, 189, 255, 0.45);
}

.btn--ghost:hover { border-color: var(--spectre); color: var(--spectre); }

.btn--lg { padding: 15px 28px; font-size: 16px; width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.promo {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.55), rgba(38, 20, 62, 0.9)),
    var(--ink-2);
}

.promo--top { margin-bottom: 8px; }
.promo--mid { margin: 46px 0; }

.promo__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  align-items: flex-start;
}

.promo__copy { flex: 1 1 auto; }

.promo__eyebrow {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--spectre);
}

.promo__headline {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.25;
}

.promo__headline strong { color: var(--spectre); }

.promo__terms {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--data);
}

.main { padding-top: 34px; padding-bottom: 10px; }

.article h1 {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.08;
  margin: 6px 0 18px;
  letter-spacing: -0.01em;
}

.article h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ember), var(--orchid), var(--spectre));
}

.article h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.22;
  margin: 44px 0 14px;
  scroll-margin-top: 92px;
}

.article h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  margin: 28px 0 10px;
  color: var(--spectre);
}

.article p { margin: 0 0 16px; }

.lede {
  font-size: 19.5px;
  line-height: 1.62;
  color: #E4D9FA;
  border-left: 3px solid var(--orchid);
  padding-left: 18px;
}

.scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: rgba(109, 40, 217, 0.35);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EEE4FF;
  white-space: nowrap;
}

tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
tbody tr:hover { background: rgba(123, 227, 196, 0.08); }
tbody td:first-child { font-weight: 600; }
tbody td + td { font-family: var(--data); font-size: 14px; color: #DCCEF6; }
tbody tr:last-child td { border-bottom: none; }

.faq { margin: 22px 0 8px; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq__toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
}

.faq__q:hover { color: var(--spectre); }

.faq__sign {
  flex: 0 0 auto;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--spectre);
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--spectre);
  transform: translate(-50%, -50%);
}

.faq__sign::before { width: 9px; height: 1.5px; }
.faq__sign::after { width: 1.5px; height: 9px; transition: transform 0.2s ease; }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a p {
  margin: 0;
  padding: 0 18px 18px;
  color: #E0D4F8;
  font-size: 16px;
}

.faq__toggle:checked ~ .faq__a { max-height: 460px; }
.faq__toggle:checked ~ .faq__q { color: var(--spectre); }
.faq__toggle:checked ~ .faq__q .faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__toggle:focus-visible ~ .faq__q { outline: 3px solid var(--spectre); outline-offset: -3px; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 12px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(30, 15, 51, 0.92));
  padding: 22px 20px;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(123, 227, 196, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.card__tag {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
}

.card h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--bone);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.card p { font-size: 15.8px; margin: 0 0 14px; color: #E1D5F8; }

.card__cta { margin-top: auto; align-self: flex-start; }

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  font-size: 15px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-top: 34px;
  padding-bottom: 26px;
}

.footer__brand {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 8px;
}

.footer__head {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--spectre);
}

.footer p { margin: 0 0 10px; color: var(--muted); }

.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 8px; }
.footer__list a { text-decoration: none; }

.footer__age {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--bone);
}

.footer__age span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--ember);
  color: var(--ember);
  font-family: var(--data);
  font-size: 13px;
}

.footer__bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 26px;
}

.footer__bar p { margin: 0; font-size: 13.5px; }

@media (min-width: 700px) {
  body { font-size: 17.5px; }
  .article h1 { font-size: 54px; }
  .article h2 { font-size: 32px; }
  .promo__headline { font-size: 30px; }
  .promo__inner { flex-direction: row; align-items: center; gap: 28px; }
  .promo__inner--stack { flex-direction: row; }
  .btn--lg { width: auto; white-space: nowrap; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer__inner { grid-template-columns: 1.4fr 0.8fr 1fr; gap: 34px; }
  .footer__bar { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 960px) {
  .wrap { padding: 0 28px; }
  .nav { display: flex; }
  .nav__cta { margin-left: 0; }
  .article h1 { font-size: 62px; }
  .lede { font-size: 21px; }
  .main { padding-top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
