:root {
  --ink: #050b12;
  --ink-2: #0b1723;
  --ink-3: #102235;
  --paper: #eef3f8;
  --muted: #aebdcb;
  --line: rgba(126, 177, 215, 0.24);
  --electric: #087cff;
  --blue: #63baff;
  --cyan: #88ddff;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
::selection { background: #1b82e6; color: white; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.wrap { width: min(100% - 72px, 1450px); margin-inline: auto; }
.micro { font: 500 10px/1.55 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 13px; color: var(--blue); }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(3, 9, 15, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.nav.wrap { width: min(100% - 80px, 1500px); }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; white-space: nowrap; }
.logo-symbol { display: block; flex-shrink: 0; width: 86px; height: 44px; background: url("/celerity-logo.png") -19px -34px/150px 150px no-repeat; mix-blend-mode: screen; }
.wordmark { font-size: 20px; font-weight: 500; line-height: 1.05; letter-spacing: .24em; }
.wordmark small { display: block; margin-top: 9px; color: #60b9ff; font: 400 8px/1 var(--mono); letter-spacing: .39em; }
.links { display: flex; align-items: center; gap: 25px; font-size: 11px; font-weight: 600; }
.links a { color: #edf2f7; font-size: inherit; font-weight: inherit; transition: color .2s ease; }
.links a:hover, .links a[aria-current="page"] { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 47px; padding: 13px 21px; border: 1px solid #4babfa; border-radius: 3px; background: linear-gradient(115deg, #0765d8, #1496fa); color: #fff; box-shadow: inset 0 1px #c7eaff44, 0 8px 35px #0077ff18; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: #55b5ff; border-color: #9ddcff; color: #03121f; transform: translateY(-2px); }
.button.ghost { background: #0b172a45; border-color: #7da1bd70; box-shadow: none; }
.button.ghost:hover { background: #163250; color: white; }
.button.text { background: none; border: 0; box-shadow: none; padding: 0; color: var(--cyan); min-height: 0; }
.button.text:hover { color: #fff; }
.nav-cta { min-height: 42px; padding: 0 20px; gap: 20px; font: 700 11px/1 var(--sans); letter-spacing: normal; text-transform: none; white-space: nowrap; }
.nav-cta [aria-hidden] { font: 400 22px/1 var(--sans); }
.nav-cta-short { display: none; }
.breadcrumb { position: relative; z-index: 1; padding-top: 36px; display: flex; gap: 10px; color: #91a7bb; }
.breadcrumb a:hover { color: white; }
.breadcrumb span:last-child { color: var(--cyan); }
.interior-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #05101c; }
.interior-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050b12 5%, #06101bed 49%, #071e3670 100%), url("/hero-office.jpg") center/cover; opacity: .86; }
.interior-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #050b12 0%, transparent 35%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(330px, .77fr); align-items: end; gap: clamp(48px, 7vw, 132px); min-height: 615px; padding-top: 60px; padding-bottom: 58px; }
.hero-copy { max-width: 890px; }
.hero-copy h1 { margin: 28px 0 27px; font-size: clamp(57px, 7.3vw, 112px); font-weight: 500; line-height: .91; letter-spacing: -.068em; text-wrap: balance; }
.hero-copy h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.hero-lead { max-width: 640px; color: #d3dce5; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-aside { border: 1px solid #76bfff5c; background: linear-gradient(150deg, #15334aaf, #06121ee8); padding: 26px; box-shadow: 0 30px 90px #0008; backdrop-filter: blur(12px); }
.aside-top { display: flex; justify-content: space-between; color: var(--cyan); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.aside-title { margin: 28px 0 15px; font-size: 28px; font-weight: 400; line-height: 1.16; letter-spacing: -.04em; }
.aside-copy { color: #b6c6d5; font-size: 14px; line-height: 1.65; }
.aside-list { margin-top: 25px; border-top: 1px solid var(--line); }
.aside-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.aside-row span { color: var(--blue); }
.aside-row strong { font-size: 13px; font-weight: 500; text-align: right; }
.hero-aside .fine { margin-top: 20px; color: #7891a6; font: 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.section { padding: clamp(100px, 10vw, 158px) 0; border-bottom: 1px solid var(--line); }
.section.soft { background: linear-gradient(130deg, #0a1c2c, #07111c 72%); }
.section.light { background: #e8eef4; color: #091522; }
.section.light .kicker { color: #1469b7; }
.section.light .section-lead, .section.light .body-copy { color: #45576a; }
.section-head { display: grid; grid-template-columns: .38fr 1fr; gap: 5vw; align-items: start; margin-bottom: 65px; }
.section-head .kicker { color: var(--blue); padding-top: 12px; }
.section-head h2 { max-width: 1000px; margin: 0 0 24px; font-size: clamp(42px, 5.5vw, 82px); font-weight: 500; letter-spacing: -.062em; line-height: 1.02; text-wrap: balance; }
.section-head h2 em { font-family: var(--serif); font-weight: 400; color: var(--blue); }
.section-lead { max-width: 710px; margin: 0; color: #bdc9d4; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.58; }
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.statement h3 { margin: 0; font-size: clamp(36px, 4.5vw, 68px); line-height: 1.06; font-weight: 500; letter-spacing: -.05em; }
.statement p { color: #b5c6d5; font-size: 18px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 280px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #0a1b2a84, transparent 70%); }
.feature .num { color: var(--blue); }
.feature h3 { margin: 52px 0 13px; font-size: clamp(22px, 2.4vw, 31px); font-weight: 500; letter-spacing: -.035em; }
.feature p { margin: 0; max-width: 335px; color: #abc0d1; font-size: 14px; line-height: 1.65; }
.light .feature { background: #f0f4f8; }
.light .feature p { color: #516579; }
.diagram { padding: clamp(27px, 4vw, 62px); border: 1px solid #79c8ff60; background: radial-gradient(circle at 60% 40%, #103456 0, #071421 48%, #050d16 100%); box-shadow: inset 0 1px #b8ebff1f, 0 40px 90px #0004; }
.diagram-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; color: var(--blue); }
.diagram-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 50px 0; }
.diagram-node { position: relative; padding: 26px 24px; border: 1px solid #5fb9fc73; background: #081b2bdd; }
.diagram-node:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; z-index: 1; color: var(--cyan); font: 26px var(--sans); transform: translateY(-50%); }
.diagram-node span { color: var(--blue); }
.diagram-node strong { display: block; margin: 27px 0 9px; font-size: 20px; font-weight: 500; }
.diagram-node p { margin: 0; color: #9fb9cc; font-size: 12px; line-height: 1.6; }
.diagram-foot { padding-top: 18px; border-top: 1px solid var(--line); color: #a8c9df; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; }
.split h3 { margin: 0 0 25px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 500; line-height: 1.06; letter-spacing: -.05em; }
.body-copy { color: #b5c5d4; font-size: 17px; line-height: 1.7; }
.rule-list { border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule b { color: var(--blue); font: 500 11px var(--mono); }
.rule strong { display: block; font-size: 18px; font-weight: 500; }
.rule p { margin: 8px 0 0; color: #9fb3c5; font-size: 13px; line-height: 1.6; }
.light .rule p { color: #52677a; }
.rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.rail-step { position: relative; min-height: 280px; padding: 26px 20px 0; border-left: 1px solid var(--line); }
.rail-step::before { content: ""; position: absolute; top: -5px; left: 19px; width: 9px; height: 9px; border: 1px solid var(--blue); border-radius: 50%; background: #071827; box-shadow: 0 0 16px var(--blue); }
.rail-step:last-child { border-right: 1px solid var(--line); }
.rail-step span { color: var(--blue); }
.rail-step h3 { margin: 56px 0 13px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.rail-step p { margin: 0; color: #9eb3c5; font-size: 13px; line-height: 1.55; }
.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module { min-height: 195px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module span { color: var(--blue); }
.module h3 { margin: 37px 0 11px; font-size: 18px; font-weight: 500; }
.module p { margin: 0; color: #a9bccc; font-size: 12px; line-height: 1.5; }
.use-case { display: grid; grid-template-columns: .25fr .9fr 1fr; gap: 4vw; padding: 51px 0; border-top: 1px solid var(--line); }
.use-case:last-child { border-bottom: 1px solid var(--line); }
.use-case .num { color: var(--blue); padding-top: 8px; }
.use-case h3 { margin: 0; font-size: clamp(28px, 3vw, 47px); letter-spacing: -.05em; font-weight: 500; }
.use-case p { margin: 0 0 15px; color: #b7c7d6; font-size: 16px; line-height: 1.65; }
.use-case .label { color: var(--cyan); }
.case-footnote { margin-top: 20px; color: #8399aa; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 25px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 24px; cursor: pointer; font-size: clamp(18px, 2.2vw, 27px); letter-spacing: -.025em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font: 26px var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 780px; margin: 18px 0 0; color: #adc0d0; font-size: 16px; line-height: 1.65; }
.light .faq p { color: #4f6478; }
.consult-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 150px); align-items: start; }
.form-card { padding: clamp(25px, 4vw, 55px); border: 1px solid #64b9ff69; background: linear-gradient(140deg, #102d45, #071421 67%); box-shadow: 0 30px 90px #0005; }
.form-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); color: var(--cyan); }
.form-card h2 { margin: 27px 0 10px; font-size: 42px; font-weight: 500; letter-spacing: -.05em; }
.form-card > p { color: #b4c4d3; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.form-grid label { display: block; color: #d5e0e9; font: 500 11px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.form-grid label.full { grid-column: 1/-1; }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; margin-top: 11px; padding: 14px 16px; border: 1px solid #5b7b966b; border-radius: 2px; background: #071521; color: white; outline: none; font: 15px/1.5 var(--sans); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px #68d6ff1f; }
.form-grid textarea { resize: vertical; min-height: 116px; }
.form-grid .button { justify-self: start; }
.form-note { margin: 20px 0 0; color: #93aabd; font-size: 12px; line-height: 1.55; }
.form-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.privacy-copy { max-width: 860px; margin-left: auto; }
.privacy-copy section { padding: 33px 0; border-top: 1px solid var(--line); }
.privacy-copy h2 { margin: 0 0 13px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; }
.privacy-copy p, .privacy-copy li { color: #b9c9d6; font-size: 16px; line-height: 1.7; }
.privacy-copy ul { padding-left: 22px; }
.privacy-copy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cta-band { position: relative; overflow: hidden; padding: clamp(75px, 9vw, 130px) 0; border-top: 1px solid var(--line); background: radial-gradient(circle at 80% 50%, #14518c75, transparent 45%), linear-gradient(135deg, #0b2032, #06101b); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.cta-band h2 { max-width: 850px; margin: 20px 0 18px; font-size: clamp(48px, 6vw, 92px); font-weight: 500; line-height: 1.01; letter-spacing: -.06em; }
.cta-band h2 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.cta-band p { max-width: 670px; color: #b8cad8; font-size: 17px; line-height: 1.6; }
.footer { background: #02070c; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 80px; padding: 80px 0 70px; }
.footer-brand .footer-mark { position: relative; display: block; overflow: hidden; width: min(320px, 100%); aspect-ratio: 1.78; mix-blend-mode: screen; }
.footer-brand .footer-mark img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; transform: translateY(-17%); }
.footer-caption { color: #8bcaff; font: 500 13px/1.55 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.footer-caption span { display: block; }
.footer-brand p { max-width: 420px; margin: 22px 0; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.footer h3 { color: var(--blue); font: 500 10px/1.5 var(--mono); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 25px; }
.footer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.footer-list a, .footer-action a { color: #a9bdcd; font-size: 13px; }
.footer-list a:hover, .footer-action a:hover { color: var(--cyan); }
.footer-action { display: flex; flex-direction: column; gap: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: #758da0; }
.footer-bottom a:hover { color: var(--cyan); }
@media (max-width: 1250px) {
  .logo-symbol { width: 72px; height: 37px; background-position: -15px -29px; background-size: 128px; }
  .wordmark { font-size: 17px; }
  .nav { gap: 15px; }
  .links { gap: 18px; }
  .links a { font-size: 10px; }
  .nav-cta { padding-inline: 13px; }
}
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 35px; }
  .hero-copy h1 { font-size: clamp(55px, 7vw, 85px); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { gap: 35px; }
}
@media (max-width: 900px) {
  .nav.wrap { width: min(100% - 44px, 1500px); }
  .nav { flex-wrap: wrap; padding: 12px 0 8px; }
  .nav .links { order: 3; width: 100%; justify-content: flex-start; gap: 24px; overflow-x: auto; white-space: nowrap; padding: 4px 0 9px; scrollbar-width: none; }
  .nav .links::-webkit-scrollbar { display: none; }
  .nav .links a { font-size: 11px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 38px, 1450px); }
  .logo-symbol { width: 61px; height: 36px; background-position: -15px -24px; background-size: 110px; }
  .wordmark { font-size: 15px; letter-spacing: .2em; }
  .wordmark small { font-size: 6px; letter-spacing: .33em; margin-top: 6px; }
  .brand { gap: 7px; }
  .breadcrumb { padding-top: 20px; }
  .hero-grid { display: block; min-height: 0; padding: 74px 0 60px; }
  .hero-copy h1 { font-size: clamp(51px, 11vw, 82px); margin: 24px 0; }
  .hero-lead { font-size: 17px; }
  .hero-aside { margin-top: 55px; }
  .section { padding: 85px 0; }
  .section-head, .statement, .split, .consult-grid { display: block; }
  .section-head .kicker { display: block; margin-bottom: 22px; }
  .section-head h2 { font-size: clamp(40px, 9vw, 62px); }
  .section-head { margin-bottom: 42px; }
  .statement > :last-child, .split > :last-child { margin-top: 35px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { min-height: 240px; padding: 25px; }
  .feature h3 { margin-top: 35px; }
  .diagram-flow { grid-template-columns: 1fr 1fr; }
  .diagram-node:nth-child(2)::after { content: none; }
  .rail { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .rail-step { min-height: 215px; border-top: 1px solid var(--line); }
  .rail-step::before { top: -5px; }
  .rail-step h3 { margin-top: 30px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case { grid-template-columns: 40px 1fr; gap: 15px; }
  .use-case > div:last-child { grid-column: 2; }
  .form-card { margin-top: 45px; }
  .cta-band .wrap { display: block; }
  .cta-band .button { margin-top: 25px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; text-align: center; }
  .footer-brand .footer-mark { margin-inline: auto; }
  .footer-brand p { margin: 20px auto; }
}
@media (max-width: 620px) {
  .nav.wrap { width: min(100% - 36px, 1500px); }
  .nav { min-height: 82px; }
  .nav .links { gap: 16px; }
  .nav .links a { font-size: 10px; }
  .nav-cta { min-height: 37px; padding-inline: 11px; gap: 7px; }
  .nav-cta [aria-hidden] { display: none; }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
}
@media (max-width: 470px) {
  .wrap { width: min(100% - 30px, 1450px); }
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
  .hero-copy h1 { font-size: clamp(46px, 12vw, 64px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-aside { padding: 20px; }
  .feature-grid, .diagram-flow, .module-grid, .form-grid { grid-template-columns: 1fr; }
  .diagram-node::after { content: none !important; }
  .feature { min-height: 200px; }
  .form-grid label.full { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { display: grid; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
