@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans-semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #176454;
  --ink: #20362e;
  --mint: #c5ead8;
  --paper: #f7f8f2;
  --muted: #52675e;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
::selection { color: var(--paper); background: var(--forest); }

.page-shell {
  width: min(100% - 112px, 1280px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 44px;
}

.wordmark { width: 173px; flex-shrink: 0; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  flex: 1;
  padding-block: 42px 66px;
}
.hero-copy { min-width: 0; padding-bottom: 12px; }
h1 {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(48px, 5.65vw, 82px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.055em;
}
.introduction {
  max-width: 440px;
  margin: 32px 0 0;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.55;
  letter-spacing: -.015em;
}
.supporting {
  max-width: 350px;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* A flat, abstract counter illustration. The supplied logo stays unaltered. */
.brand-illustration {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1 / 1.06;
  max-height: 560px;
  border-radius: 40px;
  background: var(--mint);
  overflow: hidden;
}
.arch { position: absolute; border-radius: 50% 50% 0 0; }
.arch-back {
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  border: 1px solid rgb(23 100 84 / 17%);
}
.arch-front {
  width: 64%;
  height: 67%;
  left: 18%;
  top: 18%;
  background: var(--paper);
}
.hero-symbol {
  position: absolute;
  width: 44%;
  left: 28%;
  top: 30%;
}
.counter-line {
  position: absolute;
  width: 76%;
  height: 10px;
  border-radius: 20px;
  background: var(--forest);
  left: 12%;
  top: 82%;
}
.counter-foot {
  position: absolute;
  width: 49%;
  height: 10px;
  border-radius: 20px;
  background: var(--forest);
  left: 25.5%;
  top: 88%;
  opacity: .2;
}
.site-footer {
  padding-block: 24px 28px;
  border-top: 1px solid #dce4da;
  color: var(--muted);
}
.site-footer small { font-size: 13px; line-height: 1.5; }

.error-main { flex: 1; max-width: 760px; padding-block: 70px 100px; }
.error-code { margin: 0 0 22px; color: var(--forest); font-weight: 600; }
.error-main h1 { font-size: clamp(42px, 6vw, 72px); }
.home-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--forest);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  padding-block: 10px;
}
.home-link:hover { text-decoration-thickness: 2px; }
.home-link:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; border-radius: 2px; }

@media (max-width: 900px) {
  .page-shell { width: min(100% - 64px, 720px); }
  .site-header { padding-block: 32px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 38px 48px; }
  h1 { font-size: clamp(48px, 8vw, 72px); }
  .introduction { max-width: 500px; }
  .brand-illustration { max-width: 560px; aspect-ratio: 1.2; max-height: none; }
  .hero-symbol { width: 35%; left: 32.5%; top: 27%; }
}

@media (max-width: 480px) {
  .page-shell { width: calc(100% - 48px); }
  .site-header { padding-block: 28px; gap: 12px; }
  .wordmark { width: 144px; }
  .status { font-size: 12px; gap: 7px; }
  .status-dot { width: 6px; height: 6px; }
  .hero { gap: 34px; padding-block: 26px 38px; }
  h1 { font-size: clamp(42px, 11vw, 53px); letter-spacing: -.055em; }
  .introduction { margin-top: 24px; font-size: 19px; }
  .supporting { margin-top: 18px; font-size: 15px; }
  .brand-illustration { border-radius: 28px; }
  .counter-line, .counter-foot { height: 6px; }
  .site-footer { padding-block: 20px 24px; }
  .error-main { padding-block: 44px 70px; }
}

@media (max-width: 350px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 18px; }
}
