:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #52616b;
  --line: #d9e2e8;
  --surface: #ffffff;
  --soft: #f5f8f7;
  --accent: #0b6b5c;
  --accent-strong: #08483f;
  --warning: #ad4d00;
  --critical: #b42318;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a,
.language {
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--muted);
}

.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 88px) clamp(18px, 6vw, 80px) 40px;
  background:
    linear-gradient(115deg, rgba(11, 107, 92, 0.11), rgba(255, 255, 255, 0) 52%),
    linear-gradient(0deg, #ffffff, #f4faf8);
}

.eyebrow,
.trust,
.disclosure {
  color: var(--muted);
  font-size: 0.94rem;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.hero-actions,
.partner-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  background: white;
  color: var(--accent-strong);
}

.hero-panel,
.result,
.partner-card,
pre,
.ad-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hero-panel {
  padding: 24px;
  box-shadow: 0 24px 60px rgba(23, 32, 38, 0.1);
}

.risk-meter {
  height: 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #e6ecea;
  overflow: hidden;
}

.risk-meter span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--warning), var(--critical));
}

.hero-panel ul,
.priority-list {
  padding-left: 20px;
  margin-bottom: 0;
}

.hero-panel li {
  margin: 12px 0;
}

.hero-panel strong {
  display: block;
  color: var(--critical);
}

.section {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.scanner {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(320px, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: start;
}

.scan-form {
  display: grid;
  gap: 16px;
}

.scan-form label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
select:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(11, 107, 92, 0.32);
  outline-offset: 2px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-card {
  display: flex;
  gap: 10px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.check-card input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.check-card small,
.check-card em,
.check-card mark,
.copy-help {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.check-card mark {
  width: fit-content;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f3ef;
  color: var(--accent-strong);
  font-style: normal;
}

.result {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 240px;
}

.result strong {
  display: block;
  margin-bottom: 8px;
}

.result h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.result ul {
  padding-left: 18px;
}

.result .button {
  width: fit-content;
}

.split,
.template-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--soft);
}

.priority-list li {
  margin-bottom: 14px;
}

pre {
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.partners {
  background: white;
}

.section-copy {
  max-width: 760px;
}

.partner-grid {
  margin-top: 22px;
}

.partner-card {
  flex: 1 1 240px;
  padding: 18px;
}

.ad-slot {
  min-height: 92px;
  display: grid;
  place-items: center;
  margin-top: 22px;
  color: var(--muted);
  background: #f8faf9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .scanner,
  .split,
  .template-section {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }
}
