/* The public site around the story: the pages beside it (guide, stand, shop, legal), the shop's cards, the
   verdict band, the forms, the language switcher. site.css holds the story page and the shared base. */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.announce { margin: 0; max-width: none; width: 100%; padding: 10px var(--gut); background: var(--sun); color: var(--ink); font-size: 15px; font-weight: 700; text-align: center; }
.announce[hidden] { display: none; }
.langbar { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px var(--gut); background: var(--ink); color: var(--paper); font-size: 15px; }
.langbar a { color: var(--sun); font-weight: 700; text-decoration: none; }
.langbar button { border: 0; background: transparent; color: #c9c2b4; font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 8px; }
.lang-pick select { appearance: none; -webkit-appearance: none; min-height: 36px; padding: 0 28px 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b655a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; color: var(--ink); font: 600 14px var(--body); cursor: pointer; max-width: 150px; }
.lang-pick select:hover { border-color: var(--ink); }
.top .lang-pick { margin-left: 4px; }
.top .btn-small { display: inline-flex; }
.lang-pick-foot select { color: #c9c2b4; border-color: #4a453d; }
.page .top { position: sticky; top: 0; width: 100%; background: rgba(246, 242, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 30; }
.page .top nav { margin-left: auto; }
.band-head { padding-bottom: clamp(36px, 5vw, 70px); }
.band-head h1 { font-size: clamp(36px, 4.6vw, 70px); max-width: 16em; }
.band-head .lede { margin-top: 6px; }
.band-404 { min-height: 60vh; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jump a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font: 600 14px var(--body); color: var(--ink); }
.jump a:hover { border-color: var(--ink); }
.wrap.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); align-items: start; }
.wrap.three > div { display: grid; gap: 14px; align-content: start; }
.wrap.two h3 { margin-top: 10px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 36em; }
.plain li { padding-left: 20px; position: relative; color: #3a362f; }
.plain li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.plain b { color: var(--ink); }
.more { margin-top: 22px; font-weight: 700; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* the tester's glass: its pictures are the glass's own pixels, twice over (912 x 560 for 456 x 280) */
.glass { margin: 0; border-radius: 22px; overflow: hidden; background: #1e1628; box-shadow: 0 14px 40px rgba(22, 20, 18, .18); }
.glass img { display: block; width: 100%; height: auto; }
.glass-big { max-width: 560px; justify-self: end; width: 100%; }
.glass-stack { display: grid; gap: 18px; align-content: start; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps .glass { border-radius: 18px; }
.walk { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.walk li { display: grid; grid-template-columns: minmax(0, 456px) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; counter-increment: step; }
.walk li:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 456px); }
.walk li:nth-child(even) figure { order: 2; }
.walk h3::before { content: counter(step) ". "; color: var(--muted); font-weight: 400; }
.walk p { color: #3a362f; }

/* the verdict */
.band-dark { background: var(--night); color: #f3efe6; border-top: 0; }
.band-dark .eyebrow { color: #a39c8d; }
.band-dark p { color: #d8d2c4; }
.band-dark .note { color: #9a9385; }
.verdict .wrap.two { align-items: center; }
.verdicts { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 14px; max-width: 34em; }
.verdicts li { display: grid; gap: 6px; }
.verdicts p { font-size: 16px; }
.patch { display: inline-block; justify-self: start; padding: 7px 16px 8px; border-radius: 10px; font: 700 21px/1.1 var(--display); letter-spacing: -0.01em; color: #111; }
.patch.good { background: #5ae38c; }
.patch.soon { background: #ffd339; }
.patch.cla { background: #ff695a; }
.scale { display: flex; gap: 6px; margin: 6px 0 14px; max-width: 420px; font: 700 14px/1 var(--display); }
.scale span { flex: 1; padding: 9px 0; text-align: center; border-radius: 8px; color: #111; }
.scale .good { background: #5ae38c; }
.scale .soon { background: #ffd339; }
.scale .cla { background: #ff695a; }
.limits, .tiles, .messages { margin: 6px 0 0; display: grid; gap: 12px; max-width: 36em; }
.limits div, .tiles div, .messages div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.limits dt, .tiles dt, .messages dt { font-weight: 700; }
.limits dd, .tiles dd, .messages dd { margin: 0; color: #3a362f; font-size: 16px; }
.messages { max-width: 60em; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 60px); }
.messages div { grid-template-columns: 11em minmax(0, 1fr); }
.file { margin: 0; }
.file pre { margin: 0; padding: 22px 24px; border-radius: 18px; background: var(--night); color: #e6e0d2; font: 13.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: auto; }
.file figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.faq { display: grid; gap: 0; max-width: 56em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; cursor: pointer; font: 700 19px/1.3 var(--display); letter-spacing: -0.01em; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 300 28px/1 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 0 18px; color: #3a362f; max-width: 40em; }
.fw dt { font-size: 19px; }

/* forms on dark bands */
.notify form label { color: #c9c2b4; }
.notify .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.notify form > label, .notify .grid2 label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.notify input[type="text"], .notify input[type="email"], .notify input[type="url"], .notify textarea, .notify select { width: 100%; min-height: 50px; padding: 12px 18px; border-radius: 16px; border: 2px solid #4a453d; background: transparent; color: var(--paper); font: 400 17px var(--body); }
.notify .field input { border-radius: 999px; padding: 0 18px; }
.notify textarea { resize: vertical; }
.notify input:focus-visible, .notify textarea:focus-visible, .notify select:focus-visible { outline-color: var(--sun); border-color: var(--sun); }
.notify select option { color: var(--ink); }
.field-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.inline-select { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #c9c2b4; font-weight: 400; }
.notify .inline-select select { width: auto; min-height: 40px; padding: 0 36px 0 14px; border-radius: 999px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9c2b4' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-msg.bad { color: #ff8a7a; }
.notify .eyebrow { color: #a39c8d; }

/* the shop */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.offer h3 { font-size: 20px; }
.offer-price { font: 700 clamp(24px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: -0.02em; }
.offer-state { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.offer-state[data-value="available"] { color: var(--ok); font-weight: 700; }
.offer .btn { justify-self: start; margin-top: 6px; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); }
.product { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 36px); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.product-field { background: var(--sun); border-color: transparent; }
.product img { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--paper-2); aspect-ratio: 4 / 3; object-fit: cover; }
.product h2 { font-size: clamp(26px, 2.4vw, 34px); }
.product ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.product li { padding-left: 18px; position: relative; }
.product li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.product .offer-price { font-size: clamp(30px, 3vw, 44px); margin-top: 6px; }
.product .actions { margin-top: 4px; }
.product-field .offer-state { color: rgba(22, 20, 18, .7); }
.product-field .offer-state[data-value="available"] { color: var(--ink); }
.buy-note { margin-top: -6px; }
.buy .wrap.two { align-items: center; }

/* the stand */
.measure { margin: 0; }
.measure svg { display: block; width: 100%; height: auto; background: var(--paper); border-radius: 22px; }
.m-table { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.m-dim line, .m-dim path { stroke: #c8102e; stroke-width: 4; fill: #c8102e; }
.m-dim .m-ext { stroke-width: 2.5; stroke-dasharray: 8 8; }
.m-dim text { font: 700 34px var(--display); fill: #c8102e; paint-order: stroke; stroke: var(--paper); stroke-width: 10px; stroke-linejoin: round; }
.stand-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.stand-form { display: grid; gap: 16px; align-content: start; }
.stand-form > label, .stand-form .grid2 label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.stand-form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 10px; }
.unit { display: inline-flex; align-items: center; gap: 10px; }
.unit input { width: 8.5em; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); font: 700 20px var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.unit input:focus-visible { outline: 0; border-color: var(--ink); }
.unit span { font-weight: 400; color: var(--muted); }
.stand-form > label .unit input { font-size: 26px; min-height: 56px; }
.presets { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.advanced { border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 18px; }
.advanced summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.advanced .small { margin: 8px 0 0; }
.advanced .grid2 label { font-size: 13px; }
.advanced .unit input { width: 6.5em; font-size: 17px; min-height: 42px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.stand-form .form-msg { color: var(--muted); }
.stand-form .form-msg.bad { color: #c8102e; }
.stand-info { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.stand-stage { position: relative; min-height: 460px; border-radius: 26px; background: radial-gradient(120% 85% at 50% 42%, #fbcd45 0%, var(--sun) 46%, #e6a40a 100%); overflow: hidden; align-self: stretch; }
.stand-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.stand-stage .hint { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 14px; color: var(--ink); }

/* the imprint */
.imprint { font-style: normal; display: grid; gap: 4px; line-height: 1.5; white-space: pre-line; }

@media (max-width: 1100px) {
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .messages { grid-template-columns: 1fr; }
  .wrap.three { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page .top { padding: 10px 16px; gap: 10px; }
  .page .top nav { display: none; }
  .top .lang-pick { margin-left: auto; }
  .steps-4 { grid-template-columns: 1fr; }
  .walk li, .walk li:nth-child(even) { grid-template-columns: 1fr; }
  .walk li:nth-child(even) figure { order: 0; }
  .glass-big { justify-self: stretch; max-width: none; }
  .offers, .products, .notify .grid2, .stand-form .grid2 { grid-template-columns: 1fr; }
  .stand-wrap { grid-template-columns: 1fr; }
  .stand-stage { min-height: 360px; }
  .limits div, .tiles div, .messages div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  /* a phone's top bar: the mark alone, the language, one short button */
  .top .brand span { display: none; }
  .top .lang-pick select { max-width: 112px; }
  .top .btn-small { white-space: nowrap; padding: 0 14px; min-height: 38px; font-size: 14px; }
  .langbar { font-size: 14px; gap: 10px; padding: 8px 14px; text-align: center; }
}
