:root {
  --ink: #16211b;
  --muted: #5b6a60;
  --moss: #2f5d43;
  --moss-dark: #1f442f;
  --moss-deep: #163322;
  --moss-light: #e8efe5;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #dbe3d8;
  --warn-bg: #fdf6e3;
  --warn-line: #e7c98a;
  --warn-ink: #6d4a0e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 32px rgb(22 33 27 / 8%);
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--moss-deep);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--moss-dark);
}

ul,
ol {
  padding-left: 1.2em;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.narrow {
  max-width: 790px;
}

.small {
  font-size: 0.9rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--moss-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #9fbe8f;
  outline-offset: 3px;
}

.prelaunch {
  background: #f4ecd8;
  border-bottom: 1px solid #e3d3ab;
  color: #5d4716;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 0.45rem 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(251 250 246 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--moss-deep);
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--moss);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 0.45rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--moss);
}

.site-nav a[aria-current="page"] {
  color: var(--moss);
  border-bottom-color: var(--moss);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--moss);
  border-radius: 999px;
  background: var(--moss);
  color: #fff;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.button:hover {
  background: var(--moss-dark);
  border-color: var(--moss-dark);
  color: #fff;
}

.button-ghost {
  background: transparent;
  color: var(--moss);
}

.button-ghost:hover {
  background: var(--moss-light);
  color: var(--moss-dark);
}

.button-small {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(70rem 34rem at 85% -10%, #dfead9 0%, transparent 60%),
    linear-gradient(180deg, #f5f7f1 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: #314238;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.9rem;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.panel-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.2rem 0 0.9rem 0.25rem;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.entry {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fdfcf9;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.entry:hover {
  border-color: #a9c39c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(22 33 27 / 7%);
  color: var(--ink);
}

.entry-kicker {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.entry-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--moss-deep);
}

.entry-text {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.entry-primary {
  background: var(--moss);
  border-color: var(--moss);
}

.entry-primary .entry-kicker,
.entry-primary .entry-text {
  color: #dcebd6;
}

.entry-primary .entry-title {
  color: #fff;
}

.entry-primary:hover {
  background: var(--moss-dark);
  border-color: var(--moss-dark);
}

.section {
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

.section-tint {
  background: var(--moss-light);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split > * {
  min-width: 0;
}

.section-note {
  margin-top: 1.2rem;
}

.callout {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--moss);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.callout h3 {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout-warn {
  border-left-color: #b98a2e;
  background: var(--warn-bg);
}

.callout-warn h3 {
  color: var(--warn-ink);
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-application {
  display: flex;
  flex-direction: column;
}

.card-application h2 {
  font-size: 1.12rem;
}

.steps {
  margin: 1.2rem 0 1.5rem;
  display: grid;
  gap: 0.9rem;
  padding-left: 1.4em;
}

.steps li::marker {
  color: var(--moss);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
  padding-left: 1.2em;
}

.check-list li::marker {
  color: var(--moss);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 0 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  color: var(--moss-deep);
}

.faq-item summary::marker {
  color: var(--moss);
}

.faq-item p {
  margin: 0 0 1rem;
  color: #33443a;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--moss-deep);
  color: #edf4e9;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  color: #d7e4d1;
  max-width: 62ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cta-band .button {
  background: #fff;
  border-color: #fff;
  color: var(--moss-deep);
}

.cta-band .button:hover {
  background: #e7f0e2;
  border-color: #e7f0e2;
  color: var(--moss-deep);
}

.cta-band .button-ghost {
  background: transparent;
  border-color: #9db99a;
  color: #fff;
}

.cta-band .button-ghost:hover {
  background: rgb(255 255 255 / 10%);
  border-color: #c3d7bd;
}

.page-hero {
  padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(180deg, #f2f6ee 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0.45em;
}

.breadcrumbs {
  max-width: var(--wrap);
  width: min(100% - 2.5rem, var(--wrap));
  margin: 1.1rem auto 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #9aa79f;
}

.notice {
  margin: 0 0 1.6rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--warn-line);
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  color: #4f3c14;
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--warn-ink);
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 0.6rem;
}

.notice-strong {
  border-width: 2px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.grades-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.grades-table caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.1rem 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.grades-table th,
.grades-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.grades-table thead th {
  background: #f1f5ee;
  color: var(--moss-deep);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grades-table tbody tr:last-child th,
.grades-table tbody tr:last-child td {
  border-bottom: 0;
}

.grades-table tbody tr:nth-child(even) {
  background: #fcfbf8;
}

.grades-table tbody th {
  color: var(--moss-deep);
  font-weight: 700;
  white-space: nowrap;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.intent-card {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}

.intent-card p:last-child {
  margin-top: auto;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  scroll-margin-top: 110px;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c3d33;
}

.req {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c6d1c3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.97rem;
}

textarea {
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #9fbe8f;
  outline-offset: 1px;
  border-color: var(--moss);
}

.field-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}

.field-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
}

.field-check label {
  font-weight: 400;
}

.form .button {
  justify-self: start;
}

.form-status {
  padding: 0.9rem 1rem;
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  background: var(--warn-bg);
  color: #4f3c14;
  font-size: 0.92rem;
}

.form-status a {
  font-weight: 700;
}

.form-aside {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f3f7f0;
}

.form-aside h2 {
  font-size: 1.2rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}

.detail-list div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.detail-list dd {
  margin: 0;
}

.prose {
  max-width: 790px;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.site-footer {
  background: var(--moss-deep);
  color: #d7e4d1;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #eaf3e5;
  text-decoration-color: #7f9d79;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.site-footer .muted {
  color: #b4c9ad;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.8rem;
  color: #a9c0a2;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 0.2rem 0.9rem;
    padding-bottom: 0.3rem;
  }

  .hero-inner,
  .split,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .card-grid-three,
  .intent-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 1.6rem, var(--wrap));
  }

  .header-inner .button-small {
    margin-left: auto;
  }

  .entry-grid,
  .card-grid,
  .card-grid-three,
  .intent-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .entry {
    min-height: 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumbs {
    width: min(100% - 1.6rem, var(--wrap));
  }

  .grades-table {
    min-width: 620px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
