:root {
  --ink: #110727;
  --ink-soft: #22104a;
  --violet: #4a2488;
  --violet-hot: #8f4dff;
  --pink: #ff5aa4;
  --lime: #d8ff5d;
  --aqua: #78f4eb;
  --paper: #f7f3ff;
  --muted: #c7bfdc;
  --dark-muted: #5c5671;
  --line: rgba(218, 204, 255, .24);
  --shadow: 0 24px 44px rgba(6, 1, 18, .35);
  --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }

body {
  margin: 0;
  background: radial-gradient(circle at 70% -12%, rgba(126, 71, 255, .35), transparent 34%), var(--ink);
  color: var(--paper);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

a { color: inherit; cursor: pointer; }

.shell { margin-inline: auto; width: min(1180px, calc(100% - 72px)); }

.site-header {
  background: rgba(13, 5, 32, .96);
  border-bottom: 1px solid rgba(216, 255, 93, .32);
  position: relative;
  z-index: 20;
}

.header-inner { align-items: center; display: flex; gap: 22px; justify-content: space-between; min-height: var(--header-height); }

.wordmark { align-items: center; display: inline-flex; flex: 0 0 auto; text-decoration: none; }

.wordmark img { height: auto; max-height: 52px; width: auto; }

.header-play,
.cta-action {
  align-items: center;
  background: var(--lime);
  color: #100820;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: .01em;
  min-height: 44px;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
}

.header-play { box-shadow: 5px 5px 0 var(--pink); white-space: nowrap; }

.header-play:hover,
.cta-action:hover { background: var(--aqua); color: #070311; transform: translate(-2px, -2px); }

.wordmark:focus-visible,
.header-play:focus-visible,
.cta-action:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.site-section { padding-block: clamp(58px, 8vw, 116px); position: relative; }

.section-heading { margin-bottom: 34px; max-width: 760px; }

.section-heading h2,
.feature-grid h2,
.cta-box h2,
.footer-content strong {
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -.038em;
  line-height: 1.06;
  margin: 0 0 15px;
  text-wrap: balance;
}

.section-heading p,
.lead,
.item-card p,
.faq-list p,
.cta-box p,
.footer-content span { margin: 0; }

.section-hero {
  background:
    radial-gradient(circle at 7% 32%, rgba(255, 90, 164, .28), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(120, 244, 235, .17), transparent 24%),
    var(--ink);
  padding-block: clamp(62px, 8vw, 112px);
}

.section-hero::after {
  background: var(--pink);
  bottom: 0;
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  width: min(33%, 460px);
}

.hero-grid,
.feature-grid { align-items: center; display: grid; gap: clamp(34px, 5vw, 76px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

.hero-grid > div:first-child { padding-block: 20px; position: relative; z-index: 1; }

.hero-grid > div:first-child::before {
  background: var(--lime);
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  top: 0;
  width: 86px;
}

.hero-grid h1 {
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .99;
  margin: 0 0 24px;
  max-width: none;
  text-wrap: balance;
}

.lead { color: #e5dcfa; font-size: clamp(16px, 1.5vw, 19px); max-width: 56ch; }

.media-slot { background: #090313; box-shadow: var(--shadow); overflow: hidden; position: relative; }

.media-slot::before {
  border: 2px solid var(--lime);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-grid .media-slot { animation: cabinet-rise .75s cubic-bezier(.18,.8,.25,1) both; transform-origin: bottom right; }

.section-trust { background: var(--violet); }

.section-trust .section-heading { margin-left: auto; margin-right: auto; text-align: center; }

.section-trust .section-heading p { color: #f0eaff; }

.item-grid { display: grid; gap: 18px; }

.section-trust .item-grid { grid-template-columns: 1.12fr .9fr 1fr 1.18fr; }

.item-card { min-width: 0; }

.section-trust .item-card {
  background: #1a0b3a;
  box-shadow: 9px 9px 0 rgba(17, 7, 39, .4);
  padding: 25px 22px;
}

.section-trust .item-card:nth-child(2) { background: var(--pink); color: #17051d; margin-top: 24px; }
.section-trust .item-card:nth-child(3) { background: var(--lime); color: #120722; margin-bottom: 24px; }
.section-trust .item-card:nth-child(4) { background: var(--aqua); color: #120722; margin-top: 11px; }

.item-card h3 {
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -.028em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}

.section-trust .item-card p { font-size: 15px; line-height: 1.65; }

.section-category-grid { background: var(--paper); color: #160b32; }

.section-category-grid .section-heading { max-width: 720px; }
.section-category-grid .section-heading p { color: var(--dark-muted); }

.section-category-grid .item-grid { gap: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.section-category-grid .item-card {
  background: #fff;
  box-shadow: 12px 12px 0 #d9d1ed;
  display: block;
}

.item-card-media { background: #12072a; overflow: hidden; }

.section-category-grid .item-card h3,
.section-category-grid .item-card p { margin-left: 23px; margin-right: 23px; }

.section-category-grid .item-card h3 { margin-bottom: 10px; margin-top: 24px; }
.section-category-grid .item-card p { color: #4d4662; font-size: 15px; margin-bottom: 24px; }

.section-cta { background: var(--pink); color: #150420; padding-block: 0; }

.cta-box { align-items: center; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(44px, 6vw, 78px); }

.cta-box h2 { max-width: 17ch; }
.cta-box p { max-width: 64ch; }
.cta-action { box-shadow: 7px 7px 0 #26073a; min-width: 216px; }

.section-feature { background: #23104d; }

.feature-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.section-feature .section-heading { margin: 0; }
.section-feature .section-heading h2 { color: var(--aqua); }
.section-feature .section-heading p { color: #e6ddf9; font-size: 17px; }
.section-feature .media-slot::before { border-color: var(--pink); }

.section-list {
  background:
    linear-gradient(90deg, rgba(10, 3, 25, .97), rgba(10, 3, 25, .87)),
    url("../uploads/media-32b0fb0a-a24a-4c09-b00b-f6e2a1aa80fa.webp") center / cover no-repeat;
}

.section-list .section-heading { margin-left: auto; margin-right: auto; text-align: center; }
.section-list .section-heading p { color: #e8e1fa; }

.section-list .item-grid { column-gap: clamp(30px, 7vw, 116px); grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }

.section-list .item-card { border-bottom: 1px solid rgba(216, 255, 93, .45); padding: 28px 0 27px; }
.section-list .item-card:nth-child(1),
.section-list .item-card:nth-child(2) { border-top: 1px solid rgba(216, 255, 93, .45); }
.section-list .item-card h3 { color: var(--lime); font-size: clamp(22px, 2.2vw, 30px); }
.section-list .item-card p { color: #e0d8f2; }

.section-guide { background: #f0eaff; color: #14082d; }
.section-guide .section-heading { max-width: 690px; }
.section-guide .section-heading p { color: var(--dark-muted); }

.inline-media { margin: 0 0 38px; max-width: 900px; }
.inline-media .media-slot::before { border-color: var(--pink); }

.section-guide .item-grid { counter-reset: guide; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section-guide .item-card { background: #201048; color: #fff; min-height: 250px; padding: 28px 24px; position: relative; }

.section-guide .item-card::before {
  color: var(--lime);
  content: "0" counter(guide);
  counter-increment: guide;
  display: block;
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .9;
  margin-bottom: 26px;
}

.section-guide .item-card:nth-child(2) { background: var(--pink); color: #1a0626; }
.section-guide .item-card:nth-child(3) { background: var(--aqua); color: #120523; }
.section-guide .item-card h3 { font-size: 23px; }
.section-guide .item-card p { font-size: 15px; line-height: 1.65; }

.section-faq { background: #0d0520; }

.section-faq .content-width { max-width: 870px; }
.section-faq .section-heading { margin-left: auto; margin-right: auto; text-align: center; }
.section-faq .section-heading h2 { color: var(--aqua); }
.section-faq .section-heading p { color: #e5dcfa; }

.faq-list { border-top: 1px solid var(--line); }

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

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  min-height: 76px;
  padding: 14px 0;
}

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

.faq-list summary::after { color: var(--lime); content: "+"; flex: 0 0 auto; font-size: 32px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { color: var(--pink); content: "−"; }
.faq-list p { color: #e1d8f2; max-width: 72ch; padding: 0 42px 27px 0; }

.section-article { background: #12082a; }

.section-article .shell { max-width: 980px; }
.section-article .section-heading { max-width: 700px; }
.section-article .section-heading h2 { color: var(--lime); }

.longform-copy,
.item-rich-copy { color: #eee8fb; font-size: 17px; max-width: 72ch; }

.longform-copy p,
.item-rich-copy p { margin: 0 0 18px; }

.longform-copy p:first-child,
.item-rich-copy p:first-child { color: var(--aqua); font-size: 21px; font-weight: 900; line-height: 1.35; }

.section-article .inline-media { margin-top: 48px; max-width: 100%; }
.section-article .inline-media .media-slot::before { border-color: var(--lime); }

.section-article .item-grid { grid-template-columns: 1fr; }
.section-article .item-card { background: #271052; box-shadow: 11px 11px 0 rgba(255, 90, 164, .68); padding: clamp(26px, 4vw, 48px); }
.section-article .item-card h3 { color: var(--aqua); font-size: clamp(26px, 3vw, 39px); max-width: 25ch; }
.section-article .item-rich-copy { max-width: 72ch; }

.section-footer { background: #070311; padding-block: 44px; }

.footer-content { border-top: 1px solid rgba(216, 255, 93, .38); display: grid; gap: 12px; padding-top: 34px; text-align: center; }
.footer-content strong { color: var(--lime); font-size: clamp(23px, 3vw, 34px); margin: 0; }
.footer-content span { color: #cfc4e6; margin-inline: auto; max-width: 86ch; }

@keyframes cabinet-rise {
  from { filter: saturate(.55) blur(8px); opacity: .3; transform: translateY(28px) rotate(-1.4deg); }
  to { filter: saturate(1); opacity: 1; transform: translateY(0) rotate(0); }
}

@media (max-width: 840px) {
  .section-trust .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-trust .item-card:nth-child(2),
  .section-trust .item-card:nth-child(3),
  .section-trust .item-card:nth-child(4) { margin-block: 0; }
  .section-guide .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-guide .item-card:last-child { grid-column: 1 / -1; }
}

@media screen and (max-width: 700px), screen and (max-device-width: 700px), screen and (hover: none) and (pointer: coarse) and (orientation: portrait) {
  body { padding-top: var(--header-height); }

  .site-header { left: 0; position: fixed; right: 0; top: 0; }

  .shell { max-width: 620px; width: calc(100% - 52px); }
  .site-section > .shell {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 620px !important;
    width: calc(100% - 52px) !important;
  }

  .site-header > .shell { width: calc(100% - 32px); }
  .header-inner { gap: 10px; min-width: 0; min-height: var(--header-height); }
  .wordmark { min-width: 0; }
  .wordmark img { max-height: 42px; max-width: 46px; }
  .header-play {
    display: grid;
    flex: 1 1 auto;
    line-height: 1.15;
    max-width: none;
    min-width: 0;
    padding: 7px 9px;
    white-space: normal;
  }
  .site-section .shell,
  .hero-grid,
  .feature-grid,
  .item-grid,
  .item-card,
  .cta-box { min-width: 0; }

  .site-section > .shell > *,
  .site-section .media-slot,
  .site-section .item-card-media,
  .site-section img { max-width: 100%; min-width: 0; }

  .site-section { padding-block: 62px; }

  .section-hero { padding-block: 52px 68px; }
  .section-hero::after { height: 9px; width: 45%; }

  .hero-grid,
  .feature-grid { gap: 34px; grid-template-columns: 1fr; }

  .hero-grid .media-slot { animation: none; transform: none; }

  .hero-grid h1 { font-size: clamp(25px, 9vw, 40px); line-height: 1.02; max-width: 15ch; }
  .lead { font-size: 16px; }
  .media-slot::before { inset: 9px; }

  .section-heading { margin-bottom: 27px; }
  .section-heading h2,
  .feature-grid h2,
  .cta-box h2 { font-size: clamp(27px, 8vw, 38px); }

  .section-trust .item-grid,
  .section-category-grid .item-grid,
  .section-list .item-grid,
  .section-guide .item-grid { grid-template-columns: 1fr; }

  .section-trust .item-card { padding: 25px 22px; }

  .section-category-grid .item-grid { gap: 26px; }
  .section-category-grid .item-card h3,
  .section-category-grid .item-card p { margin-left: 20px; margin-right: 20px; }
  .section-category-grid .item-card h3 { margin-top: 20px; }
  .section-category-grid .item-card p { margin-bottom: 24px; }

  .cta-box { gap: 24px; grid-template-columns: 1fr; padding-block: 52px; }
  .cta-box h2 { max-width: 16ch; }
  .cta-action { min-height: 52px; min-width: 0; width: 100%; }

  .section-feature .media-slot { order: 2; }

  .section-list .item-card,
  .section-list .item-card:nth-child(1),
  .section-list .item-card:nth-child(2) { border-top: 0; }
  .section-list .item-card:first-child { border-top: 1px solid rgba(216, 255, 93, .45); }

  .section-guide .item-card,
  .section-guide .item-card:last-child { grid-column: auto; min-height: 0; }

  .faq-list summary { font-size: 18px; min-height: 68px; }
  .faq-list p { padding: 0 0 24px; }

  .longform-copy,
  .item-rich-copy { font-size: 16px; }
  .longform-copy p:first-child,
  .item-rich-copy p:first-child { font-size: 19px; }
  .section-article .item-card { box-shadow: 7px 7px 0 rgba(255, 90, 164, .68); }
}

@media screen and (max-width: 300px), screen and (max-device-width: 300px) {
  .shell { width: calc(100% - 52px); }
  .site-header > .shell { width: calc(100% - 24px); }
  .wordmark img { max-height: 38px; max-width: 40px; }
  .header-play { font-size: 10px; letter-spacing: 0; padding-inline: 7px; }
  .hero-grid h1 { font-size: 24px; }
  .section-heading h2,
  .feature-grid h2,
  .cta-box h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
