:root {
  color-scheme: light;
  --paper: #f8f4ec;
  --ink: #2c2824;
  --muted: #5c5149;
  --line: #d9cabc;
  --accent: #985a43;
  --accent-hover: #7c4432;
  --display: "Lora", Georgia, serif;
  --body: "Inter", Helvetica, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
body {
  isolation: isolate;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 12px 16px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.masthead { padding: 36px 4.5vw 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; fill: currentColor; transition: color .25s var(--ease); }
.brand span { font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: .24em; padding-left: .24em; line-height: 1; }
.brand:hover svg { color: var(--accent); }
.brand:active { transform: translateY(1px); }

main {
  flex: 1;
  display: flex;
  align-items: center;
  width: calc(100% - 15vw);
  margin-left: 9vw;
  padding: 40px 0 32px;
}
.welcome { width: 100%; }
.welcome__eyebrow { margin: 0 0 20px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.03em; }
h1 span { display: block; }
.discount { color: var(--accent); font-size: clamp(72px, 7.6vw, 112px); line-height: 1.05; white-space: nowrap; }
.order { margin-top: 4px; font-size: clamp(44px, 4.7vw, 68px); line-height: 1.12; white-space: nowrap; }
.welcome__intro { margin: 20px 0 0; font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.offer-action { margin-top: 28px; }
.claim-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 300px);
  min-height: 56px;
  gap: 32px;
  padding: 16px 30px;
  border-radius: 99px;
  background: var(--accent);
  color: #fffaf2;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .025em;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.claim-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.claim-button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.claim-button:hover svg { transform: translateX(4px); }
.claim-button:active { transform: translateY(1px); }
.offer-code { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: fit-content; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.offer-code strong { color: var(--accent); letter-spacing: .025em; font-weight: 600; }
.offer-code button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.offer-code button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.offer-code button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.offer-code button:active { transform: translateY(1px); }
.copy-status { position: absolute; left: 0; top: 100%; color: var(--accent); font-size: 12px; }
.offer-limit { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.promises { display: flex; align-items: center; width: fit-content; max-width: 100%; margin: 48px 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 28px; border-left: 1px solid var(--line); }
.promises li:first-child { padding-left: 0; border-left: 0; }
.promises li:last-child { padding-right: 0; }
.promises svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.promises span { font-size: 16px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 4.5vw; padding: 8px 0 20px; color: var(--muted); font-size: 12px; }
.footer nav { display: flex; gap: 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer a:active { transform: translateY(1px); }

@media (max-width: 1100px) {
  main { width: calc(100% - 12vw); margin-left: 6vw; }
  .promises li { gap: 10px; padding: 0 20px; }
}
@media (max-width: 800px) {
  .masthead { padding: 28px 6vw 0; }
  .brand { gap: 12px; }
  .brand svg { width: 28px; height: 28px; }
  .brand span { font-size: 24px; }
  main { padding-top: 48px; padding-bottom: 32px; }
  .discount { font-size: clamp(68px, 10.5vw, 84px); }
  .order { max-width: 12ch; font-size: clamp(42px, 6.5vw, 52px); white-space: normal; }
  .promises { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 48px; }
  .promises li { flex-direction: column; gap: 12px; justify-content: flex-start; min-height: 80px; padding: 0 12px; text-align: center; border-left-color: #ddd0c2; }
  .promises li:first-child { padding-left: 0; }
  .promises li:last-child { padding-right: 0; }
  .promises span { font-size: 15px; white-space: normal; max-width: 12ch; }
  .promises svg { width: 28px; height: 28px; }
  .backdrop img { object-position: 70% center; }
  .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f8f4ec70, transparent); }
  .footer { margin: 0 6vw; }
}
@media (max-width: 480px) {
  .masthead { padding: 24px 24px 0; }
  .brand span { font-size: 23px; letter-spacing: .2em; }
  main { width: calc(100% - 48px); margin-left: 24px; padding-top: 40px; padding-bottom: 32px; }
  .welcome__eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 20px; }
  .discount { font-size: clamp(64px, 18vw, 80px); }
  .order { font-size: clamp(40px, 10.9vw, 46px); max-width: 12ch; line-height: 1.12; }
  .welcome__intro { max-width: 28ch; font-size: 17px; margin-top: 20px; }
  .offer-action { margin-top: 28px; }
  .claim-button { padding: 14px 24px; }
  .offer-code { gap: 10px; font-size: 13px; margin-top: 8px; }
  .offer-code button { font-size: 12px; }
  .promises { margin-top: 40px; }
  .promises li { gap: 10px; padding: 0 8px; }
  .promises span { font-size: 14px; }
  .promises svg { width: 26px; height: 26px; }
  .footer { margin: 0 24px; font-size: 11px; padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .claim-button, .claim-button svg, .brand svg { transition: none; }
}
