:root {
  color-scheme: light dark;
  --navy: #0b1f3a;
  --navy-soft: #173556;
  --emerald: #168a68;
  --emerald-bright: #22b889;
  --coral: #e85852;
  --gold: #c88a14;
  --ink: #132033;
  --muted: #5d6877;
  --line: #d9e0e6;
  --canvas: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #eef3f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 8vw, 5.8rem);
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.content {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 224, 230, 0.9);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 680;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--emerald);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(680px, 76svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(11, 31, 58, 0.78);
}

.hero-backdrop {
  position: absolute;
  inset: -12% 0 auto;
  z-index: -2;
  width: 100%;
  height: 132%;
  object-fit: cover;
  object-position: center 19%;
  filter: saturate(0.82);
}

.hero-content {
  max-width: 760px;
  padding-block: 76px 68px;
}

.hero-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 24px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #78e2c1;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2.2vw, 1.34rem);
}

.hero-status {
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--emerald-bright);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--emerald-bright);
  color: #062c22;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(11, 31, 58, 0.45);
  color: var(--white);
}

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.button:hover {
  filter: brightness(1.06);
}

.hero-credit {
  margin-top: 28px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.section {
  padding-block: 78px;
}

.section-white {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 36px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.screen-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  align-items: center;
  gap: 24px;
  padding: 28px 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.screen-card.dark {
  border-color: #304963;
  background: #122841;
  color: var(--white);
}

.screen-card.dark h3 {
  color: var(--white);
}

.screen-card p {
  color: var(--muted);
}

.screen-card.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.screen-card img {
  width: 225px;
  height: 480px;
  align-self: end;
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 18px 22px rgba(11, 31, 58, 0.2));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 16px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.academic-layout,
.support-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 72px;
  align-items: start;
}

.academic-facts {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.academic-facts div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.academic-facts dt {
  color: #75ddbd;
  font-size: 0.82rem;
  font-weight: 760;
}

.academic-facts dd {
  margin: 0;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-link {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--emerald);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.resource-link:nth-child(2) {
  border-top-color: var(--coral);
}

.resource-link:nth-child(3) {
  border-top-color: var(--gold);
}

.resource-link:nth-child(4) {
  border-top-color: var(--navy-soft);
}

.resource-link strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.resource-link span {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-link b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--emerald);
  font-size: 0.88rem;
}

.page-hero {
  padding-block: 76px 68px;
  background: var(--navy);
  color: var(--white);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.page-hero p {
  max-width: 740px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.12rem;
}

.page-hero small {
  color: rgba(255, 255, 255, 0.58);
}

.document {
  padding-block: 62px 86px;
}

.document section {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.document section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.document h2 {
  font-size: 1.5rem;
}

.document p,
.document li {
  color: var(--muted);
}

.document ul,
.steps {
  padding-left: 1.3rem;
}

.document li,
.steps li {
  padding-block: 4px;
}

.notice {
  margin-bottom: 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--emerald);
  background: var(--surface-soft);
  color: var(--ink);
}

.notice strong {
  color: var(--navy);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 38px 19px 0;
  color: var(--navy);
  font-weight: 740;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 15px;
  right: 3px;
  content: "+";
  color: var(--emerald);
  font-size: 1.45rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-right: 38px;
  padding-bottom: 18px;
  color: var(--muted);
}

.support-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #abb7c3;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.form-help {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.site-footer {
  padding-block: 36px;
  background: #07162a;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 1.04rem;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.57);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.footer-nav a:hover {
  color: #75ddbd;
}

.centered-message {
  min-height: calc(100svh - 66px);
  display: grid;
  place-items: center;
  padding-block: 60px;
  text-align: center;
}

.centered-message img {
  width: 84px;
  margin: 0 auto 22px;
  border-radius: 18px;
}

.centered-message h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.centered-message p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .screens-grid,
  .academic-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-layout,
  .support-layout {
    gap: 38px;
  }
}

@media (max-width: 680px) {
  .content,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    max-width: calc(100vw - 70px);
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.8rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: min(650px, 72svh);
  }

  .hero-content {
    padding-block: 56px 46px;
  }

  .hero-mark {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 15px;
  }

  .hero-backdrop {
    inset: 0;
    height: 100%;
    object-position: 53% 20%;
  }

  .section {
    padding-block: 56px;
  }

  .screen-card {
    grid-template-columns: minmax(0, 1fr) 135px;
    gap: 14px;
    padding: 20px 18px 0;
  }

  .screen-card img {
    width: 135px;
    height: 294px;
  }

  .feature-grid,
  .resource-links,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .academic-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .support-form {
    padding: 20px;
  }

  .page-hero {
    padding-block: 54px 50px;
  }

  .document {
    padding-block: 46px 64px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .screen-card {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .screen-card img {
    width: min(190px, 68%);
    height: 410px;
    margin-inline: auto;
  }

  .hero-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) and (max-height: 650px) {
  .hero-content {
    padding-block: 26px 22px;
  }

  .hero-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: 2.7rem;
  }

  .hero .eyebrow {
    margin-bottom: 4px;
  }

  .hero-copy {
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-status {
    margin-bottom: 12px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-block: 7px;
  }

  .hero-credit {
    margin-top: 12px;
  }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf2f7;
    --muted: #b9c1ca;
    --line: #39434d;
    --canvas: #111418;
    --surface: #1b2026;
    --surface-soft: #222830;
    --navy: #dcecff;
    --navy-soft: #9db9d8;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  }

  .site-header {
    border-color: rgba(57, 67, 77, 0.92);
    background: rgba(17, 20, 24, 0.96);
    color: #edf2f7;
  }

  .brand,
  .site-nav a,
  .button-dark {
    color: #edf2f7;
  }

  .hero,
  .page-hero,
  .section-navy {
    background: #08182c;
  }

  .hero::after {
    background: rgba(8, 24, 44, 0.8);
  }

  .screen-card.dark {
    border-color: #3b536d;
    background: #0b1c31;
  }

  .field input,
  .field select,
  .field textarea {
    border-color: #65788c;
  }

  .button-primary {
    color: #062c22;
  }

  .button-dark {
    background: #255076;
  }
}
