:root {
  --ink: #242326;
  --muted: #657077;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #55aeb8;
  --teal-dark: #287f88;
  --cyan: #27b8e8;
  --gold: #d8a63d;
  --rose: #d95d75;
  --line: #dce8e7;
  --shadow: 0 22px 60px rgba(36, 35, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-link {
  border-radius: 999px;
  padding: 0.48rem 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(85, 174, 184, 0.14);
  color: var(--teal-dark);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.35rem, 5.8vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede,
.page-hero p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-subtitle {
  max-width: 56ch;
  margin: 1.1rem 0 0;
  color: var(--teal-dark);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-author {
  margin: 1.4rem 0 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.hero-author span {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
}

.partner-logos img {
  width: auto;
  max-width: min(280px, 100%);
  max-height: 72px;
  object-fit: contain;
}

.partner-logos img:last-child {
  max-height: 58px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal-dark);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(85, 174, 184, 0.2), rgba(216, 166, 61, 0.1)),
    var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(420px, 100%);
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-band,
.page-layout {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.hero + .content-band,
.content-band + .content-band {
  border-top: 1px solid var(--line);
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.summary-band .section-heading {
  padding-top: 0.15rem;
}

.summary-band .executive p:first-child {
  margin-top: 0;
}

.section-heading h2,
.visual-band h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.visual-band img {
  width: 100%;
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

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

.section-card {
  min-height: 160px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.section-card:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 174, 184, 0.65);
  box-shadow: var(--shadow);
}

.section-card span {
  display: block;
  font-weight: 900;
}

.section-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.content-block {
  margin: 0 0 2rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.feature-list p,
.contact-fields span {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

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

.stat-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stat-card strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-weight: 700;
}

.cta-band,
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.cta-band h2,
.cta-inline h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
}

.contact-panel {
  background: #ffffff;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 850;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(85, 174, 184, 0.24);
  border-color: var(--teal);
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(85, 174, 184, 0.18), rgba(216, 166, 61, 0.12)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
}

.page-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.section-index {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.25rem;
}

.section-index p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index .nav-link {
  border-radius: 8px;
}

.prose {
  font-size: 1.02rem;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.1rem;
}

.document-section {
  padding: clamp(1.2rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.document-section h2 {
  margin: 2.1rem 0 0.8rem;
  color: var(--teal-dark);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.document-section h3 {
  margin: 1.8rem 0 0.8rem;
  color: var(--ink);
  font-size: 1.18rem;
}

blockquote {
  margin: 1.4rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: rgba(85, 174, 184, 0.12);
  color: #26363a;
  font-weight: 700;
}

.figure-panel {
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 18px 40px rgba(36, 35, 38, 0.12);
}

.figure-panel img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}

.figure-panel figcaption {
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.method-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.method-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(85, 174, 184, 0.16);
  color: var(--teal-dark);
  font-weight: 900;
}

.method-step p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

td {
  padding: 0.75rem;
  border: 1px solid var(--line);
  vertical-align: top;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1020px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero,
  .summary-band,
  .visual-band,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 240px;
  }

  .section-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 13rem;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .site-nav.open,
  .card-grid,
  .section-index,
  .stat-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .method-step {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
