/* Shared tokens and basics for the questionnaire and the owner app. */
@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/public-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #F4F5F1;
  --sheet: #FFFFFF;
  --ink: #172A3A;
  --ink-2: #33475A;
  --muted: #5B6670;
  --line: #D3D9D2;
  --line-2: #B9C2BB;
  --marker: #F3C64B;
  --marker-soft: #FBEDBE;
  --ok: #2F7D5B;
  --err: #B3261E;
  --err-soft: #FBE9E7;
  --focus: #1E5FD8;
  --r-input: 8px;
  --r-option: 12px;
  --r-panel: 18px;
  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font); font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 750; letter-spacing: -0.012em; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.25rem; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 650; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: rgba(23, 42, 58, 0.06); }
.btn.quiet { background: transparent; color: var(--ink); border-color: transparent; padding: 0 0.75rem; text-decoration: underline; text-underline-offset: 0.2em; }
.btn.danger { background: transparent; color: var(--err); border-color: var(--err); }

.field, textarea.field, select.field {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line-2); border-radius: var(--r-input);
  background: var(--sheet); font-size: 1.0625rem; line-height: 1.4;
}
textarea.field { min-height: 6.5rem; resize: vertical; }
.field:focus { border-color: var(--ink); outline: 3px solid rgba(30, 95, 216, 0.35); outline-offset: 0; }
.field::placeholder { color: #8A939B; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.simple { max-width: 560px; margin: 0 auto; padding: 4rem 1.25rem; }
.simple h1 { font-size: 2rem; margin-bottom: 0.75rem; }
