:root {
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #dce3ec;
  --line-strong: #c8d2df;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --surface-dark: #0f1728;
  --accent: #2457ff;
  --accent-dark: #1739b7;
  --accent-soft: #e9efff;
  --teal: #15b8a6;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 12px 35px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 28px 80px rgba(16, 24, 40, 0.12);
  --container: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

address {
  color: var(--ink-soft);
  font-style: normal;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 236, 0.85);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #eceaea;
}

.brand-logo-header {
  height: 62px;
  box-shadow: 0 5px 18px rgba(3, 11, 25, .16);
}

.brand-logo-footer {
  height: 104px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-link {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 560;
  transition: 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}

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

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 9px;
  color: #76849a;
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .04em;
}

.language-switch a { color: inherit; transition: color 160ms ease; }
.language-switch a:hover,
.language-switch a.active { color: #fff; }
.language-switch span { opacity: .45; }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: 180ms ease;
}

.menu-toggle {
  gap: 4px;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(36, 87, 255, 0.22);
}

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

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-ghost {
  padding-inline: 4px;
  color: var(--accent);
}

.button[disabled] {
  transform: none;
  background: #d8deea;
  box-shadow: none;
  color: #778195;
  cursor: not-allowed;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -310px;
  left: 50%;
  width: 920px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 87, 255, 0.14), rgba(36, 87, 255, 0) 68%);
  content: "";
  transform: translateX(-25%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 23px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.7vw, 5.25rem);
  font-weight: 760;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 5vw, 4.75rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

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

.hero-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

.system-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.system-card::after {
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 87, 255, 0.42), rgba(36, 87, 255, 0));
  content: "";
}

.system-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: #aebbd0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(21, 184, 166, 0.12);
}

.system-flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.flow-row {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: 34px 1fr auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.flow-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(36, 87, 255, 0.2);
  color: #aebfff;
  font-size: 0.75rem;
  font-weight: 800;
}

.flow-label {
  font-size: 0.92rem;
  font-weight: 650;
}

.flow-meta {
  color: #8592a7;
  font-size: 0.72rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.81rem;
}

.section {
  padding: 104px 0;
}

.section-compact {
  padding: 72px 0;
}

.section-white {
  background: var(--surface);
}

.section-dark {
  background: var(--surface-dark);
  color: #fff;
}

.section-dark .lead,
.section-dark .section-copy,
.section-dark .card p {
  color: #aebbd0;
}

.section-head {
  display: grid;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
  grid-template-columns: 1.15fr 0.85fr;
}

.section-head > * {
  margin-bottom: 0;
}

.section-copy {
  max-width: 620px;
  color: var(--ink-soft);
}

.kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b9c8ea;
  box-shadow: var(--shadow-sm);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.card h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.team-grid .card {
  min-height: 260px;
}

.card .team-role {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.card-number,
.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 750;
}

.card-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

.process-grid {
  display: grid;
  counter-reset: process;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
}

.process-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.process-item {
  position: relative;
  padding: 26px 24px 28px 0;
  counter-increment: process;
}

.process-item::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  content: "0" counter(process);
  font-size: 0.72rem;
  font-weight: 800;
}

.process-item::after {
  position: absolute;
  top: 43px;
  right: 14px;
  left: 45px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.process-item:last-child::after {
  display: none;
}

.process-item h3 {
  font-size: 1rem;
}

.process-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.split {
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.feature-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.architecture-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, #f0f4fb);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.architecture-stack {
  display: grid;
  gap: 10px;
}

.architecture-layer {
  display: grid;
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  grid-template-columns: 32px 1fr;
}

.architecture-layer span:first-child {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.architecture-layer strong {
  font-size: 0.9rem;
}

.quote-block {
  padding: 38px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.quote-block p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.page-hero {
  padding-bottom: 74px;
}

.page-hero .lead {
  max-width: 780px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumbs span:last-child {
  color: var(--ink);
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 30px;
  padding: 54px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  color: #fff;
  grid-template-columns: 1fr auto;
}

.cta-panel h2 {
  max-width: 740px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: #aebbd0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.tag {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: 0.78fr 1.22fr;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-option {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.contact-option strong,
.contact-option span {
  display: block;
}

.contact-option strong {
  margin-bottom: 4px;
  font-size: 0.93rem;
}

.contact-option span {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.email-card h2 {
  max-width: 560px;
}

.email-card > p:not(.form-note) {
  max-width: 590px;
  color: var(--ink-soft);
}

.contact-email {
  display: block;
  width: fit-content;
  margin: 28px 0 24px;
  color: var(--accent);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 740;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  background: #fbfcfe;
  color: var(--ink);
}

.field input,
.field select {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 135px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(36, 87, 255, 0.1);
}

.form-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1120;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 60px;
  padding-bottom: 56px;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
}

.footer-intro {
  max-width: 440px;
  margin-top: 20px;
  color: #9caac0;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 16px;
  color: #7f8ca2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #c8d2e1;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f8ca2;
  font-size: 0.75rem;
}

.legal-placeholder {
  color: #647188;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .site-nav,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 77px;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: stretch;
    padding: 24px 20px;
    background: var(--paper);
    flex-direction: column;
  }

  .menu-open .site-nav {
    display: flex;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1.08rem;
  }

  .hero-grid,
  .split,
  .contact-layout {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .system-card {
    max-width: 680px;
  }

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

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-item:nth-child(3)::after {
    display: none;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand-logo-header {
    height: 54px;
  }

  .site-nav {
    top: 69px;
  }

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

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .section {
    padding: 76px 0;
  }

  .section-head,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .cta-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 34px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .process-grid-3 {
    grid-template-columns: 1fr;
  }

  .process-item {
    display: grid;
    gap: 0 18px;
    padding: 0 0 24px;
    grid-template-columns: 34px 1fr;
  }

  .process-item::before {
    margin: 0;
    grid-row: span 2;
  }

  .process-item::after {
    top: 38px;
    right: auto;
    bottom: 4px;
    left: 16px;
    display: block !important;
    width: 1px;
    height: auto;
  }

  .process-item:last-child::after {
    display: none !important;
  }

  .card,
  .form-card,
  .architecture-panel,
  .system-card {
    padding: 22px;
  }

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

  .footer-grid {
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
