:root {
  --brown: #4d2d1f;
  --brown-2: #76523d;
  --cream: #fff6e9;
  --paper: #fffdf7;
  --mint: #d8ead8;
  --matcha: #607c4f;
  --orange: #f2a455;
  --ink: #211814;
  --muted: #725f54;
  --line: rgba(77, 45, 31, 0.16);
  --shadow: 0 18px 50px rgba(77, 45, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 246, 233, 0.92), rgba(216, 234, 216, 0.55)),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.page-shell {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 18px 16px 40px;
}

.hero {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 24px;
}

.partner-logos {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 247, 0.82);
}

.partner-logos img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.partner-logos span {
  color: var(--muted);
  font-weight: 900;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 30px;
  font-weight: 900;
}

.eyebrow,
.promo-label,
.success-eyebrow {
  margin: 0 0 6px;
  color: var(--brown-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--brown);
  font-size: clamp(42px, 13vw, 68px);
  line-height: 0.95;
  font-weight: 950;
}

.hero-line {
  margin: 28px 0 4px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.hero-location {
  margin-bottom: 18px;
  color: var(--matcha);
  font-size: 20px;
  font-weight: 800;
}

.hero-copy,
.section-copy,
.terms p,
.note,
.bundle,
.terms-line {
  color: var(--muted);
  line-height: 1.5;
}

.menu-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border: 1px solid var(--brown);
  border-radius: 8px;
  padding: 10px 13px;
  background: rgba(255, 253, 247, 0.72);
  color: var(--brown);
  font-weight: 900;
  text-decoration: none;
}

.promo-grid {
  display: grid;
  gap: 12px;
}

.promo-card,
.claim-panel,
.terms,
.flavor-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
}

.promo-card {
  padding: 18px;
}

.promo-card.accent {
  background: linear-gradient(135deg, #fff5df, #e5f1df);
}

.promo-card h2 {
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 28px;
  line-height: 1.05;
}

.price {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 900;
}

.price span {
  margin-right: 8px;
  color: var(--muted);
  font-size: 17px;
  text-decoration: line-through;
}

.note {
  margin-bottom: 0;
  font-weight: 700;
}

.flavor-strip {
  margin-top: 12px;
  padding: 16px;
}

.flavor-strip p {
  margin-bottom: 10px;
  color: var(--brown);
  font-weight: 850;
}

.flavor-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavor-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--brown-2);
  font-size: 13px;
  font-weight: 800;
}

.claim-panel,
.terms {
  margin-top: 14px;
  padding: 20px;
}

.claim-panel h2,
.terms h2 {
  margin-bottom: 8px;
  color: var(--brown);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input:focus {
  outline: 3px solid rgba(242, 164, 85, 0.34);
  border-color: var(--orange);
}

.follow-step {
  border: 1px dashed rgba(77, 45, 31, 0.32);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 246, 233, 0.75);
}

.follow-step p {
  margin-bottom: 10px;
  font-weight: 850;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ghost-button,
.primary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 900;
  text-decoration: none;
}

.ghost-button {
  border: 1px solid var(--brown);
  background: #fff;
  color: var(--brown);
}

.primary-button {
  width: 100%;
  border: 0;
  background: var(--brown);
  color: var(--cream);
  cursor: pointer;
  font-size: 16px;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.check-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.check-row input {
  min-height: auto;
  margin-top: 2px;
}

.error-message {
  margin: 0;
  color: #a32620;
  font-size: 14px;
  font-weight: 800;
}

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

.success-view h2 {
  margin: 8px 0 10px;
  border-radius: 8px;
  padding: 14px;
  background: var(--brown);
  color: var(--cream);
  font-size: clamp(28px, 9vw, 42px);
}

.voucher-qr-wrap {
  width: min(250px, 78vw);
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fffdf7;
}

.voucher-qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.qr-instruction {
  margin: 0 auto 12px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 900;
}

dl {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  text-align: left;
}

dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  font-weight: 850;
}

.terms {
  box-shadow: none;
}

.terms h2 {
  font-size: 18px;
}

.terms p {
  margin-bottom: 8px;
  font-size: 14px;
}

@media (min-width: 560px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-card h2 {
    min-height: 60px;
  }
}
