:root {
  --ink: #161719;
  --ink-soft: #3f4247;
  --muted: #6a6e75;
  --paper: #f8f8f6;
  --paper-2: #ededeb;
  --line: #d6d7d6;
  --line-dark: #383b40;
  --panel: #ffffff;
  --graphite: #111315;
  --graphite-2: #202327;
  --aqua: #30c7b5;
  --aqua-dark: #128879;
  --gold: #c49a42;
  --rose: #9d4050;
  --focus: #0b6bd3;
  --shadow: 0 18px 48px rgba(17, 19, 21, 0.16);
  --shadow-soft: 0 10px 28px rgba(17, 19, 21, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body,
button,
input,
textarea {
  font: 16px/1.5 "Avenir Next", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration-color: rgba(18, 136, 121, 0.55);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--aqua-dark);
}

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

img {
  max-width: 100%;
  display: block;
}

code {
  border-radius: 4px;
  background: rgba(17, 19, 21, 0.07);
  padding: 1px 5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(248, 248, 246, 0.9);
  border-bottom: 1px solid rgba(214, 215, 214, 0.88);
  backdrop-filter: blur(14px);
}

.brand-link {
  flex: 0 0 auto;
  width: 164px;
}

.brand-logo {
  width: 164px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(48, 199, 181, 0.1);
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  background: rgba(48, 199, 181, 0.14);
  color: var(--ink);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: max(620px, calc(100vh - 154px));
  min-height: max(620px, calc(100svh - 154px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f8fbfa;
  background: var(--graphite);
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 1;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.96), rgba(17, 19, 21, 0.74) 42%, rgba(17, 19, 21, 0.24)),
    linear-gradient(180deg, rgba(17, 19, 21, 0.18), rgba(17, 19, 21, 0.94));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: 76px;
  font-weight: 650;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(248, 251, 250, 0.84);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 0 18px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--aqua);
  background: var(--aqua);
  color: #07110f;
}

.button.secondary {
  border-color: rgba(248, 251, 250, 0.52);
  background: rgba(248, 251, 250, 0.08);
  color: #f8fbfa;
}

.button:hover {
  filter: brightness(0.96);
}

.hero-facts {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 52px 0 0;
}

.hero-facts div {
  min-height: 112px;
  border: 1px solid rgba(248, 251, 250, 0.22);
  border-radius: 8px;
  background: rgba(17, 19, 21, 0.55);
  padding: 18px;
}

.hero-facts dt {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: rgba(248, 251, 250, 0.82);
  font-size: 15px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #2c2f33;
  border-bottom: 1px solid #2c2f33;
  background: #1d2024;
  color: #edf0ef;
}

.status-strip div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  border-right: 1px solid #34383d;
  padding: 14px 24px;
  font-size: 14px;
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip strong {
  color: var(--aqua);
}

.section {
  --section-bg: var(--paper);
  padding: 86px 0;
  background: var(--section-bg);
  border-bottom: 1px solid rgba(214, 215, 214, 0.78);
}

.section:nth-of-type(2n + 1) {
  --section-bg: var(--paper-2);
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section h2 {
  max-width: 850px;
  font-size: 46px;
  font-weight: 650;
}

.section h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.section p {
  color: var(--ink-soft);
}

.lead {
  max-width: 840px;
  margin: 18px 0 0;
  font-size: 19px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.section.summary-section {
  --section-bg: #fbfbfa;
}

.copy-panel,
.source-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.copy-panel p {
  margin-top: 0;
  font-size: 16px;
}

.copy-button {
  margin-top: 10px;
}

.step-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.step-card,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.step-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.step-index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aqua-dark);
  border-radius: 999px;
  color: var(--aqua-dark);
  font-weight: 800;
}

.step-card p,
.legal-block p {
  margin: 0;
}

.section.safety-section {
  --section-bg: #101214;
  color: #f8fbfa;
  border-bottom-color: #292d31;
}

.safety-section p,
.safety-section h2 {
  color: #f8fbfa;
}

.safety-section .eyebrow {
  color: #82f2e5;
}

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

.safety-list li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid #c44d61;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px 20px;
  color: #f5f8f7;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-block {
  min-height: 210px;
}

.legal-block h3,
.privacy-table h3,
.source-panel h3 {
  color: var(--ink);
}

.privacy-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-table > div {
  background: var(--panel);
  padding: 22px;
}

.privacy-table p {
  margin: 10px 0 0;
}

.section.ai-section {
  --section-bg: #eef8f6;
}

.section.realization-teaser-section {
  --section-bg: #f8f8f6;
}

.section.service-section {
  --section-bg: #f8f8f6;
}

.teaser-panel {
  border-left: 5px solid var(--aqua-dark);
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.teaser-panel p {
  margin-top: 0;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.service-card h3,
.service-card p {
  margin: 0;
}

.service-card h3 {
  color: var(--ink);
}

.service-cta {
  margin: 26px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.case-hero {
  min-height: max(600px, calc(100vh - 72px));
  min-height: max(600px, calc(100svh - 72px));
  align-items: center;
}

.legal-hero {
  min-height: max(560px, calc(100vh - 72px));
  min-height: max(560px, calc(100svh - 72px));
  align-items: center;
}

.case-hero .hero-content {
  padding: 68px 0 52px;
}

.legal-hero .hero-content {
  padding: 68px 0 52px;
}

.case-facts {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 52px 0 0;
}

.case-facts div {
  min-height: 126px;
  border: 1px solid rgba(248, 251, 250, 0.22);
  border-radius: 8px;
  background: rgba(17, 19, 21, 0.55);
  padding: 18px;
}

.case-facts dt {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  color: rgba(248, 251, 250, 0.82);
  font-size: 15px;
}

.case-summary-grid,
.media-grid,
.tech-grid,
.publication-grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.case-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-grid,
.tech-grid,
.publication-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-summary-card,
.media-card,
.tech-card,
.publication-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.case-summary-card p,
.media-card p,
.tech-card p,
.publication-grid p {
  margin: 10px 0 0;
}

.case-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.case-feature {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.case-feature span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aqua-dark);
  border-radius: 999px;
  color: var(--aqua-dark);
  font-weight: 800;
}

.case-feature p {
  margin: 10px 0 0;
}

.section.media-section {
  --section-bg: #111315;
  color: #f8fbfa;
  border-bottom-color: #292d31;
}

.media-section h2,
.media-section h3,
.media-section .lead,
.media-section p {
  color: #f8fbfa;
}

.media-section .eyebrow {
  color: #82f2e5;
}

.media-section code {
  background: rgba(248, 251, 250, 0.14);
  color: #f8fbfa;
}

.media-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.section.tech-section {
  --section-bg: #eef8f6;
}

.section.narrative-section {
  --section-bg: #f8f8f6;
}

.section.publication-section {
  --section-bg: #ededeb;
}

.section.case-cta-section {
  --section-bg: #f8f8f6;
}

.section.legal-page-section {
  --section-bg: #f8f8f6;
}

.section.privacy-www-section {
  --section-bg: #ededeb;
}

.section.cookies-section {
  --section-bg: #111315;
  color: #f8fbfa;
  border-bottom-color: #292d31;
}

.cookies-section h2,
.cookies-section p {
  color: #f8fbfa;
}

.cookies-section .eyebrow {
  color: #82f2e5;
}

.notice-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--aqua);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.notice-panel p {
  margin: 0;
}

.notice-panel p + p {
  margin-top: 16px;
}

.section.acceptance-section {
  --section-bg: #eef8f6;
}

.section.sources-section {
  --section-bg: #f8f8f6;
}

.case-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid #2a2d31;
  border-radius: 8px;
  background: var(--graphite);
  color: #f8fbfa;
  padding: 34px;
  box-shadow: var(--shadow);
}

.case-cta-panel h2,
.case-cta-panel p {
  color: #f8fbfa;
}

.case-cta-panel p {
  max-width: 760px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.section.contact-section {
  --section-bg: var(--paper);
}

.source-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 42px 24px;
  background: var(--graphite);
  color: rgba(248, 251, 250, 0.72);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  font-size: 14px;
}

.footer-symbol {
  width: 42px;
  height: auto;
  filter: invert(1);
  opacity: 0.85;
}

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

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

  .hero {
    min-height: max(560px, calc(100vh - 178px));
    min-height: max(560px, calc(100svh - 178px));
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-facts,
  .case-facts,
  .status-strip,
  .step-grid,
  .service-grid,
  .case-summary-grid,
  .media-grid,
  .tech-grid,
  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body,
  button,
  input,
  textarea {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand-link,
  .brand-logo {
    width: 138px;
  }

  .site-nav a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 14px;
  }

  .hero {
    min-height: max(480px, calc(100vh - 190px));
    min-height: max(480px, calc(100svh - 190px));
  }

  .hero-content,
  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding: 46px 0 30px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .section h2 {
    font-size: 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .hero-facts,
  .case-facts,
  .status-strip,
  .step-grid,
  .service-grid,
  .case-summary-grid,
  .media-grid,
  .tech-grid,
  .publication-grid,
  .legal-grid,
  .privacy-table {
    grid-template-columns: 1fr;
  }

  .case-facts {
    margin-top: 34px;
  }

  .case-feature {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-cta-panel {
    padding: 24px;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid #34383d;
  }

  .status-strip div:last-child {
    border-bottom: 0;
  }

  .legal-block,
  .step-card,
  .service-card,
  .case-summary-card,
  .media-card,
  .tech-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
