/* ============================================================
   Scratchbook — smalltrailstudio.com/scratchbook
   Warm paper, ranger greens, foil worth scratching.
   ============================================================ */

:root {
  --paper: #F7F3E8;
  --paper-deep: #EFE9D8;
  --card: #FFFDF6;
  --ink: #2B2A24;
  --muted: #8A8375;
  --line: #E0D9C6;
  --green: #3E6B34;
  --green-deep: #2E5026;
  --gold: #D9A63C;
  --night: #17251C;

  /* Region colors (match the app) */
  --r-alaska: #4E7CB2;
  --r-pacific: #398B88;
  --r-southwest: #C8722F;
  --r-rockies: #3E6B34;
  --r-midwest: #8A6844;
  --r-east: #7A5C9E;

  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;

  --radius: 22px;
  --shadow: 0 2px 6px rgba(43, 42, 36, .05), 0 18px 44px rgba(43, 42, 36, .09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-mark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
}
.nav-mark img { border-radius: 8px; }
.nav-mark-sub { font-weight: 550; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.nav-links a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink);
  opacity: .78; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  opacity: 1 !important;
  background: var(--green); color: var(--paper) !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green-deep); }

/* ---------- Shared section bits ---------- */
section { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 750; line-height: 1.06; letter-spacing: -.02em;
}
.section-title em { font-style: italic; color: var(--green); }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.scribble {
  font-family: var(--font-hand); font-size: 1.35rem; font-weight: 600;
  color: var(--green); letter-spacing: 0;
}

/* ---------- Reveal / entrance animations ---------- */
.rise { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-inner { display: block; transform: translateY(110%); animation: lineUp .8s cubic-bezier(.2,.7,.15,1) forwards; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes lineUp { to { transform: none; } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--rd, 0) * 110ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }

/* faint topographic contour lines */
.hero-topo {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-radial-gradient(ellipse 90% 70% at 82% -12%,
    transparent 0px, transparent 56px,
    color-mix(in srgb, var(--green) 9%, transparent) 56px,
    color-mix(in srgb, var(--green) 9%, transparent) 57.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
}

.hero-inner {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 780; line-height: 1.03; letter-spacing: -.025em;
}
.hero-title em { font-style: italic; color: var(--green); }
.hero-sub { margin-top: 1.4rem; font-size: 1.13rem; color: var(--muted); max-width: 34rem; }

.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 2rem; flex-wrap: wrap; }

.store-link { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.2,1), filter .2s; }
.store-link:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 16px rgba(43,42,36,.25)); }
.store-link img { display: block; height: 52px; width: auto; }

.link-arrow { font-weight: 600; font-size: .97rem; text-decoration: none; color: var(--green); }
.link-arrow span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.link-arrow:hover span { transform: translateY(3px); }

.hero-trust {
  display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin-top: 2rem;
}
.hero-trust li {
  font-size: .8rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  background: color-mix(in srgb, var(--card) 60%, transparent);
}

/* ---------- Hero scratch card ---------- */
.hero-scratch { position: relative; justify-self: center; }

.scribble-scratch {
  position: absolute; top: -34px; right: 2px; z-index: 3;
  transform: rotate(6deg); pointer-events: none;
}
.scribble-arrow { width: 44px; height: 30px; display: inline-block; vertical-align: -8px; margin-left: 2px; }

.scratch-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transform: rotate(-1.6deg);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.scratch-card:hover { transform: rotate(-.4deg); }

.scratch-badge {
  position: relative; width: min(300px, 66vw); aspect-ratio: 1; margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(43,42,36,.18), inset 0 0 0 5px var(--card), inset 0 0 0 7px var(--line);
}
.scratch-badge img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; transform: scale(1.02); object-fit: cover;
}
#scratch-foil {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; cursor: grab; touch-action: none;
  transition: opacity .8s ease;
}
#scratch-foil.is-cleared { opacity: 0; pointer-events: none; }
#scratch-foil:active { cursor: grabbing; }

.scratch-stamp {
  position: absolute; left: 50%; bottom: -6px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 750; font-size: 1rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--card);
  border: 2.5px solid var(--green); border-radius: 999px;
  padding: 6px 16px;
  transform: translateX(-50%) rotate(-7deg) scale(0);
  transition: transform .45s cubic-bezier(.2, 1.4, .3, 1);
}
.scratch-stamp svg { width: 17px; height: 17px; }
.scratch-stamp.is-on { transform: translateX(-50%) rotate(-7deg) scale(1); }

.scratch-meta { margin-top: 20px; }
.scratch-name { font-family: var(--font-display); font-weight: 720; font-size: 1.5rem; letter-spacing: -.015em; }
.scratch-tag { color: var(--muted); font-size: .93rem; margin-top: 2px; }

.scratch-next {
  margin-top: 14px;
  font: 600 .92rem var(--font-body); color: var(--green);
  background: none; border: 1.5px solid color-mix(in srgb, var(--green) 35%, transparent);
  border-radius: 999px; padding: 8px 18px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.scratch-next:hover { background: color-mix(in srgb, var(--green) 8%, transparent); border-color: var(--green); }

/* confetti burst */
.confetti {
  position: absolute; width: 9px; height: 13px; border-radius: 2px;
  pointer-events: none; z-index: 5;
  animation: confetti 1s cubic-bezier(.2,.6,.4,1) forwards;
}
@keyframes confetti {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 10px 0 26px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 22px; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track img {
  width: 84px; height: 84px; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(43,42,36,.14);
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4);
}
.marquee-track img:hover { transform: scale(1.14) rotate(4deg); }

/* ---------- How it works ---------- */
.how { background: var(--paper-deep); border-block: 1px solid var(--line); }
.steps {
  list-style: none; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 30px; position: relative;
  box-shadow: 0 1px 3px rgba(43,42,36,.04);
}
.step-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--gold); letter-spacing: .08em;
}
.step h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 720; letter-spacing: -.01em; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step-art { height: 96px; display: flex; align-items: center; margin-bottom: 14px; }

.step-art-visit svg { width: 132px; height: 96px; }
.trail-path { stroke: var(--gold); }
.step-mtn { fill: var(--green); opacity: .85; }
.step-dot { fill: var(--r-southwest); }

.mini-scratch {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  overflow: hidden; box-shadow: inset 0 0 0 3px var(--card), 0 4px 12px rgba(43,42,36,.14);
}
.mini-scratch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Foil still covering the un-scratched wedge of the badge */
.mini-foil {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, #d8cba8 0%, #f2ead4 30%, #c3b48c 55%, #efe6cb 78%, #c4b791 100%);
  -webkit-mask-image: conic-gradient(from 320deg, #000 0 62%, transparent 62%);
  mask-image: conic-gradient(from 320deg, #000 0 62%, transparent 62%);
}
.mini-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 46%, transparent 60%);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine { 0%, 55%, 100% { transform: translateX(-100%);} 25%, 35% { transform: translateX(100%);} }

.mini-ticks { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: 150px; }
.mini-ticks span { height: 8px; border-radius: 3px; background: var(--line); }
.mini-ticks span:nth-child(-n+11) { background: var(--green); }
.mini-ticks span:nth-child(4), .mini-ticks span:nth-child(9) { background: var(--r-southwest); }
.mini-ticks span:nth-child(6) { background: var(--r-alaska); }
.mini-ticks span:nth-child(11) { background: var(--gold); }

/* ---------- App showcase (real screenshots in device bezels) ---------- */
.showcase { padding-bottom: clamp(48px, 6vw, 80px); }
.shelf {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(10px, 2vw, 26px);
  max-width: 1220px; margin: 0 auto; padding-top: 12px;
}
.device { width: clamp(150px, 16vw, 205px); flex-shrink: 0; margin: 0; }
.device-lg { width: clamp(180px, 19vw, 245px); }
.device-frame { position: relative; }
/* The bezel PNG's transparent screen cutout sits at these offsets (measured). */
.device .screen {
  position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.6%;
  object-fit: cover; border-radius: 11% / 5%;
}
.device .bezel {
  position: relative; z-index: 2; width: 100%; height: auto; display: block;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(43, 42, 36, .22));
}
.device figcaption {
  position: relative; z-index: 2;
  text-align: center; font-size: .85rem; font-weight: 600;
  color: var(--muted); margin-top: 14px;
}
.shelf .device { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.shelf .device:nth-child(1) { transform: rotate(-3.5deg) translateY(12px); }
.shelf .device:nth-child(2) { transform: rotate(1.75deg) translateY(4px); }
.shelf .device:nth-child(4) { transform: rotate(-1.75deg) translateY(4px); }
.shelf .device:nth-child(5) { transform: rotate(3.5deg) translateY(12px); }
.shelf .device:hover { transform: none; z-index: 3; }

/* ---------- The 63 badge wall ---------- */
.parks .section-sub .scribble-wall { display: block; margin-top: 8px; transform: rotate(-1.5deg); }

.wall-status { max-width: 860px; margin: 0 auto 20px; }
.wall-count { font-size: 1rem; color: var(--muted); margin-bottom: 10px; text-align: center; }
.wall-count strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 750; }
.wall-ticks { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; }
.wall-ticks span { height: 7px; border-radius: 2.5px; background: var(--line); transition: background .3s; }

.wall-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 34px; max-width: 860px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 .88rem var(--font-body); color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; cursor: pointer; transition: all .2s;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--green)); }
.pill:hover { border-color: color-mix(in srgb, var(--pc, var(--green)) 55%, transparent); }
.pill.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.wall {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 26px 14px;
}
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.badge-coin {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  background: #EDE7D9;
  border: 2px dashed #CCC3AE;
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.5), border-color .25s, background .25s, box-shadow .25s;
}
.badge:hover .badge-coin { transform: translateY(-3px) rotate(-3deg); }
.badge-mono {
  font-family: var(--font-display); font-weight: 750; font-size: 1.6rem;
  color: #AFA58D; letter-spacing: .02em;
}
.badge-coin img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; transform: scale(1.02);
  opacity: 0; transition: opacity .3s;
}
.badge-check {
  position: absolute; right: -3px; bottom: -3px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(43,42,36,.25);
  opacity: 0; transform: scale(0); transition: all .25s cubic-bezier(.2,1.4,.3,1);
}
.badge-check svg { width: 12px; height: 12px; stroke: var(--rc); }
.badge.is-collected .badge-coin {
  border: 3px solid var(--rc); background: var(--card); border-style: solid;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--rc) 35%, transparent);
}
.badge.is-collected .badge-coin img { opacity: 1; }
.badge.is-collected .badge-check { opacity: 1; transform: scale(1); }
.badge.pop .badge-coin { animation: pop .45s cubic-bezier(.2,1.6,.3,1); }
@keyframes pop { 40% { transform: scale(1.16) rotate(4deg); } }

.badge-name { font-size: .8rem; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ink); }
.badge-state { font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

.wall-reset-row { text-align: center; margin-top: 40px; }
.wall-reset {
  font: 600 .88rem var(--font-body); color: var(--muted);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; cursor: pointer; transition: all .2s;
}
.wall-reset:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- Wildlife ---------- */
.wildlife { background: var(--night); color: var(--paper); position: relative; }
.wildlife::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: repeating-radial-gradient(ellipse 80% 60% at 12% 110%,
    transparent 0, transparent 48px,
    rgba(247,243,232,.05) 48px, rgba(247,243,232,.05) 49.5px);
}
.wildlife .section-title em { color: var(--gold); }
.wildlife .section-sub { color: color-mix(in srgb, var(--paper) 62%, transparent); }
.eyebrow-light { color: var(--gold); }

.wild-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 38px; position: relative; }
.wildlife .pill { background: rgba(247,243,232,.06); border-color: rgba(247,243,232,.18); color: var(--paper); }
.wildlife .pill.is-on { background: var(--paper); color: var(--night); border-color: var(--paper); }

.wild-grid {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.wild-card {
  background: rgba(247,243,232,.05);
  border: 1px solid rgba(247,243,232,.12);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, border-color .25s;
}
.wild-card:hover { transform: translateY(-4px); background: rgba(247,243,232,.08); border-color: rgba(247,243,232,.24); }
.wild-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.wild-card img {
  width: 64px; height: 64px; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.4);
}
.wild-card:hover img { transform: scale(1.1) rotate(-4deg); }
.wild-name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.2; }
.wild-chips { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.wild-chip {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 2.5px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--gc) 24%, transparent);
  color: color-mix(in srgb, var(--gc) 60%, var(--paper));
}
.wild-tip { font-size: .89rem; color: color-mix(in srgb, var(--paper) 68%, transparent); line-height: 1.55; }
.wild-parks { margin-top: 10px; font-size: .78rem; font-weight: 600; color: color-mix(in srgb, var(--paper) 45%, transparent); }

/* ---------- Features ---------- */
.feature-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.feature h3 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 720; letter-spacing: -.01em; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ---------- Tip jar: the 64th badge ---------- */
.tip { padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.tip-card {
  position: relative;
  display: flex; align-items: center; gap: clamp(22px, 4vw, 40px);
  max-width: 760px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 1px 3px rgba(43,42,36,.04);
}
.scribble-tip {
  position: absolute; top: -16px; left: clamp(20px, 6vw, 56px);
  transform: rotate(-3deg);
}
.tip-badge { width: clamp(104px, 14vw, 136px); flex-shrink: 0; }
.tip-badge svg { width: 100%; height: auto; display: block; }
.tip-badge svg * { transition: stroke .35s, fill .35s, stroke-dasharray .35s; }
.tip-ring { stroke: #CCC3AE; }
.tip-mug, .tip-pine { fill: #AFA58D; }
.tip-handle, .tip-steam, .tip-ground { stroke: #AFA58D; }
.tip-label {
  font: 700 7.5px var(--font-display); letter-spacing: .18em; fill: #AFA58D;
}
.tip-badge { transition: transform .35s cubic-bezier(.2,1.2,.3,1); }
.tip-card:hover .tip-badge { transform: rotate(-5deg) scale(1.05); }
.tip-card:hover .tip-ring { stroke: var(--gold); stroke-dasharray: 0 0; }
.tip-card:hover .tip-mug { fill: var(--green); }
.tip-card:hover .tip-pine { fill: var(--green); }
.tip-card:hover .tip-handle, .tip-card:hover .tip-ground { stroke: var(--green); }
.tip-card:hover .tip-steam { stroke: var(--gold); }
.tip-card:hover .tip-label { fill: var(--gold); }

.tip-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
}
.tip-title {
  font-family: var(--font-display); font-weight: 740; letter-spacing: -.015em;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .6rem;
}
.tip-text { color: var(--muted); font-size: .97rem; max-width: 34rem; }
.btn-tip {
  display: inline-block; margin-top: 1.1rem;
  background: var(--green); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  padding: 10px 20px; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn-tip:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta-panel {
  position: relative; max-width: 1080px; margin: 0 auto;
  border-radius: 30px; overflow: hidden;
  min-height: 420px; display: flex; align-items: center;
  box-shadow: var(--shadow);
}
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23,32,25,.82) 20%, rgba(23,32,25,.42) 60%, rgba(23,32,25,.15));
}
.cta-content { position: relative; padding: clamp(36px, 6vw, 72px); color: var(--paper); }
.cta-title {
  font-family: var(--font-display); font-weight: 760;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.04; letter-spacing: -.02em;
}
.cta-sub { margin: 14px 0 26px; font-size: 1.08rem; opacity: .85; }

/* ---------- Footer ---------- */
.footer { padding: 44px clamp(20px, 5vw, 56px) 36px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer-mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.footer-mark img { border-radius: 6px; }
.footer-mark a { color: var(--green); text-decoration: none; }
.footer-mark a:hover { text-decoration: underline; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { font-size: .9rem; color: var(--muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); }
.footer-fine { max-width: 1080px; margin: 18px auto 0; font-size: .78rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow-dot { display: none; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-scratch { margin-top: 16px; }
  .steps { grid-template-columns: 1fr; max-width: 480px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-mark-sub { display: none; }
  .shelf {
    justify-content: flex-start; overflow-x: auto; padding: 12px 20px 8px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf .device { width: 205px; scroll-snap-align: center; transform: none; }
}
@media (max-width: 640px) {
  .tip-card { flex-direction: column; text-align: center; }
  .tip-text { margin-inline: auto; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .wall { gap: 20px 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .badge-coin { width: 76px; height: 76px; }
  .wall-ticks { grid-template-columns: repeat(21, 1fr); gap: 2.5px; }
  .scribble-scratch { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .line-inner { animation-duration: .01s; animation-delay: 0s; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .mini-shine { animation: none; }
}
