* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px/1.6 Inter,
    Arial,
    sans-serif;
  color: #20251f;
  background: #f8f8f7;
}
body[data-mode="register"] {
  background: white;
}
.card {
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
}
.eyebrow {
  color: #98511c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
h1 {
  font-size: clamp(26px, 5vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 14px 0;
}
p {
  color: #646963;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 18px 0;
}
input,
select {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dadfd5;
  border-radius: 10px;
  background: #fcfcfb;
  font:
    16px Inter,
    Arial,
    sans-serif;
  color: #20251f;
  margin-top: 6px;
}
label.check {
  font-size: 12px;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
button,
.button {
  display: inline-block;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #f17d38;
  color: #20251f;
  font:
    700 15px Inter,
    Arial,
    sans-serif;
  padding: 14px 20px;
  text-decoration: none;
  cursor: pointer;
  margin: 8px 8px 8px 0;
}
form > button {
  width: 100%;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: #e8ece3;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.helper {
  font-size: 12px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#notice {
  font-size: 14px;
}
#notice.error {
  color: #a02f22;
}
iframe.replay {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
}
a {
  color: #6f4017;
}
input:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #a45a28;
  outline-offset: 3px;
}
@media (max-width: 430px) {
  .card {
    padding: 24px;
  }
  .actions {
    flex-direction: column;
  }
  .actions > * {
    width: 100%;
    text-align: center;
  }
}
fieldset { min-width: 0; border: 1px solid #dadfd5; border-radius: 12px; padding: 16px; margin: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details { margin: 16px 0; }
