/* Base */
:root {
  --page: #F4F4F2;
  --white: #FFFFFF;
  --dark: #0B0B0C;
  --navy: #0B1633;
  --navy-end: #10286E;
  --text: #0A0A0A;
  --secondary: #4B4B4B;
  --blue: #2F6BFF;
  --deep: #0F3FBF;
  --light: #C7D9FF;
  --pale: #EEF3FB;
  --green: #20A86B;
  --amber: #E8A317;
  --line: #DADAD7;
  --radius: 20px;
  --gutter: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h1 { font-size: 64px; line-height: 1.05; letter-spacing: -.05em; }
h2 { font-size: 48px; line-height: 1.1; letter-spacing: -.045em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
p { color: var(--secondary); }
p + p { margin-top: 16px; }
strong { font-weight: 500; color: var(--text); }
a { color: inherit; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
img { display: block; width: 100%; height: auto; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
.image-wrap { background: #EEF3FB; border-radius: var(--radius); overflow: hidden; }
.section-shell { width: min(1240px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
main > .section-shell { padding-block: 72px; }
.section-heading { max-width: 920px; margin-bottom: 40px; }
.section-heading h2 { max-width: 820px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 24px; }
.eyebrow { margin-bottom: 24px; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.small { font-size: 14px; line-height: 1.6; }
.accent { color: var(--deep); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 25px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
}
.button-blue { background: var(--deep); color: var(--white); }
.button-blue:hover { background: var(--navy-end); }
.text-link { display: inline-block; font-weight: 500; }
.chip { display: inline-block; align-self: flex-start; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .025em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 12px 20px; border-radius: 12px; background: var(--white); color: var(--text); }
.skip-link:focus { top: 12px; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* 1. Nav */
.site-header { position: sticky; top: 0; z-index: 20; height: 64px; background: var(--dark); color: var(--white); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, calc(100% - var(--gutter) * 2)); height: 100%; margin-inline: auto; }
.brand { display: inline-block; flex: 0 0 120px; width: 120px; height: 28px; border-radius: 0; }
.site-header .brand img { background: var(--dark); }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { padding-block: 12px; font-size: 14px; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; }
.nav-contact { min-height: 40px; padding: 9px 25px; background: var(--white); color: var(--text); font-size: 14px; }
.mobile-nav { display: none; }

/* 2. Hero */
.hero { margin: 24px var(--gutter) 0; }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 610px; padding: 64px max(32px, calc((100vw - 1240px) / 2 - var(--gutter))); border-radius: var(--radius); background: linear-gradient(115deg, var(--navy), var(--navy-end)); color: var(--white); }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--light); }
.hero h1 { max-width: 550px; margin-bottom: 28px; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; color: var(--light); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 24px; margin-top: 32px; }
.hero-actions .text-link { font-size: 16px; }
.hero-art { width: 100%; aspect-ratio: 720 / 520; }
.hero-caption { margin-top: 16px; text-align: center; }

/* 3. Context */
.context-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.context-intro > p:last-child { max-width: 800px; margin-top: 0; }
.context h2 { max-width: 1050px; margin-top: 64px; font-size: clamp(40px, 4.5vw, 64px); }

/* 4. Stats row */
main > .stats { padding-top: 12px; padding-bottom: 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.stats-grid > div { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats-grid dt { max-width: 340px; color: var(--secondary); }
.stats-grid dd { order: -1; font-size: 88px; line-height: 1; letter-spacing: -.06em; }

/* 5. Architecture */
.architecture { width: 100%; aspect-ratio: 1040 / 420; margin-bottom: 24px; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.module-card { min-height: 260px; padding: 36px; border-radius: var(--radius); background: var(--dark); color: var(--white); }
.module-card h3 { margin-bottom: 48px; }
.module-card p { color: var(--light); }
.trust-strip { margin-top: 24px; padding: 28px; border-radius: 12px; background: var(--pale); overflow-wrap: anywhere; }

/* 6. AI Engines */
.pipeline-table-wrap { padding: 8px 24px; border-radius: var(--radius); background: var(--white); }
.pipeline-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.pipeline-table th { padding: 20px 12px; color: var(--secondary); font-weight: 500; text-align: left; }
.pipeline-table:not(.throughput-table) th:nth-child(1) { width: 19%; }
.pipeline-table:not(.throughput-table) th:nth-child(2) { width: 22%; }
.pipeline-table:not(.throughput-table) th:nth-child(3) { width: 20%; }
.pipeline-table:not(.throughput-table) th:nth-child(4) { width: 21%; }
.pipeline-table:not(.throughput-table) th:nth-child(5) { width: 18%; }
.pipeline-table td { padding: 24px 12px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.pipeline-table td:first-child { font-weight: 500; }
.stage { display: flex; flex-direction: column; gap: 10px; color: var(--deep); }
.stage-bar { display: flex; gap: 4px; width: 100%; max-width: 120px; }
.stage-bar i { flex: 1; height: 6px; border-radius: 999px; background: var(--blue); }
.stage-internal i:last-child { background: var(--pale); }
.case-list { display: grid; gap: 24px; margin-top: 48px; }
.case-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 48px; padding: 40px; border-radius: var(--radius); }
.case-copy h3 { margin: 32px 0 20px; }
.case-navy { background: var(--navy); color: var(--white); }
.case-pale { background: var(--pale); }
.case-dark { background: var(--dark); color: var(--white); }
.case-light { background: var(--light); }
.case-navy p, .case-dark p { color: var(--light); }
.case-navy .chip, .case-dark .chip { color: var(--light); }
.case-art { width: 100%; aspect-ratio: 640 / 420; border-radius: 12px; }

/* 7. Data */
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.data-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.data-tiles > div { display: flex; flex-direction: column; gap: 20px; min-height: 180px; padding: 28px; border-radius: var(--radius); background: var(--white); }
.data-tiles dt { font-size: 15px; color: var(--secondary); }
.data-tiles dd { order: -1; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.06em; }
.throughput-table caption { caption-side: bottom; padding: 20px 12px; color: var(--secondary); text-align: left; }
.throughput-table tbody th { padding-block: 24px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; }

/* 8. Research */
.publication-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.publication-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--white); }
.publication-card .chip { border-color: var(--line); color: var(--deep); }
.publication-card h3 { margin: 0 0 16px; }
.publication-card .chip + h3 { margin-top: 28px; }
.publication-card p { font-size: 16px; }
.publication-card time, .publication-card .publication-date { margin-top: auto; padding-top: 32px; color: var(--secondary); font-size: 14px; }
.stack-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.stack-strip li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; line-height: 1.5; }

.methodology-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.methodology-strip > div { padding-left: 16px; border-left: 2px solid var(--blue); }
.methodology-strip h3 { margin-bottom: 12px; }
.methodology-strip p { font-size: 14px; }

/* 9. Infrastructure & Security */
.infrastructure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* 10. Roadmap */
.roadmap h2 { margin-bottom: 48px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline article { position: relative; padding: 32px 32px 0 0; border-top: 1px solid var(--line); }
.timeline article::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--deep); }
.timeline .timeline-done::before { background: var(--green); }
.timeline .timeline-current::before { background: var(--amber); }
.timeline h3 { margin-bottom: 24px; font-size: 40px; letter-spacing: -.04em; }
.timeline li { margin-top: 16px; color: var(--secondary); font-size: 16px; }

/* 11. Team */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px; border-radius: var(--radius); background: var(--white); }
.avatar { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.team-card h3 { margin-bottom: 20px; }
.team-card h3 span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; letter-spacing: 0; color: var(--secondary); }
.team-card p { font-size: 16px; }

/* 12. Collaborate */
.collaboration-list { margin-bottom: 28px; }
.collaboration-list li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.collaboration-list li:first-child { padding-top: 0; }
.partner-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pale); color: var(--deep); }
.collaborate .text-link { color: var(--deep); }

/* 13. FAQ */
.faq h2 { margin-bottom: 40px; }
.faq-card { padding: 8px 40px; border-radius: var(--radius); background: var(--white); }
.faq-card details + details { border-top: 1px solid var(--line); }
.faq-card summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-size: 22px; line-height: 1.4; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: "+"; flex-shrink: 0; color: var(--deep); font-size: 30px; font-weight: 400; }
.faq-card details[open] summary::after { content: "−"; }
.faq-card details p { max-width: 960px; padding-bottom: 28px; }

/* 14. CTA banner */
main > .contact { padding-top: 40px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 320px; padding: 64px; border-radius: var(--radius); color: var(--white); background-color: var(--dark); background-image: radial-gradient(ellipse at 85% 100%, var(--navy-end), transparent 65%), repeating-linear-gradient(120deg, transparent 0 35px, #C7D9FF08 35px 36px); }
.contact-card h2 { max-width: 650px; }
.contact-card .button { flex-shrink: 0; min-height: 76px; padding: 24px 44px; font-size: 22px; }

/* 15. Footer */
.site-footer { padding-top: 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: .95fr 1.2fr 1fr; gap: 64px; padding-bottom: 56px; }
.footer-grid > div { min-width: 0; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-grid h2 { margin-bottom: 24px; font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; }
.footer-grid address { color: var(--secondary); }
.footer-grid address + p, .footer-grid p + address { margin-top: 12px; }
.footer-grid address a { display: block; width: fit-content; max-width: 100%; margin-bottom: 12px; overflow-wrap: anywhere; }
.copyright { padding: 24px 0; border-top: 1px solid var(--line); font-size: 12px; }

/* Tablet */
@media (max-width: 1023px) {
  main > .section-shell { padding-block: 56px; }
  h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  .desktop-nav { display: none; }
  .nav-contact { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .hamburger, .hamburger::before, .hamburger::after { width: 22px; height: 2px; background: var(--white); }
  .hamburger { position: relative; }
  .hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }
  .mobile-nav[open] .hamburger { background: transparent; }
  .mobile-nav[open] .hamburger::before { top: 0; transform: rotate(45deg); }
  .mobile-nav[open] .hamburger::after { top: 0; transform: rotate(-45deg); }
  .mobile-links { position: fixed; inset: 64px 0 0; display: flex; flex-direction: column; gap: 12px; padding: 32px var(--gutter); background: var(--dark); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-links a { padding: 8px 0; font-size: 32px; line-height: 1.2; text-decoration: none; }
  .hero-card { gap: 24px; min-height: 0; padding: 40px 24px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .context-intro { grid-template-columns: 1fr 2fr; gap: 24px; }
  .stats-grid, .data-grid { grid-template-columns: 1fr; }
  .stats-grid > div { gap: 16px; padding-top: 24px; }
  .stats-grid dt { max-width: none; }
  .module-card { padding: 28px; }
  .module-card h3 { margin-bottom: 28px; }
  .publication-grid, .infrastructure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-table-wrap { padding: 8px; }
  .pipeline-table { font-size: 12px; }
  .pipeline-table th, .pipeline-table td { padding: 16px 8px; }
  .case-card { gap: 24px; padding: 28px; }
  .case-copy p { font-size: 16px; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline article { padding-right: 0; }
  .team-card { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .contact-card { padding: 40px; gap: 24px; }
  .contact-card h2 { font-size: 40px; }
  .contact-card .button { padding: 20px 30px; font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Mobile */
@media (max-width: 639px) {
  body { font-size: 16px; }
  h1 { font-size: 40px; }
  h2 { font-size: 36px; }
  main > .section-shell { padding-block: 40px; }
  .section-heading { margin-bottom: 28px; }
  .eyebrow { margin-bottom: 20px; }
  .nav-shell { gap: 12px; }
  .nav-contact { padding-inline: 16px; }
  .brand { flex-basis: 100px; width: 100px; height: auto; }
  .hero-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 20px; }
  .hero h1 { margin-bottom: 24px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { width: 100%; padding-inline: 14px; font-size: 14px; }
  .hero-actions .text-link { align-self: center; }
  .hero-art { border-radius: 12px; }
  .context-intro { grid-template-columns: 1fr; gap: 8px; }
  .context h2 { margin-top: 40px; font-size: 40px; }
  .stats-grid dd { font-size: 56px; }
  .stats-grid dt { font-size: 16px; }
  .module-grid, .methodology-strip, .publication-grid, .data-tiles, .infrastructure-grid, .team-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 0; padding: 28px 24px; }
  .trust-strip { padding: 24px; }
  .methodology-strip { gap: 20px; }
  .pipeline-table-wrap { padding: 0; background: transparent; }
  .pipeline-table, .pipeline-table tbody { display: block; width: 100%; }
  .pipeline-table { font-size: 14px; }
  .pipeline-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pipeline-table tr { display: block; margin-bottom: 16px; padding: 20px; border-radius: var(--radius); background: var(--white); }
  .pipeline-table td { display: block; padding: 12px 0; }
  .pipeline-table td:first-child { padding-top: 0; border-top: 0; font-size: 18px; }
  .pipeline-table td:last-child { padding-bottom: 0; }
  .pipeline-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; color: var(--secondary); font-size: 12px; font-weight: 500; }
  .stage { gap: 8px; }
  .case-list { margin-top: 24px; }
  .case-card { grid-template-columns: 1fr; padding: 24px; }
  .case-copy h3 { margin-top: 24px; }
  .data-tiles > div { min-height: 0; }
  .throughput-table caption { display: block; padding: 0 0 20px; }
  .throughput-table tbody th { display: block; padding: 0 0 12px; border: 0; font-size: 18px; }
  .publication-card { padding: 24px; }
  .publication-card .chip + h3 { margin-top: 24px; }
  .roadmap h2 { margin-bottom: 32px; }
  .team-card { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; }
  .faq-card { padding: 0 24px; }
  .faq-card summary { gap: 16px; padding-block: 24px; font-size: 18px; }
  .faq h2 { margin-bottom: 28px; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 36px 24px; min-height: 0; }
  .contact-card h2 { font-size: 40px; }
  .contact-card .button { width: 100%; min-height: 68px; }
  .site-footer { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
