* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background, #040406);
  font-family: Geist, Arial, sans-serif;
}
.dec {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #101113;
  --border: #2a2c30;
  --text: #eef0f5;
  --sub: #a3a9b8;
  --cyan: #7afdfe;
  color: var(--text);
  background: var(--bg);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: clip;
}
.dec::before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 16% 31%, rgb(122 253 254 / 9%), transparent 42%),
    radial-gradient(ellipse at 90% 75%, rgb(134 190 220 / 7%), transparent 38%);
}
@media (prefers-reduced-motion: no-preference) {
  .dec::before {
    animation: ambient-drift 16s ease-in-out infinite alternate;
  }
  @keyframes ambient-drift {
    from {
      transform: translateX(-2%);
    }
    to {
      transform: translateX(2%) scale(1.06);
    }
  }
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.privacy-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--cyan);
}
.privacy-note p {
  margin: 0;
  font-size: 13px;
}
.privacy-note strong {
  color: var(--text);
  font-weight: 550;
}
.top,
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px clamp(20px, 5vw, 54px);
}
.top {
  border-bottom: 1px solid var(--border);
}
.identity,
.channel,
.readout,
.actions {
  display: flex;
  align-items: center;
}
.identity {
  gap: 17px;
}
.identity img {
  width: 110px;
  height: auto;
  display: block;
}
.divider {
  height: 20px;
  width: 1px;
  background: #393b40;
  transform: rotate(18deg);
}
.channel {
  gap: 7px;
  color: #c6c9d0;
  font-size: 12px;
}
.right {
  color: #a7aab1;
  font-size: 12px;
}
.wrap {
  width: 100%;
  max-width: 964px;
  padding: 30px clamp(18px, 5vw, 52px) 32px;
  margin: auto;
}
button {
  font: inherit;
  cursor: pointer;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.visual {
  background: #0a0c0d;
  min-height: 302px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-right: 1px solid var(--border);
}
.visual:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, #5262675c 0.7px, transparent 0.85px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse, #000 10%, transparent 88%);
}
.readout {
  position: absolute;
  top: 16px;
  left: 16px;
  gap: 6px;
  font-size: 10px;
  color: #bdc4c9;
  z-index: 1;
}
.readout i {
  width: 6px;
  height: 6px;
  border: 1px solid #91999c;
  border-radius: 50%;
}
.face {
  position: relative;
  width: 202px;
  height: 210px;
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 0 solid #81adad;
}
.tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}
.bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}
.br {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}
.content {
  padding: clamp(22px, 3.4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
h1 {
  font-size: clamp(30px, 4.3vw, 43px);
  line-height: 1.04;
  letter-spacing: -0.048em;
  font-weight: 560;
  margin: 0;
  text-wrap: balance;
}
p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--sub);
  margin: 12px 0 0;
  text-wrap: pretty;
}
.actions {
  gap: 12px;
  margin-top: 23px;
  flex-wrap: wrap;
}
.primary {
  text-decoration: none;
  border: 1px solid #fff;
  background: #f3f4f6;
  color: #121315;
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 570;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.primary:disabled {
  opacity: 0.4;
  cursor: default;
}
.primary:not(:disabled):hover {
  background: #dce3e5;
}
.back {
  border: 0;
  background: transparent;
  color: #b4b8c1;
  font-size: 12px;
  padding: 7px 0;
}
.back:hover {
  text-decoration: underline;
}
.foot {
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #9ca2ac;
  padding-top: 12px;
  padding-bottom: 12px;
}
.foot span:last-child {
  color: #bbc1c9;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .wrap {
    padding: 20px 14px;
  }
  .top {
    padding: 14px 16px;
  }
  .identity {
    gap: 13px;
  }
  .right {
    display: none;
  }
  .stage {
    grid-template-columns: 1fr;
  }
  .visual {
    min-height: 186px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .face {
    width: 141px;
    height: 147px;
  }
  .content {
    padding: 22px;
  }
  .actions {
    margin-top: 16px;
  }
  .foot {
    padding: 11px 15px;
    align-items: flex-start;
  }
  .foot span:last-child {
    white-space: nowrap;
  }
}

[hidden] {
  display: none !important;
}
.wrap {
  padding-top: 34px;
}
.stage {
  min-height: 370px;
}
.preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
  background: #090a0b;
}
.readout {
  background: #101215d9;
  border-radius: 4px;
  padding: 4px 6px;
}
#feedback {
  font-size: 13px;
  color: var(--text);
}
#feedback:empty {
  display: none;
}
#results {
  margin: 22px 0 0;
}
#results h2 {
  font-size: 17px;
  font-weight: 550;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  text-align: left;
  padding: 9px 4px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--sub);
  font-weight: 450;
}
@media (max-width: 650px) {
  .visual {
    min-height: 220px;
  }
  .content {
    padding: 18px;
  }
}

@font-face {
  font-family: Geist;
  src: url('./geist.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

.review-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 52px 22px;
  flex: 1;
}
.review-card {
  margin: 24px 0;
  padding: clamp(18px, 4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.review-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.review-card small {
  color: var(--sub);
}
.review-card .answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
  margin-bottom: 16px;
}
.review-card label {
  display: block;
  margin: 16px 0 8px;
  font-size: 14px;
}
.review-card textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 12px;
  font: inherit;
  border-radius: 6px;
}
.review-card .consent {
  color: var(--sub);
  line-height: 1.5;
}
#preview {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin-top: 12px;
  border-radius: 8px;
}
