/* Fonts live here, not in a separate file: site.css is versioned (?v=hash), so a font change always reaches visitors. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage.woff2) format('woff2-variations'), url(/assets/fonts/bricolage.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/figtree.woff2) format('woff2-variations'), url(/assets/fonts/figtree.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* UP BUDGET UP store. One light theme on purpose: warm off-white, brand green, deep forest for contrast. */
:root {
  --green: #12a03f;
  --green-deep: #0e8a36;
  --green-dark: #0b6e2c;
  --forest: #0b3d22;
  --lime: #8be012;
  --mint: #e3f6e5;
  --mint-2: #f1faf2;
  --cream: #fbfaf5;
  --ink: #15201a;
  --ink-2: #5b665e;
  --ink-3: #7d877f;
  --on-dark-2: #b9d3c2;
  --line: #e6e8e1;
  --white: #ffffff;
  /* Product colors, taken from each sheet */
  --debt: #d9443c; --debt-tint: #fcebe9;
  --bills: #3a6fd8; --bills-tint: #e8eefb;
  --goals: #7b5cd6; --goals-tint: #efebfb;
  --week: #1f8a5b; --week-tint: #e2f3ea;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(10, 51, 26, 0.05), 0 10px 28px rgba(10, 51, 26, 0.08);
  --shadow-lift: 0 2px 4px rgba(10, 51, 26, 0.06), 0 22px 48px rgba(10, 51, 26, 0.16);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--green-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: max(var(--gutter-l), 4.4vw); padding-right: max(var(--gutter-r), 4.4vw); }
@media (min-width: 1400px) { .wrap { padding-left: 64px; padding-right: 64px; } }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small round check icon */
.check { width: 18px; height: 18px; flex: none; }
.check circle { fill: var(--green); }
.check path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.ticks.stacked { flex-direction: column; gap: 10px; }
.ticks.stacked li { color: var(--ink); font-size: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; white-space: nowrap; }
.btn-big { min-height: 56px; padding: 18px 30px; font-size: 17px; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(18, 160, 63, 0.3); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18, 160, 63, 0.34); }
.btn-secondary { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px #c9d3c9; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #26352b; transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #f2fff4; transform: translateY(-1px); }
.btn-ghost { background: var(--mint); color: var(--green-dark); }
.btn-ghost:hover { background: #d4f0d8; }
.btn-small { padding: 10px 20px; font-size: 15px; min-height: 46px; }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand-link { display: inline-block; padding: 8px 0; }
.brand-link img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:not(.btn):hover { color: var(--green-deep); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 12px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } .site-header .wrap { height: 64px; } .brand-link img { height: 34px; } }

/* Hero: no scroll lock. Visual slides in once on load. */
.hero { padding: 48px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--green-deep); font-weight: 600; font-size: 14px; padding: 8px 16px 8px 14px; border-radius: 999px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: 0.95; letter-spacing: -0.045em; }
.hero h1 .accent { color: var(--green); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 34ch; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-cta.center { justify-content: center; }
.bundle-note { margin-top: 14px; font-size: 14px; }

.hero-visual { position: relative; aspect-ratio: 688 / 600; width: 100%; container-type: inline-size; }
.hero-visual .panel { position: absolute; left: 12.8%; top: 5%; right: 0; bottom: 5%; border-radius: 48px; background: linear-gradient(135deg, var(--green) 0%, #4cc22a 55%, var(--lime) 100%); }
.hero-visual .hero-window { position: absolute; left: 5.8%; top: 17.3%; width: 83.7%; box-shadow: 0 24px 48px rgba(10, 51, 26, 0.22); }
/* Phone mockup (Figma component "Phone mockup"). Sizes use --u (1% of the phone width) so it scales as one piece. */
.hero-phone { position: absolute; left: 72.5%; top: 35.7%; width: 25.9%; --u: 0.259cqw; }
.hero-phone .screen { position: relative; aspect-ratio: 166 / 348; margin: 0; border: calc(3.4 * var(--u)) solid #1b1f1c; box-sizing: content-box; border-radius: calc(20.2 * var(--u)); background: var(--white); overflow: hidden; box-shadow: 0 0 0 calc(0.85 * var(--u)) #4a514c, 0 calc(12 * var(--u)) calc(25 * var(--u)) rgba(10, 51, 26, 0.32); }
.hero-phone .screen::before { content: ""; position: absolute; z-index: 2; left: 50%; top: calc(4.5 * var(--u)); width: calc(28 * var(--u)); height: calc(8.4 * var(--u)); margin-left: calc(-14 * var(--u)); border-radius: calc(5 * var(--u)); background: #0a0c0b; }
.hero-phone .screen::after { content: ""; position: absolute; z-index: 2; left: 50%; bottom: calc(3 * var(--u)); width: calc(31 * var(--u)); height: calc(2.2 * var(--u)); margin-left: calc(-15.5 * var(--u)); border-radius: calc(2 * var(--u)); background: rgba(21, 32, 26, 0.85); }
.hero-phone .status { display: flex; align-items: center; justify-content: space-between; height: calc(18 * var(--u)); padding: 0 calc(11 * var(--u)) 0 calc(12.5 * var(--u)); font: 700 calc(6.4 * var(--u))/1 var(--body); color: var(--ink); }
.hero-phone .status .icons { width: calc(22.5 * var(--u)); height: auto; }
.hero-phone img { width: 100%; }
/* Side buttons */
.hero-phone::before { content: ""; position: absolute; left: calc(-1.7 * var(--u)); top: calc(54 * var(--u)); width: calc(1.7 * var(--u)); height: calc(19 * var(--u)); border-radius: calc(1 * var(--u)) 0 0 calc(1 * var(--u)); background: #2b302c; box-shadow: 0 calc(22.5 * var(--u)) 0 #2b302c; }
.hero-phone::after { content: ""; position: absolute; right: calc(-1.7 * var(--u)); top: calc(60 * var(--u)); width: calc(1.7 * var(--u)); height: calc(29 * var(--u)); border-radius: 0 calc(1 * var(--u)) calc(1 * var(--u)) 0; background: #2b302c; }
.hero-badge { position: absolute; left: 0; top: 0; width: 18.6%; border-radius: 26%; box-shadow: 0 12px 24px rgba(10, 51, 26, 0.2); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 10px 16px 10px 12px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 24px rgba(10, 51, 26, 0.16); white-space: nowrap; }
.chip-a { left: 43.6%; top: 8.3%; }
.chip-b { left: 10.2%; top: 84.7%; }

/* Window frame around real sheet screenshots */
.window { background: var(--white); border-radius: 18px; overflow: hidden; }
.window .bar, .product-shot .bar { display: flex; gap: 7px; padding: 12px 16px; background: var(--cream); }
.window .bar i, .product-shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2), .product-shot .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3), .product-shot .bar i:nth-child(3) { background: #28c840; }
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }

/* Load-in motion (hero only, once) */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.js .hero-copy > * { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.05s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.1s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.15s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.2s; }
.js .hero-visual .panel { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .hero-visual .hero-window { animation: rise 0.7s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .hero-phone { animation: rise 0.7s 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.js .hero-badge { animation: pop 0.5s 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.js .chip-a { animation: pop 0.45s 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both, float 5s 1.2s ease-in-out infinite; }
.js .chip-b { animation: pop 0.45s 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both, float 5.5s 1.5s ease-in-out infinite; }

@media (max-width: 960px) {
  .hero { padding: 28px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(44px, 12.6vw, 72px); }
  .hero-cta { width: 100%; }
  .hero-cta .btn-primary { flex: 1 1 100%; }
  .hero-cta .btn-secondary { display: none; }
  .hero-visual { max-width: 560px; justify-self: center; }
  .chip { font-size: 12px; padding: 8px 12px 8px 10px; }
  .chip .check { width: 15px; height: 15px; }
  .chip-a { left: auto; right: 4%; top: 2%; }
  .chip-b { left: 3%; }
}

/* Benefit strip */
.strip { background: var(--forest); color: var(--white); }
.strip ul { list-style: none; margin: 0 auto; display: flex; justify-content: space-between; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.strip .check circle { fill: var(--lime); }
.strip .check path { stroke: var(--forest); }
@media (max-width: 760px) { .strip ul { justify-content: center; gap: 10px 18px; padding-top: 16px; padding-bottom: 16px; } .strip li { font-size: 13px; gap: 6px; } .strip li:nth-child(1), .strip li:nth-child(3) { display: none; } }

/* Sections */
section.block { padding: 104px 0; }
section.block.white { background: var(--white); }
section.block.flush { padding-top: 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; display: grid; gap: 14px; }
.section-head.left { margin-left: 0; text-align: left; max-width: 900px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 60px); }
.section-head p { color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 40em; }
@media (max-width: 640px) { section.block { padding: 64px 0; } .section-head { margin-bottom: 28px; } .section-head p { font-size: 17px; } }

/* Product themes */
.theme-planner { --tint: var(--mint); --accent: var(--green-deep); }
.theme-debt { --tint: var(--debt-tint); --accent: var(--debt); }
.theme-bills { --tint: var(--bills-tint); --accent: var(--bills); }
.theme-goals { --tint: var(--goals-tint); --accent: var(--goals); }
.theme-week { --tint: var(--week-tint); --accent: var(--week); }

/* Featured planner card */
.featured { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--tint); border-radius: 32px; padding: 40px 40px 40px 48px; }
.featured .copy { display: grid; gap: 18px; justify-items: start; }
.tag { background: var(--green); color: var(--white); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.featured h3 { font-size: clamp(36px, 3.6vw, 48px); }
.featured .lead { color: var(--ink-2); font-size: 19px; line-height: 1.5; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.buy .price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.more { font-weight: 600; font-size: 15px; color: var(--accent, var(--green-deep)); text-decoration: none; display: inline-block; padding: 11px 0; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.preview { display: block; border-radius: 18px; transition: transform 0.25s ease; }
.preview .window { box-shadow: 0 18px 40px rgba(10, 51, 26, 0.14); }
.preview:hover { transform: translateY(-4px); }
@media (max-width: 960px) {
  .featured { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; border-radius: 24px; }
  .featured .preview { order: -1; }
  .featured .copy { gap: 14px; padding: 4px 6px 8px; }
  .buy .price { font-size: 36px; }
}

/* Add-on cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.card { background: var(--tint); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; align-content: start; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .info { display: flex; align-items: center; gap: 16px; }
.card .badge { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.card h3 { font-size: 28px; letter-spacing: -0.03em; }
.card .info p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .price-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card .price { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
  .card { padding: 18px; gap: 16px; border-radius: 24px; }
  .card .badge { width: 44px; height: 44px; border-radius: 12px; }
  .card h3 { font-size: 22px; }
  .card .info p { font-size: 14px; }
  .card .price { font-size: 26px; }
  .card .more { font-size: 13px; }
}

/* Bundle */
.bundle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--forest); color: var(--white); border-radius: 32px; padding: 48px 40px 48px 56px; margin-top: 24px; overflow: hidden; }
.bundle .copy { display: grid; gap: 18px; justify-items: start; }
.bundle .eyebrow { color: var(--lime); }
.bundle h3 { font-size: clamp(34px, 4vw, 56px); }
.bundle p { color: var(--on-dark-2); font-size: 19px; line-height: 1.5; max-width: 26em; }
.bundle .buy .price { color: var(--white); font-size: 48px; }
.bundle s { color: var(--on-dark-2); font-weight: 500; font-size: 17px; }
.bundle .stack { position: relative; aspect-ratio: 600 / 340; }
.bundle .stack img { position: absolute; width: 50%; border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35); aspect-ratio: 300 / 210; object-fit: cover; object-position: left top; background: var(--white); }
.bundle .stack img:nth-child(1) { left: 0; top: 12%; transform: rotate(-6deg); }
.bundle .stack img:nth-child(2) { left: 25%; top: 3%; transform: rotate(3deg); }
.bundle .stack img:nth-child(3) { left: 50%; top: 15%; transform: rotate(-2deg); }
.bundle .stack .badge { width: 20%; left: 75%; top: 62%; aspect-ratio: 1; border-radius: 26%; transform: none; }
@media (max-width: 960px) {
  .bundle { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 20px; border-radius: 24px; }
  .bundle .stack { order: -1; }
  .bundle .copy { gap: 12px; }
  .bundle p { font-size: 16px; }
  .bundle .buy .price { font-size: 36px; }
  .bundle .buy .btn { flex: 1 1 100%; }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 28px 28px 0; display: grid; gap: 14px; align-content: start; overflow: hidden; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 18px; }
.step h3 { font-size: 26px; letter-spacing: -0.025em; }
.step p { color: var(--ink-2); font-size: 16px; }
.step .shot { border-radius: 14px 14px 0 0; overflow: hidden; background: var(--white); aspect-ratio: 16 / 10; margin-top: 6px; box-shadow: 0 8px 24px rgba(10, 51, 26, 0.1); }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; } .step { padding: 22px 22px 0; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-grid .section-head { margin: 0; }
.faq-grid .section-head h2 { font-size: clamp(36px, 4vw, 56px); }
.faq-grid .section-head p { font-size: 17px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 64px 20px 24px; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--mint); color: var(--green-deep); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faq summary { font-size: 16px; padding: 18px 56px 18px 18px; } .faq summary::after { right: 16px; } .faq details p { padding: 0 18px 18px; } }

/* Final CTA */
.final { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: center; background: linear-gradient(90deg, var(--green-deep), var(--green)); color: var(--white); border-radius: 40px; padding: 56px 64px; }
.final .mascot { width: 240px; aspect-ratio: 1; border-radius: 50%; background: #f7f7f7; overflow: hidden; display: grid; place-items: center; }
.final video, .final img { width: 92%; height: auto; }
.final h2 { font-size: clamp(36px, 4.6vw, 64px); }
.final p { margin: 14px 0 26px; color: #d7f3dd; font-size: 20px; }
@media (max-width: 760px) { .final { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding: 32px 22px; gap: 20px; border-radius: 28px; } .final .mascot { width: 170px; } .final p { font-size: 17px; } }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.site-footer img { height: 36px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.site-footer nav a { display: inline-block; padding: 11px 2px; font-size: 15px; }
.footer-contact { flex-basis: 100%; }
.footer-contact a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--green-deep); }

/* Product page */
.product-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
.product-visual { position: relative; background: var(--tint); border-radius: 32px; padding: 9% 7% 9% 9%; }
.product-visual .window { box-shadow: 0 18px 40px rgba(10, 51, 26, 0.16); }
.product-visual .badge { position: absolute; left: -14px; top: -14px; width: 22%; max-width: 120px; border-radius: 26%; box-shadow: 0 12px 24px rgba(10, 51, 26, 0.2); }
.product-hero h1 { font-size: clamp(38px, 4.6vw, 60px); margin-top: 10px; }
.product-hero .tagline { font-size: 20px; color: var(--ink-2); margin-top: 14px; }
.product-hero .blurb { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.product-hero .buy { margin-top: 28px; }
.features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.features .check { margin-top: 3px; }
.product-shot { margin-bottom: 96px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--white); max-width: 1000px; margin-left: auto; margin-right: auto; }
.product-shot img { width: 100%; }
.breadcrumb { font-size: 14px; padding-top: 24px; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
@media (max-width: 860px) { .product-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; } .product-visual { margin-top: 14px; } .product-visual .badge { left: -6px; top: -14px; } .product-hero .buy .btn { flex: 1 1 auto; } .product-shot { margin-bottom: 64px; border-radius: 18px; } }

/* Prose pages (legal) */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 0 96px; }
.prose h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 8px; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose .updated { color: var(--ink-3); font-size: 14px; }
.fill { background: #fff3c4; color: #7a4a00; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Thank-you */
.thanks { max-width: 680px; margin: 0 auto; padding: 32px 0 96px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.thanks video, .thanks img.still { width: 240px; height: auto; border-radius: 50%; }
.thanks video, .final video { filter: brightness(1.04) contrast(1.02); }
.thanks h1 { font-size: clamp(36px, 4.6vw, 56px); }
.thanks .lead { color: var(--ink-2); font-size: 18px; }
.links { width: 100%; display: grid; gap: 12px; margin-top: 12px; text-align: left; }
.link-row { display: flex; align-items: center; gap: 14px; border-radius: var(--radius-sm); padding: 12px 14px; background: var(--white); box-shadow: var(--shadow); }
.link-row img { width: 52px; height: 52px; border-radius: 22%; }
.link-row .name { font-weight: 600; flex: 1; min-width: 0; }
.notice { background: var(--mint); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink-2); font-size: 15px; width: 100%; }

/* Checkout drawer */
.drawer { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: minmax(0, 1fr); justify-items: end; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(20, 28, 24, 0.45); opacity: 0; transition: opacity 0.25s; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: relative; width: min(440px, 100%); height: 100%; max-height: 100vh; max-height: 100dvh; background: var(--white); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.open .panel { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 26px; }
.icon-btn { border: 0; background: var(--mint-2); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; cursor: pointer; color: var(--ink); }
.drawer .body { overflow-y: auto; padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.opt { display: grid; grid-template-columns: auto 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.opt:hover { border-color: #bfe6c7; }
.opt.checked { border-color: var(--green); background: var(--mint-2); }
.opt input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; }
.opt img { width: 48px; height: 48px; border-radius: 22%; }
.opt .t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.opt .s { font-size: 13px; color: var(--ink-3); }
.opt .p { font-family: var(--display); font-weight: 800; }
.opt.bundle-opt { border-style: dashed; }
.opt.disabled { opacity: 0.45; pointer-events: none; }
.drawer .label { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
.drawer footer { border-top: 1px solid var(--line); padding: 14px 20px; display: grid; gap: 10px; box-shadow: 0 -8px 20px rgba(16, 36, 24, 0.06); }
.drawer .body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.nudge { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--mint); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; color: var(--green-dark); }
.nudge b { font-weight: 700; }
.nudge .btn { flex: none; }
.consent a { color: var(--green-deep); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total .amt { font-family: var(--display); font-weight: 800; font-size: 30px; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.consent input { width: 18px; height: 18px; accent-color: var(--green); margin: 1px 0 0; }
.drawer .msg { font-size: 14px; color: #b42318; min-height: 1em; }
.drawer #pay { width: 100%; padding: 17px; font-size: 17px; }
.secure { font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* Reveal on scroll (starts visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.js .card.reveal.in:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
