:root {
  --page: #f4f6fb;
  --surface: #edf1f8;
  --ink: #091540;
  --muted: #596590;
  --line: #d8deeb;
  --accent: #4d6de7;
  --risk: #ff2a00;
  --white: #fbfcff;
  --radius: 16px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1240px, calc(100% - 40px));
  height: var(--header);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 156px; height: auto; }
.desktop-nav { display: flex; justify-content: center; gap: 28px; white-space: nowrap; }
.desktop-nav a, .header-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.desktop-nav a:hover, .header-link:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { color: var(--ink); }

.language { position: relative; }
.language-trigger {
  min-width: 68px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251, 252, 255, .8);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.language-trigger:active, .button:active { transform: translateY(1px); }
.chevron { font-size: 16px; line-height: 1; transition: transform .2s ease; }
.language-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  width: 190px;
  max-height: min(430px, calc(100dvh - 96px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(9, 21, 64, .14);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover, .language-menu button[aria-current="true"] { background: var(--surface); }

.hero {
  width: min(1240px, calc(100% - 40px));
  min-height: calc(100dvh - var(--header));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: 64px 0;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(45px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}
.hero-body {
  max-width: 48ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #1c274f; }
.text-link { color: var(--ink); font-size: 15px; font-weight: 800; text-underline-offset: 5px; }

.hero-media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(9, 21, 64, .10);
}
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 68% 50%; }
.media-note {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(310px, calc(100% - 40px));
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(251, 252, 255, .9);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px rgba(255,255,255,.8);
}
.media-note span { display: block; color: var(--risk); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.media-note strong { display: block; margin-top: 7px; font-size: 17px; line-height: 1.25; }

.facts {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div { display: grid; gap: 5px; }
.facts strong { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; }
.facts span, .facts p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.facts p { grid-column: 1 / -1; margin: 0; }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 108px 0; }
.section-intro { max-width: 720px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.section-intro > p, .closing-copy > p {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.capability-list { margin-top: 62px; border-top: 1px solid var(--line); }
.capability-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.cap-index { color: var(--accent); font-size: 13px; font-weight: 800; }
.capability-list h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.capability-list p { max-width: 65ch; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }

.method { width: min(1240px, calc(100% - 40px)); padding: 92px clamp(24px, 5vw, 72px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.method-copy { max-width: 760px; }
.method-copy .eyebrow { color: #8fa5ff; }
.method-flow { display: grid; grid-template-columns: 1.3fr .9fr .9fr; margin-top: 68px; }
.method-flow > div { min-height: 180px; padding: 0 30px; border-left: 1px solid rgba(255,255,255,.18); }
.method-flow > div:first-child { padding-left: 0; border-left: 0; }
.method-flow span { color: #8fa5ff; font-size: 12px; font-weight: 800; }
.method-flow strong { display: block; margin-top: 38px; font-size: 20px; }
.method-flow p { max-width: 27ch; margin: 10px 0 0; color: #b8c0db; line-height: 1.55; }

.teams { display: grid; grid-template-columns: .86fr 1.14fr; gap: 60px; align-items: stretch; }
.teams-visual { min-height: 520px; border-radius: var(--radius); background: url("assets/chain-evidence.webp") 76% 50% / cover no-repeat; }
.teams-panel { padding: 12px 0; }
.teams-panel h2 { font-size: clamp(34px, 4vw, 50px); }
.team-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.team-tabs button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.team-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.team-detail { margin-top: 30px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.team-detail h3 { margin: 0; font-size: 27px; }
.team-detail p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.team-detail .team-focus { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-heading h2 { font-size: clamp(34px, 4.5vw, 52px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 800; cursor: pointer; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 23px; color: var(--accent); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 60ch; margin: -6px 0 24px; color: var(--muted); line-height: 1.6; }

.closing {
  width: min(1240px, calc(100% - 40px));
  padding: 96px clamp(24px, 6vw, 88px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
}
.closing-copy { max-width: 740px; }
.closing-copy > p { color: #e5eaff; }
.closing .button { margin-top: 30px; background: var(--white); color: var(--ink); }
.closing .button:hover { background: #edf1ff; }

footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer img { width: 138px; height: auto; }
footer p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s ease; }

[dir="rtl"] .language-menu { right: auto; left: 0; }
[dir="rtl"] .language-menu button { text-align: right; }
[dir="rtl"] .capability-list article { grid-template-columns: 1fr 90px; }
[dir="rtl"] .cap-index { grid-column: 2; grid-row: 1; }
[dir="rtl"] .capability-list article > div { grid-column: 1; grid-row: 1; }
[dir="rtl"] .method-flow > div { border-left: 0; border-right: 1px solid rgba(255,255,255,.18); }
[dir="rtl"] .method-flow > div:first-child { padding-left: 30px; padding-right: 0; border-right: 0; }
[dir="rtl"] .faq-list summary { padding: 24px 0 24px 40px; }
[dir="rtl"] .faq-list summary::after { right: auto; left: 4px; }
[dir="rtl"] footer p { text-align: left; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; gap: 16px; }
  .desktop-nav { display: none; }
  .header-actions { justify-self: end; }
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-media { min-height: 500px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .teams { grid-template-columns: .75fr 1.25fr; gap: 34px; }
  .faq { gap: 42px; }
}

@media (max-width: 700px) {
  :root { --header: 64px; }
  .site-header, .hero, .facts, .section, .method, .closing, footer { width: min(100% - 32px, 640px); }
  .site-header { gap: 10px; }
  .brand img { width: 124px; }
  .header-actions { gap: 0; }
  .header-link { display: none; }
  .language-trigger { min-width: 62px; height: 36px; }
  .language-menu { right: 0; width: min(190px, calc(100vw - 32px)); }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 0 34px;
  }
  h1 { font-size: clamp(42px, 13vw, 58px); line-height: 1.01; }
  .hero-body { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 28px; }
  .button { min-height: 52px; width: 100%; }
  .hero-media { min-height: 430px; }
  .hero-media img { object-position: 70% 50%; }
  .media-note { left: 14px; bottom: 14px; width: calc(100% - 28px); }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 28px 0; }
  .facts p { font-size: 11px; }
  .section { padding: 78px 0; }
  .capability-list { margin-top: 42px; }
  .capability-list article { grid-template-columns: 50px 1fr; gap: 12px; padding: 24px 0; }
  .method { padding: 64px 22px; }
  .method-flow { grid-template-columns: 1fr; margin-top: 46px; }
  .method-flow > div { min-height: auto; padding: 26px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .method-flow > div:first-child { border-top: 0; }
  .method-flow strong { margin-top: 20px; }
  .teams { grid-template-columns: 1fr; gap: 32px; }
  .teams-visual { min-height: 330px; background-position: 78% 50%; }
  .team-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .team-tabs button { flex: 0 0 auto; scroll-snap-align: start; }
  .faq { grid-template-columns: 1fr; gap: 38px; }
  .closing { padding: 64px 22px; }
  footer { flex-direction: column; }
  footer p { text-align: left; }
  [dir="rtl"] .capability-list article { grid-template-columns: 1fr 50px; }
  [dir="rtl"] .method-flow > div { padding: 26px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  [dir="rtl"] .method-flow > div:first-child { padding: 26px 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .media-note { background: var(--white); backdrop-filter: none; }
}
