/* GoPerk alternative home page ("Forest" design): dark hero with an app mockup, bento features, path timeline.
   Loads after site.css and reuses its tokens, fonts, buttons, FAQ and footer. */

/* Header over the dark hero */
.site-header.on-dark { background: transparent; backdrop-filter: none; }
.site-header.on-dark .nav-links a:not(.btn) { color: #fff; }
.site-header.on-dark .nav-links a:not(.btn):hover { color: var(--navy); }
.site-header.on-dark .nav-toggle { background: rgb(255 255 255 / 12%); color: #fff; }
.site-header.on-dark.scrolled { background: rgb(0 128 96 / 95%); backdrop-filter: blur(12px); border-bottom-color: rgb(255 255 255 / 8%); }
.site-header.on-dark .btn-gold { box-shadow: none; }
@media (max-width: 880px) {
  .site-header.on-dark .nav-links { background: var(--deep-green); border-bottom-color: rgb(255 255 255 / 10%); }
  .site-header.on-dark .nav-links a { border-bottom-color: rgb(255 255 255 / 10%); }
}

.forest-top { background: radial-gradient(120% 90% at 80% 10%, #19c896, var(--green) 45%, var(--deep-green)); color: #fff; margin-top: -73px; padding-top: 73px; overflow: hidden; }

/* Hero */
.f-hero { position: relative; padding: 48px 0 120px; }
.f-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.f-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); font-weight: 700; font-size: 0.92rem;
  margin-bottom: 22px;
}
.f-kicker b { background: var(--gold-300); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; }
.f-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: 1.02; letter-spacing: -0.02em; }
.f-hero h1 em { font-style: normal; color: var(--navy); }
.f-hero .lead { color: #fff; font-size: 1.2rem; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.f-actions .store-badge { background: #fff; color: var(--ink); }
.f-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: #fff; font-weight: 700; font-size: 0.95rem; }
.f-proof span { display: inline-flex; align-items: center; gap: 8px; }

/* Phone mockup with the walking map */
.f-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.f-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(closest-side, rgb(248 203 99 / 35%), transparent); }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: #0b1512;
  box-shadow: 0 40px 80px rgb(0 0 0 / 45%), inset 0 0 0 2px rgb(255 255 255 / 10%); transform: rotate(4deg);
}
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #e9f1e6; color: var(--ink); }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0b1512; z-index: 3; }
.map {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 120px 100%,
    linear-gradient(0deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%) 0 0 / 100% 150px,
    radial-gradient(circle at 75% 20%, #cfe6c8 0 60px, transparent 61px),
    radial-gradient(circle at 15% 70%, #cfe6c8 0 70px, transparent 71px),
    #e9f1e6;
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg); background: var(--navy); box-shadow: 0 6px 14px rgb(0 0 0 / 25%);
}
.map-pin span { transform: rotate(45deg); font-size: 18px; }
.map-pin.shop { top: 96px; right: 44px; }
.map-me {
  position: absolute; bottom: 210px; left: 52px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-600);
  box-shadow: 0 0 0 6px rgb(15 107 80 / 25%), 0 0 0 3px #fff inset;
}
.map-coin { position: absolute; width: 20px; height: 20px; font-size: 11px; }
.map-coin.c1 { bottom: 262px; left: 86px; }
.map-coin.c2 { bottom: 318px; left: 128px; }
.map-coin.c3 { top: 182px; left: 170px; }
.map-coin.c4 { top: 140px; right: 92px; }
.phone-top {
  position: absolute; top: 48px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 16px; padding: 8px 12px; box-shadow: var(--shadow-card); font-weight: 800; font-size: 0.85rem; z-index: 2;
}
.phone-top span { display: inline-flex; align-items: center; gap: 6px; }
.phone-panel {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; padding: 16px 16px 20px;
  box-shadow: 0 -10px 30px rgb(0 0 0 / 12%); z-index: 2;
}
.phone-panel h4 { margin: 0 0 2px; font-size: 1rem; }
.phone-panel p { margin: 0 0 12px; font-size: 0.8rem; color: var(--ink-muted); }
.phone-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; text-align: center; }
.phone-stats div { background: var(--surface-muted); border-radius: 12px; padding: 6px 4px; }
.phone-stats strong { display: block; font-size: 0.95rem; }
.phone-stats small { font-size: 0.68rem; color: var(--ink-muted); }
.phone-btn { display: block; text-align: center; background: var(--gold-300); border-radius: 999px; padding: 10px; font-weight: 800; font-size: 0.9rem; }
/* The local shop with fruit and groceries in front of the phone's lower corner, the welcome bonus on top of it. */
.phone { z-index: 1; }
.f-shop-wrap { position: absolute; right: -70px; bottom: -30px; width: 360px; z-index: 2; }
.f-shop { display: block; width: 100%; filter: drop-shadow(0 18px 24px rgb(0 0 0 / 30%)); }
.f-mascot { position: absolute; left: -40px; bottom: 0; width: 170px; z-index: 3; filter: drop-shadow(0 20px 26px rgb(0 0 0 / 35%)); }
.f-toast {
  position: absolute; right: -22px; top: 12%; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-raised); font-weight: 800; font-size: 0.9rem;
  animation: bob 5s ease-in-out infinite;
}
.f-toast small { display: block; color: var(--ink-muted); font-weight: 600; font-size: 0.75rem; }

/* Category ribbon at the bottom of the dark area */
.ribbon { border-top: 1px solid rgb(255 255 255 / 10%); padding: 22px 0; }
.ribbon ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin: 0 auto; padding: 0; color: #fff; font-weight: 800; }
.ribbon li { display: inline-flex; align-items: center; gap: 8px; }
.ribbon .muted { color: var(--mint); font-weight: 700; }

/* Two audiences */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 40px 36px 0; border-radius: 32px; overflow: hidden; }
.duo-card.walkers { background: linear-gradient(165deg, var(--gold-100), var(--gold-200)); }
.duo-card.shops { background: linear-gradient(160deg, var(--green), var(--deep-green)); color: #fff; }
.duo-card .tag { align-self: flex-start; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 60%); margin-bottom: 16px; }
.duo-card.shops .tag { background: rgb(255 255 255 / 12%); }
.duo-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 14em; }
.duo-card ul { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; max-width: 22em; position: relative; z-index: 1; }
.duo-card li { display: flex; gap: 10px; font-weight: 600; }
.duo-card li::before { content: "★"; color: var(--gold-500); }
.duo-card.shops li::before { color: #fff; }
.duo-card .btn { align-self: flex-start; position: relative; z-index: 1; }
.duo-card img { position: absolute; right: 12px; bottom: 0; width: 210px; filter: drop-shadow(0 16px 20px rgb(0 0 0 / 22%)); }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.tile { position: relative; padding: 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile p { color: var(--ink-muted); margin: 0; font-size: 0.95rem; }
.tile.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--green), var(--deep-green)); color: #fff; }
.tile.big p { color: #fff; }
.tile.wide { grid-column: span 2; }
.tile.gold { background: var(--gold-100); }
.tile.mint { background: var(--brand-50); }
.big-number { display: flex; align-items: center; gap: 14px; font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: 1; color: #fff; margin: 18px 0 8px; }
.big-number .coin { width: 70px; height: 70px; font-size: 2rem; }
.route-dots { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.route-dots span { width: 14px; height: 14px; border-radius: 50%; background: rgb(255 255 255 / 25%); }
.route-dots span.on { background: var(--gold-300); }
.week { display: flex; gap: 8px; margin-top: 18px; }
.week span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: 0.85rem; }
.week span.done { background: var(--brand-600); color: #fff; }
.week span.bonus { background: var(--gold-300); color: var(--ink); }
.tile img.peek { position: absolute; right: -10px; bottom: -10px; width: 140px; }
.qr-art {
  position: absolute; right: 22px; bottom: 22px; width: 88px; height: 88px; border-radius: 12px; border: 6px solid #fff;
  background:
    conic-gradient(from 90deg at 18px 18px, var(--ink) 25%, transparent 0) 0 0 / 38px 38px,
    repeating-linear-gradient(45deg, var(--ink) 0 4px, transparent 4px 9px);
  box-shadow: var(--shadow-card);
}

/* How it works as a walking path */
.path { position: relative; max-width: 860px; margin: 0 auto; list-style: none; padding: 0; }
.path::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; border-left: 4px dotted var(--brand-300); margin-left: -2px; }
.path li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 36px; counter-increment: path; }
.path li > div { background: var(--surface); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.path li:nth-child(even) > div { grid-column: 2; }
.path li::after {
  content: counter(path); position: absolute; left: 50%; top: 18px; width: 46px; height: 46px; margin-left: -23px;
  display: grid; place-items: center; border-radius: 50%; background: var(--gold-300); color: var(--ink); font-weight: 800;
  box-shadow: 0 0 0 6px var(--cream);
}
.path { counter-reset: path; }
.path h3 { margin-bottom: 4px; }
.path p { margin: 0; color: var(--ink-muted); }

/* Pricing table */
.compare-wrap { overflow-x: auto; border-radius: 26px; box-shadow: var(--shadow-card); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 700; }
.compare thead th { background: var(--surface-muted); vertical-align: bottom; }
.compare thead th.hl { background: var(--green); color: #fff; }
.compare td.hl { background: var(--brand-50); }
.compare .tier { display: block; font-size: 1.1rem; font-weight: 800; }
.compare .amount { display: block; font-size: 1.6rem; font-weight: 800; margin-top: 4px; }
.compare .per { font-size: 0.85rem; opacity: 0.75; font-weight: 700; }
.yes { color: var(--brand-600); font-weight: 800; font-size: 1.2rem; }
.no { color: #b5c0bb; }
.compare tfoot td { border-bottom: 0; }

.swipe-hint { display: none; text-align: center; color: var(--brand-600); font-weight: 800; font-size: 0.9rem; margin: 12px 0 0; }

/* FAQ in two columns */
.faq.two { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; }

/* Closing band */
.f-close {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 36px 40px;
  border-radius: 32px; background: linear-gradient(160deg, var(--green), var(--deep-green)); color: #fff;
}
.f-close img { width: 120px; }
.f-close p { color: #fff; margin: 0; }
.f-close h2 { margin-bottom: 6px; }

/* Small laptops: a smaller scene so the shop stays on screen. */
@media (min-width: 881px) and (max-width: 1320px) {
  .phone { translate: -40px 0; }
  .f-shop-wrap { width: 290px; right: 16px; bottom: -24px; }
  .f-toast { right: -8px; }
  .f-mascot { width: 140px; left: -70px; }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .f-mascot { display: none; }
  .phone { translate: -80px 0; }
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.big { grid-column: span 2; grid-row: span 1; }
  .f-close { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 880px) {
  .f-hero { padding-bottom: 72px; }
  .f-hero-grid, .duo, .faq.two { grid-template-columns: 1fr; }
  .f-stage { min-height: 560px; }
  .f-mascot { left: 8%; }
  .f-shop-wrap { right: 8%; }
  .duo-card { min-height: 480px; padding: 32px 24px 0; }
  .duo-card ul { max-width: 60%; }
  .path::before { left: 23px; }
  .path li { grid-template-columns: 1fr; padding-left: 64px; gap: 0; }
  .path li:nth-child(even) > div { grid-column: 1; }
  .path li::after { left: 23px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: span 1; }
  .phone { width: 250px; height: 510px; transform: rotate(2deg); translate: -30px 0; }
  .f-stage { min-height: 580px; }
  .f-mascot { display: none; }
  .f-shop-wrap { width: 230px; right: -10px; bottom: 0; }
  .f-toast { right: -4px; top: -6px; padding: 8px 12px; font-size: 0.82rem; }
  .duo-card { min-height: 0; }
  .duo-card ul { max-width: none; }
  .duo-card img { position: relative; right: auto; align-self: center; width: 170px; margin-top: 20px; }
  .compare { min-width: 540px; font-size: 0.88rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare .amount { font-size: 1.25rem; }
  .swipe-hint { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .f-toast { animation: none; }
}

/* Keep tile text clear of the picture in the corner. */
.tile:has(.peek) h3, .tile:has(.peek) p { max-width: 58%; }
.tile:has(.qr-art) p { padding-right: 120px; }
