:root {
  --wine: #7a2430;
  --wine-dark: #571923;
  --ink: #24211f;
  --muted: #6d6662;
  --line: #e9dfda;
  --paper: #fffdf9;
  --shadow: 0 24px 64px rgba(70, 35, 40, 0.14);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(122,36,48,.10), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(122,36,48,.06), transparent 30rem),
    linear-gradient(135deg, #f8f4f1 0%, #f3eeea 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.shell {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: 1.45fr .78fr;
  overflow: hidden;
  border: 1px solid rgba(122,36,48,.12);
  border-radius: 30px;
  background: rgba(255,253,249,.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: rise .55s ease both;
}

.brand-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 46px 34px 42px;
  background: linear-gradient(145deg, rgba(122,36,48,.028), rgba(255,255,255,.98));
  border-right: 1px solid var(--line);
}

.logo {
  width: 112%;
  max-width: 760px;
  height: auto;
  align-self: center;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.05));
  animation: logoIn .65s .08s ease both;
}

.brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .03em;
}

.access-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.035em;
}

.subtitle {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 24px;
  border-radius: 15px;
  background: var(--wine);
  color: white;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 11px 25px rgba(122,36,48,.22);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.button:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(87,25,35,.26);
}

.button:focus-visible {
  outline: 3px solid rgba(122,36,48,.24);
  outline-offset: 4px;
}

.lock { font-size: 18px; }

.arrow {
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity .16s ease, transform .16s ease;
}

.button:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.security {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.support {
  display: grid;
  gap: 7px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.support p {
  margin: 0 0 2px;
  color: var(--ink);
  font-weight: 700;
}

.support a {
  color: var(--wine);
  font-weight: 750;
  text-decoration: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .shell, .logo { animation: none; }
  .button, .arrow { transition: none; }
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }

  .brand-side {
    padding: 28px 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo { width: 100%; max-width: 720px; }

  .access-side {
    padding: 36px 28px 40px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page { padding: 14px; }
  .shell { border-radius: 22px; }
  .access-side { padding: 30px 20px 34px; }
  .subtitle { font-size: 16px; }
  .brand-meta { font-size: 13px; }
}
