:root {
  color-scheme: light;
  --navy: #092845;
  --navy-deep: #061c31;
  --blue: #0f6fbd;
  --blue-dark: #09548f;
  --sky: #6ec6ee;
  --ink: #12324d;
  --muted: #60788d;
  --white: #ffffff;
  --line: #dce6ee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(110,198,238,.22), transparent 30rem),
    linear-gradient(145deg, #f7fbfe 0%, #eaf3f8 100%);
}

a { color: inherit; }

.access-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: .01em;
}

.brand img { border-radius: 50%; }

.language-switcher {
  display: inline-flex;
  gap: .3rem;
  padding: .25rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 2.55rem;
  padding: .42rem .65rem;
  color: rgba(255,255,255,.74);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--navy);
  background: var(--white);
}

.access-main {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 7vw, 6rem) 1rem;
}

.access-card {
  width: min(100%, 45rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(9,40,69,.1);
  border-top: .35rem solid var(--blue);
  border-radius: 1.15rem;
  box-shadow: 0 1.75rem 4.5rem rgba(9,40,69,.14);
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
}

h1 {
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.message {
  max-width: 37rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.7;
}

.message p { margin: 0 0 1rem; }
.message a { color: var(--blue-dark); font-weight: 750; }
.signature { margin-top: -.35rem; color: var(--navy); font-weight: 800; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 .65rem 1.5rem rgba(15,111,189,.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--navy); background: var(--white); border-color: #b9cbd8; }
.button-secondary:hover { background: #f1f7fa; }

.access-footer {
  padding: 1.25rem 1rem;
  color: rgba(255,255,255,.72);
  background: var(--navy-deep);
  text-align: center;
  font-size: .84rem;
}

@media (max-width: 34rem) {
  .access-header { align-items: flex-start; }
  .brand span { display: none; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
