:root {
  color: #202250;
  background: #f3f2f3;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 22%, rgba(32, 34, 80, 0.055), transparent 28rem),
    #f3f2f3;
}

button, input { font: inherit; }

.topbar {
  height: 68px;
  background: #fff;
  border-top: 5px solid #202250;
}

.topbar__inner {
  width: min(1120px, calc(100% - 48px));
  height: 63px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(32, 34, 80, 0.62);
  font-size: 12px;
  font-weight: 600;
}

.status span { width: 7px; height: 7px; border-radius: 999px; background: #2f9e66; }

.page {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  align-items: center;
  gap: 88px;
  padding: 64px 0;
}

.intro { max-width: 520px; }

.intro__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  background: #202250;
}

.intro__icon svg, .notice svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(32, 34, 80, 0.58);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 480px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.intro__copy {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(32, 34, 80, 0.64);
  font-size: 15px;
  line-height: 1.8;
}

.notice {
  max-width: 500px;
  margin-top: 30px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 8px;
  background: #fff;
  color: rgba(32, 34, 80, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.notice svg { width: 17px; height: 17px; flex: 0 0 auto; color: #202250; }

.card {
  padding: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(32, 34, 80, 0.055);
}

.card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.card__heading span { font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.card__heading small { color: rgba(32, 34, 80, 0.48); font-size: 11px; }

label {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
  background: #f3f2f3;
  color: #202250;
  font-size: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

input::placeholder { color: rgba(32, 34, 80, 0.36); }
input:focus { border-color: rgba(32, 34, 80, 0.24); background: #eeedf0; }
input[aria-invalid="true"] { border-color: rgba(177, 45, 62, 0.55); }

.hint { margin: 8px 0 22px; color: rgba(32, 34, 80, 0.48); font-size: 11px; }

button {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 7px;
  background: #202250;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: opacity 150ms ease, transform 150ms ease;
}

button:hover { opacity: 0.95; }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: 0.48; }

.result {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 34, 80, 0.1);
  border-radius: 7px;
  background: #f3f2f3;
  color: rgba(32, 34, 80, 0.74);
  font-size: 12px;
  line-height: 1.6;
}

.result strong { display: block; color: #202250; font-size: 13px; }
.result small { display: block; margin-top: 4px; color: rgba(32, 34, 80, 0.5); }

footer {
  width: min(1120px, calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(32, 34, 80, 0.42);
  font-size: 10px;
}

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; gap: 42px; padding: 52px 0; }
  .intro, .intro__copy, .notice { max-width: none; }
}

@media (max-width: 560px) {
  .topbar__inner, .page, footer { width: min(100% - 32px, 1120px); }
  .status { display: none; }
  .page { min-height: auto; padding: 36px 0 42px; }
  .card { padding: 24px 20px; }
  .card__heading small { display: none; }
  footer { padding-bottom: 24px; flex-wrap: wrap; }
}
