/* biome-ignore-all lint/style/noDescendingSpecificity: independent card sections do not overlap. */
:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f1ed;
  background: #1a1a1d;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
  background: radial-gradient(ellipse at 50% 0, #6f223226, transparent 60%);
}
main {
  width: min(100% - 40px, 560px);
  min-height: 100svh;
  margin: auto;
  padding: 48px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand {
  margin: 0 auto 26px;
}
.brand img {
  display: block;
  width: 180px;
  height: 60px;
  object-fit: contain;
}
.card {
  padding: 38px;
  border: 1px solid #3d3b40;
  background: #222225;
  border-radius: 24px;
  box-shadow: 0 24px 80px #0003;
}
.eyebrow {
  color: #b6b0b5;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.17em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8fb1;
  box-shadow: 0 0 12px #c3073f;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 6vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-weight: 650;
}
.intro,
p {
  color: #b6b0b5;
  font-size: 14px;
  line-height: 1.65;
}
.intro {
  margin: 0 0 28px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
input {
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #4e4a50;
  border-radius: 10px;
  background: #1a1a1d;
  color: #f4f1ed;
  font: inherit;
  font-size: 16px;
}
input::placeholder {
  color: #8f8991;
}
input[aria-invalid="true"] {
  border-color: #ff9da8;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #ff8fb1;
  outline-offset: 4px;
}
button,
.continue {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 16px 18px;
  background: #c3073f;
  color: white;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  min-height: 52px;
}
button:hover,
.continue:hover {
  background: #d90c4a;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.message {
  margin: 10px 0 14px;
  font-size: 13px;
}
.message:empty {
  margin-top: 0;
}
.error {
  color: #ff9da8;
}
[hidden] {
  display: none;
}
#guide {
  margin-top: 28px;
  border-top: 1px solid #3d3b40;
  padding-top: 26px;
  outline: none;
}
.success {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.success > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #9ee1bc1a;
  color: #9ee1bc;
  text-align: center;
  line-height: 28px;
  flex-shrink: 0;
}
.success strong {
  color: #9ee1bc;
  font-size: 15px;
}
.success p {
  margin: 4px 0 0;
  font-size: 13px;
}
h2 {
  font-size: 18px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
ol {
  padding-left: 22px;
  margin: 0 0 24px;
}
li {
  padding-left: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}
li::marker {
  color: #ff8fb1;
}
li p {
  margin: 6px 0 0;
}
a {
  color: #ffadca;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
aside {
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid #6f2232;
  border-radius: 12px;
  background: #6f22321a;
}
aside strong {
  font-size: 15px;
}
aside p {
  margin: 8px 0 0;
  font-size: 13px;
}
.note {
  font-size: 12px;
  margin: 16px 0 0;
}
footer {
  margin-top: 26px;
  text-align: center;
  color: #8f8991;
  font-size: 9px;
  letter-spacing: 0.16em;
}
footer span {
  padding: 0 8px;
}
@media (max-width: 480px) {
  main {
    width: min(100% - 28px, 560px);
    padding-top: 28px;
  }
  .card {
    padding: 28px 22px;
    border-radius: 18px;
  }
  .brand {
    margin-bottom: 18px;
  }
}
