:root {
  --ws-contrast: #121212;
  --ws-muted: #666666;
  --ws-base: #f7f7fc;
  --ws-surface: #ffffff;
  --ws-accent: #0a1d42;
  --ws-accent-2: #243278;
  --ws-accent-3: #4556ad;
  --ws-accent-4: #252a57;
  --ws-focus: #abc7ff;
  --ws-border: #d9deeb;
  --ws-danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ws-base);
  color: var(--ws-contrast);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: var(--ws-accent);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: min(280px, 56vw);
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

main {
  width: min(1040px, calc(100% - 32px));
  margin: 44px auto;
}

.messages {
  margin-bottom: 16px;
}

.message {
  border: 1px solid #c7d8ff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #edf4ff;
}

.panel,
.access-gate {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 18px 45px rgba(10, 29, 66, 0.08);
}

.access-gate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.access-intro {
  padding-right: clamp(0px, 3vw, 28px);
  border-right: 1px solid var(--ws-border);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--ws-accent-3);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  color: inherit;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.panel h1 {
  font-size: 32px;
  color: var(--ws-accent);
}

.choice-actions {
  display: grid;
  gap: 14px;
}

.choice-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--ws-border);
  border-radius: 8px;
  color: var(--ws-accent);
  text-decoration: none;
  background: #fcfcff;
}

.choice-card-primary {
  color: #ffffff;
  border-color: var(--ws-accent-2);
  background: var(--ws-accent-2);
}

.choice-card span {
  font-size: 20px;
  font-weight: 700;
}

.choice-card small {
  color: inherit;
  opacity: 0.78;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #b8c0cc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #ffffff;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid var(--ws-focus);
  outline-offset: 2px;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--ws-accent-2);
  color: #ffffff;
  padding: 10px 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.muted {
  color: var(--ws-muted);
}

.errorlist {
  color: var(--ws-danger);
  padding-left: 18px;
}

pre {
  max-width: 100%;
  overflow: auto;
  padding: 16px;
  border-radius: 8px;
  background: #f4f6fb;
}

hr {
  border: 0;
  border-top: 1px solid var(--ws-border);
  margin: 22px 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .access-gate {
    grid-template-columns: 1fr;
  }

  .access-intro {
    padding-right: 0;
    padding-bottom: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--ws-border);
  }
}
