/* Front Counter AI, front page v5: "The Book".
   A dark room, a brass lamp, a cream appointment book on the counter. The lamp clicks on at
   load; on desktop a pinned section turns the pages, one step per spread. Everything else is
   quiet: each page simply lights up as it comes into the lamp's pool. */

:root {
  --ink: #15130f;
  --ink-2: #1d1a15;
  --ink-3: #2a251d;
  --brass: #e0b45c;
  --brass-d: #85641f;
  --brass-l: #f0d394;
  --cream: #f4ead6;
  --cream-2: #e9dcc0;
  --cream-3: #d6c4a0;
  --rule: #9fb3c8;
  --stamp: #c9372c;
  --pen: #22304a;
  --leather: #2c2219;
  --leather-2: #3b2d21;
  --text: #f4ead6;
  --text-muted: #b9ad96;
  --print: #2a251d;
  --print-muted: #665b48;
  --f-d: "Familjen Grotesk", "Inter", system-ui, sans-serif;
  --f-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-h: "Caveat", "Segoe Print", cursive;
  --pad: clamp(16px, 4vw, 56px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .31 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --ink-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='70'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* the shared components wear the book */
  --sl-font: var(--f-b);
  --sl-font-display: var(--f-d);
  --sl-ink: #15130f;
  --sl-muted: #665b48;
  --sl-bg: #f4ead6;
  --sl-bg-2: #ebdfc6;
  --sl-line: rgba(21, 19, 15, .2);
  --sl-accent: #e0b45c;
  --sl-accent-ink: #15130f;
  --sl-me: #15130f;
  --sl-me-ink: #f4ead6;
  --sl-radius: 10px;
  --sl-radius-sm: 6px;
  --sl-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  --sl-focus: 0 0 0 3px rgba(224, 180, 92, .75);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.55 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; }
.paper :focus-visible, .pg :focus-visible { outline-color: var(--ink); }
.hand { font-family: var(--f-h); font-weight: 700; color: var(--pen); }

.skip { position: absolute; z-index: 200; left: 12px; top: -80px; padding: 12px 16px; background: var(--cream); color: var(--ink); font-weight: 600; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0; font: 600 13px/1.2 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
h2 { margin: 10px 0 0; font: 700 clamp(36px, 4.4vw, 62px)/1 var(--f-d); letter-spacing: -.03em; color: var(--cream); text-wrap: balance; }
.sec-lede { margin: 18px 0 0; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--text-muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 17px/1.1 var(--f-b); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: var(--ink); box-shadow: 0 14px 34px -14px rgba(224, 180, 92, .7); }
.btn-brass:hover { background: #ebc574; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-line-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line-ink:hover { background: var(--ink); color: var(--cream); }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(224, 180, 92, .75); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.btn-link:hover { text-decoration-color: var(--brass); }

/* ---------- header ---------- */
.hdr { position: relative; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 14px var(--pad); }
.wm { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--cream); text-decoration: none; font: 700 21px/1 var(--f-d); letter-spacing: -.01em; white-space: nowrap; }
.wm b, .foot-wm b { color: var(--brass); font-weight: 700; }
.hdr-nav { margin-left: auto; display: flex; gap: 2px; }
.hdr-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 15.5px; border-radius: 999px; }
.hdr-nav a:hover { color: var(--cream); background: rgba(244, 234, 214, .06); }
.hdr-sam { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 1.5px solid rgba(224, 180, 92, .65); background: transparent; color: var(--cream); font-weight: 600; font-size: 15.5px; cursor: pointer; white-space: nowrap; }
.hdr-sam:hover { background: rgba(224, 180, 92, .12); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: ". scene" "copy scene" "try scene" "ctas scene" ". scene"; grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(28px, 3.5vw, 60px); min-height: clamp(640px, calc(100vh - 72px), 900px); padding: 8px var(--pad) 40px; overflow: clip; }
.hero-copy { grid-area: copy; position: relative; z-index: 2; }
.hero h1 { margin: 16px 0 0; font: 700 clamp(46px, 5.3vw, 82px)/.94 var(--f-d); letter-spacing: -.035em; }
.h1-a, .h1-b { display: block; }
.h1-a { color: var(--brass); }
.h1-b { color: var(--cream); }
.hero-sub { margin: 22px 0 0; max-width: 33em; font-size: 18px; line-height: 1.55; color: var(--text-muted); }
.hero-try { grid-area: try; position: relative; z-index: 2; margin-top: 28px; max-width: 470px; }
.try-label { display: block; margin-bottom: 10px; font: 600 13px/1.2 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.try-line { position: relative; }
.try-line input { width: 100%; height: 60px; padding: 0 54px 0 18px; border: 0; border-radius: 6px; background: var(--cream) var(--grain); color: var(--ink); font: 500 19px/1 var(--f-b); box-shadow: inset 0 -3px 0 var(--rule), 0 18px 40px -22px rgba(0, 0, 0, .9); }
.try-line input::placeholder { color: #8d826d; }
.try-line input:focus { outline: 3px solid var(--brass); outline-offset: 3px; }
.try-pen { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--brass-d); pointer-events: none; }
.try-hint { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.hero-ctas { grid-area: ctas; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; }

/* the scene: counter, lamp, light, book */
.scene { grid-area: scene; position: relative; margin: 0; min-height: 640px; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 46px; }
.scene-counter { position: absolute; left: -6%; right: -40%; top: 38%; bottom: -60px; background: linear-gradient(180deg, #24201a 0%, #1b1813 45%, var(--ink) 100%); border-top: 1px solid rgba(240, 211, 148, .1); border-radius: 50% 0 0 0 / 30px 0 0 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.scene-pool { position: absolute; inset: 20% -20% -10% -10%; background: radial-gradient(ellipse 46% 44% at 56% 58%, rgba(255, 224, 166, .3), rgba(224, 180, 92, .11) 50%, transparent 74%); pointer-events: none; }
.scene-cone { position: absolute; inset: 0; pointer-events: none; filter: blur(16px); mix-blend-mode: screen; }
.scene-cone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 210, 128, .3) 0%, rgba(255, 200, 110, .12) 40%, rgba(255, 200, 110, .03) 70%, transparent 86%); clip-path: polygon(calc(var(--mx) - 50px) var(--my), calc(var(--mx) + 50px) var(--my), 98% 86%, 32% 86%); }
.scene { --mx: 66%; --my: 150px; }
.lamp { position: absolute; z-index: 1; top: -6px; right: 8%; width: 230px; height: auto; overflow: visible; }
.hb { position: relative; z-index: 3; width: 100%; max-width: 760px; margin-left: auto; transform: perspective(1700px) rotateX(16deg) rotateZ(-1.2deg); transform-origin: 50% 100%; transition: filter .9s ease; }
.hb-board { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border-radius: 12px; background: radial-gradient(ellipse at 30% 0%, var(--leather-2), var(--leather) 70%); box-shadow: 0 50px 60px -24px rgba(0, 0, 0, .9), 0 2px 0 rgba(255, 255, 255, .06) inset; }
.hb-page { position: relative; min-height: 430px; padding: 34px 34px 28px; color: var(--print); box-shadow: 0 1px 0 #e3d5b6, 0 2px 0 #cbb994, 0 3px 0 #e3d5b6, 0 4px 0 #c7b48d, 0 5px 0 #dccdab; }
.hb-page-l { display: flex; flex-direction: column; border-radius: 5px 0 0 5px; background: var(--grain), linear-gradient(90deg, var(--cream) 0 78%, #e6d7b8 94%, #cfbd98 100%); }
.hb-page-r { border-radius: 0 5px 5px 0; padding: 34px 26px 28px 34px; background: var(--grain), repeating-linear-gradient(180deg, transparent 0 29px, rgba(159, 179, 200, .5) 29px 30px) 0 62px / 100% calc(100% - 92px) no-repeat, linear-gradient(270deg, var(--cream) 0 78%, #e6d7b8 94%, #cfbd98 100%); }
.hb-print { margin: 0; padding-bottom: 9px; text-align: center; font: 700 12px/1 var(--f-d); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-d); border-bottom: 3px double rgba(133, 100, 31, .55); }
.hb-belongs { margin: 26px 0 2px; font-size: 13.5px; font-style: italic; color: var(--print-muted); }
.hb-line { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 8px 0 6px; border-bottom: 1px solid var(--rule); min-width: 0; }
.hb-name .hand { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.02; overflow-wrap: anywhere; }
.hb-town .hand { font-size: 30px; line-height: 1; }
.hb-k { flex: none; width: 7.4em; font: 600 10.5px/1.2 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--print-muted); }
.hb-trade, .hb-run { font-size: 14.5px; font-weight: 500; }
.hb-motto { margin: auto 0 0; padding-top: 16px; text-align: center; font: 700 13px/1.3 var(--f-d); color: var(--brass-d); letter-spacing: .01em; }
.hb-day { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; font: 700 20px/1 var(--f-d); color: var(--ink); letter-spacing: -.01em; }
.hb-sample, .tag-sample { font: 700 10.5px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 5px 7px; border-radius: 3px; color: var(--ink); }
.photo { position: relative; width: 66%; margin: 0 auto -78px; padding: 8px 8px 0; background: #fbf7ee; transform: rotate(2.4deg); box-shadow: 0 18px 26px -14px rgba(40, 28, 8, .6), 0 1px 2px rgba(0, 0, 0, .25); }
.photo-frame { aspect-ratio: 9 / 15; overflow: hidden; background: #fff; font-size: clamp(5.6px, .5vw, 7.4px); border: 1px solid rgba(0, 0, 0, .08); }
.photo-cap { display: flex; gap: 8px; align-items: baseline; margin: 0; padding: 8px 2px 10px; font-size: 11.5px; font-weight: 500; color: var(--print-muted); }
.photo-cap b { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-size: 10.5px; }
.photo-frame .mock-logo { font-size: 1.22em; }
.photo-frame .mock-call { font-size: .95em; padding: .5em .85em; }
.clip { position: absolute; z-index: 2; top: -30px; left: 16px; width: 18px; height: 50px; }
.hb-ribbon { position: absolute; z-index: -1; left: calc(50% - 46px); bottom: -46px; width: 15px; height: 70px; background: linear-gradient(90deg, #a07a2e, var(--brass) 45%, #b8913f); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); }

/* the mock site inside the photo: ink and brass */
.mock { --m-ink: #15130f; --m-bg: #fffdf8; --m-bg-2: #f1ead9; --m-accent: #e0b45c; --m-accent-ink: #15130f; }

/* lamp states: dark room until the lamp clicks on */
.lamp-bulb { transition: opacity .2s ease; }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .hb { filter: brightness(.18) saturate(.5); animation: fc-wake 0s linear 3.2s forwards; }
  .scene:not(.is-on) .lamp { filter: brightness(.45) saturate(.7); animation: fc-wake 0s linear 3.2s forwards; }
  .scene:not(.is-on) .scene-pool, .scene:not(.is-on) .scene-cone, .scene:not(.is-on) .lamp-bulb { opacity: 0; animation: fc-wake-o 0s linear 3.2s forwards; }
  .scene.is-on .scene-pool, .scene.is-on .scene-cone, .scene.is-on .lamp-bulb { animation: fc-flick .75s ease-out both; }
  .scene.is-on .lamp { transition: filter .4s ease; }
}
@keyframes fc-wake { to { filter: none; } }
@keyframes fc-wake-o { to { opacity: 1; } }
@keyframes fc-flick { 0% { opacity: 0; } 9% { opacity: .95; } 17% { opacity: .2; } 30% { opacity: 1; } 100% { opacity: 1; } }
.is-static .scene *, .is-static .scene, .scene.is-settled, .scene.is-settled * { animation: none !important; transition: none !important; }

/* ---------- the book of steps ---------- */
.steps { position: relative; padding: 110px var(--pad) 80px; }
.steps-pin { position: relative; }
.steps-pin::before { content: ""; position: absolute; inset: 10% -10% 0; background: radial-gradient(ellipse 50% 50% at 50% 56%, rgba(255, 224, 166, .14), rgba(224, 180, 92, .05) 55%, transparent 75%); pointer-events: none; }
.steps-head { position: relative; max-width: 1120px; margin: 0 auto 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 48px; }
.steps-lede { margin: 0; max-width: 28em; font-size: 17px; color: var(--text-muted); }

/* default (static, reduced motion, tablets, phones): every spread laid flat, one under another */
.bk { position: relative; z-index: 0; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; row-gap: 64px; font-size: 16px; }
.bk-leaf, .bk-face, .bk-base { display: contents; }
.bk-cover, .bk-cast, .bk-tabs { display: none; }
.pg { position: relative; display: flex; flex-direction: column; padding: 40px 44px 36px; color: var(--print); }
.pg::before { content: ""; position: absolute; z-index: -1; background: radial-gradient(ellipse at 30% 0%, var(--leather-2), var(--leather) 70%); box-shadow: 0 40px 60px -26px rgba(0, 0, 0, .85); }
/* the leftover space on every page is ruled, like a real appointment book */
.pg:not(.pg-notes)::after { content: ""; flex: 1 1 auto; min-height: 0; margin-top: .9em; background: repeating-linear-gradient(180deg, transparent 0 calc(2.7em - 1px), rgba(159, 179, 200, .5) calc(2.7em - 1px) 2.7em); }
.pg-l { border-radius: 5px 0 0 5px; background: var(--grain), linear-gradient(90deg, var(--cream) 0 84%, #e6d7b8 95%, #cfbd98 100%); }
.pg-l::before { inset: -12px 0 -12px -12px; border-radius: 12px 0 0 12px; }
.pg-r { border-radius: 0 5px 5px 0; background: var(--grain), linear-gradient(270deg, var(--cream) 0 84%, #e6d7b8 95%, #cfbd98 100%); }
.pg-r::before { inset: -12px -12px -12px 0; border-radius: 0 12px 12px 0; }

.pg-step { display: flex; flex-wrap: wrap; align-items: center; gap: .7em; margin: 0; font: 600 .76em/1.2 var(--f-b); letter-spacing: .13em; text-transform: uppercase; color: var(--print-muted); }
.pg-num { padding: .5em .7em .45em; border-radius: 3px; background: var(--ink); color: var(--cream); letter-spacing: .12em; }
.pg h3 { margin: .5em 0 .25em; font: 700 2.5em/1 var(--f-d); letter-spacing: -.03em; color: var(--ink); }
.pg-sub { margin: 0 0 1.2em; max-width: 31em; font-size: 1em; line-height: 1.5; color: var(--print-muted); }

.entries { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.entry { display: grid; grid-template-columns: auto minmax(1.2em, 1fr) auto; align-items: baseline; column-gap: .55em; padding: .72em 0 .7em; border-bottom: 1px solid var(--rule); }
.e-n { font: 700 1.14em/1.2 var(--f-d); color: var(--ink); letter-spacing: -.01em; }
.e-n i { font: 500 .78em/1.2 var(--f-b); font-style: normal; color: var(--print-muted); letter-spacing: 0; margin-left: .25em; }
.e-d { align-self: baseline; height: 1px; border-bottom: 2px dotted rgba(42, 37, 29, .38); }
.e-p { font: 700 1.55em/1 var(--f-d); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.e-p small { margin-left: .3em; font: 600 .48em/1 var(--f-b); letter-spacing: .02em; color: var(--print-muted); }
.e-scoped { font-size: 1.2em; color: var(--brass-d); letter-spacing: -.01em; }
.e-note { grid-column: 1 / -1; margin: .35em 0 0; font-size: .86em; line-height: 1.45; color: var(--print-muted); }
.e-note b { color: var(--print); font-weight: 650; }
.entry-or { display: flex; align-items: center; gap: .8em; padding: .25em 0; font: 600 .7em/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--print-muted); }
.entry-or::before, .entry-or::after { content: ""; flex: 1; border-top: 1px dashed rgba(42, 37, 29, .25); }

.ticks { list-style: none; margin: 0 0 1.3em; padding: 0; display: grid; gap: .55em; }
.ticks li { position: relative; padding-left: 1.8em; font-size: 1em; line-height: 1.4; color: var(--print); }
.ticks li::before { content: ""; position: absolute; left: .15em; top: .28em; width: .95em; height: .5em; border-left: 2.5px solid var(--pen); border-bottom: 2.5px solid var(--pen); transform: rotate(-48deg); }
.pg .btn { align-self: flex-start; margin-top: 1.3em; min-height: 48px; font-size: 16px; }

.coming { display: flex; gap: .8em; align-items: baseline; margin: 1.5em 0 0; padding: .9em 1em; border: 1.5px dashed rgba(42, 37, 29, .38); border-radius: 4px; font-size: .92em; line-height: 1.45; color: var(--print); }
.coming-k { flex: none; padding: .35em .55em .3em; border-radius: 3px; background: var(--brass); color: var(--ink); font: 700 .74em/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; }

/* the day pages */
.day-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 1em; margin: 0 0 .5em; padding-bottom: .55em; border-bottom: 2px solid var(--ink); }
.day-k { grid-column: 1 / -1; margin-bottom: .4em; font: 600 .74em/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--print-muted); }
.day-name { font: 700 1.95em/1.02 var(--f-d); letter-spacing: -.025em; color: var(--ink); }
.tag-sample { align-self: center; font-size: .66em; }
.slots { list-style: none; margin: 0; padding: 0; }
.slot { position: relative; display: grid; grid-template-columns: 3.3em minmax(0, 1fr) auto; align-items: center; column-gap: .9em; min-height: 3.05em; border-bottom: 1px solid var(--rule); }
.slot .t, .ai-e .t, .ai-read .t { align-self: stretch; display: flex; align-items: center; font: 600 .8em/1 var(--f-b); font-variant-numeric: tabular-nums; color: var(--print-muted); border-right: 1px solid rgba(159, 179, 200, .9); }
.job { display: flex; flex-direction: column; padding: .3em 0 .35em; min-width: 0; }
.job .hand { font-size: 1.6em; line-height: .95; }
.job-k { margin-top: .12em; font-size: .78em; font-weight: 500; color: var(--print-muted); }
.stamp { display: inline-block; justify-self: end; margin-right: .2em; padding: .32em .55em .26em; border: .16em solid var(--stamp); border-radius: .28em; font: 700 .92em/1 var(--f-d); letter-spacing: .2em; text-transform: uppercase; color: var(--stamp); transform: rotate(-9deg); opacity: 1; mix-blend-mode: multiply; box-shadow: inset 0 0 0 .12em rgba(201, 55, 44, .22); -webkit-mask-image: var(--ink-mask); mask-image: var(--ink-mask); -webkit-mask-size: 140px 70px; mask-size: 140px 70px; }
.slot:nth-child(4) .stamp { transform: rotate(5deg); }
.slot:nth-child(6) .stamp { transform: rotate(-4deg); }
.slot:nth-child(7) .stamp { transform: rotate(8deg); }
.stamp-sm { font-size: .7em; }
.pencil { justify-self: end; margin-right: .3em; font-size: .8em; font-style: italic; color: #7d7464; }
.day-foot { margin: .9em 0 0; font-size: .84em; line-height: 1.45; color: var(--print-muted); }
.ai-away { margin: .2em 0 .5em; font-size: .9em; line-height: 1.45; color: var(--print-muted); }
.ai-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ai-e { display: grid; grid-template-columns: 3.3em minmax(0, 1fr) auto; column-gap: .9em; align-items: center; padding: 0; border-bottom: 1px solid var(--rule); }
.ai-body { padding: .7em 0; font-size: .92em; line-height: 1.42; color: var(--print); }
.ai-body .hand { font-size: 1.42em; line-height: .9; white-space: nowrap; }
.ai-body .sl-chip-ai { margin-right: .35em; font-size: 10px; }
.ai-e .stamp { transform: rotate(-7deg); }
.ai-e:nth-child(2) .stamp { transform: rotate(6deg); }
.to-person { justify-self: end; padding: .45em .6em .4em; border-radius: 3px; background: var(--ink); color: var(--cream); font: 700 .64em/1 var(--f-b); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ai-read { display: grid; grid-template-columns: 3.3em minmax(0, 1fr); column-gap: .9em; align-items: center; margin-top: 0; padding: .7em 0; border-bottom: 1px solid var(--rule); color: var(--print); font-weight: 500; font-size: .92em; }

.gnotes { list-style: none; counter-reset: gn; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.gnotes li { counter-increment: gn; position: relative; padding: .85em 0 .85em 2.7em; border-bottom: 1px solid var(--rule); font-size: 1.02em; line-height: 1.45; color: var(--print); }
.gnotes li::before { content: counter(gn); position: absolute; left: 0; top: .78em; width: 1.75em; height: 1.75em; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 .82em/1 var(--f-d); color: var(--ink); }
.gnotes b { font-family: var(--f-d); font-weight: 700; color: var(--ink); }
.stationer { margin: auto 0 0; padding: .85em 1em; border: 1.5px solid rgba(133, 100, 31, .7); border-radius: 4px; text-align: center; font-size: .82em; line-height: 1.4; color: var(--print-muted); }
.pg-notes .gnotes { margin-bottom: 2em; }
.stationer span { display: block; margin-bottom: .2em; font: 700 1.15em/1.2 var(--f-d); color: var(--ink); }

/* desktop, moving: the 3D book */
.steps.is-pinned { padding: 0; }
.steps.is-pinned .steps-pin { height: 100vh; display: flex; flex-direction: column; padding: 30px var(--pad) 26px; }
.steps.is-pinned .steps-head { width: 100%; margin-bottom: 18px; }
.steps.is-pinned .steps-head h2 { font-size: clamp(34px, 3.4vw, 50px); }
.bk-stage { position: relative; }
.steps.is-pinned .bk-stage { flex: 1; min-height: 0; display: grid; place-items: center; }
.bk.is-3d { --bh: min(656px, calc(100vh - 196px)); --bw: min(calc(var(--bh) * 1.6), 76vw); --edge: 12px; display: block; width: var(--bw); height: var(--bh); max-width: none; margin: 0; perspective: 3800px; perspective-origin: 50% 45%; font-size: max(11px, min(calc(var(--bh) / 43), calc(var(--bw) / 70))); }
.bk.is-3d .bk-leaf { display: block; position: absolute; left: 50%; top: var(--edge); width: calc(50% - var(--edge)); height: calc(100% - 2 * var(--edge)); transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
.bk.is-3d .bk-leaf-0 { top: 0; left: calc(50% - 1px); width: calc(50% + 1px); height: 100%; }
.bk.is-3d .bk-face { display: block; position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bk.is-3d .bk-back { transform: rotateY(180deg); }
.bk.is-3d .bk-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.bk.is-3d .bk-front::after { background: linear-gradient(90deg, rgba(24, 16, 6, .62), rgba(24, 16, 6, .18) 55%, rgba(255, 240, 210, .08)); opacity: var(--shf, 0); }
.bk.is-3d .bk-back::after { background: linear-gradient(270deg, rgba(24, 16, 6, .55), rgba(24, 16, 6, .1) 60%, transparent); opacity: var(--shb, 0); }
.bk.is-3d .bk-inside { background: radial-gradient(ellipse at 70% 0%, var(--leather-2), var(--leather) 70%); padding: var(--edge) 0 var(--edge) var(--edge); border-radius: 12px 3px 3px 12px; box-shadow: 0 34px 50px -22px rgba(0, 0, 0, .85); }
.bk.is-3d .bk-base { display: block; position: absolute; z-index: 1; left: 50%; top: 0; width: 50%; height: 100%; }
.bk.is-3d .bk-inside-r { padding: var(--edge) var(--edge) var(--edge) 0; border-radius: 3px 12px 12px 3px; }
.bk.is-3d .bk-inside-r::before { content: ""; position: absolute; top: calc(var(--edge) + 3px); bottom: calc(var(--edge) + 3px); right: calc(var(--edge) - 5px); width: 5px; background: repeating-linear-gradient(90deg, #d9caa8 0 1px, #f1e6cf 1px 2px); border-radius: 0 2px 2px 0; }
.bk.is-3d .pg { height: 100%; padding: 2.3em 2.5em 2em; overflow: hidden; }
.bk.is-3d .pg::before { display: none; }
.bk.is-3d .bk-leaf:not(.bk-leaf-0) .pg { border-radius: 0 4px 4px 0; }
.bk.is-3d .bk-back .pg { border-radius: 4px 0 0 4px; }
.bk.is-3d .bk-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7% 8% 9%; border-radius: 4px 14px 14px 4px; background: var(--grain), radial-gradient(ellipse at 35% 15%, #43332a, #261d16 72%); box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .9), inset 14px 0 18px -12px rgba(0, 0, 0, .7), inset -1px 0 0 rgba(255, 255, 255, .06); }
.cv-rule { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5em; padding: 10% 7%; border: 1.5px solid rgba(224, 180, 92, .6); outline: 1px solid rgba(224, 180, 92, .28); outline-offset: 7px; text-align: center; }
.cv-title { margin: 0; font: 700 1.05em/1 var(--f-d); letter-spacing: .34em; text-transform: uppercase; color: var(--brass); }
.cv-plate { min-width: 72%; max-width: 100%; padding: .45em 1.2em .35em; border: 3px solid #b98c38; border-radius: 6px; background: var(--grain), linear-gradient(#f4ead6, #e7d9bc); box-shadow: 0 3px 0 #4d3914, 0 0 0 1px rgba(0, 0, 0, .3); }
.cv-plate .hand { display: block; font-size: 2.5em; line-height: 1.05; overflow-wrap: anywhere; }
.cv-run { margin: 0; font-size: .82em; color: rgba(224, 180, 92, .85); letter-spacing: .03em; }
.cv-mark { opacity: .9; }
.cv-hint { position: absolute; bottom: 3.2%; left: 0; right: 0; margin: 0; text-align: center; font: 600 .7em/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 234, 214, .55); }
.bk.is-3d .bk-cast { display: block; position: absolute; z-index: 29; top: var(--edge); bottom: var(--edge); width: calc(50% - var(--edge)); pointer-events: none; opacity: 0; }
.bk.is-3d .bk-cast-r { left: 50%; background: linear-gradient(90deg, rgba(20, 12, 4, .5), rgba(20, 12, 4, .12) 45%, transparent 80%); }
.bk.is-3d .bk-cast-l { right: 50%; background: linear-gradient(270deg, rgba(20, 12, 4, .45), rgba(20, 12, 4, .1) 45%, transparent 80%); }
.bk.is-3d .bk-tabs { display: flex; flex-direction: column; gap: 8px; position: absolute; z-index: 0; left: calc(100% - 2px); top: 10%; }
.bk-tab { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 0 8px 8px 0; background: var(--cream-2); color: var(--print); font: 600 14px/1 var(--f-b); white-space: nowrap; cursor: pointer; box-shadow: inset 8px 0 10px -8px rgba(0, 0, 0, .45); transition: transform .3s ease, background-color .3s ease; }
.bk-tab b { font: 700 16px/1 var(--f-d); }
@media (max-width: 1240px) { .bk-tab-t { display: none; } .bk-tab { padding: 0 14px 0 12px; } }
.bk-tab:hover { transform: translateX(3px); }
.bk-tab.is-on { background: var(--brass); color: var(--ink); transform: translateX(8px); }
.bk-tab:focus-visible { outline-color: var(--brass); }

/* ---------- lightable sections: each page lights as it comes into the lamp's pool ---------- */
.lightable { position: relative; }
.lightable::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 52% 46% at 62% 56%, rgba(255, 224, 166, .13), rgba(224, 180, 92, .04) 55%, transparent 75%); }
.is-live .lightable:not(.is-lit)::before { opacity: 0; }
.is-live .lightable::before { transition: opacity 1.4s ease; }
.is-live .lightable:not(.is-lit) .paper { filter: brightness(.3) saturate(.6); }
.is-live .lightable .paper { transition: filter 1s ease .1s; }

/* ---------- prices ---------- */
.prices { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1280px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.prices .sec-head { position: sticky; top: 40px; }
.ruled-page { position: relative; padding: 34px 40px 40px 64px; border-radius: 6px; color: var(--print); background: var(--grain), linear-gradient(90deg, transparent 39px, rgba(201, 55, 44, 0) 39px), repeating-linear-gradient(180deg, transparent 0 33px, rgba(159, 179, 200, .34) 33px 34px) 0 86px / 100% 100% no-repeat, var(--cream); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 12px var(--leather); }
.ruled-page::before { content: ""; position: absolute; top: 0; bottom: 0; left: 40px; border-left: 1.5px solid rgba(159, 179, 200, .85); }
.rp-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 22px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font: 700 30px/1 var(--f-d); letter-spacing: -.02em; color: var(--ink); }
.rp-k { font: 600 12px/1.2 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--print-muted); }
.prices .q-label { justify-self: start; padding: 2px 10px 2px 0; background: var(--cream); color: var(--print-muted); }
.prices .q-tot .q-k { display: block; margin-bottom: 4px; }
.prices .q-tot .q-v { display: block; }
.prices .q-trade { min-height: 44px; border-radius: 999px; background: var(--cream); }
.prices .q-opt { background: var(--cream); border-radius: 6px; }
.prices .q-price { font-size: 17px; }
.prices .q-sum { border-radius: 8px; background: var(--ink); color: var(--cream); }
.prices .q-sum .sl-btn-line { color: var(--cream); }

/* ---------- the front counter: Sam, voice, a person ---------- */
.counter { max-width: 1280px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.counter .sec-head { max-width: 780px; margin-bottom: 44px; }
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; border-radius: 12px; background: radial-gradient(ellipse at 30% 0%, var(--leather-2), var(--leather) 70%); box-shadow: 0 50px 80px -34px rgba(0, 0, 0, .95); }
.sp-page { position: relative; padding: 38px 40px; color: var(--print); }
.sp-l { display: grid; align-content: start; gap: 30px; border-radius: 5px 0 0 5px; background: var(--grain), linear-gradient(90deg, var(--cream) 0 86%, #e6d7b8 96%, #cfbd98 100%); }
.sp-r { border-radius: 0 5px 5px 0; background: var(--grain), linear-gradient(270deg, var(--cream) 0 86%, #e6d7b8 96%, #cfbd98 100%); }
.desk-item + .desk-item { padding-top: 30px; border-top: 1px solid var(--rule); }
.desk-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 11px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--print); }
.soon { padding: 4px 7px; border: 1.5px dashed var(--brass-d); border-radius: 3px; color: var(--brass-d); }
.person { padding: 5px 8px; border-radius: 3px; background: var(--ink); color: var(--cream); }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(224, 180, 92, .3); }
.desk-h { margin: 0 0 8px; font: 700 26px/1.1 var(--f-d); letter-spacing: -.02em; color: var(--ink); }
.desk-p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--print-muted); }
.counter .call-title { font-weight: 700; letter-spacing: -.02em; }
.counter .call-form input { background: #fbf6ea; }
.counter [data-sam-inline] .sam-ui { height: 580px; min-height: 0; border-radius: 8px; background: #faf4e6; }
.counter .sam-log { background: #faf4e6; }
.sam-chip, .msg-act { min-height: 44px; }

/* ---------- the free sample ---------- */
.sample { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; padding: 120px var(--pad) 80px; }
.free { margin: 20px 0 26px; font: 700 21px/1.2 var(--f-d); color: var(--brass); }
.slip { position: relative; padding: 30px 30px 28px; border-radius: 6px; color: var(--print); background: var(--grain), var(--cream); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 12px var(--leather); }
.slip .lead-f input, .slip .lead-f select { background: #fbf6ea; }
.slip .lead-f label { color: var(--print); }
.phone { margin: 0; display: grid; justify-items: center; gap: 16px; }
.phone-body { width: min(320px, 100%); overflow: hidden; border: 11px solid #0b0a08; border-radius: 46px; background: #fbf7ee; box-shadow: 0 0 0 1.5px #3b3328, 0 60px 90px -40px rgba(0, 0, 0, .95); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 30px 16px 12px; border-bottom: 1px solid #e6dcc6; color: var(--ink); }
.ph-av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: var(--ink); font: 700 13px/1 var(--f-d); letter-spacing: .04em; }
.phone-top b { display: block; font-size: 15px; font-weight: 650; }
.phone-top i { display: block; font-style: normal; font-size: 12px; color: var(--print-muted); }
.phone-thread { display: grid; gap: 8px; padding: 14px 12px 24px; }
.bub { margin: 0; max-width: 88%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: #ece3cf; color: var(--print); font-size: 14.5px; line-height: 1.42; }
.bub-img { padding: 5px; }
.phone-shot { width: 200px; aspect-ratio: 9 / 12.5; overflow: hidden; border-radius: 13px; font-size: 7.4px; background: #fff; }
.phone figcaption { max-width: 320px; text-align: center; font-size: 14px; line-height: 1.45; color: var(--text-muted); }

/* ---------- house rules ---------- */
.rules { padding: 120px var(--pad) 130px; }
.rules-card { position: relative; max-width: 1060px; margin: 0 auto; padding: 56px 64px 54px; border-radius: 3px; color: var(--print); background: var(--grain), var(--cream); box-shadow: 0 60px 100px -46px rgba(0, 0, 0, .95); transform: rotate(-.5deg); }
.tape { position: absolute; top: -15px; width: 128px; height: 32px; background: rgba(232, 216, 176, .88); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.tape-l { left: 64px; transform: rotate(-4deg); }
.tape-r { right: 64px; transform: rotate(3deg); }
.rules-k { margin: 0 0 22px; padding: 11px 0 10px; text-align: center; font: 700 14px/1 var(--f-d); letter-spacing: .38em; text-transform: uppercase; color: var(--brass-d); border-top: 3px double rgba(133, 100, 31, .7); border-bottom: 3px double rgba(133, 100, 31, .7); }
.rules-card h2 { margin: 0 0 34px; text-align: center; color: var(--ink); font-size: clamp(32px, 4vw, 52px); }
.rules-list { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.rules-list li { counter-increment: r; position: relative; padding: 18px 0 20px 58px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--print-muted); }
.rules-list li::before { content: counter(r); position: absolute; left: 4px; top: 15px; font: 700 36px/1 var(--f-d); color: var(--ink); }
.rules-list b { display: block; margin-bottom: 4px; font: 700 19px/1.25 var(--f-d); letter-spacing: -.01em; color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding: 52px var(--pad) 120px; border-top: 1px solid rgba(244, 234, 214, .12); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; max-width: 1280px; margin: 0 auto; }
.foot-wm { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 26px/1 var(--f-d); letter-spacing: -.01em; color: var(--cream); }
.foot-tag { margin: 0; font: 700 21px/1.2 var(--f-d); color: var(--brass); }
.foot-meta { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(244, 234, 214, .1); justify-content: flex-start; align-items: flex-end; }
.foot-meta p { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 17px; }
.foot-meta p > span:last-child { display: inline-flex; align-items: center; min-height: 44px; }
.foot-k { font: 600 12px/1.4 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.foot-meta a[href^="tel"] { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 600; font-size: 19px; text-decoration-color: rgba(224, 180, 92, .7); text-underline-offset: 5px; }
.foot-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-nav a, .foot-nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--text-muted); font-size: 15.5px; font-weight: 500; text-decoration: none; cursor: pointer; border-radius: 999px; }
.foot-nav a:hover, .foot-nav button:hover { color: var(--cream); }
.foot-fine { max-width: 1280px; margin: 28px auto 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Sam's floating button: cream on the dark room ---------- */
.sam-fab { background: var(--cream); color: var(--ink); box-shadow: 0 0 0 1.5px rgba(224, 180, 92, .75), 0 22px 44px -16px rgba(0, 0, 0, .9); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .hb-page { padding: 28px 26px 24px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "ctas" "scene" "try"; grid-template-rows: auto; min-height: 0; padding-top: 16px; }
  .hero-copy { max-width: 640px; }
  .scene { min-height: 0; margin-top: 30px; padding-bottom: 60px; }
  .hb { max-width: 680px; margin: 230px auto 0; }
  .lamp { right: 4%; }
  .hero-try { max-width: 560px; margin-top: 8px; }
  .prices, .sample { grid-template-columns: minmax(0, 1fr); }
  .prices .sec-head { position: static; }
  .sample .phone { order: 2; }
}
@media (max-width: 860px) {
  .bk { grid-template-columns: 1fr; row-gap: 0; max-width: 560px; }
  .pg { padding: 32px 28px 30px; }
  .pg-l { border-radius: 5px 5px 0 0; background: var(--grain), linear-gradient(180deg, var(--cream) 0 88%, #e6d7b8 97%, #d3c29e 100%); }
  .pg-l::before { inset: -10px -10px 0 -10px; border-radius: 12px 12px 0 0; }
  .pg-r { border-radius: 0 0 5px 5px; margin-bottom: 56px; background: var(--grain), linear-gradient(0deg, var(--cream) 0 88%, #e6d7b8 97%, #d3c29e 100%); }
  .pg-r::before { inset: 0 -10px -10px -10px; border-radius: 0 0 12px 12px; }
  .spread { grid-template-columns: 1fr; }
  .sp-l { border-radius: 5px 5px 0 0; background: var(--grain), linear-gradient(180deg, var(--cream) 0 90%, #e6d7b8 98%, #d3c29e 100%); }
  .sp-r { border-radius: 0 0 5px 5px; background: var(--grain), linear-gradient(0deg, var(--cream) 0 92%, #e6d7b8 98%, #d3c29e 100%); }
  .rules-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .wm { font-size: 18px; gap: 8px; }
  .wm-mark { width: 26px; height: 26px; }
  .hdr-nav { display: none; }
  .hdr-sam { margin-left: auto; padding: 0 12px 0 14px; font-size: 14.5px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 54px); }
  .hero-sub { font-size: 16.5px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-link { justify-content: center; }
  .scene { margin-top: 18px; padding-bottom: 54px; }
  .lamp { width: 150px; right: 2%; top: -4px; }
  .scene { --mx: 70%; --my: 98px; }
  .scene-cone::before { clip-path: polygon(calc(var(--mx) - 34px) var(--my), calc(var(--mx) + 34px) var(--my), 100% 62%, 24% 62%); }
  .scene-cone { filter: blur(12px); }
  .scene-counter { left: -16px; right: -16px; top: 128px; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
  .hb { margin-top: 150px; transform: none; }
  .hb-board { grid-template-columns: 1fr; padding: 10px; }
  .hb-page { min-height: 0; padding: 22px 20px 20px; box-shadow: none; }
  .hb-page-l { border-radius: 5px 5px 0 0; background: var(--grain), linear-gradient(180deg, var(--cream) 0 86%, #e6d7b8 97%, #d3c29e 100%); }
  .hb-page-r { border-radius: 0 0 5px 5px; padding: 18px 20px 20px; background: var(--grain), repeating-linear-gradient(180deg, transparent 0 29px, rgba(159, 179, 200, .5) 29px 30px) 0 54px / 100% calc(100% - 80px) no-repeat, linear-gradient(0deg, var(--cream) 0 90%, #e6d7b8 98%, #d3c29e 100%); }
  .hb-belongs { margin-top: 16px; }
  .hb-name .hand { font-size: 38px; }
  .hb-town .hand { font-size: 26px; }
  .hb-motto { padding-top: 14px; }
  .photo { width: 70%; margin-bottom: 0; }
  .photo-frame { font-size: 7.4px; aspect-ratio: 9 / 14; }
  .hb-ribbon { left: auto; right: 24px; bottom: -40px; }
  .hero-try { margin-top: 4px; }
  .steps { padding-top: 84px; }
  .steps-head { margin-bottom: 36px; }
  .bk { font-size: 15px; }
  .pg { padding: 26px 20px 24px; }
  .pg h3 { font-size: 2.2em; }
  .entry { column-gap: .4em; }
  .e-p { font-size: 1.4em; }
  .e-n i { display: block; margin: .15em 0 0; }
  .slot, .ai-e { grid-template-columns: 2.9em minmax(0, 1fr) auto; column-gap: .7em; }
  .ai-read { grid-template-columns: 2.9em minmax(0, 1fr); column-gap: .7em; }
  .stamp { font-size: .8em; letter-spacing: .14em; }
  .stamp-sm { font-size: .64em; }
  .prices, .counter, .sample { padding-top: 88px; padding-bottom: 56px; }
  .ruled-page { padding: 24px 16px 22px 30px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 8px var(--leather); }
  .ruled-page::before { left: 18px; }
  .rp-head { font-size: 26px; }
  .spread { padding: 8px; }
  .sp-page { padding: 26px 18px; }
  .counter [data-sam-inline] .sam-ui { height: 540px; }
  .slip { padding: 22px 16px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 8px var(--leather); }
  .rules { padding: 88px 18px 96px; }
  .rules-card { padding: 40px 20px 30px; transform: none; }
  .tape { width: 92px; }
  .tape-l { left: 24px; }
  .tape-r { right: 24px; }
  .rules-list li { padding-left: 46px; }
  .rules-list li::before { font-size: 30px; }
  .foot-nav { margin-left: -12px; }
  .foot-wm { font-size: 22px; }
}

/* ---------- found by AI assistants: one page in the book, coming ---------- */
.found { max-width: 1180px; margin: 0 auto; padding: 110px var(--pad) 20px; }
.found-page { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; padding: 44px 48px 42px; border-radius: 5px; color: var(--print); background: var(--grain), var(--cream); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 12px var(--leather); }
.found-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.eyebrow-ink { font: 600 12px/1.2 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--print-muted); }
.found .coming-k { font-size: 11px; padding: 5px 8px 4px; }
.found h2 { margin: 12px 0 18px; color: var(--ink); font-size: clamp(32px, 3.6vw, 48px); }
.found-lines { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.found-lines li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.5; color: var(--print); }
.found-fine { margin: 14px 0 0; font-size: 14px; color: var(--print-muted); }
.found-card { align-self: center; padding: 22px 24px 18px; border: 1.5px solid rgba(42, 37, 29, .28); border-radius: 6px; background: #fbf6ea; }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 18px/1.1 var(--f-d); color: var(--ink); }
.fc-list { margin: 0; }
.fc-list div { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(42, 37, 29, .22); }
.fc-list div:last-child { border-bottom: 0; }
.fc-list dt { font: 600 11px/1.6 var(--f-b); letter-spacing: .12em; text-transform: uppercase; color: var(--print-muted); }
.fc-list dd { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .found-page { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .found { padding-top: 84px; }
  .found-page { padding: 28px 18px 24px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 8px var(--leather); }
  .found-lines li { font-size: 16px; }
  .found-card { padding: 18px 16px 12px; }
}
