:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #18201d;
  --muted: #53605b;
  --line: #d7ddd7;
  --primary: #0f6a5b;
  --primary-dark: #0a4d43;
  --accent: #b7791f;
  --focus: #0b74de;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header,
.hero,
.details,
.audience,
.disclaimer,
.faq,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: currentColor;
  mask: url("/assets/declira_logo.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/declira_logo.svg") center / contain no-repeat;
}

.brand-mark--green {
  color: var(--primary);
}

.brand-mark--white {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer .brand-mark {
  width: 22px;
  height: 22px;
}

.language-nav {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.language-nav a {
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.legal-lang-switcher {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-lang-switcher a {
  text-decoration: none;
}

.legal-lang-switcher a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 176px);
  padding: 32px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.proof {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.proof span,
.details p,
.audience-list,
.disclaimer p,
.faq-item p {
  color: var(--muted);
}

.details,
.audience,
.disclaimer,
.faq {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.faq {
  padding-bottom: 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.detail {
  padding-right: 20px;
}

.detail h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.detail p,
.disclaimer p,
.faq-item p {
  margin: 0;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding-left: 20px;
}

.audience-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.disclaimer p {
  max-width: 780px;
  font-size: 1.05rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a,
.footer-link-button {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-link-button:hover,
.legal-meta a:hover,
.legal-toc a:hover {
  color: var(--primary-dark);
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-link-button:focus-visible,
.privacy-consent__button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.privacy-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 20;
}

.privacy-consent__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(24, 32, 29, 0.16);
}

.privacy-consent__panel strong {
  display: block;
  margin-bottom: 4px;
}

.privacy-consent__panel p {
  margin: 0;
  color: var(--muted);
}

.privacy-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-consent__button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.privacy-consent__button--primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.privacy-consent__button--secondary,
.privacy-consent__button--ghost {
  background: #ffffff;
  color: var(--primary-dark);
}

.legal-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-meta a {
  text-decoration: none;
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 18px 60px rgba(24, 32, 29, 0.08);
}

.legal-content h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.legal-content h3 {
  margin: 26px 0 10px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li,
.legal-content td,
.legal-content th {
  color: var(--muted);
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-toc {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
}

.legal-toc ol {
  columns: 2;
  margin: 0;
}

.legal-toc a {
  text-decoration: none;
}

.legal-table {
  overflow-x: auto;
  margin: 20px 0;
}

.legal-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

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

.legal-table th {
  background: #f8faf7;
  color: var(--ink);
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-top: 20px;
  }

  .detail-grid,
  .faq-list,
  .audience-list {
    grid-template-columns: 1fr;
  }

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

  .legal-toc ol {
    columns: 1;
  }

  .privacy-consent {
    inset: auto 12px 12px;
  }

  .privacy-consent__panel {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-consent__actions {
    flex-direction: column;
  }
}
