/* Shared look for the Deals, Birthday and Become a panda pages (matches the home page) */
:root {
  --paper: #f4f6f1; --sheet: #ffffff; --ink: #141414; --graphite: #5c615a; --rule: #d5d9cf;
  --bamboo: #3f7d31; --shoot: #dcebd2; --gold: #e8b923; --danger: #b3261e;
  --display: 'Young Serif', Georgia, serif;
  --body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --hand: 'Patrick Hand', var(--body);
  --gutter: clamp(16px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; background: var(--paper); color: var(--ink); overflow-x: hidden; min-height: 100svh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bamboo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.eyebrow { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.wrap { padding-inline: var(--gutter); max-width: 1320px; margin-inline: auto; width: 100%; }
main { flex: 1; }

.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.3rem; white-space: nowrap; }
.wordmark img { width: 34px; height: 34px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav ul a:not(.btn) { color: var(--graphite); text-decoration: none; }
.nav ul a:not(.btn):hover, .nav ul a[aria-current] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1rem; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--bamboo); border-color: var(--bamboo); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: .95rem; }

.page-head { padding-block: clamp(48px, 8vw, 96px) 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-top: 12px; }
.page-head h1 .accent { display: block; color: var(--bamboo); }
.page-head p { color: var(--graphite); font-size: 1.2rem; max-width: 40ch; }

.card { background: var(--sheet); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(20,20,20,.35); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 8px; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.offer:hover { transform: translateY(-4px) rotate(-.5deg); }
.offer h3 { font-size: 1.5rem; }
.offer p { color: var(--graphite); }
.offer .price { font-family: var(--display); font-size: 1.6rem; color: var(--bamboo); margin-top: auto; padding-top: 8px; }
.badge { align-self: flex-start; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.empty { color: var(--graphite); padding: 28px; text-align: center; border: 2px dashed var(--rule); border-radius: 22px; }

.section { padding-block: clamp(48px, 8vw, 96px); }
.section h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 10px 0 14px; }
.section > .wrap > p.lede { color: var(--graphite); font-size: 1.15rem; max-width: 52ch; margin-bottom: 28px; }

.field { display: grid; gap: 6px; }
.field label, .label { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--paper); line-height: 1.5; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bamboo); background: #fff; }
.error { color: var(--danger); font-size: .95rem; min-height: 1.3em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; color: var(--graphite); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .page-head { grid-template-columns: 1fr; }
  .nav ul li:not(:last-child) { display: none; }
  .wordmark { font-size: 1.1rem; }
  .wordmark img { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
