:root {
  --ink: #00255a;
  --muted: #5c6a7c;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --blue: #407bff;
  --teal: #18a999;
  --amber: #f59e0b;
  --red: #e05a47;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,227,238,.8);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; flex: 0 0 auto; }
.brand-logo {
  width: clamp(142px, 17vw, 188px);
  max-height: 74px;
  height: auto;
  object-fit: contain;
}
.site-footer .brand-logo {
  width: 228px;
  max-height: 118px;
  content: url('footer-logo.png?v=20260828a');
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-weight: 900;
  letter-spacing: 0;
}
.brand span:last-child { font-size: 19px; }
.nav-links { display: flex; align-items: center; gap: 18px; color: #314154; font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: var(--blue); }
.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.nav-top::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}
.nav-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: -14px;
  min-width: 250px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 45px rgba(39,55,77,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #314154;
}
.nav-submenu a:hover {
  background: var(--soft);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.button.secondary { background: white; color: var(--ink); border-color: var(--line); }
.button:hover { transform: translateY(-1px); }

main { flex: 1; }
.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 24%, rgba(24,169,153,.14), transparent 28%),
    linear-gradient(135deg, #f9fbff 0%, #eef4ff 48%, #f8fbfa 100%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 660px;
  padding: 82px 22px 62px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 46px;
  align-items: center;
}
.eyebrow {
  display: none;
  align-items: center;
  gap: 8px;
  color: #0d766c;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow + h1, .eyebrow + h2 { margin-top: 0; }
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
}
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { margin-top: 16px; font-size: clamp(44px, 7vw, 78px); max-width: 9.4em; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); max-width: 12em; }
h3 { font-size: 22px; }
p { margin: 0; color: var(--muted); }
.lead { margin-top: 22px; font-size: 20px; max-width: 34em; color: #314154; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-pill {
  border: 1px solid rgba(21,33,47,.12);
  background: rgba(255,255,255,.76);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #314154;
}
.hero-panel {
  position: relative;
  border: 1px solid rgba(21,33,47,.12);
  border-radius: 22px;
  background: white;
  box-shadow: 0 28px 80px rgba(39, 55, 77, .14);
  overflow: hidden;
}
.hero-panel img { width: 100%; height: auto; }
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.status-strip div { padding: 18px; border-right: 1px solid var(--line); }
.status-strip div:last-child { border-right: 0; }
.metric { font-size: 24px; font-weight: 900; color: var(--ink); }
.label { font-size: 13px; font-weight: 800; color: var(--muted); }

.section { padding: 84px 22px; }
.section.alt { background: var(--soft); border-block: 1px solid var(--line); }
.section.alt.engagement-section { background: var(--ink); color: white; border-block-color: var(--ink); }
.engagement-section h2 { color: white; }
.engagement-section p { color: rgba(255,255,255,.88); }
.engagement-section .card { background: white; border-color: white; color: var(--ink); }
.engagement-section .card h3 { color: var(--ink); }
.engagement-section .card .list li { color: var(--ink); }
.inner { max-width: var(--max); margin: 0 auto; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head p { max-width: 42em; font-size: 17px; }
.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: start;
}
.founder-heading h2 { max-width: 11em; }
.founder-photo {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 12px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.founder-text .lead { max-width: 34em; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #eef7f5, #f6f8fb); }
.cta-panel h2 { max-width: 16em; }
.cta-panel .lead { max-width: 38em; }
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; }
.card .button { margin-top: 20px; }
.detail-hero {
  background: linear-gradient(135deg, #f9fbff, #eef7f5);
  border-bottom: 1px solid var(--line);
}
.detail-hero .inner {
  padding: 76px 22px 62px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(280px, .72fr);
  gap: 34px;
  align-items: center;
}
.detail-panel {
  border: 1px solid rgba(21,33,47,.12);
  border-radius: 8px;
  background: white;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(39,55,77,.1);
}
.detail-panel h2 {
  font-size: 25px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
}
.mini-card strong { display: block; font-size: 17px; }
.mini-card span { display: block; margin-top: 7px; color: var(--muted); }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.check {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.check::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  margin-bottom: 12px;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-weight: 900;
}
.icon.teal { background: var(--teal); }
.icon.amber { background: var(--amber); }
.icon.red { background: var(--red); }
.list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; color: #314154; }
.list li::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--teal); margin-top: 8px; flex: 0 0 auto; }
.band {
  background: var(--ink);
  color: white;
}
.band p { color: #c8d3df; }
.band .card { background: #0b326d; border-color: #31558a; }
.band .card p, .band .card li { color: #c8d3df; }
.band .process-item { background: #0b326d; border-color: #31558a; }
.band .process-item h3 { color: white; }
.band .process-item p { color: #c8d3df; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 38px;
  align-items: center;
}
.process {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.process-item::before {
  content: counter(step, decimal-leading-zero);
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-weight: 900;
}
.page-hero {
  background: linear-gradient(135deg, #f9fbff, #eef7f5);
  border-bottom: 1px solid var(--line);
}
.page-hero .inner { padding: 76px 22px 58px; }
.page-hero h1 { max-width: 11em; }
.example-stack { display: grid; gap: 28px; }
.example-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(23, 42, 61, .05); }
.example-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.example-heading h2 { margin-top: 8px; }
.build-badge, .build-label { color: var(--muted); font-size: 13px; letter-spacing: .03em; }
.build-badge { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.example-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 34px; padding-top: 28px; }
.example-grid h3 { margin-top: 20px; font-size: 18px; }
.example-grid h3:first-child { margin-top: 0; }
.example-grid p { margin-top: 8px; }
.workflow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.35; text-align: center; }
.workflow span, .workflow strong { padding: 9px 10px; border-radius: 8px; background: #153d78; font-weight: 600; }
.workflow strong { background: #3d7f82; }
.workflow i { color: #9bd0cc; font-style: normal; font-size: 19px; }
.detail-box { margin-top: 22px; padding: 22px; background: var(--soft); border-radius: 14px; }
.build-label { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.example-jump-links { max-width: var(--max); margin: 0 auto; padding: 24px 22px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.example-jump-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #314154; font-size: 14px; font-weight: 800; background: var(--soft); }
.example-jump-links a:hover { color: var(--blue); border-color: var(--blue); }
article[id] { scroll-margin-top: 100px; }
@media (max-width: 760px) { .example-card { padding: 24px 20px; } .example-heading, .example-grid { display: block; } .build-badge { display: inline-block; margin-top: 16px; white-space: normal; } .example-grid > div + div { margin-top: 28px; } }
.kicker-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kicker { padding: 18px; border: 1px solid rgba(21,33,47,.12); border-radius: 8px; background: rgba(255,255,255,.72); }
.kicker strong { display: block; font-size: 18px; }
.kicker span { color: var(--muted); font-weight: 650; font-size: 14px; }
.feature-link { margin-top: 18px; display: inline-flex; font-weight: 900; color: var(--blue); }
.link-stack { display: grid; gap: 4px; justify-items: start; }
.lab-note-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; padding: 18px; background: linear-gradient(135deg, #f8fbff, #eef8f6); }
.lab-note-image { display: block; overflow: hidden; border-radius: 7px; border: 1px solid var(--line); background: white; }
.lab-note-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lab-note-copy { padding: 8px 14px 8px 0; }
.lab-note-copy h3 { margin-top: 12px; font-size: clamp(25px, 3vw, 36px); }
.lab-note-copy h3 a:hover { color: var(--blue); }
.lab-note-copy p { margin-top: 14px; font-size: 17px; }
.note-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 13px; font-weight: 800; }
.note-meta span + span { padding-left: 18px; border-left: 1px solid var(--line); }
.archive-section { padding-top: 54px; }
.archive-list { display: grid; gap: 24px; }
.archive-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #f8fbff, #eef8f6); }
.archive-image { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }
.archive-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.archive-copy { padding: 8px 14px 8px 0; }
.archive-copy h2 { margin-top: 12px; font-size: clamp(25px, 3vw, 36px); }
.archive-copy h2 a:hover { color: var(--blue); }
.archive-copy p { margin-top: 14px; font-size: 17px; }
.article-shell { max-width: 820px; }
.article-header { max-width: 900px; }
.article-header h1 { max-width: 12em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 800; }
.article-hero { width: 100%; margin-top: 34px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 45px rgba(39,55,77,.1); }
.article-body { padding-top: 58px; }
.article-body h2 { margin-top: 48px; font-size: clamp(27px, 3vw, 36px); }
.article-body h3 { margin-top: 30px; font-size: 22px; }
.article-body p { margin-top: 18px; font-size: 18px; color: #314154; }
.article-body ul { margin: 18px 0 0; padding-left: 24px; color: #314154; display: grid; gap: 9px; font-size: 18px; }
.article-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.article-navigation a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); }
.article-navigation a:only-child:last-child { grid-column: 2; }
.article-navigation a:hover { border-color: var(--blue); color: var(--blue); }
.article-navigation span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.article-navigation strong { font-size: 16px; line-height: 1.35; }
.article-body .article-cta { margin-top: 48px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #eef7f5, #f6f8fb); }
.article-body .article-cta p { margin-top: 10px; }
.article-body .article-cta .button { margin-top: 20px; }
.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}
form {
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 7px; font-weight: 800; color: #314154; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { min-height: 128px; resize: vertical; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}
.form-message.success,
.form-message.error,
.form-message.pending {
  display: block;
}
.form-message.success { background: #e9f8f1; color: #176448; border: 1px solid #b8e3d0; }
.form-message.error { background: #fff0ef; color: #9d2d24; border: 1px solid #f0c0ba; }
.form-message.pending { background: #eef5ff; color: #265b96; border: 1px solid #bed6f5; }
button:disabled {
  cursor: wait;
  opacity: .7;
}
.legal { max-width: 850px; }
.legal h2 { margin-top: 38px; font-size: 28px; }
.legal p, .legal li { color: #314154; }
.legal ul { padding-left: 22px; }
.site-footer {
  background: var(--ink);
  color: white;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 22px;
  display: grid;
  grid-template-columns: 1.25fr .72fr .9fr .9fr .72fr;
  gap: 28px;
}
.site-footer a, .site-footer p { color: #c8d3df; }
.site-footer h3 { font-size: 15px; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; font-weight: 700; }
.small { font-size: 13px; color: #8394a8; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-wrap: wrap; }
  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
    padding-bottom: 3px;
  }
  .nav-links a {
    white-space: nowrap;
  }
  .nav-menu {
    display: grid;
    align-items: start;
    min-height: 0;
  }
  .nav-submenu {
    position: static;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-submenu a {
    padding: 6px 8px;
    border: 1px solid var(--line);
    background: white;
    font-size: 13px;
  }
  .nav-links .button {
    min-height: 36px;
    padding: 0 12px;
  }
  .hero-inner, .split, .contact-panel, .detail-hero .inner, .founder-layout { grid-template-columns: 1fr; }
  .lab-note-feature { grid-template-columns: 1fr; }
  .lab-note-copy { padding: 4px 6px 10px; }
  .archive-card { grid-template-columns: 1fr; }
  .archive-copy { padding: 4px 6px 10px; }
  .hero-inner { min-height: auto; padding-top: 56px; }
  .three, .four, .two, .kicker-grid, .mini-grid, .check-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand span:last-child { font-size: 17px; }
  .brand-logo { width: 136px; max-height: 58px; }
  h1 { font-size: 42px; }
  .section { padding: 58px 18px; }
  .cta-panel { display: block; padding: 24px 20px; }
  .cta-panel .button { margin-top: 22px; }
  .article-navigation { grid-template-columns: 1fr; }
  .article-navigation a:only-child:last-child { grid-column: auto; }
  .nav { padding-inline: 18px; }
  .hero-inner, .page-hero .inner { padding-inline: 18px; }
  .status-strip { grid-template-columns: 1fr; }
  .status-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; }
}
