/* Optional Labs. Visual language after the Wise theme (VoltAgent/awesome-design-md):
   white canvas, sage neutrals, lime for every primary action, forest display ink,
   very heavy display type, large radii. Font: Inter (OFL), self-hosted. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/inter-latin-900-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --canvas: #ffffff;
  --sage: #e8ebe6;
  --sage-deep: #d9ded5;
  --pale: #e2f6d5;
  --lime: #9fe870;
  --lime-hover: #b4f08d;
  --lime-press: #8ad65a;
  --ink: #0e0f0c;
  --forest: #163300;
  --forest-hover: #224a04;
  --danger: #d03238;
  --danger-hover: #a72027;
  --heading: #163300;        /* display and heading text on canvas, sage, pale */
  --on-deep: #e2f6d5;        /* text on forest surfaces */
  --bezel: #0e0f0c;          /* phone frame */
  --chip-soft: rgb(255 255 255 / 0.7);
  --card-soft: rgb(255 255 255 / 0.6);
  --ghost-soft: rgb(14 15 12 / 0.08);
  --ghost-soft-hover: rgb(14 15 12 / 0.14);
  --body: #454745;
  --mute: #6a6c6a;
  --line: rgb(14 15 12 / 0.1);
  --radius-lg: 32px;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 2px 6px rgb(14 15 12 / 0.05), 0 28px 56px -24px rgb(14 15 12 / 0.3);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--sage-deep) var(--canvas); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lime); color: var(--forest); font-weight: 600; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display { font-weight: 900; color: var(--heading); letter-spacing: -0.04em; line-height: 0.9; text-wrap: balance; }
.h2 { font-size: clamp(40px, 6vw, 80px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--body); line-height: 1.5; max-width: 34ch; }

/* Buttons: pills, lime primary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 16px/1.2 "Inter", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: var(--lime-hover); transform: scale(1.03); }
.btn-lime:active { background: var(--lime-press); transform: scale(0.97); }
.btn:active { transform: scale(0.97); }
.btn-sage { background: var(--sage); color: var(--ink); }
.btn-sage:hover { background: var(--sage-deep); }
.btn-ink { background: var(--forest); color: var(--lime); }
.btn-ink:hover { background: var(--forest-hover); }
.btn-lg { min-height: 60px; padding: 16px 32px; font-size: 18px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--canvas); transition: box-shadow 0.25s ease; }
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgb(14 15 12 / 0.4); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; letter-spacing: -0.03em; color: var(--heading); text-decoration: none; }
.brand img { width: 36px; height: 36px; transition: transform 0.4s var(--ease-out); }
.brand:hover img { transform: rotate(-12deg); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); transition: background-color 0.2s ease; }
.nav a:not(.btn):hover { background: var(--sage); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; margin-left: 8px; }

/* Footer */
.foot { background: var(--forest); color: var(--on-deep); margin-top: 24px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 72px; padding-bottom: 40px; }
.foot .brand { color: var(--lime); }
.foot .brand img { background: var(--canvas); border-radius: 50%; }
.foot p { color: rgb(226 246 213 / 0.78); font-size: 15px; margin-top: 16px; max-width: 30ch; }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--lime); margin-bottom: 14px; }
.foot li + li { margin-top: 10px; }
.foot a { color: var(--on-deep); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--lime); text-decoration: underline; }
.foot-base { border-top: 1px solid rgb(226 246 213 / 0.16); padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgb(226 246 213 / 0.7); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero-title { font-size: clamp(48px, 6.6vw, 96px); line-height: 0.92; }
.hero-title span { display: block; }
.hero .lede { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Receipt */
.receipt { background: var(--canvas); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 32px); }
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 36px; }
.receipt-head h2 { font-size: 15px; font-weight: 600; color: var(--mute); text-wrap: balance; }
.replay { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--sage); color: var(--ink); font: 600 13px/1 "Inter", sans-serif; padding: 9px 12px; border-radius: 999px; cursor: pointer; transition: background-color 0.2s ease; }
.replay:hover { background: var(--sage-deep); }
.replay svg { width: 14px; height: 14px; }
.receipt-rows { display: grid; gap: 10px; }
.row { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--sage); overflow: hidden; }
.row img { width: 48px; height: 48px; border-radius: 13px; flex: none; }
.row-name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.25; }
.row-name small { display: block; font-weight: 400; color: var(--body); font-size: 14px; margin-top: 2px; }
.row-val { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-check { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); position: relative; flex: none; }
.row-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid var(--forest); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.receipt-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 2px solid var(--ink); margin-top: 20px; padding-top: 16px; font-weight: 600; font-size: 18px; }
.receipt-total strong { font-weight: 900; font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; color: var(--heading); }
.receipt figcaption { margin-top: 14px; font-size: 14px; color: var(--mute); max-width: 44ch; }

/* Receipt check sequence (only when JS runs; the receipt is complete without it) */
.js .receipt .row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(159 232 112 / 0.55), transparent); transform: translateX(-100%); }
.js .receipt.is-checking .row { opacity: 0.55; }
.js .receipt.is-checking .row .row-val { opacity: 0; transform: translateY(6px); }
.js .receipt.is-checking .receipt-total strong { opacity: 0; transform: scale(1.35); filter: blur(6px); }
.js .receipt .row, .js .receipt .row-val { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.js .receipt .receipt-total strong { transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), filter 0.5s var(--ease-out); }
.js .receipt .row.is-scan::before { animation: scan 0.7s var(--ease-out) forwards; }
.js .receipt .row.is-done { opacity: 1; }
.js .receipt .row.is-done .row-val { opacity: 1; transform: none; }
@keyframes scan { to { transform: translateX(100%); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero .lede { max-width: 40ch; }
}
@media (max-width: 520px) {
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn-lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
}
@media (max-width: 420px) {
  .row { padding: 12px 14px 12px 12px; gap: 12px; }
  .row img { width: 40px; height: 40px; border-radius: 11px; }
  .row-val { font-size: 19px; gap: 8px; }
  .row-check { width: 18px; height: 18px; }
  .row-check::after { left: 6px; top: 3px; width: 5px; height: 9px; }
}

/* Section heads */
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { justify-self: end; }

/* Apps */
.apps { padding-bottom: clamp(64px, 9vw, 128px); }
.app-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.app {
  --bg: var(--sage); --fg: var(--ink); --name: var(--heading); --soft: var(--body); --chip: var(--chip-soft); --chip-fg: var(--ink); --ghost: var(--ghost-soft); --ghost-hover: var(--ghost-soft-hover);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px);
  background: var(--bg); color: var(--fg); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px);
}
.app-forest { --bg: var(--forest); --fg: var(--on-deep); --name: var(--lime); --soft: rgb(226 246 213 / 0.82); --chip: rgb(159 232 112 / 0.14); --chip-fg: var(--lime); --ghost: rgb(226 246 213 / 0.12); --ghost-hover: rgb(226 246 213 / 0.2); }
.app-lime { --bg: var(--lime); --soft: #24400f; --chip: rgb(22 51 0 / 0.1); --chip-fg: var(--forest); --ghost: rgb(22 51 0 / 0.1); --ghost-hover: rgb(22 51 0 / 0.18); }
.app-sage { --bg: var(--sage); }
.app-pale { --bg: var(--pale); }
.app-main { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.app-icon { width: clamp(72px, 7vw, 96px); height: clamp(72px, 7vw, 96px); border-radius: 24%; box-shadow: 0 12px 24px -12px rgb(14 15 12 / 0.45); }
.app-name { font-weight: 900; font-size: clamp(52px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.045em; color: var(--name); }
.app-job { margin-top: 12px; font-weight: 600; font-size: 17px; color: var(--soft); }
.app-body { display: flex; flex-direction: column; gap: 24px; justify-content: flex-end; }
.app-line { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 38ch; }
.app-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.app-facts li { background: var(--chip); color: var(--chip-fg); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-ghost { background: var(--ghost); color: inherit; }
.btn-ghost:hover { background: var(--ghost-hover); }
.status { font-weight: 600; font-size: 15px; color: var(--soft); padding-left: 6px; }

/* Problem and fix pairs (app bands, product pages) */
.pf { margin: 0; display: grid; gap: 18px; }
.pf-row { display: grid; gap: 8px; justify-items: start; }
.pf dt { font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--ghost); color: inherit; }
.pf-fix dt { background: var(--forest); color: var(--lime); }
.app-forest .pf-fix dt, .pd-forest .pf-fix dt { background: var(--lime); color: var(--forest); }
.pf dd { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 40ch; }
.pf-problem dd { color: var(--soft); }
.pf-big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; --ghost: var(--canvas); --soft: var(--body); }
.pf-big .pf-row { align-content: start; gap: 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--sage); }
.pf-big .pf-fix { background: var(--lime); }
.pf-big .pf-fix dt { background: var(--forest); color: var(--lime); }
.pf-big dd { font-weight: 900; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em; color: var(--forest); max-width: 22ch; }
.pf-big .pf-problem dd { color: var(--ink); }
@media (max-width: 760px) { .pf-big { grid-template-columns: 1fr; } }

/* Reveal (JS only) */
.js [data-reveal] { transform: translateY(40px) scale(0.98); transition: transform 0.9s var(--ease-out), box-shadow 0.4s ease; }
.js [data-reveal].is-in { transform: none; }

/* App band interaction: lift, tilt the icon, stagger the facts */
.app { transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease; }
.app .app-icon { transition: transform 0.6s var(--ease-out); }
.app-facts li { transition: transform 0.45s var(--ease-out), background-color 0.3s ease; }
.app.is-in:hover, .app.is-in:focus-within, .app:not([data-reveal]):hover { transform: translateY(-6px); box-shadow: 0 32px 56px -32px rgb(14 15 12 / 0.45); }
.app:hover .app-icon, .app:focus-within .app-icon { transform: rotate(-8deg) scale(1.06); }
.app:hover .app-facts li, .app:focus-within .app-facts li { transform: translateY(-4px); }
.app:hover .app-facts li:nth-child(2), .app:focus-within .app-facts li:nth-child(2) { transition-delay: 0.06s; }
.app:hover .app-facts li:nth-child(3), .app:focus-within .app-facts li:nth-child(3) { transition-delay: 0.12s; }
.app:target { box-shadow: 0 0 0 4px var(--heading); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .lede { justify-self: start; }
  .app { grid-template-columns: 1fr; border-radius: var(--radius); }
  .app-main { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .app-name { font-size: clamp(44px, 12vw, 64px); }
  .app-job { margin-top: 6px; font-size: 15px; }
}

/* How we build */
.how { background: var(--sage); padding: clamp(64px, 9vw, 128px) 0; }
.how-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-head { position: sticky; top: 112px; }
.how-head .lede { margin-top: 24px; }
.rules { display: grid; gap: 16px; }
.rule { background: var(--canvas); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); }
.rule h3 { font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 0.98; letter-spacing: -0.035em; color: var(--heading); margin-bottom: 24px; text-wrap: balance; }
.proof { display: grid; gap: 8px; }
.proof li { display: grid; grid-template-columns: 28px 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sage); }
.proof img { width: 28px; height: 28px; border-radius: 8px; align-self: center; }
.proof b { font-weight: 600; }
.proof span { color: var(--body); }

/* Close */
.close { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 88px); }
.close-in { background: var(--lime); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 80px); display: grid; gap: clamp(28px, 4vw, 48px); }
.close h2 { font-size: clamp(44px, 6.4vw, 96px); max-width: 11ch; }
.close-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.close-apps a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: rgb(255 255 255 / 0.55); color: var(--forest); font-weight: 900; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; text-decoration: none; transition: background-color 0.25s ease, transform 0.35s var(--ease-out); }
.close-apps a:hover { background: #ffffff; transform: translateY(-3px); }
.close-apps img { width: 56px; height: 56px; border-radius: 15px; flex: none; }

@media (max-width: 960px) {
  .how-in { grid-template-columns: 1fr; }
  .how-head { position: static; }
  .close-apps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .proof li { grid-template-columns: 28px minmax(0, 1fr); row-gap: 2px; }
  .proof li span { grid-column: 2; }
  .close-apps { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 112px); }
.legal-in { max-width: 72ch; }
.legal h1 { font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.04em; color: var(--heading); margin-bottom: 20px; }
.legal h2 { font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; color: var(--heading); margin: 44px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 14px; }
.legal li + li { margin-top: 6px; }

/* Product detail pages */
.pd-hero { --bg: var(--sage); --fg: var(--ink); --name: var(--heading); --soft: var(--body); --ghost: var(--ghost-soft); --ghost-hover: var(--ghost-soft-hover);
  background: var(--bg); color: var(--fg); padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.pd-forest { --bg: var(--forest); --fg: var(--on-deep); --name: var(--lime); --soft: rgb(226 246 213 / 0.82); --ghost: rgb(226 246 213 / 0.12); --ghost-hover: rgb(226 246 213 / 0.2); }
.pd-lime { --bg: var(--lime); --soft: #24400f; --ghost: rgb(22 51 0 / 0.1); --ghost-hover: rgb(22 51 0 / 0.18); }
.pd-sage { --bg: var(--sage); }
.pd-pale { --bg: var(--pale); }
.pd-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pd-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--soft); padding: 8px 14px 8px 10px; margin-left: -10px; border-radius: 999px; transition: background-color 0.2s ease; }
.pd-back:hover { background: var(--ghost); }
.pd-back svg { width: 18px; height: 18px; }
.pd-id { display: flex; align-items: center; gap: 16px; margin: 24px 0 28px; }
.pd-id .app-icon { width: 72px; height: 72px; }
.pd-name { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; color: var(--name); line-height: 1; }
.pd-job { font-weight: 600; font-size: 15px; color: var(--soft); margin-top: 6px; }
.pd-title { font-weight: 900; font-size: clamp(42px, 5.6vw, 84px); line-height: 0.94; letter-spacing: -0.04em; color: var(--name); text-wrap: balance; }
.pd-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--soft); max-width: 44ch; margin: 24px 0 32px; }
.pd-status { font-weight: 600; font-size: 15px; color: var(--soft); margin-top: 16px; }
.pd-art { display: flex; justify-content: center; }
.pd-art-icon img { width: clamp(160px, 22vw, 280px); height: auto; border-radius: 24%; box-shadow: 0 40px 80px -40px rgb(14 15 12 / 0.55); transform: rotate(-6deg); }
.pd-wide { width: 100%; height: auto; border-radius: var(--radius-lg); }
.pd-wide-lg { max-width: 880px; margin: 0 auto; box-shadow: var(--shadow); }

/* Phone frame around real screenshots */
.phone { position: relative; background: var(--bezel); padding: 10px; border-radius: 44px; box-shadow: 0 2px 6px rgb(14 15 12 / 0.12), 0 40px 72px -36px rgb(14 15 12 / 0.55); }
.phone img { width: 100%; height: auto; border-radius: 34px; background: var(--canvas); }
.phone-lg { width: min(100%, 320px); margin: 0; transform: rotate(3deg); }

.pd-section { padding-top: clamp(64px, 8vw, 112px); }
.pd-note { color: var(--mute); font-size: 15px; margin-top: 20px; }

/* Screen gallery: scroll-snap, swipe on phones, buttons on desktop */
.gallery { position: relative; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 8px; margin: -12px 0 20px; }
.gnav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sage); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s var(--ease-out); }
.gnav:hover { background: var(--sage-deep); }
.gnav:active { transform: scale(0.94); }
.gnav:disabled { opacity: 0.35; cursor: default; }
.gnav svg { width: 20px; height: 20px; }
.shots { list-style: none; padding: 8px 0 24px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 272px); gap: clamp(20px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-x: contain; scrollbar-width: thin; }
.shots:focus-visible { outline-offset: 6px; }
.shot { scroll-snap-align: start; }
.shot figure { display: grid; gap: 18px; }
.shot figcaption { font-size: 15px; line-height: 1.45; color: var(--body); }
.shot figcaption strong { display: block; font-weight: 900; font-size: 19px; letter-spacing: -0.02em; color: var(--heading); margin-bottom: 4px; }
.kinds { display: flex; flex-wrap: wrap; gap: 12px; }
.kinds li { background: var(--pale); color: var(--heading); font-weight: 900; letter-spacing: -0.02em; font-size: clamp(20px, 2.4vw, 32px); padding: 14px 24px; border-radius: 999px; }

/* Steps */
.pd-steps-wrap { background: var(--sage); margin-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.pd-steps { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-steps li { background: var(--canvas); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--forest); font-weight: 900; font-size: 22px; margin-bottom: 20px; }
.pd-steps h3 { font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; color: var(--heading); line-height: 1.05; margin-bottom: 10px; }
.pd-steps p { color: var(--body); }

/* Features */
.pd-features { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(24px, 4vw, 56px); }
.pd-features li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
.pd-features h3 { font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.pd-features p { color: var(--body); }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); position: relative; margin-top: 1px; }
.tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px; border: solid var(--forest); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Privacy band */
.pd-privacy { --bg: var(--sage); --fg: var(--ink); --name: var(--heading); --soft: var(--body); background: var(--bg); color: var(--fg); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 72px); }
.pd-privacy.pd-forest { --bg: var(--forest); --fg: var(--on-deep); --name: var(--lime); --soft: rgb(226 246 213 / 0.82); }
.pd-privacy.pd-lime { --bg: var(--lime); --soft: #24400f; }
.pd-privacy.pd-pale { --bg: var(--pale); }
.pd-privacy h2 { font-size: clamp(36px, 4.6vw, 64px); color: var(--name); max-width: 16ch; }
.pcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.pcol { background: var(--card-soft); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); }
.pd-forest .pcol { background: rgb(226 246 213 / 0.1); color: var(--on-deep); }
.pcol h3 { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.pcol li { padding: 8px 0 8px 22px; position: relative; }
.pcol li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.pd-privacy-note { margin-top: 24px; color: var(--soft); max-width: 68ch; }

/* Get it */
.pd-get { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.pd-get h2 { font-size: clamp(40px, 5vw, 72px); }
.pd-get .pd-status { color: var(--body); }
.pd-facts { margin: 28px 0 0; display: grid; gap: 8px; }
.pd-facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 18px; background: var(--sage); border-radius: var(--radius-sm); }
.pd-facts dt { font-weight: 600; }
.pd-facts dd { margin: 0; color: var(--body); }
.pd-get-actions { display: grid; gap: 14px; justify-items: start; }
.pd-support { color: var(--body); font-weight: 600; font-size: 15px; }
.close-sage { background: var(--sage); }
.close-sage .close-apps a { background: var(--canvas); }
.close-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .pd-hero-in, .pd-get { grid-template-columns: 1fr; }
  .pd-art { justify-content: flex-start; }
  .phone-lg { width: min(72%, 280px); transform: rotate(2deg); }
  .pd-steps { grid-template-columns: 1fr; }
  .close-3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 680px) {
  .pd-features, .pcols { grid-template-columns: 1fr; }
  .close-3 { grid-template-columns: 1fr; }
  .shots { grid-auto-columns: 72%; }
  .pd-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* Mobile menu (a details element, so it works without JavaScript) */
.menu { display: none; position: relative; }
.menu-btn { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--sage); font-weight: 600; font-size: 15px; cursor: pointer; user-select: none; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color 0.2s ease; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 2 * var(--gutter))); background: var(--canvas); border-radius: var(--radius); box-shadow: 0 2px 8px rgb(14 15 12 / 0.08), 0 32px 64px -24px rgb(14 15 12 / 0.4); padding: 10px; display: grid; gap: 6px; }
.menu[open] .menu-panel { animation: menu-in 0.35s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.menu-apps a { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 900; letter-spacing: -0.02em; color: var(--heading); }
.menu-apps a:hover { background: var(--sage); }
.menu-apps img { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; }
.menu-apps small { font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--body); }
.menu-links { border-top: 0; display: grid; gap: 2px; padding: 6px 0 2px; }
.menu-links a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sage); text-decoration: none; font-weight: 600; }
.menu-links a:hover { background: var(--sage-deep); }

/* Receipt rows link to each product page */
a.row { color: inherit; text-decoration: none; transition: background-color 0.2s ease, transform 0.3s var(--ease-out); }
a.row:hover { background: var(--sage-deep); }
a.row:active { transform: scale(0.99); }

/* Official store badges, unmodified */
.badges { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-badge { display: inline-flex; border-radius: 9px; transition: transform 0.25s var(--ease-out); }
.store-badge:hover { transform: scale(1.03); }
.store-badge img { height: 45px; width: auto; }
.store-badge.gp { margin: -10px -6px; }
.store-badge.gp img { height: 65px; }

/* About page */
.about-hero { padding-top: clamp(24px, 4vw, 56px); }
.about-hero .pd-title { max-width: 15ch; }
.about-hero .pd-lede { max-width: 52ch; }
.about-apps { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-apps a { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--sage); color: var(--body); text-decoration: none; transition: background-color 0.2s ease, transform 0.3s var(--ease-out); }
.about-apps a:hover { background: var(--sage-deep); transform: translateY(-2px); }
.about-apps img { width: 64px; height: 64px; border-radius: 17px; flex: none; }
.about-apps strong { display: block; font-weight: 900; font-size: 24px; letter-spacing: -0.03em; color: var(--heading); margin-bottom: 2px; }
.legal-note { background: var(--pale); color: var(--heading) !important; padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px !important; }
@media (max-width: 680px) { .about-apps { grid-template-columns: 1fr; } }

/* Account page (Optional app sign-in and account deletion) */
.account { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 112px); }
.account-in { max-width: 640px; }
.account-title { font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; }
.account .lede { max-width: 48ch; margin-bottom: 28px; }
.acct-card { background: var(--canvas); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 40px); margin-bottom: 16px; }
.acct-card h2, .acct-help h2 { font-weight: 900; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; color: var(--heading); margin-bottom: 8px; }
.acct-muted { color: var(--body); }
.acct-providers { display: grid; gap: 10px; margin-top: 20px; }
.acct-providers .btn { width: 100%; }
.acct-or { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 14px; margin: 22px 0 6px; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct-form { display: grid; gap: 8px; margin-top: 12px; }
.acct-form label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.acct-form input { font: inherit; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--sage-deep); background: var(--canvas); color: var(--ink); min-height: 52px; transition: border-color 0.2s ease; }
.acct-form input:focus { outline: none; border-color: var(--forest); }
.acct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.acct-link { border: 0; background: none; font: 600 15px/1 "Inter", sans-serif; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 10px 4px; }
.acct-facts { margin: 16px 0 20px; }
.acct-danger { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--sage); }
.acct-danger p { color: var(--body); margin-bottom: 16px; max-width: 56ch; }
.btn-danger { background: var(--danger); color: #ffffff; }
.btn-danger:hover { background: var(--danger-hover); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.acct-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; background: var(--sage); }
.acct-status[data-kind="error"] { background: #fde8e8; color: #8a1c21; }
.acct-status[data-kind="success"] { background: var(--pale); color: var(--forest); }
.acct-done { background: var(--pale); box-shadow: none; }
.acct-done p { margin-bottom: 20px; }
.acct-help { margin-top: 32px; color: var(--body); }
.acct-help p + p { margin-top: 10px; }

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .menu { display: block; }
  .nav .btn { display: none; }
  .top-in { height: 64px; }
  .foot-in { grid-template-columns: 1fr 1fr; padding-top: 56px; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
