:root {
  --bg: #070a0b;
  --bg-2: #0a0e10;
  --panel: #0b1114;
  --panel-2: #0e1518;
  --line: #223036;
  --line-soft: rgba(125, 166, 178, .22);
  --text: #f4f4f1;
  --muted: #a7aaad;
  --muted-2: #70777b;
  --green: #21efae;
  --green-soft: rgba(33, 239, 174, .12);
  --yellow: #ffbd32;
  --radius: 8px;
  --max: 1320px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(27, 235, 172, .04), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: inherit; }
button, input, textarea { font: inherit; }

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(130, 168, 178, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 168, 178, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}

.section-shell,
.site-header,
.site-footer {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.desktop-nav {
  display: flex;
  gap: 38px;
}
.desktop-nav a,
.footer-links a {
  font-family: var(--mono);
  font-size: 12px;
  color: #d6dadb;
  text-decoration: none;
  transition: color .2s ease;
}
.desktop-nav a:hover,
.footer-links a:hover { color: var(--green); }

.header-cta { justify-self: end; }

.button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-light { background: #f5f5f2; color: #070a0b; }
.button-light:hover { background: #fff; }
.button-dark { background: transparent; border-color: #3a4b51; color: var(--text); }
.button-dark:hover { border-color: var(--green); }

.menu-button, .mobile-nav { display: none; }

.hero {
  min-height: 640px;
  padding: 82px 0 74px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33,239,174,.04);
}
h1,h2,h3,p { margin-top: 0; }
h1,h2 {
  font-family: var(--mono);
  letter-spacing: -.05em;
}
h1 {
  font-size: clamp(54px, 5.1vw, 79px);
  line-height: 1.06;
  margin-bottom: 24px;
}
h1 span { color: #c8c9ca; }
.hero-lede {
  max-width: 600px;
  color: #d0d4d5;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.72;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; }
.service-strip {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #d6dadb;
  font-family: var(--mono);
  font-size: 12px;
}
.service-strip b { color: #62696c; }

.hero-system {
  position: relative;
  min-height: 475px;
}
.network-dots {
  position: absolute;
  inset: 25px 0 20px 10%;
  opacity: .36;
  background-image: radial-gradient(circle, rgba(33,239,174,.7) 1px, transparent 1.3px);
  background-size: 14px 14px;
  mask-image: linear-gradient(90deg, transparent 0, black 20%, black 86%, transparent 100%);
}
.terminal-card {
  position: absolute;
  width: 58%;
  left: 4%;
  top: 25px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(11,17,20,.98), rgba(7,12,14,.98));
  border: 1px solid #39515a;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.terminal-label {
  color: var(--green);
  font: 600 12px var(--mono);
  margin-bottom: 12px;
}
.terminal-prompt {
  border: 1px solid #26363d;
  border-radius: 5px;
  padding: 14px;
  font: 13px/1.55 var(--mono);
  color: #e0e4e5;
}
.status-grid {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 20px;
  padding: 14px 4px;
}
.status-list {
  padding: 0;
  margin: 0;
  list-style: none;
  font: 12px/1.75 var(--mono);
  color: #aeb5b7;
}
.status-list li::before {
  content: "○";
  color: #607177;
  margin-right: 9px;
}
.status-list li.done::before { content: "✓"; color: var(--green); }
.status-box {
  border: 1px solid #31434a;
  border-radius: 5px;
  padding: 10px;
  font-family: var(--mono);
}
.status-box small { display: block; color: var(--green); font-size: 9px; margin-bottom: 6px; }
.status-box strong { display: block; font-size: 11px; margin-bottom: 9px; }
.status-box strong i { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 5px; }
.status-box span { color: #adb3b5; font-size: 10px; }
.service-lines { border: 1px solid #203037; border-radius: 5px; overflow: hidden; }
.service-lines > div {
  min-height: 35px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-bottom: 1px solid #18272d;
  font-family: var(--mono);
}
.service-lines > div:last-child { border-bottom: 0; }
.service-lines code { color: #bcc5c7; font-size: 10px; }
.service-lines em { color: #9aa4a7; font-style: normal; font-size: 9px; }
.service-lines em.ready { color: var(--green); }
.service-lines em.building { color: var(--yellow); }
.icon-db::before { content: "◉"; color:#dce2e3; }
.icon-mail::before { content: "✉"; color:#dce2e3; }
.icon-shield::before { content: "◇"; color:#dce2e3; }

.feature-output {
  position: absolute;
  z-index: 3;
  right: 0;
  width: 235px;
  min-height: 70px;
  border: 1px solid #274149;
  background: rgba(8,14,16,.98);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.feature-output::before {
  content:"";
  position:absolute;
  right:100%;
  width:58px;
  border-top:1px dashed rgba(33,239,174,.45);
}
.feature-output .output-icon { font-size: 18px; }
.feature-output strong { display:block; font-size: 11px; margin-bottom: 3px; }
.feature-output small { display:block; color:#929ca0; font: 9px var(--mono); }
.feature-output b { color: var(--green); }
.output-one { top: 48px; }
.output-two { top: 145px; }
.output-three { top: 242px; }
.output-four { top: 339px; }

.section-rule { border-top: 1px solid var(--line-soft); }
.features, .how, .example, .platform, .approach, .infrastructure, .request { padding: 62px 0 70px; }
.section-heading { max-width: 900px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2,
.example h2,
.platform h2,
.approach h2,
.request h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  margin-bottom: 12px;
}
.section-heading p,
.example-copy > p,
.platform p,
.approach-copy p,
.request-copy p {
  max-width: 820px;
  color: #b4babc;
  font: 13px/1.65 var(--mono);
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  min-height: 260px;
  border: 1px solid #25363d;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(13,20,23,.95), rgba(8,13,15,.95));
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(33,239,174,.5); }
.feature-card h3 { font-size: 18px; margin: 26px 0 11px; }
.feature-card p { color: #aab2b4; font: 12px/1.65 var(--mono); min-height: 78px; }
.feature-card a { color: var(--green); font: 600 11px var(--mono); text-underline-offset: 4px; }
.line-icon { width: 38px; height: 38px; position: relative; }
.line-icon::before, .line-icon::after { content:""; position:absolute; border:2px solid #edf1f1; }
.line-icon.database::before { width:26px; height:32px; border-radius:50%; left:2px; top:2px; }
.line-icon.database::after { width:26px; height:12px; border-radius:50%; left:2px; top:10px; border-top:0; }
.line-icon.logic::before { width:30px; height:20px; border-width:0 0 2px 2px; left:4px; top:12px; }
.line-icon.logic::after { width:8px; height:8px; border-radius:50%; left:0; top:26px; box-shadow: 15px -25px 0 -2px #edf1f1, 30px 0 0 -2px #edf1f1; }
.line-icon.plug::before { width:16px; height:18px; left:8px; top:10px; border-radius:0 0 6px 6px; }
.line-icon.plug::after { width:2px; height:12px; border:0; background:#edf1f1; left:16px; top:28px; box-shadow:-6px -25px 0 #edf1f1, 6px -25px 0 #edf1f1; }
.line-icon.browser::before { width:31px; height:25px; left:2px; top:5px; border-radius:3px; }
.line-icon.browser::after { width:29px; height:0; left:3px; top:12px; border-width:1px 0 0; }

.how { position: relative; }
.process {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.step-top { display: flex; align-items:center; margin-bottom: 15px; }
.step-top span {
  flex: 0 0 34px; height:34px; border:1px solid #48595f; border-radius:50%;
  display:grid; place-items:center; font: 11px var(--mono);
}
.step-top i { flex:1; border-top:1px solid #37505a; margin-left:10px; position:relative; }
.step-top i::after { content:"→"; position:absolute; right:0; top:-12px; color:#5b7882; font-style:normal; }
.process-step h3 { font-size:14px; margin-bottom:8px; }
.process-step p { color:#a8b0b2; font:11px/1.6 var(--mono); }
.speed-card {
  position:absolute; right:0; top:52px;
  border:1px dashed rgba(33,239,174,.45); border-radius:7px;
  padding:14px 18px; display:flex; gap:12px; align-items:center;
}
.speed-card span { color:var(--green); font-size:28px; }
.speed-card p { margin:0; font:10px/1.55 var(--mono); color:#dce0e1; }

.example {
  display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center;
}
.requirement-delivery {
  display:grid; grid-template-columns:1fr 30px 1fr; gap:12px; align-items:center; margin-top:30px;
}
.flow-arrow { color:var(--green); text-align:center; }
.mini-panel { border:1px solid #25373e; border-radius:7px; background:var(--panel); padding:16px; min-height:150px; }
.mini-panel small { font:600 10px var(--mono); color:#b7c3c5; }
.mini-panel p { font:11px/1.6 var(--mono); color:#e2e6e7; margin-top:12px; }
.delivery-panel small { color:var(--green); }
.delivery-panel ul, .approach-card ul { list-style:none; padding:0; margin:12px 0 0; }
.delivery-panel li, .approach-card li { font:11px/1.8 var(--mono); color:#d4dcde; }
.delivery-panel li::before, .approach-card li::before { content:"✓"; color:var(--green); margin-right:8px; }

.app-preview {
  min-height:330px; background:#f3f5f5; border-radius:7px; overflow:hidden;
  display:grid; grid-template-columns:140px 1fr; color:#0f1618;
  border:1px solid #6c7f86;
}
.preview-sidebar { background:#0c1316; color:#96a3a6; padding:18px 14px; display:flex; flex-direction:column; gap:16px; font:9px var(--mono); }
.preview-logo { color:#fff; font-weight:700; font-size:14px; margin-bottom:8px; }
.preview-sidebar .active { color:#fff; }
.preview-content { padding:20px; }
.preview-title { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.preview-title h3 { font-size:16px; margin:0; }
.preview-title button { background:#0a1012; color:#fff; border:0; border-radius:4px; font-size:9px; padding:8px 10px; }
.tabs { display:flex; gap:18px; font-size:9px; margin:18px 0 10px; color:#849093; }
.tabs .active { color:#151d20; font-weight:700; }
.table { border-top:1px solid #d8dfe1; }
.tr { min-height:43px; display:grid; grid-template-columns:1.5fr .75fr 1fr .7fr; align-items:center; gap:10px; border-bottom:1px solid #dde3e4; font-size:9px; }
.th { color:#667276; font-weight:600; font-size:8px; }
.pill { display:inline-block; border-radius:10px; padding:3px 7px; font-size:8px; }
.pill.pending { background:#fff0b7; color:#785f00; }
.pill.approved { background:#c9f6d8; color:#17652d; }

.platform { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.building-blocks { margin-top:24px; display:grid; grid-template-columns:repeat(5, 1fr); gap:10px; }
.building-blocks span {
  min-height:70px; border:1px solid #26383f; border-radius:6px; display:flex;
  flex-direction:column; align-items:center; justify-content:center; gap:8px;
  font-size:18px;
}
.building-blocks b { font:500 9px var(--mono); }
.platform-flow { margin-top:18px; border:1px solid #203239; border-radius:7px; padding:16px; text-align:center; font:10px var(--mono); }
.your-feature { margin-bottom:7px; }
.flow-row { display:grid; grid-template-columns:1fr 20px 1fr; gap:8px; align-items:center; margin:7px 0; }
.flow-row b, .aws-row span { border:1px solid #2d4851; border-radius:4px; padding:8px; font-weight:500; }
.flow-row i { color:var(--green); font-style:normal; }
.aws-row { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; margin:7px 0; }
.platform-flow > small { display:block; color:#7f8d91; margin-top:10px; }

.app-preview.compact { min-height:275px; grid-template-columns:112px 1fr; margin-top:22px; }
.compact .preview-sidebar { gap:12px; padding:14px 11px; }
.compact .preview-content { padding:15px; }
.people-table .tr { grid-template-columns:1.4fr 1fr .7fr; }
.module-tags { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
.module-tags span { border:1px solid #293b42; border-radius:5px; padding:10px; font:9px var(--mono); color:#d7dddd; }

.approach { display:grid; grid-template-columns:.8fr 1.2fr; gap:55px; align-items:start; }
.approach-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.approach-card { border:1px solid #26383f; background:var(--panel); border-radius:7px; padding:20px; min-height:240px; }
.approach-card h3 { color:var(--green); font:600 11px var(--mono); }
.approach-card h3 span { font-size:20px; margin-right:10px; }
.approach-quote {
  grid-column:1 / -1; border:1px solid #26383f; background:linear-gradient(90deg, rgba(33,239,174,.04), transparent);
  border-radius:7px; padding:20px; margin:0; font:18px/1.5 var(--mono); text-align:center;
}
.approach-quote::before { content:"“"; color:var(--green); font-size:38px; vertical-align:middle; margin-right:10px; }

.infrastructure { display:grid; grid-template-columns:.78fr 1.22fr; gap:55px; align-items:center; }
.infra-diagram { border:1px solid #2b424a; border-radius:7px; padding:20px; text-align:center; font:10px var(--mono); }
.infra-box { margin:0 auto; width:180px; border:1px solid #35515a; border-radius:4px; padding:10px; }
.infra-box.wide { width:100%; margin:8px 0; }
.infra-diagram > span { display:block; color:var(--green); padding:5px; }
.infra-services { display:grid; grid-template-columns:repeat(6,1fr); gap:7px; }
.infra-services div { min-height:54px; border:1px solid #284049; border-radius:4px; display:grid; place-items:center; padding:5px; }
.infra-services b { font-weight:500; font-size:8px; }
.infra-aws { border:1px solid #263c43; margin-top:8px; padding:7px; color:#aeb9bb; }
.infra-benefits { grid-column:2; display:flex; flex-wrap:wrap; justify-content:space-between; gap:15px; color:#d5dddd; font:10px var(--mono); }
.infra-benefits span::first-letter { color:var(--green); }

.request {
  display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; align-items:center;
  padding-top:78px; padding-bottom:78px;
}
.request-form { border:1px solid #294048; border-radius:8px; padding:20px; background:rgba(10,16,18,.76); }
.request-form label { display:block; margin-bottom:14px; }
.request-form label > span { display:block; font:10px var(--mono); color:#9aa6a9; margin-bottom:8px; }
.request-form input,
.request-form textarea {
  width:100%; background:#081013; color:#ecf1f2; border:1px solid #2e454e; border-radius:5px;
  padding:13px 14px; font:12px/1.5 var(--mono); outline:none; resize:vertical;
}
.request-form input:focus,
.request-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(33,239,174,.06); }
.form-note { margin:12px 0 0; color:#7f8b8e; font:10px var(--mono); }
.form-note.success { color:var(--green); }

.site-footer {
  min-height:190px; padding-top:36px; padding-bottom:36px;
  display:grid; grid-template-columns:1fr auto; align-items:start; gap:30px;
}
.site-footer p { color:#7f888b; font:10px var(--mono); margin-top:10px; }
.footer-links { display:flex; gap:25px; }
.copyright { grid-column:1/-1; align-self:end; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.08s; }
.reveal-delay-2 { transition-delay:.16s; }
.reveal-delay-3 { transition-delay:.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1; transform:none; transition:none; }
  .button, .feature-card { transition:none; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns:1fr; gap:30px; }
  .hero-system { min-height:500px; max-width:820px; }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .process { grid-template-columns:repeat(3,1fr); }
  .speed-card { position:static; margin-top:26px; width:max-content; max-width:100%; }
  .example, .platform, .approach, .infrastructure, .request { grid-template-columns:1fr; }
  .infra-benefits { grid-column:auto; justify-content:flex-start; }
}

@media (max-width: 780px) {
  .section-shell, .site-header, .site-footer { width:min(calc(100% - 32px), var(--max)); }
  .site-header { grid-template-columns:1fr auto; height:70px; }
  .desktop-nav, .header-cta { display:none; }
  .menu-button {
    display:flex; width:42px; height:42px; background:transparent; border:1px solid #33454c; border-radius:5px;
    align-items:center; justify-content:center; flex-direction:column; gap:6px; cursor:pointer;
  }
  .menu-button span { width:18px; border-top:1px solid #fff; }
  .mobile-nav {
    position:fixed; inset:70px 0 auto 0; z-index:20; padding:22px 16px 28px;
    background:rgba(7,10,11,.98); border-bottom:1px solid #27363b;
    flex-direction:column; gap:18px;
  }
  .mobile-nav.open { display:flex; }
  .mobile-nav a:not(.button) { text-decoration:none; font:13px var(--mono); }
  .hero { padding-top:55px; min-height:auto; }
  h1 { font-size:clamp(44px, 13vw, 62px); }
  .terminal-card { width:74%; left:0; }
  .feature-output { width:42%; min-width:185px; }
  .feature-output::before { width:28px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-card { min-height:unset; }
  .process { grid-template-columns:1fr 1fr; }
  .requirement-delivery { grid-template-columns:1fr; }
  .flow-arrow { transform:rotate(90deg); }
  .building-blocks { grid-template-columns:repeat(2,1fr); }
  .aws-row { grid-template-columns:1fr 1fr; }
  .app-preview { grid-template-columns:90px 1fr; overflow:auto; }
  .preview-content { min-width:520px; }
  .approach-grid { grid-template-columns:1fr; }
  .infra-services { grid-template-columns:repeat(3,1fr); }
  .site-footer { grid-template-columns:1fr; }
  .footer-links { flex-wrap:wrap; }
}

@media (max-width: 520px) {
  .hero-system { min-height:625px; }
  .terminal-card { width:100%; }
  .feature-output { width:82%; right:0; }
  .feature-output::before { display:none; }
  .output-one { top:385px; }
  .output-two { top:462px; }
  .output-three, .output-four { display:none; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .button { width:100%; }
  .service-strip { gap:8px; }
  .process { grid-template-columns:1fr; }
  .step-top i { display:none; }
  .platform-flow .flow-row { grid-template-columns:1fr; }
  .flow-row i { transform:rotate(90deg); }
  .module-tags { grid-template-columns:1fr 1fr; }
  .infra-services { grid-template-columns:1fr 1fr; }
}
