:root {
  color-scheme: light;
  --ink: #241812;
  --muted: #6f5a4c;
  --orange: #e97828;
  --orange-dark: #a94814;
  --orange-soft: #fff0e4;
  --peach: #fff8f2;
  --cream: #fffdf9;
  --line: #f0d2bd;
  --green: #4f8b5b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 130, .42), transparent 34rem),
    linear-gradient(180deg, var(--cream) 0%, #fff5ec 100%);
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.top-actions,
.hero-actions,
.merchant-band,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(233, 120, 40, .25);
}

.top-actions {
  gap: 12px;
}

.nav-link,
.nav-button,
.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.nav-link {
  color: var(--muted);
  padding: 0 12px;
}

.nav-button {
  color: white;
  background: var(--ink);
  padding: 0 18px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .8fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 9px 13px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border: 1px solid #ffd7bb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.hero-text,
.section-copy p,
.step p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.customer-form {
  margin-top: 28px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.customer-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.customer-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.customer-form input,
.customer-form button {
  min-height: 52px;
  border-radius: 8px;
  font: inherit;
}

.customer-form input {
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  text-transform: uppercase;
}

.customer-form input:focus {
  outline: 3px solid rgba(233, 120, 40, .18);
  border-color: var(--orange);
}

.customer-form button {
  padding: 0 18px;
  color: white;
  background: var(--orange);
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.form-help,
.form-error {
  margin-bottom: 0;
  font-size: 13px;
}

.form-help {
  margin-top: 9px;
}

.form-error {
  min-height: 20px;
  margin-top: 7px;
  color: #b42b16;
  font-weight: 800;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.primary-button {
  color: white;
  background: var(--orange);
  box-shadow: 0 18px 34px rgba(233, 120, 40, .24);
}

.primary-button.dark {
  background: var(--ink);
  box-shadow: none;
}

.secondary-button {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
}

.secondary-button .button-icon {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.hero-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(360px, 100%);
  padding: 20px;
  background: #1f1712;
  border-radius: 34px;
  box-shadow: 0 34px 70px rgba(70, 36, 18, .28);
}

.phone-top {
  width: 74px;
  height: 7px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #4b3a30;
}

.reward-card,
.balance-row,
.mini-list {
  background: white;
  border-radius: 8px;
}

.reward-card {
  position: relative;
  padding: 22px;
  min-height: 220px;
  overflow: hidden;
}

.status-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
  background: var(--green);
}

.card-label {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.reward-card strong {
  font-size: 28px;
}

.qr-shape {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 92px;
  height: 92px;
  border: 10px solid var(--orange);
  background:
    linear-gradient(90deg, var(--orange) 12px, transparent 12px 24px, var(--orange) 24px 36px, transparent 36px),
    linear-gradient(var(--orange) 12px, transparent 12px 24px, var(--orange) 24px 36px, transparent 36px);
  background-size: 36px 36px;
  border-radius: 8px;
}

.balance-row {
  margin-top: 12px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.balance-row span {
  color: var(--muted);
  font-weight: 700;
}

.balance-row strong {
  color: var(--orange-dark);
  font-size: 26px;
}

.mini-list {
  margin-top: 12px;
  padding: 16px;
}

.mini-list span {
  display: block;
  height: 12px;
  margin: 10px 0;
  border-radius: 999px;
  background: #f0e4dc;
}

.mini-list span:nth-child(1) {
  width: 88%;
}

.mini-list span:nth-child(2) {
  width: 68%;
}

.mini-list span:nth-child(3) {
  width: 76%;
}

.split-section,
.merchant-band,
.feature-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.split-section {
  padding: 64px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-number {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 8px;
  font-weight: 900;
}

.merchant-band {
  margin-top: 14px;
  margin-bottom: 34px;
  padding: 30px;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: linear-gradient(135deg, #2b1d16, #6a3218);
  border-radius: 8px;
}

.merchant-band .eyebrow {
  color: #ffd7bb;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}

.merchant-band h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.feature-grid {
  padding: 20px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--orange);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 34px;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .top-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    gap: 30px;
  }

  .hero-panel {
    min-height: auto;
  }

  .phone-shell {
    width: min(340px, 100%);
  }

  .merchant-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .split-section,
  .merchant-band,
  .feature-grid,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    flex-direction: column;
  }

  .top-actions,
  .nav-button,
  .nav-link,
  .primary-button,
  .secondary-button,
  .customer-form button {
    width: 100%;
  }

  .customer-form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .step {
    padding: 17px;
  }

  .merchant-band {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
