/* aimodelstanding.com
   One column, left aligned. The double rule down the left edge borrows from
   pleading paper; the typeface stack leans on the Century family used for
   court briefs. No external fonts or scripts. */

:root {
  --paper: #F6F7F9;
  --ink: #16203A;
  --muted: #56607A;
  --rule: #2E4C9A;
  --field: #FFFFFF;
  --field-border: #8C96AD;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1420;
    --ink: #E4E8F1;
    --muted: #9AA5BD;
    --rule: #8CA6EA;
    --field: #161D2C;
    --field-border: #5C6885;
  }
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Century Schoolbook", "New Century Schoolbook", "Century Schoolbook L",
    "TeX Gyre Schola", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.page {
  max-width: 41rem;
  margin: 0 0 0 clamp(0.75rem, 6vw, 5rem);
  padding: 3.5rem 1.25rem 5rem clamp(1.25rem, 4vw, 2.75rem);
  border-left: 6px double var(--rule);
  min-height: 100vh;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.tagline {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 3rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.25;
  margin: 3rem 0 1rem;
}

p, ul { margin: 0 0 1.1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--rule); text-underline-offset: 0.15em; }
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rule);
  outline-offset: 2px;
}

nav { margin: 0 0 2.5rem; font-size: 1rem; }
nav a { margin-right: 1.25rem; }

form { margin-top: 1.5rem; }

label, legend { display: block; font-weight: bold; margin-bottom: 0.35rem; }
.hint { display: block; font-weight: normal; color: var(--muted); font-size: 0.95rem; }

textarea,
input[type="text"],
input[type="email"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  padding: 0.6rem 0.7rem;
  margin-bottom: 1.5rem;
}

textarea { min-height: 12rem; resize: vertical; }

fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.choice { display: flex; gap: 0.6rem; align-items: baseline; margin-bottom: 0.3rem; }
.choice label { font-weight: normal; margin: 0; }

button {
  font: inherit;
  font-weight: bold;
  color: var(--paper);
  background: var(--rule);
  border: 0;
  border-radius: 2px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}

/* Spam trap. The label tells any reader, human or agent, to leave it empty. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--field-border);
  color: var(--muted);
  font-size: 0.95rem;
}
