/* sunmoss.app (the reset pack) and /free (the decoder opt-in). Same look as the PDFs: cream paper, lowercase Fraunces
   headings, DM Sans body, honey underlines, with deep sage accents, sand bands and real food photos for warmth.
   Mobile first; one column until 880px. */
:root {
  --cream: #F8F1E7;
  --sand: #EFE6D8;
  --card: #FCF9F4;
  --white: #FFFFFF;
  --line: #DED4C5;
  --ink: #1E1C19;
  --soft: #524B42;
  --honey: #F3D98C;
  --sage: #3D5245;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 400 17px/1.55 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 12px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.top a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin: -16px 0; }
.foot nav a { display: inline-flex; align-items: center; min-height: 32px; }
.eyebrow { font: 600 12px/1.4 'DM Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.eyebrow i { font-style: normal; padding: 0 .5em; }
h1 { font: 500 40px/1.04 'Fraunces', Georgia, serif; letter-spacing: -.015em; }
h2 { font: 500 28px/1.12 'Fraunces', Georgia, serif; letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
h3 { font: 600 17px/1.3 'DM Sans', system-ui, sans-serif; }
.lede { font-size: 19px; line-height: 1.45; color: var(--soft); margin-top: 16px; }
.muted { color: var(--soft); }

/* bands: full-width sections that alternate cream and sand */
.band { padding: 46px 0; }
.band.alt { background: var(--sand); }
.band + .band:not(.alt):not(.photos) { border-top: 1px solid var(--line); }

/* the paper preview: a real page render with a soft shadow */
.paper { background: var(--white); border: 1px solid var(--line); box-shadow: 0 22px 44px rgba(30, 28, 25, .13), 0 3px 8px rgba(30, 28, 25, .06); }
.paper img { width: 100%; }

/* buttons */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 16px 26px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--cream); font: 600 18px/1.2 'DM Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #33302B; }
.btn:active { transform: scale(.985); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { border-radius: 999px; }
/* Headings get focus from script (for screen readers after a state change), not from the keyboard: no ring. */
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--honey); color: var(--ink); }

/* the opt-in form: Beehiiv's embed (styled in Beehiiv to match), plus our line under it */
.bh-form { margin-top: 26px; min-height: 176px; }
.cta-free { margin-top: 26px; max-width: 520px; }
.bh-form iframe { display: block; width: 100%; border: 0; }
.micro { font-size: 14px; line-height: 1.45; color: var(--soft); margin-top: 8px; }

/* hero */
.hero { display: grid; gap: 40px; padding: 18px 0 56px; }

/* the pack as a printed stack: cover in front, two blurred pages fanned behind */
.fan { position: relative; width: min(76%, 400px); aspect-ratio: 8.5 / 11; margin: 10px auto 18px; }
.fan .paper { position: absolute; inset: 0; }
.fan .b1 { transform: translate(-13%, 5%) rotate(-9deg); }
.fan .b2 { transform: translate(12%, 3%) rotate(7deg); }
.fan .front { transform: rotate(-1deg); }

.mid-cta { text-align: center; margin-top: 34px; }
.mid-cta .btn { max-width: 420px; }
.mid-cta .assure { max-width: 420px; margin: 12px auto 0; }

/* reset pack offer */
.banner { background: var(--sage); color: var(--cream); font-size: 15px; line-height: 1.45; padding: 14px 0; }
.banner b { color: var(--honey); font-weight: 600; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.pills li::before { content: '•'; color: var(--sage); margin-right: 7px; }
.offer { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.assure { font-size: 13.5px; line-height: 1.5; color: var(--soft); margin-top: 14px; }
.end .assure { max-width: 460px; margin: 14px auto 0; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price b { font: 500 40px/1 'Fraunces', Georgia, serif; }
.price span { color: var(--soft); font-size: 15px; }
.facts { list-style: none; display: grid; gap: 6px; margin-top: 14px; font-size: 14.5px; color: var(--soft); }
.facts li::before { content: '✓'; color: var(--sage); font-weight: 600; margin-right: 8px; }
.soon { margin-top: 12px; font-size: 14.5px; color: var(--soft); background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }

/* the photo strip */
.photos { padding: 0 0 40px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.row-sample { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0 0 26px; }
.row-sample figcaption { font-size: 13.5px; color: var(--sage); font-weight: 600; margin-bottom: 12px; }
.row-sample dl { display: grid; gap: 12px; }
.row-sample dt { font: 600 12px/1.3 'DM Sans', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.row-sample dd { font-size: 17px; }
.m { font-weight: 600; background: linear-gradient(var(--honey), var(--honey)) 0 100% / 100% 4px no-repeat; padding-bottom: 1px; }
.cap { text-align: center; font-size: 13.5px; letter-spacing: .02em; color: var(--sage); font-weight: 600; margin-top: 14px; }

/* look inside: blurred previews, scrolling on phones */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { scroll-snap-align: start; }
.strip figcaption { font-size: 13.5px; color: var(--soft); margin-top: 10px; }
.peek { position: relative; overflow: hidden; }
.lock { position: absolute; left: 50%; top: 50%; transform: translateX(-50%); width: 84%; text-align: center; background: var(--sage); color: var(--cream);
  font-size: 13px; line-height: 1.35; font-weight: 600; letter-spacing: .01em; padding: 9px 12px; border-radius: 14px; box-shadow: 0 6px 16px rgba(30, 28, 25, .15); }
.swipe { font-size: 13px; color: var(--soft); margin-top: -4px; }

.index { list-style: none; border-top: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.index .n { font: 600 13px/1.5 'DM Sans', system-ui, sans-serif; color: var(--sage); }
.index h3 span { font-weight: 400; color: var(--soft); font-size: 14px; white-space: nowrap; }
.index p { grid-column: 2; color: var(--soft); font-size: 15.5px; }

/* phone or fridge: photo + three uses */
.split { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.split img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .body { padding: 24px 22px 26px; }
.uses { list-style: none; display: grid; gap: 14px; margin-top: 4px; }
.uses li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; }
.uses li::before { content: '✓'; grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: var(--cream); font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.uses b { font-weight: 600; }
.uses span { color: var(--soft); font-size: 15.5px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sage); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--soft); margin-top: 10px; }

.end { text-align: center; }
.end .btn { max-width: 420px; margin-top: 18px; }

/* /free: the 1-page list and the photo behind the faded preview */
.list { list-style: none; display: grid; gap: 12px; }
.list li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.list .n { font: 600 12px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .1em; color: var(--sage); margin-right: 8px; }
.list p { color: var(--soft); margin-top: 6px; font-size: 16px; }
.duo { position: relative; width: min(92%, 420px); margin: 0 auto 30px; }
.duo .paper { position: relative; transform: rotate(1.5deg); }
.duo .photo { position: absolute; z-index: 1; left: -6%; bottom: -7%; width: 52%; aspect-ratio: 1; object-fit: cover; object-position: 48% 55%;
  border: 6px solid var(--white); border-radius: 14px; transform: rotate(-5deg); box-shadow: 0 16px 32px rgba(30, 28, 25, .18); }

/* service pages: /thanks, /link, link-not-found and link-closed. One narrow column on the same paper. */
.svc { max-width: 560px; margin: 0 auto; padding: 22px 20px 60px; }
.svc h1 { font-size: 38px; margin-bottom: 14px; }
.svc .lede { margin-top: 0; }
.svc .lede + .btn, #buttons, .svc .wait + .btn { margin-top: 22px; }
.svc .btn + .btn { margin-top: 10px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--card); }
.svc label { display: block; font-weight: 600; font-size: 15px; margin: 22px 0 8px; }
.svc input[type=email] { width: 100%; min-height: 56px; padding: 0 20px; border: 1.5px solid #8C8273; border-radius: 999px; background: var(--white); color: var(--ink); font: 400 17px 'DM Sans', system-ui, sans-serif; margin-bottom: 12px; }
.svc input[type=email]::placeholder { color: #726A5E; }
.svc input[type=email]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.svc .note { font-size: 15px; color: var(--soft); margin-top: 16px; }
.svc .err { font-size: 15px; color: #8A3B26; margin-top: 10px; min-height: 22px; }
.svc .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; margin: 0 0 16px; }
.svc .box b { display: block; font-weight: 600; margin-bottom: 2px; }
.cover-thumb { width: 132px; margin: 6px 0 22px; transform: rotate(-2deg); }
.tonight { background: var(--sand); border-radius: 18px; padding: 18px 20px; margin: 22px 0 6px; }
.tonight ol { list-style: none; counter-reset: step; display: grid; gap: 10px; margin-top: 12px; }
.tonight h2 { font-size: 20px; margin: 0; }
.tonight li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 16px; }
.tonight li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: var(--cream); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.wait { display: flex; gap: 10px; align-items: center; color: var(--soft); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sage); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* sales page, 2026-11-22 redesign: hero offer, the day, the mechanics, the try-it card, the contents, the comparison */
.hero h1 { font-size: 36px; line-height: 1.06; text-wrap: balance; }
.offer-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.offer-head .price { margin-bottom: 0; flex-wrap: wrap; row-gap: 4px; }
.offer-head .price span { flex-basis: 100%; }
.offer-thumb { flex: none; width: 56px; transform: rotate(-3deg); box-shadow: 0 8px 16px rgba(30, 28, 25, .14); }
.price s, .big s { font: 500 22px/1 'Fraunces', Georgia, serif; color: var(--soft); text-decoration-thickness: 2px; }
.save { display: inline-block; background: var(--honey); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; padding: 6px 12px; border-radius: 12px; margin: 0 0 14px; }
.hero-art { display: none; position: relative; }
.hero-photo { position: absolute; z-index: 1; left: 0; bottom: -2%; width: 40%; aspect-ratio: 1; object-fit: cover; object-position: 50% 45%;
  border: 6px solid var(--white); border-radius: 14px; transform: rotate(-5deg); box-shadow: 0 16px 32px rgba(30, 28, 25, .18); }

.intro { color: var(--soft); max-width: 640px; margin: -6px 0 26px; }
.day { list-style: none; border-top: 1px solid var(--line); }
.day li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.when { font: 600 13px/1.3 'DM Sans', system-ui, sans-serif; letter-spacing: .06em; color: var(--sage); font-variant-numeric: tabular-nums; }
.day p { font: 400 21px/1.3 'Fraunces', Georgia, serif; }

.why3 { display: grid; border-top: 1px solid var(--line); }
.why3 article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.why3 h3 { font: 500 22px/1.2 'Fraunces', Georgia, serif; margin-bottom: 8px; }
.why3 p { color: var(--soft); }
.why3 .in { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--sage); margin-top: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 44px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink);
  font: 600 15px/1.2 'DM Sans', system-ui, sans-serif; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.chip:hover { border-color: #8C8273; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.signals { display: grid; gap: 12px; }
.signal { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.tryit.js .signal { display: none; }
.tryit.js .signal.on { display: block; animation: rise .4s cubic-bezier(.16, 1, .3, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.signal h3 { font: 500 22px/1.2 'Fraunces', Georgia, serif; }
.signal .k { font: 600 12px/1.3 'DM Sans', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-top: 14px; }
.signal .k + p { margin-top: 3px; }
.more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--sage); text-underline-offset: 4px; }

.trio { margin-bottom: 30px; }
.modules { display: grid; gap: 30px; }
.module h3 { font: 500 22px/1.2 'Fraunces', Georgia, serif; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 4px; }
.module h3 span { display: block; font: 600 13px/1.4 'DM Sans', system-ui, sans-serif; color: var(--sage); margin-top: 4px; }
.ledger { list-style: none; }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger p { color: var(--soft); font-size: 15.5px; }
.ledger b { display: block; color: var(--ink); font-size: 16.5px; font-weight: 600; }
.ledger li > span { font: 500 18px/1 'Fraunces', Georgia, serif; color: var(--sage); font-variant-numeric: tabular-nums; white-space: nowrap; }

.compare { display: grid; gap: 22px; }
.compare .k { font: 600 12px/1.3 'DM Sans', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.them ul { list-style: none; border-top: 1px solid var(--line); }
.them li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.them b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.us { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 12px; }
.big b { font: 500 48px/1 'Fraunces', Georgia, serif; }
.big span { color: var(--soft); font-size: 15px; }
.us .btn { margin-top: 18px; }
.promise { margin-top: 24px; max-width: 640px; color: var(--soft); font-size: 15.5px; }
.promise b { color: var(--ink); font-weight: 600; }

/* the phone-only buy bar */
.sticky { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: rgba(248, 241, 231, .98); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility .35s; }
.sticky.on { transform: none; visibility: visible; }
.sticky-in { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; }
.sticky p { flex: 1; font-size: 14px; line-height: 1.3; }
.sticky p b { display: block; font-weight: 600; }
.sticky p span { font: 500 19px/1.2 'Fraunces', Georgia, serif; }
.sticky .btn { width: auto; min-height: 48px; padding: 12px 18px; font-size: 16px; white-space: nowrap; }
body.has-sticky { padding-bottom: 78px; }

/* /free, 2026-11-22: both decoder pages and the phone edition */
.free-art { position: relative; width: min(88%, 420px); aspect-ratio: 8.5 / 11; margin: 0 auto 30px; }
.free-art .paper { position: absolute; inset: 0; }
.free-art .p2 { transform: translate(9%, 2%) rotate(5deg); }
.free-art .p1 { transform: rotate(-2deg); }
.free-art .photo { position: absolute; z-index: 1; left: -6%; bottom: -6%; width: 46%; aspect-ratio: 1; object-fit: cover; object-position: 48% 55%;
  border: 6px solid var(--white); border-radius: 14px; transform: rotate(-5deg); box-shadow: 0 16px 32px rgba(30, 28, 25, .18); }
.previews { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: none; align-items: start; }
.previews::-webkit-scrollbar { display: none; }
.previews figure { scroll-snap-align: start; }
.previews figcaption { font-size: 13.5px; color: var(--soft); margin-top: 10px; }
.phone-frame { width: 72%; margin: 0 auto; border: 7px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: 0 22px 44px rgba(30, 28, 25, .13); }
.phone-frame img { width: 100%; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 34px; font-size: 13px; color: var(--soft); display: grid; gap: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }

@media (min-width: 880px) {
  body { font-size: 18px; }
  .wrap { padding: 0 40px; }
  h1 { font-size: 60px; }
  h2 { font-size: 36px; }
  .band { padding: 70px 0; }
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 40px 0 80px; }
  .fan { width: min(80%, 400px); }
  .bh-form, .micro { max-width: 520px; }
  .two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .trio { gap: 18px; }
  .photos { padding: 0 0 60px; }
  .strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 4px 0 0; margin: 0; gap: 22px; }
  .swipe { display: none; }
  .offer { padding: 26px; }
  .offer .btn { width: auto; }
  .hero h1 { font-size: 54px; }
  .hero-art { display: block; }
  .offer-thumb { display: none; }
  .day p { font-size: 24px; }
  .why3 { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .why3 article { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 18px; }
  .modules { grid-template-columns: 1fr 1fr; gap: 44px 56px; }
  .compare { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .us { padding: 30px; }
  .us .btn { width: auto; }
  .sticky { display: none; }
  body.has-sticky { padding-bottom: 0; }
  .previews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 4px 0 0; margin: 0; gap: 26px; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split .body { padding: 32px 40px; }
  .row-sample dl { grid-template-columns: 1fr 1.3fr 1.4fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .chip, .sticky { transition: none; } .tryit.js .signal.on { animation: none; } }
