:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-strong: #eef3f5;
  --ink: #111817;
  --muted: #596664;
  --line: #d7dfdd;
  --blue: #1a73e8;
  --green: #0b8043;
  --yellow: #fbbc04;
  --red: #d93025;
  --teal: #0f766e;
  --focus: #0b57d0;
  --shadow: 0 24px 80px rgba(20, 31, 29, 0.12);
  --radius: 8px;
  --shell: 1160px;
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.section-band {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid rgba(215, 223, 221, 0.8);
  backdrop-filter: blur(18px);
}

.nav,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark,
.node-icon,
.tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.node-icon,
.tile-icon {
  display: inline-grid;
  place-items: center;
}

.brand-mark,
.node-icon-mark {
  display: block;
  flex: 0 0 auto;
  background: transparent;
  object-fit: contain;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.footer-links a,
.inline-cta {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.inline-cta:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary:hover {
  background: #273230;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 72px 0 58px;
  background:
    linear-gradient(90deg, rgba(26, 115, 232, 0.07), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(380px, 1.07fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-subhead {
  max-width: 630px;
  margin-bottom: 28px;
  font-size: 1.18rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.context-line {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.visual-panel,
.flow-node,
.map-box,
.use-card,
.lead-form,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.workflow-card {
  overflow: hidden;
}

.panel-header {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
}

.dot-green {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  background: #101816;
  color: #e8f0ef;
  font-size: 0.9rem;
  line-height: 1.55;
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 0;
  margin: 22px 0;
}

.flow-node {
  display: grid;
  min-height: 150px;
  align-content: center;
  justify-items: center;
  gap: 11px;
  padding: 18px 12px;
  text-align: center;
}

.node-active {
  border-color: rgba(26, 115, 232, 0.5);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.08);
}

.flow-line,
.map-arrow {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--blue));
}

.map-arrow {
  min-width: 28px;
}

.lifecycle-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.lifecycle-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-strong);
  color: #35413f;
  font-size: 0.78rem;
  font-weight: 750;
}

.status-chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.chip-blue {
  background: rgba(26, 115, 232, 0.12);
  color: #0b57d0;
}

.chip-green {
  background: rgba(11, 128, 67, 0.13);
  color: #075d33;
}

.chip-amber,
.chip-validation,
.chip-pending {
  background: rgba(251, 188, 4, 0.22);
  color: #6b4b00;
}

.chip-planned {
  background: #e9eeee;
  color: #34403e;
}

.chip-unknown {
  background: rgba(217, 48, 37, 0.11);
  color: #9b1c13;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.pain-band,
.trust-band,
.faq-band {
  background: #ffffff;
}

.problem-grid,
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.problem-tile {
  padding-top: 4px;
}

.tile-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: var(--surface-strong);
  color: var(--ink);
}

.problem-tile p,
.use-card p,
details p {
  margin-bottom: 0;
}

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

.use-card {
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.use-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.42);
}

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}

.architecture-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.architecture-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.architecture-map {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f0f6f4);
}

.map-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.map-bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.map-box {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  text-align: center;
  font-weight: 800;
}

.map-accent {
  border-color: rgba(26, 115, 232, 0.45);
  color: #0b57d0;
}

.map-box.muted {
  min-height: 48px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.inline-cta {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 800;
}

.trust-grid,
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: start;
}

.trust-table {
  border-top: 1px solid var(--line);
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.comparison {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1.1fr 1.15fr;
}

.comparison-header {
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.comparison-header span,
.comparison-row span {
  padding: 16px;
}

.comparison-row span {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.comparison-row span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.request-band {
  background:
    linear-gradient(90deg, rgba(11, 128, 67, 0.08), transparent 42%),
    #f0f5f3;
}

.lead-form {
  padding: 24px;
  box-shadow: 0 16px 48px rgba(20, 31, 29, 0.08);
}

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

.field {
  margin-bottom: 16px;
}

label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c7d1cf;
  border-radius: 7px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  min-height: 20px;
  margin: 5px 0 0;
  color: var(--red);
  font-size: 0.85rem;
  line-height: 1.35;
}

.form-alert {
  display: none;
  margin-bottom: 16px;
  border-radius: var(--radius);
  padding: 13px 14px;
  line-height: 1.45;
}

.form-alert.is-visible {
  display: block;
}

.form-alert.is-error {
  border: 1px solid rgba(217, 48, 37, 0.35);
  background: rgba(217, 48, 37, 0.09);
  color: #7f1d1d;
}

.form-alert.is-success {
  border: 1px solid rgba(11, 128, 67, 0.3);
  background: rgba(11, 128, 67, 0.1);
  color: #075d33;
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
}

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

details {
  padding: 0;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  font-weight: 850;
  cursor: pointer;
}

summary::after {
  content: "+";
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 18px 18px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.site-footer .footer-links {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .button-primary {
  background: white;
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .architecture-layout,
  .trust-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.2rem;
  }

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

  .trust-grid,
  .request-grid {
    gap: 30px;
  }
}

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

  .section-band {
    padding: 64px 0;
  }

  .nav {
    min-height: 64px;
  }

  .nav .button {
    display: none;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 28px;
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: 2.28rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.85rem;
  }

  .button {
    width: 100%;
  }

  .button-secondary {
    background: transparent;
  }

  .hero-visual {
    display: none;
  }

  .context-line {
    display: none;
  }

  .workflow-card,
  .lifecycle-strip {
    display: none;
  }

  .panel-header {
    flex-wrap: wrap;
    min-height: 0;
    padding: 11px;
  }

  .flow-diagram {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
  }

  .flow-line {
    display: none;
  }

  .flow-node {
    min-height: 80px;
    padding: 12px 6px;
    gap: 7px;
    font-size: 0.82rem;
  }

  .node-icon {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .hero-visual figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

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

  .problem-grid,
  .use-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .pain-band {
    padding-top: 28px;
  }

  .map-row,
  .map-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-arrow {
    width: 2px;
    min-width: 0;
    height: 24px;
    margin: 0 auto;
  }

  .trust-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .comparison-header {
    display: none;
  }

  .comparison,
  .comparison-row {
    display: grid;
    gap: 0;
    border: 0;
    background: transparent;
  }

  .comparison-row {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .comparison-row span {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 10px;
    padding: 13px 14px;
  }

  .comparison-row span::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 850;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
