:root {
  --bg: #f7f5f0;
  --ink: #0e0e10;
  --ink-soft: #4a4a52;
  --accent: #8ea7d2;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* Stage — positions the logo at one-third from the top
   (two phantom flex children split the column 1:2) */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stage::before {
  content: "";
  flex: 1;
}
.stage::after {
  content: "";
  flex: 2;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  line-height: 1;
  color: var(--ink);
}
.brand-mark {
  width: 60px;
  height: 60px;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}
.brand-name {
  font-weight: 600;
  font-size: 36px;
  letter-spacing: .14em;
  color: var(--ink);
  margin-right: -.14em;
}
.brand-sub {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  width: 100%;
}

/* Footer — tiny registration line */
.footer {
  text-align: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.copyright {
  margin: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .page { padding: 24px; }
  .brand { gap: 18px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 28px; }
  .brand-sub { font-size: 15px; }
  .brand-text { gap: 9px; }
  .footer { font-size: 10px; }
}
