/* Catering Quote Builder landing — "menu card" art direction.
   Flat pistachio and cocoa fields, cream paper sheets, square corners,
   and one signature element: the dotted leader between a label and a figure. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-700.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --cocoa: #2b1b14;
  --cocoa-soft: #3d2a21;
  --cocoa-mid: #6b4f41;
  --on-cocoa: #f7f1e5;
  --on-cocoa-muted: #c9b8a6;
  --cream: #f7f1e5;
  --paper: #fffcf6;
  --sunken: #efe6d5;
  --line: #e4d9c5;
  --line-strong: #cdbfa6;
  --pistachio: #c8dc9c;
  --pistachio-pale: #edf2dc;
  --pistachio-deep: #4f6b25;
  --raspberry: #c7375f;
  --raspberry-deep: #9b2145;
  --butter: #f4de9a;
  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --text: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --shadow: 0 18px 40px -18px rgba(43, 27, 20, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--raspberry-deep); outline-offset: 3px; }
.foot :focus-visible, .sides :focus-visible, .act--cocoa :focus-visible { outline-color: var(--pistachio); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 12px 18px; background: var(--cocoa); color: var(--on-cocoa); font-weight: 600; }
.skip:focus { top: 12px; }

/* --- Dotted leader: label, dots, figure ---------------------------------- */
.ldr { display: flex; align-items: baseline; gap: 0.55em; }
.ldr__a { flex: 1 1 auto; display: flex; align-items: baseline; gap: 0.55em; min-width: 0; }
.ldr__a::after { content: ""; flex: 1 1 24px; min-width: 24px; height: 4px; background: radial-gradient(circle at center, currentColor 1.25px, transparent 1.75px) 0 50% / 9px 4px repeat-x; opacity: 0.5; }
.ldr__b { flex: 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cocoa-mid); }
.textlink { font-weight: 600; color: var(--pistachio-deep); }

/* --- Button -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 26px; border: 2px solid var(--cocoa); font-family: var(--text); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.btn--cocoa { background: var(--cocoa); color: var(--on-cocoa); }
a.btn--cocoa:hover { background: var(--pistachio-deep); border-color: var(--pistachio-deep); }
.btn--soon { background: transparent; color: var(--cocoa); border-style: dashed; cursor: default; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn__icon { flex: none; }

/* --- Masthead ------------------------------------------------------------ */
.mast { background: var(--pistachio); }
.mast__in { display: flex; align-items: center; gap: 12px 32px; padding-block: 18px; border-bottom: 3px solid var(--cocoa); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--cocoa); }
.brand__name { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.25; }
.brand--dark { color: var(--on-cocoa); }
.mark { height: auto; flex: none; }
.mast__nav { margin-left: auto; }
.mast__nav ul { display: flex; flex-wrap: wrap; gap: 0 26px; }
.mast__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.mast__nav a:hover { border-bottom-color: var(--cocoa); }
.mast__nav a[aria-current="page"] { border-bottom-color: var(--raspberry-deep); }

/* --- Hero: two flat fields, the sheet lies across the change -------------- */
.hero { background: linear-gradient(to bottom, var(--pistachio) 0, var(--pistachio) calc(100% - 168px), var(--cocoa) calc(100% - 168px), var(--cocoa) 100%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.9fr); gap: 64px; align-items: stretch; padding-top: 72px; padding-bottom: 64px; }
.hero__text { display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(42px, 11.2vw, 88px); line-height: 0.95; letter-spacing: -0.04em; }
.hero h1 span { display: block; }
.hero__kicker { margin-top: 28px; font-size: clamp(18px, 2.2vw, 23px); font-weight: 600; color: var(--pistachio-deep); line-height: 1.25; }
.hero__kicker .ldr__a { color: #3f561c; }
.hero__kicker .ldr__b { font-family: var(--display); font-weight: 700; color: var(--raspberry-deep); }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__note { max-width: 19em; font-size: 14.5px; line-height: 1.4; }
.hero__facts { margin-top: auto; padding-top: 150px; color: var(--on-cocoa); display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__facts li + li::before { content: "·"; margin-inline: 12px; color: var(--pistachio); }

.quote { position: relative; }
.quote__paper { background: var(--paper); padding: 30px 32px 28px; box-shadow: var(--shadow); }
.quote__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cocoa-mid); }
.quote__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 12px; padding-bottom: 14px; border-bottom: 3px solid var(--cocoa); }
.quote__title { font-family: var(--display); font-weight: 700; font-size: clamp(27px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1; }
.quote__meta { text-align: right; font-size: 13.5px; line-height: 1.4; white-space: nowrap; }
.quote__meta strong { font-size: 16px; font-weight: 600; }
.quote__event { margin-top: 18px; padding: 14px 16px; background: var(--pistachio-pale); display: grid; gap: 5px; font-size: 15px; }
.quote__event div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: baseline; }
.quote__event dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pistachio-deep); }
.ledger { display: grid; gap: 9px; font-size: 16px; }
.quote .ledger { margin-top: 20px; }
.ledger .ldr__b { font-weight: 600; }
.ledger .is-minus .ldr__b { color: var(--raspberry-deep); }
.ledger .is-muted { color: var(--cocoa-mid); }
.ledger .is-good .ldr__b { color: var(--pistachio-deep); }
.ledger .is-strong .ldr__b { font-weight: 700; }
.ledger__total { margin-top: 6px; padding-top: 12px; border-top: 2px solid var(--cocoa); font-weight: 700; }
.ledger__total .ldr__b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.quote__guest { margin-top: 8px; text-align: right; font-size: 14.5px; font-weight: 600; color: var(--pistachio-deep); }
.quote__keep { position: relative; background: var(--butter); padding: 20px 32px 22px; box-shadow: var(--shadow); border-top: 2px dashed var(--cocoa); }
.quote__keep .ledger { margin-top: 12px; }
.quote__keep .is-good { font-weight: 700; }
.quote__keep .is-good .ldr__b { font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; line-height: 1; color: var(--cocoa); }
.quote__keepnote { margin-top: 6px; text-align: right; font-size: 14.5px; font-weight: 600; }
.quote figcaption { margin-top: 14px; font-size: 13.5px; font-style: italic; line-height: 1.4; color: var(--on-cocoa-muted); }

/* --- Section heads ------------------------------------------------------- */
.sechead { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; padding-block: 96px 44px; }
.sechead h2, .margin h2, .sides h2, .madefor h2, .get h2 { font-size: clamp(34px, 5vw, 60px); }
.sechead h2 { margin-top: 12px; }
.sechead__intro { font-size: 18px; color: var(--cocoa-mid); padding-bottom: 6px; }

/* --- Acts: three posters, two real screens each --------------------------- */
.acts { padding-bottom: 104px; }
.act { --field: var(--pistachio); --band: var(--cocoa); --ink: var(--cocoa); --soft: #44391f; --accent: var(--raspberry-deep);
  display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 56px; padding: 56px 56px 0; color: var(--ink); overflow: hidden;
  background: linear-gradient(to bottom, var(--field) 0, var(--field) calc(100% - 132px), var(--band) calc(100% - 132px), var(--band) 100%); }
.act + .act { margin-top: 40px; }
.act--cocoa { --field: var(--cocoa); --band: var(--pistachio); --ink: var(--on-cocoa); --soft: var(--on-cocoa-muted); --accent: var(--pistachio); }
.act--butter { --field: var(--butter); --soft: #54421a; }
.act--pistachio { --soft: #3a4a1f; }
.act--flip { grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); }
.act--flip .act__text { order: 2; }
.act__text { padding-bottom: 188px; }
.act__numeral { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; color: var(--accent); }
.act__numeral::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; background: currentColor; }
.act h3 { margin-top: 20px; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.04em; line-height: 0.95; }
.act__lead { margin-top: 18px; font-size: 18.5px; line-height: 1.5; max-width: 30em; }
.act__list { margin-top: 34px; display: grid; gap: 26px; }
.act__list li > p:last-child { margin-top: 8px; font-size: 16px; color: var(--soft); }
.act__line { font-size: 19px; font-weight: 700; line-height: 1.25; }
.act__line .ldr__b { font-family: var(--display); font-size: 22px; color: var(--accent); }
.act__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.shot { display: flex; flex-direction: column; }
.shot figcaption { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.act .shot figcaption .ldr__b { color: var(--accent); letter-spacing: 0.04em; }
.shot__frame { overflow: hidden; background: var(--cream); box-shadow: var(--shadow); aspect-ratio: 720 / 1240; }
.shot__frame img { width: 100%; }
.act__shots .shot:first-child .shot__frame { aspect-ratio: 720 / 1330; }
.act__shots .shot:last-child .shot__frame { aspect-ratio: 720 / 1160; }

/* --- Two-column document layout: heading in the margin -------------------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; align-items: start; }
.margin { position: sticky; top: 28px; display: grid; gap: 18px; }
.margin > p:not(.eyebrow) { color: var(--cocoa-mid); }
.margin .eyebrow { margin-bottom: -6px; }

.maths { padding-block: 104px; background: var(--paper); border-top: 3px solid var(--cocoa); border-bottom: 3px solid var(--cocoa); }
.notice { margin-top: 10px; padding: 18px 20px; background: var(--butter); }
.notice h3 { font-family: var(--text); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; }
.notice p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.steps { border-top: 2px solid var(--cocoa); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 320px); gap: 8px 28px; align-items: start; padding-block: 28px; border-bottom: 1px solid var(--line-strong); }
.step__no { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: 0.85; letter-spacing: -0.04em; color: var(--pistachio-deep); }
.step h3 { font-size: 25px; letter-spacing: -0.02em; line-height: 1.1; }
.step__text p { margin-top: 10px; font-size: 16px; color: var(--cocoa-mid); }
.step__ledger { padding: 16px 18px; background: var(--cream); border-left: 3px solid var(--pistachio); font-size: 15px; }

/* --- Sides: the rest of the app as a menu card, on cocoa ------------------ */
.sides { background: var(--cocoa); color: var(--on-cocoa); }
.sides__in { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); gap: 64px; padding-top: 104px; }
.sides .eyebrow { color: var(--pistachio); }
.sides h2 { margin-top: 12px; }
.sides__text { padding-bottom: 104px; }
.card { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; }
.card__line { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.card__line .ldr__b { color: var(--pistachio); }
.card__desc { margin-top: 8px; font-size: 16px; font-style: italic; color: var(--on-cocoa-muted); }
.sides__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; align-self: end; }
.sides .shot figcaption { color: var(--on-cocoa-muted); }
.sides .shot__frame { aspect-ratio: 720 / 1180; box-shadow: none; }
.sides .shot:last-child .shot__frame { aspect-ratio: 720 / 1390; }

.madefor { background: var(--pistachio); }
.madefor__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; padding-block: 72px; align-items: start; }
.madefor h2 { font-size: clamp(30px, 3.6vw, 44px); }
.madefor ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.madefor li { padding-top: 16px; border-top: 3px solid var(--cocoa); }
.madefor h3 { font-family: var(--text); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.madefor li p { margin-top: 8px; font-size: 16px; }

/* --- Privacy points ------------------------------------------------------ */
.private { padding-block: 104px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.points li { padding-block: 22px 30px; border-top: 2px solid var(--cocoa); }
.points__no { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--raspberry-deep); }
.points h3 { margin-top: 10px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.12; }
.points p { margin-top: 10px; font-size: 16px; color: var(--cocoa-mid); }

/* --- Questions ----------------------------------------------------------- */
.faq { padding-block: 0 104px; }
.faq__list { border-top: 2px solid var(--cocoa); }
details { border-bottom: 1px solid var(--line-strong); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; background: var(--pistachio); font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1; }
details[open] summary::after { content: "–"; background: var(--cocoa); color: var(--pistachio); }
details p { padding: 0 52px 22px 0; max-width: 46em; color: var(--cocoa-mid); }

/* --- Download ------------------------------------------------------------ */
.get { background: var(--pistachio); border-top: 3px solid var(--cocoa); }
.get__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px 80px; align-items: center; padding-block: 96px; }
.get__text p { margin-top: 18px; max-width: 30em; font-size: 19px; }
.get__text .btn { margin-top: 28px; }
.get__text .get__note { margin-top: 14px; font-size: 14.5px; }
.get__lines { display: grid; gap: 14px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.get__lines li:last-child .ldr__b { color: var(--raspberry-deep); }

/* --- Footer -------------------------------------------------------------- */
.foot { background: var(--cocoa); color: var(--on-cocoa); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 64px; padding-block: 72px 48px; }
.foot__brand p { margin-top: 16px; max-width: 24em; color: var(--on-cocoa-muted); }
.foot__col h2 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pistachio); line-height: 1.4; }
.foot__col ul { margin-top: 10px; }
.foot__col li a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }
.foot__mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.foot__note { margin-top: 6px; font-size: 15px; color: var(--on-cocoa-muted); }
.foot__base { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.2fr); gap: 20px 64px; align-items: end; padding-block: 28px 44px; border-top: 1px solid var(--cocoa-mid); font-size: 14.5px; color: var(--on-cocoa-muted); }
.foot__base > .foot__facts, .foot__base > p { min-width: 0; }
.foot__facts { display: grid; gap: 6px; max-width: 26em; }
.foot__facts .ldr__b { color: var(--on-cocoa); overflow-wrap: anywhere; }

/* --- Document pages: one sheet across the change of field ----------------- */
.docpage { padding-bottom: 96px; background: linear-gradient(to bottom, var(--pistachio) 0, var(--pistachio) 230px, var(--cream) 230px); }
.doc { max-width: calc(900px + 2 * var(--gutter)); padding-top: 56px; }
.doc > * { background: var(--paper); padding-inline: clamp(20px, 6vw, 64px); }
.doc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: 0; box-shadow: 0 -1px 0 var(--paper); }
.doc__head > * { padding-bottom: 20px; }
.doc__head h1 { margin-top: 10px; font-size: clamp(36px, 6.4vw, 64px); letter-spacing: -0.04em; line-height: 0.98; }
.doc__head { position: relative; }
.doc__head::after { content: ""; position: absolute; left: clamp(20px, 6vw, 64px); right: clamp(20px, 6vw, 64px); bottom: 0; height: 3px; background: var(--cocoa); }
.doc__meta { text-align: right; font-size: 15px; line-height: 1.4; white-space: nowrap; }
.doc__meta strong { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa-mid); }
.doc__scope { padding-top: 22px; padding-bottom: 8px; font-size: 18px; color: var(--cocoa-mid); }
.doc > :last-child { padding-bottom: clamp(32px, 6vw, 64px); }
.doc__short { padding-top: 22px; padding-bottom: 10px; }
.doc__short h2, .toc h2 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pistachio-deep); line-height: 1.4; }
.doc__short ul { margin-top: 0; }
.doc__short { position: relative; z-index: 0; }
.doc__short::before { content: ""; position: absolute; z-index: -1; inset: 14px clamp(20px, 6vw, 64px) 0; background: var(--pistachio-pale); }
.doc__short h2 { padding: 22px 22px 0; }
.doc__short ul { padding: 10px 22px 22px; display: grid; gap: 8px; }
.doc__short li { position: relative; padding-left: 22px; font-weight: 600; line-height: 1.45; }
.doc__short li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--raspberry); }
.toc { padding-top: 34px; padding-bottom: 12px; }
.toc ol, .toc ul { margin-top: 12px; columns: 2; column-gap: 48px; }
.toc li { break-inside: avoid; }
.toc a { min-height: 40px; align-items: center; text-decoration: none; font-weight: 600; }
.toc a .ldr__a, .toc a .ldr__b { align-items: baseline; }
.toc a:hover .ldr__a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.toc a .ldr__b { font-family: var(--display); font-weight: 700; color: var(--raspberry-deep); }
.toc--plain { padding-top: 12px; }
.toc--plain ul { columns: 1; max-width: 26em; }
.doc__section { padding-top: 34px; padding-bottom: 6px; scroll-margin-top: 12px; }
.doc__section h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.12; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.doc__no { display: inline-block; min-width: 2em; margin-right: 0.3em; font-size: 0.62em; letter-spacing: 0.04em; color: var(--raspberry-deep); vertical-align: 0.28em; }
.doc__section > p, .doc__section > ul, .doc__table { margin-top: 14px; }
.doc__section > p, .doc__section > ul { max-width: 44em; }
.doc__section > ul { display: grid; gap: 10px; }
.doc__section > ul li { position: relative; padding-left: 22px; }
.doc__section > ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; background: var(--pistachio-deep); }
.doc a { color: var(--pistachio-deep); font-weight: 600; }
.doc .toc a { color: var(--cocoa); }
.doc__table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-strong); }
thead th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cocoa-mid); border-bottom: 2px solid var(--cocoa); }
tbody th { font-weight: 700; white-space: nowrap; }
tbody td:last-child { white-space: nowrap; color: var(--pistachio-deep); font-weight: 600; padding-right: 0; }
.doc__after { padding-top: 28px; font-size: 16px; color: var(--cocoa-mid); }
.doc .faq__list { margin-top: 18px; }
.doc .doc__section:has(.faq__list) h2 { border-top: 0; padding-top: 0; }

.contact { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 36px; padding-bottom: 14px; }
.contact::before { content: ""; position: absolute; z-index: -1; inset: 18px clamp(20px, 6vw, 64px) 0; background: var(--pistachio-pale); }
.contact > * { padding-inline: 24px; }
.contact__main { padding-top: 12px; }
.contact h2, .contact h3 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pistachio-deep); line-height: 1.4; }
.contact__mail { display: inline-flex; align-items: center; min-height: 48px; margin-top: 4px; font-family: var(--display); font-size: clamp(17px, 4.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: var(--cocoa) !important; overflow-wrap: anywhere; }
.contact__main p:last-child { margin-top: 6px; font-size: 15.5px; color: var(--cocoa-mid); }
.contact__tips { padding-top: 12px; }
.contact__tips ul { margin-top: 10px; display: grid; gap: 6px; font-size: 15.5px; }
.contact__tips li { position: relative; padding-left: 20px; }
.contact__tips li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 8px; height: 8px; background: var(--pistachio-deep); }
.contact__warn { grid-column: 1 / -1; padding-bottom: 22px; font-size: 15px; font-style: italic; }

.release { padding-top: 34px; padding-bottom: 6px; }
.release h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; }
.release__no { display: inline-block; margin-right: 14px; padding: 2px 10px 3px; background: var(--cocoa); color: var(--pistachio); font-size: 0.72em; letter-spacing: 0; vertical-align: 0.12em; }
.release__state { margin-top: 10px; color: var(--cocoa-mid); font-style: italic; }
.release__list { margin-top: 18px; border-top: 2px solid var(--cocoa); }
.release__list li { padding-block: 11px; border-bottom: 1px solid var(--line-strong); }
.doc__cta { padding-top: 30px; }
.doc--small { max-width: calc(720px + 2 * var(--gutter)); }

/* --- Narrower screens ---------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__in { gap: 40px; }
  .act { padding: 40px 40px 0; gap: 40px; }
  .step { grid-template-columns: 52px minmax(0, 1fr); }
  .step__ledger { grid-column: 2; margin-top: 8px; max-width: 420px; }
  .sides__in { grid-template-columns: 1fr; gap: 0; }
  .sides__text { padding-bottom: 56px; }
  .sides__shots { max-width: 620px; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .mast__cta { display: none; }
  .hero { background: var(--pistachio); }
  .hero__in { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 0; }
  .hero__facts { margin-top: 34px; padding-top: 0; color: inherit; }
  .hero__facts li + li::before { color: var(--raspberry-deep); }
  .quote { margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 40px; background: linear-gradient(to bottom, transparent 0, transparent 120px, var(--cocoa) 120px); }
  .sechead { grid-template-columns: 1fr; padding-block: 72px 32px; }
  .acts { padding-bottom: 72px; }
  .act, .act--flip { grid-template-columns: 1fr; gap: 36px; }
  .act--flip .act__text { order: 0; }
  .act__text { padding-bottom: 0; }
  .split, .madefor__in, .get__in { grid-template-columns: 1fr; }
  .margin { position: static; }
  .maths, .private { padding-block: 72px; }
  .faq { padding-bottom: 72px; }
  .sides__in { padding-top: 72px; }
  .madefor__in { padding-block: 56px; }
  .get__in { padding-block: 72px; }
  .foot__in { grid-template-columns: 1fr 1fr; padding-block: 56px 36px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__base { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mast__in { flex-wrap: wrap; padding-block: 12px 4px; }
  .mast__nav { margin-left: 0; width: 100%; }
  .mast__nav ul { gap: 0 20px; }
  .mast__nav a { font-size: 15.5px; }
  .mast__wide { display: none; }
  .brand__name { font-size: 13px; }
  .hero__note { max-width: none; }
  .hero__facts { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 28px; font-size: 13.5px; }
  .hero__facts li::before, .hero__facts li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--raspberry-deep); }
  .quote__paper { padding: 22px 20px 22px; }
  .quote__keep { padding: 18px 20px 20px; }
  .quote__event div { grid-template-columns: 66px 1fr; }
  .ledger { font-size: 15.5px; }
  .btn { padding-inline: 20px; }
  .act { margin-inline: calc(-1 * var(--gutter)); padding: 36px var(--gutter) 0; background: linear-gradient(to bottom, var(--field) 0, var(--field) calc(100% - 96px), var(--band) calc(100% - 96px), var(--band) 100%); }
  .act + .act { margin-top: 0; }
  .act__shots { grid-template-columns: 1fr; gap: 32px; }
  .act__shots .shot:first-child .shot__frame, .act__shots .shot:last-child .shot__frame { aspect-ratio: 720 / 1040; }
  .step { grid-template-columns: 1fr; gap: 6px; padding-block: 24px; }
  .step__no { font-size: 40px; }
  .step__ledger { grid-column: 1; margin-top: 10px; max-width: none; }
  .card { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .sides__shots { gap: 14px; }
  .madefor ul { grid-template-columns: 1fr; gap: 22px; }
  .points { grid-template-columns: 1fr; }
  summary { font-size: 17.5px; }
  details p { padding-right: 0; }
  .foot__in { grid-template-columns: 1fr; }
  .docpage { padding-bottom: 64px; background: linear-gradient(to bottom, var(--pistachio) 0, var(--pistachio) 150px, var(--cream) 150px); }
  .doc { padding-top: 28px; }
  .doc__head { flex-direction: column; align-items: flex-start; gap: 0; }
  .doc__head > :first-child { padding-bottom: 12px; }
  .doc__meta { text-align: left; }
  .doc__meta br { display: none; }
  .doc__meta strong { margin-right: 8px; }
  .toc ol, .toc ul { columns: 1; }
  .contact > * { padding-inline: 16px; }
  table, tbody, tr, tbody th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { padding-block: 12px; border-bottom: 1px solid var(--line-strong); }
  tbody tr:first-child { border-top: 2px solid var(--cocoa); }
  tbody th, td { padding: 0; border: 0; white-space: normal; }
  td { margin-top: 4px; }
  tbody td:last-child { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .mast__nav, .mast__cta, .skip { display: none; }
  .docpage, .hero { background: none; }
}
