:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe4ee;
  --paper: #ffffff;
  --paper-soft: #f5f8fc;
  --blue: #1167b1;
  --blue-strong: #064b8a;
  --cyan: #18a8d8;
  --aqua: #e6f7fc;
  --green: #0f9f6e;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 42px rgba(15, 23, 42, 0.08);
  --radius-lg: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(24, 168, 216, 0.13), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #eef5fb 42%, #ffffff 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 103, 177, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 103, 177, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
  z-index: -1;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.82);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a:not(.btn):hover {
  color: var(--blue);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.95);
  border: 1px solid rgba(219, 228, 238, 0.95);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.lang-switch a {
  opacity: 0.72;
}

.lang-switch a.active {
  color: var(--blue);
  opacity: 1;
}

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

.mobile-lang {
  display: none;
}

.desktop-lang {
  display: inline-flex;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(219, 228, 238, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 9px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  border-radius: 999px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 28px rgba(17, 103, 177, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-strong);
  box-shadow: 0 18px 38px rgba(17, 103, 177, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(17, 103, 177, 0.18);
}

.btn-secondary:hover {
  border-color: rgba(17, 103, 177, 0.4);
  background: white;
  transform: translateY(-2px);
}

.btn-plain {
  background: transparent;
  color: var(--ink-soft);
  border-color: rgba(219, 228, 238, 0.95);
}

/* Hero */

.hero {
  padding: 76px 0 72px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.72fr);
  gap: 38px;
  align-items: stretch;
  min-height: 680px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 20% 18%, rgba(24, 168, 216, 0.15), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 252, 0.96));
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 238, 0.92);
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 28px 0 28px 30px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(230, 247, 252, 0.94);
  color: var(--blue-strong);
  border: 1px solid rgba(24, 168, 216, 0.24);
  font-size: 0.92rem;
  font-weight: 850;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(15, 159, 110, 0.12);
}

h1 {
  font-size: clamp(2.65rem, 5.15vw, 5.05rem);
  line-height: 0.99;
  letter-spacing: -0.075em;
  margin: 0 0 28px;
  color: #071225;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 18px;
}

.hero-claim {
  margin: 0 0 34px;
  padding-left: 18px;
  border-left: 4px solid var(--cyan);
  color: var(--blue-strong);
  font-size: 1.08rem;
  font-weight: 850;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-points span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(219, 228, 238, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 75, 138, 0.08), rgba(6, 75, 138, 0.32)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=85") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(15, 23, 42, 0.34));
}

.hero-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.outcome-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.outcome-badge {
  color: var(--green);
  background: rgba(15, 159, 110, 0.1);
  border: 1px solid rgba(15, 159, 110, 0.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.mini-flow {
  display: grid;
  gap: 9px;
}

.mini-flow-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 15px;
  background: rgba(245, 248, 252, 0.94);
  border: 1px solid rgba(219, 228, 238, 0.92);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.mini-flow-row strong {
  color: var(--blue);
  font-size: 0.84rem;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-stat {
  padding: 12px;
  border-radius: 16px;
  background: rgba(230, 247, 252, 0.72);
  border: 1px solid rgba(24, 168, 216, 0.18);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}

/* Sections */

section {
  padding: 78px 0;
}

.section-header {
  max-width: 880px;
  margin-bottom: 38px;
}

.section-kicker {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

/* Human / philosophy */

.human-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
}

.human-card {
  background: white;
  border: 1px solid rgba(219, 228, 238, 0.92);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.human-card.featured {
  background:
    radial-gradient(circle at 18% 18%, rgba(24, 168, 216, 0.18), transparent 32%),
    linear-gradient(135deg, #083763, #1167b1);
  color: white;
  border-color: rgba(17, 103, 177, 0.3);
}

.human-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.human-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.human-card p:last-child {
  margin-bottom: 0;
}

.human-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.human-points {
  display: grid;
  gap: 14px;
}

.point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(245, 248, 252, 0.92);
  border: 1px solid rgba(219, 228, 238, 0.92);
}

.point span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--blue);
  font-weight: 950;
}

.point strong {
  display: block;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Diagrams */

.diagram-shell {
  background: white;
  border: 1px solid rgba(219, 228, 238, 0.92);
  border-radius: 34px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.process-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.diagram-node {
  position: relative;
  min-height: 170px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(219, 228, 238, 0.94);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.diagram-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 950;
  z-index: 2;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white;
}

.diagram-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--aqua);
  color: var(--blue);
  font-size: 1.28rem;
  margin-bottom: 16px;
}

.diagram-node h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.diagram-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.diagram-node.outcome-node {
  background:
    radial-gradient(circle at 18% 18%, rgba(24, 168, 216, 0.18), transparent 34%),
    linear-gradient(135deg, #083763, #1167b1);
  color: white;
  border-color: rgba(17, 103, 177, 0.28);
}

.diagram-node.outcome-node p {
  color: rgba(255, 255, 255, 0.82);
}

.diagram-node.outcome-node .diagram-icon {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 228, 238, 0.92);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 260px;
  box-shadow: var(--shadow-soft);
  transition: 0.22s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -56px auto;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(24, 168, 216, 0.12);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 103, 177, 0.28);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.13);
}

.icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(230, 247, 252, 1), rgba(255, 255, 255, 1));
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 22px;
  border: 1px solid rgba(24, 168, 216, 0.2);
  box-shadow: 0 12px 28px rgba(17, 103, 177, 0.08);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

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

/* Result band */

.method-band {
  border-radius: 38px;
  background: linear-gradient(135deg, #083763, #1167b1 58%, #18a8d8);
  color: white;
  padding: 58px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.method-band::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -140px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.method-band .section-header {
  position: relative;
  margin-bottom: 36px;
}

.method-band .section-kicker,
.method-band .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.method-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(8px);
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* Areas */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.area-card {
  position: relative;
  border: 1px solid rgba(219, 228, 238, 0.92);
  border-radius: 30px;
  padding: 30px;
  background: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.area-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.area-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--aqua);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.area-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.035em;
  font-size: 1.28rem;
}

.area-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.82rem;
  font-weight: 750;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-strong);
  background: var(--aqua);
  border: 1px solid rgba(24, 168, 216, 0.18);
}

/* Knowledge */

.knowledge-band {
  border-radius: 38px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(230, 247, 252, 0.82) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=85") center right / cover no-repeat;
  border: 1px solid rgba(219, 228, 238, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 54px;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.knowledge-list {
  display: grid;
  gap: 12px;
}

.knowledge-item {
  padding: 15px 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 228, 238, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.knowledge-item strong {
  color: var(--blue);
}

.source-diagram {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.42fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.source-box,
.result-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(219, 228, 238, 0.92);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.source-pill,
.result-pill {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(245, 248, 252, 0.94);
  border: 1px solid rgba(219, 228, 238, 0.92);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 720;
}

.source-pill span,
.result-pill span {
  color: var(--blue);
  font-weight: 900;
}

.engine-box {
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #083763, #1167b1);
  color: white;
  box-shadow: 0 24px 60px rgba(17, 103, 177, 0.25);
  position: relative;
}

.engine-box::before,
.engine-box::after {
  content: "→";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.engine-box::before {
  left: -25px;
}

.engine-box::after {
  right: -25px;
}

.engine-box h3 {
  margin: 0 0 8px;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.engine-box p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.92rem;
}

/* SEO text */

.seo-content {
  background: white;
  border-radius: 34px;
  border: 1px solid rgba(219, 228, 238, 0.92);
  padding: 42px;
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
}

.seo-content h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 18px;
}

.seo-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.seo-columns h3 {
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

.seo-columns p {
  margin: 0;
}

/* CTA */

.cta {
  padding: 70px 0 92px;
}

.cta-box {
  border-radius: 40px;
  padding: 58px 52px;
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 168, 216, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, #eaf6fb);
  border: 1px solid rgba(24, 168, 216, 0.2);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  margin: 0 0 18px;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.cta-box p {
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}

/* Footer */

footer {
  border-top: 1px solid rgba(219, 228, 238, 0.92);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.92rem;
  background: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-links a,
.footer-links button {
  color: var(--blue);
  font-weight: 750;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Cookies */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 980px);
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(219, 228, 238, 0.96);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  padding: 18px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cookie-banner h2 {
  font-size: 1rem;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

/* Legal modals */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.54);
  display: none;
  padding: 24px;
  overflow-y: auto;
}

.modal-backdrop.show {
  display: grid;
  place-items: start center;
}

.legal-modal {
  width: min(100%, 860px);
  margin: 40px auto;
  background: white;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(219, 228, 238, 0.95);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(219, 228, 238, 0.95);
  background: linear-gradient(135deg, #f9fcff, #eef7fb);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.modal-close {
  border: 0;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--ink-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.modal-body {
  padding: 28px;
  color: var(--ink-soft);
}

.modal-body h3 {
  color: var(--ink);
  margin: 24px 0 8px;
  letter-spacing: -0.025em;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p,
.modal-body li {
  color: var(--ink-soft);
}

.modal-body ul {
  padding-left: 20px;
}

/* Responsive */

@media (max-width: 1120px) {
  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 28px 18px 0;
    max-width: 860px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

  .knowledge-grid,
  .human-grid {
    grid-template-columns: 1fr;
  }

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

  .diagram-node:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .areas-grid,
  .seo-columns {
    grid-template-columns: 1fr;
  }

  .source-diagram {
    grid-template-columns: 1fr;
  }

  .engine-box::before,
  .engine-box::after {
    display: none;
  }

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

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  header {
    position: sticky;
  }

  .nav {
    height: 70px;
    position: relative;
  }

  .brand-logo {
    height: 36px;
    max-width: 170px;
  }

  .mobile-header-actions {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-lang {
    display: inline-flex;
  }

  .desktop-lang {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    z-index: 60;
    padding: 18px;
    border: 1px solid rgba(219, 228, 238, 0.95);
    border-radius: 0 0 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  }

  .nav-links.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-links a:not(.btn) {
    padding: 10px 4px;
    color: var(--ink);
    font-size: 1rem;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 4px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-shell,
  .method-band,
  .knowledge-band,
  .cta-box,
  .diagram-shell {
    border-radius: 28px;
  }

  .hero-shell {
    padding: 18px;
  }

  .hero-content {
    padding: 22px 6px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4rem);
  }

  .hero-visual {
    min-height: 610px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .mini-flow-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hero-stat-row {
    grid-template-columns: 1fr;
  }

  .cards,
  .method-grid,
  .process-diagram {
    grid-template-columns: 1fr;
  }

  .method-band,
  .knowledge-band,
  .cta-box,
  .seo-content,
  .diagram-shell {
    padding: 34px 24px;
  }

  section {
    padding: 56px 0;
  }

  .footer-content {
    display: grid;
  }

  .legal-modal {
    margin: 10px auto;
    border-radius: 22px;
  }

  .modal-body {
    padding: 22px;
  }
}
