:root {
  --bg: #F7F5F0;
  --bg-soft: #EFEBE2;
  --bg-white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4C4A45;
  --ink-mute: #6E6B64;
  --accent: #2563EB;
  --accent-strong: #1D4ED8;
  --accent-soft: #6366F1;
  --accent-tint: #EAF0FE;
  --line: #E4DFD4;
  --footer-bg: #10172C;
  --footer-ink: #D8DEEB;
  --footer-mute: #9AA5BD;
  --ok: #16A34A;
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 14px 34px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 26px 60px rgba(26, 26, 26, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Navigation: top-centered inline logo ---------- */
.logo-center-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links .nav-cta {
  color: #FFFFFF;
  background-color: var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-links .nav-cta:hover {
  background-color: var(--accent-strong);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-bar {
  width: 26px;
  height: 2.5px;
  background-color: var(--ink);
  border-radius: 2px;
  display: block;
}

.nav-mobile-panel {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Split hero ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 32px 88px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--accent-tint);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 34rem;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--ok);
  flex-shrink: 0;
}

.hero-trust p {
  font-size: 0.92rem;
  color: var(--ink-mute);
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}

.system-card {
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
  z-index: 2;
}

.system-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--line);
}

.window-dot:nth-child(1) { background-color: #F0A7A7; }
.window-dot:nth-child(2) { background-color: #E8D37F; }
.window-dot:nth-child(3) { background-color: #9ED3A0; }

.system-card-title {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.system-core {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.core-badge {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  background-color: var(--accent);
  padding: 12px 24px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.system-nodes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.system-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.node-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.node-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.node-status.ok {
  background-color: var(--ok);
}

.system-status-list {
  list-style: none;
}

.system-status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 7px 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.hero-float {
  position: absolute;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.hero-float-a {
  top: -22px;
  right: 30px;
}

.hero-float-b {
  bottom: -22px;
  left: -18px;
}

.float-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.float-label {
  font-size: 0.78rem;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ---------- Section heading ---------- */
.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-heading h2,
.contact-intro h2,
.about-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Tabbed content ---------- */
.tabbed-content {
  background-color: var(--bg-soft);
  padding: 96px 32px;
}

.tab-list {
  max-width: 820px;
  margin: 0 auto 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tab-btn {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  background-color: transparent;
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.tab-panels {
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.tab-panel {
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-panel.is-active {
  display: grid;
}

.tab-panel-copy h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.tab-panel-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.tab-bullets {
  list-style: none;
}

.tab-bullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.tab-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background-color: var(--accent);
}

.tab-panel-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--accent-tint);
  border-radius: 14px;
  padding: 40px 24px;
}

.metric-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-caption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 8px;
}

/* ---------- Numbered list ---------- */
.numbered-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 32px;
}

.steps-list {
  list-style: none;
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 1px solid var(--line);
}

.step-index {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  min-width: 84px;
}

.step-body h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-body p {
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- About ---------- */
.about-section {
  background-color: var(--bg-soft);
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
}

.fact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.fact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.fact-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Stats band ---------- */
.stats-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-block {
  text-align: center;
  padding: 12px 8px;
}

.stat-number {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.1;
}

.stat-caption {
  font-size: 0.92rem;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-section {
  background-color: var(--bg-soft);
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-intro p {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-direct-item {
  display: flex;
  flex-direction: column;
}

.contact-direct-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

.contact-direct-item a,
.contact-direct-item span {
  color: var(--ink);
  font-weight: 600;
}

.contact-direct-item a:hover {
  color: var(--accent);
}

.contact-form {
  background-color: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ok);
  min-height: 1.2em;
}

/* ---------- Footer: multi-column ---------- */
.footer-cols {
  background-color: var(--footer-bg);
  color: var(--footer-ink);
  padding: 72px 32px 48px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: var(--footer-mute);
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-copyright {
  margin-top: 24px !important;
  font-size: 0.84rem !important;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-col a,
.footer-col span {
  color: var(--footer-mute);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split-hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual {
    max-width: 520px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    min-height: 66px;
  }

  .nav-links-left,
  .nav-links-right {
    display: none;
  }

  .nav-toggle {
    display: flex;
    order: -1;
  }

  .nav-brand {
    margin: 0 auto;
  }

  .nav-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 24px 24px;
  }

  .logo-center-nav.nav-open .nav-mobile-panel {
    display: flex;
  }

  .nav-mobile-panel a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-mobile-panel .nav-cta {
    margin-top: 14px;
    text-align: center;
    color: #FFFFFF;
    background-color: var(--accent);
    border-radius: 10px;
    border-bottom: none;
  }

  .split-hero {
    padding: 64px 24px 72px;
  }

  .tabbed-content,
  .numbered-list,
  .about-section,
  .contact-section {
    padding: 72px 24px;
  }

  .stats-band {
    padding: 56px 24px;
  }

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

  .about-facts {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-float-b {
    left: 0;
  }
}
