@import url("/assets/fonts.css");

/* Expolita's public site. The page is a proof sheet: paper stock, wine ink, a gold rule in the margin,
   and the nib-cut corner the extension already uses. Set text is Alegreya; the interface is Alegreya Sans. */

:root {
  --paper: #fffdfa;
  --paper-2: #f7f2ec;
  --paper-3: #f0e7de;
  --wine: #651d3e;
  --wine-deep: #451226;
  --wine-dark: #330d1d;
  --rose: #f7e9ed;
  --ink: #2d2025;
  --ink-2: #4e3a42;
  --muted: #6f5d64;
  --line: #e5d9d5;
  --line-strong: #d8c7c2;
  --gold: #d6a06a;
  --gold-bright: #e6bb88;
  --green: #2f7658;
  --alert: #ba3557;
  --sans: "Alegreya Sans", "Trebuchet MS", "Segoe UI", sans-serif;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --nib: 14px 14px 14px 4px;
  --nib-sm: 10px 10px 10px 3px;
  --rise: cubic-bezier(.16, 1, .3, 1);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4'%3E%3Cpath d='M0 3 1.5 1 3 3 4.5 1 6 3' fill='none' stroke='%23ba3557' stroke-width='1.2'/%3E%3C/svg%3E");
  --wave-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4'%3E%3Cpath d='M0 3 1.5 1 3 3 4.5 1 6 3' fill='none' stroke='%23b27a3f' stroke-width='1.2'/%3E%3C/svg%3E");
  --shadow-card: 0 22px 54px rgba(65, 27, 42, .17), 0 3px 9px rgba(65, 27, 42, .07);
  --shadow-sheet: 0 30px 70px rgba(65, 27, 42, .13), 0 4px 12px rgba(65, 27, 42, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-width: thin;
  scrollbar-color: #dcc7cf transparent;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

::selection { background: rgba(101, 29, 62, .16); }
:focus-visible { outline: 3px solid rgba(101, 29, 62, .34); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #dcc7cf; border: 3px solid var(--paper); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #cbb1bb; }

button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
img, svg { display: block; }

.shell { width: min(1180px, 100% - 44px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 40; padding: 10px 16px; border-radius: var(--nib-sm);
  background: var(--wine); color: #fff6ef; font: 600 15px/1 var(--sans); text-decoration: none;
  transition: top .18s var(--rise);
}
.skip:focus { top: 12px; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 253, 250, .92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.masthead[data-lifted="true"] { border-bottom-color: var(--line); box-shadow: 0 8px 22px rgba(65, 27, 42, .05); }
.masthead .shell { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #351923; flex: 0 0 auto; }
.brand-word { font: 700 27px/1 var(--serif); letter-spacing: -.02em; }
.brand-word i { font-weight: 400; font-style: italic; color: #9d6d55; }
.brand:hover .brand-word i { color: var(--wine); }

.masthead nav { display: flex; gap: 2px; margin-left: auto; font-family: var(--sans); }
.masthead nav a {
  padding: 9px 12px; border-radius: var(--nib-sm); color: var(--ink-2); text-decoration: none;
  font-size: 15.5px; font-weight: 600;
}
.masthead nav a:hover { background: var(--rose); color: var(--wine); }

.lang { position: relative; flex: 0 0 auto; font-family: var(--sans); }
.lang-select {
  appearance: none; min-height: 38px; padding: 6px 30px 6px 12px; border: 1px solid var(--line);
  border-radius: var(--nib-sm); background: var(--paper); color: var(--ink-2); font-size: 14.5px; font-weight: 600;
  cursor: pointer;
}
.lang-select:hover { border-color: var(--line-strong); background: #fff; }
.lang svg { position: absolute; right: 10px; top: 50%; margin-top: -5px; color: #9a8189; pointer-events: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  padding: 11px 20px; border-radius: 13px 13px 13px 4px; font: 700 16px/1.2 var(--sans); text-decoration: none;
  transition: background .18s ease, transform .18s var(--rise), box-shadow .18s ease, border-color .18s ease;
}
.btn-lead {
  background: var(--wine); color: #fff6ef; box-shadow: 0 8px 20px rgba(101, 29, 62, .22);
}
.btn-lead:hover { background: var(--wine-deep); transform: translateY(-1px); box-shadow: 0 11px 26px rgba(101, 29, 62, .28); }
.btn-lead:active { transform: translateY(0); }
.btn-quiet { border: 1px solid var(--line-strong); background: var(--paper); color: var(--wine); }
.btn-quiet:hover { background: var(--rose); border-color: #cdb5bd; }
.btn-small { min-height: 38px; padding: 8px 14px; font-size: 14.5px; border-radius: var(--nib-sm); }
.btn svg { flex: 0 0 auto; }

.masthead .btn-lead { flex: 0 0 auto; min-height: 40px; padding: 9px 16px; font-size: 15px; border-radius: var(--nib-sm); }

/* An unpublished listing must not ship a dead link: the server swaps the install call for a waiting note. */
.cta-soon { display: none; }
.store-pending .cta-install { display: none; }
.store-pending .cta-soon {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 14px;
  border-radius: var(--nib-sm); background: var(--paper-2); border: 1px dashed var(--line-strong);
  color: var(--ink-2); font: 600 14.5px/1.2 var(--sans);
}
.store-pending .hero-actions .cta-soon { min-height: 46px; padding: 11px 18px; font-size: 16px; }

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(34px, 5vw, 58px) 0 clamp(44px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -160px 0 auto -10%; height: 620px; pointer-events: none;
  background: radial-gradient(58% 70% at 22% 30%, rgba(214, 160, 106, .17), transparent 68%),
    radial-gradient(48% 62% at 88% 6%, rgba(101, 29, 62, .11), transparent 70%);
}
.hero .shell { position: relative; display: grid; gap: clamp(30px, 4vw, 44px); }
.hero-copy { max-width: 64ch; }

h1 {
  font-size: clamp(2.7rem, 5.4vw, 4rem); line-height: 1.01; letter-spacing: -.03em; color: #2c1119;
  max-width: 15ch;
}
h1 em { font-style: italic; font-weight: 400; color: var(--wine); }
.hero-lead {
  margin-top: 20px; max-width: 60ch; font-size: clamp(1.12rem, 1.5vw, 1.31rem); line-height: 1.52; color: var(--ink-2);
}
.hero-lead b { font-weight: 700; color: #3d1e2a; }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-note {
  margin-top: 18px; display: flex; align-items: center; gap: 9px;
  font: 500 15px/1.45 var(--sans); color: var(--muted);
}
.hero-note svg { color: var(--green); flex: 0 0 auto; }

/* ---------- the demo sheet ---------- */

.desk { position: relative; }
.desk-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px;
  margin-bottom: 14px;
}
.desk-title { font: 700 1.32rem/1.2 var(--serif); color: #3d1e2a; letter-spacing: -.015em; }
.desk-title span { display: block; margin-top: 3px; font: 500 14.5px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; }
.desk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--sans); }
.tool-select {
  appearance: none; min-height: 38px; padding: 6px 30px 6px 12px; border: 1px solid var(--line);
  border-radius: var(--nib-sm); background: var(--paper); color: var(--ink-2); font-size: 14.5px; font-weight: 600;
  cursor: pointer;
}
.tool-select:hover { border-color: var(--line-strong); }
.tool-wrap { position: relative; }
.tool-wrap svg { position: absolute; right: 10px; top: 50%; margin-top: -5px; color: #9a8189; pointer-events: none; }

.desk-grid {
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 20px; align-items: start;
}

.sheet {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--nib);
  box-shadow: var(--shadow-sheet); overflow: hidden;
}
/* The gold rule is a galley's margin line; the text starts to the right of it. */
.sheet::before {
  content: ""; position: absolute; left: 46px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(214, 160, 106, .55) 12%, rgba(214, 160, 106, .55) 88%, transparent);
}
.sheet-stack { position: relative; }
.sheet-mirror, .sheet-input {
  margin: 0; padding: 30px 28px 30px 70px; font: 400 19px/1.78 var(--serif); letter-spacing: 0;
  white-space: pre-wrap; overflow-wrap: break-word; border: 0; width: 100%;
  min-height: 302px; max-height: 302px; scrollbar-gutter: stable; tab-size: 4;
}
.sheet-mirror {
  position: absolute; inset: 0; color: transparent; pointer-events: none; overflow: hidden;
  -webkit-user-select: none; user-select: none;
}
.sheet-input {
  position: relative; display: block; resize: none; background: transparent; color: var(--ink);
  caret-color: var(--wine); overflow-y: auto; outline-offset: -3px;
}
.sheet-input::placeholder { color: #846c78; }
.sheet-input:focus-visible { outline: 3px solid rgba(101, 29, 62, .3); }

/* The wave rides as a second background layer, so a mark is an ordinary inline box that wraps cleanly. */
.mk {
  color: transparent; background-color: transparent; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: var(--wave), linear-gradient(rgba(186, 53, 87, .1), rgba(186, 53, 87, .1));
  background-repeat: repeat-x, repeat;
  background-position: left calc(100% - 2px), 0 0;
  background-size: 6px 4px, auto;
}
.mk[data-kind="issue_style"], .mk[data-kind="issue_typography"] {
  background-image: var(--wave-soft), linear-gradient(rgba(178, 122, 63, .13), rgba(178, 122, 63, .13));
}
.mk[data-active="true"] {
  background-image: var(--wave), linear-gradient(rgba(186, 53, 87, .22), rgba(186, 53, 87, .22));
}
.mk[data-kind="issue_style"][data-active="true"], .mk[data-kind="issue_typography"][data-active="true"] {
  background-image: var(--wave-soft), linear-gradient(rgba(178, 122, 63, .26), rgba(178, 122, 63, .26));
}

.sheet-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 10px 16px 10px 20px; border-top: 1px solid var(--line); background: var(--paper-2);
  font: 500 13.5px/1.4 var(--sans); color: var(--muted);
}
.sheet-state { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sheet-state svg { flex: 0 0 auto; }
.sheet-state[data-tone="working"] { color: var(--wine); }
.sheet-state[data-tone="clean"] { color: #2c6b51; }
.sheet-state[data-tone="alert"] { color: #9a2d4a; }
.sheet-state .quill-spin { animation: nib 1.5s ease-in-out infinite; transform-origin: 70% 80%; }
.counter { font-variant-numeric: tabular-nums; letter-spacing: .01em; flex: 0 0 auto; }
.counter[data-over="true"] { color: var(--alert); font-weight: 700; }

/* ---------- the margin ---------- */

.margin { display: grid; gap: 12px; align-content: start; }
.margin-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 9px; border-bottom: 2px solid var(--gold); font-family: var(--sans);
}
.margin-head h3 { font: 700 16px/1.2 var(--sans); color: #3d1e2a; }
.margin-count { font: 700 14px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.margin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.note {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--nib);
  box-shadow: 0 10px 26px rgba(65, 27, 42, .07); overflow: hidden;
}
.note[data-active="true"] { border-color: #d3b3bf; box-shadow: var(--shadow-card); }
.note-sample { width: min(340px, 100%); animation: none; }
.note-open {
  width: 100%; display: grid; gap: 5px; padding: 13px 15px 12px; text-align: left; font-family: var(--sans);
}
.note-open:hover { background: #fbf5f7; }
.note-kind { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--sans); color: var(--muted); }
.swatch { flex: 0 0 auto; width: 15px; height: 4px; background: var(--wave) repeat-x 0 0 / 6px 4px; }
.swatch[data-kind="issue_style"], .swatch[data-kind="issue_typography"] { background-image: var(--wave-soft); }
.note-text { font: 400 16px/1.45 var(--sans); color: var(--ink); }
.note-text s { color: #a05d70; text-decoration-thickness: 1.5px; }
.note-text b { color: var(--wine); font-weight: 700; }
.note-arrow { display: inline-block; width: 15px; color: #b0919c; margin: 0 4px; vertical-align: -1px; }

.note-body { padding: 0 15px 13px; display: grid; gap: 11px; }
.note-why { font: 400 14.6px/1.45 var(--sans); color: #57464d; }
.note-apply {
  width: 100%; min-height: 40px; border-radius: 11px 11px 11px 4px; background: var(--wine); color: #fff8f3;
  padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font: 700 14.5px/1.2 var(--sans); box-shadow: 0 5px 13px rgba(101, 29, 62, .18);
  transition: background .18s ease, transform .18s var(--rise), box-shadow .18s ease;
}
.note-apply:hover { background: var(--wine-deep); transform: translateY(-1px); box-shadow: 0 8px 17px rgba(101, 29, 62, .24); }
.note-apply:active { transform: translateY(0); }
.note-apply small { font: 500 11.5px/1 var(--sans); color: #e8cbd5; }
.note-pass { justify-self: start; padding: 6px 9px; margin-left: -9px; border-radius: 7px; font: 600 13.5px/1 var(--sans); color: #705c64; }
.note-pass:hover { background: #f5edef; color: #54243a; }
.note-none { font: 400 14.6px/1.45 var(--sans); color: #57464d; padding: 10px 12px; border-radius: var(--nib-sm); background: var(--rose); }

.margin-empty {
  padding: 18px 16px; border: 1px dashed var(--line-strong); border-radius: var(--nib);
  background: var(--paper-2); font: 400 15.5px/1.5 var(--sans); color: var(--muted);
}
.margin-empty[data-tone="clean"] {
  border-style: solid; border-color: #cfe0d5; background: #f2f8f4; color: #2c6b51;
  display: flex; align-items: center; gap: 12px;
}
.margin-empty[data-tone="clean"] strong { font: 700 17px/1.2 var(--sans); color: #235743; display: block; }
.margin-empty[data-tone="clean"] span { font-size: 14.5px; }
.margin-empty[data-tone="alert"] { border-style: solid; border-color: #e7c6cf; background: #fbf1f3; color: #7c1f3b; }
.margin-empty svg { flex: 0 0 auto; }
.desk-fine { margin-top: 14px; font: 400 14px/1.5 var(--sans); color: var(--muted); max-width: 70ch; }

/* The page's one authored moment: when a check lands, the marks ink in down the page and the notes
   follow into the margin in the same order, as if a reader had just passed over the sheet. */
@keyframes ink-in { from { opacity: 0; background-size: 6px 0, auto; } to { opacity: 1; background-size: 6px 4px, auto; } }
@keyframes note-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes nib { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.mk { animation: ink-in .4s var(--rise) both; }
.note { animation: note-in .34s var(--rise) both; }
/* The stagger lives in the stylesheet, so no element needs a style attribute and the page's
   content security policy can keep refusing inline styles outright. */
.sheet-mirror .mk:nth-of-type(2), .margin-list > li:nth-child(2) .note { animation-delay: 45ms; }
.sheet-mirror .mk:nth-of-type(3), .margin-list > li:nth-child(3) .note { animation-delay: 90ms; }
.sheet-mirror .mk:nth-of-type(4), .margin-list > li:nth-child(4) .note { animation-delay: 135ms; }
.sheet-mirror .mk:nth-of-type(5), .margin-list > li:nth-child(5) .note { animation-delay: 180ms; }
.sheet-mirror .mk:nth-of-type(6), .margin-list > li:nth-child(6) .note { animation-delay: 225ms; }
.sheet-mirror .mk:nth-of-type(7), .margin-list > li:nth-child(7) .note { animation-delay: 270ms; }
.sheet-mirror .mk:nth-of-type(8), .margin-list > li:nth-child(8) .note { animation-delay: 315ms; }
.sheet-mirror .mk:nth-of-type(9), .margin-list > li:nth-child(9) .note { animation-delay: 360ms; }
.sheet-mirror .mk:nth-of-type(10), .margin-list > li:nth-child(10) .note { animation-delay: 405ms; }
.sheet-mirror .mk:nth-of-type(11), .margin-list > li:nth-child(11) .note { animation-delay: 450ms; }
.sheet-mirror .mk:nth-of-type(12), .margin-list > li:nth-child(12) .note { animation-delay: 495ms; }

/* ---------- section furniture ---------- */

.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-paper { background: var(--paper-2); border-block: 1px solid var(--line); }
.band-head { max-width: 40ch; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1.06; letter-spacing: -.026em; color: #2c1119; }
h2 em { font-style: italic; font-weight: 400; color: var(--wine); }
.band-lead { margin-top: 15px; max-width: 58ch; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- how it works: a proof, read top to bottom ---------- */

.steps { margin-top: clamp(34px, 5vw, 52px); display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: minmax(0, 31ch) minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 60px);
  padding: clamp(26px, 3.4vw, 38px) 0; border-top: 1px solid var(--line-strong); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-strong); }
.step h3 { font: 700 1.45rem/1.15 var(--serif); letter-spacing: -.02em; color: #3d1e2a; }
.step p { margin-top: 10px; font-size: 1.04rem; line-height: 1.55; color: var(--ink-2); }
.step-shot { display: grid; gap: 12px; justify-items: start; }

.proof-line {
  font: 400 1.22rem/1.75 var(--serif); color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: var(--nib); box-shadow: 0 10px 26px rgba(65, 27, 42, .07); padding: 18px 22px; width: 100%;
}
.proof-line u, .tongue dd u {
  text-decoration: none; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: var(--wave), linear-gradient(rgba(186, 53, 87, .1), rgba(186, 53, 87, .1));
  background-repeat: repeat-x, repeat;
  background-position: left calc(100% - 2px), 0 0;
  background-size: 6px 4px, auto;
}
.proof-line ins { text-decoration: none; color: var(--wine); font-weight: 700; background: rgba(101, 29, 62, .09); border-radius: 2px; padding: 0 2px; }
.proof-line del { color: #a05d70; text-decoration-thickness: 1.5px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--sans); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper); font: 600 14px/1.2 var(--sans); color: var(--ink-2);
}
.chip svg { color: #8d6a77; }
.chip[data-tone="key"] { border-color: #d9bcc6; background: var(--rose); color: var(--wine); }

/* ---------- languages ---------- */

.tongues { margin-top: clamp(32px, 4.6vw, 48px); display: grid; gap: 0; }
.tongue {
  display: grid; grid-template-columns: minmax(0, 15ch) minmax(0, 1fr); gap: 8px clamp(20px, 3vw, 44px);
  padding: 22px 0; border-top: 1px solid var(--line-strong); align-items: baseline;
}
.tongue:last-child { border-bottom: 1px solid var(--line-strong); }
.tongue dt { font: 700 1.16rem/1.2 var(--sans); color: #3d1e2a; }
.tongue dt span { display: block; margin-top: 3px; font: 500 13.5px/1.3 var(--sans); color: var(--muted); }
.tongue dd { margin: 0; font: 400 1.2rem/1.6 var(--serif); color: var(--ink); }
.tongue dd ins { text-decoration: none; color: var(--wine); font-weight: 700; }
.tongue dd .note-arrow { color: #b0919c; }
.tongue-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* ---------- privacy: the dark, quiet centre ---------- */

.vow { background: var(--wine-deep); color: #f4e4e9; position: relative; overflow: hidden; }
.vow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 68% at 14% 0%, rgba(214, 160, 106, .16), transparent 66%),
    radial-gradient(44% 60% at 92% 100%, rgba(186, 53, 87, .2), transparent 70%);
}
.vow .shell { position: relative; }
.vow h2 { color: #fff4e6; max-width: 17ch; }
.vow h2 em { color: var(--gold-bright); }
.vow-lead { margin-top: 18px; max-width: 56ch; font-size: 1.14rem; line-height: 1.58; color: #e3cdd5; }
.vow-list {
  margin: clamp(30px, 4vw, 44px) 0 0; padding: 0; list-style: none; display: grid; gap: 0;
  border-top: 1px solid rgba(233, 189, 136, .3);
}
.vow-list li {
  display: grid; grid-template-columns: 22px minmax(0, 24ch) minmax(0, 1fr); gap: 10px clamp(18px, 3vw, 40px);
  padding: 20px 0; border-bottom: 1px solid rgba(233, 189, 136, .3); align-items: start;
}
.vow-list svg { color: var(--gold-bright); margin-top: 3px; }
.vow-list b { font: 700 1.1rem/1.3 var(--sans); color: #fff4e6; }
.vow-list span { font: 400 1.04rem/1.55 var(--sans); color: #ddc4cd; }
.vow-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font-family: var(--sans); }
.vow-foot a { color: var(--gold-bright); font-weight: 600; font-size: 15.5px; }
.vow-foot a:hover { color: #f6d8b4; }
.vow :focus-visible { outline-color: rgba(233, 189, 136, .75); }

/* ---------- closing ---------- */

.close-band { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.close-band h2 { margin-inline: auto; max-width: 20ch; }
.close-band p { margin: 16px auto 0; max-width: 52ch; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); }
.close-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.close-facts {
  margin: 26px auto 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 10px; font-family: var(--sans);
}

/* ---------- footer ---------- */

.colophon { border-top: 1px solid var(--line); background: var(--paper-2); padding: 34px 0 40px; }
.colophon .shell { display: grid; gap: 22px; }
.colophon-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 2px; font-family: var(--sans); }
.colophon nav a {
  padding: 8px 11px; border-radius: var(--nib-sm); color: var(--ink-2); text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.colophon nav a:hover { background: var(--rose); color: var(--wine); }
.colophon-fine {
  padding-top: 20px; border-top: 1px solid var(--line); font: 400 14.2px/1.6 var(--sans); color: var(--muted);
  max-width: 78ch;
}
.colophon-fine a { font-weight: 600; }
.colophon-fine p + p { margin-top: 6px; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .desk-grid { grid-template-columns: 1fr; }
  .sheet-mirror, .sheet-input { min-height: 244px; max-height: 244px; }
}
@media (max-width: 860px) {
  .shell { width: min(1180px, 100% - 32px); }
  .masthead nav { display: none; }
  .step, .vow-list li { grid-template-columns: 1fr; }
  .vow-list li { grid-template-columns: 22px minmax(0, 1fr); }
  .vow-list span { grid-column: 2; }
  .tongue { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .masthead .shell { min-height: 64px; gap: 10px; }
  .masthead .btn-lead, .store-pending .masthead .cta-soon { display: none; }
  .brand-word { font-size: 24px; }
  .sheet-mirror, .sheet-input { padding: 22px 18px 22px 52px; font-size: 17.5px; }
  .sheet::before { left: 34px; }
  .hero-actions .btn, .close-actions .btn { width: 100%; }
  .desk-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .note-apply, .skip, .masthead { transition: none; }
  .btn:hover, .note-apply:hover { transform: none; }
  .mk, .note, .sheet-state .quill-spin { animation: none; }
}
@media (forced-colors: active) {
  .mk { forced-color-adjust: none; color: transparent; background: Highlight; background-image: none; }
  .btn, .note, .sheet, .note-apply { border: 1px solid ButtonText; }
}
