/* love1tech.com v2: a kind letter on soft paper, with notes on the fridge, now with taped-in product renders,
   a demo clip and the Black Friday clock. System fonts only (the site's CSP allows nothing else).
   Built on the v1 stylesheet; v2 parts are marked "v2" below. */

:root {
  color-scheme: light dark;
  --paper: #fbf5ea;
  --paper-2: #f3e8d6;
  --sheet: #fffdf7;
  --ink: #34282a;
  --ink-soft: #5d4d4c;
  --rose: #a6536d;
  --rose-ink: #8b3a54;
  --on-rose: #fffaf3;
  --rose-wash: rgba(166, 83, 109, .14);
  --sun: #e9c46a;
  --sun-wash: rgba(233, 196, 106, .55);
  --sky-wash: rgba(108, 160, 184, .22);
  --leaf: #5f7f4e;
  --ring: #23884a;
  --line: #d9c7b1;
  --rule: rgba(84, 132, 168, .26);
  --grid: rgba(84, 132, 168, .13);
  --margin: rgba(196, 82, 112, .45);
  --tape: rgba(233, 196, 106, .55);
  --shadow: 0 1px 0 rgba(52, 40, 42, .05), 0 14px 30px -18px rgba(52, 40, 42, .35);
  --focus: #1f5f8b;
  --fridge: #eef0ec;
  --fridge-edge: #d8dcd6;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --hand: "Bradley Hand", "Segoe Print", "Noteworthy", "Ink Free", "Chalkboard SE", ui-serif, Georgia, cursive;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --wobbly: 255px 14px 225px 16px / 16px 225px 14px 255px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .27 .16 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1d1718;
    --paper-2: #251e1f;
    --sheet: #2a2223;
    --ink: #f4e9de;
    --ink-soft: #d3c4b8;
    --rose: #e29bb1;
    --rose-ink: #f0b3c5;
    --on-rose: #2a161d;
    --rose-wash: rgba(226, 155, 177, .16);
    --sun: #e4c070;
    --sun-wash: rgba(228, 192, 112, .2);
    --sky-wash: rgba(120, 170, 194, .2);
    --ring: #5fd08b;
    --line: #4a3d3c;
    --rule: rgba(140, 180, 210, .16);
    --grid: rgba(140, 180, 210, .09);
    --margin: rgba(226, 155, 177, .35);
    --tape: rgba(228, 192, 112, .32);
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 34px -20px rgba(0, 0, 0, .8);
    --focus: #9fd0f2;
    --fridge: #262a28;
    --fridge-edge: #343a37;
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .85 0 0 0 0 .8 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* sale states: regular prices are the default; site.js sets html[data-sale] */
.sale-before, .sale-live, .p-sale { display: none !important; }
html[data-sale="before"] .sale-before { display: revert !important; }
html[data-sale="live"] .sale-live { display: revert !important; }
html[data-sale="live"] .p-sale { display: inline !important; }
html[data-sale="live"] .p-reg { display: none !important; }

/* parts that only work with JavaScript */
.js-only { display: none !important; }
html.js .js-only { display: revert !important; }
html.js .note-fields.js-only { display: grid !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--noise);
  color: var(--ink);
  font: 400 1.125rem/1.68 var(--serif);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--rose-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px dashed var(--focus); outline-offset: 4px; border-radius: 4px; }
code { font: 500 .86em/1.4 var(--mono); background: var(--rose-wash); padding: .08em .35em; border-radius: 5px; white-space: nowrap; }
b { font-weight: 650; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: .01em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--sheet); color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 880px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.7rem); line-height: 1.12; font-weight: 600; letter-spacing: -.012em; margin: 0 0 .35em; }
h3 { font-size: 1.28rem; line-height: 1.25; font-weight: 650; margin: 0 0 .35em; }
.sub { color: var(--ink-soft); font-size: 1.16rem; max-width: 40em; margin: 0 0 1.6em; }
.kicker { color: var(--rose-ink); font-size: 1.35rem; margin: 0 0 .1em; transform: rotate(-2deg); transform-origin: left; display: inline-block; }

/* ---------- header ---------- */
.top { padding: 20px 0 6px; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.mark { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.mark-heart { grid-row: 1 / span 2; width: 36px; height: 32px; fill: none; stroke: var(--rose); stroke-width: 2.2; stroke-linejoin: round; transform: rotate(-8deg); }
.mark-name { font: italic 600 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.mark-name b { color: var(--rose-ink); font-style: normal; font-weight: 700; padding: 0 .04em; }
.mark-role { font: 400 .92rem/1.3 var(--hand); color: var(--ink-soft); }
.top-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 1rem; }
.top-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; background-image: linear-gradient(var(--rose), var(--rose)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 88%; transition: background-size .25s; }
.top-nav a:hover { background-size: 100% 2px; }
@media (max-width: 560px) {
  .top-nav { gap: 2px 14px; font-size: .98rem; }
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .4em; justify-content: center;
  background: var(--rose-ink); color: var(--on-rose);
  font: 650 1.08rem/1.2 var(--serif); text-decoration: none;
  padding: .92em 1.5em; border: 2px solid var(--ink); border-radius: var(--wobbly);
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-1px, -1px) rotate(-.6deg); box-shadow: 5px 6px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.soft-link { display: inline-flex; align-items: center; gap: .45em; color: var(--rose-ink); font-weight: 600; text-decoration: underline; text-decoration-style: wavy; text-decoration-thickness: 1px; text-underline-offset: .32em; padding: .4em 0; }
.soft-link svg { width: 26px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-quiet { font: 600 1rem/1.2 var(--serif); color: var(--ink); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--wobbly); padding: .7em 1.2em; cursor: pointer; justify-self: start; }
.btn-quiet:hover { background: var(--sun-wash); }
@media (prefers-reduced-motion: reduce) { .btn, .top-nav a { transition: none; } .btn:hover { transform: none; } }

/* ---------- the letter (hero) ---------- */
.hero { padding: 26px 0 56px; }
.hero-sheet { transform: rotate(-.35deg); }
.hero-body { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero-body { grid-template-columns: 1fr 1.05fr; gap: 44px; } }
.sheet {
  position: relative; background: var(--sheet); border-radius: 4px 6px 5px 3px;
  padding: 44px 26px 32px; box-shadow: var(--shadow);
  transform: rotate(-.6deg);
  background-image: linear-gradient(90deg, transparent 0 46px, var(--margin) 46px 47.5px, transparent 47.5px);
  background-repeat: no-repeat;
}
@media (min-width: 700px) { .sheet { padding: 54px 48px 40px 76px; } }
@media (max-width: 699px) { .sheet { background-image: none; transform: none; } }
.tape { position: absolute; top: -12px; width: 108px; height: 30px; background: var(--tape); border-left: 2px dotted rgba(255,255,255,.35); border-right: 2px dotted rgba(255,255,255,.35); }
.tape-l { left: 18px; transform: rotate(-6deg); }
.tape-r { right: 22px; transform: rotate(5deg); }
.tape-c { left: 50%; margin-left: -54px; transform: rotate(-3deg); }
.dear { font-size: 1.3rem; color: var(--rose-ink); margin: 0 0 .5em; transform: rotate(-1.2deg); transform-origin: left; }
h1 { font-size: clamp(2.15rem, 1.3rem + 3vw, 3.4rem); line-height: 1.07; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .55em; max-width: 19em; }
.underlined { position: relative; white-space: nowrap; font-style: italic; color: var(--rose-ink); }
.scrawl { position: absolute; left: -2%; bottom: -.22em; width: 104%; height: .34em; overflow: visible; fill: none; stroke: var(--rose); stroke-width: 4; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .scrawl path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .35s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.lead { font-size: 1.2rem; line-height: 1.65; margin: 0 0 1.5em; max-width: 34em; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 8px; }
.ps { margin: 22px 0 0; padding: 12px 16px; background: var(--sun-wash); border-radius: 3px; transform: rotate(.7deg); font-size: 1.02rem; max-width: 32em; }
.ps .hand { font-size: 1.2rem; color: var(--rose-ink); margin-right: .25em; }

.house { margin: 0; }
.house svg { display: block; width: 100%; height: auto; }
.house figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 8px; text-align: center; font-style: italic; }
.d-ink { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w-sun { fill: var(--sun-wash); }
.w-rose { fill: var(--rose-wash); }
.w-sky { fill: var(--sky-wash); }
.d-net { fill: none; stroke: var(--rose); stroke-width: 2.6; stroke-dasharray: 2 9; stroke-linecap: round; }
.d-heart { fill: var(--rose); stroke: none; }
.d-note-heart { fill: var(--rose); }
.d-ring { fill: none; stroke: var(--ring); stroke-width: 3; }
.d-ring.sm { stroke-width: 2.4; }
.d-hand { font-family: var(--hand); font-size: 17px; fill: var(--ink); }
.d-hand.md { font-size: 19px; fill: var(--ink-soft); }
.d-hand.xs { font-size: 10px; }

/* ---------- what it is ---------- */
.what { padding: 40px 0 64px; }
.two-lists { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) { .two-lists { grid-template-columns: 1.15fr 1fr; } }
.list-card { background: var(--sheet); padding: 24px 22px 14px; border-radius: 6px; box-shadow: var(--shadow); }
.list-card.does { transform: rotate(-.4deg); }
.list-card.doesnt { transform: rotate(.5deg); background-image: linear-gradient(var(--rose-wash), var(--rose-wash)); }
.list-card h3 { font-family: var(--hand); font-weight: 400; font-size: 1.6rem; color: var(--rose-ink); margin-bottom: .4em; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.55; }
.list-card li svg { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.does li svg { stroke: var(--leaf); }
.doesnt li svg { stroke: var(--rose-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .does li svg { stroke: #9cc483; } }

.stamps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stamps li { background: var(--sheet); padding: 14px 12px; text-align: center; outline: 2px dashed var(--line); outline-offset: -8px; box-shadow: var(--shadow); }
.stamps li:nth-child(odd) { transform: rotate(-1.4deg); }
.stamps li:nth-child(even) { transform: rotate(1.2deg); }
.stamps b { display: block; font-size: 1.24rem; color: var(--rose-ink); margin-top: 4px; }
.stamps span { display: block; font-size: .92rem; line-height: 1.35; color: var(--ink-soft); padding: 2px 4px 6px; }

/* ---------- talk first: the fridge ---------- */
.talk { padding: 64px 0 72px; background: var(--paper-2); background-image: var(--noise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.talk-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; max-width: 960px; }
.talk-head .sub { margin-bottom: 0; }
.owl { width: 104px; height: auto; transform: rotate(4deg); filter: drop-shadow(0 8px 10px rgba(52, 40, 42, .22)); }
@media (min-width: 760px) { .owl { width: 150px; } }
@media (max-width: 480px) {
  .talk-head { grid-template-columns: 1fr; position: relative; }
  .talk-head .kicker, .talk-head h2 { padding-right: 84px; }
  .owl { position: absolute; right: -4px; top: -34px; width: 80px; }
}

.fridge { margin: 36px 0 0; padding: 30px 18px; background: var(--fridge); border-radius: 22px; border: 2px solid var(--fridge-edge); position: relative; display: grid; gap: 26px; }
.fridge::before { content: ""; position: absolute; right: 12px; top: 36px; width: 10px; height: 120px; border-radius: 6px; background: var(--fridge-edge); }
@media (max-width: 699px) { .fridge::before { display: none; } }
@media (min-width: 700px) { .fridge { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 40px 44px 40px 34px; gap: 30px 28px; } }
@media (min-width: 1040px) { .fridge { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; background: var(--sheet); padding: 26px 20px 18px; box-shadow: var(--shadow); border-radius: 2px; }
.card::before { content: ""; position: absolute; top: -11px; left: 50%; margin-left: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--m, var(--rose)); box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .18), 0 3px 5px rgba(0, 0, 0, .2); }
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; font-size: 1.03rem; line-height: 1.6; }
.c1 { transform: rotate(-1.2deg); --m: var(--rose); }
.c2 { transform: rotate(.9deg); --m: #d39b2c; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; }
.c3 { transform: rotate(-.5deg); --m: #4f7c8a; background: #fbefc4; color: #34282a; }
.c4 { transform: rotate(1.3deg); --m: var(--leaf); }
.c5 { transform: rotate(-.9deg); --m: #4f7c8a; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; }
.c6 { transform: rotate(.6deg); --m: var(--rose); background: #f6dde3; color: #34282a; }
.c3 h3, .c6 h3 { color: #34282a; }
.c3 code, .c6 code { background: rgba(139, 58, 84, .12); }
@media (max-width: 699px) { .card { transform: none; } }

.note-maker { margin-top: 48px; display: grid; gap: 30px; align-items: start; }
@media (min-width: 860px) { .note-maker { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.note-words > p { margin: 0 0 1em; color: var(--ink-soft); }
.note-fields { display: grid; gap: 6px; max-width: 420px; }
.note-fields label { font: 600 1rem/1.3 var(--serif); margin-top: 8px; }
.note-fields input {
  font: 400 1.12rem/1.3 var(--hand); color: var(--ink); background: transparent;
  border: 0; border-bottom: 2px solid var(--ink-soft); border-radius: 0; padding: 8px 2px 6px; width: 100%;
}
.note-fields input::placeholder { color: var(--ink-soft); opacity: .85; }
.note-fields input:focus-visible { outline: 3px dashed var(--focus); outline-offset: 3px; border-bottom-color: var(--rose-ink); }
.note-fields .btn-quiet { margin-top: 18px; }
.fine { font-size: .95rem; color: var(--ink-soft); }
.fridge-note {
  position: relative; margin: 0; padding: 34px 28px 26px; background: #fff6cf; color: #34282a;
  box-shadow: 0 18px 30px -20px rgba(52, 40, 42, .55); transform: rotate(-1.5deg);
  border-radius: 2px 2px 18px 2px; font-size: 1.12rem; line-height: 1.6;
}
.fridge-note p { margin: 0 0 .7em; }
.fridge-note b { font-family: var(--hand); font-weight: 400; font-size: 1.12em; color: #7f3049; border-bottom: 2px solid rgba(127, 48, 73, .45); padding: 0 .1em; }
.fridge-note .hello { font-size: 1.45rem; color: #7f3049; }
.fridge-note .signoff { font-size: 1.25rem; margin: 1em 0 0; color: #34282a; display: flex; align-items: center; gap: 8px; }
.fridge-note .signoff svg { width: 26px; height: 23px; fill: #b4566f; }
.magnet { position: absolute; top: -14px; left: 50%; margin-left: -16px; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); box-shadow: inset -4px -5px 0 rgba(0, 0, 0, .18), 0 4px 6px rgba(0, 0, 0, .22); }
@media (max-width: 699px) { .fridge-note { transform: none; padding: 32px 20px 22px; } }

/* ---------- uses (v2: a taped-in render beside each use) ---------- */
.uses { padding: 72px 0 40px; }
.uses-head { max-width: 760px; }
.use { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; padding: 34px 0; border-bottom: 2px dotted var(--line); }
.use p { margin: 0 0 .6em; }
.use h3 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.use-no { margin: 0 !important; font-size: 1.5rem; color: var(--rose-ink); }
@media (min-width: 900px) {
  .use { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; }
  .use.flip > figure { order: 2; }
}

/* ---------- setup: a recipe card ---------- */
.setup { padding: 40px 0 64px; }
.recipe {
  background: var(--sheet); box-shadow: var(--shadow); border-radius: 4px; padding: 34px 22px 26px;
  border-top: 10px solid var(--rose); transform: rotate(.35deg);
}
.recipe .sub { padding-bottom: 1.1em; border-bottom: 3px double var(--rule); }
@media (min-width: 700px) { .recipe { padding: 40px 48px 34px; } }
@media (max-width: 699px) { .recipe { transform: none; } }
.recipe q { font-style: italic; color: var(--ink); quotes: "“" "”"; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 54px; margin: 0 0 20px; line-height: 1.62; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px;
  display: grid; place-items: center; font: 400 1.35rem/1 var(--hand); color: var(--rose-ink);
  border: 2px solid var(--rose); border-radius: 52% 46% 55% 44% / 47% 55% 45% 53%;
}
.steps li:nth-child(even)::before { transform: rotate(8deg); }
@media (max-width: 699px) { .steps li { padding-left: 46px; } .steps li::before { width: 34px; height: 34px; font-size: 1.2rem; } }
.later { font-family: var(--hand); font-weight: 400; color: var(--rose-ink); font-size: 1.45rem; margin: 26px 0 .2em; }
.later-p { margin: 0; }

/* ---------- plain truths: a notepad page ---------- */
.truths { padding: 24px 0 70px; }
.notepad {
  position: relative; background: var(--sheet); box-shadow: var(--shadow); border-radius: 3px;
  padding: 46px 18px 32px 18px;
  background-image:
    radial-gradient(circle at 50% 50%, var(--paper) 0 6px, transparent 6.5px),
    repeating-linear-gradient(transparent 0 31px, var(--rule) 31px 32px);
  background-size: 34px 22px, 100% 100%;
  background-repeat: repeat-x, no-repeat;
  background-position: 6px 8px, 0 8px;
  transform: rotate(-.4deg);
}
@media (min-width: 700px) {
  .notepad { padding: 46px 44px 30px 86px; }
  .notepad::before { content: ""; position: absolute; left: 62px; top: 32px; bottom: 0; width: 2px; background: var(--margin); }
}
@media (max-width: 699px) { .notepad { transform: none; } }
.notepad ul { list-style: none; margin: 0; padding: 0; }
.notepad h2 { line-height: 64px; margin: 0; }
@media (max-width: 699px) { .notepad h2 { font-size: 1.7rem; line-height: 32px; margin: 0 0 32px; } }
.notepad li { position: relative; line-height: 32px; margin: 0; padding-left: 26px; font-size: 1.07rem; }
.notepad li::before { content: "♥"; position: absolute; left: 0; top: 0; color: var(--rose); font-size: .9rem; }
.notepad b { color: var(--ink); }

/* ---------- price: two envelopes ---------- */
.price { padding: 30px 0 70px; }
.envelopes { display: grid; gap: 30px; margin-top: 10px; }
@media (min-width: 760px) { .envelopes { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.envelope { position: relative; background: var(--sheet); box-shadow: var(--shadow); padding: 74px 26px 26px; border-radius: 4px; overflow: hidden; }
.envelope::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background: var(--paper-2); clip-path: polygon(0 0, 100% 0, 50% 100%); border-bottom: 0; }
.envelope.main { transform: rotate(-.6deg); outline: 2px solid var(--rose); outline-offset: -2px; }
.envelope:not(.main) { transform: rotate(.6deg); }
@media (max-width: 699px) { .envelope.main, .envelope:not(.main) { transform: none; } }
.seal { position: absolute; top: 40px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--rose-ink); display: grid; place-items: center; box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .2); }
.seal svg { width: 22px; height: 20px; fill: var(--on-rose); }
.envelope h3 { text-align: center; margin-top: 14px; font-size: 1.35rem; }
.amt { text-align: center; font: 600 3.4rem/1 var(--serif); letter-spacing: -.03em; margin: 8px 0 4px; color: var(--ink); }
.per { text-align: center; color: var(--ink-soft); margin: 0 0 10px; }
.when { text-align: center; font: 400 1.05rem/1.4 var(--hand); color: var(--rose-ink); margin: 0 0 12px; }
.envelope ul { margin: 12px 0 22px; padding-left: 1.2em; font-size: 1.03rem; }
.envelope li { margin-bottom: 4px; }
.envelope li::marker { content: "♥  "; color: var(--rose); font-size: .85em; }
.envelope .btn { width: 100%; }
.envelope .soft-link { width: 100%; justify-content: center; }
.checkout { margin: 30px 0 0; color: var(--ink-soft); font-size: 1.02rem; max-width: 46em; }

/* ---------- questions ---------- */
.faq { padding: 10px 0 70px; }
.qs { display: grid; gap: 12px; }
.qs details { background: var(--sheet); border-radius: 4px; box-shadow: var(--shadow); padding: 0; border-left: 4px solid var(--rose-wash); }
.qs details[open] { border-left-color: var(--rose); }
.qs summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 650; font-size: 1.1rem; line-height: 1.4; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; position: absolute; right: 18px; top: 50%; margin-top: -.62em; font: 400 1.7rem/1 var(--hand); color: var(--rose-ink); transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs summary:focus-visible { outline-offset: -4px; }
.qs details p { margin: 0; padding: 0 20px 18px; font-size: 1.05rem; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .qs summary::after { transition: none; } }

/* ---------- sign-off ---------- */
.close { padding: 20px 0 76px; }
.sheet.small { text-align: center; padding: 50px 24px 34px; background-image: none; transform: rotate(.5deg); max-width: 640px; margin: 0 auto; }
.sheet.small p { margin: 0 auto 1.4em; max-width: 30em; }
.yours { font-size: 1.45rem; color: var(--rose-ink); margin: 1.3em 0 0 !important; display: inline-flex; align-items: center; gap: 8px; }
.yours svg { width: 28px; height: 25px; fill: var(--rose); }

/* ---------- footer ---------- */
.foot { border-top: 2px dotted var(--line); padding: 30px 0 44px; font-size: .98rem; color: var(--ink-soft); }
.foot p { margin: 0 0 .8em; }
.foot-mark { color: var(--ink); }
.foot-mark .mark-name { font-size: 1.15rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 16px; }
.foot nav a { padding: 4px 0; }
.updated { font-family: var(--hand); }

/* ---------- printing just the note ---------- */
@media print {
  html.print-note body * { visibility: hidden; }
  html.print-note .fridge-note, html.print-note .fridge-note * { visibility: visible; }
  html.print-note .fridge-note { position: absolute; left: 0; top: 0; width: 100%; transform: none; box-shadow: none; border: 2px dashed #34282a; font-size: 16pt; }
  html.print-note .magnet { display: none; }
}

/* ===================== v2 ===================== */
.btn-xl { font-size: 1.22rem; padding: 1em 1.7em; box-shadow: 4px 5px 0 var(--ink); }
.btn-sm { font-size: .95rem; padding: .55em 1em; box-shadow: 2px 3px 0 var(--ink); }
.btn-soft { background: var(--sheet); color: var(--rose-ink); }
.btn-soft:hover { background: var(--sun-wash); }
.envelope .btn-soft { width: 100%; }
.soft-link .play { width: 22px; height: 22px; padding: 4px; border: 2px solid currentColor; border-radius: 50%; box-sizing: content-box; fill: currentColor; stroke: none; }
.top-nav { align-items: center; }
.nav-buy { margin-left: 4px; }
.top-nav a.nav-buy, .top-nav a.nav-buy:hover { color: var(--on-rose); background-image: none; padding: .5em 1em; text-decoration: none; }
@media (max-width: 899px) { .nav-buy { display: none; } }

/* the sale ribbon: a hand-lettered strip across the top, only while the sale is live */
.ribbon { overflow: hidden; background: var(--rose-ink); color: var(--on-rose); }
.ribbon-track { display: flex; width: max-content; }
.ribbon span { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0 7px 16px; font: 400 1.08rem/1.1 var(--hand); white-space: nowrap; }
.ribbon span::after { content: "♥"; font: .8rem/1 var(--serif); color: var(--sun); }
html[data-sale="live"] .ribbon.sale-live { display: block !important; }

/* taped-in snapshots of the product renders */
.snap { position: relative; margin: 0; padding: 12px 12px 10px; background: #fffdf7; box-shadow: var(--shadow); border-radius: 3px; transform: rotate(1deg); }
.snap img { display: block; width: 100%; height: auto; border-radius: 2px; }
.snap figcaption { margin: 10px 4px 2px; font-size: 1.02rem; line-height: 1.35; color: #5d4d4c; text-align: center; }
.snap .tape { z-index: 2; }
.use .snap { transform: rotate(-1deg); }
.use.flip .snap { transform: rotate(1.2deg); }
@media (max-width: 699px) { .snap, .use .snap, .use.flip .snap { transform: none; } }
.hero-body { align-items: start; }
.hero-snap { margin-top: 6px; }
@media (min-width: 900px) { .hero-body { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }

/* P.S. countdown */
.ps-clock { display: none; padding: 12px 16px 10px; }
html[data-sale="live"] .ps-clock.sale-live { display: block !important; }
.ps-clock p { margin: 0; }
.ps-l .hand { font-size: 1.2rem; color: var(--rose-ink); margin-right: .25em; }
.clock-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 6px !important; }
.clock-n span { display: grid; justify-items: center; padding: 8px 2px 6px; background: var(--sheet); border-radius: var(--wobbly); border: 2px solid var(--ink); }
.clock-n b { font: 600 2.2rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--rose-ink); }
.clock-n i { font: 400 .95rem/1.2 var(--hand); font-style: normal; color: var(--ink-soft); }
.ps-w { font-size: .95rem; color: var(--ink-soft); }

/* five small numbers, as stamps */
.stamps-band { padding: 8px 0 34px; }
.counts { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .counts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 899px) { .counts li:last-child { grid-column: 1 / -1; } }
.counts li { background: var(--sheet); padding: 16px 12px 12px; text-align: center; outline: 2px dashed var(--line); outline-offset: -8px; box-shadow: var(--shadow); }
.counts li:nth-child(odd) { transform: rotate(-1.2deg); }
.counts li:nth-child(even) { transform: rotate(1deg); }
.counts b { display: block; font: 600 clamp(2.2rem, 1.6rem + 1.6vw, 3rem)/1.05 var(--serif); color: var(--rose-ink); font-variant-numeric: tabular-nums; }
.counts li > span { display: block; font-size: .95rem; line-height: 1.35; color: var(--ink-soft); padding: 4px 4px 4px; }

/* hand-lettered marquee */
.marquee { overflow: hidden; border-top: 2px dotted var(--line); border-bottom: 2px dotted var(--line); background: var(--sun-wash); }
.marquee-track { display: flex; width: max-content; }
.marquee span { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0 10px 18px; font: 400 1.35rem/1.1 var(--hand); color: var(--ink); white-space: nowrap; }
.marquee span::after { content: "♥"; font: 1rem/1 var(--serif); color: var(--rose); }

/* the demo clip */
.demo { padding: 64px 0 56px; }
.demo-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: center; }
@media (min-width: 980px) { .demo-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; } }
.beats { list-style: none; margin: 0; padding: 0; }
.beats li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 2px dotted var(--line); font-size: 1.04rem; }
.beats b { font-size: 1.3rem; color: var(--rose-ink); }
.demo-fig { transform: rotate(-.8deg); }
.demo-frame { position: relative; }
.demo-v { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: var(--paper); border-radius: 2px; }
.demo-btn { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 2px solid #34282a; border-radius: var(--wobbly); background: #fff6cf; color: #34282a; font: 600 .95rem/1 var(--serif); cursor: pointer; }
.demo-btn svg { width: 16px; height: 16px; fill: currentColor; }
.demo-btn[hidden] { display: none; }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 34px; }
.demo-cta p { margin: 0; font-size: 1.2rem; color: var(--rose-ink); }

/* talk first, uses, setup and price pictures */
.talk-snap { max-width: 720px; margin: 34px auto 0; transform: rotate(-.6deg); }
.uses-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 30px; padding: 26px; background: var(--sheet); box-shadow: var(--shadow); border-radius: 6px; }
@media (min-width: 900px) { .uses-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.uses-cta p { margin: 0 0 14px; }
.big-hand { font-size: 1.6rem; color: var(--rose-ink); line-height: 1.2; }
.recipe-snaps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 4px 0 28px; }
@media (min-width: 760px) { .recipe-snaps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.recipe-snaps .snap:nth-child(2) { transform: rotate(-1.2deg); }
.price-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 30px; align-items: end; }
@media (min-width: 860px) { .price-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.price-head .ps-clock { margin: 0 0 1.6em; }
.env-snap { max-width: 640px; margin: 18px auto 34px; transform: rotate(-.8deg); }

/* phone buy bar: only on narrow screens, and out of the way while a big buy button is on screen */
.buybar { display: none; }
@media (max-width: 719px) {
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--sheet); color: var(--ink); border-top: 3px solid var(--rose); box-shadow: 0 -10px 24px -14px rgba(52,40,42,.5); transform: translateY(0); }
  .buybar.is-off { transform: translateY(115%); }
  .bb-txt { margin: 0; font-size: .95rem; line-height: 1.3; }
  .bb-txt b { display: block; font-weight: 650; }
  .foot { padding-bottom: 100px; }
  .clock-n b { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: slide 40s linear infinite; }
  .marquee-track { animation: slide 50s linear infinite; }
  .ribbon:hover .ribbon-track, .marquee:hover .marquee-track { animation-play-state: paused; }
  .buybar { transition: transform .25s ease; }
  .snap { transition: transform .3s ease, box-shadow .3s ease; }
  .snap:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 1px 0 rgba(52,40,42,.05), 0 22px 36px -18px rgba(52,40,42,.45); }
}
@keyframes slide { to { transform: translateX(-50%); } }
/* below 900 px the render comes straight after the headline, so a phone's first screen shows the product */
@media (max-width: 899px) { .hero-snap { order: -1; margin: 4px 0 6px; } }
