:root {
  --green: #0f4f38;
  --green-2: #176a49;
  --lime: #e8ef35;
  --ink: #17211c;
  --muted: #647069;
  --line: #dfe6e1;
  --soft: #f4f7f5;
  --white: #fff;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4vw, 24px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.brand span {
  display: flex;
  flex-direction: column;
  font-family: Manrope, sans-serif;
}
.brand small {
  color: var(--muted);
  font:
    500 12px "DM Sans",
    sans-serif;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.topbar .contact {
  background: var(--green);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
}
.hero {
  min-height: 620px;
  background: linear-gradient(125deg, #edf3ef 0%, #f9fbfa 68%);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 56px;
  align-items: center;
  padding: 90px max(6vw, 28px);
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.section-number {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1 {
  font:
    800 clamp(48px, 7vw, 92px)/0.98 Manrope,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 18px 0 28px;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-copy > p {
  font-size: 19px;
  color: #4e5b54;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
}
.button,
.submit-area button {
  border: 0;
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-block;
}
.text-link {
  font-weight: 700;
  text-decoration: none;
}
.hero-card {
  background: var(--green);
  color: white;
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: 0 30px 70px rgba(15, 79, 56, 0.18);
}
.hero-card > div {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-card > div:last-child {
  border: 0;
}
.hero-card p {
  margin: 0;
}
.icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.intro-grid,
.downloads,
.application-section {
  max-width: 1180px;
  margin: auto;
  padding: 90px 28px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.intro-grid h2,
.section-heading h2 {
  font:
    800 clamp(34px, 5vw, 56px)/1.05 Manrope,
    sans-serif;
  letter-spacing: -0.04em;
  margin: 12px 0 20px;
}
.intro-grid > div > p,
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}
.info-card {
  background: var(--soft);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.info-card h3 {
  font: 700 20px Manrope;
  margin-top: 0;
}
.info-card li {
  margin: 12px 0;
}
.downloads {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-top: 0;
}
.section-heading p {
  margin-bottom: 0;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.download-grid a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: 0.2s;
}
.download-grid a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 79, 56, 0.08);
}
.download-grid a > span {
  color: var(--green);
  font-weight: 800;
}
.download-grid a > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.download-grid small {
  color: var(--muted);
}
.download-grid b {
  font-size: 24px;
}
.application-section {
  padding-bottom: 120px;
}
form {
  display: grid;
  gap: 22px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 0;
}
legend {
  padding: 0 12px;
  font: 700 20px Manrope;
  color: var(--green);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.form-grid.full label:nth-child(1),
.form-grid.full label:nth-child(2),
.form-grid.full label:nth-child(4),
.form-grid.full label:nth-child(5) {
  grid-column: span 1;
}
label,
.label-text {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid #cbd5ce;
  border-radius: 10px;
  padding: 12px 13px;
  background: white;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 106, 73, 0.12);
  border-color: var(--green-2);
}
label small {
  font-weight: 400;
  color: var(--muted);
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.check-grid label,
.declarations label,
.choice-row label {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
}
.check-grid input,
.declarations input,
.choice-row input {
  width: auto;
  margin-top: 5px;
}
.notice,
.privacy-note {
  background: var(--soft);
  border-left: 4px solid var(--green);
  padding: 14px 16px;
  border-radius: 0 9px 9px 0;
  color: #445149;
}
.choice-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.conditional {
  padding: 25px;
  background: var(--soft);
  border-radius: 13px;
}
.conditional[hidden] {
  display: none;
}
.conditional h3 {
  margin-top: 0;
}
.upload-box {
  border: 1px dashed #93a39a;
  border-radius: 11px;
  padding: 18px;
  background: #fff;
}
.declarations {
  display: grid;
  gap: 15px;
}
.choice-row.photo {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.submit-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green);
  color: white;
  border-radius: 18px;
  padding: 26px 30px;
}
.submit-area p {
  max-width: 600px;
  margin: 0;
  color: #dbe9e1;
}
.submit-area button {
  background: var(--lime);
  color: #17211c;
}
.submit-area button span {
  margin-left: 12px;
}
footer {
  background: #101a15;
  color: white;
  padding: 44px max(6vw, 28px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
footer img {
  width: 70px;
  border-radius: 50%;
}
footer p {
  color: #b9c4be;
  margin: 5px 0;
  max-width: 540px;
}
footer > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
footer a {
  text-decoration: none;
}
.message-card {
  width: min(620px, calc(100% - 32px));
  margin: 10vh auto;
  text-align: center;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(15, 79, 56, 0.12);
}
.message-card img {
  width: 100px;
  border-radius: 50%;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  margin: 20px auto;
}
.reference {
  background: var(--soft);
  padding: 12px;
  border-radius: 9px;
}
.admin-shell {
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  background: var(--soft);
}
@media (max-width: 800px) {
  .topbar nav a:not(.contact) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }
  .submit-area {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  footer {
    grid-template-columns: auto 1fr;
  }
  footer > div:last-child {
    grid-column: 1/-1;
  }
  .section-heading {
    display: block;
  }
  .hero h1 {
    font-size: 54px;
  }
}
@media (max-width: 480px) {
  .topbar {
    padding: 0 16px;
  }
  .brand span {
    display: none;
  }
  .hero,
  .intro-grid,
  .downloads,
  .application-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  fieldset {
    padding: 20px 16px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 45px;
  }
}

.same-number {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  font-weight: 500 !important;
}
.same-number input {
  width: auto;
}
.signature-field {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.signature-field h3 {
  margin: 0 0 4px;
  font: 700 18px Manrope;
  color: var(--green);
}
.signature-field p {
  color: var(--muted);
  margin: 0 0 12px;
}
.signature-field canvas {
  display: block;
  width: 100%;
  height: 210px;
  background: #fff;
  border: 2px solid #17211c;
  border-radius: 12px;
  touch-action: none;
  cursor: crosshair;
}
.signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.signature-actions button {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 9px 15px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.signature-actions span {
  font-size: 13px;
  color: #a33131;
}
.signature-actions span.complete {
  color: var(--green);
}
.form-error-summary {
  position: sticky;
  top: 90px;
  z-index: 8;
  padding: 14px 18px;
  border: 1px solid #d63b3b;
  border-radius: 10px;
  background: #fff1f1;
  color: #8f1f1f;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(143, 31, 31, 0.12);
}
.field-error {
  outline: 3px solid rgba(205, 43, 43, 0.18);
  outline-offset: 6px;
  border-radius: 8px;
}
.field-error input,
.field-error select,
.field-error textarea,
.field-error canvas {
  border-color: #c92f2f !important;
}
.important-notice {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: #fff7df;
  border: 1px solid #ead394;
  border-radius: 11px;
  color: #5e4a13;
}
[hidden] { display: none !important; }
.pathways { padding: 36px 0 48px; text-align: center; }
.pathways h2 { font-size: clamp(26px, 4vw, 40px); margin: 10px 0; }
.pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.pathway-card { display: flex; flex-direction: column; gap: 18px; padding: 24px; text-align: left; border: 1px solid #ceddd2; border-radius: 24px; background: #fff; color: #193e2c; font: inherit; cursor: pointer; box-shadow: 0 12px 32px #143d2510; }
.pathway-card:hover, .pathway-card:focus-visible, .pathway-card[aria-pressed="true"] { outline: 3px solid #568a60; outline-offset: 3px; }
.pathway-card strong { font-size: 25px; }
.pathway-card b { margin-top: auto; }
.pathway-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.animal-scene { display: grid; place-items: center; min-height: 170px; width: 100%; border-radius: 18px; background: linear-gradient(#c9eced 70%, #c5dba6 70%); font-size: 65px; letter-spacing: 15px; }
.general-scene { background: linear-gradient(#f4ecd0 70%, #c5dba6 70%); }
#changePathway { font: inherit; color: #245b3e; border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
@media (max-width: 650px) { .pathway-grid { grid-template-columns: 1fr; } }
.pathway-art { width: 100%; border-radius: 18px; }
.version-badge { display: inline-block; padding: 6px 9px; border-radius: 99px; background: #e6f3e8; color: #245b3e; font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.general-art { transform: scaleX(-1); }
.hero { display: block; text-align: center; padding: 12px 0 0; }
.hero-copy { max-width: 760px; margin: auto; }
.hero-copy p { margin-left: auto; margin-right: auto; }
.hero-actions, .hero-card { display: none; }
.hero-copy h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 0; }
.pathways { padding: 18px 0 22px; }
.pathways h2 { margin: 5px 0; font-size: clamp(22px, 3vw, 32px); }
.pathways > p:not(.eyebrow) { margin: 4px 0 12px; }
.pathway-grid { gap: 16px; margin-top: 14px; }
.pathway-card { gap: 9px; padding: 14px; border-radius: 18px; }
.pathway-card strong { font-size: 20px; }
.pathway-card span:not(.pathway-tag) { font-size: 14px; line-height: 1.35; }
.pathway-art { max-height: 105px; object-fit: cover; }
.intro-grid { padding: 18px 0; }
.intro-grid > div:first-child p { margin: 4px 0; }
.intro-grid h2 { margin: 4px 0; }
.info-card { padding: 16px; }
#documents { display: none; }
html, body { min-height: 100%; }
body:not(.has-application) { overflow: hidden; }
main#top { position: relative; min-height: 100svh; overflow: hidden; }
.topbar { min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
.topbar nav { gap: 12px; }
.topbar nav a { font-size: 12px; }
.brand img { width: 42px; height: 42px; }
.brand strong { font-size: 15px; }
.brand small { font-size: 10px; }
.hero { display: none; }
.pathways { box-sizing: border-box; height: calc(100svh - 62px); min-height: 570px; padding: 20px 0 165px; }
.pathways h2 { margin: 4px 0; font-size: clamp(24px, 3vw, 36px); }
.pathways > p:not(.eyebrow) { margin: 3px 0 12px; font-size: 14px; }
.pathway-grid { gap: 20px; margin: 12px auto 0; max-width: 980px; }
.pathway-card { gap: 8px; padding: 14px; border-radius: 18px; min-height: 260px; }
.pathway-card strong { font-size: 20px; }
.pathway-card span:not(.pathway-tag) { font-size: 13px; line-height: 1.3; }
.pathway-art { height: 105px; object-fit: cover; }
.intro-grid { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 28px; max-width: none; padding: 14px max(24px, calc((100% - 980px) / 2)); background: rgba(244, 248, 244, .97); border-top: 1px solid #dbe7de; }
.intro-grid > div:first-child p { margin: 4px 0; font-size: 12px; }
.intro-grid h2 { margin: 2px 0; font-size: 20px; }
.info-card { padding: 10px 14px; }
.info-card h3 { margin: 0 0 5px; font-size: 14px; }
.info-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin: 0; font-size: 11px; line-height: 1.25; }
@media (max-width: 650px) {
  .topbar nav a:not(:last-child), .version-badge { display: none; }
  .pathways { min-height: 0; height: calc(100svh - 62px); padding: 12px 0 130px; }
  .pathway-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .pathway-card { min-height: 145px; display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 10px; text-align: left; align-items: center; padding: 9px; }
  .pathway-art { grid-row: 1 / span 4; width: 88px; height: 88px; }
  .pathway-card .pathway-tag, .pathway-card strong, .pathway-card span:not(.pathway-tag), .pathway-card b { grid-column: 2; }
  .intro-grid { grid-template-columns: 1fr; gap: 4px; padding: 10px 18px; }
  .intro-grid > div:first-child p { display: none; }
  .intro-grid h2 { font-size: 17px; }
  .info-card { padding: 7px 10px; }
  .info-card ul { font-size: 9px; gap: 1px 10px; }
}
.landing-section { position: relative; }
body:not(.form-page) { overflow: hidden; }
body.form-page { overflow-x: hidden; overflow-y: auto; }
body.form-page .landing-section { display: none !important; }
body.form-page main#top { min-height: auto; overflow: visible; }
.success-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.success-actions .button { margin: 0; min-width: 220px; text-align: center; }
.success-actions .button.secondary { background: #e8f0eb; color: #14583e; }
@media (max-width: 560px) {
  .success-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .success-actions .button { width: 100%; min-width: 0; }
}
.date-field-wrap { position: relative; }
.date-picker-button { position: absolute; right: 10px; top: 35px; border: 0; background: transparent; cursor: pointer; font-size: 18px; padding: 4px; }
.date-picker-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Comfortable tap targets and full-width fields on phones. */
@media (max-width: 650px) {
  body.form-page .check-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
  body.form-page .check-grid label { min-height: 42px; padding: 10px 12px; line-height: 1.35; }
  body.form-page .check-grid input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 auto; }
  body.form-page .other-activity-detail textarea { width: 100%; margin-top: 6px; }
  body.form-page .form-grid { grid-template-columns: 1fr !important; }
  body.form-page .form-hero { padding: 20px 18px; border-radius: 16px; }
  body.form-page #application { width: 100%; padding-left: 14px; padding-right: 14px; }
}
body.form-page .topbar nav { display: none; }
.back-to-options { display: inline-block; margin: 0 0 18px; padding: 0; border: 0; background: none; color: #245b3e; font: inherit; font-weight: 700; cursor: pointer; }
#application { max-width: 1080px; margin: 0 auto; padding-top: 32px; }
body:not(.form-page) main#top { height: calc(100svh - 62px); overflow: hidden; }
body:not(.form-page) #pathways { height: 100%; min-height: 0; padding: 32px 0 22px; }
body:not(.form-page) #pathways .pathway-grid { margin-top: 12px; }
body:not(.form-page) #pathways .pathway-card { min-height: 250px; }
body:not(.form-page) #before { display: none !important; }
.requirements-check { display: inline-flex; align-items: center; gap: 9px; margin-top: 17px; color: #214c35; font-size: 14px; font-weight: 700; cursor: pointer; }
.requirements-check input { width: 19px; height: 19px; accent-color: #176a49; }
.choose-hint { margin: 6px 0 0; color: #6a776f; font-size: 12px; }
.requirements-modal { width: min(500px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: 24px; color: #193e2c; box-shadow: 0 25px 80px #0b2d1c55; }
.requirements-modal::backdrop { background: #0c281c99; backdrop-filter: blur(4px); }
.modal-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e6f3e8; color: #c6404a; font-size: 25px; }
.requirements-modal h2 { margin: 4px 0 6px; font-size: 28px; }
.modal-intro { color: #617067; }
.requirements-modal ul { margin: 18px 0 22px; padding-left: 19px; line-height: 1.55; }
.requirements-modal li { margin: 8px 0; }
.modal-confirm { width: 100%; border: 0; border-radius: 12px; padding: 13px 18px; background: #176a49; color: white; font: inherit; font-weight: 800; cursor: pointer; }
.form-hero { margin-bottom: 24px; padding: 26px 30px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 88% 10%, #70a976 0 8%, transparent 9%), linear-gradient(135deg, #103e2b, #246a49); box-shadow: 0 16px 35px #153f2a22; }
.form-hero-kicker { font-size: 11px; letter-spacing: 1.8px; opacity: .78; font-weight: 800; }
.form-hero h2 { margin: 8px 0 4px; font-size: clamp(25px, 4vw, 38px); }
.form-hero p { margin: 0; max-width: 650px; color: #e1f1e4; }
@media (max-width: 650px) {
  body:not(.form-page) main#top { height: calc(100svh - 62px); }
  body:not(.form-page) #pathways { height: 100%; padding: 18px 0 18px; }
  body:not(.form-page) #pathways .pathway-card { min-height: 132px; }
  #application { padding-top: 20px; }
}
