/* ==========================================================================
   Groceria — Coming Soon
   Design tokens, base, components, sections, motion, responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --cream: #FCFAF4;
  --sand: #F3F2E6;
  --paper: #FFFFFF;
  --panel: #F7F5EA;
  --dark: #0C1B12;
  --dark-2: #0E3B22;

  /* Ink */
  --ink: #1B2418;
  --ink-soft: #565E50;
  --ink-mute: #6B7261;
  --ink-faint: #A5A292;
  --ink-label: #8A8873;
  --ink-dark-body: #9FB3A3;
  --ink-dark-mute: #7E947F;
  --ink-dark-hi: #F4F7F2;

  /* Brand */
  --green: #127A3F;
  --green-deep: #0F5C31;
  --green-line: #2F8F55;
  --mint: #8FE0AC;
  --mint-soft: #BFE9CD;
  --lime: #CDEE8B;
  --yellow: #FFD84D;
  --yellow-ink: #6B5400;
  --gold-ink: #7A6410;

  /* Lines */
  --line: #E9E5D5;
  --line-2: #E9E4D2;
  --line-3: #E7E3D3;
  --line-dash: #DDD9C6;
  --line-dash-2: #E3DFCD;
  --line-soft: #EDEADB;
  --dash: #C9C4AC;
  --chip-line: #E0DCCB;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: 36px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--ink); }
a:hover { color: var(--green); }

img { max-width: 100%; display: block; }

::selection { background: var(--lime); }

input { transition: border-color .2s ease, box-shadow .2s ease; }
input::placeholder { color: var(--ink-faint); }
input:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(18, 122, 63, .14);
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Keyframes
   -------------------------------------------------------------------------- */
@keyframes gcRibbon {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gcMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 5px)); }
}

@keyframes gcTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 14px)); }
}

@keyframes gcProgress {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes gcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --------------------------------------------------------------------------
   4. Shared utilities & interaction hooks
   -------------------------------------------------------------------------- */
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--green);
}
.eyebrow--mint { color: var(--mint); }

.pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(27, 36, 24, .16);
  padding: 8px 15px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.badge-best {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--yellow-ink);
  background: var(--yellow);
  padding: 2px 7px;
  border-radius: 7px;
}
.badge-best--lg { font-size: 9px; padding: 3px 8px; }

.unit-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-mute);
  background: #F2F0E3;
  padding: 4px 9px;
  border-radius: 9px;
}
.unit-chip--sm { font-size: 9.5px; padding: 4px 8px; border-radius: 8px; }

/* Yellow highlighter behind a headline word */
.mark {
  display: inline-block;
  background: var(--yellow);
  box-shadow: 0 2px 0 rgba(27, 36, 24, .12);
}
.mark--hero {
  padding: 1px 14px 4px;
  border-radius: 12px;
  transform: rotate(-1.2deg);
}
.mark--masthead {
  padding: 0 16px 5px;
  border-radius: 14px;
  transform: rotate(-1.5deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn__arrow { font-weight: 400; }

.btn--green { background: var(--green); color: #FFFFFF; }
.btn--green:hover { color: #FFFFFF; }
.btn--mint { background: var(--mint); color: var(--dark); }
.btn--mint:hover { color: var(--dark); }
.btn--dark { background: var(--dark); color: #FFFFFF; }

/* Hover behaviours from the source data-attributes */
[data-lift] {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
[data-lift]:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(27, 36, 24, .10);
}

[data-tag] { transition: transform .35s var(--ease); }
[data-tag]:hover { transform: rotate(0deg) translateY(-4px) !important; }

[data-link]:hover { text-decoration: underline; }

[data-marquee]:hover [data-marquee-track] { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   5. Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 244, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 36, 24, .07);
}

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links {
  display: flex;
  gap: 24px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand__mark--sm { width: 26px; height: 26px; border-radius: 7px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__name--sm { font-size: 16px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__ribbon,
.hero__fade {
  position: absolute;
  top: -380px;
  left: -12%;
  width: 124%;
  height: 760px;
  transform: skewY(-10deg);
  pointer-events: none;
}

.hero__ribbon {
  background: linear-gradient(105deg, #8FE0AC 0%, #CDEE8B 22%, #F6E48C 45%, #F9C98F 68%, #F2988A 88%, #8FE0AC 100%);
  background-size: 220% 220%;
  animation: gcRibbon 18s ease-in-out infinite;
}

.hero__fade {
  background: linear-gradient(180deg, rgba(252, 250, 244, 0) 55%, rgba(252, 250, 244, .9) 92%, var(--cream) 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 80px var(--gutter) 84px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 57px;
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 800;
}

.hero__lede {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
}

.hero__note {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-mute);
}

/* Sign-up form (hero + final CTA) */
.signup {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 470px;
  scroll-margin-top: 90px;
}

.signup__input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(27, 36, 24, .18);
  font-family: inherit;
  font-size: 15px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  outline: none;
}

.signup__input--dark {
  border-color: rgba(143, 224, 172, .25);
  background: rgba(255, 255, 255, .06);
  color: var(--ink-dark-hi);
}
.signup__input--dark::placeholder { color: var(--ink-dark-mute); }

.signup__btn {
  gap: 7px;
  border-radius: 14px;
  padding: 0 24px;
  font-size: 14.5px;
}

/* Hero card stack */
.hero__stack {
  position: relative;
  min-height: 520px;
}

/* Price card */
.price-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(27, 36, 24, .16), 0 2px 6px rgba(27, 36, 24, .05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  transform: rotate(1.4deg);
}

.price-card__flag {
  position: absolute;
  top: -13px;
  right: -10px;
  transform: rotate(6deg);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(27, 36, 24, .18);
}

.price-card__name { font-size: 15px; font-weight: 700; }

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-row--best {
  background: #EAF7EE;
  border: 1px solid #CFE9D6;
  border-radius: 11px;
  padding: 11px 13px;
}
.price-row--best.price-row--tight { padding: 10px 13px; }

.price-row--plain { padding: 6px 13px; }
.price-row--plain.price-row--tight { padding: 5px 13px; }

.price-row__store {
  display: flex;
  align-items: center;
  gap: 9px;
}

.price-row__brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
}

.price-row__best-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-deep);
}

.price-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
}

.price-row__value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
}

.price-card__foot {
  border-top: 1px dashed var(--line-dash);
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-card__foot--tight { padding-top: 10px; }

.price-card__foot-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-faint);
}

.price-card__foot-save {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
}

/* Weekly list card */
.list-card {
  position: absolute;
  top: 216px;
  left: 0;
  width: 296px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(27, 36, 24, .14), 0 2px 6px rgba(27, 36, 24, .05);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
  transform: rotate(-1.6deg);
}

.list-card__title { font-size: 13.5px; font-weight: 700; }

.list-card__total {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
}

/* Item rows (shared by list card + showcase card) */
.item-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.item-row__img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: #F6F4EC;
  flex: none;
}
.item-row--lg .item-row__img { width: 32px; height: 32px; }

.item-row__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
  min-width: 0;
}

.item-row__name { font-size: 12.5px; font-weight: 600; }
.item-row__meta { font-size: 10.5px; color: var(--ink-faint); }

.item-row__price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

/* Saved sticker */
.saved {
  position: absolute;
  top: 440px;
  right: 38px;
  z-index: 4;
  animation: gcFloat 6s ease-in-out infinite;
}

.saved__inner {
  background: var(--dark);
  border-radius: 13px;
  padding: 12px 18px;
  box-shadow: 0 20px 44px rgba(12, 27, 18, .32);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-3deg);
}

.saved__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-dark-body);
}

.saved__value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--mint);
}

/* --------------------------------------------------------------------------
   7. 3-step strip
   -------------------------------------------------------------------------- */
.steps-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(27, 36, 24, .05);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 26px;
}
.step + .step { border-left: 1.5px dashed var(--line-dash-2); }

.step__num {
  flex: none;
  width: 32px;
  height: 32px;
  border: 1.5px dashed var(--green-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.step__title { font-size: 15px; font-weight: 700; }

.step__desc {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   8. Store marquee
   -------------------------------------------------------------------------- */
.stores {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px var(--gutter) 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stores__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-label);
  text-align: center;
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: gcMarquee 32s linear infinite;
}

.marquee__group {
  display: flex;
  gap: 10px;
  width: max-content;
}

.store-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 16px 8px 9px;
}

.store-chip__mono {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #EAF4E4;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
}

.store-chip__name {
  font-size: 13px;
  font-weight: 600;
  color: #4A544A;
}

.marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
}
.marquee__fade--left  { left: 0;  background: linear-gradient(90deg, var(--cream), rgba(252, 250, 244, 0)); }
.marquee__fade--right { right: 0; background: linear-gradient(270deg, var(--cream), rgba(252, 250, 244, 0)); }

/* --------------------------------------------------------------------------
   9. Toolkit (bento aisles)
   -------------------------------------------------------------------------- */
.toolkit {
  background: var(--sand);
  margin-top: 70px;
  scroll-margin-top: 70px;
}

.toolkit__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px var(--gutter) 100px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.section-head__lede {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.bento {
  display: grid;
  gap: 22px;
}
.bento--7-5 { grid-template-columns: 7fr 5fr; }
.bento--5-7 { grid-template-columns: 5fr 7fr; }

.aisle {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(27, 36, 24, .06);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aisle--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
#gifts { scroll-margin-top: 90px; }

.aisle__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aisle__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--green);
  border: 1px solid #CFE0C6;
  border-radius: 8px;
  padding: 5px 10px;
  background: #F4F9F0;
}

.aisle__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
}

.aisle__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.aisle__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
}

/* Aisle 01 — compare panel */
.compare {
  background: var(--panel);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.compare__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--ink-faint);
}

.compare__row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border-radius: 10px;
  padding: 9px 12px;
}
.compare__row--dim1 { opacity: .85; }
.compare__row--dim2 { opacity: .75; }
.compare__row--dim3 { opacity: .65; }

.compare__img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}
.compare__row--dim1 .compare__img { filter: saturate(.85); }
.compare__row--dim2 .compare__img { filter: saturate(.8); }
.compare__row--dim3 .compare__img { filter: saturate(.75); }

.compare__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.compare__name { font-size: 11.5px; font-weight: 700; }

.compare__best {
  font-size: 9.5px;
  color: var(--green);
  font-weight: 700;
}

.compare__store {
  font-size: 9.5px;
  color: var(--ink-faint);
  font-weight: 600;
}

.compare__unit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
}
.compare__unit--best { color: var(--ink-mute); }

/* Aisle 02 — smart list panel */
.smartlist {
  background: var(--panel);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.smartlist__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--ink-label);
}
.smartlist__head span:first-child { font-weight: 700; }
.smartlist__head span:last-child { font-weight: 600; letter-spacing: .08em; }

.store-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-group__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.store-group__avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.store-group__avatar--green { background: #EAF7EE; color: var(--green-deep); }
.store-group__avatar--gold  { background: #FBF3D9; color: var(--gold-ink); }

.store-group__name { font-size: 12px; font-weight: 700; }

.store-group__count {
  font-size: 9.5px;
  color: var(--ink-faint);
  font-weight: 600;
}

.store-group__total {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}
.store-group__total--green { color: var(--green-deep); }
.store-group__total--gold  { color: var(--gold-ink); }

.store-group__rule { border-top: 1px dashed var(--line); }

.store-group__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-group__item img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  background: #F6F4EC;
  flex: none;
}

.store-group__item-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.store-group__item-price {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.smartlist__totals {
  display: flex;
  align-items: center;
  background: var(--dark);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--font-mono);
}

.smartlist__totals-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-dark-body);
}
.smartlist__totals-label--push { margin-left: auto; }

.smartlist__totals-value {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.smartlist__totals-save {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
}

/* Aisle 03 — savings tracker chart */
.tracker {
  background: var(--panel);
  border-radius: 14px;
  padding: 18px 16px 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  margin-top: auto;
}

.tracker__bar {
  flex: 1;
  background: #CBE3D0;
  border-radius: 6px;
}
.tracker__bar:nth-child(1) { height: 34%; }
.tracker__bar:nth-child(2) { height: 48%; }
.tracker__bar:nth-child(3) { height: 42%; }
.tracker__bar:nth-child(4) { height: 58%; }
.tracker__bar:nth-child(5) { height: 47%; }
.tracker__bar:nth-child(6) { height: 74%; }
.tracker__bar--now { background: var(--green); }

/* Aisle 04 — gift cards */
.giftcards {
  position: relative;
  height: 190px;
}

.giftcard {
  position: absolute;
  width: 200px;
  height: 122px;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.giftcard--back {
  top: 26px;
  left: 0;
  background: linear-gradient(135deg, #E9E4D6, #D9D2BC);
  transform: rotate(-7deg);
}
.giftcard--back .giftcard__store { color: #6E6650; }
.giftcard--back .giftcard__price { color: #2A2517; }
.giftcard--back .giftcard__was { color: #6E6650; }

.giftcard--front {
  top: 8px;
  left: 64px;
  background: linear-gradient(135deg, #127A3F, #0C4A28);
  transform: rotate(4deg);
  box-shadow: 0 18px 40px rgba(18, 122, 63, .3);
}
.giftcard--front .giftcard__store { color: var(--mint-soft); }
.giftcard--front .giftcard__price { color: #FFFFFF; }
.giftcard--front .giftcard__was { color: var(--mint-soft); }

.giftcard__store {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
}

.giftcard__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.giftcard__was {
  font-size: 10.5px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Stats (swing tags)
   -------------------------------------------------------------------------- */
.stats {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.stats__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 560px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
}

.swing-tag {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-3);
  border-radius: 14px;
  padding: 38px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 26px rgba(27, 36, 24, .07);
}
.swing-tag--a { transform: rotate(-1.8deg); }
.swing-tag--b { transform: rotate(1.4deg); }
.swing-tag--c { transform: rotate(-1.2deg); }
.swing-tag--d { transform: rotate(2deg); }

.swing-tag__hole {
  position: absolute;
  top: 12px;
  left: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid #DDD9C7;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
}

.swing-tag__value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.swing-tag__value--green { color: var(--green); }

.swing-tag__label {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   11. Under the hood (dark, receipts)
   -------------------------------------------------------------------------- */
.hood {
  background: var(--dark);
  scroll-margin-top: 70px;
}

.hood__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 104px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.hood__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hood__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink-dark-hi);
}

.hood__lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-dark-body);
}

.hood__facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.hood__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hood__fact-value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink-dark-hi);
}

.hood__fact-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dark-mute);
}

.receipts {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 0 8px;
}

.receipt { flex-shrink: 0; }

.receipt--plain {
  width: 248px;
  margin-top: 36px;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, .5));
  z-index: 1;
}

.receipt--groceria {
  position: relative;
  width: 282px;
  margin-left: 18px;
  transform: rotate(1.8deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
  z-index: 2;
}

.receipt__saving {
  position: absolute;
  top: -16px;
  right: -12px;
  transform: rotate(7deg);
  background: var(--dark-2);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
  z-index: 3;
}

.receipt__paper {
  background: #FBFAF4;
  border-radius: 2px 2px 0 0;
  padding: 24px 20px 18px;
  font-family: var(--font-mono);
}
.receipt__paper--white {
  background: #FFFFFF;
  padding: 26px 22px 18px;
}

.receipt__head {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #6B7268;
}
.receipt__head--green { color: var(--green); }

.receipt__sub {
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .08em;
  color: #A8AEA3;
  margin-top: 5px;
}

.receipt__rule {
  border-top: 1px dashed #D8DBD0;
  margin: 14px 0 12px;
}
.receipt__rule--tight { margin: 13px 0 11px; }

.receipt__lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: #565E56;
}

.receipt__line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.receipt__store { color: var(--green); }

.receipt__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #2E362F;
}
.receipt__total--green { color: var(--dark-2); }

.receipt__total-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
}

.receipt__total-value {
  font-size: 16px;
  font-weight: 800;
}
.receipt__total-value--green { color: var(--green); }

.receipt__thanks {
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: #A8AEA3;
  margin-top: 14px;
}

.receipt__barcode {
  margin-top: 16px;
  height: 20px;
  opacity: .4;
  background: repeating-linear-gradient(90deg,
    #454C44 0 2px, transparent 2px 4px,
    #454C44 4px 7px, transparent 7px 9px,
    #454C44 9px 10px, transparent 10px 14px);
}
.receipt__barcode--tight { margin-top: 10px; }

.receipt__tear {
  height: 10px;
  background-size: 10px 20px;
  background-position: 0 -10px;
}
.receipt__tear--plain {
  background-image:
    linear-gradient(45deg, transparent 33.333%, #FBFAF4 33.333%, #FBFAF4 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, #FBFAF4 33.333%, #FBFAF4 66.667%, transparent 66.667%);
}
.receipt__tear--white {
  background-image:
    linear-gradient(45deg, transparent 33.333%, #FFFFFF 33.333%, #FFFFFF 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, #FFFFFF 33.333%, #FFFFFF 66.667%, transparent 66.667%);
}

/* --------------------------------------------------------------------------
   12. Calculator (coupon)
   -------------------------------------------------------------------------- */
.calc {
  scroll-margin-top: 90px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calc__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.calc__lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.voucher {
  position: relative;
  background: var(--paper);
  border: 2px dashed var(--dash);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(27, 36, 24, .07);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voucher__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-dash);
  padding-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-label);
}
.voucher__head span:first-child { font-weight: 700; letter-spacing: .14em; }
.voucher__head span:last-child  { font-weight: 600; letter-spacing: .1em; }

.voucher__spend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.voucher__spend-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.voucher__spend-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.voucher__range {
  width: 100%;
  cursor: pointer;
  accent-color: var(--green);
}

.voucher__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.voucher__result {
  background: var(--panel);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.voucher__result--dark { background: var(--dark); }

.voucher__result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-label);
}
.voucher__result-label--dim { color: var(--ink-dark-mute); }

.voucher__result-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--green);
}
.voucher__result-value--mint { color: var(--mint); }

.voucher__disclaimer {
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   13. Shoppers (interactive showcase)
   -------------------------------------------------------------------------- */
.shoppers {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 100px var(--gutter);
}

.shoppers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.shoppers__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

.shoppers__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.shoppers__note {
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-label);
  max-width: 300px;
}

.shoppers__body {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: stretch;
}

/* Persona selector */
.personas {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.persona {
  border-top: 1px solid var(--line-3);
  position: relative;
}

.persona__btn {
  width: 100%;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: none;
  border: none;
  padding: 24px 4px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: inherit;
}

.persona__num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  color: var(--ink-faint);
  border: 1.5px dashed var(--dash);
  transition: background .3s ease, color .3s ease, border .3s ease;
}
.persona.is-active .persona__num {
  background: var(--green);
  color: #FFFFFF;
  border: 1.5px solid var(--green);
}

.persona__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.persona__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink-label);
  transition: color .3s ease;
}
.persona.is-active .persona__title { color: var(--ink); }

.persona__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
}
.persona.is-active .persona__desc { max-height: 140px; opacity: 1; }

.persona__arrow {
  flex: none;
  font-size: 18px;
  line-height: 1;
  margin-top: 8px;
  color: #D8D4C2;
  transform: translateX(-6px);
  transition: color .3s ease, transform .3s ease;
}
.persona.is-active .persona__arrow { color: var(--green); transform: none; }

.persona__bar {
  display: none;
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  background: var(--green);
}
.persona.is-active.is-auto .persona__bar {
  display: block;
  animation: gcProgress 6s linear both;
}

.persona__rule { border-top: 1px solid var(--line-3); }

/* Gradient showcase */
.showcase {
  position: relative;
  min-height: 560px;
}

.showcase__card {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(27, 36, 24, .1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-size: 200% 200%;
  animation: gcRibbon 16s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(27, 36, 24, .13);
  opacity: 0;
  transform: translateY(20px) scale(.985);
  pointer-events: none;
  z-index: 1;
  transition: opacity .5s ease, transform .5s ease;
}
.showcase__card.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}

.showcase__card--fam  { background-image: linear-gradient(120deg, #8FE0AC, #CDEE8B 45%, #F6E48C); }
.showcase__card--stu  { background-image: linear-gradient(120deg, #F6E48C, #F9C98F 45%, #F2988A); }
.showcase__card--prep { background-image: linear-gradient(120deg, #F9C98F, #CDEE8B 50%, #8FE0AC); }

.showcase__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.showcase__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .75);
  padding: 7px 12px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.showcase__flag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--mint);
  background: var(--dark);
  padding: 7px 12px;
  border-radius: 10px;
}
.showcase__flag--right { transform: rotate(2deg); }
.showcase__flag--left  { transform: rotate(-2deg); }

.showcase__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gcFloat 6s ease-in-out infinite;
}

.mini-card {
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(27, 36, 24, .22);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}
.mini-card--fam  { width: 320px; gap: 11px; transform: rotate(-1.5deg); }
.mini-card--stu  { width: 300px; gap: 10px; transform: rotate(1.6deg); }
.mini-card--prep { width: 320px; gap: 12px; transform: rotate(-1.4deg); }

.mini-card__title { font-size: 13.5px; font-weight: 700; }

.mini-card__total {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
}

.mini-card__cta {
  margin-top: 2px;
  background: var(--dark);
  border-radius: 11px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mini-card__cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--mint);
}

.mini-card__cta-arrow { color: var(--mint); font-size: 12px; }

.mini-card__today {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mini-card__today-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
}

/* Price-history chart */
.history {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 86px;
  background: var(--panel);
  border-radius: 12px;
  padding: 12px 12px 10px;
}

.history__bar {
  flex: 1;
  background: #CBE3D0;
  border-radius: 5px;
}
.history__bar:nth-child(1) { height: 62%; }
.history__bar:nth-child(2) { height: 70%; }
.history__bar:nth-child(3) { height: 56%; }
.history__bar:nth-child(4) { height: 64%; }
.history__bar:nth-child(5) { height: 52%; }
.history__bar:nth-child(6) { height: 58%; }
.history__bar:nth-child(7) { height: 46%; }
.history__bar--low { height: 36%; background: var(--green); }

.alert-bar {
  background: var(--dark);
  border-radius: 11px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.alert-bar__label { color: var(--ink-dark-body); }
.alert-bar__state { color: var(--mint); }

.showcase__facts {
  display: flex;
  gap: 12px;
}

.showcase__fact {
  flex: 1;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  backdrop-filter: blur(8px);
}

.showcase__fact-value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.showcase__fact-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #3F4A3C;
  font-weight: 500;
}
.showcase__fact-label--warm { color: #4A463C; }

/* --------------------------------------------------------------------------
   14. Blog
   -------------------------------------------------------------------------- */
.blog { background: var(--sand); }

.blog__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 92px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.blog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.blog__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.blog__all {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(27, 36, 24, .06);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.post:hover { color: var(--ink); }

.post__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.post__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post__kicker {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-label);
}

.post__title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.post__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* --------------------------------------------------------------------------
   15. Final CTA
   -------------------------------------------------------------------------- */
.cta-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.cta {
  position: relative;
  background: var(--dark);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta__mesh {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  pointer-events: none;
}
.cta__mesh canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: .6;
}

.cta__flag {
  position: absolute;
  top: -16px;
  right: 44px;
  transform: rotate(5deg);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(27, 36, 24, .25);
  z-index: 2;
}

.cta__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.06;
  color: var(--ink-dark-hi);
}

.cta__lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-dark-body);
  max-width: 440px;
}

.cta__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.cta__card {
  border: 1px solid rgba(143, 224, 172, .2);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(12, 27, 18, .35);
  backdrop-filter: blur(4px);
}

.cta__card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-dark-hi);
}

.cta__card-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dark-body);
}

.cta__card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--mint);
}
.cta__card-link:hover { color: var(--mint); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line-3); }

.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__blurb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-label);
  max-width: 240px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col a,
.footer__col > span:not(.footer__col-title) {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
}

.footer__bar {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
}

/* ==========================================================================
   17. BLOG PAGE (blog.html)
   Everything below is blog-only. The nav, brand, buttons, .post card,
   .signup__input, tokens, base and keyframes above are shared with index.html
   and are not redefined here.
   ========================================================================== */

/* Current page in the nav */
.nav__current {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* 17.1 Masthead ----------------------------------------------------------- */
.masthead {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px var(--gutter) 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.eyebrow--wide { letter-spacing: .22em; }

.masthead__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 800;
}

.masthead__lede {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

.masthead__issue {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-label);
}

/* 17.2 Price ticker ------------------------------------------------------- */
.ticker-rule {
  height: 5px;
  background: linear-gradient(105deg, #8FE0AC, #CDEE8B 25%, #F6E48C 50%, #F9C98F 75%, #F2988A 100%);
  background-size: 200% 200%;
  animation: gcRibbon 14s ease-in-out infinite;
}

.ticker {
  background: var(--dark);
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 13px 0;
  animation: gcTicker 32s linear infinite;
}

.ticker__group {
  display: flex;
  gap: 28px;
  width: max-content;
  align-items: center;
}

.ticker__item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.ticker__name  { color: var(--ink-dark-mute); font-weight: 600; }
.ticker__price { color: var(--ink-dark-hi); font-weight: 700; }

.ticker__delta { font-weight: 700; }
.ticker__delta--down { color: var(--mint); }
.ticker__delta--flat { color: var(--ink-dark-body); }
.ticker__delta--up   { color: #F2988A; }

.ticker__store { color: #5D7361; font-weight: 500; }
.ticker__sep   { color: #33473A; margin-left: 14px; }

/* 17.3 Featured post ------------------------------------------------------ */
.featured-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 12px;
}

.featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(27, 36, 24, .05);
  color: var(--ink);
}
.featured:hover { color: var(--ink); }

.featured__copy {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.featured__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green);
}

.featured__title {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
}

.featured__excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.featured__cta {
  align-self: flex-start;
  margin-top: 8px;
  gap: 7px;
  padding: 11px 22px;
}

.featured__media {
  position: relative;
  min-height: 340px;
}

.featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured__flag {
  position: absolute;
  top: 18px;
  right: 18px;
  transform: rotate(4deg);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 8px 13px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(27, 36, 24, .22);
}

/* Byline (featured + post cards) */
.byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 6px;
}

.byline__avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
}
.byline__avatar--mint { background: var(--mint); }

.byline__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.byline__name { font-size: 13px; font-weight: 700; }

.byline__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-label);
}

/* 17.4 Filters + archive grid --------------------------------------------- */
.archive {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px var(--gutter) 84px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filters__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-label);
  margin-right: 8px;
}

.filters__chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--chip-line);
  transition: background .25s ease, color .25s ease, border .25s ease;
}
.chip.is-active {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Post tile — extends the shared .post card */
.post--tile { border-color: var(--line); }
.post--tile[aria-disabled="true"] {
  cursor: default;
  opacity: .88;
}
.post--tile[aria-disabled="true"]:hover { color: inherit; }

.post__cover {
  height: 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--cover-bg, var(--panel));
}

.post__cover-grain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg,
    rgba(27, 36, 24, .04) 0px, rgba(27, 36, 24, .04) 2px,
    transparent 2px, transparent 12px);
}

.post__cover-stat {
  position: relative;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cover-fg, var(--ink));
  transform: rotate(-2deg);
}

.post__cover-sub {
  position: relative;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--cover-fg, var(--ink));
  opacity: .75;
}

.post__body--fill { gap: 9px; flex: 1; }

.post__kicker--green { letter-spacing: .13em; color: var(--green); }

.post__title--lg { font-size: 17.5px; line-height: 1.28; }

.post__excerpt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.post__byline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 8px;
}

.post__byline .byline__avatar {
  width: 26px;
  height: 26px;
  font-size: 9px;
}

.post__author {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.post__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-faint);
}

/* Pitch-us card */
.pitch {
  border: 2px dashed var(--dash);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 280px;
}
.pitch:hover { color: var(--ink); }

.pitch__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink-label);
}

.pitch__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  max-width: 220px;
}

.pitch__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* 17.5 Newsletter coupon --------------------------------------------------- */
.newsletter { background: var(--sand); }

.newsletter__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter);
  display: flex;
  justify-content: center;
}

.newsletter__coupon {
  --notch-bg: var(--sand);
  position: relative;
  width: 720px;
  max-width: 100%;
  background: var(--paper);
  border: 2px dashed var(--dash);
  border-radius: 20px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
}

/* Punched-out coupon notch. --notch-bg must match the surface behind it. */
.notch {
  position: absolute;
  top: 50%;
  width: var(--notch-size, 24px);
  height: var(--notch-size, 24px);
  border-radius: 50%;
  background: var(--notch-bg, var(--cream));
  transform: translateY(-50%);
}
.notch--left  { left: calc(var(--notch-size, 24px) / -2 - 1px);  border-right: 2px dashed var(--dash); }
.notch--right { right: calc(var(--notch-size, 24px) / -2 - 1px); border-left: 2px dashed var(--dash); }

.newsletter__eyebrow { font-size: 10px; letter-spacing: .16em; }

.newsletter__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.newsletter__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 420px;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin-top: 4px;
}

.newsletter__input {
  padding: 14px 18px;
  border-radius: 13px;
  font-size: 14.5px;
  background: var(--cream);
}

.newsletter__btn {
  border-radius: 13px;
  padding: 0 22px;
  font-size: 14px;
}

/* 17.6 Slim footer -------------------------------------------------------- */
.footer__slim {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__slim-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-left: 10px;
}

.footer__slim-links {
  display: flex;
  gap: 22px;
}

.footer__back {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.footer__cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
}

/* ==========================================================================
   18. ARTICLE PAGE (blog-post.html)
   Reuses the nav, brand, .btn, .price-row, .dot, .badge-best, .unit-chip,
   .step__num, .giftcard, .receipt, .byline__avatar, .notch, .signup__input
   and the slim footer from the sections above. Only the genuinely new
   article furniture is defined here.
   ========================================================================== */

/* 18.1 Reading progress --------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--mint));
}

/* 18.2 Breadcrumb --------------------------------------------------------- */
.crumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.crumb__back {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
}

.crumb__issue {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-label);
}

/* 18.3 Article header ----------------------------------------------------- */
.art-head {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px var(--gutter) 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.art-head__badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold-ink);
  background: #FBF3D9;
  border: 1px solid #EFDFA8;
  padding: 7px 14px;
  border-radius: 16px;
}

.art-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 800;
}

.art-head__standfirst {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 600px;
}

.art-head__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.art-head__byline .byline__body { align-items: flex-start; }

.byline__avatar--lg { width: 38px; height: 38px; font-size: 12px; }
.byline__avatar--xl { width: 56px; height: 56px; font-size: 16px; }

.art-head__author { font-size: 14px; font-weight: 700; }

.art-head__role {
  font-size: 12px;
  color: var(--ink-label);
  font-weight: 500;
}

.art-head__divider {
  width: 1px;
  height: 26px;
  background: var(--chip-line);
  margin: 0 6px;
}

.art-head__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-label);
}

/* 18.4 Cover -------------------------------------------------------------- */
.cover {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cover__frame { position: relative; }

.cover__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.cover__flag {
  position: absolute;
  top: -14px;
  right: 26px;
  transform: rotate(4deg);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 9px 14px;
  border-radius: 11px;
  box-shadow: 0 12px 26px rgba(27, 36, 24, .2);
}

.cover__caption {
  display: block;
  text-align: center;
  padding: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* 18.5 Body layout -------------------------------------------------------- */
.art-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px var(--gutter) 20px;
  display: grid;
  grid-template-columns: 240px minmax(0, 660px);
  gap: 64px;
  justify-content: center;
  align-items: start;
}

.prose {
  display: flex;
  flex-direction: column;
}

/* 18.6 Sidebar rail ------------------------------------------------------- */
.rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rail__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink-label);
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc .rail__label { padding-bottom: 8px; }

.toc__link {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.toc__link.is-active {
  font-weight: 700;
  color: var(--green);
  background: #EAF7EE;
}

.toc__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  width: 20px;
  flex: none;
}

.legend {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend__title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green);
}

.legend__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.legend__text {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.legend__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.legend__swatch {
  flex: none;
  width: 22px;
  height: 12px;
  border-radius: 4px;
  background: var(--yellow);
}

.legend__unit {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.legend__dash {
  flex: none;
  width: 22px;
  height: 0;
  border-top: 2px dashed var(--dash);
}

.share {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share__buttons {
  display: flex;
  gap: 8px;
}

.share__btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--chip-line);
  border-radius: 11px;
  padding: 9px 14px;
  cursor: pointer;
}
.share__btn--dark {
  color: #FFFFFF;
  background: var(--dark);
  border: none;
}

.rail__top {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-label);
}

/* 18.7 Prose -------------------------------------------------------------- */
.art-p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #3F4A3C;
}
.art-p--wide { margin-bottom: 20px; }

.art-dropcap {
  float: left;
  font-family: var(--font-display);
  font-size: 58px;
  line-height: .8;
  padding: 8px 10px 0 0;
  color: var(--green);
  font-weight: 800;
}

.em--semi { font-weight: 600; }

.art-link {
  color: var(--green);
  font-weight: 600;
}

.art-h2 {
  scroll-margin-top: 110px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 36px 0 16px;
}

.art-h2__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.art-h2__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.pullquote {
  margin: 10px 0 28px;
  padding: 22px 10px;
  border-top: 2px dashed var(--line-dash);
  border-bottom: 2px dashed var(--line-dash);
  text-align: center;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ink);
}

.art-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}

.art-bullet,
.art-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.art-bullet__dot {
  flex: none;
  margin-top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.art-bullet__text,
.art-step__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #3F4A3C;
}
.art-step__text { padding-top: 2px; }

.step__num--sm { width: 26px; height: 26px; }

.art-h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  color: var(--ink);
}

.art-table-wrap {
  margin: 8px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.art-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 700;
  padding: 12px 14px;
  background: var(--sand);
  color: var(--ink-label);
  white-space: nowrap;
}

.art-table td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: #3F4A3C;
  vertical-align: top;
}

.art-table td strong { color: var(--ink); }

.art-cite {
  margin: 0 0 22px;
  padding: 12px 16px;
  border-left: 3px solid var(--mint);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.art-sources {
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.art-sources li {
  font-size: 14.5px;
  line-height: 1.55;
  color: #3F4A3C;
}

.art-update {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--ink-mute);
}

/* Unit-price figure */
.unit-figure {
  margin: 6px 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.unit-card {
  width: 360px;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 46px rgba(27, 36, 24, .1);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: rotate(-1deg);
}

.unit-card__name { font-size: 14px; font-weight: 700; }

.unit-figure__caption {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* Price-row size variants used inside the article */
.dot--sm { width: 6px; height: 6px; }
.badge-best--sm { font-size: 8.5px; padding: 2px 6px; border-radius: 6px; }

.price-row--sm.price-row--best { padding: 8px 11px; border-radius: 9px; }
.price-row--sm.price-row--plain { padding: 4px 11px; }
.price-row--sm .price-row__store { gap: 7px; }
.price-row--sm .price-row__brand,
.price-row--sm .price-row__label { font-size: 12px; }
.price-row--sm .price-row__best-value,
.price-row--sm .price-row__value { font-size: 11.5px; }

.price-row--md.price-row--best { padding: 9px 12px; border-radius: 10px; }
.price-row--md.price-row--plain { padding: 4px 12px; }
.price-row--md .price-row__store { gap: 8px; }
.price-row--md .price-row__brand,
.price-row--md .price-row__label { font-size: 12.5px; }
.price-row--md .price-row__best-value { font-size: 12.5px; }
.price-row--md .price-row__value { font-size: 12px; }

/* Article receipt (smaller than the home-page pair) */
.art-receipt {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

.receipt--post {
  width: 330px;
  filter: drop-shadow(0 22px 40px rgba(27, 36, 24, .16));
  transform: rotate(1deg);
}
.receipt__paper--post { padding: 22px 20px 16px; }
.receipt__head--post { font-size: 10.5px; }
.receipt__sub--post { font-size: 9px; margin-top: 4px; }
.receipt__rule--post { margin: 12px 0 11px; }
.receipt__rule--post-tight { margin: 11px 0 10px; }
.receipt__lines--post { gap: 8px; font-size: 10.5px; letter-spacing: .03em; }
.receipt__total-label--post { font-size: 10.5px; }
.receipt__total-value--post { font-size: 15px; }
.receipt__thanks--post { font-size: 9px; letter-spacing: .1em; margin-top: 12px; }
.receipt__barcode--post { margin-top: 8px; height: 18px; opacity: .35; }
.receipt__tear--post { height: 9px; background-size: 9px 18px; background-position: 0 -9px; }

/* 18.8 Inline CTA cards --------------------------------------------------- */

/* CTA 1 — reality check */
.cta-reality {
  position: relative;
  margin: 8px 0 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  box-shadow: 0 14px 34px rgba(27, 36, 24, .07);
}

.cta-reality__flag {
  position: absolute;
  top: -13px;
  left: 22px;
  transform: rotate(-3deg);
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 7px 12px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(27, 36, 24, .15);
}

.cta-reality__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-reality__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.cta-reality__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cta-reality__btn {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 20px;
}

.cta-reality__panel {
  background: var(--panel);
  border-radius: 13px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* CTA 2 — voucher */
.cta-voucher {
  --notch-size: 26px;
  position: relative;
  margin: 8px 0 30px;
  background: var(--paper);
  border: 2px dashed var(--dash);
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.cta-voucher__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-voucher__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-label);
}

.cta-voucher__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.015em;
}

.cta-voucher__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cta-voucher__btn {
  flex: none;
  gap: 7px;
  font-size: 13.5px;
  color: var(--dark);
  background: var(--yellow);
  padding: 13px 22px;
  border-radius: 13px;
}

/* CTA 3 — gift cards */
.cta-gift {
  margin: 8px 0 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 14px 34px rgba(27, 36, 24, .07);
}

.cta-gift__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-gift__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--green);
}

.cta-gift__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.cta-gift__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cta-gift__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-top: 2px;
}

.giftcards--sm { width: 190px; height: 120px; }

.giftcard--sm {
  width: 150px;
  height: 90px;
  border-radius: 12px;
  padding: 11px;
}
.giftcard--sm .giftcard__store { font-size: 8px; }
.giftcard--sm .giftcard__price { font-size: 11px; }
.giftcard--sm .giftcard__was { font-size: 8.5px; }
.giftcards--sm .giftcard--back  { top: 22px; left: 0; }
.giftcards--sm .giftcard--front { top: 2px; left: 44px; transform: rotate(5deg); box-shadow: 0 14px 30px rgba(18, 122, 63, .3); }

/* CTA 4 — early access */
.cta-early {
  position: relative;
  margin: 26px 0 8px;
  background: var(--dark);
  border-radius: 20px;
  padding: 36px 38px;
  overflow: hidden;
}

.cta-early__aurora {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 25% 30%, rgba(18, 122, 63, .55), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(143, 224, 172, .28), transparent 45%),
    radial-gradient(circle at 60% 20%, rgba(246, 228, 140, .14), transparent 40%);
  background-size: 200% 200%;
  animation: gcRibbon 16s ease-in-out infinite;
}

.cta-early__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta-early__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--mint);
}

.cta-early__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink-dark-hi);
  max-width: 420px;
}

.cta-early__form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 430px;
  margin-top: 6px;
}

.cta-early__input {
  padding: 14px 18px;
  border-radius: 13px;
  font-size: 14.5px;
}

.cta-early__btn {
  border-radius: 13px;
  padding: 0 20px;
  font-size: 14px;
}

.cta-early__note {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-dark-mute);
}

/* 18.9 Tags + author ------------------------------------------------------ */
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 26px 0 0;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: #F2F0E3;
  padding: 6px 12px;
  border-radius: 14px;
}

.author {
  margin-top: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.author__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-label);
}

.author__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.author__bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.author__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-top: 2px;
}

/* 18.10 Read next --------------------------------------------------------- */
.readnext {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px var(--gutter) 88px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.readnext__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 2px dashed var(--line-dash);
  padding-top: 28px;
  gap: 14px;
}

.readnext__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.readnext__all {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
}

.readnext__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.next-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ink);
}
.next-card:hover { color: var(--ink); }

.next-card__stat {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 10px;
}
.next-card__stat--green { color: var(--green-deep); background: #EAF7EE; transform: rotate(-2deg); }
.next-card__stat--rust  { color: #A34E1B; background: #FDEFE4; transform: rotate(2deg); }
.next-card__stat--gold  { color: var(--gold-ink); background: #FBF3D9; transform: rotate(-1.5deg); }

.next-card__cat {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--green);
  margin-top: 6px;
}

.next-card__title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

.next-card__meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-faint);
  margin-top: auto;
  padding-top: 6px;
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner,
  .hood__inner,
  .calc,
  .shoppers__body,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero__inner { gap: 40px; padding-top: 64px; }
  .hood__inner { gap: 48px; padding: 80px var(--gutter); }
  .calc { gap: 40px; padding-top: 80px; }
  .shoppers__body { gap: 40px; }
  .cta { padding: 48px; gap: 40px; }

  .bento--7-5,
  .bento--5-7 { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }

  /* blog */
  .masthead__title { font-size: 52px; }
  .posts { grid-template-columns: repeat(2, 1fr); }

  /* article — drop the sticky rail, run the prose full width */
  .art-body { grid-template-columns: minmax(0, 720px); gap: 0; }
  .rail { display: none; }
  .art-head__title { font-size: 40px; }
  .cover__img { height: 320px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }

  .nav__links { display: none; }

  .hero__title { font-size: 42px; }
  .hero__stack { min-height: 640px; }

  .steps { grid-template-columns: 1fr; }
  .step + .step {
    border-left: none;
    border-top: 1.5px dashed var(--line-dash-2);
  }

  .section-head__title,
  .hood__title,
  .calc__title,
  .shoppers__title,
  .cta__title { font-size: 32px; }
  .stats__title { font-size: 30px; }

  .aisle--split { grid-template-columns: 1fr; }
  .aisle { padding: 26px; }

  .blog__grid { grid-template-columns: 1fr; }

  .receipts { flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
  .receipt--plain { margin-top: 0; }
  .receipt--groceria { margin-left: 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* blog */
  .masthead { padding-top: 56px; }
  .masthead__title { font-size: 44px; }

  .featured { grid-template-columns: 1fr; }
  .featured__copy { padding: 30px 26px; order: 2; }
  .featured__media { min-height: 220px; order: 1; }
  .featured__title { font-size: 27px; }

  /* article */
  .art-head__title { font-size: 33px; }
  .art-h2__title { font-size: 24px; }
  .cover__img { height: 240px; }
  .cta-reality { grid-template-columns: 1fr; }
  .cta-gift { grid-template-columns: 1fr; justify-items: start; }
  .readnext__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__stack {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .price-card,
  .list-card,
  .saved {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 340px;
    transform: none;
  }
  .saved { animation: none; }
  .saved__inner { transform: none; justify-content: space-between; }

  .signup { flex-direction: column; }
  .signup__btn { justify-content: center; padding: 14px 24px; }

  .hero__title { font-size: 34px; }

  .stats__grid { grid-template-columns: 1fr; }
  .swing-tag { transform: none; }

  .hood__facts { grid-template-columns: 1fr; gap: 16px; }

  .voucher { padding: 24px; }
  .voucher__results { grid-template-columns: 1fr; }

  .showcase { min-height: 620px; }
  .showcase__card { padding: 20px; }
  .showcase__top { flex-direction: column; align-items: flex-start; }
  .showcase__facts { flex-direction: column; }
  .mini-card--fam,
  .mini-card--stu,
  .mini-card--prep { width: 100%; max-width: 320px; }

  .cta { padding: 32px 24px; }
  .cta__flag { right: 16px; }

  .footer__grid { grid-template-columns: 1fr; }

  /* blog */
  .masthead__title { font-size: 36px; }
  .posts { grid-template-columns: 1fr; }
  .newsletter__coupon { padding: 28px 22px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__title { font-size: 23px; }
  .filters { align-items: flex-start; flex-direction: column; }
  .footer__slim { justify-content: flex-start; }

  /* article */
  .crumb { flex-direction: column; align-items: flex-start; gap: 8px; }
  .art-head { padding-top: 32px; }
  .art-head__title { font-size: 28px; }
  .art-head__divider { display: none; }
  .art-p, .art-bullet__text, .art-step__text { font-size: 15.5px; }
  .art-dropcap { font-size: 48px; }
  .pullquote { font-size: 19px; padding: 18px 4px; }
  .cover__img { height: 190px; border-radius: 16px; }
  .cta-reality, .cta-gift, .cta-early { padding: 20px; }
  .cta-voucher { flex-direction: column; align-items: flex-start; padding: 22px; }
  .cta-early__form { flex-direction: column; }
  .cta-early__btn { padding: 14px 20px; }
  .cta-early__title { font-size: 22px; }
  .author { flex-direction: column; gap: 14px; }
}

/* --------------------------------------------------------------------------
   19. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__ribbon,
  .saved,
  .showcase__stage,
  .showcase__card,
  .marquee__track,
  .ticker__track,
  .ticker-rule,
  .cta-early__aurora,
  .persona.is-active.is-auto .persona__bar {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
