:root {
  --bg: #121538;
  --bg-deep: #0f1230;
  --surface: #f4ead8;
  --surface-strong: #fbf4e7;
  --surface-soft: #efe2cc;
  --text: #f7f0e4;
  --text-dark: #2f2418;
  --muted: #d8ccb7;
  --muted-dark: #6f6558;
  --line: #b99d73;
  --accent: #1c78dc;
  --accent-dark: #1168c9;
  --gold: #f2c230;
  --gold-soft: rgba(242, 194, 48, 0.18);
  --tan: #d9c29a;
  --success-bg: #dfe8db;
  --success-text: #2f7a3f;
  --success-line: #6aa76f;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(242, 194, 48, 0.10), transparent 26%),
    linear-gradient(180deg, #171b45 0%, var(--bg) 100%);
  line-height: 1.58;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

/* Header */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(12px);
  background: rgba(18, 21, 56, 0.9);
  border-bottom: 1px solid rgba(242, 194, 48, 0.18);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  height: 96px;
  width: auto;
  display: block;
  border: none;
  background: none;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-copy strong {
  display: block;
  letter-spacing: -0.02em;
  color: #fff4df;
}

.brand-copy span {
  font-size: 0.88rem;
  color: rgba(243, 231, 215, 0.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  color: rgba(243, 231, 215, 0.82);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 12px 28px rgba(17, 104, 201, 0.32);
}

.btn-secondary {
  background: rgba(255, 244, 220, 0.08);
  border: 1px solid rgba(242, 194, 48, 0.30);
  color: #f6ead6;
}

.btn-secondary:hover {
  background: rgba(255, 244, 220, 0.14);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: rgba(28, 120, 220, 0.08);
  border: 1px solid rgba(185, 157, 115, 0.6);
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: rgba(185, 157, 115, 0.12);
  border-color: rgba(185, 157, 115, 0.9);
}

/* Labels */

.badge {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #ffd85a;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(242, 194, 48, 0.28);
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

.small {
  font-size: 0.92rem;
  color: rgba(243, 231, 215, 0.78);
  line-height: 1.5;
}

/* Hero */

.hero {
  position: relative;
  padding: 5rem 0 3.8rem;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(242, 194, 48, 0.28),
    transparent
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 1.6rem;
  align-items: start;
}

.hero-copy {
  background: rgba(18, 21, 56, 0.78);
  border: 1px solid rgba(242, 194, 48, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  max-width: none;
  height: auto;
}

.hero-copy h1,
.hero-copy h2 {
  color: #fff6e6;
  margin-top: 0.7rem;
}

.hero-copy p,
.hero-copy .lead {
  color: rgba(243, 231, 215, 0.9);
}

.hero-phone {
  padding: 0.35rem;
  border-radius: 34px;
  background: #efe2cc;
  border: 1px solid rgba(242, 194, 48, 0.38);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  height: auto;
}

.phone-shell {
  background: #151a45;
  border-radius: 28px;
  padding: 0.45rem;
  height: auto;
}

.phone-screen {
  min-height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #171b45 0%, #101437 100%);
  padding: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.hero-logo {
  width: min(260px, 70%);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.qr-hero {
  border-radius: 34px;
  background: #efe2cc;
  border: 1px solid rgba(242, 194, 48, 0.38);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.qr-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 28px;
  background: white;
}

/* Type */

h1 {
  margin: 0.95rem 0 1rem;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  max-width: 9ch;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

p.lead,
.lead {
  color: rgba(243, 231, 215, 0.88);
  font-size: 1.05rem;
  max-width: 64ch;
}

.muted {
  color: var(--muted-dark);
}

/* Cards / panels */

.card,
.panel {
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(185, 157, 115, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  color: var(--text-dark);
}

.card {
  padding: 1.35rem;
}

.panel {
  padding: 1.6rem;
}

.card h3,
.panel h3,
.card p,
.panel p,
.card li,
.panel li,
label {
  color: var(--text-dark);
}

/* Phone cards */

.screen-card {
  background: linear-gradient(180deg, #f6edde 0%, #efe2cc 100%);
  border: 1px solid rgba(185, 157, 115, 0.65);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
}

.screen-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.screen-card p {
  font-size: 0.92rem;
  color: var(--muted-dark);
  margin: 0;
}

.screen-pill {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(143, 79, 37, 0.12);
  color: #6b3b1e;
  border: 1px solid rgba(143, 79, 37, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Info pill */

.brewery-pill {
  margin-top: 1rem;
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 244, 220, 0.08);
  color: #f1e3c8;
  border: 1px solid rgba(242, 194, 48, 0.22);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 100%;
}

.brewery-pill strong {
  display: block;
  color: #ffd85a;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.hero-right .brewery-pill strong {
  font-size: 2rem;
}

.brewery-note {
  margin-top: 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.4;
}

.brewery-note strong,
.brewery-note em {
  color: #fff;
}

/* Layout */

section {
  padding: 4.2rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.grid-2,
.grid-3,
.grid-4,
.logo-grid,
.stats {
  display: grid;
  gap: 1.15rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
  gap: 0.85rem;
}

.stat {
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
  line-height: 1.25;
}

.feature-band {
  border-top: 1px solid rgba(242, 194, 48, 0.22);
  border-bottom: 1px solid rgba(242, 194, 48, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.feature-band .kicker {
  color: var(--gold);
}

/* Steps */

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 3.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  left: 1.35rem;
  display: grid;
  place-items: center;
  color: #1b1f48;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #f0ad1f);
}

.steps-style .screen-card {
  padding: 1rem 1rem 1.1rem;
}

.steps-style .screen-pill {
  margin-bottom: 0.4rem;
}

.steps-style strong {
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.steps-style .muted {
  display: block;
}

/* Lists */

.list-checks,
.faq-list,
.simple-list {
  margin: 0;
  padding-left: 1.15rem;
}

.list-checks li,
.simple-list li {
  margin-bottom: 0.55rem;
}

/* Logo grid */

.logo-grid {
  grid-template-columns: repeat(5, 1fr);
}

.logo-box {
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(242, 194, 48, 0.26);
  background: rgba(244, 234, 216, 0.08);
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

/* CTA */

.cta-panel {
  background: linear-gradient(180deg, #b89256 0%, #9e7b44 55%, #876533 100%);
  color: #fff6e6;
  border: 1px solid rgba(255, 236, 206, 0.25);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.cta-panel h2 {
  color: #fff3dc;
}

.cta-panel p,
.cta-panel .lead {
  color: rgba(255, 240, 210, 0.85);
}

.cta-panel .btn-primary {
  background: #f2c230;
  color: #2f2118;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cta-panel .badge {
  background: rgba(210, 161, 94, 0.18);
  color: #7a5424;
  border: 1px solid rgba(210, 161, 94, 0.35);
}

/* App row */

.store-badge {
  height: 55px;
  width: auto;
  display: block;
}

.download-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.download-row + .small {
  color: #d9cfbe;
  text-align: center;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  background: #111;
  color: white;
  font-weight: 700;
}

.store-link.light {
  background: white;
  color: #111;
}

/* Notice */

.notice {
  border: 2px solid var(--success-line);
  padding: 1rem 1rem 1rem 1.15rem;
  background: var(--success-bg);
  border-radius: 18px;
  color: var(--success-text);
}

/* FAQ */

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(185, 157, 115, 0.65);
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-soft) 100%);
  padding: 1rem 1.1rem;
  color: var(--text-dark);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--muted-dark);
  margin-bottom: 0;
}

/* Forms */

.form-shell {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(185, 157, 115, 0.7);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  font: inherit;
  color: var(--text-dark);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

/* Footer */

footer.site-footer {
  padding: 2.4rem 0 3rem;
  color: rgba(243, 231, 215, 0.76);
}

.footer-grid {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(242, 194, 48, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.text-center {
  text-align: center;
}

/* App preview */

.app-preview {
  padding: 90px 0;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
  justify-items: center;
}

.phone-frame {
  width: 220px;
  border-radius: 28px;
  overflow: hidden;
  background: #eadbc1;
  border: 2px solid rgba(242, 194, 48, 0.35);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.18),
    0 22px 50px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.phone-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 28px 60px rgba(0, 0, 0, 0.30);
}

.phone-frame img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* Video */

.redemption-video-section {
  padding: 4.2rem 0;
}

.redemption-video-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.video-card {
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(185, 157, 115, 0.7);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.video-embed iframe,
.video-embed #yt-player,
.video-embed > div {
  width: 100%;
  height: 100%;
}

/* Index-specific accents */

.index2 .hero-copy {
  border-color: rgba(242, 194, 48, 0.22);
}

.index2 .hero-phone {
  border-color: rgba(242, 194, 48, 0.38);
}

.index2 .card,
.index2 .panel,
.index2 .video-card {
  border-color: rgba(242, 194, 48, 0.24);
}

.index2 .feature-band {
  border-top: 1px solid rgba(242, 194, 48, 0.25);
  border-bottom: 1px solid rgba(242, 194, 48, 0.25);
}

.index2 section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(242, 194, 48, 0.16),
    transparent
  );
}

.index2 section {
  position: relative;
}

.index2 .hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.index2 .hero-logo {
  width: min(220px, 75%);
  margin-bottom: 0.85rem;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 30, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  width: min(560px, 100%);
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-soft) 100%);
  border: 1px solid rgba(185, 157, 115, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  color: var(--text-dark);
}

.modal-content h2 {
  margin-bottom: 0.75rem;
}

.modal-content p {
  color: var(--muted-dark);
  margin-bottom: 0.75rem;
}

body.modal-open {
  overflow: hidden;
}

/* Participating breweries section */

.brewery-section-head {
  margin-bottom: 1.25rem;
}

.brewery-section-head-inner {
  max-width: 520px;
}

.brewery-left {
  display: flex;
  flex-direction: column;
}

.brewery-left h2 {
  margin-top: 0.4rem;
}

.brewery-section-lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.6rem 0 1.2rem;
  max-width: 42ch;
}

.brewery-directory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.states-panel {
  padding: 1.35rem;
  border-radius: 30px;
  /* align-self: start; */
}

.brewery-directory-note {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.states-toggle {
  margin-bottom: 1rem;
}

.states-container {
  display: none;
  margin-top: 0.5rem;
}

.states-container.is-open {
  display: block;
}

.state {
  border: 1px solid rgba(185, 157, 115, 0.55);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.state-accordion-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  font-weight: 700;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.state-accordion-btn:hover {
  background: rgba(185, 157, 115, 0.08);
}

.state-accordion-content {
  display: none;
  padding: 0 1.1rem;
}

.state-accordion-content ul {
  margin: 0.25rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted-dark);
}

.state-accordion-content li {
  margin-bottom: 0.45rem;
}

.state-accordion-content p {
  color: var(--muted-dark);
}

.brewery-side-panel {
  align-self: start;
}

.brewery-map-card {
  width: 100%;
  border-radius: 34px;
  background: #efe2cc;
  border: 1px solid rgba(242, 194, 48, 0.38);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  padding: 0;
}

.brewery-map-card .brewery-side-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  background: transparent;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .logo-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .index2 .hero-copy h2 {
    max-width: 12ch;
  }
}

@media (max-width: 980px) {
  .brewery-directory-grid {
    grid-template-columns: 1fr;
  }

  .brewery-side-panel {
    height: auto;
  }

  .brewery-map-card,
  .brewery-side-image {
    min-height: 0;
    height: auto;
  }
}

@media (max-width: 900px) {
  .redemption-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 0.8rem 0 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 3.4rem 0 2.8rem;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .logo-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .logo {
    height: 72px;
  }

  .phone-frame {
    width: min(220px, 100%);
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: min(220px, 75%);
    margin-bottom: 0.85rem;
  }
}

.brewery-left {
  display: flex;
  flex-direction: column;
}

.brewery-left h2 {
  margin-top: 0.4rem;
}

.brewery-section-lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.6rem 0 1.2rem;
  max-width: 42ch;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  flex-wrap: wrap;
}

.terms-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
