/* Die Brücke design tokens (from the design handoff) + shared components */

@font-face { font-family: "Titillium Web"; src: url("/fonts/titillium-web-200.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("/fonts/titillium-web-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("/fonts/titillium-web-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("/fonts/titillium-web-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("/fonts/titillium-web-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --brk-yellow: #F5DF4D;
  --brk-yellow-dark: #E6CC2E;
  --brk-ink: #1F2022;
  --brk-graphite: #2E3033;
  --brk-paper: #FAFAFA;
  --brk-white: #FFFFFF;
  --brk-gray: #939597;
  --brk-gray-dark: #6F7173;
  --brk-gray-soft: #C9CACB;
  --brk-gray-tint: #EDEDEE;
  --danger: #B23A3A;

  --font-sans: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-sm: 0 2px 6px rgba(31, 32, 34, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 32, 34, 0.10);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-base: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }

/* Mobile screen: 390-wide design, 32/24 padding, safe-area aware */
.screen {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(32px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right))
    calc(32px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn:focus-visible { outline: 3px solid var(--brk-yellow); outline-offset: 3px; }

.btn-primary {
  border: none;
  background: var(--brk-yellow);
  color: var(--brk-ink);
  height: 64px;
}
@media (hover: hover) {
  .btn-primary:hover:not(:disabled) { background: var(--brk-yellow-dark); }
}

.btn-secondary {
  border: 1px solid var(--brk-gray);
  background: transparent;
  color: var(--brk-white);
  height: 52px;
  font-size: 16px;
  font-weight: 600;
}

.qr-box svg { display: block; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
