/* ============================================================
   GiftSpend — design system
   Palette   : warm cream paper, pine green primary, coral ribbon
   Type      : Fraunces (display) · Inter (UI) — self-hosted
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF7F1;
  --surface: #FFFFFF;
  --ink: #182720;
  --ink-soft: #3D4F47;
  --muted: #5E6F67;
  --faint: #8A988F;
  --line: #E8E1D5;
  --line-soft: #F0EBE0;

  --pine: #0E7C4F;
  --pine-deep: #0A5E3C;
  --pine-ink: #0B3526;
  --mint: #E3F2E9;
  --mint-line: #C9E4D6;

  --coral: #F05A3B;
  --coral-deep: #D8431F;
  --coral-tint: #FDEAE3;
  --gold: #E8A93D;
  --gold-tint: #FBF3DF;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow-s: 0 1px 2px rgba(24, 39, 32, .05);
  --shadow-m: 0 2px 4px rgba(24, 39, 32, .04), 0 12px 32px -8px rgba(24, 39, 32, .14);
  --shadow-l: 0 4px 8px rgba(24, 39, 32, .05), 0 24px 56px -16px rgba(24, 39, 32, .2);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
input, button { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }
[id] { scroll-margin-top: 132px; }

::selection { background: #CFE9DC; color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(14, 124, 79, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { width: min(100% - 40px, 1200px); margin-inline: auto; }

.icon { width: 20px; height: 20px; flex: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 14px;
  z-index: 200;
  background: var(--pine);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 14px; }

/* ---------- buttons & chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); box-shadow: 0 10px 24px -10px rgba(14, 124, 79, .55); }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); box-shadow: 0 10px 24px -10px rgba(240, 90, 59, .6); }

.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--pine); color: var(--pine-deep); background: #F4FAF6; }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine-deep); background: var(--surface); }

.btn-ghost-light { border-color: rgba(243, 239, 230, .38); color: #F3EFE6; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(243, 239, 230, .6); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.chip .icon { width: 15px; height: 15px; }

.chip-brand {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  transition: border-color .2s, color .2s, transform .2s;
}
.chip-brand:hover { border-color: var(--pine); color: var(--pine-deep); transform: translateY(-1px); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pine);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -.015em;
  line-height: 1.12;
}

.section-sub { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -12px rgba(24, 39, 32, .14);
}

.header-inner { display: flex; align-items: center; gap: 18px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-word em { font-style: normal; color: var(--pine); }

.main-nav { display: flex; gap: 2px; }
.main-nav a {
  position: relative;
  padding: 9px 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--pine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.search-form { position: relative; display: flex; align-items: center; }
.search-form > .icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--faint);
  pointer-events: none;
}
.search-form input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search-form input::placeholder { color: var(--faint); }
.search-form input:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 4px rgba(14, 124, 79, .13);
}
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }

.header-search { flex: 1; max-width: 440px; margin-left: auto; }

.search-kbd {
  position: absolute;
  right: 14px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  transition: opacity .15s;
}
.search-form:focus-within .search-kbd { opacity: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s;
}
.chip-btn:hover { border-color: var(--pine); color: var(--pine-deep); }
.chip-btn .icon { width: 17px; height: 17px; }
.icon-caret { width: 14px; height: 14px; transition: transform .2s; }
.chip-btn[aria-expanded="true"] .icon-caret { transform: rotate(180deg); }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--pine); color: var(--pine-deep); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--coral);
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.menu-wrap { position: relative; }

.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 264px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-l);
  z-index: 60;
  animation: dropIn .16s var(--ease);
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-5px) scale(.98); }
}

.drop-title {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
}
.locale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.icon-check { width: 16px; height: 16px; color: var(--pine); }
.drop-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

.cart-pop { width: 286px; text-align: center; padding: 24px 18px 18px; }
.cart-empty-art { width: 72px; height: 72px; margin: 0 auto 4px; }
.cart-empty-copy { margin: 0 0 16px; }
.cart-empty-copy strong { display: block; font-size: 15px; color: var(--ink); }
.cart-empty-copy span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }

.nav-toggle { display: none; }
.header-mobile-search { display: none; padding-bottom: 12px; }

/* mobile menu */

.mobile-menu { position: fixed; inset: 0; z-index: 100; }
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 39, 32, .42);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 18px 20px 24px;
  background: var(--paper);
  box-shadow: -12px 0 48px rgba(24, 39, 32, .18);
  transform: translateX(102%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--pine-deep); }
.mobile-menu-foot { margin-top: auto; padding-top: 24px; }
.mobile-locale {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.mobile-locale .icon { width: 17px; height: 17px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 64px 0 76px; }
.hero-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 4.8vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -.022em;
}
.hero h1 .hl {
  color: var(--pine);
  padding-bottom: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='9' viewBox='0 0 120 9'%3E%3Cpath d='M2 7C22 1.4 42 1.4 60 4.5S98 8.6 118 3.5' fill='none' stroke='%23F05A3B' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") 0 100%/120px 9px repeat-x;
}

.hero-sub {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-search { max-width: 520px; }
.hero-search input { height: 58px; padding-right: 128px; font-size: 16px; }
.hero-search .btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 24px;
}

.hero-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-popular-label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-right: 2px; }

.hero-visual { position: relative; }
.hero-blob {
  position: absolute;
  inset: -10% -8%;
  background:
    radial-gradient(60% 55% at 30% 25%, rgba(227, 242, 233, .9), transparent 70%),
    radial-gradient(45% 40% at 78% 80%, rgba(253, 234, 227, .8), transparent 72%);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 24px 64px -24px rgba(24, 39, 32, .28), 0 4px 12px rgba(24, 39, 32, .06);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 10px 28px -10px rgba(24, 39, 32, .28);
}
.float-chip--tl { top: 26px; left: -14px; animation: floaty 5.5s ease-in-out infinite; }
.float-chip--br { bottom: 30px; right: -12px; animation: floaty 6.5s .8s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-7px); } }

/* ---------- catalog ---------- */

.catalog { padding: 22px 0 84px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tab {
  height: 38px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.cat-tab:hover { border-color: var(--pine); color: var(--pine-deep); }
.cat-tab[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
  font-weight: 600;
}

.search-status { margin: -6px 0 18px; font-size: 14px; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.gift-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }

.gc-art {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 10px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
}
.gc-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gc-art--text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: linear-gradient(135deg, #31473C, #182720); /* brands.css overrides per slug */
}
.gc-art--text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(150% 95% at 90% -10%, var(--halo, rgba(255, 255, 255, .14)), transparent 55%);
  pointer-events: none;
}

.gc-badge {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pine-deep);
  box-shadow: 0 2px 8px rgba(24, 39, 32, .08);
}
.gc-badge .icon { width: 12px; height: 12px; color: var(--coral); }

.gc-brand {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.gc-range {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  background: rgba(24, 39, 32, .82);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gc-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  padding: 3px 16px 16px;
}
.gc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gc-row h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.gc-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.gc-rating .icon { width: 15px; height: 15px; color: var(--gold); }

.gc-meta { margin: 0; font-size: 13px; color: var(--muted); }

.gc-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.gc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.gc-price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19.5px;
  color: var(--ink);
}
.gc-go {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: auto;
  background: var(--mint);
  border-radius: 999px;
  color: var(--pine-deep);
  transition: background .25s, color .25s, transform .25s;
}
.gc-go .icon { width: 18px; height: 18px; }
.gift-card:hover .gc-go { background: var(--pine); color: #fff; transform: translateX(2px); }

.gift-card--ghost {
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  background: linear-gradient(180deg, #FDFCF9, #FAF7F1);
  border: 1.5px dashed var(--line);
  box-shadow: none;
}
.gift-card--ghost:hover { transform: none; box-shadow: none; border-color: var(--mint-line); }
.ghost-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--mint);
  border-radius: 999px;
  color: var(--pine-deep);
}
.gift-card--ghost h3 { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.gift-card--ghost p { margin: 0 0 8px; max-width: 30ch; font-size: 14px; color: var(--muted); }

.grid-empty {
  margin-top: 8px;
  padding: 40px 24px;
  border: 1.5px dashed var(--line);
  border-radius: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.grid-empty p { margin: 0 0 6px; }
.grid-empty strong { color: var(--ink); }
.grid-empty a { color: var(--pine-deep); font-weight: 600; }

/* ---------- how it works ---------- */

.how { padding: 6px 0 84px; }
.how-panel {
  background: linear-gradient(180deg, #EDF6F0, #F8F4EB);
  border: 1px solid #DCEDE2;
  border-radius: 28px;
  padding: 56px 48px 60px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.step { position: relative; text-align: center; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -48px;
  width: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #BFDCCB 0 6px, transparent 6px 12px);
}
.step-num {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 1;
  color: rgba(14, 124, 79, .15);
  pointer-events: none;
}
.step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 18px;
  margin: 0 auto 18px;
  display: block;
  background: var(--surface);
  border: 1px solid var(--mint-line);
  border-radius: 20px;
  box-shadow: var(--shadow-s);
  color: var(--pine);
}
.step h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 600; }
.step p { margin: 0 auto; max-width: 30ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- why ---------- */

.why { padding: 0 0 84px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.why-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.why-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--pine-deep);
}
.why-icon .icon { width: 21px; height: 21px; }
.why-card:nth-of-type(2) .why-icon { background: var(--coral-tint); color: #C43D1B; }
.why-card:nth-of-type(4) .why-icon { background: var(--gold-tint); color: #9A6B10; }
.why-card h3 { margin: 0; font-size: 16.5px; font-weight: 600; }
.why-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.pay-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 38px 0 0;
}
.pay-row-label { margin-right: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pay-lite {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.pay-lite svg { width: 30px; height: 19px; }

/* ---------- CTA band ---------- */

.cta { padding: 0 0 84px; }
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  text-align: center;
  color: #F3EFE6;
  background: linear-gradient(120deg, #0D4530, #0B3526 55%, #0E3E2B);
  border-radius: 28px;
}
.cta-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-band h2 {
  position: relative;
  margin: 0 0 12px;
  color: #F8F5EE;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.cta-band .hl-coral { color: #FF7E5C; }
.cta-band p { position: relative; margin: 0 0 28px; font-size: 16.5px; color: #C8DCCE; }
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- newsletter ---------- */

.newsletter { padding: 0 0 92px; }
.nl-inner {
  position: relative;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
  padding: 52px 44px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-s);
}
.nl-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pine), var(--coral));
}
.nl-mark { width: 54px; height: 54px; margin: 0 auto 14px; display: block; }
.nl-sub { margin: 10px 0 26px; font-size: 15.5px; color: var(--muted); }

.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.nl-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.nl-form input[type="email"]::placeholder { color: var(--faint); }
.nl-form input[type="email"]:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 4px rgba(14, 124, 79, .13);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nl-error { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: #C0341D; }
.nl-done {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--ink);
}
.nl-done .icon { width: 22px; height: 22px; }
.nl-note { margin: 20px 0 0; font-size: 12.5px; color: var(--faint); }
.nl-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nl-note a:hover { color: var(--pine-deep); }

/* ---------- footer ---------- */

.site-footer { background: var(--pine-ink); color: #CBDFD2; font-size: 14.5px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.f-brand .brand { margin-bottom: 18px; }
.brand-inverse .brand-word { color: #F3EFE6; }
.brand-inverse .brand-word em { color: #6FC79B; }
.f-tag { margin: 0 0 18px; max-width: 30ch; line-height: 1.6; color: #A8C4B2; }
.f-hello { margin: 0; font-size: 13.5px; line-height: 1.7; color: #8FB39C; }
.f-hello a { color: #DFF0E5; text-decoration: underline; text-underline-offset: 3px; }
.f-hello a:hover { color: #fff; }

.f-head {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8FB39C;
}
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col a {
  width: fit-content;
  color: #CBDFD2;
  font-size: 14.5px;
  text-decoration: none;
}
.f-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.f-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(243, 239, 230, .12);
}
.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  min-width: 52px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
}
.pay-chip svg { width: 30px; height: 19px; }
.pay-chip-coin svg { width: 18px; height: 18px; }
.pay-visa { font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .06em; color: #E8F1EA; }
.pay-amex { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; color: #E8F1EA; }
.pay-word { font-size: 12.5px; font-weight: 600; color: #DDEBE0; }
.f-locale { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: #A8C4B2; }
.f-locale .icon { width: 17px; height: 17px; }

.f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(243, 239, 230, .12);
  font-size: 13px;
  color: #8FB39C;
}
.f-bottom p { margin: 0; }
.f-bottom nav { display: flex; gap: 18px; }
.f-bottom a { color: #A8C4B2; text-decoration: none; }
.f-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- coming soon ---------- */

.soon { padding: 84px 0 104px; text-align: center; }
.soon-inner { max-width: 580px; margin: 0 auto; }
.soon-art { width: 122px; height: 122px; margin: 0 auto 26px; display: block; }
.soon h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.soon-sub { margin: 0 0 32px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.soon-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal on scroll ---------- */

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
html.js-reveal .why-grid [data-reveal]:nth-child(2) { transition-delay: .07s; }
html.js-reveal .why-grid [data-reveal]:nth-child(3) { transition-delay: .14s; }
html.js-reveal .why-grid [data-reveal]:nth-child(4) { transition-delay: .21s; }

/* ---------- responsive ---------- */

@media (max-width: 1079px) {
  .main-nav, .header-search, .btn-signin, .header-actions .menu-wrap:first-child { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { height: 64px; gap: 12px; }
  .header-actions { margin-left: auto; }
  .header-mobile-search { display: block; }
  [id] { scroll-margin-top: 136px; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 859px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 959px) {
  .hero { padding: 44px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step:not(:last-child)::after { display: none; }
  .step p { max-width: 44ch; }
  .how-panel { padding: 44px 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; padding: 52px 0 36px; }
  .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 559px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .cart-pop { right: -54px; }
}

@media (max-width: 639px) {
  .why-grid { grid-template-columns: 1fr; }

  .section-head { align-items: stretch; }
  .cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: none; }

  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.55rem); }
  .hero-search input { flex: 1; width: auto; min-width: 0; padding-right: 20px; }
  .hero-search .btn { position: static; margin-left: 8px; padding: 0 18px; align-self: stretch; }
  .hero-search { display: flex; }

  .float-chip { font-size: 12px; padding: 7px 11px; }
  .float-chip--tl { left: 6px; top: 14px; }
  .float-chip--br { right: 6px; bottom: 14px; }
  .hero-frame { border-radius: 20px; }

  .cta-band { padding: 46px 22px; border-radius: 22px; }
  .nl-inner { padding: 40px 22px; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .f-mid { justify-content: center; }
  .f-bottom { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float-chip--tl, .float-chip--br { animation: none; }
  .dropdown { animation: none; }
  .btn, .gift-card, .why-card, .chip-brand { transition: none; }
}
