/* Landing page for the ALR prototypes. Neutral on purpose: it should not favour either concept's style. */
:root {
  --blue: #399dd8; /* ALR brand */
  --blue-text: #1f6fa8; /* accessible on white */
  --navy: #0d2b45;
  --ink: #1a2733;
  --muted: #4f6170;
  --mist: #eff4f8;
  --line: #d3dde6;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 3rem;
}

.intro {
  max-width: 40rem;
}

.logo {
  display: block;
  width: 9rem;
  height: auto;
}

h1 {
  margin: 1.75rem 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.choices {
  display: grid;
  gap: 1.25rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.choice:hover,
.choice:focus-within {
  border-color: var(--blue-text);
  box-shadow: 0 12px 32px -16px rgb(13 43 69 / 0.35);
}

.choice-label {
  margin: 0;
  color: var(--blue-text);
  font-weight: 700;
}

.choice h2 {
  margin: 0.25rem 0 0;
  color: var(--navy);
  font-size: 1.625rem;
  line-height: 1.2;
}

.choice-summary {
  margin: 0.5rem 0 0;
}

.choice ul {
  margin: 1.25rem 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.choice li + li {
  margin-top: 0.35rem;
}

.choice li::marker {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.choice .button {
  align-self: flex-start;
  margin-top: auto;
}

/* The whole panel is clickable; the button stays the accessible link. */
.choice .button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
}

.button:hover {
  background: var(--blue-text);
}

.choice-url {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: var(--blue-text);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

.button:focus-visible {
  border-radius: 999px;
}

/* A different kind of prototype: full width, set apart from the website proposals above. */
@media (min-width: 48rem) {
  .choices > li:has(.choice--experimental) {
    grid-column: 1 / -1;
  }
}

.choice--experimental {
  border-top-color: var(--navy);
  background: var(--mist);
}

.choice--experimental > * {
  max-width: 44rem;
}

.choice-kind {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  vertical-align: 0.1em;
}

.choice-notice {
  margin: 0 0 1.75rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--navy);
  background: #fff;
  font-size: 0.9375rem;
}
