/* Palette follows the Accedo Tickets site (accedo/tailwind.config.js):
   near-black stage, deep red accent. The site is dark-only by design. */
:root {
  --bg-900: #0b0b0f;
  --bg-850: #101018;
  --bg-800: #141421;
  --bg-700: #1b1b2b;
  --ink-50: #f5f5f7;
  --ink-100: #e7e7ea;
  --ink-200: #c9c9d1;
  --ink-300: #a9a9b6;
  --ink-400: #7f7f93;
  --accent-600: #8b0f1a;
  --accent-500: #a31320;
  --accent-400: #c31a2b;
  --accent-text: #ff4d5e;
  --line-800: rgba(255, 255, 255, 0.10);
  --line-700: rgba(255, 255, 255, 0.14);
  --good: #5fd49a;

  --radius: 18px;
  --radius-sm: 12px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-100);
  background-color: var(--bg-900);
  background-image:
    radial-gradient(1200px 600px at 20% 0%, rgba(139, 15, 26, 0.28), transparent 55%),
    radial-gradient(900px 500px at 85% 5%, rgba(255, 255, 255, 0.05), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #ff7280; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--bg-700);
  color: var(--ink-50);
}
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-400); }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink-50);
  text-wrap: balance;
}
.display-sm { font-size: clamp(34px, 5.5vw, 60px); }
.accent { color: var(--accent-text); }
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-50);
  text-wrap: balance;
}
.h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-50);
}
.lede { margin: 22px 0 0; font-size: 18px; color: var(--ink-200); max-width: 34em; }
.section-lede { margin: 16px 0 0; font-size: 17px; color: var(--ink-300); max-width: 40em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 0 28px rgba(163, 19, 32, 0.35);
}
.btn-primary:hover { background: var(--accent-400); color: #fff; }
.btn-ghost { border: 1px solid var(--line-700); color: var(--ink-50); }
.btn-ghost:hover { border-color: var(--ink-300); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-800);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: 92px; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-200); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }
.header-inner .btn { margin-left: auto; }
@media (min-width: 760px) {
  .nav { display: flex; }
  .header-inner .btn { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 112px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 28px 0 0; padding: 0; list-style: none;
  color: var(--ink-200); font-size: 15px; font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The receipt: the page's one signature object — a ticket stub, perforated. */
.receipt {
  position: relative;
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-800), var(--bg-850));
  border: 1px solid var(--line-700);
  box-shadow: 0 0 0 1px rgba(139, 15, 26, 0.35), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.receipt-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-200);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line-800);
}
.receipt-head .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.receipt-lines { margin: 0; }
.receipt-lines > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  font-variant-numeric: tabular-nums;
}
.receipt-lines dt { color: var(--ink-200); }
.receipt-lines dd { margin: 0; color: var(--ink-50); font-weight: 600; }
.receipt-lines .total { border-top: 1px solid var(--line-700); margin-top: 4px; padding-top: 14px; }
.receipt-lines .total dt, .receipt-lines .total dd { color: var(--ink-50); font-weight: 700; }
.receipt-payout {
  position: relative;
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 18px -26px 0; padding: 20px 26px 0;
  border-top: 2px dashed var(--line-700);
  font-weight: 700; color: var(--ink-50);
}
.receipt-payout::before, .receipt-payout::after {
  content: ""; position: absolute; top: -12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-900);
  border: 1px solid var(--line-700);
}
.receipt-payout::before { left: -12px; clip-path: inset(0 0 0 50%); }
.receipt-payout::after { right: -12px; clip-path: inset(0 50% 0 0); }
.receipt-payout strong {
  font-family: var(--display); font-weight: 900; font-stretch: 110%;
  font-size: 40px; line-height: 1; color: var(--good);
  font-variant-numeric: tabular-nums;
}
.receipt-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-400); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; border-top: 1px solid var(--line-800); }
@media (min-width: 960px) { .section { padding: 112px 0; } }
.section-alt { background: rgba(16, 16, 24, 0.6); }

/* Features */
.feature-grid {
  display: grid; gap: 1px; margin-top: 48px;
  background: var(--line-800);
  border: 1px solid var(--line-800);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 28px 24px; background: var(--bg-900); }
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--ink-50);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.feature p { margin: 0; font-size: 15px; color: var(--ink-300); }

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-100);
  background: var(--bg-700);
  border: 1px solid var(--line-700);
  vertical-align: middle;
}

/* Pricing */
.price-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-850);
  border: 1px solid var(--line-800);
}
.price-card-feature {
  background: linear-gradient(180deg, rgba(139, 15, 26, 0.22), var(--bg-850) 70%);
  border-color: rgba(195, 26, 43, 0.5);
}
.price-card h3 {
  margin: 0; font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--ink-50);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.price-card header p { margin: 4px 0 0; font-size: 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.price .amount {
  font-family: var(--display); font-weight: 900; font-stretch: 110%;
  font-size: 52px; line-height: 1; color: var(--ink-50);
  font-variant-numeric: tabular-nums;
}
.price .per { color: var(--ink-300); font-size: 15px; }
.price-plus { margin: 10px 0 0; font-size: 15px; color: var(--ink-200); }
.ticks { margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line-800); }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 15px; color: var(--ink-200); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px;
  background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks strong { color: var(--ink-50); }

.no-fees {
  display: grid; gap: 18px; align-items: center;
  margin-top: 20px; padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-700);
}
@media (min-width: 900px) { .no-fees { grid-template-columns: auto 1fr; gap: 40px; } }
.no-fees ul {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 0; padding: 0; list-style: none;
  color: var(--ink-300); font-size: 15px;
}
.no-fees strong { color: var(--good); font-family: var(--display); font-weight: 800; font-size: 17px; margin-right: 4px; }
.fine { margin: 28px 0 0; max-width: 52em; font-size: 14px; color: var(--ink-400); }

/* Calculator */
.calc-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.calc-form { margin-top: 32px; display: grid; gap: 20px; }
.seg {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0; padding: 4px; border: 1px solid var(--line-700);
  border-radius: 999px; background: var(--bg-850);
}
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 10px 6px;
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-300);
  white-space: nowrap; transition: background-color .15s, color .15s;
}
.seg input:checked + span { background: var(--accent-500); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field > span:first-child { font-size: 14px; font-weight: 600; color: var(--ink-200); }
.field input, .input-affix {
  width: 100%; min-height: 52px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-700);
  background: var(--bg-850);
  color: var(--ink-50);
  font: 600 18px/1 var(--body);
  font-variant-numeric: tabular-nums;
}
.field input { padding: 0 16px; }
.field input:focus { outline: none; border-color: var(--accent-400); }
.input-affix { display: flex; align-items: center; padding: 0 0 0 16px; }
.input-affix-end { padding: 0 16px 0 0; }
.input-affix em { font-style: normal; color: var(--ink-400); }
.input-affix input { border: 0; background: transparent; min-height: 50px; padding: 0 8px; }
.input-affix:focus-within { border-color: var(--accent-400); }
.input-affix-end input { padding-left: 16px; }

.calc-out {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-800), var(--bg-850));
  border: 1px solid var(--line-700);
}
.calc-out .receipt-lines > div + div { border-top: 1px solid var(--line-800); }
.calc-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 16px; padding-top: 20px;
  border-top: 2px dashed var(--line-700);
}
.calc-split div { display: grid; gap: 4px; }
.calc-split span { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-split strong {
  font-family: var(--display); font-weight: 900; font-stretch: 108%;
  font-size: clamp(28px, 4vw, 38px); line-height: 1.05; color: var(--ink-50);
  font-variant-numeric: tabular-nums;
}
.calc-split .you strong { color: var(--good); }

/* Steps */
.steps {
  display: grid; gap: 16px; margin: 48px 0 0; padding: 0;
  list-style: none; counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 76px;
  border-radius: var(--radius);
  background: var(--bg-900);
  border: 1px solid var(--line-800);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 22px;
  font-family: var(--display); font-weight: 900; font-stretch: 112%;
  font-size: 26px; line-height: 1; color: var(--accent-text);
}
.steps h3 { margin: 0 0 4px; font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--ink-50); }
.steps p { margin: 0; font-size: 15px; color: var(--ink-300); }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: 1fr 1.7fr; gap: 72px; align-items: start; }
  .faq-wrap > div:first-child { position: sticky; top: 108px; }
}
.faq-group {
  margin: 36px 0 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-400);
}
.faq-group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line-800); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--ink-50);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink-300); border-bottom: 2px solid var(--ink-300);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--ink-300); max-width: 42em; }

/* Closer */
.closer { text-align: center; }
.closer-inner { display: flex; flex-direction: column; align-items: center; }
.closer .lede { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-800); padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-inner img { width: 74px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner nav a { color: var(--ink-300); text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner p { margin: 0 0 0 auto; }
@media (max-width: 640px) { .footer-inner p { margin-left: 0; width: 100%; } }

/* In the venue */
.venue-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .venue-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.ticks-plain { border-top: 0; padding-top: 0; margin-top: 28px; }
.pos-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.pos-grid li {
  display: grid; gap: 4px; align-content: end;
  min-height: 150px; padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-900);
  border: 1px solid var(--line-800);
}
.pos-grid li:first-child {
  background: linear-gradient(160deg, rgba(139, 15, 26, 0.35), var(--bg-900) 75%);
  border-color: rgba(195, 26, 43, 0.5);
}
.pos-kicker {
  align-self: start; margin-bottom: auto;
  font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--accent-text);
}
.pos-grid strong {
  font-family: var(--display); font-weight: 900; font-stretch: 110%;
  font-size: clamp(22px, 3vw, 30px); line-height: 1; color: var(--ink-50);
}
@media (max-width: 480px) { .pos-grid strong { font-size: 19px; font-stretch: 100%; } }
.pos-grid span:last-child { font-size: 14px; color: var(--ink-300); }

/* Pricing models */
.model-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 800px) { .model-grid { grid-template-columns: 1fr 1fr; } }
.model {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-850);
  border: 1px solid var(--line-700);
}
.model-accent {
  background: linear-gradient(160deg, rgba(139, 15, 26, 0.28), var(--bg-850) 70%);
  border-color: rgba(195, 26, 43, 0.5);
}
.model-tag {
  display: inline-block; margin: 0 0 14px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-50); background: var(--bg-700); border: 1px solid var(--line-700);
}
.model-accent .model-tag { background: var(--accent-500); border-color: var(--accent-400); }
.model .h3 { font-size: 24px; }
.model p { margin: 8px 0 0; color: var(--ink-300); }
.model .model-eg {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed var(--line-700);
  font-size: 14px;
}
.model-eg strong {
  font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1;
  color: var(--ink-50); font-variant-numeric: tabular-nums;
}
.good { color: var(--good) !important; }
.price-grid { margin-top: 20px; }

/* Calculator additions */
.seg-2 { grid-template-columns: 1fr 1fr; }
.calc-model {
  margin: 0 0 10px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-800);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-200);
}
.field-row[hidden] { display: none; }
