:root {
  color-scheme: light;
  --bg: #e8edf4;
  --surface: #f7f8fa;
  --ink: #202028;
  --muted: #5c6570;
  --line: #c5cbcd;
  --seal: #273c7d;
  --seal-ink: #ffffff;
  --seal-soft: #e4e9f3;
  --gold: #c5a141;
  --gold-hover: #d4b25a;
  --gold-ink: #202028;
  --navy: #273c7d;
  --navy-mid: #284986;
  --sans: "Avenir Next", "Segoe UI", "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f4f6f9 0%, var(--bg) 240px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pagina {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 16px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: center;
  min-height: 100vh;
}
.marca { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.sello {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  border-radius: 12px;
  flex: none;
}
.kicker {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 560;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--navy);
}
.lead { margin: 14px 0 0; max-width: 38ch; color: var(--muted); }
.nota { margin: 22px 0 0; max-width: 38ch; }
.nota strong { display: block; margin-bottom: 4px; color: var(--navy); }
.hoja {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.hoja h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 560;
  color: var(--navy);
}
.hoja > p { margin: 0 0 16px; color: var(--muted); }
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 650;
}
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}
input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
}
button[type="submit"] {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 650;
}
button[type="submit"]:hover:not([disabled]) {
  background: var(--gold-hover);
}
button[disabled] { opacity: 0.6; cursor: default; }
.error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--seal-soft);
  color: var(--navy);
  border: 1px solid var(--line);
}
.demo { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .pagina { grid-template-columns: 1fr; min-height: auto; padding-top: 20px; gap: 18px; }
  .hoja { order: -1; }
  h1 { font-size: 2.1rem; }
}