:root {
  --navy: oklch(0.21 0.034 264);
  --action: oklch(0.546 0.215 260);
  --action-dark: oklch(0.47 0.20 260);
  --slate-light: oklch(0.985 0.003 247);
  --slate-50: oklch(0.985 0.002 247);
  --slate-100: oklch(0.968 0.007 247.896);
  --slate-200: oklch(0.929 0.013 255.508);
  --slate-300: oklch(0.869 0.022 252.894);
  --slate-400: oklch(0.704 0.04 256.788);
  --slate-500: oklch(0.554 0.046 257.417);
  --slate-600: oklch(0.446 0.043 257.281);
  --slate-700: oklch(0.372 0.044 257.287);
  --white: #fff;
  --radius: 10px;
  --shadow-action: 0 20px 45px color-mix(in oklch, var(--action) 20%, transparent);
  --max: 1280px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-compact { padding: 64px 0; }
.bg-light { background: var(--slate-light); }
.bg-navy { background: var(--navy); color: var(--white); }
.eyebrow {
  display: inline-block;
  color: var(--action);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-title {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-copy {
  max-width: 760px;
  margin-top: 24px;
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.75;
}
.section-head { max-width: 800px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-copy { margin-inline: auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, white 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}
.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-dot { color: var(--action); }
.nav-links { display: flex; gap: 32px; color: var(--slate-600); font-size: 14px; font-weight: 500; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--action); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: white;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.menu-toggle span { margin: 4px 0; }
.mobile-menu {
  display: none;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--slate-100);
  background: white;
}
.mobile-menu.open { display: grid; gap: 6px; }
.mobile-menu a { padding: 11px 4px; color: var(--slate-600); font-size: 14px; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--action); color: white; padding: 16px 32px; border-radius: 8px; }
.btn-primary:hover { box-shadow: 0 12px 30px color-mix(in oklch, var(--action) 20%, transparent); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--slate-200); background: white; color: var(--navy); padding: 16px 32px; border-radius: 8px; }
.btn-secondary:hover { background: var(--slate-50); }
.btn-nav { background: var(--navy); color: white; padding: 12px 20px; border-radius: 999px; font-size: 14px; }
.btn-nav:hover { background: var(--slate-700); }

.hero {
  padding: 64px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { display: grid; gap: 32px; }
.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.hero h1 .accent { color: var(--action); }
.hero-sub {
  max-width: 620px;
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span {
  padding: 8px 11px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 600;
  background: white;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: var(--slate-light);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--slate-200) 1px, transparent 1px), linear-gradient(90deg, var(--slate-200) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .42;
}
.data-flow { position: absolute; inset: 0; padding: 44px; display: grid; place-items: center; }
.pipeline { width: 100%; position: relative; z-index: 1; }
.pipeline-row { display: grid; grid-template-columns: 1fr 40px 1.1fr 40px 1fr; align-items: center; gap: 8px; }
.flow-arrow { height: 2px; background: var(--action); position: relative; opacity: .7; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 7px solid var(--action); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.node {
  min-height: 92px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: rgba(255,255,255,.94);
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 7px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.node strong { font-family: var(--font-display); font-size: 14px; }
.node small { color: var(--slate-500); font-size: 11px; }
.node.central { background: var(--navy); color: white; border-color: var(--navy); }
.node.central small { color: var(--slate-300); }
.output-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.output { padding: 10px; border-radius: 9px; background: color-mix(in oklch, var(--action) 8%, white); border: 1px solid color-mix(in oklch, var(--action) 20%, white); font-size: 10px; color: var(--action); font-weight: 700; text-align: center; }

.problem { text-align: center; }
.problem .section-title { max-width: 840px; margin-inline: auto; }
.problem .section-copy { color: var(--slate-300); margin-inline: auto; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; text-align: left; }
.challenge-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.challenge-card .num { color: var(--action); font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.challenge-card h3 { font-size: 16px; line-height: 1.35; margin-top: 14px; }
.challenge-card p { color: var(--slate-300); font-size: 13px; line-height: 1.65; margin-top: 10px; }

.card-grid { display: grid; gap: 32px; margin-top: 64px; }
.card-grid.six { grid-template-columns: repeat(3, 1fr); }
.card-grid.benefits { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 32px;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  background: white;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: color-mix(in oklch, var(--action) 30%, white); transform: translateY(-2px); box-shadow: 0 14px 35px rgba(15,23,42,.04); }
.badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--slate-light);
  color: var(--action);
  font-family: var(--font-display);
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.card:hover .badge { background: var(--action); color: white; }
.card h3 { margin-top: 24px; font-size: 18px; line-height: 1.35; }
.card p { color: var(--slate-600); margin-top: 12px; font-size: 14px; line-height: 1.7; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.process-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 12px; border: 1px solid var(--slate-200); background: white; }
.process-card .step { width: 28px; flex: 0 0 28px; color: var(--slate-300); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.process-card:last-child { background: color-mix(in oklch, var(--action) 5%, white); border-color: color-mix(in oklch, var(--action) 20%, white); }
.process-card:last-child .step { color: var(--action); }
.process-card h3 { font-size: 16px; }
.process-card p { color: var(--slate-600); margin-top: 5px; font-size: 13px; line-height: 1.55; }

.benefit {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  background: white;
}
.benefit-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 7px color-mix(in oklch, var(--action) 10%, white); }
.benefit h3 { margin-top: 22px; font-size: 16px; }
.benefit p { color: var(--slate-600); margin-top: 8px; font-size: 13px; line-height: 1.6; }

.diff-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.diff-panel { position: sticky; top: 112px; background: var(--navy); color: white; border-radius: 24px; padding: 48px; }
.diff-panel h3 { font-size: 24px; line-height: 1.35; }
.diff-panel p { color: var(--slate-300); margin-top: 20px; font-size: 14px; line-height: 1.75; }
.diff-list { display: grid; gap: 16px; }
.diff-card { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--slate-100); }
.diff-card:first-child { padding-top: 0; }
.diff-card:last-child { border-bottom: 0; }
.diff-card .badge { width: 44px; height: 44px; }
.diff-card h3 { font-size: 17px; }
.diff-card p { color: var(--slate-600); font-size: 14px; line-height: 1.7; margin-top: 6px; }

.faq { max-width: 768px; margin-inline: auto; }
.faq h2 { text-align: center; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--slate-100); }
details { border-bottom: 1px solid var(--slate-100); padding: 24px 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--action); font-family: var(--font-body); font-size: 28px; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--slate-600); margin-top: 16px; line-height: 1.75; }

.cta { text-align: center; max-width: 760px; margin-inline: auto; }
.cta h2 { font-size: clamp(32px, 4vw, 40px); line-height: 1.15; letter-spacing: -.025em; }
.cta p { color: var(--slate-600); font-size: 18px; line-height: 1.7; margin: 24px auto 36px; max-width: 680px; }
.cta .btn-primary { padding: 20px 48px; border-radius: 12px; font-size: 18px; box-shadow: var(--shadow-action); }

.footer { padding: 48px 0; border-top: 1px solid var(--slate-100); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand small { color: var(--slate-400); }
.footer-links { display: flex; gap: 22px; color: var(--slate-400); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a:hover { color: var(--action); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,23,42,.52);
  backdrop-filter: blur(7px);
}
.modal.open { display: flex; }
.modal-card { width: min(720px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px; background: white; box-shadow: 0 30px 80px rgba(15,23,42,.22); }
.modal-head { display: flex; justify-content: space-between; gap: 24px; padding: 32px 32px 22px; border-bottom: 1px solid var(--slate-100); }
.modal-head h2 { font-size: 24px; }
.modal-head p { color: var(--slate-600); margin-top: 8px; font-size: 14px; line-height: 1.6; }
.modal-close { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; border: 1px solid var(--slate-200); background: white; cursor: pointer; font-size: 22px; }
.form { padding: 28px 32px 32px; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; color: var(--slate-700); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--slate-200); border-radius: 9px; padding: 12px 13px; background: white; color: var(--navy); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--action); box-shadow: 0 0 0 3px color-mix(in oklch, var(--action) 12%, white); }
.field textarea { min-height: 92px; resize: vertical; }
.form-note { color: var(--slate-500); font-size: 11px; line-height: 1.6; }
.form-note a { color: var(--action); font-weight: 600; }
.form-status { display: none; border-radius: 9px; padding: 12px 14px; font-size: 13px; line-height: 1.55; }
.form-status.show { display: block; }
.form-status.ok { background: #ecfdf5; color: #065f46; }
.form-status.warn { background: #fffbeb; color: #92400e; }
.form .btn { width: 100%; }

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

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; flex-direction: column; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.six { grid-template-columns: repeat(2, 1fr); }
  .card-grid.benefits { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-layout { grid-template-columns: 1fr; }
  .diff-panel { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 72px 0; }
  .section-compact { padding: 56px 0; }
  .nav-inner { min-height: 66px; }
  .btn-nav { display: none; }
  .hero { padding: 48px 0 72px; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .hero-actions .btn { width: 100%; }
  .data-flow { padding: 22px; }
  .pipeline-row { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { width: 2px; height: 18px; margin-inline: auto; }
  .flow-arrow::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--action); border-bottom: 0; }
  .output-grid { grid-template-columns: 1fr 1fr 1fr; }
  .node { min-height: 68px; }
  .challenge-grid, .card-grid.six, .card-grid.benefits, .process-grid { grid-template-columns: 1fr; }
  .card-grid { margin-top: 44px; }
  .diff-panel { padding: 32px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 12px; }
  .modal-card { max-height: calc(100vh - 24px); }
  .modal-head, .form { padding-left: 22px; padding-right: 22px; }
}

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