:root {
  color-scheme: light;
  --background: #f0f2f5;
  --surface: #ffffff;
  --text: #252b33;
  --muted: #586474;
  --accent: #234f88;
  --accent-hover: #193d6c;
  --accent-soft: #e7eef7;
  --border: #d2d9e2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a { color: var(--accent); }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.container {
  width: min(100% - 3rem, 68rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  transform: translateY(-200%);
  z-index: 1;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.button-secondary:hover { background: var(--accent-soft); }

.button-primary {
  color: var(--surface);
  background: var(--accent);
  min-height: 3rem;
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.introduction {
  width: 100%;
  padding: clamp(1.75rem, 5vw, 4.5rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(25 40 60 / 4%);
}

h1 {
  margin: 0;
  max-width: 19ch;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.description {
  max-width: 37rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.65;
}

.supporting-copy {
  max-width: 35rem;
  margin: 0.875rem 0 0;
  color: var(--muted);
}

.login-area {
  margin-top: 2rem;
}

.login-area p {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer {
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-inner {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 36rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.5rem; }
  .introduction { padding: 1.75rem 1.5rem; }
  .desktop-break { display: none; }
  .footer-inner { flex-direction: column; }
}
