:root {
  --ink: #142326;
  --muted: #5d7378;
  --teal: #178794;
  --accent: #277c8e;
  --accent-dark: #175b68;
  --gold: #d59d5b;
  --bg: #eef7f7;
  --panel: #ffffff;
  --line: #d7e4e5;
  --danger: #9d2d2d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.site-shell {
  min-height: 100vh;
}

a {
  color: var(--teal);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 32, 38, 0.1);
  background: rgba(238, 247, 247, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav .nav-highlight {
  color: var(--accent-dark);
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.language-link {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.shell,
.report-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.compact {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
}

.logo,
.report-logo {
  width: 158px;
  height: auto;
}

.toplink {
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: 32px;
  align-items: start;
}

.hero-copy {
  padding-top: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
}

h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span,
.feature-grid div,
.score-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip span {
  padding: 12px 14px;
  font-weight: 700;
}

.audit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(20, 35, 38, 0.08);
}

label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 700;
}

label span {
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bfd1d3;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(23, 135, 148, 0.18);
  border-color: var(--teal);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 400;
}

.consent input {
  margin-top: 3px;
}

.button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
}

.button-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.audit-form .button {
  width: 100%;
  min-height: 46px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.form-error {
  border-left: 4px solid var(--danger);
  background: #fff1f1;
  color: var(--danger);
  padding: 10px 12px;
}

.form-footnote,
.muted-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section {
  margin-top: 42px;
}

.feature-grid,
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid div,
.score-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
}

.feature-grid span,
.score-card span,
.finding-list span,
.section p {
  color: var(--muted);
}

.comparison {
  overflow-x: auto;
}

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

th,
td {
  border: 1px solid var(--line);
  padding: 13px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #e3f1f1;
}

.success,
.scope-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.report-page {
  background: #f6fbfb;
}

.report-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-bottom: 3px solid var(--gold);
  background: var(--panel);
  padding: 26px;
}

.report-hero h1 {
  font-size: clamp(30px, 6vw, 54px);
}

.overall-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--teal);
  font-weight: 800;
}

.overall-score span {
  font-size: 64px;
  line-height: 1;
}

.finding-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.finding-list li {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: var(--panel);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  width: auto;
  margin: 0;
}

.cookie-banner[data-visible="true"] {
  display: block;
}

.cookie-inner {
  width: min(980px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(20, 32, 38, 0.08);
  padding: 18px;
}

.cookie-inner p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.45fr);
  gap: 44px;
  align-items: start;
}

.footer-brand {
  max-width: 420px;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.footer-link-group h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link-group a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-link-group a:hover {
  color: var(--accent-dark);
}

.footer-note {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.55;
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero,
  .two-col,
  .report-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .score-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .main-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 24px 70px rgba(20, 32, 38, 0.08);
    padding: 8px;
  }

  .main-nav a {
    padding: 12px;
  }

  .site-header[data-menu-open="true"] .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .footer-link-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-text {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .language-link {
    min-height: 38px;
    padding: 8px 10px;
  }

  .header-brief-button {
    display: none;
  }

  .footer-link-groups {
    grid-template-columns: 1fr;
  }
}
