@font-face {
  font-family: "Fira Sans";
  src: url("brand/fira-sans-v18-latin-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("brand/fira-sans-v18-latin-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("brand/fira-sans-v18-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #333333;
  --muted: #868686;
  --paper: #ffffff;
  --cream: #f9f9f9;
  --orange: #ff6d00;
  --turquoise: #00b9c1;
  --green: #92be00;
  --lime: #bbef1b;
  --line: #dedede;
  font-family: "Fira Sans", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
  color: inherit;
}
h1,
h2,
h3 {
  font-weight: 800;
}
h1 {
  color: var(--orange);
}
p {
  margin-bottom: 16px;
}
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #9e9e9e;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 48px;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-weight: 700;
}
label input,
label textarea,
label select {
  margin-top: 7px;
}
input[type="checkbox"] {
  width: 23px;
  height: 23px;
  min-height: 23px;
  flex-shrink: 0;
  accent-color: var(--orange);
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  padding: 15px;
  z-index: 100;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 40px;
  border-bottom: 2px solid #f2f2f2;
  background: #ffffff;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 145px;
  height: auto;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 1rem;
  font-weight: 400;
}
nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--orange);
}
nav > a:hover,
.text-link:hover {
  text-decoration: underline;
}
nav form {
  margin: 0;
}
.nav-button {
  background: #ffffff;
  border: 1px solid var(--orange);
  border-radius: 4px;
  min-height: 44px;
  color: var(--orange);
  padding: 8px 14px;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px 70px;
  min-height: 70vh;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: var(--orange);
  color: white;
  border: 2px solid var(--orange);
  border-radius: 4px;
  min-height: 52px;
  padding: 12px 25px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background: #d95d00;
  border-color: #d95d00;
}
.button.small {
  min-height: 44px;
  font-size: 0.9rem;
  padding: 9px 18px;
}
.button.secondary {
  background: transparent;
  color: var(--orange);
}
.full {
  width: 100%;
}
.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  color: var(--turquoise);
}
.lead {
  font-size: 1.12rem;
  max-width: 580px;
  line-height: 1.75;
  color: var(--muted);
}
.note,
small {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  padding: clamp(52px, 7vw, 88px) 0 78px;
}
.hero h1 {
  color: var(--orange);
  font-size: clamp(3rem, 5.3vw, 5rem);
}
.steps {
  padding: 35px 0 50px;
}
.section-heading {
  margin: 40px 0 26px;
}
.steps ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 35px;
}
.steps li {
  border-top: 4px solid var(--orange);
  padding-top: 20px;
}
.step-number {
  font-family: inherit;
  font-weight: 800;
  font-size: 2rem;
  color: var(--turquoise);
}
.steps h3 {
  margin: 16px 0 12px;
}
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: auto;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: auto minmax(170px, 1fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
  font-size: 0.9rem;
}
.site-footer img {
  width: 95px;
  height: auto;
}
.footer-copy {
  justify-self: center;
  white-space: nowrap;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: inherit;
}
.footer-links a {
  color: var(--orange);
  min-height: auto;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.page-heading {
  padding: 50px 0 20px;
}
.page-heading h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
}
.split-page {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: start;
  padding: 75px 0 30px;
}
.paper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 28px;
}
.narrow {
  max-width: 800px;
}
.tip {
  border-left: 3px solid #7e9d5e;
  margin-top: 45px;
  padding-left: 20px;
}
.field {
  margin-bottom: 21px;
}
.field label {
  margin-bottom: 7px;
}
.field small {
  display: block;
  margin-top: 7px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 15px 0 25px;
  min-width: 0;
}
legend {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin: 16px 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  min-height: 48px;
}
.notice {
  background: #e6edda;
  border-left: 4px solid #54743b;
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.notice p:last-child {
  margin-bottom: 0;
}
.notice.error {
  background: #f7e8df;
  border-color: #914026;
  color: #612c1b;
}
.notice.warning {
  background: #faf0ca;
  border-color: #8d6711;
  color: #634711;
}
.team-intro {
  padding: 50px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.team-intro h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
}
.score-stamp {
  border: 0;
  border-radius: 4px;
  width: 155px;
  min-height: 120px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--turquoise);
  color: #ffffff;
}
.score-stamp strong {
  font-size: 2.75rem;
  line-height: 1.1;
}
.score-stamp span {
  font-size: 0.8rem;
}
.score-line {
  border-block: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding: 18px 0;
  font-size: 0.87rem;
}
.score-line a {
  margin-left: auto;
}
.unlock-panel {
  background: #e5f8f9;
  border-left: 6px solid var(--turquoise);
  border-radius: 4px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 35px;
  margin-top: 35px;
  align-items: center;
}
.unlock-panel h2 {
  font-size: 1.6rem;
}
.unlock-panel form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.unlock-panel .field {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.unlock-panel label {
  font-size: 0.83rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.module-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.module-card .eyebrow {
  margin: 15px 0 10px;
}
.module-card h3 {
  font-size: 1.65rem;
}
.module-card.water {
  background: #e3f8f9;
  border-top: 6px solid var(--turquoise);
}
.module-card.climate {
  background: #fff0e5;
  border-top: 6px solid var(--orange);
}
.module-card.resources {
  background: #f2fbd7;
  border-top: 6px solid #92be00;
}
.module-card.nature {
  background: #f7f7cf;
  border-top: 6px solid #b7bf00;
}
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  width: 68px;
  border: 0;
  border-radius: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.topic-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.state {
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 5px 12px;
}
.module-bottom {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  border-top: 1px solid #a4b39e;
  padding-top: 17px;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
}
.module-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.locked {
  background: #ebece3 !important;
}
.locked .topic-icon {
  filter: grayscale(1);
  opacity: 0.6;
}
.badge-shelf {
  margin-top: 45px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 16px;
  margin: 5px;
  font-size: 0.85rem;
  font-weight: 700;
}
.badge .topic-icon {
  width: 36px;
  height: 36px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 20px 0 35px;
  padding: 25px 0;
  border-block: 1px solid var(--line);
}
.metrics > div {
  display: flex;
  flex-direction: column;
}
.metrics strong {
  font-size: 2.3rem;
  line-height: 1.1;
}
.metrics span {
  font-size: 0.9rem;
  margin-top: 10px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
}
th,
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ranking-list {
  margin: 25px 0;
}
.ranking-header,
.ranking-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px 95px 95px;
  gap: 20px;
  align-items: center;
}
.ranking-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 12px 25px;
}
.ranking-row {
  background: var(--paper);
  padding: 25px;
  border-top: 1px solid var(--line);
}
.ranking-row:nth-child(2) {
  background: #fff0e5;
  border-top: 4px solid var(--orange);
  border-radius: 4px 4px 0 0;
}
.ranking-team {
  display: flex;
  gap: 24px;
  align-items: center;
  min-width: 0;
}
.rank {
  font-family: inherit;
  font-weight: 800;
  color: var(--orange);
  font-size: 2.2rem;
  min-width: 35px;
}
.ranking-team h2 {
  font-size: 1.35rem;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}
.ranking-team p {
  font-size: 0.8rem;
  margin: 0 0 10px;
}
.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mini-badge .topic-icon {
  width: 29px;
  height: 29px;
  font-size: 1.25rem;
}
.rank-score {
  text-align: center;
}
.rank-score > span {
  display: none;
}
.rank-score strong {
  font-size: 1.4rem;
}
.rank-score.total strong {
  background: var(--turquoise);
  color: white;
  padding: 10px 14px;
  border-radius: 4px;
}
.plain-list {
  list-style: none;
  padding: 0;
}
.plain-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.plain-list span {
  color: var(--muted);
  font-size: 0.9rem;
}
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 25px;
  font-weight: 700;
}
.task-review {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.submission {
  background: var(--cream);
  padding: 20px;
  margin: 15px 0;
  border-left: 3px solid #698058;
  overflow-wrap: anywhere;
}
.prose {
  overflow-wrap: anywhere;
  line-height: 1.85;
}
.closing {
  background: #f2fbd7;
  padding: 30px;
  border-radius: 4px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 700;
  padding: 8px 0;
}
pre {
  font-size: 0.8rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 600px;
}
.break-all {
  overflow-wrap: anywhere;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.maintenance {
  text-align: center;
  padding: 60px 0;
  max-width: 800px;
  margin: auto;
}
.maintenance .lead {
  margin: 0 auto 25px;
}
.maintenance-flower {
  font-size: 7rem;
  color: var(--orange);
}
.print-controls {
  padding: 30px 0;
}
.certificate {
  text-align: center;
  padding: 65px 45px;
  background: var(--paper);
  border: 8px double var(--orange);
  border-radius: 10px;
  max-width: 950px;
  margin: auto;
}
.certificate-score {
  margin: 25px;
}
.certificate-score strong {
  display: block;
  font-size: 4rem;
  line-height: 1.1;
}
.certificate .badges {
  justify-content: center;
  margin: 30px 0;
}
.task-review label {
  margin: 15px 0;
}
.brand-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  background: #f3f3f1;
  border-top: 6px solid var(--orange);
  box-shadow: 0 20px 45px rgba(51, 51, 51, 0.1);
}
.brand-topics figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 4px solid var(--lime);
  padding: 16px 16px 11px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}
.brand-topics figure:nth-child(2) {
  border-bottom-color: var(--orange);
}
.brand-topics figure:nth-child(3) {
  border-bottom-color: var(--green);
}
.brand-topics figure:nth-child(4) {
  border-bottom-color: var(--turquoise);
}
.brand-topics .topic-icon {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 4px;
}
.brand-topics .topic-icon img {
  object-fit: contain;
}
.brand-topics figcaption {
  padding: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}
@media (max-width: 1050px) {
  .site-header {
    align-items: flex-start;
    padding: 24px;
  }
  .brand {
    max-width: 120px;
  }
  .brand img {
    width: 120px;
  }
  nav {
    gap: 8px 14px;
  }
  .unlock-panel {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 36px;
  }
  .split-page {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  main {
    padding: 0 20px 45px;
  }
  .site-header {
    padding: 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .site-header nav {
    justify-content: flex-start;
    gap: 6px 17px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 24px;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .brand-topics figure,
  .brand-topics .topic-icon {
    min-height: 150px;
  }
  .steps ol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .split-page {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 24px;
  }
  .paper {
    padding: 24px 20px;
  }
  .team-intro {
    padding-top: 35px;
    gap: 15px;
    align-items: flex-start;
  }
  .team-intro h1 {
    font-size: 2.4rem;
  }
  .score-stamp {
    height: 95px;
    width: 95px;
    margin-top: 30px;
  }
  .score-stamp strong {
    font-size: 1.9rem;
  }
  .score-stamp span {
    font-size: 0.62rem;
  }
  .score-line {
    gap: 10px 20px;
    font-size: 0.77rem;
  }
  .score-line a {
    margin-left: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .unlock-panel {
    padding: 25px 20px;
    gap: 15px;
  }
  .unlock-panel form {
    flex-wrap: wrap;
  }
  .unlock-panel .field {
    flex-basis: 100%;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module-card {
    padding: 24px;
  }
  .metrics {
    gap: 15px;
  }
  .metrics strong {
    font-size: 2rem;
  }
  .metrics span {
    font-size: 0.76rem;
  }
  .ranking-header {
    display: none;
  }
  .ranking-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    padding: 20px;
  }
  .ranking-team {
    grid-column: 1/-1;
    gap: 15px;
  }
  .rank-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .rank-score > span {
    display: block;
    font-size: 0.7rem;
  }
  .rank-score strong {
    font-size: 1.2rem;
    padding: 8px;
  }
  .page-heading {
    padding: 35px 0 15px;
  }
  .site-footer {
    padding: 25px 20px;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-copy,
  .footer-links {
    justify-self: start;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .certificate {
    padding: 35px 20px;
  }
  .certificate h1 {
    font-size: 2.6rem;
  }
  .actions {
    gap: 14px;
  }
  .lead {
    font-size: 1.02rem;
  }
  .plain-list span {
    width: 100%;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .team-intro {
    flex-wrap: wrap;
  }
  .score-stamp {
    margin: 0;
  }
  .module-bottom {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .print-controls,
  .skip-link,
  .notice {
    display: none;
  }
  body,
  main {
    background: white;
    margin: 0;
    padding: 0;
    max-width: none;
  }
  .certificate {
    border: 4px double #ff6d00;
    border-radius: 0;
    padding: 25mm 10mm;
    max-width: none;
    break-inside: avoid;
  }
  .certificate h1 {
    font-size: 34pt;
  }
  @page {
    size: A4;
    margin: 12mm;
  }
}
