/* ConcertQueue brand stylesheet — pre-launch landing + doc pages.
 *
 * Palette matches ios/ConcertQueue/Theme/Colors.swift exactly:
 *   background      #120F14   (off-black, plum-tinted)
 *   surface         #1C171F
 *   text primary    #F5F0EB
 *   amber accent    #E0A852
 *
 * Typography hierarchy is intentionally minimal — three sizes only.
 *   display  Newsreader serif, 64–80px on desktop, 44–56px mobile
 *   section  Newsreader serif, 28–34px
 *   body     Inter sans, 17px
 *
 * No additional weights / sizes — emphasis comes from weight + amber.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');

:root {
  --bg: #120F14;
  --bg-elevated: #1C171F;
  --bg-surface: #262129;
  --text: #F5F0EB;
  --text-secondary: #B8ADA8;
  --text-muted: #7A7170;
  --accent: #E0A852;
  --accent-bright: #ECB565;
  --accent-soft: rgba(224, 168, 82, 0.16);
  --accent-glow: rgba(224, 168, 82, 0.10);
  --divider: rgba(255, 255, 255, 0.08);
  --divider-strong: rgba(255, 255, 255, 0.16);

  --font-display: 'Newsreader', 'New York', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: #1a1306; }

/* ─────────────────────── Site navigation ─────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 15, 20, 0.78);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--divider);
}
.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.0rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.nav-spacer { flex: 1; }
.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

/* ─────────────────────── Main containers ─────────────────────── */

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
main.narrow {
  max-width: 740px;
}

/* ─────────────────────── Hero (landing) ─────────────────────── */

.hero {
  position: relative;
  padding: 7rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  /* Amber glow behind the headline — like Linear's subtle accent halo. */
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 1100px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

h1.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 1.4rem;
}
h1.display .accent { color: var(--accent); font-style: italic; }

.hero-lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 36em;
  margin: 0 auto 2.2rem;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cta-primary {
  background: var(--accent);
  color: #1a1306;
}
.cta-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--divider-strong);
}
.cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Show-card stack — CSS art beneath the hero text */
.card-stack-wrap {
  margin: 4rem auto 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.card-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  perspective: 1200px;
}
@media (max-width: 720px) {
  .card-stack { grid-template-columns: 1fr; gap: 0.9rem; max-width: 320px; margin: 0 auto; }
}
.show-card {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 1.3rem 1.2rem 1.4rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  isolation: isolate;
}
.show-card::before {
  /* Subtle top-edge gradient in the show's "umbrella" color */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 80px;
  opacity: 0.20;
  z-index: -1;
}
.show-card.s1 { transform: rotate(-2.5deg) translateY(6px); }
.show-card.s2 { transform: rotate(0.5deg) translateY(-4px); border-color: var(--divider-strong); }
.show-card.s3 { transform: rotate(2.5deg) translateY(6px); }
.show-card.s1::before { background: linear-gradient(180deg, #C75C6B, transparent); }
.show-card.s2::before { background: linear-gradient(180deg, var(--accent), transparent); }
.show-card.s3::before { background: linear-gradient(180deg, #6B94D1, transparent); }
@media (max-width: 720px) {
  .show-card.s1, .show-card.s2, .show-card.s3 { transform: none; }
}
.show-card .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.show-card.s1 .badge { background: rgba(199, 92, 107, 0.20); color: #E08390; }
.show-card.s2 .badge { background: var(--accent-soft); color: var(--accent); }
.show-card.s3 .badge { background: rgba(107, 148, 209, 0.20); color: #93B2DD; }
.show-card .show-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
}
.show-card .show-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.show-card .swipe-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--divider);
}
.swipe-chip {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--divider);
  color: var(--text-muted);
}
.swipe-chip.is-active.going { color: #1a1306; background: var(--accent); border-color: var(--accent); }
.swipe-chip.is-active.interested { color: #0E1928; background: #93B2DD; border-color: #93B2DD; }
.swipe-chip.is-active.pass { color: #2E0F11; background: #E08390; border-color: #E08390; }

/* ─────────────────────── Section blocks ─────────────────────── */

section.block {
  padding: 6rem 0;
  border-top: 1px solid var(--divider);
}
.section-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 1.4rem;
  font-weight: 600;
  max-width: 18ch;
}
h2.center { margin-left: auto; margin-right: auto; }
.section-lede {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 38em;
  margin-bottom: 2.6rem;
}

/* "What it does" — three value props side-by-side */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .props { grid-template-columns: 1fr; gap: 2rem; }
}
.prop .num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}
.prop h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.55rem;
  color: var(--text);
  line-height: 1.2;
}
.prop p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA section */
.cta-section {
  text-align: center;
  padding: 8rem 0;
}
.cta-section h2 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-section .section-eyebrow { text-align: center; }
.cta-section .section-lede { margin-left: auto; margin-right: auto; }
.cta-section .cta-row { margin-top: 0.5rem; }

.android-line {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}
.android-line a {
  color: var(--text);
  border-bottom: 1px solid var(--text-muted);
  text-decoration: none;
  margin-left: 0.4rem;
  padding-bottom: 1px;
}
.android-line a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ─────────────────────── Doc pages (privacy, support) ─────────────────────── */

.doc-header {
  padding: 4.5rem 0 1.5rem;
}
.doc-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.doc-header .updated {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.doc { padding-bottom: 4rem; }
.doc h2 {
  margin-top: 3.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--divider);
  max-width: none;
}
.doc h2:first-of-type { margin-top: 1.8rem; }
.doc h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.8rem 0 0.5rem;
  letter-spacing: -0.005em;
}
.doc p { margin: 0.6rem 0 1.1rem; color: var(--text-secondary); }
.doc p.lede { color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.doc ul { padding-left: 1.4rem; margin: 0.6rem 0 1.2rem; }
.doc li { margin-bottom: 0.5rem; color: var(--text-secondary); }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); font-weight: 600; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color 0.12s ease;
}
a:hover { color: var(--accent-bright); }

code {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 0.86em;
  background: var(--bg-elevated);
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
  color: var(--text);
  border: 1px solid var(--divider);
}

/* Doc tables */
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: 10px;
  overflow: hidden;
}
.doc th, .doc td {
  padding: 0.75rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}
.doc tr:last-child td { border-bottom: none; }
.doc th {
  background: var(--bg-surface);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.doc td { color: var(--text-secondary); }
.doc td:first-child { color: var(--text); font-weight: 500; }

/* FAQ <details> on support page */
.doc details {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 1.05rem 1.3rem;
  margin: 0.55rem 0;
  transition: border-color 0.15s ease;
}
.doc details:hover { border-color: var(--divider-strong); }
.doc details[open] { padding-bottom: 1.2rem; }
.doc details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.doc details summary::-webkit-details-marker { display: none; }
.doc details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.doc details[open] summary::after { content: "−"; }
.doc details p, .doc details ul { margin-top: 0.7rem; }

/* Contact card */
.contact-card {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  margin: 1.6rem 0 2.2rem;
}
.contact-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.contact-card .email {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.contact-card .email a { color: var(--accent); text-decoration: none; }
.contact-card .email a:hover { color: var(--accent-bright); }
.contact-card .turnaround {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ─────────────────────── Footer ─────────────────────── */

footer.site-foot {
  border-top: 1px solid var(--divider);
  margin-top: 4rem;
  padding: 2.5rem 1.75rem 3rem;
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.foot-inner a { color: var(--text-secondary); text-decoration: none; }
.foot-inner a:hover { color: var(--accent); }
.foot-inner .brand-name { font-size: 1rem; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-spacer { flex: 1; }

@media (max-width: 560px) {
  .foot-inner { font-size: 0.82rem; gap: 1rem; }
  .foot-spacer { display: none; }
}
