:root {
  /* Backgrounds */
  --bg: #fffdf9;
  --bg-alt: var(--bg-alt);
  --panel: #ffffff;
  --card: #fafafa;
  --surface-subtle: #f3f4f6;

  /* Text */
  --text: var(--text);
  --text-dark: #111;
  --muted: #6b5c4a;
  --muted-2: var(--muted-2);
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;

  /* Brand */
  --primary: #e8b65d;
  --primary-2: #dca748;
  --primary-glow: var(--primary-glow);
  --primary-glow-border: var(--primary-glow-border);
  --primary-badge-text: var(--primary-badge-text);

  /* Lines / borders */
  --line: #eadfcf;
  --shadow-sm: var(--shadow-sm);
  --shadow-md: var(--shadow-md);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
.nav, .section, .footer, .hero-content {
  width: min(1080px, 92vw);
  margin: 0 auto;
}
.site-header,
.hero > .nav,
.support-hero > .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  padding: 14px 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-weight: 800; font-size: 1.1rem; letter-spacing: 0.3px; color: var(--text);
  text-decoration: none;
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px;
  flex-shrink: 0; white-space: nowrap;
}
.header-logo-icon {
  width: 60px;
  height: 60px;
  display: block;
  flex-shrink: 0;
}
.header-logo { display: none; }
.header-center-logo { display: none; }
.nav-right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  position: static;
  background: transparent;
  border: 0; border-radius: 0; padding: 0; box-shadow: none;
  white-space: nowrap;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-select {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}
.menu-toggle {
  justify-self: end;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  position: static;
  background: transparent;
  border: 0; border-radius: 0; padding: 0; box-shadow: none;
}
.nav-links.open { display: flex; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a.active,
.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}
.hero { padding-bottom: 20px; }
.hero-content { padding: 28px 0 10px; }
.page-with-fixed-header {
  padding-top: 120px;
}
.legal-page {
  max-width: 720px;
  font-size: 0.9em;
}
.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.legal-page h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 6px;
}
.menu-toggle {
  display: none;
}
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.badge {
  display: inline-block; margin-bottom: 14px; font-size: .85rem;
  color: var(--primary-badge-text); background: var(--primary-glow); border: 1px solid var(--primary-glow-border);
  padding: 6px 10px; border-radius: 999px;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 14px; }
h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3.5vw, 2rem); }
p { color: var(--muted); margin: 0 0 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--text); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--bg-alt); }
.mockup {
  justify-self: center;
  width: min(300px, 82vw);
  aspect-ratio: 9/18;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(180deg, #fff8ee, #f6eee3);
  box-shadow: 0 20px 60px var(--shadow-md);
}
.real-mockup {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  width: min(360px, 88vw);
}
.mockup-image {
  width: 100%;
  height: auto;
  display: block;
}
.section { padding: 44px 0; }
.section.alt {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 24px;
}
.grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 1rem; }
.trust-list { margin: 0; padding-left: 18px; color: var(--text); }
.trust-list li { margin: 8px 0; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input {
  min-width: 240px; flex: 1; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--text);
}
.waitlist input::placeholder {
  color: var(--muted-2);
}
.mini { font-size: .92rem; margin-top: 10px; }
.footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}
.copy { margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.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;
}
.support-wrap {
  max-width: 720px;
}
.support-hero {
  min-height: 100vh;
}
.support-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.support-select {
  width: 100%;
  max-width: 360px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1833;
  color: var(--text);
  margin-bottom: 18px;
}
.support-form {
  max-width: 460px;
}
.support-input {
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1833;
  color: var(--text);
}
.support-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.support-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.support-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
}
.support-card.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: #fff;
}
.support-card-emoji {
  font-size: 1.35rem;
  line-height: 1;
}
.support-card-title {
  font-size: 1rem;
  font-weight: 700;
}
.support-card-sub {
  font-size: 0.88rem;
  color: var(--muted);
}
.support-card.active .support-card-sub {
  color: rgba(255,255,255,0.9);
}
.support-inline-method {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.support-inline-method p:last-child {
  margin-bottom: 0;
}
.wallet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.wallet-address {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  word-break: break-all;
  font-size: 0.85rem;
}
.pay-method {
  margin-top: 16px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pay-method h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.pay-method h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}
.fund-progress {
  margin: 14px 0;
}
.fund-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  color: var(--text);
}
.fund-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #ebebf0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.fund-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.support-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  border: 1px solid var(--line);
  table-layout: fixed;
}
.support-table th,
.support-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.support-table th {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
}
.support-table td {
  color: var(--text);
}
.support-table th:last-child,
.support-table td:last-child {
  width: 140px;
  text-align: right;
  white-space: nowrap;
}
.funding-details {
  width: 100%;
  margin-top: 8px;
}
.funding-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}
.funding-summary::-webkit-details-marker {
  display: none;
}
.funding-summary::before {
  content: '▸';
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1;
}
.funding-details[open] .funding-summary::before {
  content: '▾';
}
.funding-details-body {
  margin-top: 14px;
}
.qr-placeholder {
  margin-top: 10px;
  border: 1px dashed #6f7ec0;
  border-radius: 12px;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #cfd8ff;
  background: rgba(109,124,255,.08);
  font-weight: 600;
}
.qr-image {
  margin-top: 10px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
@media (min-width: 901px) {
  .qr-image {
    max-width: 400px;
  }
  .page-with-fixed-header {
    padding-top: 120px;
  }
}
.always-visible {
  border-style: solid;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid.four { grid-template-columns: 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .page-with-fixed-header { padding-top: 120px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    gap: 14px;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: calc(100% - 6px);
    right: 4vw;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 12px 32px var(--shadow-sm);
  }
  .nav-links.open {
    display: flex;
  }
}

/* ── Raffle + Merchandise shared styles ──────────────────────── */
.raffle-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 120px 24px 80px;
    }

    /* Hero split */
    .raffle-hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
      margin-top: 32px;
    }
    @media (max-width: 768px) {
      .raffle-hero { grid-template-columns: 1fr; gap: 24px; }
      .raffle-hero-img { aspect-ratio: 1/1; }
      .raffle-panel { position: static; }
      .raffle-title { font-size: 1.5rem; }
      .countdown-num { font-size: 1.2rem; }
      .countdown-sep { font-size: 1.1rem; }
    }

    .raffle-img-col { position: relative; }
    .raffle-hero-img {
      width: 100%;
      aspect-ratio: 5/4;
      object-fit: cover;
      object-position: top;
      border-radius: 16px;
      display: block;
    }
    .raffle-limited-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      background: var(--text-dark);
      color: var(--panel);
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 999px;
    }

    /* Product panel */
    .raffle-panel {
      position: sticky;
      top: 90px;
    }
    .raffle-label {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .raffle-title {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.15;
      margin: 0 0 8px;
      color: var(--text);
    }
    .raffle-subtitle {
      font-size: 1rem;
      color: var(--muted);
      margin-bottom: 20px;
    }
    .raffle-price {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 4px;
    }
    .raffle-price-note {
      font-size: .85rem;
      color: var(--muted);
      margin-bottom: 28px;
    }

    /* Prizes */
    .raffle-prizes {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
    }
    .prize-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--card, var(--card));
    }
    .prize-icon { font-size: 1.4rem; flex-shrink: 0; }
    .prize-text { font-size: .9rem; color: var(--text); }
    .prize-text strong { display: block; font-weight: 700; }
    .prize-text span { color: var(--muted); font-size: .82rem; }

    /* CTA button */
    .raffle-cta {
      display: block;
      width: 100%;
      padding: 16px;
      background: var(--text-dark);
      color: var(--panel);
      font-size: 1rem;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      text-align: center;
      text-decoration: none;
      cursor: pointer;
      transition: background .15s;
      font-family: inherit;
      letter-spacing: .02em;
    }
    .raffle-cta:hover { background: var(--primary); color: var(--panel); }

    /* Countdown */
    .raffle-countdown {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin: 20px 0 0;
    }
    .countdown-block {
      text-align: center;
      min-width: 52px;
    }
    .countdown-num {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text);
      display: block;
      line-height: 1;
    }
    .countdown-label {
      font-size: .7rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .countdown-sep {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--muted);
      align-self: flex-start;
      padding-top: 2px;
    }
    .draw-date-note {
      text-align: center;
      font-size: .82rem;
      color: var(--muted);
      margin-top: 8px;
    }

    /* Crosslink banner */
    .raffle-crosslink {
      margin-top: 48px;
      padding: 24px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: var(--card, var(--card));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .raffle-crosslink-text h3 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
    .raffle-crosslink-text p { font-size: .875rem; color: var(--muted); margin: 0; }
    .raffle-crosslink-btn {
      padding: 10px 20px;
      border-radius: 10px;
      border: 1px solid var(--text-dark);
      background: transparent;
      color: var(--text);
      font-size: .875rem;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: background .15s, color .15s;
    }
    .raffle-crosslink-btn:hover { background: var(--text-dark); color: var(--panel); }

    /* Shirt preview section */
    .raffle-preview {
      margin-top: 64px;
    }
    .raffle-preview h2 {
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 20px;
    }
    .shirt-preview-grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 24px;
      align-items: start;
    }
    @media (max-width: 600px) {
      .shirt-preview-grid { grid-template-columns: 1fr; }
    }
    .shirt-img {
      width: 100%;
      border-radius: 12px;
      object-fit: cover;
      object-position: top;
      aspect-ratio: 3/4;
    }
    .shirt-details {
      padding: 8px 0;
    }
    .shirt-details h3 {
      font-size: 1.4rem;
      font-weight: 800;
      margin: 0 0 8px;
    }
    .shirt-details p {
      color: var(--muted);
      font-size: .95rem;
      line-height: 1.7;
      margin-bottom: 16px;
    }
    .shirt-spec {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .spec-tag {
      font-size: .8rem;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      color: var(--muted);
    }

    /* How it works */
    .raffle-how {
      margin-top: 64px;
      border-top: 1px solid var(--line);
      padding-top: 48px;
    }
    .raffle-how h2 {
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 28px;
    }
    .steps-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 600px) {
      .steps-row { grid-template-columns: 1fr; }
    }
    .step-card {
      padding: 20px;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: var(--card, var(--card));
    }
    .step-num {
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .step-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
    .step-card p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.6; }

    /* Terms */
    .raffle-terms {
      margin-top: 48px;
      border-top: 1px solid var(--line);
      padding-top: 32px;
    }
    .raffle-terms h2 {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 12px;
    }
    .raffle-terms ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .raffle-terms li {
      font-size: .875rem;
      color: var(--muted);
      line-height: 1.6;
      padding-left: 16px;
      position: relative;
    }
    .raffle-terms li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--line);
    }

/* ── Phase 3: utility classes (replaces inline styles) ──────── */
.icon-sm { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.icon-lg { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.wordmark-svg { color: #272928; }
.mt-6 { margin-top: 1.5rem; }
.mt-24 { margin-top: 24px; }
.link-blue { color: #2563eb; }
.link-blue-sm { color: #2563eb; font-size: 0.9rem; }
.link-blue-bold { color: #2563eb; font-weight: 600; }
.list-spaced { margin: 12px 0 12px 20px; line-height: 2; }
.text-muted-sm { font-size: .82rem; color: var(--muted); }
.text-muted-base { font-size: 1rem; font-weight: 400; color: var(--muted); }
.fw-bold { font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.logo-gap { gap: 12px !important; }
.color-primary { font-weight: 700; color: var(--primary); font-size: 1rem; }
