/* /ask survey. The site in reverse: white page, black type, thin black lines, zero radius, light Helvetica Neue.
   Bebas only for the brand moment (the code). Rules: DESIGN-SYSTEM.md section 0, colours swapped. */
@font-face { font-family: Bebas; src: url("/assets/hdpw0m-5s.myshopify.com_cdn_shop_files_Bebas.ttf") format("truetype"); font-display: swap; }
:root { --ink: #000; --ink-2: rgba(0,0,0,.7); --ink-3: rgba(0,0,0,.5); --line: rgba(0,0,0,.5); --faint: rgba(0,0,0,.12); --bg: #fff; --bad: #cc0000; }
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: light; -webkit-text-size-adjust: 100%; }
body.svy { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 300 16px/24px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .6px; display: flex; flex-direction: column; }
.svy-progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; background: var(--faint); z-index: 5; }
.svy-progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .35s ease; }
.svy-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 24px 0; max-width: 720px; width: 100%; margin: 0 auto; }
.svy-top a { display: block; line-height: 0; }
.svy-top img { height: 28px; width: auto; filter: invert(1); }   /* the logo file is white */
.svy-langs { display: flex; gap: 4px; }
.svy-lang { appearance: none; background: transparent; border: 0; border-bottom: 1px solid transparent; border-radius: 0; color: var(--ink-3); font: inherit; font-size: 13px; letter-spacing: 1px; padding: 6px 6px; cursor: pointer; }
.svy-lang:hover { color: var(--ink); }
.svy-lang.on { color: var(--ink); border-bottom-color: var(--ink); }
.svy-main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; display: flex; flex-direction: column; justify-content: center; }
.svy-step { animation: svy-in .28s ease both; }
@keyframes svy-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svy-step { animation: none; } .svy-progress i { transition: none; } }
.svy-count { margin: 0 0 20px; font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1.4px; }
.svy-title, .svy-q { margin: 0 0 28px; font-weight: 300; font-size: 28px; line-height: 38px; letter-spacing: .4px; outline: none; }
.svy-title { font-size: 30px; line-height: 42px; }
.svy-lead { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; line-height: 27px; }
.svy-hint { margin: -12px 0 14px; font-size: 14px; color: var(--ink-3); }
.svy-text { margin: 0 0 24px; color: var(--ink-2); }
.svy-photos { display: grid; gap: 8px; margin: 0 0 24px; }
.svy-photos.n1 { grid-template-columns: minmax(0, 240px); }
.svy-photos.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svy-photos img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f3f3f3; }   /* the photos are 3:4: shown whole, no height cap that crops them (Leo, 2026-10-31) */
.svy-list { display: grid; gap: 8px; margin: 0 0 24px; }
.svy-opt { appearance: none; display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left; background: transparent; color: var(--ink); border: .5px solid var(--line); border-radius: 0; font: inherit; padding: 13px 16px; cursor: pointer; transition: background .12s, color .12s; }
.svy-opt .k { flex: none; width: 18px; font-size: 12px; color: var(--ink-3); letter-spacing: 1px; }
.svy-opt:hover:not(:disabled) { border-color: var(--ink); }
.svy-opt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.svy-opt.on .k { color: rgba(255,255,255,.6); }
.svy-opt:disabled { opacity: .35; cursor: not-allowed; }
.svy-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.svy-opt.num { justify-content: center; padding: 18px 0; font-size: 20px; }
.svy-ends { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 24px; font-size: 13px; color: var(--ink-3); }
.svy-input { display: block; width: 100%; background: transparent; color: var(--ink); border: .5px solid var(--line); border-radius: 0; font: inherit; padding: 13px 16px; margin: 0 0 16px; -webkit-appearance: none; appearance: none; }
.svy-input[hidden], .svy-error[hidden] { display: none; }   /* display: block above would otherwise beat the hidden attribute (the "other" and amount fields) */
.svy-input::placeholder { color: var(--ink-3); }
.svy-input:focus { outline: none; border-color: var(--ink); }
.svy-area { min-height: 130px; resize: vertical; margin-bottom: 24px; }
.svy-select { background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; margin-bottom: 24px; }
.svy-other { margin-top: -8px; }
.svy-consent { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; font-size: 14px; line-height: 21px; color: var(--ink-2); cursor: pointer; }
.svy-consent input { flex: none; appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0; border: .5px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; position: relative; }
.svy-consent input:checked { background: var(--ink); }
.svy-consent input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.svy-consent a { color: var(--ink); }
.svy-error { min-height: 21px; margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--bad); }
.svy-ts { margin: 0 0 14px; }
.svy-ts:empty { display: none; }
.svy-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.svy-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.svy-btn { appearance: none; border-radius: 0; font: inherit; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; height: 48px; padding: 0 28px; cursor: pointer; border: .5px solid var(--line); background: transparent; color: var(--ink); }
.svy-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); margin-left: auto; }
.svy-btn.ghost:hover { border-color: var(--ink); }
.svy-btn:disabled { opacity: .35; cursor: not-allowed; }
.svy-btn.wide { width: 100%; margin: 0; }
.svy-code { margin: 0 0 24px; font: 400 56px/60px Bebas, "Helvetica Neue", sans-serif; letter-spacing: 4px; word-break: break-all; }
.svy-friend { margin-top: 48px; padding-top: 32px; border-top: .5px solid var(--line); }
.svy-friend h2 { margin: 0 0 12px; font-weight: 300; font-size: 22px; line-height: 30px; }
.svy-friend .svy-text { margin-bottom: 20px; }
.svy button:focus-visible, .svy a:focus-visible, .svy-input:focus-visible, .svy-consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 520px) {
  .svy-top { padding: 20px 20px 0; }
  .svy-main { padding: 28px 20px 48px; justify-content: flex-start; }
  .svy-title, .svy-q { font-size: 24px; line-height: 33px; margin-bottom: 22px; }
  .svy-title { font-size: 26px; line-height: 36px; }
  .svy-code { font-size: 44px; line-height: 48px; }
  .svy-actions .svy-btn { flex: 1 1 auto; padding: 0 16px; }
  .svy-btn.primary { margin-left: 0; }
}
