/* =========================================================
   Free Santa Letters — styles
   ========================================================= */
/* Fonts are hosted on this site (no Google or other third-party requests). All SIL Open Font License. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/ebgaramond.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/ebgaramond-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("../fonts/mrs-saint-delafield.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #0a1430;
  --night-2: #132552;
  --night-3: #1c3470;
  --ink: #1b2233;
  --muted: #5a6273;
  --cream: #fbf5e9;
  --cream-2: #f4ead6;
  --paper: #fffaf1;
  --line: #e7d9bd;
  --red: #c0272d;
  --red-d: #991c22;
  --gold: #e3b04b;
  --gold-l: #f5d993;
  --pine: #133a2b;
  --pine-2: #1f5640;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(10, 20, 48, .06), 0 12px 32px -12px rgba(10, 20, 48, .22);
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-letter: "EB Garamond", Georgia, serif;
  --f-script: "Mrs Saint Delafield", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.script { font-family: var(--f-script); font-weight: 400; color: var(--red); font-size: 1.5em; line-height: .8; letter-spacing: 0; display: inline-block; transform: translateY(.08em); padding-right: .08em; }
.script.light { color: var(--gold-l); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 18px; }
.eyebrow.dark { color: var(--red); }
.eyebrow-star { width: 15px; height: 15px; color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--night); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg); border: 0; border-radius: 999px;
  padding: 14px 26px; font: 700 16px/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.45);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { --bg: var(--red); }
.btn-red:hover { --bg: var(--red-d); }
.btn-gold { --bg: var(--gold); --fg: var(--night); }
.btn-gold:hover { --bg: var(--gold-l); }
.btn-ghost { --bg: #fff; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { --bg: var(--cream-2); }
.btn-ghost[aria-pressed="true"] { --bg: var(--pine-2); --fg: #fff; box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-big { padding: 18px 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 18px 0; }
.plain .site-header, .letter-page .site-header { position: relative; background: var(--night); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); border: 1px solid rgba(227,176,75,.45); display: grid; place-items: center; color: var(--gold); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { font: 600 21px/1 var(--f-display); letter-spacing: -.01em; }
.brand-text em { font-style: italic; color: var(--gold-l); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 28% 8%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 26%, #fff7 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 62% 12%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 30%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 6%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 44%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 48%, #fff5 50%, transparent 51%),
    radial-gradient(ellipse 80% 60% at 70% 0%, #2a4a94 0%, transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%);
  padding: 130px 0 190px;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.moon {
  position: absolute; top: 96px; left: max(20px, calc(50% - 150px)); width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffbe9, #f6e7b6 60%, #e9cf86);
  box-shadow: 0 0 60px 18px rgba(246, 231, 182, .22), 0 0 160px 60px rgba(246, 231, 182, .08);
  opacity: .9;
}
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 64% 60%, rgba(0,0,0,.06) 0 9px, transparent 10px), radial-gradient(circle at 40% 70%, rgba(0,0,0,.05) 0 6px, transparent 7px), radial-gradient(circle at 55% 30%, rgba(0,0,0,.05) 0 5px, transparent 6px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 600; margin-bottom: 22px; }
.hero h1 .script { color: var(--gold-l); font-size: 1.55em; margin: -.1em 0; }
.lede { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 30px; }

.countdown { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-bottom: 28px; }
.cd-sleeps { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 18px; border-radius: 16px; background: rgba(192, 39, 45, .92); box-shadow: 0 10px 30px -10px rgba(192,39,45,.7); }
.cd-sleeps b { font: 700 46px/1 var(--f-display); }
.cd-sleeps span { font: 700 12.5px/1.25 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.cd-clock { display: flex; gap: 8px; }
.cd-clock div { min-width: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 8px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.cd-clock b { font: 600 26px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.cd-clock span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-top: 4px; }

.mobile-cta { display: none; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

.village { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 170px; z-index: 1; }
.village .houses { fill: #070e22; }
.village .lit { fill: #f8cf6a; filter: drop-shadow(0 0 6px rgba(248, 207, 106, .8)); }
.village .dark { fill: #1a2850; }
.village .snowbank { fill: var(--cream); }

/* ---------- form card ---------- */
.form-card {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 22px;
  padding: 34px 32px 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.08);
  background-image: linear-gradient(var(--paper), var(--paper)), repeating-linear-gradient(-45deg, var(--red) 0 14px, #fff 14px 28px, #1f5640 28px 42px, #fff 42px 56px);
  background-origin: border-box; background-clip: padding-box, border-box; border: 6px solid transparent;
  scroll-margin-top: 30px;
}
.form-seal { position: absolute; width: 84px; top: -30px; right: 24px; transform: rotate(12deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.form-head { margin-bottom: 20px; padding-right: 70px; }
.form-kicker { font: 700 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.form-head h2 { font-size: 30px; margin-bottom: 6px; }
.form-head p:last-child { color: var(--muted); font-size: 15px; margin: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font: 500 16px/1.3 var(--f-body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6273' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 30px; }
.field input::placeholder { color: #a6a9b3; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227,176,75,.25); }
.field-row { display: flex; gap: 12px; }
.field.grow { flex: 1; }
.field.age { width: 96px; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 10px; cursor: pointer; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); flex: none; }
.check a { color: var(--ink); }
.form-card .btn-big { margin-top: 10px; }
.form-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
.form-errors { background: #fdecec; border: 1px solid #f1b8ba; color: #7f1d22; border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 16px; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2, .sample-copy h2 { font-size: clamp(32px, 4vw, 48px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px 30px; box-shadow: var(--shadow); border: 1px solid #efe4cd; }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--night); color: var(--gold-l); font: 600 24px/1 var(--f-display); margin-bottom: 20px; box-shadow: 0 0 0 6px var(--cream-2); }
.step:nth-child(2) .step-num { background: var(--red); color: #fff; }
.step:nth-child(3) .step-num { background: var(--pine-2); color: #fff; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 60px; right: -22px; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px); }

.sample { overflow-x: clip; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sample-copy > p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--pine-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.sample-visual { position: relative; }
.sample-sheet { transform: rotate(2.2deg); filter: drop-shadow(0 30px 40px rgba(60, 40, 10, .25)); }
.sample-tag { position: absolute; z-index: 3; left: 0; bottom: 6%; background: var(--night); color: #fff; font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(-3deg); }

.chat { background: radial-gradient(ellipse 70% 80% at 0% 0%, #23674b 0%, transparent 60%), linear-gradient(160deg, var(--pine) 0%, #0c281d 100%); color: #fff; }
.chat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.chat h2 { font-size: clamp(32px, 4vw, 48px); }
.chat-copy > p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: 18px; }
.chat-copy .btn { margin: 10px 0 18px; }
.chat-note { font-size: 14px !important; color: rgba(255,255,255,.6) !important; }
.chat-window { background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.bot-embed { min-height: 460px; }
.bot-embed iframe { width: 100%; min-height: 520px; border: 0; display: block; }
.chat-mock { padding: 0 0 24px; display: flex; flex-direction: column; gap: 12px; background: #f7f3ea; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee3cc; margin-bottom: 8px; }
.chat-avatar { width: 44px; height: 44px; display: block; }
.chat-top b { display: block; font-size: 16px; }
.chat-top small { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.chat-top small i { width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; display: inline-block; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; margin: 0 20px; }
.bubble.santa { background: #fff; border: 1px solid #eee3cc; border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.kid { background: var(--red); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.bubble.typing { display: flex; gap: 5px; padding: 15px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9b1a0; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid #efe4cd; box-shadow: 0 1px 2px rgba(10,20,48,.04); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 600 19px/1.3 var(--f-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font: 600 20px/1 var(--f-body); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.cta-band { background: var(--red); color: #fff; padding: 70px 0; background-image: radial-gradient(circle at 15% 50%, rgba(255,255,255,.12) 0 2px, transparent 3px), radial-gradient(circle at 85% 30%, rgba(255,255,255,.12) 0 2px, transparent 3px); background-size: 60px 60px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.cta-band .script.light { font-size: 1.25em; margin-top: .15em; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-about p { max-width: 30em; margin-top: 18px; }
.site-footer h3 { font: 700 13px/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-l); margin-bottom: 16px; }
.site-footer a:not(.brand) { display: block; color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: 10px; }
.site-footer a:not(.brand):hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- prose pages ---------- */
.prose-page { padding-top: 70px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 24px; margin-top: 1.8em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; }
.big-promise { font-size: 21px; background: #fff; border-left: 5px solid var(--pine-2); padding: 16px 20px; border-radius: 10px; }
.notfound .big-seal { width: 110px; margin: 0 auto 24px; }

/* =========================================================
   LETTER PAGE + PRINTABLE SHEETS
   ========================================================= */
.letter-page { background: var(--cream-2); }
.letter-hero { padding: 36px 0 10px; }
.ready-banner { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #cfe5d6; border-left: 5px solid var(--pine-2); border-radius: 14px; padding: 18px 22px; margin-bottom: 26px; box-shadow: var(--shadow); }
.ready-banner strong { display: block; font: 600 20px/1.3 var(--f-display); margin-bottom: 4px; }
.ready-banner span { color: var(--muted); font-size: 15.5px; }
.ready-star { width: 30px; height: 30px; color: var(--gold); flex: none; margin-top: 2px; }
.letter-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.tb-title h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 4px; }
.tb-title p { color: var(--muted); margin: 0; font-size: 15px; }
.tb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form { display: contents; }
.edit-hint { margin: 16px 0 0; background: #fff8e3; border: 1px dashed var(--gold); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
.sheets { padding: 30px 0 80px; }
.sheets-stack { display: grid; gap: 40px; justify-items: center; }
.sheets .sheet-fit { width: 100%; max-width: 794px; filter: drop-shadow(0 20px 30px rgba(60, 40, 10, .18)); }
.print-tip { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* Scale-to-fit wrapper: sheet is 794x1123 (A4 @96dpi) */
.sheet-fit { --s: 1; position: relative; width: 100%; height: calc(1123px * var(--s)); }
.sheet-fit > .sheet { position: absolute; top: 0; left: 0; transform: scale(var(--s)); transform-origin: top left; }

/* ---------- sheet base ---------- */
.sheet {
  --outer: #fdf7ea; --paper: #fdf7ea; --inset: 34px; --pad: 84px 106px 80px;
  --title: #c0272d; --from: #7a6648; --addr: #8a7350; --rule: rgba(185, 137, 58, .45); --star: #c99a3f;
  --date: #5c4a33; --text: #2a2118; --toy: #c0272d; --sig: #1f3a74; --ps: #5c4a33; --postmark: rgba(160, 30, 36, .55);
  position: relative; width: 794px; height: 1123px; overflow: hidden; color: var(--text); background: var(--outer);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.sd { position: absolute; inset: 0; pointer-events: none; }
.sd-panel { position: absolute; inset: var(--inset); background: var(--paper); }
.sd .o { position: absolute; }
.sheet-frame { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: var(--pad); }

.lt-head { text-align: center; margin-bottom: 10px; }
.lt-star { width: 26px; height: 26px; color: var(--star); margin: 0 auto 8px; }
.lt-wreath { width: 92px; height: 92px; margin: -14px auto 4px; }
.lt-from { font: italic 400 17px/1 var(--f-letter); color: var(--from); margin: 0 0 14px; }
.lt-title { font: 400 66px/1.05 var(--f-script); color: var(--title); margin: 0; letter-spacing: 0; }
.lt-address { font: 600 11px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--addr); margin: 10px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.lt-meta { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 6px; }
.lt-date { font: italic 400 17px/1 var(--f-letter); color: var(--date); }
.lt-postmark { width: 128px; color: var(--postmark); transform: rotate(-8deg); margin-right: -10px; }
.lt-body { flex: 1; min-height: 0; font: 400 17.5px/1.5 var(--f-letter); --fs: 17.5px; font-size: var(--fs); }
.lt-body p { margin: 0 0 .62em; }
.lt-greet { font-size: 1.32em; font-style: italic; margin-bottom: .5em !important; }
.lt-toy { font-style: italic; color: var(--toy); font-weight: 500; }
.lt-signoff { margin-top: .9em !important; margin-bottom: 0 !important; font-style: italic; }
.lt-sig { font: 400 3.4em/1 var(--f-script); color: var(--sig); margin: .05em 0 .2em !important; }
.lt-ps { font-style: italic; font-size: .92em; color: var(--ps); }
.lt-seal { position: absolute; width: 104px; right: calc(var(--inset) + 64px); bottom: calc(var(--inset) + 112px); transform: rotate(-10deg); filter: drop-shadow(0 4px 5px rgba(80, 10, 10, .3)); }
.lt-lines { display: grid; gap: 22px; padding-top: 30px; }
.lt-lines i { height: 2px; background: currentColor; opacity: .14; border-radius: 2px; }
.lt-lines i:nth-child(4n) { width: 70%; }

.editing .lt-body [contenteditable] { outline: 1px dashed rgba(192, 39, 45, .35); outline-offset: 2px; border-radius: 3px; cursor: text; }
.editing .lt-body [contenteditable]:hover, .editing .lt-body [contenteditable]:focus { background: rgba(227, 176, 75, .14); outline-color: var(--red); }

/* 1 · Classic Parchment */
.ld-1 .sd-panel, .cd-1 .sd-panel {
  border: 2px solid #b9893a; outline: 1px solid #b9893a; outline-offset: -9px;
  box-shadow: inset 0 0 0 14px #fdf7ea, inset 0 0 0 15.5px rgba(192, 39, 45, .55);
  background: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.7), transparent 60%), radial-gradient(ellipse at 90% 100%, rgba(214,186,132,.25), transparent 55%), #fdf7ea;
}
.holly { width: 118px; }
.ld-1 .holly-tl { top: 18px; left: 16px; transform: rotate(-28deg); }
.ld-1 .holly-br { bottom: 18px; right: 16px; transform: rotate(152deg); }

/* 2 · Candy Cane */
.ld-2, .cd-4 { --outer: repeating-linear-gradient(45deg, #c0272d 0 22px, #fff 22px 44px); --paper: #fff; --inset: 26px; }
.ld-2 .sd-panel, .cd-4 .sd-panel { box-shadow: inset 0 0 0 12px #fff, inset 0 0 0 14px #c0272d, inset 0 0 0 18px #fff, inset 0 0 0 19px rgba(192,39,45,.4); }
.ld-2 { --pad: 82px 104px 76px; --title: #c0272d; --sig: #9c1c22; --star: #c0272d; --addr: #9c6b6b; --rule: rgba(192,39,45,.3); --from: #8a5a5a; }
.ld-2 .cane-l { width: 74px; top: 30px; left: 34px; transform: rotate(-18deg); }
.ld-2 .cane-r { width: 74px; top: 30px; right: 34px; transform: scaleX(-1) rotate(-18deg); }
.ld-2 .mint-l { width: 70px; bottom: 34px; left: 36px; }
.ld-2 .mint-r { width: 70px; bottom: 34px; right: 36px; transform: rotate(22deg); }

/* 3 · Midnight Sky */
.ld-3 { --outer: #fbf7ee; --paper: #fbf7ee; --inset: 0px; --pad: 52px 96px 96px;
  --title: #fff; --from: #f5d993; --addr: rgba(255,255,255,.78); --rule: transparent; --star: #f5d993; --sig: #1f3a74; --toy: #b3212a; }
.ld-3 .band { top: 0; left: 0; width: 794px; height: 340px; }
.ld-3 .hills { bottom: 0; left: 0; width: 794px; height: 90px; }
.ld-3 .ring { inset: 0; border: 12px solid #0f1d44; }
.ld-3 .lt-address { padding-bottom: 0; }
.ld-3 .lt-meta { margin-top: 74px; }
.ld-3 .lt-postmark { color: rgba(31, 58, 116, .5); }
.ld-3 .lt-seal { right: 80px; bottom: 140px; }

/* 4 · Snowy Woodland */
.ld-4 { --outer: #fbfdff; --inset: 0px; --pad: 64px 96px 150px; --title: #1f5640; --star: #c0272d; --from: #4f6b60; --addr: #4f6b60; --rule: rgba(31,86,64,.3); --sig: #9c1c22; --toy: #b3212a; --postmark: rgba(31, 86, 64, .5); }
.ld-4 .sd-panel { background: radial-gradient(circle, #c7d9e8 0 1.6px, transparent 2px) 0 0/46px 46px, radial-gradient(circle, #d6e4ef 0 1.2px, transparent 1.6px) 23px 23px/46px 46px, linear-gradient(#e6f0f7, #fbfdff 38%); }
.ld-4 .ring { inset: 18px; border: 1.5px solid rgba(31, 86, 64, .35); border-radius: 12px; }
.ld-4 .pines { bottom: 0; left: 0; width: 794px; height: 150px; }
.ld-4 .fl { color: #b9cfe2; }
.ld-4 .fl-1 { width: 60px; top: 40px; left: 52px; }
.ld-4 .fl-2 { width: 44px; top: 112px; right: 64px; }
.ld-4 .fl-3 { width: 30px; top: 46px; right: 140px; }
.ld-4 .lt-seal { right: 80px; bottom: 166px; }

/* 5 · Gingerbread */
.ld-5, .cd-7 { --outer: radial-gradient(circle, #f0d7b3 0 2px, transparent 2.5px) 0 0/34px 34px, radial-gradient(circle, #c0272d 0 2px, transparent 2.5px) 17px 17px/34px 34px, #9a5b2c; --paper: #fff8ec; --inset: 32px; }
.ld-5 .sd-panel, .cd-7 .sd-panel { border-radius: 26px; outline: 5px dotted #fff; outline-offset: 9px; box-shadow: inset 0 0 0 2px #ecd2ad; }
.ld-5 { --pad: 80px 100px 80px; --title: #8a4a1c; --star: #c0272d; --from: #8a5a35; --addr: #8a5a35; --rule: rgba(138,74,28,.3); --sig: #6b3412; --postmark: rgba(138, 74, 28, .5); }
.ld-5 .gb-l { width: 112px; bottom: 14px; left: 2px; transform: rotate(-12deg); }
.ld-5 .gb-r { width: 112px; bottom: 14px; right: 2px; transform: rotate(12deg); }
.ld-5 .lt-seal { right: 110px; }

/* 6 · Reindeer Air Mail */
.ld-6 { --outer: repeating-linear-gradient(-45deg, #c0272d 0 18px, #fff 18px 28px, #1f3a74 28px 46px, #fff 46px 56px); --paper: #fffdf8; --outer-bg: #fffdf8; --inset: 18px;
  --pad: 70px 96px 66px; --title: #1f3a74; --star: #c0272d; --from: #4b5d84; --addr: #4b5d84; --rule: rgba(31,58,116,.3); --sig: #1f3a74; --postmark: rgba(31, 58, 116, .55); }
.ld-6 .stamp { width: 92px; top: 48px; right: 50px; transform: rotate(5deg); filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.ld-6 .airmail { top: 56px; left: 50px; border: 2px solid #1f3a74; color: #1f3a74; padding: 7px 12px; transform: rotate(-4deg); text-align: center; font-family: var(--f-body); }
.ld-6 .airmail b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ld-6 .airmail span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c0272d; margin-top: 2px; }

/* 7 · Frosty Snowflakes */
.ld-7, .cd-6 { --outer: linear-gradient(160deg, #e6f0fa, #d2e3f3); --paper: rgba(255,255,255,.74); --inset: 30px; }
.ld-7 .sd-panel, .cd-6 .sd-panel { border: 1.5px solid #9db7d3; outline: 1px solid #9db7d3; outline-offset: -9px; border-radius: 4px; }
.ld-7 { --pad: 80px 102px 76px; --title: #2a5d97; --star: #8fb0d6; --from: #5b7593; --addr: #5b7593; --rule: rgba(42,93,151,.3); --sig: #1f3a74; --postmark: rgba(42, 93, 151, .5); }
.ld-7 .fl { color: #d3e2f1; }
.ld-7 .fl-1 { width: 170px; top: -24px; left: -24px; }
.ld-7 .fl-2 { width: 200px; bottom: -34px; right: -34px; }
.ld-7 .fl-3 { width: 54px; top: 46px; right: 56px; color: #a9c4e2; }
.ld-7 .fl-4 { width: 42px; bottom: 70px; left: 52px; color: #a9c4e2; }
.ld-7 .fl-5 { width: 28px; top: 210px; left: 60px; color: #bfd3ea; }

/* 8 · Holly Wreath */
.ld-8 { --outer: #fffaf1; --paper: #fffaf1; --inset: 30px; --pad: 78px 100px 74px; --title: #1f5640; --sig: #9c1c22; --from: #4f6b60; --addr: #4f6b60; --rule: rgba(31,86,64,.3); --postmark: rgba(31, 86, 64, .5); }
.ld-8 .sd-panel { border: 3px solid #1f5640; outline: 1px solid #c0272d; outline-offset: -10px; background: radial-gradient(circle, rgba(192,39,45,.10) 0 3px, transparent 3.5px) 0 0/80px 80px, #fffaf1; }
.ld-8 .holly-bl { bottom: 12px; left: 10px; transform: rotate(205deg) scaleY(-1); }
.ld-8 .holly-tr { top: 12px; right: 10px; transform: rotate(20deg) scaleX(-1); }
.ld-8 .lt-title { font-size: 60px; }

/* ---------- certificates ---------- */
.sheet-cert { --pad: 34px; }
.cert-frame { padding: var(--pad); }
.cert-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 80px; }
.cert-orn { display: block; margin: 0 auto 14px; }
.cert-kicker { font: 700 12px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--addr); margin-bottom: 24px; }
.cert-title { font: 600 104px/0.95 var(--f-display); color: var(--title); margin: 0; letter-spacing: -.02em; }
.cert-sub { font: italic 400 26px/1.2 var(--f-letter); color: var(--date); margin: 10px 0 0; }
.cert-rule { display: flex; align-items: center; gap: 14px; width: 70%; margin: 30px 0 26px; color: var(--star); }
.cert-rule::before, .cert-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .6; }
.cert-star { width: 22px; height: 22px; }
.cert-text { font: 400 22px/1.45 var(--f-letter); margin: 0; color: #3b2f22; }
.cert-text.small { font-size: 18px; color: var(--date); margin-top: 18px; font-style: italic; }
.cert-name { font: 400 96px/1.15 var(--f-script); color: var(--sig); margin: 10px 0 6px; padding: 0 30px 2px; border-bottom: 1.5px solid var(--star); min-width: 60%; white-space: nowrap; max-width: 100%; }
.cert-big { font: 600 40px/1.2 var(--f-display); color: var(--big, #1f5640); margin: 14px 0 0; }
.cert-signs { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; margin-top: 54px; gap: 20px; }
.cert-signs > div { display: flex; flex-direction: column; align-items: center; width: 240px; }
.cert-sig { font: 400 48px/1.1 var(--f-script); color: var(--sig); padding: 0 16px 4px; border-bottom: 1px solid var(--star); white-space: nowrap; }
.cert-sig.elf { color: #1f5640; font-size: 40px; }
.cert-role { font: 600 10px/1.3 var(--f-body); letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: var(--addr); margin-top: 8px; }
.cert-seal { width: 118px; transform: rotate(-8deg); margin-bottom: -8px; filter: drop-shadow(0 4px 5px rgba(80, 10, 10, .3)); flex: none; }

/* C1 Golden Sunburst */
.cd-1 .sd-panel { background: repeating-conic-gradient(from 0deg at 50% 46%, rgba(227,176,75,.08) 0 6deg, transparent 6deg 12deg), #fdf7ea; border-width: 3px; }
.cd-1 .cert-inner { padding: 60px 80px; }

/* C2 Royal Rosette */
.cd-2 { --outer: #8f1a20; --paper: #fffaf0; --inset: 28px; --pad: 46px; --title: #8f1a20; --big: #a57a26; --star: #c9a24b; --sig: #1f3a74; }
.cd-2 .sd-panel { border: 3px solid #d4a64a; outline: 1px solid #d4a64a; outline-offset: -11px; box-shadow: inset 0 0 140px rgba(212,166,74,.22); }
.cd-2 .rosette { width: 150px; margin-top: -30px; margin-bottom: 2px; }
.cd-2 .cert-title { font-size: 96px; }

/* C3 Starry Night */
.cd-3 { --outer: radial-gradient(ellipse at 50% 0%, #22408a, #0a1430 70%); --paper: #fdf7ea; --inset: 46px; --pad: 56px; --title: #13244f; --big: #c0272d; --star: #c99a3f; }
.cd-3 .stars { inset: 0; width: 794px; height: 1123px; }
.cd-3 .sd-panel { border-radius: 14px; border: 3px solid #e3b04b; box-shadow: inset 0 0 0 8px #fdf7ea, inset 0 0 0 9.5px rgba(227,176,75,.6); }
.star-trio { display: flex; align-items: flex-end; gap: 8px; color: #e3b04b; }
.star-trio svg { width: 36px; height: 36px; }
.star-trio svg:nth-child(2) { width: 58px; height: 58px; }

/* C4 Candy Stripe */
.cd-4 { --pad: 44px; --title: #c0272d; --big: #1f5640; --star: #c0272d; --sig: #1f3a74; }
.cd-4 .mint { width: 72px; }
.cd-4 .mint-1 { top: 34px; left: 34px; } .cd-4 .mint-2 { top: 34px; right: 34px; transform: rotate(20deg); }
.cd-4 .mint-3 { bottom: 34px; left: 34px; transform: rotate(40deg); } .cd-4 .mint-4 { bottom: 34px; right: 34px; transform: rotate(60deg); }

/* C5 Evergreen Forest */
.cd-5 { --outer: #17402f; --paper: #fbfaf3; --inset: 30px; --pad: 30px 30px 150px; --title: #1f5640; --big: #c0272d; --star: #c9a24b; }
.cd-5 .sd-panel { border: 2px solid #c9a24b; outline: 1px solid #c9a24b; outline-offset: -9px; background: linear-gradient(#fbfaf3 60%, #eef4ee); }
.cd-5 .pines { left: 30px; bottom: 30px; width: 734px; height: 150px; }
.cd-5 .tree-star { width: 54px; color: #e3b04b; }
.cd-5 .cert-inner { padding-top: 40px; padding-bottom: 10px; }
.cd-5 .cert-signs { margin-top: 36px; }

/* C6 Ice Crystal */
.cd-6 { --pad: 44px; --title: #2a5d97; --big: #1f3a74; --star: #8fb0d6; --addr: #5b7593; --sig: #1f3a74; }
.cd-6 .fl { color: #cfdff0; }
.cd-6 .fl-1 { width: 180px; top: -30px; left: -30px; } .cd-6 .fl-2 { width: 180px; bottom: -30px; right: -30px; }
.cd-6 .fl-3 { width: 70px; top: 60px; right: 70px; color: #b3cbe6; } .cd-6 .fl-4 { width: 60px; bottom: 70px; left: 70px; color: #b3cbe6; }
.cd-6 .flake-top { width: 90px; color: #7fa3cc; }

/* C7 Gingerbread */
.cd-7 { --pad: 50px; --title: #8a4a1c; --big: #c0272d; --star: #b98a5a; --addr: #8a5a35; --sig: #6b3412; }
.cd-7 .gb-l { width: 130px; bottom: 16px; left: 4px; transform: rotate(-12deg); }
.cd-7 .gb-r { width: 130px; bottom: 16px; right: 4px; transform: rotate(12deg); }

/* C8 Gold Medal */
.cd-8 { --outer: #fffdf6; --paper: #fffdf6; --inset: 26px; --pad: 40px; --title: #a57a26; --big: #c0272d; --star: #c9a24b; }
.cd-8 .sd-panel { border: 6px double #c9a24b; box-shadow: inset 0 0 0 12px #fffdf6, inset 0 0 0 13px rgba(201,162,75,.6); }
.cd-8 .medal { width: 200px; margin-top: -40px; margin-bottom: -4px; }
.cd-8 .cert-title { font-size: 96px; }


/* personal touch (optional fields) */
.extras { border: 1.5px dashed #dcc9a3; border-radius: 12px; margin: 2px 0 14px; background: #fffdf7; }
.extras summary { cursor: pointer; list-style: none; padding: 12px 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; font-size: 14.5px; }
.extras summary::-webkit-details-marker { display: none; }
.extras summary small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.ex-plus { width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 17px; line-height: 1; transition: transform .2s; flex: none; }
.extras[open] .ex-plus { transform: rotate(45deg); }
.extras-body { padding: 2px 14px 2px; }
.field.kind { width: 150px; flex: none; }

/* fanned stack of sample designs */
.fan { position: relative; width: 78%; margin: 0 auto; aspect-ratio: 794 / 1123; }
.fan-card { position: absolute; inset: 0; filter: drop-shadow(0 24px 30px rgba(60, 40, 10, .22)); transition: transform .4s ease; }
.fan-back2 { transform: translate(-22%, 4%) rotate(-11deg); }
.fan-back { transform: translate(20%, 2%) rotate(8deg); }
.fan-front { transform: rotate(-1.5deg); }
.fan:hover .fan-back2 { transform: translate(-28%, 4%) rotate(-14deg); }
.fan:hover .fan-back { transform: translate(26%, 2%) rotate(11deg); }

/* design picker on the letter page */
.picker { margin-top: 22px; background: #fff; border: 1px solid #ebdfc6; border-radius: 16px; padding: 16px 18px 6px; box-shadow: var(--shadow); }
.picker h2 { font-size: 19px; margin: 0 0 2px; }
.picker > p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.pick-row { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; }
.pick-label { font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 6px 0 8px; }
.pick { display: flex; flex-direction: column; align-items: center; flex: none; width: 92px; scroll-snap-align: start; background: none; border: 0; padding: 0; cursor: pointer; text-align: center; font: 600 11.5px/1.25 var(--f-body); color: var(--ink); }
.pick .thumb { display: block; width: 92px; height: 130px; border-radius: 6px; overflow: hidden; position: relative; box-shadow: 0 0 0 1px #e3d6bb, 0 4px 10px rgba(0,0,0,.08); margin-bottom: 6px; transition: transform .15s, box-shadow .15s; }
.pick .thumb .sheet { position: absolute; top: 0; left: 0; transform: scale(.1159); transform-origin: top left; }
.pick:hover .thumb { transform: translateY(-3px); }
.pick[aria-current="true"] .thumb { box-shadow: 0 0 0 3px var(--red), 0 6px 14px rgba(192,39,45,.25); }
.pick[aria-current="true"] { color: var(--red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1020px) {
  .hero-grid, .sample-grid, .chat-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 120px; }
  .hero-copy { text-align: left; }
  .hero-form { max-width: 560px; width: 100%; margin: 0 auto; }
  .sample-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .moon { width: 80px; height: 80px; top: 86px; right: 6%; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; width: 44px; height: 44px; place-content: center; cursor: pointer; }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; background: var(--night-2); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.4); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 10px; font-size: 17px; }
  .site-nav .btn { margin-top: 6px; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .hero { padding: 104px 0 140px; }
  .lede { font-size: 17px; margin-bottom: 22px; }
  .mobile-cta { display: flex; width: 100%; margin-bottom: 28px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .cd-sleeps b { font-size: 38px; }
  .cd-clock div { min-width: 0; flex: 1; }
  .countdown, .cd-clock { width: 100%; }
  .cd-sleeps { width: 100%; justify-content: center; }
  .form-card { padding: 30px 20px 22px; }
  .form-head h2 { font-size: 26px; }
  .form-seal { width: 70px; right: 14px; top: -26px; }
  .village { height: 110px; }
  .moon { display: none; }
  .brand-text { font-size: 19px; }
  .tb-actions { width: 100%; }
  .tb-actions .btn { flex: 1 1 auto; padding: 13px 16px; }
  .sample-tag { left: 0; bottom: -10px; }
  .fan { width: 70%; }
  .field.kind { width: 128px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .bubble.typing span { transition: none; animation: none; }
}

/* =========================================================
   PRINT — only the A4 sheets
   ========================================================= */
@page { size: A4; margin: 0; }
@media print {
  html, body { background: #fff !important; margin: 0; }
  .site-header, .site-footer, .letter-hero, .print-tip, .skip, .picker { display: none !important; }
  .sheets { padding: 0; }
  .sheets-stack { display: block; width: auto; }
  .sheets .sheet-fit { height: auto !important; max-width: none; filter: none; --s: 1 !important; }
  .sheet-fit > .sheet { position: static; transform: none !important; width: 210mm; height: 297mm; page-break-after: always; break-after: page; }
  .sheet-fit:last-child > .sheet { page-break-after: auto; break-after: auto; }
  .editing .lt-body [contenteditable] { outline: none !important; background: none !important; }
}
