/* Namefold (spy-fi.com) v1.0.0: "folded paper and sealing wax". Own design system; no shared kit CSS.
   Type: Sorts Mill Goudy (display) + Lunasima (text), both SIL OFL 1.1, self-hosted (fonts/OFL-*.txt). */
@font-face { font-family: "Sorts Mill Goudy"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/goudy-regular-latin.woff2") format("woff2"); }
@font-face { font-family: "Sorts Mill Goudy"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/goudy-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lunasima-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Lunasima"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lunasima-700-latin.woff2") format("woff2"); }

:root {
  --paper: #f7f2e8; --paper-2: #efe6d6; --paper-3: #e6dac4; --card: #fffdf8;
  --ink: #1e2638; --ink-2: #434b5d; --muted: #5e636e;
  --wax: #a8322a; --wax-2: #86251e; --wax-soft: #f5e1da;
  --pine: #2e5a4c; --pine-soft: #e1ece5;
  --gold: #b8902f; --line: #d9ccb4; --line-2: #c9b99c;
  --kraft: #dcc296; --kraft-2: #c8a875; --kraft-3: #b8945d;
  --display: "Sorts Mill Goudy", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Lunasima", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(30, 38, 56, .06), 0 10px 30px rgba(30, 38, 56, .08);
  --shadow-lg: 0 2px 4px rgba(30, 38, 56, .06), 0 24px 60px rgba(30, 38, 56, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(168, 50, 42, .55); text-underline-offset: 3px; }
a:hover { color: var(--wax); }
:focus-visible { outline: 3px solid var(--wax); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--wax); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }
.wrap--form { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: var(--paper); }
.muted { color: var(--muted); }
.eyebrow { font: 700 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--wax); margin: 0 0 14px; }
.eyebrow--center { text-align: center; }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.opt { font-weight: 400; color: var(--muted); font-size: .88em; margin-left: .3em; }
.count { font-weight: 700; color: var(--pine); }

/* ribbon (preview notice) */
.ribbon { margin: 0; background: var(--ink); color: #efe7d8; font-size: 13.5px; line-height: 1.4; text-align: center; }
.ribbon__in { display: block; padding: 8px 20px; }
.ribbon strong { color: #fff; }

/* header */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(247, 242, 232, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .hd { background: rgba(247, 242, 232, .82); backdrop-filter: saturate(1.4) blur(10px); } }
.hd__in { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word { font: 400 1.75rem/1 var(--display); letter-spacing: -.01em; }
.mark__slip { fill: var(--card); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.mark__fold { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 2.5 2.5; }
.mark__seal { fill: var(--wax); }
.mark__n { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hd__nav { display: flex; gap: 28px; margin-left: auto; }
.hd__nav a { text-decoration: none; font-weight: 700; font-size: 15.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.hd__nav a:hover, .hd__nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--wax); }
.hd__menu { display: none; position: relative; }
.hd__menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: 999px; }
.hd__menu summary::-webkit-details-marker { display: none; }
.hd__drawer { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; }
.hd__drawer a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.hd__drawer a:hover, .hd__drawer a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1.2 var(--text); text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--wax { background: var(--wax); color: #fff; box-shadow: 0 1px 0 var(--wax-2), 0 6px 16px rgba(168, 50, 42, .22); }
.btn--wax:hover { background: var(--wax-2); color: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2c3650; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--danger { background: transparent; color: var(--wax); border-color: var(--wax); }
.btn--danger:hover { background: var(--wax); color: #fff; }
.btn--lg { font-size: 17.5px; padding: 16px 30px; }
.btn--sm { font-size: 15px; padding: 9px 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.is-copied { background: var(--pine); color: #fff; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 700; color: var(--wax); text-decoration: none; border-bottom: 1.5px solid rgba(168, 50, 42, .35); }
.textlink:hover { border-bottom-color: var(--wax); }
.textlink::after { content: " \2192"; }
.textbtn { background: none; border: 0; padding: 4px 0; font: 700 14.5px/1.3 var(--text); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.textbtn:hover { color: var(--wax); }
.iconbtn { background: none; border: 0; cursor: pointer; font: 700 13px/1 var(--text); color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.iconbtn:hover { color: var(--wax); background: var(--wax-soft); }
form.inline { display: inline; margin: 0; }

/* hero */
.hero { padding: 76px 0 64px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
/* v1.0.3: the longer headline (review L1 tagline) sets in two lines on desktop */
.hero__title { font-size: clamp(2.9rem, 4.6vw, 4.1rem); line-height: .98; margin-bottom: 24px; letter-spacing: -.02em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; color: var(--ink-2); font-weight: 700; }
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hero__art { margin: 0; }
.envart { width: 100%; height: auto; display: block; }
.envart__halo { fill: var(--paper-2); }
.envart__flap { fill: var(--kraft-2); }
.envart__back { fill: var(--kraft-3); }
.envart__slip rect { fill: var(--card); stroke: var(--line-2); stroke-width: 1.2; }
.envart__crease { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 4 4; }
.envart__slip text { font: italic 400 34px var(--display); fill: var(--ink); }
.envart__pocket { fill: var(--kraft); }
.envart__edge { fill: none; stroke: var(--kraft-2); stroke-width: 2; stroke-linejoin: round; }
.envart__seal circle { fill: var(--wax); }
.envart__seal .envart__seal-ring { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 2; }
.envart__seal-n { fill: none; stroke: #f8e9e4; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.envart__spark { fill: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .envart__slip { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .envart__slip--b { animation-delay: .12s; }
  .envart__slip--c { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
}

/* section titles */
.section-title { font-size: clamp(2.1rem, 3.8vw, 3.1rem); text-align: center; margin-bottom: 40px; }
.section-title--left { text-align: left; margin-bottom: 18px; }

/* three folds */
.folds { background: var(--paper-2); padding: 84px 0; border-block: 1px solid var(--line); }
.folds__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fold { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px 22px 6px 6px; padding: 30px 28px 26px; box-shadow: var(--shadow); }
.fold::after { content: ""; position: absolute; top: -1px; right: -1px; width: 34px; height: 34px; background: linear-gradient(225deg, var(--paper-2) 50%, var(--paper-3) 50%); border-bottom-left-radius: 6px; }
.fold__num { display: block; font: italic 400 2.6rem/1 var(--display); color: var(--wax); margin-bottom: 14px; }
.fold__title { font-size: 1.6rem; margin-bottom: 10px; }
.fold p { margin: 0; color: var(--ink-2); }

/* what each person sees */
.reveal { padding: 96px 0; }
.reveal__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.reveal__copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 14px; box-shadow: var(--shadow-lg); }
.phone__screen { background: var(--paper); border-radius: 32px; padding: 34px 22px 30px; min-height: 520px; text-align: center; }
.phone__kicker { font: 700 11.5px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--wax); margin-bottom: 22px; }
.mini-env { position: relative; height: 230px; margin: 0 auto 26px; width: 236px; }
.mini-env__card { position: absolute; left: 18px; right: 18px; top: 0; height: 168px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 12px 0; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.mini-env__lead { font-size: 13px; color: var(--muted); }
.mini-env__name { font: italic 400 3rem/1.1 var(--display); color: var(--ink); }
.mini-env__pocket { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: var(--kraft); border-radius: 0 0 10px 10px; clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%); }
.phone__wish-h { font: 700 12px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.phone__wish { font: italic 400 1.2rem/1.4 var(--display); color: var(--ink); }

/* features */
.features { padding: 24px 0 96px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--paper); padding: 34px 30px 30px; }
.feature__icon { width: 42px; height: 42px; fill: none; stroke: var(--wax); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature h3 { font-size: 1.45rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); margin: 0; }

/* prices + tickets */
.prices { background: var(--paper-2); padding: 88px 0; border-block: 1px solid var(--line); }
.prices--page { padding: 40px 0 72px; border-top: 0; }
.prices__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 38px; }
.prices__note { color: var(--ink-2); margin: 0 0 18px; }
.prices__more { text-align: center; margin: 34px 0 0; }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ticket { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 28px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ticket__head { position: relative; padding: 28px 0 22px; margin-bottom: 20px; border-bottom: 2px dashed var(--line); }
.ticket__head::before, .ticket__head::after { content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.ticket__head::before { left: -40px; }
.ticket__head::after { right: -40px; }
.ticket__name { font-size: 1.7rem; margin: 0 0 8px; }
.ticket__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.ticket__amt { font: 400 3rem/1 var(--display); letter-spacing: -.02em; }
.ticket__per { color: var(--muted); font-size: 15px; }
.ticket__list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.ticket__list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-2); }
.ticket__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
.ticket__stamp { align-self: flex-start; margin: 0; font: 700 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--wax); border: 2px solid var(--wax); border-radius: 6px; padding: 8px 10px; transform: rotate(-4deg); }
.ticket--plus { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ticket--plus .ticket__name, .ticket--plus .ticket__amt { color: #fff; }
.ticket--plus .ticket__per, .ticket--plus .ticket__list li { color: #d9d3c6; }
.ticket--plus .ticket__head { border-bottom-color: #4a5470; }
.ticket--plus .ticket__head::before, .ticket--plus .ticket__head::after { border-color: var(--ink); }
.ticket--plus .ticket__list li::before { border-color: #9fd0bc; }
.ticket--plus .ticket__stamp { color: #f4c2b7; border-color: #f4c2b7; }

/* faq */
.faq { padding: 92px 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 4px; font: 400 1.42rem/1.25 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 400 22px/1 var(--text); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 4px 22px; margin: 0; color: var(--ink-2); max-width: 44em; }

/* closer */
.closer { background: var(--ink); color: var(--paper); padding: 72px 0; }
.closer__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.closer__title { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0; }
.closer .btn--wax { box-shadow: none; }

/* inner pages */
.page-head { padding: 72px 0 28px; }
.page-head--tight { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.02; }
.prose-band { padding: 12px 0 84px; }
.prose { max-width: 44em; }
.prose h2 { font-size: 2rem; margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .7em; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; background: var(--wax); transform: rotate(45deg); }
.notice { border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.notice--preview { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.rulecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 26px; }
.rulecard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.rulecard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.rulecard p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.loops { margin: 8px 0 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 16px 16px; }
.loops svg { width: 100%; height: auto; display: block; }
.loops__node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.loops__node text { font: 400 18px var(--display); fill: var(--ink); text-anchor: middle; }
.loops__arrow { fill: none; stroke: var(--wax); stroke-width: 2.2; }
.loops__arrow--b { stroke: var(--pine); }
.loops__head { fill: var(--ink); }
.loops__label { font: 700 13px var(--text); fill: var(--muted); text-anchor: middle; letter-spacing: .08em; text-transform: uppercase; }
.loops figcaption { font-size: 15px; color: var(--muted); text-align: center; margin-top: 8px; }
.seetable, .compare { width: 100%; border-collapse: collapse; margin: 14px 0 26px; font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seetable th, .seetable td, .compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.seetable thead th, .compare thead th { background: var(--paper-2); font-weight: 700; }
.seetable tbody th, .compare tbody th { font-weight: 700; }
.compare caption { caption-side: top; text-align: left; font: 400 1.6rem/1.2 var(--display); padding: 0 0 12px; }

/* start page */
.page-head--tight .wrap--form, .startgrid { max-width: 1080px; }
.startgrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.startaside { position: sticky; top: 96px; background: var(--ink); color: #e9e3d6; border-radius: 20px; padding: 30px 28px; }
.startaside__title { color: #fff; font-size: 1.7rem; margin-bottom: 16px; }
.startaside__steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 18px; }
.startaside__steps li { counter-increment: st; position: relative; padding: 0 0 16px 46px; font-size: 15.5px; line-height: 1.5; }
.startaside__steps li::before { content: counter(st, upper-roman); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--wax); color: #fff; font: italic 400 15px/1 var(--display); }
.startaside__steps strong { color: #fff; }
.startaside__note { font-size: 14px; color: #c9c2b4; border-top: 1px solid #3a4560; padding-top: 14px; margin: 0; }

/* forms */
.formband { padding: 18px 0 88px; }
.sheet { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.sheet--flat { box-shadow: none; padding: 24px 0 0; border: 0; background: none; }
.field { margin-bottom: 22px; }
.field label, .addform label, .inlineform label { display: block; font-weight: 700; font-size: 15.5px; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="text"], input[type="date"], textarea, select { width: 100%; font: 400 17px/1.45 var(--text); color: var(--ink); background: #fffefb; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
textarea { resize: vertical; min-height: 3.2em; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(168, 50, 42, .16); }
.field__help { font-size: 14.5px; color: var(--muted); margin: 8px 0 0; }
.pointprice { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); background: var(--paper); border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 14px; }
.pointprice strong { color: var(--wax); }
.sheet__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 6px; }
.sheet__note { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1 1 260px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--wax); flex: none; }
.alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; }
.alert p { margin: 0; }
.alert ul { margin: 6px 0 0; }
.alert--ok { background: var(--pine-soft); border: 1px solid #b7d0c2; color: #1d4034; }
.alert--bad { background: var(--wax-soft); border: 1px solid #e6b9ad; color: #6d1f19; }
.alert__title { font-weight: 700; }

/* organizer desk */
.desk { padding: 48px 0 88px; }
.desk__in { max-width: 920px; }
.desk__head { margin-bottom: 24px; }
.desk__title { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-bottom: 14px; word-break: break-word; }
.desk__note { color: var(--ink-2); white-space: normal; margin-top: 12px; }
.desk__foot { margin-top: 28px; font-size: 14.5px; color: var(--muted); text-align: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips--center { justify-content: center; margin-top: 18px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.chip--done { background: var(--pine-soft); border-color: #b7d0c2; color: #1d4034; }
.chip--todo { background: var(--wax-soft); border-color: #e6b9ad; color: #6d1f19; }
.keepsafe { background: #fbf4e6; border: 1.5px dashed var(--gold); border-radius: 16px; padding: 22px 24px; margin-bottom: 24px; }
.keepsafe__title { font-size: 1.5rem; margin-bottom: 6px; }
.keepsafe p { color: var(--ink-2); font-size: 15.5px; }
.copyrow { display: flex; gap: 10px; align-items: center; }
.copyrow input.copyrow__input { font: 400 14.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: #fff; width: auto; flex: 1 1 0; min-width: 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 22px; }
.steps__item { counter-increment: s; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: var(--paper-2); }
.steps__item::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; flex: none; }
.steps__item.is-now { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--wax); }
.steps__item.is-done { color: var(--pine); }
.steps__item.is-done::before { content: "\2713"; background: var(--pine); border-color: var(--pine); color: #fff; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; margin-top: 18px; box-shadow: var(--shadow); }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; }
.panel__title { font-size: 1.75rem; margin: 0; }
.panel__count { font: 700 14px/1.3 var(--text); color: var(--muted); margin: 0; }
.panel__intro { color: var(--ink-2); font-size: 15.5px; }
.panel--draw { text-align: center; background: linear-gradient(180deg, #fffdf8, #fbf4e6); border: 1.5px solid var(--kraft); padding: 36px 28px; }
.panel--draw p { color: var(--ink-2); }
.panel--plus { border-left: 4px solid var(--gold); }
.panel--danger { border-color: #e6b9ad; }
.plustag { font: 700 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #6b5214; background: #f6ecd2; border: 1px solid #e3cf98; border-radius: 999px; padding: 6px 10px; }
.namelist { list-style: none; padding: 0; margin: 12px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.namelist__item { display: inline-flex; align-items: center; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 4px 4px 12px; }
.namelist__name { font: 400 1.15rem/1.3 var(--display); }
.addform { border-top: 1px solid var(--line); padding-top: 16px; }
.addform__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.ruleform { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; }
.ruleform select { width: auto; flex: 1 1 160px; }
.ruleform__and { font: italic 400 1.6rem/1 var(--display); color: var(--wax); }
.rulelist { list-style: none; padding: 0; margin: 8px 0 0; }
.rulelist__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); font: 400 1.15rem/1.3 var(--display); }
.rulelist__sep { color: var(--wax); margin: 0 6px; }
.optform .btn { margin-top: 4px; }
.linklist { list-style: none; padding: 0; margin: 16px 0 22px; }
.linklist__item { display: grid; grid-template-columns: 190px minmax(0, 1fr) 180px; gap: 8px 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.linklist__who { display: flex; flex-direction: column; gap: 4px; }
.linklist__name { font: 400 1.35rem/1.15 var(--display); }
.linklist__new { justify-self: end; text-align: right; }
.status { font-size: 13px; font-weight: 700; }
.status--yes { color: var(--pine); }
.status--no { color: var(--muted); }
.status--warn { color: var(--wax); }
.status--note { color: var(--muted); font-weight: 400; }
.hd__cta-label { white-space: nowrap; }
.page-head__date { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
/* an envelope's record (v1.0.3, review T2) */
.record { max-width: 34rem; margin: 18px auto 0; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--card); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-align: left; }
.record--left { margin-left: 0; }
.record__h { margin: 0 0 6px; font: 700 11.5px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.record__line { margin: 0 0 4px; }
.record__line:last-child { margin-bottom: 0; }
.pairs { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.pairs th, .pairs td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.pairs td { font: 400 1.15rem/1.3 var(--display); }
.twoforms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }
.confirmform { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.confirmform .check { margin-bottom: 12px; }
.fold-out summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fold-out summary::-webkit-details-marker { display: none; }
.fold-out summary::after { content: "Open"; font: 700 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--wax); }
.fold-out[open] summary::after { content: "Close"; }
.inlineform { display: grid; gap: 10px; max-width: 520px; }
.inlineform .btn { justify-self: start; }

/* print cards page */
.printhead { padding: 44px 0 20px; }
.printhead__in { max-width: 900px; }
.printhead__steps { color: var(--ink-2); margin-bottom: 20px; }
.cardsheet { padding: 10px 0 80px; }
.cardsheet__grid { display: grid; grid-template-columns: repeat(3, 2.45in); justify-content: center; gap: 18px; }
/* v1.0.3 (review T4): the flap (bottom row) is taller than the inside (middle row), so folded up along the dashed line it
   covers the whole inside, QR code and printed link included. Still 4.85in tall: six cards on a Letter sheet. */
.foldcard { width: 2.45in; height: 4.85in; background: #fff; border: 1px solid #9a9a9a; display: grid; grid-template-rows: 1.4in 1.7in 1.75in; break-inside: avoid; color: #1e2638; }
.foldcard__front { padding: 10px 12px 8px; text-align: center; border-bottom: 1px solid #e3e3e3; position: relative; }
.foldcard__mark { width: 26px; height: 26px; position: absolute; right: 10px; top: 10px; }
.foldcard__for { font: 700 10px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--wax); margin: 12px 0 6px; }
.foldcard__name { font: italic 400 1.75rem/1.05 var(--display); margin: 0 0 6px; word-break: break-word; }
.foldcard__x { font-size: 11px; color: #555; margin: 0; }
.foldcard__inside { padding: 8px 12px 6px; text-align: center; overflow: hidden; }
.foldcard__qr { width: 1.12in; height: 1.12in; margin: 0 auto 6px; }
.foldcard__qr svg { width: 100%; height: 100%; display: block; }
.foldcard__scan { font-size: 10.5px; line-height: 1.3; margin: 0 0 3px; }
.foldcard__url { font: 400 7.5px/1.2 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; margin: 0; color: #444; }
.foldcard__flap { border-top: 2px dashed #777; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #f6f1e6 0 8px, #fff 8px 16px); }
.foldcard__flap span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #555; font-weight: 700; }
.qr path, .qr rect { shape-rendering: crispEdges; }

/* a person's envelope */
.envpage { padding: 56px 0 30px; text-align: center; }
.envpage__in { max-width: 640px; }
.envpage__title { font-size: clamp(2rem, 4.4vw, 2.9rem); margin: 34px 0 10px; }
.envpage__lede { color: var(--ink-2); font-size: 1.1rem; margin: 0 auto 24px; max-width: 30em; }
.envpage__meta { font-size: 14px; color: var(--muted); margin-top: 12px; }
.envpage__note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 20px auto 0; max-width: 32em; text-align: left; color: var(--ink-2); }
.envpage__secret { font: italic 400 1.5rem/1.3 var(--display); color: var(--wax); margin-top: 26px; }
.envelope { position: relative; width: min(360px, 100%); aspect-ratio: 360 / 252; margin: 0 auto; }
.envelope__body { position: absolute; inset: 0; background: linear-gradient(160deg, var(--kraft) 0%, #d4b582 100%); border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 7%; }
.envelope__flap { position: absolute; left: 0; right: 0; top: 0; height: 48%; z-index: 2; background: var(--kraft-2); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 12px 12px 0 0; }
.envelope__for { margin: 0; font: 700 12px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: #6b4f24; }
.envelope__name { margin: 4px 0 0; font: italic 400 clamp(2rem, 7vw, 2.8rem)/1.1 var(--display); color: var(--ink); max-width: 90%; overflow-wrap: anywhere; }
.envelope__seal { position: absolute; left: 50%; top: 46%; z-index: 3; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c8473d, var(--wax) 55%, var(--wax-2)); box-shadow: 0 3px 8px rgba(80, 20, 15, .35); display: grid; place-items: center; }
.envelope__seal-mark { width: 34px; height: 34px; }
.envelope__seal-mark .mark__slip { fill: rgba(255, 255, 255, .14); stroke: #f8e3dd; }
.envelope__seal-mark .mark__fold { stroke: #f8e3dd; }
.envelope__seal-mark .mark__seal { fill: #f8e3dd; }
.envelope__seal-mark .mark__n { stroke: var(--wax); }
.envelope--waiting .envelope__body { background: var(--paper-2); box-shadow: none; outline: 2px dashed var(--line-2); }
.envelope--waiting .envelope__flap { background: var(--paper-3); }
.envelope--waiting .envelope__seal { background: var(--line-2); box-shadow: none; }
.envpage__open { margin-top: 6px; }
.opened { position: relative; width: min(380px, 100%); height: 330px; margin: 36px auto 0; }
.opened__back { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: var(--kraft-3); border-radius: 12px; }
.opened__back::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 96px; background: var(--kraft-2); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.opened__card { position: absolute; left: 7%; right: 7%; top: 18px; height: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px 16px 0; z-index: 2; }
.opened__lead { font: 700 12.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--wax); margin: 0 0 10px; }
.opened__name { font: italic 400 clamp(2.6rem, 9vw, 3.8rem)/1.02 var(--display); margin: 0 0 8px; overflow-wrap: anywhere; }
.opened__meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.opened__pocket { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 3; background: var(--kraft); border-radius: 0 0 12px 12px; clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%); }
@media (prefers-reduced-motion: no-preference) {
  .is-open .opened__card { animation: slideup .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  @keyframes slideup { from { transform: translateY(120px); } to { transform: translateY(0); } }
}
.theirwish { padding: 16px 0 26px; }
.wishcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); }
.wishcard h3 { font-size: 1.25rem; margin: 0 0 6px; }
.wishcard p { color: var(--ink-2); }
.wishband { padding: 30px 0 84px; }
.wishband__intro { color: var(--ink-2); }

/* messages */
.message { padding: 96px 0; text-align: center; }
.message__in .lede { margin: 0 auto 28px; }
.message__in .btnrow { justify-content: center; }
.message__mark { width: 60px; height: 60px; margin-bottom: 18px; }

/* AdEngine slot (PLAN-2026-10-16 s3; display stays in this stylesheet, never !important) */
.ae-slot { margin: 0; padding: 0; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 32px auto; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font-size: 11px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ae-slot ins.adengine a { display: inline-block; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; } }

/* footer */
.ft { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 30px; font-size: 15px; }
.ft__in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; }
.ft__tag { margin: 8px 0 0; font: italic 400 1.15rem/1.3 var(--display); color: var(--ink-2); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; justify-content: flex-end; }
.ft__nav a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.ft__nav a:hover { color: var(--wax); }
.ft__indep { grid-column: 1 / -1; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); max-width: 60em; }
.ft__base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ft__base a { font-weight: 700; }
.is-error .ft__in, .is-private .ft__in { grid-template-columns: 1fr; }

/* tablets */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 20px; }
  .hero__art { max-width: 520px; margin: 0 auto; order: 2; }
  .hero__title { font-size: clamp(2.9rem, 7vw, 4.1rem); }
  .reveal__in { grid-template-columns: 1fr; gap: 48px; }
  .reveal__copy { order: -1; }
  .features__grid, .tickets, .folds__list, .rulecards { grid-template-columns: 1fr 1fr; }
  .prices__head { grid-template-columns: 1fr; gap: 0; }
  .cardsheet__grid { grid-template-columns: repeat(2, 2.45in); }
}

/* phones */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .hd__in { gap: 12px; min-height: 62px; }
  .hd__nav { display: none; }
  .hd__menu { display: block; }
  .hd__cta { margin-left: auto; padding: 9px 16px; font-size: 14.5px; white-space: nowrap; }
  .hd__cta-more { display: none; }
  .brand__word { font-size: 1.55rem; }
  .brand__mark { width: 32px; height: 32px; }
  .hero { padding: 44px 0 40px; }
  .hero__title { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .lede { font-size: 1.1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .folds, .reveal, .prices, .faq { padding: 60px 0; }
  .features { padding: 8px 0 60px; }
  .features__grid, .tickets, .folds__list, .rulecards { grid-template-columns: 1fr; }
  .feature { padding: 26px 22px; }
  .ticket__head::before { left: -40px; }
  .phone__screen { min-height: 480px; }
  .closer__in { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 44px 0 18px; }
  .sheet { padding: 22px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .desk { padding-top: 30px; }
  .panel { padding: 20px 18px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .linklist__item { grid-template-columns: 1fr; }
  .linklist__new { justify-self: start; }
  .twoforms { grid-template-columns: 1fr; }
  .startgrid { grid-template-columns: 1fr; gap: 24px; }
  .startaside { position: static; }
  .copyrow .btn { flex: none; }
  .copyrow input.copyrow__input { font-size: 13.5px; padding: 10px 10px; }
  .tablescroll { overflow-x: auto; }
  .ft__in { grid-template-columns: 1fr; }
  .ft__nav { justify-content: flex-start; }
  .cardsheet__grid { grid-template-columns: 2.45in; }
  .opened { height: 300px; }
}

/* printing: the cards page prints only the cards */
@media print {
  @page { size: letter portrait; margin: .35in; }
  body { background: #fff; }
  .ribbon, .hd, .ft, .printhead, .skip, .ae-slot { display: none; }
  .cardsheet { padding: 0; }
  .cardsheet__grid { grid-template-columns: repeat(3, 2.45in); gap: .12in; justify-content: start; }
  .foldcard { box-shadow: none; }
}
