:root {
  color-scheme: dark;
  --bg: #070708;
  --ink: #f5f5f6;
  --muted: rgba(245, 245, 246, .72);
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .28);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  --shadow: 0 24px 60px rgba(0, 0, 0, .38);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .18);
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --display: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  background: var(--bg);
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 420px at 50% -8%, rgba(255, 255, 255, .09), transparent 62%),
    radial-gradient(640px 380px at 92% 18%, rgba(255, 255, 255, .045), transparent 58%),
    radial-gradient(520px 320px at 8% 70%, rgba(255, 255, 255, .035), transparent 60%);
}

.bar, main, footer { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.bar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(16, 16, 18, .55);
  border: 1px solid var(--line);
  box-shadow: var(--inset), 0 12px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; }
.brand img, .ticket-head img { width: 36px; height: 36px; border-radius: 8px; }
nav { display: flex; gap: 4px; margin-left: auto; }
nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}
nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--inset);
  backdrop-filter: blur(12px);
}
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible, nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero { text-align: center; padding: 84px 0 36px; }
.mark { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 18px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -.04em; }
h1 {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 88px);
  line-height: .94;
}
.lede, .section-head p, .glass p, .note { color: var(--muted); }
.lede { max-width: 640px; margin: 18px auto 0; font-size: 18px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  box-shadow: var(--inset);
  backdrop-filter: blur(14px);
}
.pill img { width: 28px; height: 28px; border-radius: 6px; }
.pill b { display: block; font-size: 14px; letter-spacing: -.02em; }
.pill small { display: block; color: var(--muted); font-size: 12px; }

section { padding: 28px 0; }
.section-head { max-width: 680px; margin-bottom: 22px; }
h2 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow), var(--inset);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards article { padding: 22px 22px 24px; }
.cards p { margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { padding: 18px 16px 20px; }
.steps span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .45);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .08em;
}
.steps p { margin: 0; font-size: 14.5px; }

.pay { margin-top: 16px; padding: 22px 24px; text-align: center; }
.pay p { margin: 0; }
.pay-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pay-pills span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .06);
  font-weight: 600;
  letter-spacing: -.02em;
}
.note { margin-top: 4px; font-size: 14px; }

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 28px;
}
.support h2 { margin-bottom: 8px; }
.support p { margin: 0; max-width: 560px; }
.support .cta { margin: 0; }

footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

dialog.sheet {
  width: min(560px, calc(100% - 24px));
  max-height: min(860px, calc(100% - 24px));
  padding: 22px;
  color: var(--ink);
  background: rgba(12, 12, 14, .78);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  box-shadow: var(--shadow), var(--inset);
  backdrop-filter: blur(22px) saturate(150%);
}
dialog.sheet::backdrop { background: rgba(0, 0, 0, .62); backdrop-filter: blur(8px); }
dialog.sheet h2 { margin: 4px 0 6px; font-size: 32px; }
dialog.sheet .note { margin: 0 0 14px; }
dialog.sheet form { display: grid; gap: 12px; }
dialog.sheet .split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
dialog.sheet label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
dialog.sheet input,
dialog.sheet select,
dialog.sheet textarea,
.ticket textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--inset);
}
dialog.sheet textarea { min-height: 120px; resize: vertical; }
dialog.sheet .row { display: flex; justify-content: flex-end; gap: 10px; }
.err {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
}

.ticket {
  padding: 28px 0 64px;
}
.ticket-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; }
.thread {
  padding: 8px 22px 18px;
  min-height: 280px;
}
.thread article {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.thread article:first-child { border-top: 0; }
.thread strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.thread p { margin: 6px 0 0; white-space: pre-wrap; }
#quote {
  margin: 0 0 14px;
  padding: 16px 18px;
  white-space: pre-wrap;
  font: 14px/1.5 var(--sans);
}
.reply { display: grid; gap: 10px; margin-top: 14px; }
.reply textarea { min-height: 96px; resize: vertical; }
.reply .btn { justify-self: start; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .support { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .bar {
    top: 8px;
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 10px;
  }
  nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  nav a { flex: 1; text-align: center; padding: 8px 4px; }
  .hero { padding-top: 48px; }
  h1 { font-size: clamp(40px, 12vw, 64px); }
  .steps, dialog.sheet .split { grid-template-columns: 1fr; }
  .bar, main, footer { width: min(1120px, calc(100% - 20px)); }
}
