/* Serralheria Labs: a steel bench seen from above, one tape measure, a squared pad. Light: one hard lamp from the top left. */
:root {
  --bench: #2b3138; --bench-dk: #20252b; --wall: #3c4248; --steel: #8e959c; --steel-hi: #c2c7cb;
  --chalk: #eceee6; --chalk-2: #bfc3bb; --yellow: #f6d21c; --yellow-dk: #4a3f05; --blade: #f4e9a0;
  --ink: #16181a; --red: #c8261e; --paper: #f5f3ec; --graphite: #383c42; --pencil-2: #5f646b; --redpencil: #a3241c;
  --gut: clamp(16px, 4.4vw, 72px); --shadow: 7px 9px 0 rgba(8, 10, 12, .42);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif; --text: 'Asap', 'Segoe UI', Arial, sans-serif; --hand: 'Kalam', 'Comic Sans MS', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--chalk); background-color: var(--bench);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='560'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.035' stroke-width='1.2'%3E%3Cpath d='M-40 300a380 380 0 0 1 520-240'/%3E%3Cpath d='M-20 330a360 360 0 0 1 500-250'/%3E%3Cpath d='M0 360a340 340 0 0 1 470-250'/%3E%3Cpath d='M300 600a300 300 0 0 1 460-300'/%3E%3Cpath d='M330 610a280 280 0 0 1 420-290'/%3E%3Cpath d='M120 40a200 200 0 0 1 300-30'/%3E%3C/g%3E%3C/svg%3E");
  overflow-x: hidden; }
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the wall behind the bench ---------- */
.wall { display: grid; grid-template-columns: auto minmax(0, 560px) 1fr; align-items: end; gap: 0 36px; padding: 22px var(--gut) 0; background-color: var(--wall);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cpath d='M0 59.5H160M80 0v30M0 29.5H160M0 30v30' stroke='%23000' stroke-opacity='.16'/%3E%3C/svg%3E");
  border-bottom: 12px solid var(--bench-dk); }
.logo { height: 46px; width: auto; display: block; align-self: center; margin-bottom: 22px; }
.wall-photo { margin: 0; max-width: 560px; line-height: 0; }
.wall-photo img { display: block; width: 100%; max-width: 720px; height: auto; }
.lang { justify-self: end; align-self: start; display: flex; gap: 4px; }
.lang button { font: 400 22px/1 var(--display); letter-spacing: .08em; color: var(--chalk-2); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 8px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--chalk); border-bottom-color: var(--yellow); }
.lang button:hover { color: var(--chalk); }

/* ---------- the bench ---------- */
.bench { position: relative; padding: 48px var(--gut) 56px; max-width: 1480px; margin: 0 auto; }
.spatter { position: absolute; top: 330px; right: 9%; width: 70px; fill: #a9afb5; opacity: .55; pointer-events: none; }
.scribe { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0 56px; align-items: end; }
.scribe .chalk-k { grid-column: 1 / -1; }
.chalk-k { font: 400 21px/1.2 var(--display); letter-spacing: .14em; color: var(--chalk-2); margin: 0 0 24px; }
.chalk { font: 400 clamp(64px, 8.4vw, 136px)/.86 var(--display); letter-spacing: .005em; color: var(--chalk); margin: 0; filter: url(#chalk); text-wrap: balance; }
.chalk span { display: inline-block; margin-left: 1.15em; color: var(--yellow); }
html.js:not(.static) .chalk { animation: scribe 1.3s var(--ease-io) .15s both; }
@keyframes scribe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.lede { max-width: 52ch; font-size: 16.5px; line-height: 1.6; color: var(--chalk-2); margin: 0 0 6px; }
html.js:not(.static) .lede { animation: rise .9s var(--ease) .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.step { display: flex; align-items: center; gap: 12px; font: 400 32px/1 var(--display); letter-spacing: .04em; color: var(--chalk); margin: 0 0 18px; }
.step::before { content: ''; width: 30px; height: 3px; background: var(--yellow); }
.step i { font-style: normal; width: 40px; height: 40px; display: grid; place-items: center; border: 2.5px solid var(--chalk); border-radius: 52% 48% 50% 46%; font-size: 24px; filter: url(#chalk); }

/* ---------- 1 · the offcuts ---------- */
.offcuts { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 56px; }
.offcuts .step { grid-column: 1; }
.cuts { grid-column: 1; display: flex; flex-wrap: wrap; gap: 18px 14px; align-content: start; }
.spec { grid-column: 2; grid-row: 1 / 3; align-self: start; border-left: 2px dashed rgba(236, 238, 230, .35); padding: 2px 0 6px 32px; min-height: 120px; }
.cut { position: relative; isolation: isolate; display: grid; text-align: left; gap: 1px; padding: 14px 22px 13px 20px; border: 0; background: none; cursor: pointer; color: #22262a;
  font: 400 27px/1 var(--display); letter-spacing: .05em; text-shadow: 0 1px 0 rgba(255, 255, 255, .45), 0 -1px 0 rgba(0, 0, 0, .3);
  transform: rotate(var(--r)); filter: drop-shadow(5px 7px 0 rgba(8, 10, 12, .45)); transition: transform .45s var(--ease); }
.cut::before { content: ''; position: absolute; inset: 0; z-index: -1; clip-path: var(--clip); background-color: var(--steel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='70'%3E%3Cg fill='%23535a61' fill-opacity='.28'%3E%3Cpath d='M8 10c14-6 30 2 22 12s-28 6-22-12z'/%3E%3Cpath d='M70 40c18-4 34 6 22 14s-30 2-22-14z'/%3E%3Cpath d='M40 52c6-2 12 2 8 6s-12 0-8-6z'/%3E%3C/g%3E%3C/svg%3E"); transition: background-color .3s var(--ease); }
.cut small { font: 700 11px/1 var(--text); letter-spacing: .14em; color: #3b4046; text-shadow: none; }
.cut em { font: 500 11.5px/1.3 var(--text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #2f3439; text-shadow: none; margin-top: 3px; }
.cut:hover { transform: rotate(var(--r)) translateY(-3px); }
.cut[aria-checked="true"] { transform: rotate(0) translateY(-6px); }
.cut[aria-checked="true"]::before { background-color: var(--steel-hi); }
.cut[aria-checked="true"]::after { content: ''; position: absolute; inset: -9px -11px; border: 2.5px solid var(--chalk); border-radius: 46% 54% 48% 52% / 58% 44% 56% 42%; filter: url(#chalk); }

.spec h3 { font: 400 46px/.95 var(--display); letter-spacing: .02em; color: var(--yellow); margin: 0 0 8px; }
.spec .for { margin: 0 0 16px; color: var(--chalk); max-width: 46ch; }
.spec .flow { list-style: none; counter-reset: s; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.spec .flow li { counter-increment: s; position: relative; padding-left: 34px; color: var(--chalk-2); font-size: 15px; }
.spec .flow li::before { content: counter(s); position: absolute; left: 0; top: 1px; font: 400 20px/1 var(--display); color: var(--chalk); width: 22px; border-bottom: 2px solid var(--yellow); text-align: center; }
.spec .flow b { color: var(--chalk); font-weight: 700; }
.spec em, .calc em { font-style: normal; }
.spec em { font: 700 11px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); white-space: nowrap; }
.spec .sx { margin: 0; display: grid; gap: 10px; }
.spec .sx div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; border-top: 1px solid rgba(236, 238, 230, .16); padding-top: 9px; }
.spec dt { font: 400 18px/1.3 var(--display); letter-spacing: .1em; color: var(--chalk-2); }
.spec dd { margin: 0; color: var(--chalk); font-size: 15px; }
.spec .cond { margin: 14px 0 0; font: 400 16px/1.45 var(--hand); color: var(--chalk); }
.spec .hint { font: 400 19px/1.45 var(--hand); color: var(--chalk-2); margin: 10px 0 0; }
.spec.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }

/* ---------- 2 · the tape ---------- */
.tapezone { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 28px; }
.tapezone .tape, .tapezone .notape { flex: 1 0 100%; }
.howto { margin: 0 0 78px; font-size: 14px; color: var(--chalk-2); max-width: 70ch; }
.tape { position: relative; display: flex; align-items: flex-end; height: 128px; }
.tape .case { position: relative; flex: 0 0 132px; width: 132px; height: 120px; z-index: 3; filter: drop-shadow(var(--shadow)); }
.case-s { display: block; width: 132px; height: 120px; }
.lock { position: absolute; top: -13px; left: 40px; width: 44px; height: 24px; border: 0; border-radius: 7px 7px 3px 3px; background: var(--ink); cursor: pointer; transition: transform .35s var(--ease); padding: 0; }
.lock::before { content: ''; position: absolute; left: 11px; right: 11px; top: 5px; bottom: 8px; border-left: 2px solid #4a4f55; border-right: 2px solid #4a4f55; }
.lock::after { content: ''; position: absolute; left: 20px; top: 5px; width: 4px; height: 11px; background: #4a4f55; }
.locked .lock { transform: translateX(16px); }
.locked .lock::after { background: var(--red); width: 6px; left: 19px; }
.lock:hover { transform: translateY(-2px); } .locked .lock:hover { transform: translateX(16px) translateY(-2px); }
.track { position: relative; flex: 1 1 auto; min-width: 0; height: 64px; margin: 0 0 8px -2px; cursor: grab; touch-action: none; outline-offset: 10px; }
.tape.pull .track { cursor: grabbing; }
.tape.locked .track, .tape.off .track { cursor: default; }
.blade { position: absolute; left: 0; top: 0; height: 64px; background-repeat: no-repeat; background-color: var(--blade); box-shadow: 5px 7px 0 rgba(8, 10, 12, .38); }
.end { position: absolute; top: 0; height: 64px; display: none; box-shadow: 5px 7px 0 rgba(8, 10, 12, .38); clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 82%, 8px 64%, 0 46%, 8px 28%, 0 12%); }
.end .b2 { position: absolute; inset: 0; width: auto; box-shadow: none; }
.broken .blade { clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 14%, 100% 32%, calc(100% - 8px) 50%, 100% 68%, calc(100% - 8px) 86%, 100% 100%, 0 100%); }
.hook { position: absolute; top: -10px; width: 16px; height: 84px; margin-left: -3px; background: #2a2e33; border-radius: 2px 5px 5px 2px; box-shadow: 4px 6px 0 rgba(8, 10, 12, .4); }
.hook::before, .hook::after { content: ''; position: absolute; left: -7px; width: 9px; height: 9px; border-radius: 50%; background: #9aa1a7; border: 2px solid #2a2e33; }
.hook::before { top: 22px; } .hook::after { bottom: 22px; }
.hair { position: absolute; left: -1px; top: -10px; width: 2px; height: 84px; background: var(--red); z-index: 2; pointer-events: none; }
.window { position: absolute; left: -8px; top: -70px; display: flex; align-items: baseline; gap: 6px; padding: 5px 12px 5px 6px; background: var(--ink); border: 3px solid var(--ink); box-shadow: var(--shadow); z-index: 4; transition: border-color .3s var(--ease); }
.window::after { content: ''; position: absolute; left: 4px; bottom: -11px; border: 6px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.read { width: 108px; font: 400 44px/1 var(--display); letter-spacing: .03em; color: var(--ink); background: #e6ebec; border: 0; padding: 4px 8px 0; text-align: right; }
.read:focus { outline: 2px solid var(--yellow); }
.window span { font: 400 26px/1 var(--display); color: var(--chalk); }
.window.on { border-color: var(--red); }
.tape.off .track { opacity: .7; } .tape.off .window, .tape.off .hair { display: none; }
.notape { margin: 16px 0 0 146px; font: 400 21px/1.45 var(--hand); color: var(--chalk); max-width: 56ch; }

/* ---------- 3 · work: upright tape, pad, case back ---------- */
.work { margin-top: 84px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 0 56px; align-items: start; }
.work.two { grid-template-columns: 290px minmax(0, 1.4fr) minmax(0, .9fr); gap: 0 40px; }
.work .step { grid-column: 1 / -1; }
.vslot { position: relative; }
.vslot[hidden] { display: none; }
.vlabel { margin: 0 0 18px; font: 400 18px/1.4 var(--hand); color: var(--chalk-2); }
.vlabel b { display: block; font: 400 30px/1 var(--display); letter-spacing: .06em; color: var(--yellow); font-weight: 400; }
.vbox { position: relative; width: 290px; height: 540px; }
.vbox > .window { left: 142px; top: 6px; }
.vbox > .window::after { left: -11px; top: 18px; bottom: auto; border: 6px solid transparent; border-right-color: var(--ink); border-left: 0; }
.tape.v { position: absolute; top: 0; left: 0; height: 128px; transform-origin: 0 0; transform: translateX(128px) rotate(90deg); }

.pad { filter: drop-shadow(var(--shadow)); transform: rotate(-.5deg); min-width: 0; }
.sheet { position: relative; background-color: var(--paper); color: var(--graphite); padding: 40px clamp(18px, 3vw, 40px) 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19'%3E%3Cpath d='M0 .5H19M.5 0V19' stroke='%23b8cfe4' stroke-width='1'/%3E%3C/svg%3E");
  clip-path: polygon(0 10px, 3% 3px, 7% 9px, 11% 2px, 16% 8px, 21% 1px, 26% 9px, 31% 3px, 37% 8px, 42% 1px, 48% 7px, 53% 2px, 59% 9px, 64% 3px, 70% 8px, 75% 1px, 81% 7px, 86% 2px, 91% 9px, 96% 3px, 100% 8px, 100% 100%, 0 100%); }
.pad.lined .sheet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='32'%3E%3Cpath d='M0 31.5H40' stroke='%23a9c3dc'/%3E%3C/svg%3E"); }
.pad.lined .sheet::before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 1.5px; background: #e2a19c; }
.pad-h { margin: 0 0 6px; font: 700 23px/1.2 var(--hand); color: var(--graphite); }
.pad-n { font-weight: 400; }
.croqui { min-height: 230px; }
.croqui svg { display: block; width: 100%; height: auto; overflow: visible; }
.croqui .pn { fill: none; stroke: var(--graphite); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: url(#pencil); }
.croqui .hand { font: 400 19px var(--hand); fill: var(--graphite); }
html.js:not(.static) .croqui .pn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-io) var(--d) forwards; }
html.js:not(.static) .croqui .hand { opacity: 0; animation: ink .5s var(--ease) var(--d) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ink { to { opacity: 1; } }
.wait { display: grid; place-items: center; min-height: 230px; margin: 8px 0; padding: 24px; text-align: center; border: 1.5px dashed #8d939a; font: 400 20px/1.45 var(--hand); color: var(--pencil-2); }
.lnote { font: 400 21px/32px var(--hand); color: var(--graphite); padding: 6px 0 10px 26px; }
.lnote p { margin: 0 0 32px; } .lnote p:last-child { margin: 0; }
.lnote a { color: var(--graphite); }
.calc { margin: 8px 0 0; font: 400 19px/1.5 var(--hand); color: var(--graphite); min-height: 1px; }
.calc em { color: var(--redpencil); }
.rule { margin: 14px 0 22px; padding-left: 14px; border-left: 3px solid var(--graphite); font-size: 14.5px; line-height: 1.55; color: var(--graphite); max-width: 62ch; }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; border-top: 1.5px solid var(--graphite); padding-top: 18px; }
.ask label { display: grid; gap: 2px; min-width: 0; }
.ask label > span { font: 700 11.5px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--pencil-2); }
.ask .wide { grid-column: 1 / -1; }
.ask input, .ask textarea { width: 100%; font: 400 20px/1.45 var(--hand); color: var(--graphite); background: transparent; border: 0; border-bottom: 1.5px solid var(--graphite); padding: 4px 2px; border-radius: 0; resize: vertical; }
.ask textarea { border: 1.5px solid var(--graphite); padding: 6px 8px; }
.ask ::placeholder { color: #7d8288; opacity: 1; }
.ask input:focus, .ask textarea:focus { outline: none; border-color: var(--red); background: rgba(246, 210, 28, .14); }
.send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.go { font: 400 23px/1 var(--display); letter-spacing: .07em; color: var(--yellow); background: var(--ink); border: 0; padding: 14px 22px 12px; cursor: pointer; box-shadow: 4px 5px 0 rgba(22, 24, 26, .28); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.go:hover { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 rgba(22, 24, 26, .3); }
.alt { margin: 0; font-size: 14px; color: var(--graphite); }
.status { grid-column: 1 / -1; margin: 0; font: 400 17px/1.4 var(--hand); color: var(--redpencil); min-height: 0; }
.status:empty { display: none; }
.ask .lead-note { grid-column: 1 / -1; }

.caseback { position: relative; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 34px; padding: 30px 28px 28px; box-shadow: var(--shadow); transform: rotate(1.1deg); min-width: 0; }
.caseback::before, .caseback::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #b89a0e; border: 2px solid #8a7408; }
.caseback::before { top: 16px; left: 18px; } .caseback::after { bottom: 16px; right: 18px; }
.caseback .clip { position: absolute; top: 70px; right: -14px; width: 24px; height: 150px; background: #3a3f45; border-radius: 5px; box-shadow: 4px 6px 0 rgba(8, 10, 12, .4); }
.cb-k { margin: 0; font: 700 11.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-dk); }
.caseback h2 { font: 400 52px/.95 var(--display); letter-spacing: .02em; margin: 4px 0 12px; }
.cb-quote { margin: 0 0 18px; font-style: italic; font-size: 15px; line-height: 1.5; }
.cb-quote small { display: block; font-style: normal; font-size: 12px; color: var(--yellow-dk); margin-top: 2px; }
.caseback dl { margin: 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.caseback dt { font: 700 11px/1.5 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-dk); padding-top: 2px; }
.caseback dd { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.caseback a { color: var(--ink); font-weight: 700; }
.cb-n { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--yellow-dk); }

.small { margin: 72px 0 0; font-size: 13px; line-height: 1.6; color: var(--chalk-2); max-width: 110ch; }
.small a { color: var(--chalk); }

html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- phone ---------- */
@media (max-width: 1100px) {
  .work, .work.two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .work.two .vbox { height: 440px; }
  .caseback { max-width: 560px; }
}
@media (max-width: 760px) {
  .wall { grid-template-columns: auto 1fr; gap: 14px 12px; padding-top: 14px; }
  .wall-photo { grid-column: 1 / -1; grid-row: 2; }
  .logo { height: 38px; margin: 0; }
  .lang { align-self: center; }
  .bench { padding-top: 36px; }
  .scribe { grid-template-columns: minmax(0, 1fr); }
  .lede { margin-top: 22px; }
  .chalk { font-size: clamp(60px, 17.5vw, 92px); }
  .chalk span { margin-left: .5em; }
  .lede { font-size: 16px; }
  .offcuts { grid-template-columns: minmax(0, 1fr); margin-top: 52px; }
  .spec { grid-column: 1; grid-row: auto; border-left: 0; border-top: 2px dashed rgba(236, 238, 230, .35); padding: 22px 0 0; margin-top: 30px; }
  .cuts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; }
  .cut { font-size: 21px; padding: 12px 14px 11px; }
  .spec .sx div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .step { font-size: 27px; }
  .tapezone { margin-top: 56px; }
  .howto { margin-bottom: 80px; }
  .notape { margin-left: 0; }
  .read { width: 84px; font-size: 34px; } .window { left: -4px; top: -60px; padding: 4px 8px 4px 4px; } .window span { font-size: 20px; }
  .howto { margin-bottom: 70px; }
  .ask { grid-template-columns: minmax(0, 1fr); }
  .croqui .hand { font-size: 30px; } .croqui .pn { stroke-width: 2.4; }
  .sheet { padding-top: 34px; }
  .caseback { padding: 26px 20px 22px; border-radius: 26px; }
  .caseback dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .caseback dd { margin-bottom: 8px; }
  .spatter { top: 250px; right: 4%; }
}

/* ---------- legal pages: a sheet of the pad laid on the bench ---------- */
.legal-body { padding: 40px var(--gut) 64px; }
main.legal { display: block; max-width: 900px; margin: 0 auto; background-color: var(--paper); color: var(--graphite); padding: 44px clamp(18px, 4vw, 56px) 48px; box-shadow: var(--shadow); font-size: 16px; line-height: 1.65;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19'%3E%3Cpath d='M0 .5H19M.5 0V19' stroke='%23d5e2ee' stroke-width='1'/%3E%3C/svg%3E"); }
main.legal h1 { font: 400 clamp(44px, 7vw, 76px)/.95 var(--display); letter-spacing: .02em; color: var(--ink); margin: 0 0 18px; }
main.legal h2 { font: 400 30px/1.1 var(--display); letter-spacing: .04em; color: var(--ink); margin: 36px 0 10px; }
main.legal h3 { font: 700 17px/1.3 var(--text); margin: 24px 0 6px; }
main.legal a { color: var(--redpencil); }
main.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
main.legal th, main.legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #b9bfc5; }
main.legal code { overflow-wrap: anywhere; }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: serralheria-fm */
.ck { left: 24px; right: 24px; bottom: 14px; width: auto; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k b" "t b" "p b"; column-gap: 34px; padding: 14px 26px 14px 30px; border-radius: 2px;
  color: #F1F2EC; font-family: 'Asap', 'Segoe UI', Arial, sans-serif; font-size: 14px; line-height: 1.5;
  background-color: #565C63; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='90'%3E%3Cg fill='%23343a40' fill-opacity='.35'%3E%3Cpath d='M10 20c30-10 60 4 40 18s-60 6-40-18z'/%3E%3Cpath d='M150 50c24-6 52 6 34 16s-48 2-34-16z'/%3E%3Cpath d='M220 12c10-2 20 2 14 8s-20 0-14-8z'/%3E%3C/g%3E%3C/svg%3E");
  border-top: 4px solid #C9CED2; border-bottom: 3px solid #33383E; box-shadow: 7px 9px 0 rgba(8, 10, 12, .45); animation: ck-slide .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ck-slide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ck .ck-k { grid-area: k; font: 400 17px/1.2 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; color: #E3E5DD; }
.ck .ck-t { grid-area: t; }
.ck .ck-t b { display: block; margin: 2px 0 2px; font: 700 21px/1.25 'Kalam', 'Comic Sans MS', cursive; color: #F6F7F1; filter: url(#chalk); }
.ck .ck-p { grid-area: p; font: 400 14px/1.5 'Kalam', 'Comic Sans MS', cursive; color: #EEF0E9; max-width: 86ch; }
.ck .b { grid-area: b; margin: 0; align-self: center; display: flex; gap: 14px; align-items: center; }
.ck button { position: relative; font: 400 20px/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .1em; color: #1F2327; background: #B3B9BE; border: 0; border-top: 2px solid #E2E5E7; border-bottom: 2px solid #6E757B; padding: 11px 18px 9px; border-radius: 1px; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ck button::before, .ck button::after { content: ''; position: absolute; top: 50%; width: 9px; height: 13px; margin-top: -6px; border-radius: 45%; background: #3E444A; border: 1px solid #23272B; }
.ck button::before { left: -6px; } .ck button::after { right: -6px; }
.ck .ok { background: #F6D21C; border-top-color: #FBE77A; border-bottom-color: #9C840C; color: #16181A; }
.ck button:hover { transform: translateY(-2px); }
.ck button:active { transform: translateY(1px); }
.ck a.more { font: 400 15px/1.2 'Kalam', 'Comic Sans MS', cursive; color: #F1F2EC; text-decoration: underline; text-underline-offset: 3px; }
.ck button:focus-visible, .ck a.more:focus-visible { outline: 3px solid #F6D21C; outline-offset: 4px; }
@media (max-width: 760px) { .ck.ck { left: 8px; right: 8px; bottom: 8px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "p" "b"; padding: 12px 16px 14px; } .ck .ck-t b { font-size: 18px; } .ck .ck-p { font-size: 13.5px; } .ck .b { margin-top: 12px; flex-wrap: wrap; } }
html.static .ck { animation: none; }
/* seller block: the dark underside of the bench, chalk text, yellow links */
footer.seller { background: #20252B; color: #D9DCD4; border-top: 10px solid #171B20; font-family: 'Asap', 'Segoe UI', Arial, sans-serif; padding: 30px clamp(16px, 4.4vw, 72px) 42px; }
footer.seller .seller-in { max-width: 1336px; }
footer.seller b { opacity: 1; color: #B9BDB5; font: 400 15px/1.2 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; }
footer.seller strong { font: 400 22px/1.3 'Bebas Neue', Impact, sans-serif; letter-spacing: .06em; color: #F6D21C; }
footer.seller a { color: #F6D21C; text-underline-offset: 3px; }
footer.seller a:hover { color: #FFFFFF; }
@media (max-width: 760px) { footer.seller { padding-bottom: 260px; } }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
