:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8f5;
  color: #16211d;
  --ink: #16211d;
  --muted: #53645d;
  --line: #d9e1dc;
  --paper: #ffffff;
  --soft: #edf3ef;
  --green: #0b6f5f;
  --gold: #f0c663;
  --blue: #2f5f93;
  --score: 0%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.55;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 12px;
  padding: 8px 12px;
  position: fixed;
  top: -48px;
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 3;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 0.94rem;
}

.nav a,
.language-switch a {
  color: var(--ink);
  text-decoration: none;
}

.language-switch {
  display: flex;
  gap: 8px;
}

.language-switch a {
  border: 1px solid #c6d2cc;
  border-radius: 6px;
  padding: 5px 8px;
}

.language-switch a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  background:
    linear-gradient(120deg, rgba(18, 51, 45, 0.96), rgba(37, 82, 71, 0.9)),
    repeating-linear-gradient(45deg, rgba(240, 198, 99, 0.28) 0 2px, transparent 2px 22px);
  color: #fff;
  padding: clamp(48px, 9vw, 96px) clamp(18px, 4vw, 56px);
}

.hero-inner,
.content {
  margin: 0 auto;
  max-width: 1160px;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.eyebrow,
.section-kicker {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  line-height: 1;
  margin: 0 0 18px;
  max-width: 880px;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

h3 {
  margin: 0 0 10px;
}

.lead {
  font-size: 1.18rem;
  max-width: 780px;
}

.button,
.secondary {
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
}

.button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
}

.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-visual {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 18px;
}

.visual-card-main {
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  min-height: 132px;
  padding: 18px;
}

.visual-card-main span {
  color: var(--green);
  font-weight: 800;
}

.visual-card-main strong {
  align-self: end;
  font-size: 3.4rem;
  line-height: 1;
}

.visual-rail {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.visual-rail span {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  height: 10px;
}

.visual-rail span:nth-child(2) {
  width: 78%;
}

.visual-rail span:nth-child(3) {
  width: 58%;
}

.hero-visual ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.content {
  padding: 38px clamp(18px, 4vw, 56px) 66px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

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

.section-copy.wide {
  max-width: 920px;
}

.split {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.tool-section {
  display: grid;
  gap: 24px;
}

.diagnostic-grid,
.compare-grid,
.template-grid,
.seo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.option,
.panel,
.template-card,
.seo-card,
.email-preview,
.check-row,
.check-summary,
.tool-output,
.ad-slot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.option {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.option strong,
.option small,
.panel strong,
.panel span,
.panel em {
  display: block;
}

.option small,
.panel span,
.small {
  color: var(--muted);
}

.panel {
  color: var(--ink);
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.panel em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.tool-output {
  background: var(--soft);
}

.meter {
  background: #dce6e1;
  border-radius: 999px;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.meter::before {
  background: linear-gradient(90deg, var(--green), var(--blue), var(--gold));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: var(--score);
}

.meter span {
  color: var(--ink);
  font-weight: 800;
  inset: 0;
  position: absolute;
  text-align: center;
  line-height: 34px;
}

.result {
  background: #fff;
  border-left: 4px solid var(--green);
  margin: 16px 0;
  padding: 14px 16px;
}

.action-list {
  margin-bottom: 0;
}

.checklist {
  display: grid;
  gap: 10px;
}

.check-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.supplier-form {
  display: grid;
  gap: 12px;
}

.supplier-form label,
.email-preview {
  display: grid;
  gap: 8px;
}

input,
textarea {
  border: 1px solid #bfccc6;
  border-radius: 7px;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.template-card {
  display: grid;
  gap: 10px;
}

.ad-slot {
  color: var(--muted);
  margin: 4px 0 28px;
  min-height: 92px;
  text-align: center;
}

.consent {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 18px 48px rgba(22, 33, 29, 0.16);
  display: flex;
  gap: 14px;
  left: 18px;
  max-width: 760px;
  padding: 14px;
  position: fixed;
  right: 18px;
  z-index: 5;
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0;
}

.consent div {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  .hero-inner,
  .split,
  .consent {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

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

  .consent div {
    margin-left: 0;
  }
}
