.phone {
  --place-bg: url("/looks/cafe.jpg");
}

h1 {
  font-size: clamp(2.35rem, 11vw, 3.5rem);
  line-height: 0.92;
  max-width: 11ch;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 36ch;
}

.notice,
.legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.35;
}

.check input,
.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex: none;
}

#intro-video.intro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: #161311;
  transition: opacity 0.75s ease;
}

.phone.intro-active #intro-video.intro,
.phone.intro-holding #intro-video.intro {
  opacity: 1;
}

.phone.intro-active #avatar-video,
.phone.intro-holding #avatar-video {
  opacity: 0;
}

.phone.intro-stage .gate,
.phone.intro-stage .dock,
.phone.intro-stage .top {
  visibility: hidden;
}

.continue-layer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(14, 11, 10, 0.92);
  border: 1px solid var(--line);
}

.continue-layer p {
  margin: 0;
}

#continue,
#submit-feedback {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  cursor: pointer;
}

.survey {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));
  background: #14110f;
  color: var(--ink);
}

.survey h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
}

.survey form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.survey label,
.survey fieldset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.95rem;
}

.survey legend {
  padding: 0;
  margin-bottom: 4px;
}

.survey textarea,
.survey input[type="email"],
.survey input[type="text"],
.survey input[inputmode="numeric"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
}

.survey label.choice {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.synthetic-banner {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #3a2a12;
  color: var(--warn);
  font-size: 0.82rem;
  line-height: 1.35;
}

body.synthetic-shot {
  display: block;
  height: auto;
}

body.synthetic-shot .phone {
  width: min(100vw, 480px);
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  margin: 0 auto;
}

body.synthetic-shot .survey {
  position: relative;
  inset: auto;
  min-height: 100dvh;
}

.phone[data-mic="pending"] #gate-status {
  color: var(--warn);
}

.phone[data-mic="denied"] #gate-status {
  color: var(--danger);
}

@media (max-width: 759px) {
  .phone {
    width: 100vw;
    border-radius: 0;
  }
}
