:root {
  --ink: #12172B;
  --ink-2: #1A2143;
  --ink-3: #262F5C;
  --line: rgba(238, 241, 255, 0.14);
  --paper: #EEF1FF;
  --muted: #A6AFCE;
  --mango: #FFC94A;
  --pitaya: #FF4D6D;
  --sea: #2FD4C4;
  --display: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.9rem;
  --step-4: 2.6rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(70rem 40rem at 88% -8%, rgba(255, 77, 109, 0.16), transparent 60%),
    radial-gradient(55rem 34rem at 4% 4%, rgba(47, 212, 196, 0.12), transparent 62%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.15rem;
}

.prose { max-width: 810px; margin: 0 auto; padding-bottom: 3.5rem; }

h1, h2, h3, .brand__text, .foot-brand, .ticket__headline, .btn {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

h1 {
  font-size: var(--step-4);
  margin: 0.1rem 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: linear-gradient(96deg, var(--mango), var(--pitaya) 62%, var(--sea));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: var(--step-3);
  margin: 3rem 0 0.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

h3 { font-size: var(--step-1); margin: 2rem 0 0.6rem; color: var(--mango); }

p { margin: 0 0 1.05rem; }

a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mango); }

strong { color: #fff; }

:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
  border-radius: 4px;
}

.kicker, .ticket__eyebrow, .card__tag, .toc__label, .callout__label, .foot-head, .steps__n, .ticket__code {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.kicker { color: var(--sea); margin: 0 0 0.5rem; }

.lede { font-size: var(--step-1); line-height: 1.55; color: #DDE3FF; }

.ticket-strip { padding: 1.15rem 0 0.3rem; }

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(120deg, #FFD469, var(--mango) 45%, #FF7A54 100%);
  color: #14182C;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  overflow: hidden;
}

.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  top: 50%;
  transform: translateY(-50%);
}

.ticket::before { left: -13px; }
.ticket::after { right: -13px; }

.ticket--top { box-shadow: 0 14px 34px rgba(255, 77, 109, 0.18); }

.ticket--inline { margin: 2.6rem 0 1rem; }

.ticket__eyebrow { color: rgba(20, 24, 44, 0.72); margin: 0 0 0.4rem; }

.ticket__headline {
  font-size: var(--step-2);
  margin: 0 0 0.45rem;
  max-width: 32ch;
}

.ticket__headline strong { color: #14182C; }

.ticket__fine {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(20, 24, 44, 0.78);
  margin: 0;
}

.ticket__stub {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(20, 24, 44, 0.35);
}

.ticket__code { color: rgba(20, 24, 44, 0.8); text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--mango);
  box-shadow: 0 6px 0 rgba(20, 24, 44, 0.35);
}

.btn--primary:hover { transform: translateY(-2px); background: #0B0F1E; }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(20, 24, 44, 0.35); }

.btn--lg { font-size: 1.05rem; padding: 1rem 2rem; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

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

.site-head { padding: 1.1rem 0 0.4rem; }

.site-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark { width: 38px; height: 38px; display: block; }
.brand__mark svg { width: 100%; height: 100%; display: block; }

.brand__text {
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand__dot { color: var(--pitaya); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.35rem 1.15rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--line);
}

.site-nav a {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { color: var(--mango); border-bottom-color: var(--mango); }

main { padding-top: 1.6rem; }

.callout {
  background: var(--ink-2);
  border-left: 4px solid var(--sea);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 2rem 0;
}

.callout__label { color: var(--sea); margin: 0 0 0.6rem; }

.tight { margin: 0; padding-left: 1.1rem; }
.tight li { margin-bottom: 0.4rem; }

.toc {
  background: rgba(238, 241, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 2rem 0 2.6rem;
}

.toc__label { color: var(--muted); margin: 0 0 0.6rem; }

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.5;
}

.toc li { margin-bottom: 0.35rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.steps { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; }

.steps li {
  display: flex;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line);
}

.steps li:last-child { border-bottom: 0; }

.steps__n {
  flex: 0 0 auto;
  color: var(--pitaya);
  padding-top: 0.35rem;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.7rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--display);
  font-size: 0.92rem;
}

caption {
  caption-side: top;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0.85rem 1rem;
}

th, td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

thead th {
  background: var(--ink-3);
  color: var(--mango);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  white-space: nowrap;
}

tbody tr:nth-child(even) { background: rgba(238, 241, 255, 0.035); }
tbody td:first-child { color: #fff; font-weight: 700; }

.faq { margin: 1.6rem 0 2.4rem; }

.faq__item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.6rem;
  background: var(--ink-2);
  overflow: hidden;
}

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

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #fff;
}

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

.faq__icon {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--mango);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 1.15rem;
  color: #D7DDFB;
}

.faq__a p { margin: 0; }

.faq__toggle:checked ~ .faq__a { max-height: 34rem; padding: 0 1.15rem 1.15rem; }
.faq__toggle:checked ~ .faq__q .faq__icon::after { transform: rotate(90deg); }
.faq__toggle:focus-visible ~ .faq__q { outline: 3px solid var(--sea); outline-offset: -3px; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.6rem 0 2.4rem;
}

.card {
  background: linear-gradient(180deg, var(--ink-2), rgba(26, 33, 67, 0.55));
  border: 1px solid var(--line);
  border-top: 3px solid var(--pitaya);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.35rem;
}

.card:nth-child(even) { border-top-color: var(--sea); }

.card__tag { color: var(--muted); margin: 0 0 0.55rem; }

.card h3 { margin: 0 0 0.7rem; color: #fff; font-size: 1.12rem; }

.card p:last-child { margin: 0; font-size: 1rem; }

.closing {
  border-left: 4px solid var(--mango);
  padding: 0.2rem 0 0.2rem 1.1rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: #DDE3FF;
  margin: 2.4rem 0;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  background: var(--ink-3);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  margin: 2.4rem 0 0;
}

.cta-block__text { margin: 0; font-size: 1.08rem; }
.cta-block .btn--primary { background: var(--mango); color: #14182C; box-shadow: 0 6px 0 rgba(255, 77, 109, 0.5); }
.cta-block .btn--primary:hover { background: #FFD469; }

.site-foot {
  border-top: 1px solid var(--line);
  background: rgba(11, 15, 30, 0.6);
  padding: 2.4rem 0 1.6rem;
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.foot-brand { font-size: 1.3rem; text-transform: uppercase; margin: 0 0 0.6rem; }
.foot-head { color: var(--sea); margin: 0 0 0.7rem; }
.foot-note { color: var(--muted); margin: 0 0 0.9rem; line-height: 1.6; }

.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 0.45rem; }
.foot-links a { color: var(--paper); text-decoration: none; }
.foot-links a:hover { color: var(--mango); }

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.age-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--pitaya);
  color: var(--pitaya);
  font-weight: 700;
  letter-spacing: 0;
}

.foot-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.foot-bar p { margin: 0; }

@media (min-width: 620px) {
  :root { --step-4: 3.4rem; --step-3: 2.1rem; }
  .site-nav { width: auto; margin-left: auto; padding-top: 0; border-top: 0; }
  .ticket { flex-direction: row; align-items: center; gap: 1.6rem; padding: 1.6rem 1.8rem; }
  .ticket__body { flex: 1 1 auto; }
  .ticket__stub {
    flex: 0 0 auto;
    align-items: center;
    padding-top: 0;
    padding-left: 1.6rem;
    border-top: 0;
    border-left: 2px dashed rgba(20, 24, 44, 0.35);
  }
  .cta-block { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 760px) {
  .wrap { padding: 0 2rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .foot-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 2.4rem; }
  main { padding-top: 2.4rem; }
}

@media (min-width: 1024px) {
  :root { --step-4: 4rem; }
  .ticket-strip { padding-top: 1.6rem; }
}

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