:root {
  --brand: #4a5cb5;
  --brand-soft: #6b7cc8;
  --brand-deep: #34438f;
  --ink: #12141c;
  --muted: #6b728a;
  --paper: #ffffff;
  --paper-2: #f4f5f9;
  --line: rgba(18, 20, 28, 0.1);
  --warn: #a96814;
  --error: #bd3030;
  --ok: #2f9e6a;
  --font: "Nunito Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Nunito Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 44px rgba(40, 48, 90, 0.13);
  --shadow-soft: 0 8px 24px rgba(40, 48, 90, 0.09);
  color-scheme: only light;
}

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

html {
  background: #fff;
  color-scheme: only light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(850px 460px at 100% -10%, rgba(74, 92, 181, 0.14), transparent 55%),
    linear-gradient(180deg, #fbfbfe 0%, #fff 48%, #f3f4f8 100%);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.boot-status {
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}

.collab-line {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
}

.screen-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.screen-eyebrow em {
  font-style: italic;
  letter-spacing: 0.04em;
}

/* Landing */
.view-landing {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow-x: clip;
}

.landing-atmosphere,
.android-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-glow,
.android-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 92, 181, 0.22), transparent 70%);
  animation: glow-drift 11s ease-in-out infinite alternate;
}

.landing-glow {
  width: min(60vw, 520px);
  height: min(60vw, 520px);
  right: -12%;
  top: -8%;
}

.landing-grid,
.android-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(74, 92, 181, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 92, 181, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 15%, transparent 70%);
}

.landing-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: clamp(1.15rem, 3vw, 1.8rem);
}

.landing-top-eyebrow {
  margin: 0.45rem 0 0;
}

.landing-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(1.1rem, 4vw, 2.5rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.landing-copy {
  max-width: 100%;
  animation: rise 0.75s var(--ease) both;
}

.landing-copy h1 {
  margin: 0 0 0.85rem;
  /* Sized to keep "check it out on Android." on one line down to a 320px phone. */
  font: 600 clamp(1.35rem, 4vw, 2.9rem)/1.1 var(--font-display);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.landing-qr {
  margin: 0.35rem 0 0;
}

.landing-qr img {
  width: 200px;
  height: 200px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.landing-show {
  display: flex;
  justify-content: center;
  animation: rise 0.85s var(--ease) 0.08s both;
}

.phone-shell {
  position: relative;
  width: min(100%, 300px);
  padding: 0.7rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, #1a1d27, #0d0f16);
  box-shadow: 0 30px 60px rgba(40, 48, 90, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-notch {
  width: 36%;
  height: 0.7rem;
  margin: 0.15rem auto 0.55rem;
  border-radius: 999px;
  background: #05060c;
}

.phone-screen {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
}

.phone-live {
  --phone-live-scale: 0.69;
  position: absolute;
  inset: 0 auto auto 0;
  width: 390px;
  height: calc(520px / var(--phone-live-scale));
  overflow: hidden;
  transform: scale(var(--phone-live-scale));
  transform-origin: top left;
  pointer-events: none;
}

.phone-live .android-app.android-demo {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.phone-live .android-demo .android-stage {
  overflow: hidden;
}

/* The preview frame is its own little viewport, so the hero and stage size to it
   instead of to the real one. */
.android-demo .android-hero {
  min-height: 0;
  padding: 1.15rem 0.9rem 0.4rem;
}

.android-demo .install-tip {
  display: none !important;
}

.phone-home {
  width: 28%;
  height: 0.28rem;
  margin: 0.65rem auto 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* Android studio — hero and actions share a single viewport, so nothing
   scrolls and the hero sits directly above the action stack. */
body.is-android-app {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.android-app {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

body.is-android-app .android-app {
  min-height: 100svh;
}

.android-glow {
  width: 300px;
  height: 300px;
  right: -80px;
  top: -70px;
}

.android-grid {
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
  animation: grid-drift 28s linear infinite;
}

.android-hero,
.android-stage {
  position: relative;
  z-index: 1;
}

.android-hero {
  min-height: 0;
  padding: calc(1.35rem + env(safe-area-inset-top)) 1.15rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}

.android-hero-brand {
  flex-direction: column;
  gap: 0.55rem;
}

.android-hero .brand-mark {
  width: 3.4rem;
  height: 3.4rem;
}

.android-hero .brand-mark img {
  width: 100%;
  height: 100%;
}

.android-hero .brand-name {
  font-size: 2.15rem;
}

.android-hero .collab-line {
  font-size: 0.76rem;
}

.android-hero-eyebrow {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
}

.android-stage {
  min-height: 0;
  flex: 1;
  padding: 0.35rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  outline: none;
}

.studio {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* The three actions share the stage on their own, so they stretch to fill it —
   capped so a tall phone doesn't turn them into billboards. */
.studio-actions {
  --action-min: clamp(5.3rem, 16svh, 7rem);
  flex: 1;
  width: min(100%, 22rem);
  max-height: 32rem;
  margin: auto;
  display: grid;
  grid-template-rows: repeat(3, minmax(var(--action-min), 1fr));
  gap: clamp(0.9rem, 2.8svh, 1.35rem);
}

.studio-action {
  --action-accent: var(--brand);
  position: relative;
  width: 100%;
  min-height: var(--action-min, clamp(5.3rem, 16svh, 7rem));
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 3.55rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(74, 92, 181, 0.16);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  text-align: left;
  cursor: pointer;
  animation: action-in 0.55s var(--ease) both;
  animation-delay: calc(var(--i) * 75ms);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.22s ease;
}

.studio-action::after {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  right: -5rem;
  top: -5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--action-accent) 12%, transparent);
  transition: transform 0.4s var(--ease);
}

.studio-action-read {
  --action-accent: #527eaa;
}

.studio-action-lock {
  --action-accent: #6f668d;
}

.studio-action:hover,
.studio-action:focus-visible {
  border-color: color-mix(in srgb, var(--action-accent) 48%, transparent);
  box-shadow: 0 16px 34px rgba(40, 48, 90, 0.14);
  transform: translateY(-2px);
}

.studio-action:hover::after,
.studio-action:focus-visible::after {
  transform: scale(1.35);
}

.studio-action:active {
  transform: scale(0.975);
}

.studio-action-icon {
  width: 3.55rem;
  height: 3.55rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--action-accent) 10%, white);
}

.studio-action-icon img {
  width: 2.15rem;
  height: 2.15rem;
}

.studio-action-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.studio-action-copy strong {
  font: 600 1.38rem/1.1 var(--font-display);
  letter-spacing: -0.04em;
}

.studio-action-arrow {
  position: relative;
  z-index: 1;
  color: var(--action-accent);
  font: 600 1.3rem/1 var(--font-display);
  transition: transform 0.2s var(--ease);
}

.studio-action:hover .studio-action-arrow {
  transform: translateX(4px);
}

/* Shared controls and sheets */
.btn {
  width: auto;
  min-height: 3rem;
  margin-top: 0.65rem;
  padding: 0.72rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(74, 92, 181, 0.28);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-danger {
  color: #fff;
  background: var(--error);
  box-shadow: 0 10px 24px rgba(189, 48, 48, 0.2);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(74, 92, 181, 0.055);
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.38rem 0.85rem;
  font-size: 0.82rem;
}

.byte-gauge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.byte-gauge {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.byte-count {
  font-weight: 750;
  color: var(--brand);
}

.byte-count.is-warn {
  color: var(--warn);
}

.byte-count.is-error {
  color: var(--error);
}

.clone-tag-btn {
  margin-top: 0.75rem;
}

.quiet-action,
.qr-inline {
  margin: 0.7rem auto 0.1rem;
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.quiet-action {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.android-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  /* --keyboard-inset is kept in sync with the on-screen keyboard height so the
     sheet is laid out against the space the user can actually see. */
  padding: 1.1rem;
  padding-bottom: calc(1.1rem + var(--keyboard-inset, 0px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.android-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 28, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fade-in 0.2s ease both;
}

.android-sheet {
  position: relative;
  z-index: 1;
  /* auto margins centre the sheet without clipping its top once it overflows */
  width: min(100%, 400px);
  margin: auto;
  max-height: min(100%, 760px);
  padding: 1.35rem 1.2rem 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f6f7fb);
  box-shadow: 0 28px 70px rgba(40, 48, 90, 0.28);
  animation: sheet-pop 0.35s var(--ease) both;
}

.sheet-eyebrow {
  margin: 0 0 0.3rem;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

.sheet-title {
  margin: 0 0 0.4rem;
  font: 600 1.55rem/1.15 var(--font-display);
  letter-spacing: -0.04em;
}

.sheet-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sheet-copy strong {
  color: var(--ink);
}

.sheet-composer {
  margin: 1rem 0 0.45rem;
}

.field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: rgba(74, 92, 181, 0.55);
  box-shadow: 0 0 0 4px rgba(74, 92, 181, 0.13);
}

.status {
  min-height: 1.3em;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status.is-error {
  color: var(--error);
}

.status.is-warn {
  color: var(--warn);
}

.warn-note {
  margin: 0.85rem 0 0;
  color: var(--warn);
  font-size: 0.88rem;
}

.warn-note.is-danger {
  color: var(--error);
  font-weight: 750;
}

.preview-url {
  margin: 0.85rem 0 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(74, 92, 181, 0.16);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(74, 92, 181, 0.07);
  font: 500 0.8rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.done-mark {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 0 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ok);
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(47, 158, 106, 0.24);
  animation: done-pop 0.45s var(--ease) both;
}

.nfc-pulse {
  position: relative;
  width: 94px;
  height: 94px;
  margin: 1.35rem auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #7b8fd8, var(--brand) 55%, var(--brand-deep));
  box-shadow: var(--shadow);
  animation: pulse-core 2.4s ease-in-out infinite;
}

.nfc-pulse::before,
.nfc-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(74, 92, 181, 0.35);
  border-radius: 50%;
  animation: pulse-ring 1.8s ease-out infinite;
}

.nfc-pulse::after {
  animation-delay: 0.7s;
}

.read-result {
  margin: 0.6rem 0 0.25rem;
  display: grid;
  gap: 0.55rem;
}

.read-result-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.read-result-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.read-result-value {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font: 600 1.02rem/1.35 var(--font-display);
  word-break: break-word;
}

.scanner {
  position: relative;
  margin: 0.8rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0c10;
  aspect-ratio: 4 / 3;
}

.scanner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-frame {
  position: absolute;
  inset: 15%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.32);
}

/* Install prompt */
.install-tip {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 0.85rem 0.7rem 0.9rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(40, 48, 90, 0.16);
  animation: tip-drop 0.4s var(--ease);
}

.install-tip-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 11px;
}

.install-tip-copy {
  flex: 1;
  min-width: 0;
}

.install-tip-label,
.install-tip-sub {
  margin: 0;
}

.install-tip-label {
  font-size: 0.94rem;
  font-weight: 750;
}

.install-tip-sub {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.install-tip-cta,
.install-tip-close {
  flex: none;
  border: 0;
  cursor: pointer;
}

.install-tip-cta {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 0.8rem;
  font-weight: 750;
}

.install-tip-close {
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  background: transparent;
  font-size: 1.3rem;
}

.preview-pill {
  position: fixed;
  z-index: 999;
  left: 50%;
  bottom: 1.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transform: translateX(-50%);
  color: #fff;
  background: var(--ink);
  font: 700 0.75rem/1.2 var(--font);
  pointer-events: none;
}

body.android-overlay-open,
html:has(body.android-overlay-open) {
  overflow: hidden;
}

@media (min-width: 900px) {
  .landing-main {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

@media (max-height: 640px) {
  .android-hero {
    padding-top: calc(0.9rem + env(safe-area-inset-top));
    gap: 0.15rem;
  }

  .android-hero .brand-mark {
    width: 2.9rem;
    height: 2.9rem;
  }

  .android-hero .brand-name {
    font-size: 1.85rem;
  }

  .studio-actions {
    --action-min: 4.65rem;
  }

  .studio-action {
    border-radius: 20px;
  }

  .studio-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 15px;
  }

  .studio-action-icon img {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes glow-drift {
  from { transform: translate(-2%, 0) scale(1); }
  to { transform: translate(4%, 3%) scale(1.05); }
}

@keyframes grid-drift {
  to { transform: translateY(32px); }
}

@keyframes action-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes sheet-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes done-pop {
  from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse-core {
  50% { transform: scale(1.04); }
}

@keyframes pulse-ring {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.85); opacity: 0; }
}

@keyframes tip-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .phone-shell {
    animation: phone-float 6s ease-in-out infinite alternate;
  }
}

@keyframes phone-float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7b8fd8;
    --brand-soft: #9aaade;
    --brand-deep: #5567b8;
    --ink: #f0f3fc;
    --muted: #9aa2ba;
    --paper: #141724;
    --paper-2: #1c2032;
    --line: rgba(240, 243, 252, 0.12);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
  }

  html {
    background: #0c0e17;
    color-scheme: dark;
  }

  body {
    color: var(--ink);
    background:
      radial-gradient(850px 460px at 100% -10%, rgba(74, 92, 181, 0.22), transparent 55%),
      linear-gradient(180deg, #0c0e17 0%, #101320 48%, #0a0c14 100%);
  }

  .brand,
  .brand-name {
    color: #f0f3fc;
  }

  .studio-action,
  .android-sheet,
  .read-result-card,
  .install-tip,
  .input {
    background: #141724;
    color: var(--ink);
    border-color: rgba(240, 243, 252, 0.12);
  }

  .studio-action-copy strong,
  .sheet-title,
  .read-result-value {
    color: #f0f3fc;
  }

  .input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(123, 143, 216, 0.2);
  }

  .android-overlay-backdrop {
    background: rgba(8, 10, 18, 0.85);
  }

  .phone-screen {
    background: #0c0e17;
  }

  .phone-shell {
    border-color: rgba(240, 243, 252, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(74, 92, 181, 0.15);
  }

  .landing-qr {
    background: #ffffff;
    padding: 0.65rem;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .btn-ghost {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(123, 143, 216, 0.1);
  }

  .preview-url {
    background: rgba(123, 143, 216, 0.1);
    border-color: rgba(123, 143, 216, 0.25);
    color: #f0f3fc;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
