/* layout: one part of the brand on screen at a time, a calm neutral frame, a sticky pager at the bottom on phones */
:root {
  --paper: #F4F3EF;
  --surface: #FFFFFF;
  --ink: #1F1E1B;
  --muted: #5F5B53;
  --line: #DFDCD3;
  --sel: #2F3A33;
  --f-ui: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-quote: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wrap: 1100px;
  /* her colors, filled in by the script as she chooses */
  --c-bg: #F8F7F2; --c-primary: #4F6652; --c-secondary: #AFC0AE; --c-accent: #EDDDA6; --c-ink: #24292F; --c-logo: #4F6652; --c-onprimary: #F8F7F2;
  --f-display: 'Fraunces', Georgia, serif; --f-text: 'Figtree', Arial, sans-serif;
  color-scheme: light;
}
/* one light look on purpose: colors are judged on paper, the way they will be printed */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sel); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.03; letter-spacing: -0.028em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
h1:focus, h2:focus { outline: none; }
p { margin: 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.02em; }
.lead { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); max-width: 40em; margin-top: 14px; }
.fine { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.sub { margin: 40px 0 14px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 720px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the bar at the top ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(244, 243, 239, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 14px; min-height: 54px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bar-name { font-weight: 600; white-space: nowrap; }
.trail { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.trail::-webkit-scrollbar { display: none; }
.trail button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.trail button[aria-current="step"] { background: var(--ink); color: var(--paper); }
.trail button:disabled { opacity: .45; cursor: default; }
.bar-count { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar-progress { height: 3px; background: var(--line); }
.bar-progress span { display: block; height: 100%; width: 0; background: var(--sel); transition: width .35s ease; }
@media (max-width: 900px) { .trail { display: none; } .bar-count { margin-left: auto; } }

/* ---------- a part of the walkthrough ---------- */
.step { padding-block: clamp(36px, 6vw, 72px) 140px; }
.js .step { display: none; }
.js .step.on { display: block; animation: rise .35s ease both; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-top: 14px; }
.card h3 { margin-bottom: 8px; }
.idea { margin-top: 28px; }
.idea-line { font-family: var(--f-quote); font-style: italic; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin-bottom: 10px; }
.defs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.defs li { display: grid; gap: 1px; }
.defs b { font-weight: 600; }
.defs span { color: var(--muted); font-size: 16px; }

/* choices: pills, option cards and rows */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 19px; margin-bottom: 12px; padding: 0; }
.choice-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row legend { width: 100%; }
.pill { position: relative; cursor: pointer; }
.pill input, .opt input, .pick input, .row-opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 500; }
.pill input:checked + span { border-color: var(--sel); background: var(--sel); color: var(--paper); }
.pill input:focus-visible + span, .opt input:focus-visible + .opt-in, .pick input:focus-visible + .pick-in, .row-opt > input:focus-visible + span { outline: 2.5px solid var(--sel); outline-offset: 3px; }

.opts { display: grid; gap: 14px; margin-top: 26px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .opts.three { grid-template-columns: minmax(0, 1fr); } }
.opt { cursor: pointer; display: block; min-width: 0; }
.opt-in { display: grid; gap: 10px; height: 100%; padding: 20px; border-radius: 16px; background: var(--surface); border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, border-color .2s, transform .2s; position: relative; }
.opt:hover .opt-in { transform: translateY(-1px); }
.opt input:checked + .opt-in { border-color: var(--sel); box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.5); }
.opt input:checked + .opt-in::after { content: "Chosen"; position: absolute; top: 12px; right: 12px; font-size: 12.5px; font-weight: 600; background: var(--sel); color: var(--paper); padding: 3px 10px; border-radius: 999px; }
.opt-art { display: grid; place-items: center; min-height: 150px; border-radius: 12px; padding: 18px; }
.opt-art .logo { width: 100%; max-height: 120px; }
.marks .opt-art .logo { max-height: 104px; }
.kt .opt-art { background: #EFE8DA; color: #3E352C; }
.sb .opt-art { background: #F3EFE7; color: #3D4C63; }
.oh .opt-art { background: #F8F7F2; color: #4F6652; }
.opt-name { font-weight: 600; }
.opt-note { color: var(--muted); font-size: 15.5px; }

/* the feel: three little mood boards */
.feel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
@media (max-width: 900px) { .feel-grid { grid-template-columns: minmax(0, 1fr); } }
.feel-card { background: var(--surface); border-radius: 18px; padding: 12px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; min-width: 0; }
.feel-card:has(input:checked) { box-shadow: 0 0 0 2.5px var(--sel), 0 12px 28px -20px rgba(0, 0, 0, 0.5); }
.mini-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #E8E5DD; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heart { position: absolute; right: 5px; bottom: 5px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.86); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: #2F3A33; stroke-width: 1.8; }
.heart[aria-pressed="true"] svg { fill: #B4566A; stroke: #B4566A; }
.strip { display: flex; height: 14px; border-radius: 999px; overflow: hidden; outline: 1px solid rgba(0, 0, 0, 0.12); outline-offset: -1px; }
.strip span { flex: 1; }
.pick { cursor: pointer; display: block; }
.pick-in { display: grid; gap: 4px; padding: 10px 8px 6px; }
.pick-in b { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pick-in b::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); flex: none; }
.pick input:checked + .pick-in b::before { border-color: var(--sel); background: radial-gradient(circle, var(--sel) 0 45%, transparent 50%); }
.pick-in .words { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; display: flex; gap: 10px; }
.pick-in .idea { font-size: 15.5px; color: var(--muted); }

/* quick thoughts on the logo */
.feedback { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--sel); border-color: var(--sel); color: var(--paper); }

/* notes */
.note-box { margin-top: 30px; display: grid; gap: 8px; }
.note-box label { font-weight: 600; }
.note-box textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); resize: vertical; min-height: 92px; line-height: 1.5; }
.note-box textarea:focus { border-color: var(--sel); outline: none; }

/* ---------- the colors ---------- */
.starts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.start-chip { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px 8px 10px; cursor: pointer; font-weight: 500; }
.start-chip[aria-pressed="true"] { border-color: var(--sel); box-shadow: 0 0 0 1px var(--sel); }
.dots { display: inline-flex; }
.dots i { width: 14px; height: 14px; border-radius: 50%; margin-left: -4px; box-shadow: 0 0 0 1.5px var(--surface); }
.dots i:first-child { margin-left: 0; outline: 1px solid rgba(0, 0, 0, 0.15); }
.color-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; margin-top: 22px; align-items: start; }
@media (max-width: 900px) { .color-layout { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) { .preview { position: sticky; top: 76px; } }
.roles { display: grid; gap: 10px; }
.role { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.role.open { box-shadow: 0 0 0 2px var(--sel); }
.role-head { width: 100%; border: 0; background: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; cursor: pointer; text-align: left; }
.role-chip { width: 52px; height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
.role-text { display: grid; gap: 1px; min-width: 0; }
.role-text b { font-weight: 600; }
.role-text span { font-size: 14.5px; color: var(--muted); }
.role-hex { font: 500 13.5px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--muted); }
.role-act { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.panel { padding: 4px 14px 16px; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.panel h4 { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sw { border: 0; padding: 0; background: none; cursor: pointer; display: grid; gap: 4px; justify-items: center; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.2; }
.sw i { width: 100%; aspect-ratio: 1; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); display: block; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--sel); }
.tune { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tune button, .any { border: 1.5px solid var(--line); background: var(--surface); padding: 7px 12px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.any { display: inline-flex; align-items: center; gap: 8px; }
.any input { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.pairs { display: grid; gap: 8px; }
.pair { border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; cursor: pointer; text-align: left; }
.pair:hover { border-color: var(--sel); }
.pair .dots i { width: 22px; height: 22px; margin-left: -6px; }
.pair b { font-weight: 600; }
.pair small { display: block; color: var(--muted); font-size: 13.5px; }
.pair .apply { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #E7EFE4; color: #2E5130; }
.badge.warn { background: #F6E9D8; color: #7A4E14; }
.soft-hint { font-size: 14.5px; color: #7A4E14; background: #F6E9D8; border-radius: 12px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.soft-hint button { border: 0; background: #7A4E14; color: #FFF; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-weight: 600; font-size: 13.5px; }

/* the live preview of her colors */
.preview { background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 12px; }
.pv-site { background: var(--c-bg); color: var(--c-ink); border-radius: 12px; padding: 18px 18px 22px; display: grid; gap: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.pv-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pv-nav .logo { width: 150px; height: 44px; color: var(--c-logo); }
.pv-nav span { font-family: var(--f-text); font-size: 12.5px; display: flex; gap: 10px; opacity: .8; }
.pv-hero { font-family: var(--f-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.1; color: var(--c-primary); margin-top: 12px; }
.pv-text { font-family: var(--f-text); font-size: 15px; max-width: 30em; }
.pv-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.pv-btn { font-family: var(--f-text); font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--c-primary); color: var(--c-onprimary); }
.pv-btn.ghost { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.pv-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.pv-card { aspect-ratio: 3.5 / 2; border-radius: 8px; background: var(--c-primary); display: grid; place-items: center; padding: 10%; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5); }
.pv-card .logo { width: 100%; height: 100%; color: var(--c-onprimary); }
.pv-box { aspect-ratio: 1; border-radius: 8px; background: var(--c-secondary); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5); }
.pv-box::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 16%; transform: translateX(-50%); background: var(--c-accent); }
.pv-box .seal { position: relative; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; padding: 8%; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.pv-box .logo { width: 100%; height: 100%; color: var(--c-logo); }
.pv-checks { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- the lettering ---------- */
.type-opt .opt-in { padding: 24px 22px; background: var(--c-bg); color: var(--c-ink); }
.t-display { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.12; color: var(--c-primary); }
.t-text { font-size: 16px; line-height: 1.55; }
.type-opt .opt-name { font-family: var(--f-ui); font-size: 14px; color: var(--muted); }
.type-opt.kt .t-display { font-family: 'Young Serif', Georgia, serif; } .type-opt.kt .t-text { font-family: 'Karla', Arial, sans-serif; }
.type-opt.sb .t-display { font-family: 'Marcellus', Georgia, serif; } .type-opt.sb .t-text { font-family: 'EB Garamond', Georgia, serif; font-size: 18px; }
.type-opt.oh .t-display { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; } .type-opt.oh .t-text { font-family: 'Figtree', Arial, sans-serif; }

/* ---------- the words ---------- */
.rows { margin-top: 30px; display: grid; gap: 8px; }
.row-opt { display: block; cursor: pointer; }
.row-opt > span { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); position: relative; }
.row-opt > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); }
.row-opt > input:checked + span { box-shadow: 0 0 0 2px var(--sel); }
.row-opt > input:checked + span::before { border-color: var(--sel); background: radial-gradient(circle, var(--sel) 0 45%, transparent 50%); }
.row-opt b { font-weight: 600; }
.row-opt .tl { font-family: var(--f-quote); font-style: italic; font-weight: 400; font-size: 21px; }
.row-opt small { color: var(--muted); font-size: 14.5px; }
.row-opt.own input[type="text"] { margin-top: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--paper); width: 100%; }

/* ---------- her brand, all together ---------- */
.sheet { margin-top: 26px; display: grid; gap: 14px; }
.sh-hero { background: var(--c-bg); color: var(--c-ink); border-radius: 20px; padding: clamp(28px, 5vw, 56px) 22px; display: grid; justify-items: center; gap: 14px; text-align: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.sh-hero .logo { width: min(520px, 100%); height: auto; max-height: 190px; color: var(--c-logo); }
.sh-tag { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); color: var(--c-primary); }
.sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .sh-grid { grid-template-columns: minmax(0, 1fr); } }
.sh-box { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sh-box h3 { font-size: 15px; color: var(--muted); }
.sh-mark { display: grid; place-items: center; background: var(--c-bg); border-radius: 12px; padding: 16px; min-height: 140px; }
.sh-mark .logo { width: 120px; height: 120px; color: var(--c-logo); }
.sh-pal { display: grid; gap: 6px; }
.sh-pal div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14.5px; }
.sh-pal i { width: 34px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.sh-pal code { font: 500 12.5px/1 ui-monospace, Menlo, monospace; color: var(--muted); }
.sh-type .big { font-family: var(--f-display); font-size: 30px; line-height: 1.1; color: var(--c-primary); }
.sh-type .small { font-family: var(--f-text); font-size: 15.5px; }
.sh-mocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .sh-mocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sh-mocks { grid-template-columns: minmax(0, 1fr); } }
.sh-mocks figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.sh-mocks figcaption { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.m-card { aspect-ratio: 3.5 / 2; border-radius: 8px; display: grid; place-items: center; padding: 10%; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5); container-type: inline-size; overflow: hidden; }
.m-card.front { background: var(--c-primary); }
.m-card.front .logo { width: 100%; height: 100%; color: var(--c-onprimary); }
.m-card.back { background: var(--c-bg); color: var(--c-ink); place-items: start; align-content: center; gap: 1cqw; padding: 7% 8%; position: relative; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.m-card.back .nm { font-family: var(--f-display); color: var(--c-primary); font-size: clamp(14px, 8cqw, 24px); line-height: 1.1; }
.m-card.back .rl { font-family: var(--f-text); font-size: clamp(10px, 4.8cqw, 14px); opacity: .8; }
.m-card.back .tg { font-family: var(--f-display); font-size: clamp(10.5px, 5.2cqw, 16px); margin-top: 4cqw; max-width: 70%; }
.m-card.back .logo { position: absolute; right: 7%; top: 11%; width: 19%; height: auto; color: var(--c-logo); }
.m-box { aspect-ratio: 1; border-radius: 8px; background: var(--c-secondary); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5); }
.m-box::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14%; transform: translateY(-50%); background: var(--c-accent); }
.m-box .seal { position: relative; width: 54%; aspect-ratio: 1; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; padding: 8%; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.m-box .seal .logo { width: 100%; height: 100%; color: var(--c-logo); }
.m-thanks { aspect-ratio: 4.25 / 5.5; max-width: 240px; width: 100%; margin-inline: auto; background: #FFFFFF; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14% 12%; gap: 8px;
  box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); color: var(--c-ink); }
.m-thanks .big { font-family: var(--f-display); color: var(--c-primary); font-size: 30px; line-height: 1; }
.m-thanks .msg { font-family: var(--f-text); font-size: 13.5px; }
.m-thanks .vs { font-family: var(--f-text); font-size: 11px; opacity: .78; margin-top: 8px; }
.m-label { background: #FFFFFF; border-radius: 6px; padding: 14px 16px; display: grid; gap: 5px; font-family: var(--f-text); font-size: 12.5px; line-height: 1.45; color: var(--c-ink);
  border-top: 6px solid var(--c-primary); box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.m-label .logo { width: 150px; max-width: 80%; height: 40px; color: var(--c-logo); justify-self: start; }
.m-label .pn { font-family: var(--f-display); color: var(--c-primary); font-size: 16px; line-height: 1.2; }
.m-label .law { font-weight: 600; padding-top: 6px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.italic-display .pv-hero, .italic-display .sh-tag, .italic-display .sh-type .big, .italic-display .m-card.back .nm, .italic-display .m-card.back .tg,
.italic-display .m-thanks .big, .italic-display .m-label .pn { font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.sh-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.sh-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.sh-notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sh-notes li { display: grid; gap: 2px; }
.sh-notes b { font-size: 14px; color: var(--muted); }
.sh-empty { color: var(--muted); font-size: 15px; }
.send { margin-top: 26px; background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 28px); }
.send .note-box { margin-top: 0; }
.send #send { margin-top: 16px; }
.form-msg { margin-top: 12px; font-weight: 600; }
.form-msg.bad { color: #8A2F22; }
.review-banner { background: var(--sel); color: var(--paper); border-radius: 14px; padding: 14px 18px; margin-top: 18px; font-weight: 500; }

/* ---------- buttons and the pager ---------- */
.btn { border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: var(--sel); color: var(--paper); }
.btn.primary:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.welcome-go, #welcome .btn { margin-top: 30px; }
.w-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.w-logo { border-radius: 14px; padding: 18px 14px; display: grid; place-items: center; min-height: 96px; }
.w-logo .logo { width: 100%; max-height: 70px; }
.w-logo.kt { background: #EFE8DA; color: #3E352C; } .w-logo.sb { background: #F3EFE7; color: #3D4C63; } .w-logo.oh { background: #F8F7F2; color: #4F6652; }
@media (max-width: 560px) { .w-trio { grid-template-columns: minmax(0, 1fr); } }
.pager { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(244, 243, 239, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.pager-mid { font-size: 14px; color: var(--muted); text-align: center; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no-js .pager { display: none; }
.review .pager, .review .send, .review .trail, .review .bar-count { display: none; }
