:root,
:root[data-theme="light"] {
  --bg: #f4f6fb;
  --bg2: #e7ebf4;
  --card: rgba(11, 16, 32, 0.04);
  --card2: rgba(11, 16, 32, 0.08);
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #0b1020;
  --muted: rgba(11, 16, 32, 0.65);
  --border: rgba(11, 16, 32, 0.12);
  --accent: #7c3aed;
  --accent2: #06b6d4;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  --header-bg: rgba(247, 248, 251, 0.85);
  --header-border: rgba(11, 16, 32, 0.12);
  --input-bg: rgba(255, 255, 255, 0.95);
  --input-border: rgba(11, 16, 32, 0.18);
  --pill-bg: rgba(124, 58, 237, 0.14);
  --pill-border: rgba(124, 58, 237, 0.28);
  --glow-1: rgba(124, 58, 237, 0.12);
  --glow-2: rgba(6, 182, 212, 0.12);
  --footer-bg: rgba(247, 248, 251, 0.9);
  --code: rgba(11, 16, 32, 0.84);
  --brand-text: #0b1020;
  --radius: 18px;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg2: #0f1733;
    --card: rgba(255, 255, 255, 0.06);
    --card2: rgba(255, 255, 255, 0.08);
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --border: rgba(255, 255, 255, 0.12);
    --accent: #7c3aed;
    --accent2: #22d3ee;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --header-bg: rgba(11, 16, 32, 0.55);
    --header-border: rgba(255, 255, 255, 0.12);
    --input-bg: rgba(0, 0, 0, 0.18);
    --input-border: rgba(255, 255, 255, 0.14);
    --pill-bg: rgba(124, 58, 237, 0.22);
    --pill-border: rgba(124, 58, 237, 0.35);
    --glow-1: rgba(124, 58, 237, 0.35);
    --glow-2: rgba(34, 211, 238, 0.18);
    --footer-bg: rgba(11, 16, 32, 0.35);
    --code: rgba(255, 255, 255, 0.86);
    --brand-text: #0b1020;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg2: #0f1733;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #7c3aed;
  --accent2: #22d3ee;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(11, 16, 32, 0.55);
  --header-border: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(0, 0, 0, 0.18);
  --input-border: rgba(255, 255, 255, 0.14);
  --pill-bg: rgba(124, 58, 237, 0.22);
  --pill-border: rgba(124, 58, 237, 0.35);
  --glow-1: rgba(124, 58, 237, 0.35);
  --glow-2: rgba(34, 211, 238, 0.18);
  --footer-bg: rgba(11, 16, 32, 0.35);
  --code: rgba(255, 255, 255, 0.86);
  --brand-text: #0b1020;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% 10%, var(--glow-1), transparent 60%),
    radial-gradient(900px 700px at 15% 20%, var(--glow-2), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

h1, h2, h3, .brand-text { font-family: var(--font-display); }

a { color: inherit; }
code { color: var(--code); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; z-index: 1000; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  z-index: 50;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--brand-text);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
}
.brand-text { font-size: 16px; }

.nav-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 650;
}
.theme-toggle:hover { background: var(--surface-strong); }
.theme-toggle .theme-icon { font-size: 14px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #07101e;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-strong); }
.btn-ghost {
  border-color: var(--border);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface); }

.main { max-width: 1120px; margin: 0 auto; padding: 26px 18px 56px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0 18px;
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.story {
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.story-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  padding: 16px;
  display: grid;
  gap: 10px;
  min-height: 200px;
}
.story-step {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-title {
  margin: 0;
  font-size: 18px;
}
.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.story-meta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.story-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.testimonial-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.testimonial-rating {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
  font-size: 14px;
}
.testimonial-quote {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
}
.testimonial-author {
  display: flex;
  gap: 10px;
  align-items: center;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}
.testimonial-avatar.av1 { background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(255,255,255,0.1)); }
.testimonial-avatar.av2 { background: linear-gradient(135deg, rgba(34,211,238,0.4), rgba(255,255,255,0.1)); }
.testimonial-avatar.av3 { background: linear-gradient(135deg, rgba(248,113,113,0.4), rgba(255,255,255,0.1)); }
.testimonial-meta {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: var(--muted);
}
.testimonial-meta strong {
  color: var(--text);
  font-weight: 700;
}
.cta { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.trust {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}
.trust li {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.hero-visual { display: flex; justify-content: center; }

.hero-visual-event .event-stack {
  position: relative;
  width: min(460px, 100%);
  height: 360px;
}
.event-card {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.event-card.card-back {
  transform: translate(-20px, 18px) rotate(-4deg);
  opacity: 0.35;
  z-index: 0;
}
.event-card.card-mid {
  transform: translate(14px, -12px) rotate(3deg);
  opacity: 0.55;
  z-index: 1;
}
.event-card.card-front {
  position: relative;
  padding: 16px;
  display: grid;
  gap: 12px;
  background: linear-gradient(160deg, rgba(124,58,237,0.18), rgba(34,211,238,0.08));
  z-index: 2;
}
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.event-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(16,185,129,0.2);
  color: var(--text);
  border: 1px solid rgba(16,185,129,0.4);
}
.event-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.event-mini-tile {
  height: 54px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.em1 { background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(34,211,238,0.2)); }
.em2 { background: linear-gradient(135deg, rgba(248,113,113,0.35), rgba(255,255,255,0.08)); }
.em3 { background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(124,58,237,0.2)); }
.em4 { background: linear-gradient(135deg, rgba(34,211,238,0.3), rgba(255,255,255,0.06)); }
.em5 { background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(250,204,21,0.18)); }
.em6 { background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(34,211,238,0.2)); }
.em7 { background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(248,113,113,0.22)); }
.em8 { background: linear-gradient(135deg, rgba(34,211,238,0.22), rgba(16,185,129,0.22)); }
.event-timeline {
  display: grid;
  gap: 6px;
}
.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  font-size: 12px;
}
.timeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34,211,238,0.8);
}
.timeline-text { color: var(--text); font-weight: 600; }
.timeline-time { color: var(--muted); font-size: 11px; }
.event-qr-float {
  position: absolute;
  right: -14px;
  bottom: -12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  width: 90px;
  display: grid;
  gap: 6px;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 3;
}
.event-qr {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(17,24,39,0.45), rgba(17,24,39,0.1)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 6px, rgba(255,255,255,0) 6px 12px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 6px, rgba(255,255,255,0) 6px 12px);
}
.event-qr-label { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual-wall .wall-screen {
  position: relative;
  width: min(560px, 100%);
}
.wall-screen-bezel {
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(15,23,42,0.95), rgba(15,23,42,0.75));
  border: 2px solid rgba(15,23,42,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.3);
  position: relative;
  z-index: 1;
}
.wall-screen-inner {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11,18,32,0.98), rgba(11,18,32,0.82));
  border: 1px solid rgba(148,163,184,0.2);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.wall-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226,232,240,0.7);
}
.wall-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 700;
}
.wall-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 12px rgba(249,115,22,0.6);
}
.wall-room { font-weight: 700; color: rgba(226,232,240,0.85); }
.wall-count { font-weight: 700; color: rgba(226,232,240,0.7); }
.wall-screen-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.wall-screen-tile {
  height: 60px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.4);
}
.ws1 { background: linear-gradient(135deg, rgba(56,189,248,0.5), rgba(124,58,237,0.25)); }
.ws2 { background: linear-gradient(135deg, rgba(248,113,113,0.4), rgba(15,23,42,0.3)); }
.ws3 { background: linear-gradient(135deg, rgba(34,211,238,0.35), rgba(15,23,42,0.2)); }
.ws4 { background: linear-gradient(135deg, rgba(250,204,21,0.25), rgba(15,23,42,0.2)); }
.ws5 { background: linear-gradient(135deg, rgba(16,185,129,0.35), rgba(15,23,42,0.25)); }
.ws6 { background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(15,23,42,0.25)); }
.ws7 { background: linear-gradient(135deg, rgba(14,165,233,0.35), rgba(15,23,42,0.25)); }
.ws8 { background: linear-gradient(135deg, rgba(248,113,113,0.3), rgba(15,23,42,0.2)); }
.ws9 { background: linear-gradient(135deg, rgba(34,211,238,0.3), rgba(15,23,42,0.2)); }
.ws10 { background: linear-gradient(135deg, rgba(250,204,21,0.3), rgba(15,23,42,0.2)); }
.ws11 { background: linear-gradient(135deg, rgba(148,163,184,0.2), rgba(15,23,42,0.2)); }
.ws12 { background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(15,23,42,0.2)); }
.wall-screen-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.2);
  background: rgba(15,23,42,0.6);
}
.wall-screen-banner .pill {
  background: rgba(248,250,252,0.08);
  border-color: rgba(148,163,184,0.3);
  color: #e2e8f0;
}
.wall-screen-banner .muted { color: rgba(226,232,240,0.7); }
.wall-screen-reflection {
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 45%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

.hero-visual-family .family-stack {
  position: relative;
  width: min(440px, 100%);
  height: 360px;
}
.family-polaroid {
  position: absolute;
  width: 220px;
  padding: 10px 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}
.polaroid-photo {
  height: 120px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.polaroid-caption {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.polaroid-1 { top: 8px; left: 6px; transform: rotate(-4deg); z-index: 1; }
.polaroid-2 { top: 54px; right: 0; transform: rotate(3deg); z-index: 2; }
.polaroid-3 { bottom: 10px; left: 90px; transform: rotate(-1deg); z-index: 3; }
.family-tape {
  position: absolute;
  width: 84px;
  height: 18px;
  border-radius: 8px;
  background: rgba(250,204,21,0.28);
  border: 1px solid rgba(250,204,21,0.45);
  box-shadow: 0 6px 10px rgba(15,23,42,0.1);
  z-index: 4;
}
.tape-1 { top: 2px; left: 120px; transform: rotate(-6deg); }
.tape-2 { top: 110px; right: 40px; transform: rotate(8deg); }
.family-calendar {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  text-align: center;
  z-index: 4;
}
.calendar-month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--muted);
}
.calendar-day { font-size: 22px; font-weight: 800; }
.calendar-note { font-size: 11px; color: var(--muted); }
.family-avatars {
  position: absolute;
  left: 8px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  z-index: 4;
}
.family-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}
.fa1 { background: linear-gradient(135deg, rgba(248,113,113,0.4), rgba(255,255,255,0.1)); }
.fa2 { background: linear-gradient(135deg, rgba(34,211,238,0.4), rgba(255,255,255,0.1)); }
.fa3 { background: linear-gradient(135deg, rgba(16,185,129,0.4), rgba(255,255,255,0.1)); }
.fa4 { background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(255,255,255,0.1)); }
.fp1 { background: linear-gradient(135deg, rgba(248,113,113,0.25), rgba(255,255,255,0.08)); }
.fp2 { background: linear-gradient(135deg, rgba(34,211,238,0.25), rgba(255,255,255,0.08)); }
.fp3 { background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(255,255,255,0.08)); }
.wall-card {
  width: min(420px, 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  padding: 16px;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tile {
  height: 66px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.t1 { background: linear-gradient(135deg, rgba(124,58,237,0.65), rgba(34,211,238,0.25)); }
.t2 { background: linear-gradient(135deg, rgba(34,211,238,0.55), rgba(255,255,255,0.08)); }
.t3 { background: linear-gradient(135deg, rgba(248,113,113,0.35), rgba(124,58,237,0.35)); }
.t4 { background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(34,211,238,0.25)); }
.t5 { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(124,58,237,0.28)); }
.t6 { background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(255,255,255,0.06)); }
.t7 { background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(34,211,238,0.18)); }
.t8 { background: linear-gradient(135deg, rgba(250,204,21,0.18), rgba(34,211,238,0.18)); }
.t9 { background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(248,113,113,0.18)); }
.t10 { background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(16,185,129,0.18)); }
.t11 { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.08)); }
.t12 { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(34,211,238,0.22)); }

.wall-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
}
.muted { color: var(--muted); }

.section { padding: 34px 0; }
.section.alt {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  border-radius: calc(var(--radius) + 4px);
  padding: 26px 18px;
}
.section-head { max-width: 680px; }
h2 { margin: 0 0 10px; font-size: 26px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.6; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
}
.bullets { margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }

.wall-preview {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
}
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--border); }
.preview-title {
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 11px;
  color: var(--muted);
}
.preview-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.p {
  height: 78px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.p1 { background: linear-gradient(135deg, rgba(34,211,238,0.28), rgba(124,58,237,0.28)); }
.p2 { background: linear-gradient(135deg, rgba(248,113,113,0.22), rgba(255,255,255,0.06)); }
.p3 { background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(34,211,238,0.2)); }
.p4 { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(255,255,255,0.08)); }
.p5 { background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(250,204,21,0.12)); }
.p6 { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(124,58,237,0.2)); }
.p7 { background: linear-gradient(135deg, rgba(248,113,113,0.16), rgba(34,211,238,0.18)); }
.p8 { background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(34,211,238,0.16)); }

.faq { display: grid; gap: 12px; margin-top: 14px; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px 14px;
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.final-cta {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(34,211,238,0.10));
  border-radius: calc(var(--radius) + 6px);
  padding: 20px 18px;
}
.final-cta h2 { margin: 0 0 8px; }
.final-cta p { margin: 0; color: var(--muted); }

.footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.footer-discord:hover { background: var(--surface-strong); }
.footer-discord .discord-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #5865f2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(88, 101, 242, 0.25);
}
.footer-discord .discord-icon svg { width: 12px; height: 12px; display: block; fill: currentColor; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.inline-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.price-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.price-card.featured {
  border-color: rgba(34,211,238,0.35);
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(34,211,238,0.10));
}
.price-top { display: grid; gap: 4px; }
.price-card h3 { margin: 0; font-size: 16px; }
.price-tag { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.price { margin: 0; font-size: 28px; font-weight: 850; letter-spacing: -0.02em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 650; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.price-card li { margin: 4px 0; }

.contact {
  margin-top: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  padding: 16px;
}
.contact label { display: grid; gap: 8px; }
.contact label.honeypot { display: none; }
.contact .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact input, .contact textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}
.contact input:focus, .contact textarea:focus { border-color: rgba(34,211,238,0.45); box-shadow: 0 0 0 4px rgba(34,211,238,0.12); }
.contact span { font-weight: 650; color: var(--muted); font-size: 13px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.honeypot { display: none; }

.legal-main {
  max-width: 920px;
}
.legal-page-header {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.legal-page-header h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
}
.legal-warning {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  margin: 0;
}
.legal-grid {
  display: grid;
  gap: 14px;
}
.legal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}
.legal-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.legal-card p + p {
  margin-top: 10px;
}
.legal-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}
.legal-list li + li {
  margin-top: 8px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
}
.legal-table th,
.legal-table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  color: var(--muted);
  vertical-align: top;
}
.legal-table th {
  width: 30%;
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav { flex-wrap: wrap; }
  .cards { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tile { height: 58px; }
  .contact .grid { grid-template-columns: 1fr; }
  .nav-links .theme-toggle { width: 100%; justify-content: center; }
  .hero-visual-event .event-stack { height: 300px; }
  .event-mini-tile { height: 46px; }
  .event-qr-float { right: 0; }
  .wall-screen-grid { grid-template-columns: repeat(4, 1fr); }
  .wall-screen-tile { height: 52px; }
  .wall-screen-reflection { inset: 12px; }
  .hero-visual-family .family-stack { height: 320px; }
  .family-polaroid { width: 200px; }
  .polaroid-3 { left: 60px; }
  .footer-discord { width: 100%; justify-content: center; }
}
