:root {
  --ink: #171329;
  --muted: #5c5770;
  --cream: #fff9e9;
  --paper: #fffdf6;
  --violet: #6652c7;
  --violet-dark: #4a379f;
  --violet-pale: #ded8ff;
  --sky: #8edcff;
  --green: #5dc579;
  --border: #28203f;
  --shadow: 6px 6px 0 #28203f;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #8edcff 0 33rem, #c5eeff 33rem 36rem, #76cf86 36rem 39rem, #f8f2df 39rem);
  background-size: 24px 24px, 24px 24px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid #ffcf4b;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  background: var(--paper);
  font-weight: 800;
}

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

.site-header {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 3px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 4px 4px 0 var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0.9rem;
}

.site-nav a {
  padding: 0.25rem 0;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--violet-dark);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.shell {
  width: min(1060px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  min-height: 34rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: 5rem 0 6rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #ffef94;
  box-shadow: 3px 3px 0 var(--border);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.15rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.hero-copy {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.42rem);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.15rem;
  border: 3px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--border);
  text-decoration: none;
  font-weight: 850;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button.primary {
  color: #fff;
  background: var(--violet);
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}

.achievement-stack {
  display: grid;
  gap: 1.15rem;
  align-content: center;
  min-width: 0;
  padding: 1rem 0;
}

.achievement-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1rem;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.achievement-card:nth-child(1) {
  transform: rotate(-2deg) translateX(-0.35rem);
}

.achievement-card:nth-child(2) {
  transform: rotate(2deg) translateX(0.35rem);
}

.achievement-card > div:last-child {
  min-width: 0;
}

.achievement-icon {
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--border);
  border-radius: 14px;
  background: var(--violet-pale);
  font-size: 2rem;
}

.achievement-card p {
  margin: 0;
}

.achievement-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.achievement-title {
  font-size: 1.15rem;
  font-weight: 900;
  overflow-wrap: break-word;
}

.main-panel {
  margin-top: -1rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 3px solid var(--border);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.section + .section {
  border-top: 2px dashed #bbb1d8;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.feature {
  padding: 1.35rem;
  border: 2px solid var(--border);
  border-radius: 15px;
  background: #f5f1ff;
}

.feature:nth-child(2n) {
  background: #ecfaee;
}

.feature-number {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--violet-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.feature h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}

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

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 750;
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.page-hero .lead {
  margin-bottom: 0;
}

.document {
  max-width: 860px;
  margin: 2rem 0 5rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 3px solid var(--border);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.document h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.document h2:first-child {
  margin-top: 0;
}

.document p,
.document li {
  color: #3e394d;
}

.document a {
  color: var(--violet-dark);
  font-weight: 750;
}

.notice {
  padding: 1rem 1.15rem;
  border: 2px solid var(--border);
  border-left-width: 8px;
  border-radius: 12px;
  background: #fff4b8;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.2rem;
  border: 3px solid var(--border);
  border-radius: 15px;
  background: var(--violet-pale);
}

.contact-card p {
  margin: 0;
}

.contact-address {
  overflow-wrap: anywhere;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 900;
}

.site-footer {
  width: min(1060px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 2rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: #413b53;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-weight: 750;
}

@media (max-width: 760px) {
  body {
    background: linear-gradient(180deg, #8edcff 0 38rem, #c5eeff 38rem 41rem, #76cf86 41rem 44rem, #f8f2df 44rem);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .achievement-stack {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
  }

  .achievement-card,
  .achievement-card:nth-child(1),
  .achievement-card:nth-child(2) {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0.85rem;
    transform: none;
  }

  .achievement-icon {
    width: 3.75rem;
  }

  .achievement-title {
    font-size: 1rem;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
