:root {
  --gold: #c9912f;
  --gold-strong: #9f711f;
  --ink: #161412;
  --text: #302d29;
  --muted: #79716a;
  --line: #ebe4d8;
  --danger: #b8493f;
  --radius: 22px;
  --shadow: 0 16px 38px rgba(35, 29, 19, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  background: #f8f6f1;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 145, 47, 0.12), transparent 26rem),
    linear-gradient(180deg, #fffdfa 0%, #f8f6f1 48%, #fff 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
  line-height: 1.5;
}

.login-view {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px 18px;
}

.login-card {
  width: min(100%, 480px);
  border: 1px solid rgba(235, 228, 216, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: 26px;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 15px;
  background: var(--ink);
  object-fit: contain;
}

.brand-logo {
  display: block;
  height: auto;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 10px;
}

.form-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdfa;
  color: var(--ink);
  padding: 13px 12px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 145, 47, 0.13);
}

.form-section-title {
  margin: 6px 0 -4px;
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdfa;
  padding: 12px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.check-card input {
  width: auto;
}

.trial-terms a {
  color: var(--gold-strong);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  padding: 0 16px;
  background: linear-gradient(180deg, #d8a645, var(--gold));
  color: white;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(201, 145, 47, 0.26);
}

.primary-button:disabled {
  opacity: 0.6;
}

.error-text {
  min-height: 20px;
  margin-top: 12px;
  color: var(--danger);
  font-weight: 850;
}

.login-trial-hint {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
}

.login-trial-hint a {
  color: var(--gold-strong);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
