:root {
  --paper: #0b0b0b;
  --panel: #151515;
  --ink: #f7f3e8;
  --muted: #aaa596;
  --lime: #ffdc45;
  --orange: #ff8a55;
  --sans: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
  --mono: "DM Mono", monospace;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background-color: #0b0b0b;
  background-image:
    linear-gradient(rgba(247,243,232,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,243,232,.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.login-card {
  width: min(100%, 420px);
  position: relative;
  z-index: 1;
  padding: 34px 30px 30px;
  border: 1px solid rgba(247,243,232,.14);
  border-radius: 22px;
  background: rgba(21,21,21,.94);
  box-shadow: 11px 11px 0 rgba(255,212,0,.16), inset 0 1px rgba(255,255,255,.07);
}
.login-card.wide { width: min(100%, 720px); }
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  text-align: center;
}
.login-duck {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 17px;
  background: var(--lime);
  box-shadow: 4px 4px 0 #24200a;
}
.login-duck img { width: 39px; height: 39px; object-fit: contain; }
.login-brand strong {
  font: 700 25px/1 var(--display);
  letter-spacing: -.07em;
}
.login-brand small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 36em;
}
.login-wink {
  margin: -8px auto 22px;
  color: var(--lime);
  font: 500 10px var(--mono);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.login-field { display: block; margin-bottom: 14px; }
.login-field span {
  display: block;
  margin-bottom: 8px;
  color: #c3beb1;
  font-size: 11px;
  font-weight: 700;
}
.login-field input,
.login-field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(247,243,232,.15);
  border-radius: 10px;
  outline: 0;
  background: #262626;
  color: var(--ink);
  font-size: 13px;
}
.login-field input:focus,
.login-field select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(255,212,0,.12);
}
.login-field select { appearance: none; }
.login-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.login-submit {
  width: 100%;
  min-height: 47px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--lime);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 4px 4px 0 #2c2600;
}
.login-submit:hover { background: #ffe34d; }
.login-submit:disabled { opacity: .55; cursor: not-allowed; }
.login-links {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.login-links a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-error {
  min-height: 14px;
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
}
.form-ok { color: #6fce8f; font-size: 13px; line-height: 1.5; }
.hint { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 72px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.account-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.account-type label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(247,243,232,.15);
  border-radius: 10px;
  background: #262626;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.account-type input { width: auto; height: auto; }
.account-type label:has(input:checked) {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(255,212,0,.15);
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 16px;
}
.plan-card {
  position: relative;
  padding: 14px 14px 12px;
  border: 1px solid rgba(247,243,232,.14);
  border-radius: 14px;
  background: #1b1b1b;
  cursor: pointer;
}
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card.selected { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(255,212,0,.16); }
.plan-card.disabled { opacity: .55; cursor: not-allowed; }
.plan-card h3 { margin: 0 0 4px; font: 700 16px/1.1 var(--display); }
.plan-card .price { font: 700 18px/1 var(--display); margin: 6px 0 8px; }
.plan-card .price span { font-size: 12px; font-weight: 500; color: var(--muted); }
.plan-card ul { margin: 0; padding: 0 0 0 16px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.plan-card .soon {
  margin-top: 8px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.company-block[hidden] { display: none; }
@media (max-width: 640px) {
  .plan-grid, .login-row, .account-type { grid-template-columns: 1fr; }
  .login-card { padding: 30px 22px 25px; }
}
