:root {
  --ink: #15120f;
  --charcoal: #25211d;
  --paper: #f7f1e7;
  --panel: #fffaf1;
  --butter: #f1c866;
  --mint: #a9d8c4;
  --camel: #c99b67;
  --signal: #b85f3c;
  --muted: #6f665c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.checkout-hero {
  min-height: 88vh;
  padding: 22px clamp(16px, 6vw, 76px) clamp(42px, 7vw, 76px);
  background:
    linear-gradient(120deg, rgba(255, 250, 241, 0.98), rgba(255, 250, 241, 0.76)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1800&auto=format&fit=crop");
  background-position: center;
  background-size: cover;
  border-bottom: 2px solid var(--ink);
}

.checkout-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(68px, 12vw, 140px);
  font-weight: 950;
}

.checkout-brand span {
  display: grid;
  place-items: center;
  min-width: 50px;
  height: 40px;
  padding: 0 10px;
  color: #fffaf1;
  background: var(--ink);
  border-radius: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.4fr);
  gap: clamp(24px, 7vw, 86px);
  align-items: end;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice-card,
.checkout-card,
.mini-card,
.confirm-panel {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--ink);
}

.notice-card {
  padding: 24px;
}

.notice-card span,
.checkout-card span,
.mini-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-section {
  padding: clamp(62px, 9vw, 112px) clamp(16px, 6vw, 76px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  width: min(1160px, 100%);
  margin: 0 auto 26px;
}

.package-grid,
.add-on-grid {
  display: grid;
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.add-on-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checkout-card,
.mini-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
}

.featured-card {
  background: #f4e5d0;
}

.badge {
  position: absolute;
  top: -15px;
  left: 22px;
  padding: 7px 10px;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-card strong,
.mini-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.95;
}

.checkout-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.checkout-card li {
  position: relative;
  padding-left: 24px;
}

.checkout-card li::before {
  position: absolute;
  left: 0;
  color: var(--signal);
  content: "+";
  font-weight: 950;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  color: var(--ink);
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.button-secondary {
  background: #fff;
}

.payment-button[data-ready="false"]::after {
  margin-left: 8px;
  content: "↗";
}

.add-on-section {
  background: var(--charcoal);
}

.add-on-section h2 {
  color: #fffaf1;
}

.add-on-section .mini-card {
  background: #fffaf1;
}

.confirm-section {
  background: var(--paper);
}

.confirm-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  align-items: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(16px, 6vw, 76px);
  background: var(--butter);
  border-top: 2px solid var(--ink);
}

footer strong,
footer span {
  display: block;
}

footer span {
  color: #4d463f;
}

@media (max-width: 1060px) {
  .hero-grid,
  .confirm-panel {
    grid-template-columns: 1fr;
  }

  .package-grid,
  .add-on-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .checkout-hero {
    min-height: auto;
  }

  .checkout-brand {
    margin-bottom: 70px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 66px);
  }

  .section-heading {
    display: block;
  }

  .package-grid,
  .add-on-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  footer {
    display: grid;
  }
}
