/* ───────────────────────────────────────────────────────────
   One Question — marketing surfaces (site + App Store)
   Reuses the app's design tokens (app.css) at full scale.
   ─────────────────────────────────────────────────────────── */

/* ── device frame ──────────────────────────────────────────── */
.device {
  --w: 402px;
  --h: 872px;
  position: relative;
  width: var(--w);
  height: var(--h);
  border-radius: 56px;
  background: linear-gradient(150deg, oklch(0.42 0.01 70) 0%, oklch(0.30 0.008 66) 38%, oklch(0.46 0.012 72) 100%);
  padding: 11px;
  box-shadow:
    0 1px 0 0.5px oklch(0.62 0.01 70) inset,
    0 7px 16px -8px oklch(0.25 0.02 60 / 0.3);
  flex-shrink: 0;
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: var(--paper);
}
.device .oq { font-size: 17px; }

/* status bar */
.statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  font-family: var(--mono);
  pointer-events: none;
}
.statusbar .sb-time {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.is-night .statusbar .sb-time,
.is-night .statusbar .sb-glyphs * { color: var(--night-ink); }
.statusbar .sb-glyphs { display: flex; align-items: center; gap: 7px; }
.island {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 108px; height: 32px;
  background: #000;
  border-radius: 99px;
  z-index: 31;
}

/* signal / wifi / battery as tiny CSS glyphs */
.sb-signal { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sb-signal i { width: 3px; background: var(--ink); border-radius: 1px; display: block; }
.sb-signal i:nth-child(1) { height: 4px; }
.sb-signal i:nth-child(2) { height: 6px; }
.sb-signal i:nth-child(3) { height: 8.5px; }
.sb-signal i:nth-child(4) { height: 11px; }
.sb-wifi { width: 16px; height: 12px; position: relative; }
.sb-wifi::before {
  content: ""; position: absolute; inset: 0;
  border: 2.2px solid var(--ink); border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 42%, 50% 70%, 0 42%);
}
.sb-batt {
  width: 24px; height: 12px; border-radius: 3px;
  border: 1.4px solid color-mix(in oklch, var(--ink) 50%, transparent);
  position: relative; padding: 1.6px;
}
.sb-batt::after {
  content: ""; position: absolute; right: -3px; top: 3.5px;
  width: 1.6px; height: 4px; border-radius: 0 1px 1px 0;
  background: color-mix(in oklch, var(--ink) 50%, transparent);
}
.sb-batt i { display: block; height: 100%; width: 82%; border-radius: 1px; background: var(--ink); }
.is-night .sb-signal i, .is-night .sb-batt i { background: var(--night-ink); }
.is-night .sb-wifi::before { border-color: var(--night-ink); }
.is-night .sb-batt { border-color: color-mix(in oklch, var(--night-ink) 50%, transparent); }
.is-night .sb-batt::after { background: color-mix(in oklch, var(--night-ink) 50%, transparent); }

/* home indicator */
.home-ind {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 128px; height: 5px; border-radius: 99px;
  background: var(--ink); opacity: 0.4; z-index: 30;
}
.is-night .home-ind { background: var(--night-ink); opacity: 0.5; }

/* the app icon, full fidelity, scalable via --s */
.appicon {
  --s: 120px;
  width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * 0.225);
  position: relative;
  background: radial-gradient(120% 120% at 30% 22%, oklch(0.985 0.006 85) 0%, oklch(0.95 0.013 80) 70%, oklch(0.92 0.016 76) 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), inset 0 1px 1px rgba(255,255,255,0.7), inset 0 0 0 0.5px rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.appicon::after {
  content: "";
  width: calc(var(--s) * 0.155); height: calc(var(--s) * 0.155);
  border-radius: 50%; background: var(--ink);
  box-shadow: 0 calc(var(--s) * 0.01) calc(var(--s) * 0.02) rgba(0,0,0,0.25);
}
/* real-element dot (robust for capture/export; pseudo above is a fallback) */
.appicon > .icon-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 15.5%; height: 15.5%; border-radius: 50%; background: var(--ink);
}
.appicon:has(.icon-dot)::after { display: none; }

/* a free-standing ink dot */
.inkdot { border-radius: 50%; background: var(--accent); display: inline-block; }
