/* Ola · SIGNAL 2026 teaser.
   Design parity with /#/welcome and /#/terms:
   - Navy surface-invert page (#080e27)
   - White card with 1px black border + 12px hard white offset shadow
   - Pixel OLA wordmark in #ef223a
   - Inter, font-bold for titles, sans otherwise */

:root {
  --navy: #080e27;
  --ink: #000000;
  --ink-2: #323241;
  --muted: #71727b;
  --line: #a8a9b2;
  --red: #ef223a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }

.wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 48px 24px 40px;
  padding-top: max(48px, env(safe-area-inset-top));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  width: 100%;
}

/* Logo — same shadow filter used on /#/welcome */
.logo {
  display: inline-flex;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.25));
  margin-top: 0;
}

/* Robot mascot — white frame with red offset shadow, echoes the OG card.
   Framed tile sits above the wordmark, scales down on small screens. */
.robot-frame {
  position: relative;
  width: 132px;
  height: 146px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 0 0 #ef223a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: robot-bob 3.2s ease-in-out infinite;
}
.robot {
  display: block;
  image-rendering: pixelated;
}
/* Blink — both eyes shut together, tightly, on a long loop. */
.eye {
  transform-origin: center;
  transform-box: fill-box;
  animation: robot-blink 4.6s ease-in-out infinite;
}
/* Antenna LED pulses in time with the bob. */
.antenna-led {
  transform-origin: center;
  transform-box: fill-box;
  animation: robot-led 1.6s ease-in-out infinite;
}
/* Mouth flickers between closed (red) and off — tiny talking cue. */
.mouth {
  animation: robot-mouth 2.4s steps(1, end) infinite;
}

@keyframes robot-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes robot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%, 97%      { transform: scaleY(0.1); }
}
@keyframes robot-led {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
@keyframes robot-mouth {
  0%, 100% { opacity: 1; }
  48%, 52% { opacity: 0.35; }
}

@media (max-width: 520px) {
  .robot-frame { width: 108px; height: 120px; box-shadow: 6px 6px 0 0 #ef223a; }
  .robot { width: 80px; height: 92px; }
}

.head {
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.head h1 {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.head .sub {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

/* Card — matches Welcome.jsx exactly */
.card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #000;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 12px 12px 0 0 rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--red);
}

/* Primary button — navy fill, white text, 1px black border, hard offset shadow.
   Matches the `.br-btn-primary` language in the app (DESIGN.md). */
.btn {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 20px;
  background: var(--navy);
  color: #fff;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 4px 4px 0 0 #000;
  transition: transform 100ms ease, box-shadow 100ms ease;
  margin-top: 4px;
}
.btn:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 0 #000; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 0 #000; }

.foot {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.foot a { text-decoration: underline; font-weight: 600; color: #fff; }
.foot span { opacity: 0.6; }

.copy {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 520px) {
  .head h1 { font-size: 28px; line-height: 34px; }
  .head .sub { font-size: 17px; }
  .card { padding: 24px; box-shadow: 8px 8px 0 0 rgba(255, 255, 255, 1); }
}

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