:root {
  color-scheme: dark;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #eee9dc;
  background: #102b25;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.entry {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
}
.intro {
  padding: 44px 8%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 40%, #245a45, transparent 65%),
    repeating-linear-gradient(20deg, transparent 0 3px, #ffffff02 4px 5px),
    #163c30;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wordmark {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark span {
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.19em;
}
.intro-copy {
  padding: 64px 0 24px;
  position: relative;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #c3d49c;
  margin: 0 0 24px;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(54px, 5.6vw, 88px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
}
h1 > span {
  color: #e5b86d;
}
.lead {
  line-height: 1.8;
  color: #c0cfc5;
  font-size: 15px;
  margin: 24px 0;
}
.card-scene {
  height: 260px;
  position: relative;
  max-width: 360px;
  margin: 15px 0 0 35px;
}
.decor-card {
  position: absolute;
  width: 132px;
  height: 188px;
  border: 7px solid #f4edda;
  border-radius: 12px;
  background: #e9e3cf;
  color: #1b3d32;
  box-shadow: 0 18px 30px #061e2260;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
}
.decor-card b,
.decor-card small {
  position: absolute;
  font-size: 21px;
}
.decor-card b {
  top: 6px;
  left: 7px;
}
.decor-card small {
  bottom: 6px;
  right: 7px;
  transform: rotate(180deg);
}
.decor-card span {
  font-size: 70px;
}
.left {
  left: 5px;
  top: 22px;
  transform: rotate(-14deg);
}
.right {
  left: 112px;
  top: 18px;
  transform: rotate(13deg);
  color: #ad463b;
}
.chip {
  position: absolute;
  left: 229px;
  top: 152px;
  height: 75px;
  width: 75px;
  border-radius: 50%;
  border: 6px dashed #f4cf8b;
  outline: 4px solid #aa773b;
  background: #cd9850;
  box-shadow:
    0 7px 0 #885d31,
    0 15px 30px #071d2655;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 25px;
  color: #513d27;
  transform: rotate(-12deg);
}
.intro-foot {
  font-size: 11px;
  color: #9fb4a6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  height: 6px;
  width: 6px;
  background: #c3d49c;
  border-radius: 50%;
}
.form-panel {
  background: #111d1b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 70px 40px 85px;
}
.form-wrap {
  width: 100%;
  max-width: 360px;
}
.form-wrap .eyebrow {
  color: #9aaf99;
  margin-bottom: 14px;
  font-size: 10px;
}
h2 {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 13px;
  letter-spacing: -0.02em;
}
.description {
  color: #95a69e;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 34px;
}
label {
  display: block;
  font-size: 12px;
  color: #c5cdc5;
  font-weight: 650;
  margin-bottom: 10px;
}
input {
  width: 100%;
  color: #f2eddf;
  background: #192925;
  border: 1px solid #33473f;
  border-radius: 7px;
  padding: 14px 15px;
  font-size: 15px;
  outline: none;
  margin: 0 0 22px;
  transition: border-color 0.2s;
}
input::placeholder {
  color: #657a70;
}
input:focus-visible {
  border-color: #dcb36e;
  box-shadow: 0 0 0 3px #dcb36e22;
}
.password-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.password-label button {
  border: 0;
  background: none;
  color: #a5b6a9;
  font-size: 11px;
  padding: 4px;
}
.submit {
  background: #dfb66f;
  border: 1px solid #e9c688;
  color: #263027;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  border-radius: 7px;
  font-weight: 750;
  font-size: 14px;
  box-shadow: 0 4px 0 #a88246;
}
.submit:hover {
  background: #edc681;
}
.submit:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #a88246;
}
.submit:disabled {
  opacity: 0.5;
  cursor: wait;
}
.submit span {
  font-size: 20px;
  font-weight: 400;
}
.private-note {
  font-size: 11px;
  color: #748e80;
  border-top: 1px solid #293a33;
  margin-top: 37px;
  padding-top: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.private-note span {
  font-size: 21px;
  color: #aec59a;
}
footer {
  position: absolute;
  bottom: 25px;
  color: #63796d;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.field-hint {
  font-size: 11px;
  color: #9caf9e;
  line-height: 1.7;
  margin: -12px 0 22px;
}
code {
  font-size: 11px;
  color: #d3c19c;
  user-select: all;
}
.error {
  padding: 12px 14px;
  color: #ffd6bf;
  background: #613c3040;
  border: 1px solid #85523d;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.retry {
  padding: 10px 20px;
  background: #293c30;
  color: #e5dfc7;
  border: 1px solid #526346;
  border-radius: 6px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #dfb66f;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .entry {
    grid-template-columns: 1fr;
  }
  .intro {
    padding: 25px 7%;
    min-height: 255px;
  }
  .intro-copy {
    padding: 26px 0 10px;
  }
  .intro-copy .eyebrow,
  .intro-foot {
    display: none;
  }
  .wordmark {
    font-size: 23px;
  }
  .wordmark span {
    font-size: 10px;
  }
  h1 {
    font-size: 49px;
  }
  .lead {
    font-size: 12px;
    margin: 14px 0 0;
  }
  .card-scene {
    position: absolute;
    right: -20px;
    top: 45px;
    transform: scale(0.62);
    transform-origin: right top;
    width: 320px;
    opacity: 0.9;
  }
  .form-panel {
    padding: 42px 26px 70px;
    min-height: 480px;
  }
  .form-wrap {
    max-width: 420px;
  }
  .description {
    margin-bottom: 26px;
  }
  h2 {
    font-size: 33px;
  }
}
@media (max-width: 380px) {
  .card-scene {
    right: -43px;
    transform: scale(0.5);
  }
  h1 {
    font-size: 43px;
  }
  .intro .lead {
    max-width: 215px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
