/* Sunday Prep Studio: sales page. Cream, deep green and warm ochre. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dmserif-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/dmserif-italic-latin.woff2") format("woff2"); }

:root {
  --cream: #f6f2e7;
  --paper: #fffdf8;
  --green: #174a31;
  --green-2: #1f6b45;
  --green-dark: #0f2f20;
  --sage: #e2ead6;
  --sage-2: #cfdcc0;
  --ochre: #d98a2b;
  --ink: #14231a;
  --ink-soft: #3f4f44;
  --ink-mute: #6a7a6f;
  --line: rgba(20,35,26,.14);
  --radius: 34px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
s { text-decoration-thickness: 2px; text-decoration-color: var(--ochre); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

h1, h2 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.04; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--green-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .95rem 1.7rem; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .25s; }
.btn-dark { background: #0c1a12; color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 16px 34px -16px rgba(23,74,49,.8); }
.btn-green:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--green-dark); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.2rem 2.1rem; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

/* Top bar */
.top { position: fixed; z-index: 50; inset: 16px 20px auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.top > * { pointer-events: auto; }
.top-nav { display: flex; align-items: center; gap: 6px; background: rgba(255,253,248,.78); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px -18px rgba(15,47,32,.5); }
.top-logo { display: grid; place-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; }
.top-logo img { height: 20px; width: auto; }
.top-link { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .2s; }
.top-link:hover { background: var(--sage); }
.top-cta { padding: .85rem 1.4rem; }

/* Hero */
.hero { margin: 12px; padding: clamp(44px, 6vw, 80px) clamp(20px, 5vw, 70px) clamp(40px, 6vw, 70px); border-radius: var(--radius); background: radial-gradient(70% 90% at 85% 40%, #dfe9d0 0%, transparent 70%), linear-gradient(180deg, #ecf1df 0%, var(--cream) 100%); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 4vw, 60px); align-items: center; position: relative; overflow: clip; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--green); color: var(--green); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; font-weight: 500; background: rgba(255,255,255,.4); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); }
.hero-sub { margin-top: 24px; max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.hero-buy { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.price-line { display: flex; align-items: baseline; gap: 10px; color: var(--ink-soft); }
.price-line s { font-size: 1.15rem; }
.price-line strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--green); line-height: 1; }
.price-line span { font-size: .9rem; }
.hero-trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink-soft); }
.hero-trust li::before { content: "✓"; color: var(--green-2); font-weight: 700; margin-right: 8px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 28px; box-shadow: 0 40px 80px -36px rgba(15,47,32,.55); }
.stat-chips { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-chips li { background: rgba(255,253,248,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; padding: 10px 8px; text-align: center; display: grid; line-height: 1.15; }
.stat-chips strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--green); }
.stat-chips span { font-size: .74rem; color: var(--ink-soft); }

/* Blocks */
.block { margin: 12px; padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 70px); border-radius: var(--radius); background: var(--paper); }
.block-sage { background: var(--sage); }
.block-head { max-width: 820px; margin-bottom: clamp(30px, 4vw, 54px); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--ochre); margin-bottom: 14px; }
.eyebrow-light { color: #f2c488; }
.block h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.js-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { position: relative; background: var(--cream); border-radius: 28px; padding: 38px 30px 34px; }
.quote-mark { position: absolute; top: 6px; left: 24px; font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--ochre); opacity: .5; }
.quote h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.12; margin: 28px 0 12px; }
.quote p { color: var(--ink-soft); }
.cost { margin-top: 14px; background: var(--green-dark); color: #f3f0e4; border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 22px; }
.cost-label { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #f2c488; }
.cost-big { font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; margin: 10px 0 14px; }
.cost-big span { font-size: .38em; color: #bcd0c2; font-family: var(--sans); }
.cost-sub { font-size: 1.15rem; max-width: 52ch; color: #dbe6dd; }
.cost-sub strong { color: #fff; }
.cost-note { font-size: .82rem; color: #9fb4a6; max-width: 70ch; }

/* Method */
.versus { display: grid; gap: 12px; }
.versus-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.versus-before, .versus-after { border-radius: 26px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.versus-before { background: rgba(255,253,248,.55); border: 1px dashed rgba(20,35,26,.25); color: var(--ink-soft); }
.versus-after { background: var(--green); color: #f3f0e4; }
.versus p { font-size: 1.08rem; }
.tag { justify-self: start; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.tag-no { background: rgba(20,35,26,.08); color: var(--ink-soft); }
.tag-yes { background: rgba(255,255,255,.16); color: #fff; }
.timeline-wrap { margin-top: clamp(30px, 4vw, 54px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 20px; align-items: start; }
.timeline { background: var(--paper); border-radius: 28px; padding: clamp(22px, 3vw, 38px); display: grid; gap: 4px; position: relative; }
.timeline li { display: grid; grid-template-columns: 70px 1fr; column-gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .t { grid-row: span 2; font-family: var(--serif); font-size: 1.7rem; color: var(--ochre); line-height: 1.1; }
.timeline h3 { font-family: var(--sans); font-weight: 650; font-size: 1.08rem; }
.timeline p { color: var(--ink-soft); font-size: .96rem; }
.timeline-page { margin: 0; background: var(--paper); border-radius: 28px; padding: 14px; transform: rotate(1.5deg); box-shadow: 0 30px 60px -36px rgba(15,47,32,.6); }
.timeline-page img { border-radius: 16px; }
.timeline-page figcaption, .peek figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--ink-mute); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefit { background: var(--cream); border-radius: 28px; padding: 30px 28px 34px; transition: transform .4s var(--ease), box-shadow .4s; }
.benefit:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15,47,32,.5); }
.b-num { font-family: var(--serif); font-size: 1.1rem; color: var(--ochre); }
.benefit h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin: 14px 0 10px; }
.benefit p { color: var(--ink-soft); }
.peek { margin-top: 14px; background: var(--sage); border-radius: 28px; padding: clamp(24px, 3vw, 40px) 0 clamp(20px, 3vw, 30px) clamp(20px, 3vw, 40px); }
.peek h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 20px; }
.peek-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px clamp(20px, 3vw, 40px) 16px 0; scrollbar-width: thin; }
.peek-track figure { margin: 0; flex: 0 0 min(300px, 72vw); scroll-snap-align: start; background: var(--paper); border-radius: 20px; padding: 10px; box-shadow: 0 18px 40px -26px rgba(15,47,32,.6); }
.peek-track img { border-radius: 12px; width: 100%; }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit-card { border-radius: 28px; padding: clamp(26px, 3.5vw, 42px); }
.fit-yes { background: var(--paper); }
.fit-no { background: rgba(255,253,248,.5); border: 1px dashed rgba(20,35,26,.28); }
.fit-card h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 18px; }
.fit-card li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.fit-card li::before { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.fit-yes li::before { content: "✓"; background: var(--green); color: #fff; }
.fit-no li::before { content: "✕"; background: rgba(20,35,26,.12); color: var(--ink-soft); }

/* Offer */
.offer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.stack { display: grid; gap: 12px; }
.stack-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; background: var(--cream); border-radius: 28px; padding: 16px 24px 16px 16px; }
.stack-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 18px; }
.stack-item h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.15; margin: 6px 0; }
.stack-item p { color: var(--ink-soft); font-size: .94rem; }
.stack-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--green-2); }
.tag-bonus { color: var(--ochre); }
.stack-value { font-weight: 700; color: var(--ink-mute); white-space: nowrap; font-size: .95rem; }
.stack-main { background: var(--sage); }
.total { background: var(--green-dark); color: #f3f0e4; border-radius: 28px; padding: clamp(26px, 3vw, 38px); position: sticky; top: 96px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; }
.total-row s { font-size: 1.5rem; color: #bcd0c2; text-decoration-color: var(--ochre); }
.total-today { border-bottom: 0; padding-top: 0; padding-bottom: 20px; }
.total-today strong { font-family: var(--serif); font-weight: 400; font-size: 3.6rem; line-height: 1; color: #fff; }
.total .btn-green { background: var(--ochre); color: #1b1206; box-shadow: none; }
.total .btn-green:hover { background: #e79a3c; }
.total-note { margin-top: 16px; font-size: .86rem; color: #a9bdaf; text-align: center; }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--cream); border: 2px solid var(--green); border-radius: 30px; padding: clamp(28px, 4vw, 56px); }
.seal { width: clamp(150px, 18vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-content: center; text-align: center; outline: 3px dashed var(--ochre); outline-offset: -12px; }
.seal strong { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; }
.seal span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; padding-inline: 18px; }
.guarantee h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.guarantee-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; max-width: 62ch; }
.guarantee-copy a { color: var(--green); font-weight: 600; }
.guarantee-small { font-size: .9rem !important; color: var(--ink-mute) !important; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--paper); border-radius: 24px; padding: 0 28px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; font-weight: 300; color: var(--green); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 66ch; }

/* Final */
.final { background: transparent; padding-top: 0; }
.final-card { background: var(--green); color: #f3f0e4; border-radius: 30px; text-align: center; padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 70px); background-image: radial-gradient(60% 80% at 80% 0%, rgba(217,138,43,.28), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(255,255,255,.1), transparent 60%); }
.final-card h2 { color: #fff; max-width: 18ch; margin-inline: auto; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.final-card .lead { color: #d3e0d6; margin: 20px auto 32px; }
.final-trust { margin-top: 18px; font-size: .9rem; color: #bcd0c2; }
.ps { max-width: 820px; margin: 34px auto 0; padding: 0 8px; color: var(--ink-soft); font-size: 1.05rem; }
.ps strong { color: var(--ochre); font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-right: 6px; }
.ps a { color: var(--green); font-weight: 600; }

/* Footer */
.foot { padding: 40px 24px 110px; text-align: center; color: var(--ink-soft); }
.foot-inner { display: grid; gap: 14px; justify-items: center; max-width: 820px; margin-inline: auto; }
.foot-logo { background: #fff; border-radius: 999px; padding: 12px 24px; }
.foot-logo img { height: 22px; width: auto; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot-disclaimer { font-size: .8rem; color: var(--ink-mute); }
.foot-copy { font-size: .85rem; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); transition: transform .4s var(--ease); display: none; }
.sticky-cta.is-on { transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .benefits, .problem-grid { grid-template-columns: 1fr 1fr; }
  .timeline-wrap, .offer { grid-template-columns: 1fr; }
  .timeline-page { max-width: 420px; justify-self: center; }
  .total { position: static; }
  .hide-md { display: none; }
}
@media (max-width: 720px) {
  .top { inset: 10px 10px auto; justify-content: center; }
  .top-cta, .hide-sm { display: none; }
  .top-logo { height: 40px; }
  .hero { margin: 8px; padding-top: 28px; }
  .block { margin: 8px; }
  .benefits, .problem-grid, .versus-row, .fit { grid-template-columns: 1fr; }
  .stat-chips { position: static; margin-top: 10px; grid-template-columns: repeat(2, 1fr); }
  .stack-item { grid-template-columns: 84px 1fr; }
  .stack-item img { width: 84px; height: 84px; }
  .stack-value { grid-column: 2; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .timeline li { grid-template-columns: 56px 1fr; }
  .btn-lg { width: 100%; }
  .price-line { width: 100%; justify-content: center; }
  .faq details { padding: 0 20px; }
  .sticky-cta { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-page { transform: none; }
}

/* English / Spanish blocks (see /lang.js) */
html[lang="es"] .l-en, html:not([lang="es"]) .l-es { display: none !important; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20,35,26,.07); }
.lang-switch button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 .82rem/1 var(--sans); letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button:hover { background: rgba(23,74,49,.12); }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* App sales page additions */
.hero { padding-top: clamp(96px, 9vw, 126px); }
.hero-free { margin-top: 14px; font-size: .95rem; }
.hero-free a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.top-cta { box-shadow: none; }
.phone-fig { padding: 12px; max-width: 300px; justify-self: center; }
.phone-fig img { border-radius: 22px; border: 6px solid #0c1a12; background: #0c1a12; width: 100%; height: auto; }
.peek-track img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border: 5px solid #0c1a12; border-radius: 22px; background: #0c1a12; }
.peek-track figure { flex-basis: min(250px, 66vw); }
.stack-item img { object-fit: cover; object-position: top; }
.plan-price { font-family: var(--sans); font-size: .9rem; font-weight: 700; background: var(--ochre); color: #1b1206; padding: .25rem .7rem; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
.plan-cta { margin-top: 22px; }
.plan-pro { background: var(--green); color: #f3f0e4; }
.plan-pro h3 { color: #fff; }
.plan-pro li { color: #e3ece5; border-top-color: rgba(255,255,255,.18); }
.plan-pro li::before { background: var(--ochre); color: #1b1206; }
.fit .fit-card .btn { text-decoration: none; }
@media (max-width: 720px) {
  .hero { padding-top: 84px; }
  .phone-fig { max-width: 260px; }
}
