:root {
  color-scheme: only light;
  --bg: #f7faf8;
  --paper: #ffffff;
  --ink: #101820;
  --muted: #65717a;
  --line: #dce4e8;
  --line-strong: #c7d1d7;
  --blue: #276ef1;
  --teal: #10b7a7;
  --lime: #9ee82f;
  --soft-blue: #eaf3ff;
  --soft-teal: #e8fbf5;
  --soft-lime: #f0f8d9;
  --max: 1160px;
  --text-small: 0.8rem;
  --text-body: 1.12rem;
  --text-card: 1.28rem;
  --text-title: 1.55rem;
  --text-display: clamp(2.2rem, 4vw, 3.4rem);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(16, 183, 167, 0.12), transparent 24rem),
    radial-gradient(circle at 8% 46%, rgba(39, 110, 241, 0.08), transparent 22rem),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--text-body);
  overflow-x: hidden;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--ink);
  font-size: var(--text-body);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
}

.language-switcher {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.lang-btn {
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.lang-btn:hover {
  background: rgba(16, 24, 32, 0.06);
  color: var(--ink);
}

.lang-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font: 800 var(--text-small) var(--mono);
  cursor: pointer;
}

.lang-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-copy,
.report-card,
.module-card,
.contact-section > div {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--teal);
  font: 900 var(--text-title) / 1.05 var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: var(--text-display);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  margin-bottom: 0;
  font-size: var(--text-display);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.contact-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.62;
  max-width: 100%;
  overflow-wrap: break-word;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-align: center;
}

.report-card,
.module-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(16, 24, 32, 0.08);
}

.report-card {
  padding: 1.15rem;
}

.report-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font: 800 var(--text-small) var(--mono);
  overflow-wrap: anywhere;
}

.report-header strong {
  color: var(--blue);
  overflow-wrap: anywhere;
}

.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.report-row:first-of-type {
  border-top: 0;
}

.report-row span {
  color: var(--muted);
}

.report-row strong {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--text-display);
  line-height: 1;
}

.report-row em {
  border-radius: 999px;
  padding: 0.45rem 0.6rem;
  background: var(--soft-blue);
  color: var(--blue);
  font: 900 var(--text-small) var(--mono);
  font-style: normal;
}

.report-row.highlight em {
  background: var(--soft-teal);
  color: var(--teal);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}

.focus-section .eyebrow {
  margin-bottom: 1.15rem;
}

.module-card span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--teal);
  font: 900 var(--text-small) var(--mono);
  text-transform: uppercase;
}

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

.module-card {
  min-height: 15rem;
  padding: 1.15rem;
  box-shadow: none;
}

.module-card span {
  margin-bottom: 3rem;
}

.module-card h3 {
  margin-bottom: 0.7rem;
  font-size: var(--text-card);
  font-weight: 900;
  line-height: 1.1;
}

.module-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--muted);
  font: 800 var(--text-small) var(--mono);
}

@media (max-width: 900px) {
  .hero,
  .modules,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 0.8rem;
  }

  h1,
  h2 {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --text-small: 0.74rem;
    --text-body: 1rem;
    --text-card: 1.12rem;
    --text-title: 1.28rem;
    --text-display: clamp(1.85rem, 9vw, 2.25rem);
  }

  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100% - 20px));
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.85rem 0;
  }

  .language-switcher {
    justify-content: flex-start;
    justify-self: start;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .lang-btn {
    padding: 0.55rem 0.62rem;
  }

  .hero {
    gap: 1.5rem;
    padding: 2.5rem 0 2rem;
  }

  h1,
  h2 {
    max-width: 100%;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .report-card,
  .modules,
  .focus-section .eyebrow,
  .contact-section > div {
    width: 100%;
    max-width: 23rem;
    margin-right: auto;
    margin-left: 0;
  }

  .hero-copy p:not(.eyebrow),
  .contact-section p:not(.eyebrow) {
    overflow-wrap: break-word;
  }

  .report-card,
  .module-card {
    box-shadow: 0 10px 32px rgba(16, 24, 32, 0.07);
  }

  .report-card,
  .module-card {
    padding: 1rem;
  }

  .report-header {
    display: block;
  }

  .report-header strong {
    display: block;
    margin-top: 0.35rem;
  }

  .report-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .report-row em {
    justify-self: start;
    padding: 0.38rem 0.52rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .module-card {
    min-height: auto;
  }

  .module-card span {
    margin-bottom: 1.4rem;
  }

  .contact-section {
    gap: 1.25rem;
  }

  .button {
    width: 100%;
  }

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