/* Student Success public site. Brand: docs/brand/README.md. */
:root {
  --ink: #12343b;
  --fern: #2e9e6b;
  --fern-text: #237a53;
  --sun: #f5a524;
  --mist: #f1f6f3;
  --paper: #ffffff;
  --slate: #557075;
  --line: #d6e3dd;
  --on-fern: #ffffff;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6f0ec;
    --fern: #4cc28a;
    --fern-text: #6fd3a2;
    --sun: #f7b84b;
    --mist: #0e2328;
    --paper: #15313a;
    --slate: #9db5b1;
    --line: #26464d;
    --on-fern: #0e2328;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}
a {
  color: var(--fern-text);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--fern);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 780;
}
h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 750;
  margin-top: 40px;
}
h3 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 24px;
}
p,
li {
  max-width: 68ch;
}
.muted {
  color: var(--slate);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fern-text);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.top img {
  display: block;
  width: 190px;
  height: auto;
}
.top nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  flex-wrap: wrap;
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--fern-text);
}

.hero {
  padding: 40px 0 24px;
  display: grid;
  gap: 18px;
}
.lede {
  font-size: 20px;
  max-width: 46ch;
}
.button {
  display: inline-block;
  justify-self: start;
  background: var(--fern);
  color: var(--on-fern);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover {
  filter: brightness(1.05);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.card h3 {
  margin-top: 0;
}
.card p {
  margin: 8px 0 0;
}

.phone {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: grid;
  gap: 10px;
  max-width: 380px;
}
.bubble {
  background: var(--mist);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
}
.bubble.me {
  justify-self: end;
  background: var(--fern);
  color: var(--on-fern);
  border-radius: 16px 16px 4px 16px;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.doc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  margin: 24px 0;
}
.doc h1 {
  font-size: clamp(30px, 5vw, 40px);
}
.doc h2 {
  font-size: 22px;
  margin-top: 32px;
}
.doc ul {
  padding-left: 22px;
}
.callout {
  border-left: 4px solid var(--sun);
  background: var(--mist);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
}

form.join {
  display: grid;
  gap: 14px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 0;
  display: grid;
  gap: 10px;
  min-width: 0;
}
legend {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  padding: 0 6px;
}
label {
  font-size: 15px;
  color: var(--slate);
  display: grid;
  gap: 4px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  font: inherit;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--fern);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 24px 0 48px;
  font-size: 14px;
  color: var(--slate);
  display: grid;
  gap: 8px;
}
footer.site nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tag {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--fern-text);
}
