/* The Musing Hours website look (from the owner's chosen design, 23 Oct 2026). site.py adds a few rules after it. */

/* Layout: warm white page, one soft tint per section, teal accent with tangerine as the lively second colour.
   Every picture is a real Musing Hours product. Each planner, journal and notebook can wear any of twelve covers,
   chosen by the buyer; picking a cover at the top re-dresses the whole shop. */
:root {
  --paper: #FAF8F5; --raised: #FFFFFF; --mist: #E3F3EF; --apricot-mist: #FDEBDC; --orchid-mist: #F6E8F3;
  --ink: #3B2F38; --muted: #74656F; --accent: #1F6F6A; --accent-ink: #FFFFFF; --sun: #EE8A3C;
  --line: rgba(59, 47, 56, .14); --bezel: #2D262C; --sheet: #FFFDFB;
  --shadow: 0 2px 4px rgba(59, 47, 56, .06), 0 26px 50px -24px rgba(59, 47, 56, .45);
  --f-display: "Lora", "Iowan Old Style", Georgia, serif;
  --f-body: "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-script: "Allura", "Snell Roundhand", "Apple Chancery", cursive;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #1E1A1E; --raised: #282228; --mist: #1D302D; --apricot-mist: #33261D; --orchid-mist: #2E2230; --ink: #F2ECEF; --muted: #BFB1B9; --accent: #7FD6CB; --accent-ink: #1E1A1E; --line: rgba(242, 236, 239, .14); --bezel: #0F0C0F; --shadow: 0 26px 50px -24px rgba(0, 0, 0, .8); color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #1E1A1E; --raised: #282228; --mist: #1D302D; --apricot-mist: #33261D; --orchid-mist: #2E2230; --ink: #F2ECEF; --muted: #BFB1B9; --accent: #7FD6CB; --accent-ink: #1E1A1E; --line: rgba(242, 236, 239, .14); --bezel: #0F0C0F; --shadow: 0 26px 50px -24px rgba(0, 0, 0, .8); color-scheme: dark; }

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17.5px; font-weight: 500; line-height: 1.65; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.section { padding-block: 104px; }
.tint { background: var(--mist); }
.tint-2 { background: var(--apricot-mist); }
.tint-3 { background: var(--orchid-mist); }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 660px; }
.head.center { text-align: center; margin-inline: auto; justify-items: center; }
.head h2 { font-size: clamp(36px, 4.6vw, 54px); }
.head p { color: var(--muted); max-width: 54ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: var(--accent); color: var(--accent-ink); }
.btn-quiet { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
header.top .wrap { padding-block: 18px; display: flex; align-items: center; gap: 32px; }
.wordmark { text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.wordmark .w1 { font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.wordmark .w2 { font-family: var(--f-script); font-size: 36px; color: var(--accent); transform: translateY(3px); }
nav.main { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.link { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.bag-btn { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; }
.bag-btn:hover { border-color: var(--ink); }
.bag-btn .n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { nav.main { display: none; } }
@media (max-width: 440px) { .nav-right .link { display: none; } }

/* covers from sprites: 12 covers side by side in one image per product */
.cv { aspect-ratio: 3 / 4; width: 100%; max-width: 100%; border-radius: 3px 9px 9px 3px; box-shadow: var(--shadow); overflow: hidden; background: var(--sheet); }
.cv svg { display: block; width: 100%; height: 100%; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--raised); box-shadow: 0 0 0 1px var(--line); padding: 0; }
.presets button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.any { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 3px; font-weight: 700; font-size: 13.5px; cursor: pointer; margin-top: 8px; }
.any input { width: 26px; height: 26px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
.texts { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.tchip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--raised); border-radius: 999px; padding: 4px 11px; font-weight: 700; font-size: 13px; }
.tchip i { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.tchip[aria-pressed="true"] { border-color: var(--ink); background: var(--mist); }
.ctl { display: grid; gap: 8px; }
.ctl > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.opt { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.opt-h b { font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.chips { display: inline-flex; gap: 4px; } .chips i { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 1px var(--line); }
.swatches.small { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.swatches.small .sw small { display: none; }
.any { justify-self: start; } .try .any { justify-self: center; }
.warn { font-size: 13.5px; line-height: 1.45; color: var(--accent); font-weight: 600; margin: 0; }
.pd-note { font-size: 13px; color: var(--muted); text-align: center; }
.pd-small { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin: 0; }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ver { display: grid; gap: 2px; text-align: left; border: 1.5px solid var(--line); background: var(--raised); border-radius: 14px; padding: 10px 12px; color: inherit; }
.ver b { font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.ver span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ver em { font-style: normal; font-weight: 700; margin-top: 4px; }
.ver[aria-checked="true"] { border-color: var(--ink); background: var(--mist); }
.tchip .chips i { width: 12px; height: 12px; border-radius: 3px; }
.price small { font-size: .72em; font-weight: 600; color: var(--muted); margin-right: 2px; }
.ctl > span b { color: var(--ink); letter-spacing: .04em; }
.tt { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 520px; justify-self: center; }
.tt-frame { width: 100%; background: #2D262C; border-radius: 34px; padding: 16px; box-shadow: var(--shadow); }
.tt-page { position: relative; border-radius: 14px; overflow: hidden; background: #FFFDF8; }
.tt-page img { display: block; width: 100%; height: auto; }
.tt-page.turn { animation: ttturn .32s ease-out; }
@keyframes ttturn { from { opacity: .25; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.tt-hot { position: absolute; inset: 0; }
.hs { position: absolute; padding: 0; border: 0; background: transparent; border-radius: 6px; cursor: pointer; }
.hs:hover, .hs:focus-visible { background: rgba(238, 138, 60, .16); box-shadow: 0 0 0 2px rgba(238, 138, 60, .65); outline: none; }
.tt.hint .hs.live { animation: ttglow 1.7s ease-in-out 2; }
@keyframes ttglow { 50% { background: rgba(238, 138, 60, .22); box-shadow: 0 0 0 2px rgba(238, 138, 60, .75); } }
.tt-bar { display: flex; align-items: center; gap: 12px; width: 100%; font-size: 14px; color: var(--muted); }
.tt-bar b { font-family: var(--f-display); font-weight: 500; font-size: 17px; color: var(--ink); flex: 1; }
.tt-bar button:disabled { opacity: .45; }
.tt-steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--muted); }
.tt-steps b { color: var(--ink); }
.tt-inside { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tt-inside > span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tt-page.turn, .tt.hint .hs.live { animation: none; } }

/* mockup frames */
.tablet { background: var(--bezel); border-radius: 26px; padding: 12px; box-shadow: var(--shadow); position: relative; }
.tablet img { border-radius: 12px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--sheet); transition: opacity .35s ease; }
.tablet img.fade { opacity: 0; }
.phone { background: var(--bezel); border-radius: 34px; padding: 9px; box-shadow: var(--shadow); }
.phone .screen { border-radius: 26px; background: #FFFDFB; aspect-ratio: 9 / 19; padding: 26px 9px 9px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 6px; align-content: start; position: relative; overflow: hidden; }
.phone .screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 34%; height: 13px; margin-left: -17%; border-radius: 999px; background: var(--bezel); }
.phone .screen img { width: 100%; aspect-ratio: 1; border-radius: 24%; }
.phone .widget { grid-column: 1 / -1; border-radius: 12px; background: #FDEBDC; aspect-ratio: 2.1 / 1; display: grid; place-items: center; font-family: var(--f-script); color: #D9702A; font-size: clamp(14px, 1.6vw, 20px); }
.sheet { background: var(--sheet); box-shadow: var(--shadow); }
.sheet img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; }

/* floating stickers from the shop's own sticker pack */
.float { position: absolute; z-index: 4; pointer-events: none; translate: calc(var(--px, 0) * var(--d, 10px)) calc(var(--py, 0) * var(--d, 10px)); animation: drift var(--t, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s); transition: translate .5s ease-out; }
.float img { width: 100%; filter: drop-shadow(0 8px 14px rgba(59,47,56,.18)); }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 3deg)); } }

/* hero */
.hero, #drawer, #covers { overflow-x: clip; }
.hero .wrap { padding-block: 64px 104px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; position: relative; z-index: 5; }
.hero h1 { font-size: clamp(46px, 6.2vw, 80px); line-height: 1.02; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 44ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ways { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 14.5px; }
.ways span { display: inline-flex; gap: 8px; align-items: center; }
.ways span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ways span:nth-child(2)::before { background: var(--sun); }
.ways span:nth-child(3)::before { background: #9C4E95; }
.ways span:nth-child(4)::before { background: #A9B83A; }
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; min-width: 0; }
.stage > .cv, .stage > .tablet, .stage > .phone, .stage > .sheet { position: absolute; transition: translate .5s ease-out; }
.stage > .cv { left: 0; top: 10%; width: 36%; rotate: -8deg; translate: calc(var(--px, 0) * -6px) calc(var(--py, 0) * -6px); }
.stage > .tablet { left: 24%; top: 2%; width: 52%; rotate: 2deg; translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 8px); z-index: 2; }
.stage > .phone { right: 0; bottom: 2%; width: 24%; rotate: 6deg; translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 16px); z-index: 3; }
.stage > .sheet { left: 6%; bottom: 0; width: 30%; rotate: 5deg; z-index: 1; translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -10px); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 88px; } .stage { max-width: 560px; width: 100%; justify-self: center; } }

.manifesto { text-align: center; padding-block: 96px; }
.manifesto p { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; max-width: 26ch; margin: 0 auto; text-wrap: balance; }
.manifesto .moon-mark { display: block; width: 132px; height: auto; margin: 0 auto 26px; }
.manifesto p.after { font-family: var(--f-body); font-style: normal; font-size: 18px; color: var(--muted); max-width: none; margin-top: 18px; }
.manifesto .sig { font-family: var(--f-script); font-style: normal; color: var(--accent); font-size: 40px; display: block; margin-top: 18px; }

/* cover chooser */
.covers-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cover-stage { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; align-items: end; min-width: 0; }
.cover-stage .cv:nth-child(2) { rotate: 3deg; } .cover-stage .cv:nth-child(3) { rotate: -2deg; }
.cover-name { font-family: var(--f-script); font-size: 46px; color: var(--accent); line-height: 1; }
.swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.sw { border: 2px solid transparent; border-radius: 8px; padding: 3px; background: transparent; display: grid; gap: 4px; justify-items: center; }
.sw .cv { box-shadow: 0 6px 14px -8px rgba(59,47,56,.5); border-radius: 2px 5px 5px 2px; }
.sw small { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.2; text-align: center; }
.sw[aria-pressed="true"] { border-color: var(--accent); }
.sw[aria-pressed="true"] small { color: var(--ink); }
@media (max-width: 900px) { .covers-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .swatches.small { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* try-a-cover: one example, options underneath */
.try { display: grid; justify-items: center; gap: 30px; }
.try-cover { display: grid; justify-items: center; gap: 14px; width: min(280px, 70%); }
.try-cover .cv { width: 100%; }
.try-opts { display: grid; gap: 22px; width: min(760px, 100%); }
.try-opts .swatches { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.try-opts .sw small { display: none; }
.try-row { display: flex; gap: 22px 40px; flex-wrap: wrap; justify-content: center; }
.try .ctl { justify-items: center; text-align: center; }
.try .presets, .try .texts { justify-content: center; }
@media (max-width: 640px) { .try-opts .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* shop */
.subnav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.subnav a { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 18px; font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.subnav a:hover { border-color: var(--ink); }
.sub { padding: 40px 36px 48px; border-radius: 28px; background: var(--raised); box-shadow: 0 0 0 1px var(--line); scroll-margin-top: 90px; }
.sub + .sub { margin-top: 28px; }
#planners { background: var(--apricot-mist); box-shadow: none; } #journals { background: var(--mist); box-shadow: none; } #notebooks { background: var(--orchid-mist); box-shadow: none; }
@media (max-width: 640px) { .sub { padding: 28px 16px 36px; border-radius: 22px; } }
.sub-h { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 30px; }
.sub-h h3 { font-size: clamp(30px, 3.6vw, 40px); }
.sub-h span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sub-h p { flex-basis: 100%; color: var(--muted); }
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 26px; }
.card { display: grid; gap: 10px; align-content: start; min-width: 0; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.book { position: relative; aspect-ratio: 3 / 4; margin-bottom: 12px; }
.book .peek, .book .cv { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.book .peek { border-radius: 3px 9px 9px 3px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(3deg) translate(6px, 3px); background: var(--sheet); }
.book .peek img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .book .cv, .card:focus-visible .book .cv { transform: rotate(-6deg) translate(-18px, -8px); }
.card:hover .book .peek, .card:focus-visible .book .peek { transform: rotate(5deg) translate(16px, 0); }
.card .kind { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 24px; }
.card .blurb { font-size: 15px; color: var(--muted); }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.card:hover .pill { border-color: var(--ink); }
.more { font-weight: 700; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }
.sub-h .more { margin-left: auto; font-size: 15px; }
a.card { text-decoration: none; }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } .card h3 { font-size: 20px; } }

/* product dialog */
dialog.pd { border: 0; padding: 0; width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 24px; background: var(--raised); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
dialog.pd::backdrop { background: rgba(30, 22, 28, .45); }
.pd-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; padding: 30px; position: relative; }
.pd-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); font-size: 19px; line-height: 1; z-index: 2; }
.pd-vis { display: grid; gap: 14px; align-content: start; min-width: 0; }
.pd-main { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.pd-main .cv, .pd-main .tablet { width: 100%; }
.pd-thumbs { display: flex; gap: 10px; justify-content: center; }
.pd-thumbs button { width: 64px; border: 2px solid transparent; border-radius: 8px; padding: 2px; background: transparent; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.pd-thumbs img, .pd-thumbs .cv { border-radius: 4px; box-shadow: 0 4px 10px -6px rgba(0,0,0,.4); aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pd-info h2 { font-size: clamp(30px, 3.4vw, 40px); }
.pd-info .blurb { color: var(--muted); }
.pd-info .comes { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.pd-info .comes span::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.pd-cover-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pd-cover-label b { font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.pd-buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.pd-buy .price { font-size: 24px; }
@media (max-width: 800px) { .pd-in { grid-template-columns: 1fr; padding: 22px 18px; } .pd-main { max-width: 260px; } }

/* look inside */
.inside-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.inside-copy { display: grid; gap: 22px; min-width: 0; }
.inside-copy h2 { font-size: clamp(36px, 4.6vw, 54px); }
.inside-copy p { color: var(--muted); }
.pages { display: flex; flex-wrap: wrap; gap: 8px; }
.pages button { border: 1.5px solid var(--line); background: transparent; border-radius: 12px; padding: 8px 14px; font-weight: 600; font-size: 14.5px; text-align: left; }
.pages button small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.pages button[aria-pressed="true"] { border-color: var(--accent); background: var(--raised); }
.viewer { position: relative; max-width: 440px; width: 100%; justify-self: center; min-width: 0; }
.viewer .float { width: 22%; }
@media (max-width: 900px) { .inside-wrap { grid-template-columns: 1fr; } }

/* online demo */
.demo { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: center; }
.demo-copy { display: grid; gap: 22px; min-width: 0; }
.demo-copy h2 { font-size: clamp(36px, 4.6vw, 54px); }
.demo-copy p { color: var(--muted); }
.gate { display: grid; gap: 10px; }
.gate label { font-size: 13px; font-weight: 700; }
.gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gate input { flex: 1 1 180px; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px; background: var(--raised); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 15px; }
.gate input:focus { border-color: var(--accent); outline: none; }
.gate small { color: var(--muted); font-size: 14px; }
.gate .err { color: var(--accent); font-size: 14.5px; font-weight: 600; }
.app { background: var(--sheet); color: #3B2F38; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-height: 480px; min-width: 0; border: 1px solid rgba(59,47,56,.1); }
.app-bar { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #EDE6E9; flex-wrap: wrap; background: #FBF8F9; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3D9DE; }
.url { flex: 1 1 180px; min-width: 0; font-size: 12.5px; color: #8A7B85; background: #fff; border: 1px solid #EDE6E9; border-radius: 999px; padding: 5px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-acts { display: flex; gap: 6px; }
.mini { border: 1px solid #DDD2D8; background: #fff; color: #3B2F38; border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 700; }
.mini.dk { background: #3B2F38; color: #fff; border-color: #3B2F38; }
.app-main { display: grid; grid-template-columns: minmax(0, 1fr) 46px; }
.pg { padding: 26px clamp(16px, 3vw, 32px); min-width: 0; }
.side { display: grid; align-content: start; gap: 6px; padding-block: 22px; border-left: 1px solid #EDE6E9; background: #FBF8F9; }
.side button { writing-mode: vertical-rl; margin-left: 10px; border: 0; border-radius: 8px 0 0 8px; background: var(--t); color: #3B2F38; padding: 14px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.side button[aria-selected="true"] { margin-left: 2px; opacity: 1; box-shadow: inset 0 0 0 1px #3B2F38; }
.pg-ey { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8A7B85; }
.pg-title { font-family: var(--f-script); font-size: clamp(44px, 5vw, 60px); line-height: 1; color: #1F6F6A; margin: 4px 0 18px; }
.today { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A7B85; display: flex; justify-content: space-between; margin-bottom: 4px; }
.tasks label { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #EFE8EB; font-size: 15.5px; cursor: pointer; }
.tasks input { width: 17px; height: 17px; accent-color: #1F6F6A; }
.tasks input:checked + span { text-decoration: line-through; opacity: .5; }
.moods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.moods button { border: 0; border-radius: 999px; padding: 4px 13px; background: var(--m); color: #3B2F38; font-size: 14px; font-weight: 600; opacity: .6; }
.moods button[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 1.5px #3B2F38; }
.prompt { display: grid; gap: 8px; align-content: start; background: #BFE7DF; border-radius: 16px; padding: 16px; }
.prompt p { font-family: var(--f-display); font-style: italic; font-size: 19px; line-height: 1.25; color: #3B2F38; }
.prompt textarea, .notes-ta { width: 100%; border: 0; resize: vertical; background: repeating-linear-gradient(transparent 0 31px, rgba(255,255,255,.8) 31px 32px); line-height: 32px; font-family: var(--f-script); font-size: 28px; color: #3B2F38; outline: none; min-height: 130px; }
.notes-ta { background: repeating-linear-gradient(transparent 0 31px, #EADFE4 31px 32px); color: #1F6F6A; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wd { border: 1px solid #EDE6E9; border-radius: 12px; padding: 10px 8px; min-height: 126px; background: #fff; text-align: left; display: grid; gap: 4px; align-content: start; color: #3B2F38; }
.wd small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A7B85; }
.wd b { font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1; }
.wd span { font-family: var(--f-script); font-size: 22px; line-height: 1; color: #1F6F6A; }
.wd.now { background: #FDEBDC; border-color: #D9702A; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; max-width: 440px; }
.month .dh { text-align: center; font-size: 11px; font-weight: 700; color: #8A7B85; padding-bottom: 4px; }
.month button { aspect-ratio: 1; border: 1px solid #EDE6E9; border-radius: 50%; background: #fff; color: #3B2F38; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.month button.has { background: #E3F3EF; }
.month button.now { background: #1F6F6A; color: #fff; border-color: #1F6F6A; }
.hint { margin-top: 16px; font-size: 14px; color: #8A7B85; }
.hint b { color: #1F6F6A; }
.locked { display: grid; place-items: center; text-align: center; gap: 18px; padding: 48px 20px; min-height: 480px; }
.locked .cv { width: 150px; rotate: -3deg; }
.locked p { color: #74656F; max-width: 32ch; }
@media (max-width: 940px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .today { grid-template-columns: 1fr; } .week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { display: grid; gap: 10px; align-content: start; min-width: 0; }
.step .num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 26px; color: #3B2F38; }
.step:nth-child(1) .num { background: #FAD2B4; } .step:nth-child(2) .num { background: #BFE7DF; } .step:nth-child(3) .num { background: #EFD0EC; } .step:nth-child(4) .num { background: #E3EBA4; }
.step h3 { font-size: 26px; margin-top: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.step code { font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; background: var(--mist); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* supply drawer */
.shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 26px; }
.item { display: grid; gap: 10px; align-content: start; min-width: 0; }
.scene { aspect-ratio: 1; max-width: 100%; border-radius: 18px; background: var(--raised); position: relative; overflow: hidden; margin-bottom: 6px; display: grid; place-items: center; }
.scene > * { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.item:hover .scene > * { transform: translateY(-4px) rotate(var(--hr, 0deg)); }
.scene .stk-all { width: 150%; max-width: none; rotate: -6deg; }
.scene .sheets { position: relative; width: 58%; aspect-ratio: 8.5 / 11; --hr: -2deg; }
.scene .sheets .sheet { position: absolute; inset: 0; }
.scene .sheets .sheet:first-child { rotate: -9deg; translate: -16% 4%; }
.scene .sheets .sheet:last-child { rotate: 5deg; translate: 10% -2%; }
.scene .phone { width: 44%; rotate: 5deg; --hr: 2deg; }
.scene .phone .screen { padding: 24px 8px 8px; gap: 7px 5px; }
.scene .phone .widget { font-size: 17px; border-radius: 10px; }
.scene .spec { text-align: center; }
.scene .spec b { font-family: var(--f-script); font-weight: 400; font-size: 84px; line-height: .9; color: var(--accent); display: block; }
.scene .spec small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.item .kind { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.item h3 { font-size: 24px; }
.item .sp { font-size: 15px; color: var(--muted); }
.item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.add { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.add:hover { border-color: var(--ink); }
.add.in { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.shop.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 22px; }
.scene .sheets.tab { aspect-ratio: 3 / 4; width: 54%; }
.scene .sheets img, .scene .icons img, .scene .stks img { display: block; width: 100%; }
.scene .sheets .sheet { border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: var(--shadow); }
.scene .icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 66%; rotate: -4deg; --hr: -2deg; }
.scene .icons img { border-radius: 22%; box-shadow: 0 6px 14px -8px rgba(59,47,56,.5); }
.scene .stks { position: relative; width: 82%; aspect-ratio: 1; }
.scene .stks img { position: absolute; width: auto; max-width: 52%; max-height: 34%; filter: drop-shadow(0 5px 8px rgba(59,47,56,.22)); }
.free-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 1100px) { .shop.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .shop { grid-template-columns: 1fr; } }

.letter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.letter h2 { font-size: clamp(36px, 4.6vw, 52px); }
.letter p { color: var(--muted); margin-top: 14px; max-width: 42ch; }
.letter form { display: flex; gap: 10px; flex-wrap: wrap; }
.letter input { flex: 1 1 220px; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 20px; background: var(--raised); font-size: 16px; }
.letter .fine { font-size: 14.5px; margin-top: 12px; }
@media (max-width: 800px) { .letter { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 56px 28px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; font-size: 15px; }
footer h4 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .about p { color: var(--muted); max-width: 32ch; margin-top: 12px; }
footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }

/* bag */
.scrim { position: fixed; inset: 0; background: rgba(30, 22, 28, .35); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100%); z-index: 50; background: var(--raised); transform: translateX(105%); transition: transform .3s ease; display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-shadow: -20px 0 60px -30px rgba(30,22,28,.5); }
.bag.open { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag-head h3 { font-size: 30px; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 18px; line-height: 1; }
.bag-list { overflow-y: auto; padding: 6px 24px; display: grid; align-content: start; }
.bi { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bi .cv, .bi img { width: 44px; height: 58px; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: none; }
.bi b { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.bi small { color: var(--muted); font-size: 13px; }
.bi .r { display: grid; justify-items: end; gap: 2px; }
.rm { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 0; }
.bag-empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; gap: 8px; }
.bag-empty .script { font-family: var(--f-script); font-size: 40px; color: var(--accent); line-height: 1; }
.bag-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 18px; }
.bag-foot p { font-size: 14px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 14px); background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px 20px; font-size: 15px; font-weight: 600; z-index: 60; opacity: 0; pointer-events: none; transition: .22s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .float, .stage > * { translate: none !important; } }
/* The product page look (from the owner's chosen design, 23 Oct 2026). */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }
.pp-hero { padding-block: 28px 88px; }
.pp-buy { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; margin-top: 22px; }
.pp-buy .pd-main { max-width: 440px; }
.pp-buy .pd-thumbs button { width: 72px; }
.pp-buy h1, .page-head h1 { font-size: clamp(38px, 5vw, 58px); }
.pp-lede { color: var(--muted); font-size: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.facts li { background: var(--mist); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; font-weight: 700; }
.pp-buy .pd-buy { position: sticky; bottom: 0; background: var(--paper); padding-block: 12px; border-top: 1px solid var(--line); z-index: 2; }
.pp-buy .pd-buy .btn { flex: 1; min-width: 180px; }
.bar { display: flex; height: 22px; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin: 6px 0 30px; }
.bar i { display: block; height: 100%; min-width: 3px; }
.bar i + i { border-left: 2px solid var(--paper); }
.sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sec { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; background: var(--raised); border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line); }
.sec b { grid-row: span 2; font-family: var(--f-display); font-weight: 500; font-size: 40px; line-height: 1; min-width: 1.4em; padding: 8px 10px; border-radius: 12px; text-align: center; color: #3B2F38; }
.sec h3 { font-size: 19px; padding-top: 6px; }
.sec p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.total { margin-top: 18px; color: var(--muted); font-size: 15px; }
.getwrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.get { background: var(--raised); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.get.pick { box-shadow: 0 0 0 2px var(--ink); }
.get-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.get-h h3 { font-size: 26px; } .get-h .price { font-size: 26px; }
.get ul, .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.get li, .ticks li { padding-left: 26px; position: relative; font-size: 15.5px; line-height: 1.45; }
.get li::before, .ticks li::before { content: "\2713"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.get li.plus { font-weight: 700; }
.get .btn { justify-self: start; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.two h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.two p { color: var(--muted); }
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.apps span { border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: 14px; }
.faq { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.faq details { background: var(--raised); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 19px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--f-body); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.related .head { margin-inline: auto; text-align: center; justify-items: center; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 250px)); gap: 44px 40px; justify-content: center; }
.page-head { padding-block: 40px 8px; display: grid; gap: 14px; max-width: 720px; }
.page-head p { color: var(--muted); font-size: 18px; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.feature:first-child { border-top: 0; }
.feature .scene { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.feature .txt { display: grid; gap: 14px; align-content: start; }
.feature h2 { font-size: clamp(30px, 3.6vw, 42px); }
.feature .sp { color: var(--muted); }
.feature .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.feature .row .price { font-size: 24px; }
.feature .free-tag { font-size: 20px; }
@media (max-width: 900px) { .pp-buy, .two, .feature { grid-template-columns: 1fr; gap: 28px; } .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-buy .pd-main { max-width: 320px; } }
@media (max-width: 640px) { .sections, .getwrap { grid-template-columns: 1fr; } .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } .sec b { font-size: 32px; }
  .pp-buy .pd-thumbs button { width: 58px; } }
/* added by site.py: real pictures where the old design drew covers, product pages and help pages */
.cv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.look-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.look-stage { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 34px; align-items: center; width: min(640px, 100%); }
.look-stage .try-cover { width: 100%; }
.tchip[disabled] { opacity: .35; cursor: not-allowed; }
.pd-page { padding-block: 34px 90px; }
.pd-page .pd-in { background: var(--raised); border-radius: 28px; box-shadow: 0 0 0 1px var(--line); }
.pd-main > img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.pd-thumbs { flex-wrap: wrap; }
.inside-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; }
.inside-list li::marker { color: var(--sun); }
.ver em { color: var(--ink); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.photos img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.crumb { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.doc { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; padding-block: 0 90px; }
.doc h2 { font-size: 32px; margin-top: 14px; } .doc ul, .doc ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.doc .box { background: var(--raised); border-radius: 18px; padding: 20px 24px; box-shadow: 0 0 0 1px var(--line); border-left: 5px solid var(--c, var(--accent)); }
.pagehead { padding-block: 64px 52px; } .pagehead .head { margin-bottom: 0; }
.follow { display: flex; gap: 12px; flex-wrap: wrap; }
a.bag-btn { text-decoration: none; color: var(--ink); white-space: nowrap; }
a.scene { text-decoration: none; }
.shop.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; }
.versions.three-v { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ticks li[hidden] { display: none; } .ticks li.plus { font-weight: 700; }
.new { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8F4614; background: #FAD2B4; border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.ticks li:not(.plus) .new { display: none; }
.pd-main .pkg { display: none; width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.pd-main.show-pkg .pkg { display: block; } .pd-main.show-pkg .tablet { display: none; }
.pp-buy .pd-main.show-pkg { max-width: 560px; }
.pp-buy .pd-thumbs { gap: 8px; } .pp-buy .pd-thumbs button, .pd-thumbs button.pkg-t { width: 66px; } .pd-thumbs button.pkg-t { align-self: center; } .pd-thumbs button.pkg-t img { aspect-ratio: 4 / 3; }
.pk-pics { display: flex; gap: 18px; flex-wrap: wrap; align-items: end; margin-top: 6px; }
.pk-pics[hidden] { display: none; }
.pk-pics figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.pk-pics figcaption { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pk-pics .sheet { width: 120px; rotate: -3deg; } .pk-pics .phone { width: 92px; } .pk-pics .phone .screen { grid-template-columns: repeat(3, 1fr); padding: 20px 7px 7px; gap: 6px 4px; }
.kit-stk { display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; align-items: center; justify-items: center; } .kit-stk img { max-width: 62px; max-height: 44px; }
.getwrap.three-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } .get { cursor: pointer; }
.pd-main img.flat { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.cv.sprite { background-repeat: no-repeat; background-color: var(--sheet); }
.try-opts .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.try-opts .sw small { display: block; font-size: 10.5px; }
.texts .tchip i { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.covers-all { display: grid; gap: 16px; justify-items: center; }
.covers-all img { width: 100%; max-width: 1160px; height: auto; filter: drop-shadow(0 10px 18px rgba(59,47,56,.16)); }
.cover-colours { font-family: var(--f-script); font-size: 34px; color: var(--accent); line-height: 1; }
.qh-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; } .qh-grid figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.qh-grid .phone { width: 100%; max-width: 150px; } .qh-grid figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .shop.trio { grid-template-columns: 1fr 1fr; } .getwrap.three-g { grid-template-columns: 1fr; } .qh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shop.trio, .shop.duo { grid-template-columns: 1fr; } .versions.three-v { grid-template-columns: 1fr; } .look-stage { grid-template-columns: 1fr; justify-items: center; } .look-stage .try-cover { width: 60%; } .qh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Section colours and scroll-in (owner's Option A, 1 Nov 2026): after the hero, sections take the mists in turn
   so the page reads as chapters; the shop boxes stay white so they never match the section behind them. */
:root { --lime-mist: #EEF4D2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lime-mist: #2A2E1C; } }
:root[data-theme="dark"] { --lime-mist: #2A2E1C; }
main > section:not(.hero):nth-of-type(4n+2) { background: var(--apricot-mist); }
main > section:not(.hero):nth-of-type(4n+3) { background: var(--orchid-mist); }
main > section:not(.hero):nth-of-type(4n+4) { background: var(--lime-mist); }
main > section:not(.hero):nth-of-type(4n+5) { background: var(--mist); }
/* each shop box has its own mist (the shop section itself is orchid) */
#planners { background: var(--apricot-mist); } #journals { background: var(--mist); } #notebooks { background: #EEF4D2; }
.js-rv main > section > .wrap { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.js-rv main > section > .wrap.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-rv main > section > .wrap { opacity: 1; transform: none; transition: none; } }

/* the packages side by side (replaces the three package cards) */
.cmp-wrap { background: var(--raised); border-radius: 22px; padding: 10px 26px 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow); max-width: 940px; margin: 0 auto; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.cmp th, .cmp td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th:first-child, .cmp td:first-child { text-align: left; padding-left: 2px; }
.cmp thead th { font-family: var(--f-display); font-size: 20px; font-weight: 600; padding-block: 20px 16px; cursor: pointer; width: 19%; }
.cmp thead th:first-child { cursor: default; width: auto; }
.cmp thead th.pick { color: var(--accent); font-style: italic; }
.cmp .yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--accent); }
.cmp .yes svg { width: 15px; height: 15px; }
.cmp .no { color: var(--muted); }
.cmp tfoot td { border-bottom: 0; padding-top: 20px; }
.cmp tfoot .price { display: block; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cmp tfoot .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .cmp-wrap { padding: 4px 12px 16px; } .cmp { font-size: 13.5px; } .cmp th, .cmp td { padding: 11px 4px; } .cmp thead th { font-size: 15px; } .cmp tfoot .price { font-size: 17px; } .cmp tfoot .btn { padding: 8px 10px; font-size: 12.5px; white-space: normal; } }

.bag-btn .n[hidden] { display: none; }

/* the cart: a mint circle with a bag, the number on its edge (option D) */
.bag-btn { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--mist); color: var(--accent); display: inline-grid; place-items: center; }
.bag-btn:hover { background: #D3ECE6; }
.bag-btn svg { width: 22px; height: 22px; }
.bag-btn .n { position: absolute; top: -5px; right: -7px; min-width: 16px; height: 16px; padding: 0 3px; border: 2px solid var(--paper); box-sizing: content-box; font-size: 10.5px; line-height: 16px; }
.bag-btn .n[hidden] { display: none; }
.nav-right a.bag-btn, .nav-right a.bag-btn:hover { color: var(--accent); }

/* a row with fewer books than columns sits in the middle (cards keep their width) */
.grid { grid-template-columns: repeat(auto-fit, calc((100% - 3 * 26px) / 4)); justify-content: center; }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(auto-fit, calc((100% - 2 * 26px) / 3)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(auto-fit, calc((100% - 16px) / 2)); } }

/* prices on one line across a row: the blurb takes the spare height, so every price row sits at the bottom */
.card { grid-template-rows: auto auto auto 1fr auto; align-content: stretch; }

/* Try a page reads like the menu words beside it */
.nav-right .link { color: var(--muted); }
.nav-right .link:hover { color: var(--ink); }

/* You might also like: two books sit in the middle too */
@media (min-width: 641px) { .grid.three { grid-template-columns: repeat(auto-fit, 250px); } }

/* the free planners: an orchid circle beside the cart (option C) */
.gift-btn { width: 44px; height: 44px; border-radius: 50%; background: #F3E1F1; color: #7A3F73; display: inline-grid; place-items: center; }
.gift-btn:hover { background: #EBD2E8; }
.gift-btn svg { width: 21px; height: 21px; }
.nav-right { gap: 10px; }

.nav-right .gift-btn svg, .nav-right .bag-btn svg { width: 22px; height: 22px; }

/* the strip at the top of every page: 15% off for joining the letters */
.promo { display: block; background: var(--mist); color: var(--accent); text-align: center; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; padding: 9px 16px; text-decoration: none; }
.promo:hover { text-decoration: underline; text-underline-offset: 3px; }
.letter .join .btn { white-space: nowrap; }
.letter .fine a { color: var(--accent); }
body { margin: 0; }

/* Instagram under the sign-up: a teal outline glyph and the handle */
.letter .ig { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.letter .ig svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
.letter .ig:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* the footer has a fourth column: Follow */
footer .wrap { grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }

/* after joining: Gumroad marks the form data-gumroad-follow-state="success", and the welcome card takes its place */
.welcome, .join-err { display: none; }
.join[data-gumroad-follow-state="success"], .join[data-gumroad-follow-state="success"] ~ .join-note { display: none; }
.join[data-gumroad-follow-state="success"] ~ .welcome { display: grid; }
.join[data-gumroad-follow-state="error"] ~ .join-err { display: block; color: #9B3A2E; font-size: 14.5px; margin-top: 10px; }
.welcome { gap: 10px; background: var(--raised); border-radius: 22px; padding: 24px 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.welcome .hi { font-family: var(--f-script); font-size: 46px; line-height: .9; color: var(--accent); }
.welcome p { margin: 0; max-width: none; }
.welcome .code { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed var(--accent); border-radius: 14px; padding: 10px 10px 10px 18px; background: var(--mist); }
.welcome .code b { font-size: 22px; letter-spacing: .12em; color: var(--ink); }
.welcome .copy { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; cursor: pointer; }

/* the note under the email box starts where the typing starts inside the pill */
.letter .join-note { padding-left: 21.5px; margin-top: 10px; font-size: 14px; line-height: 1.5; }

/* 1: the home picture: a fan of journal, planner and printable */
@media (min-width: 881px) { .hero .wrap { grid-template-columns: .9fr 1.1fr; gap: 28px; } }
.stage { aspect-ratio: 680 / 620; max-width: none; }
@media (min-width: 881px) { .stage { width: calc(100% + 36px); margin-right: -36px; justify-self: start; } }
.stage > .tablet { position: absolute; }
.stage > .tablet.t1 { left: -3%; top: 15%; width: 40%; rotate: -6deg; z-index: 1; }
.stage > .tablet.t2 { left: 24%; top: 0; width: 52%; rotate: 1deg; z-index: 2; }
.stage > .print { position: absolute; left: 66.5%; top: 27%; width: 32%; rotate: 6deg; z-index: 3; background: #fff; box-shadow: 0 2px 4px rgba(59, 47, 56, .08), 0 26px 44px -22px rgba(59, 47, 56, .5); }
.stage > .print img { display: block; width: 100%; }
/* no camera island on any phone */
.phone .screen::before, .screen::before { content: none; }
.phone .screen { padding-top: 9px; }
/* 2: Quiet Hours: a light and a dark phone, widget pictures on the thumbnails */
.pp-buy .pd-main.qh-main { max-width: 540px; }
.two-phones { display: none; gap: 4%; justify-content: center; padding: 28px 6%; background: var(--apricot-mist); border-radius: 16px; }
.two-phones .phone { width: 46%; }
.qh-main.show-phones .two-phones { display: flex; } .qh-main.show-phones #pdMain { display: none; }
/* 3 and 4: help pages */
.doc { padding-block: 56px 72px; }
.doc .box.plain { border-left: 0; }
/* 5: supplies and freebies: prices and buttons on one line across a row */
.item { grid-template-rows: auto auto auto 1fr auto; align-content: stretch; }
.item .row { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
/* 6: the strip is a button that opens the sign-up */
button.promo { width: 100%; border: 0; font-family: inherit; cursor: pointer; }
.pop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(59, 47, 56, .45); }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: min(640px, 100%); max-height: calc(100% - 32px); overflow: auto; background: var(--raised); border-radius: 24px; padding: 32px 36px; box-shadow: var(--shadow); }
.pop-h .hi { font-family: var(--f-script); font-size: 48px; line-height: 1; color: var(--accent); }
.pop-h p { margin: 10px 0 18px; }
.pop-card .join { display: flex; gap: 10px; flex-wrap: wrap; }
.pop-card .join input { flex: 1 1 220px; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 20px; background: var(--raised); font-size: 16px; }
.pop-card .join-note { padding-left: 21.5px; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pop-card .join .btn { white-space: nowrap; }
.pop-card .welcome { box-shadow: none; padding: 0; }
.pop-card:has(.join[data-gumroad-follow-state="success"]) .pop-h { display: none; }
.pop-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.pop-x:hover { color: var(--ink); }

/* links in running text use the brand teal, never browser blue */
.doc a, .letter .fine a { color: var(--accent); text-underline-offset: 3px; }

/* help pages: one soft colour, everything on one centre, one white card */
.hp { padding: 60px 0 84px; }
.hp-apricot { background: var(--apricot-mist); } .hp-mist, .hp-mist2 { background: var(--mist); } .hp-lime { background: var(--lime-mist); } .hp-orchid { background: var(--orchid-mist); }
.hp-head { text-align: center; max-width: 660px; margin: 0 auto; }
.hp-head .moon { display: block; margin: 0 auto 12px; }
.hp-head h2 { margin: 6px 0 10px; font-size: clamp(42px, 5.4vw, 64px); line-height: 1.08; }
.hp-head p { color: var(--muted); margin: 0; }
.hp-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px auto 32px; }
.hp-nav a { background: var(--raised); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.hp-nav a:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.hp-nav a.on { background: var(--ink); color: #fff; box-shadow: none; }
.hp-card { max-width: 760px; margin: 0 auto; background: var(--raised); border-radius: 24px; padding: 12px 34px; box-shadow: var(--shadow); }
.hp-card h3 { font-size: 23px; margin: 0 0 8px; }
.hp-card p { margin: 0; }
.hp-card a { color: var(--accent); text-underline-offset: 3px; }
.hp-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.hp-row:last-child { border-bottom: 0; }
.hp-tip { background: var(--mist); border-radius: 14px; padding: 12px 16px; }
.hp-faq { padding: 10px 30px; }
.hp-faq .faq { max-width: none; margin: 0; }
.hp-faq details { background: none; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.hp-faq details:last-child { border-bottom: 0; }
.hp-one { padding: 26px 34px; text-align: center; }
.hp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.hp-two .hp-card { padding: 26px 28px; max-width: none; }
.ticks.no li::before { content: "\2013"; color: var(--muted); }
.hp-small { max-width: 720px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hp-ask { text-align: center; margin-top: 34px; }
.hp-ask .s { font-family: var(--f-script); font-size: 40px; line-height: 1; color: var(--accent); display: block; margin-bottom: 12px; }
@media (max-width: 720px) { .hp-two { grid-template-columns: 1fr; } .hp-card { padding: 8px 20px; } .hp-faq { padding: 6px 16px; } .hp-two .hp-card, .hp-one { padding: 22px 20px; } }

/* Store policies and the contact line */
.hp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp-cols b { display: block; margin-bottom: 8px; }
.hp-row .hp-small { text-align: left; }
.hp-ask p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }
.hp-ask a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 720px) { .hp-cols { grid-template-columns: 1fr; } }

/* the owner's phone: thin frame, big icons, same proportions at any size */
.stage > .phone, .two-phones .phone { padding: 3.2%; border-radius: 13% / 6.2%; }
.stage > .phone { padding: 1%; }
.stage > .phone .screen, .two-phones .phone .screen { padding: 15% 3.6% 3.6%; gap: 2.6%; border-radius: 11% / 5.2%; }
.stage > .phone .widget, .two-phones .phone .widget { border-radius: 9% / 19%; }

/* a refused sign-up: Gumroad wants its own subscribe page, so show one last step instead of its message */
.confirm { display: none; gap: 10px; justify-items: start; }
.confirm .hi { font-family: var(--f-script); font-size: 40px; line-height: 1; color: var(--accent); }
.confirm p { margin: 0; }
.join[data-gumroad-follow-state="error"] { display: none; }
.join[data-gumroad-follow-state="error"] ~ .confirm { display: grid; }
.join[data-gumroad-follow-state="error"] ~ .join-err, .join[data-gumroad-follow-state="error"] ~ .join-note { display: none; }
.pop-card:has(.join[data-gumroad-follow-state="error"]) .pop-h { display: none; }

/* the sign-up: a letter that goes into an envelope, then the code */
.env { position: relative; width: 460px; height: 560px; max-width: 100%; }
.pop .join-err { display: none; }
.env .pop-x { position: absolute; top: -6px; right: -6px; z-index: 8; background: var(--raised); color: var(--ink); }
.env-sc { position: absolute; inset: 0; perspective: 1100px; }
.env-fly { position: absolute; inset: 0; transition: transform 1.15s cubic-bezier(.55, .05, .75, .4), opacity .8s ease .3s; }
.env-back, .env-pocket, .env-flap { position: absolute; left: 10px; width: 440px; top: 320px; height: 236px; }
.env-back { background: #CFEBE4; border-radius: 14px; box-shadow: 0 30px 44px -26px rgba(59, 47, 56, .55); }
.env-flap { height: 150px; background: #BFE7DF; clip-path: polygon(0 0, 100% 0, 52% 96%, 48% 96%); transform-origin: top; transform: rotateX(178deg); transition: transform .85s cubic-bezier(.5, 0, .3, 1); z-index: 1; }
.env-letter { position: absolute; left: 32px; top: 6px; width: 396px; height: 430px; box-sizing: border-box; background: #FFFDF8; border-radius: 8px; padding: 26px 30px; z-index: 2; overflow: hidden; box-shadow: 0 2px 0 rgba(0, 0, 0, .03), 0 20px 34px -24px rgba(59, 47, 56, .5); transition: top .85s cubic-bezier(.5, 0, .3, 1), height .85s cubic-bezier(.5, 0, .3, 1); }
.env-letter::before { content: ""; position: absolute; inset: 9px; border: 1px solid #E7E0DD; border-radius: 5px; pointer-events: none; }
.env .dear { font-family: var(--f-script); font-size: 46px; line-height: 1; color: var(--accent); }
.env-letter p { margin: 12px 0 14px; font-size: 15px; line-height: 1.5; }
.env-letter label { display: block; font-family: var(--f-display); font-size: 15px; margin-bottom: 6px; }
.env-letter input { width: 100%; box-sizing: border-box; height: 46px; border: 0; border-radius: 14px; background: var(--mist); color: var(--ink); padding: 0 16px; font: inherit; font-size: 15px; }
.env .sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 24px; }
.env .love { font-size: 13.5px; color: var(--muted); } .env .love b { display: block; font-family: var(--f-script); font-weight: 400; font-size: 30px; line-height: 1; color: var(--accent); margin-top: 2px; }
.env-pocket { z-index: 3; border-radius: 14px; overflow: hidden; background: #DDF1EC; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env-pocket::after { content: ""; position: absolute; inset: 0; background: #E9F6F2; clip-path: polygon(0 100%, 50% 50%, 100% 100%); }
.env-seal { position: absolute; left: 50%; top: 414px; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #FFFDF8, 0 8px 14px -6px rgba(59, 47, 56, .5); display: grid; place-items: center; z-index: 6; opacity: 0; transform: scale(.5); transition: all .35s cubic-bezier(.3, 1.6, .5, 1); }
.env.s1 .env-letter { top: 330px; height: 210px; } .env.s1 .env-letter > * { opacity: 0; transition: opacity .3s; }
.env.s2 .env-flap { transform: rotateX(0); z-index: 5; } .env.s2 .env-seal { opacity: 1; transform: scale(1); }
.env.s3 .env-fly { transform: translate(380px, -560px) rotate(-14deg) scale(.32); opacity: 0; }
.env-wel { position: absolute; left: 50%; top: 50%; width: 400px; max-width: 100%; margin: -135px 0 0 -200px; box-sizing: border-box; background: var(--raised); border-radius: 22px; padding: 26px 30px; opacity: 0; transform: translateY(16px); transition: all .6s ease; pointer-events: none; }
.env-wel p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; } .env-wel .fine { font-size: 13px; color: var(--muted); }
.env-wel .code { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed var(--accent); border-radius: 14px; background: var(--mist); padding: 9px 9px 9px 16px; margin-top: 12px; }
.env-wel .code b { font-size: 20px; letter-spacing: .12em; color: var(--ink); }
.env-wel .copy { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; cursor: pointer; }
.env.s4 .env-wel { opacity: 1; transform: none; pointer-events: auto; }
.env.s4 .pop-x { top: 120px; right: 24px; }
@media (max-width: 520px) { .env { zoom: .72; } }
.env-letter .dear { font-size: 39px; white-space: nowrap; }

/* the name box: a taller letter */
.env { height: 620px; }
.env-back, .env-pocket, .env-flap { top: 384px; height: 232px; }
.env-flap { height: 150px; }
.env-letter { height: 500px; padding: 24px 30px; }
.env-letter p { margin: 10px 0 12px; font-size: 14.5px; line-height: 1.45; }
.env-letter label { margin-bottom: 5px; }
.env-letter input { height: 44px; margin-bottom: 10px; }
.env .sign { margin-top: 6px; gap: 10px; }
.env .love { min-width: 0; } .env .love b { font-size: 32px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.env-seal { top: 476px; }
.env.s1 .env-letter { top: 394px; height: 210px; }
.env.s3 .env-fly { transform: translate(380px, -620px) rotate(-14deg) scale(.32); }
@media (max-height: 680px) { .env { zoom: .8; } }

/* the letter sits snugly in a shallower envelope; its boxes and button keep their look inside Gumroad's frame */
.env { height: 590px; }
.env-back, .env-pocket { top: 352px; height: 232px; }
.env-flap { top: 352px; height: 112px; }
.env-letter { height: 440px; }
.env-pocket { clip-path: polygon(0 0, 50% 30%, 100% 0, 100% 100%, 0 100%); }
.env-pocket::after { clip-path: polygon(0 100%, 50% 36%, 100% 100%); }
.env-seal { top: 428px; }
.env.s1 .env-letter { top: 362px; height: 210px; }
.env .love b { line-height: 1.35; padding-bottom: 2px; }
#pop .env-letter input { height: 44px !important; border: 0 !important; border-radius: 14px !important; background: #E3F3EF !important; color: #3B2F38 !important; box-shadow: none !important; font-family: var(--f-body) !important; font-size: 15px !important; padding: 0 16px !important; }
#pop .env-letter .btn { background: #3B2F38 !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; height: 44px !important; padding: 0 26px !important; font-family: var(--f-body) !important; font-weight: 700 !important; }
.env .love b { overflow: visible; max-width: none; padding-right: 10px; }
.env-back, .env-pocket { top: 358px; } .env-flap { top: 358px; } .env-seal { top: 434px; } .env { height: 596px; }

/* the envelope, final shape: flap hinged on the top edge, letter resting in front until Send */
.env { height: 650px; }
.env-back, .env-pocket { top: 364px; height: 280px; border-radius: 12px; }
.env-back { background: #BFE7DF; }
.env-flap { top: 206px; height: 158px; background: #BFE7DF; clip-path: polygon(0 100%, 100% 100%, 53% 3%, 47% 3%); transform-origin: bottom; transform: none; z-index: 1; }
.env-letter { top: 6px; height: 406px; padding: 26px 30px 20px; z-index: 4; }
.env-pocket { background: #D5EFE9; clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%); z-index: 3; }
.env-pocket::after { background: #E3F3EF; clip-path: polygon(0 100%, 50% 46%, 100% 100%); }
.env-letter label { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.env-seal { top: 484px; }
.env.s1 .env-letter { top: 376px; height: 220px; z-index: 2; }
.env.s2 .env-flap { transform: rotateX(180deg); z-index: 5; }
.env.s3 .env-fly { transform: translate(380px, -640px) rotate(-14deg) scale(.32); }
@media (max-height: 720px) { .env { zoom: .8; } }

/* footer: shop, help and follow */
footer .wrap { grid-template-columns: 1.5fr repeat(3, 1fr); }

/* the letter inside the envelope: narrower paper, one-piece flap, signature and Send in the opening */
.env { height: 622px; }
.env-back, .env-pocket { top: 344px; height: 270px; border-radius: 0 0 12px 12px; }
.env-flap { top: 194px; height: 150px; clip-path: polygon(0 100%, 100% 100%, 53% 3%, 47% 3%); }
.env-letter { left: 55px; width: 350px; top: 6px; height: 430px; padding: 24px 26px; z-index: 2; }
.env-letter .dear { font-size: 36px; }
.env-pocket { clip-path: polygon(0 0, 50% 59%, 100% 0, 100% 100%, 0 100%); }
.env-pocket::after { clip-path: polygon(0 100%, 50% 59%, 100% 100%); }
.env .sign { flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; text-align: center; }
.env .love b { padding: 0 10px; }
.env-seal { top: 460px; }
.env.s1 .env-letter { top: 356px; height: 190px; }
.env-letter { height: 530px; }
.env-flap { top: 184px; height: 160px; clip-path: polygon(0 100%, 100% 100%, 50% 0); }
.env-seal { top: 472px; }
.env.s2 .env-letter { opacity: 0; transition: opacity .2s .5s; }
/* no hairline where the flap meets the body: the flap runs 3px down behind the front */
.env-flap { height: 163px; clip-path: polygon(0 100%, 100% 100%, 100% 160px, 50% 0, 0 160px); transform-origin: 50% 160px; }

.env-wel,.env-wel .dear,.env-wel p{text-align:center}
.env-wel{border:1px solid #1F6F6A}
.env-wel .wel-sig{font-family:Allura,cursive;font-size:25px;line-height:1.1;color:#1F6F6A;margin:10px 0 0}
