:root {
  color-scheme: light;
  --navy: #151348;
  --ink: #20203e;
  --muted: #636475;
  --line: #dedee7;
  --paper: #f8f8fa;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible {
  outline: 3px solid #7376c6;
  outline-offset: 5px;
}
.site-header, .site-footer {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 122px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: grid; gap: 4px; text-decoration: none; }
.brand-name { color: var(--navy); font-size: 27px; font-weight: 750; letter-spacing: .13em; }
.brand-detail { color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.portal-label { color: var(--muted); font-size: 13px; letter-spacing: .05em; }
main {
  flex: 1;
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
  padding-block: 64px;
}
.entry {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.8;
}
h1 { margin: 0; color: var(--navy); font-size: clamp(44px, 5.4vw, 68px); line-height: 1.1; font-weight: 750; letter-spacing: -.05em; }
h1 span { font-weight: 400; }
h2 { margin: 20px 0 0; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.intro { margin: 19px 0 32px; max-width: 390px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.open-portal {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 19px 24px;
  min-height: 60px;
  max-width: 100%;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.open-portal:hover { background: #2b2866; transform: translateY(-1px); }
.open-portal svg { flex: 0 0 auto; }
.sign-in-note { display: flex; align-items: flex-start; gap: 9px; max-width: 380px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.sign-in-note svg { flex: 0 0 18px; margin-top: 1px; }
.brand-panel { display: grid; justify-items: center; }
.crown { display: block; width: min(100%, 370px); height: auto; mix-blend-mode: multiply; }
.brand-panel-caption { margin: 22px 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .19em; color: var(--navy); }
.brand-panel-line { display: block; height: 1px; width: 46px; background: #a9a9c2; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 94px; }
  .brand-name { font-size: 22px; }
  .brand-detail { font-size: 10px; }
  main { padding-block: 34px 42px; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brand-panel { order: -1; }
  .crown { width: 152px; }
  .brand-panel-caption, .brand-panel-line { display: none; }
  .entry-copy { text-align: center; }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  h1 { font-size: clamp(36px, 9vw, 50px); }
  h2 { margin-top: 13px; font-size: 20px; }
  .intro { margin: 15px auto 24px; font-size: 15px; }
  .open-portal { width: min(100%, 320px); text-align: left; }
  .sign-in-note { justify-content: center; margin: 18px auto 0; }
  .site-footer { flex-direction: column; gap: 5px; padding-block: 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .open-portal { transition: none; }
  .open-portal:hover { transform: none; }
}
