
/* ============================================================
   PAGE-SPECIFIC — AI-First MVP Build (page 3)
   Distinct layout, modeled on the groovyweb ai-first-mvp-build
   reference. Reuses shared chrome + design system + .reveal
   toolkit. Every section has its own treatment, different from
   pages 1 (Hire) and 2 (Architecture Audit).
============================================================ */

/* ── HERO */
.mvp-hero { position: relative; padding: 168px 0 84px; background: var(--bg); }
.mvp-hero .aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mvp-hero .aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.mvp-hero .aurora .a1 { width: 50vw; height: 50vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(5,139,240,0.30), transparent 60%); }
.mvp-hero .aurora .a2 { width: 42vw; height: 42vw; right: -12vw; top: 4vh; background: radial-gradient(circle, rgba(92,184,255,0.22), transparent 60%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 54px; align-items: center; }
.mvp-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.1; letter-spacing: -0.025em; color: var(--fg); margin: 22px 0; }
.mvp-hero h1 em { font-style: normal; background: linear-gradient(135deg, #058BF0 0%, #19a7ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mvp-hero .lede { font-size: 18.5px; color: var(--muted); max-width: 560px; margin: 0 0 28px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero pill — continuous glare sweep (carried from page 2) */
.mvp-hero .chip { position: relative; overflow: hidden; isolation: isolate; }
.mvp-hero .chip::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
  transform: skewX(-22deg) translateX(-260%); pointer-events: none;
  animation: chipGlare 3.6s ease-in-out infinite;
}
@keyframes chipGlare { 0% { transform: skewX(-22deg) translateX(-260%); } 30%, 100% { transform: skewX(-22deg) translateX(420%); } }

/* hero inline trust points (distinct from page 1/2 stat cards) */
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; position: relative; z-index: 1; }
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--fg); }
.hero-trust svg { color: var(--accent); flex: none; }

/* hero visual — animated "MVP build" app window */
.build-illu { position: relative; width: 100%; max-width: 432px; margin-left: auto; }
.bw { position: relative; border-radius: 20px; overflow: hidden; background: radial-gradient(130% 130% at 50% 0%, #102a52 0%, #0a1730 55%, #07091a 100%); border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 30px 70px -28px rgba(5,139,240,0.5); }
.bw-bar { display: flex; gap: 7px; align-items: center; padding: 14px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.07); }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; }
.bw-bar i:nth-child(1) { background: #ff5f57; } .bw-bar i:nth-child(2) { background: #febc2e; } .bw-bar i:nth-child(3) { background: #28c840; }
.bw-bar b { margin-left: 8px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(207,230,255,0.7); }
.bw-body { padding: 22px; display: grid; gap: 14px; }
.bw-head { height: 13px; width: 56%; border-radius: 6px; background: rgba(255,255,255,0.18); }
.bw-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bw-tile { height: 60px; border-radius: 12px; background: linear-gradient(160deg, rgba(18,58,107,0.85), rgba(10,27,58,0.9)); border: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.bw-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(92,184,255,0.18) 50%, transparent 65%); transform: translateX(-100%); animation: bwShimmer 2.6s ease-in-out infinite; }
.bw-tile:nth-child(2)::after { animation-delay: 0.5s; }
@keyframes bwShimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.bw-chart { height: 84px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); display: flex; align-items: flex-end; gap: 9px; padding: 12px 14px; }
.bw-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #19a7ff, #058BF0); transform-origin: bottom; animation: bwGrow 1.6s var(--ease-out) both; }
.bw-chart span:nth-child(1) { height: 42%; animation-delay: 0.1s; } .bw-chart span:nth-child(2) { height: 66%; animation-delay: 0.2s; } .bw-chart span:nth-child(3) { height: 50%; animation-delay: 0.3s; } .bw-chart span:nth-child(4) { height: 82%; animation-delay: 0.4s; } .bw-chart span:nth-child(5) { height: 70%; animation-delay: 0.5s; } .bw-chart span:nth-child(6) { height: 95%; animation-delay: 0.6s; }
@keyframes bwGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bw-foot { display: flex; align-items: center; gap: 12px; }
.bw-foot small { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(207,230,255,0.7); white-space: nowrap; }
.bw-prog { flex: 1; height: 8px; border-radius: 6px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bw-prog i { display: block; height: 100%; width: 82%; border-radius: 6px; background: linear-gradient(90deg, #058BF0, #19a7ff); animation: bwFill 2.6s var(--ease-out) forwards; }
@keyframes bwFill { from { width: 0; } to { width: 82%; } }
.bw-badge { position: absolute; top: -13px; right: -8px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: linear-gradient(120deg, #0a63c4, #1aa0ff); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; box-shadow: 0 12px 26px -10px rgba(5,139,240,0.8); }
.bw-badge svg { animation: bwLift 2.2s ease-in-out infinite; }
@keyframes bwLift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ── section head helper */
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head .section-headline, .sec-head .section-sub { margin-left: auto; margin-right: auto; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── shared gradient-bleed edge card (carried from page 2): filled card with a
   gradient border that circulates around the edge on hover */
@property --edge-angle { syntax: '<angle>'; inherits: false; initial-value: 135deg; }
.edge-panel { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease; }
.section-dark .edge-panel { background: #0c1a33; border-color: rgba(255,255,255,0.09); box-shadow: 0 20px 46px -26px rgba(0,0,0,0.55); }
.edge-panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--edge-angle), transparent 0deg, var(--accent) 70deg, #5BB8FF 130deg, rgba(5,139,240,0.12) 205deg, transparent 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6; transition: opacity 0.35s ease; pointer-events: none;
}
.edge-panel:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px rgba(5,139,240,0.5); }
.edge-panel:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
@keyframes edgeSpin { from { --edge-angle: 0deg; } to { --edge-angle: 360deg; } }

/* ── MVP TIMELINE — mini Gantt (4 phases across 8 weeks) */
.gantt { margin-top: 8px; }
.gantt-axis { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; margin-bottom: 16px; }
.gantt-weeks { display: grid; grid-template-columns: repeat(8, 1fr); }
.gantt-weeks span { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); text-align: center; border-left: 1px solid rgba(255,255,255,0.08); padding: 6px 0; }
.gantt-weeks span:first-child { border-left: none; }
.gantt-row { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 14px 0; opacity: 0; transform: translateY(18px); filter: blur(9px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out); }
.gantt-row.in { opacity: 1; transform: none; filter: blur(0); }
.gantt-label { display: flex; flex-direction: column; gap: 3px; }
.gantt-label b { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--fg-dark); letter-spacing: -0.01em; }
.gantt-label small { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.gantt-track { position: relative; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.gantt-bar { position: absolute; top: 5px; bottom: 5px; border-radius: 7px; background: linear-gradient(90deg, var(--accent), #19a7ff); box-shadow: 0 6px 18px -6px rgba(5,139,240,0.7); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out); display: flex; align-items: center; padding: 0 12px; }
.gantt-row.in .gantt-bar { transform: scaleX(1); }
.gantt-bar span { font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; opacity: 0; transition: opacity 0.4s ease 0.5s; }
.gantt-row.in .gantt-bar span { opacity: 1; }

/* ── WHAT YOU GET — bento grid */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.bento-tile { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 28px; display: flex; flex-direction: column; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden; }
.bento-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(5,139,240,0.3); }
.bento-tile.feature { grid-row: span 2; background: linear-gradient(170deg, #0e2a55, #0a1b3a 75%); border-color: rgba(255,255,255,0.09); justify-content: space-between; }
.bento-ico { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform 0.3s var(--ease-out); }
.bento-tile.feature .bento-ico { background: rgba(5,139,240,0.18); color: #6cc1ff; }
.bento-tile:hover .bento-ico { transform: scale(1.1) rotate(-5deg); }
.bento-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg); margin: 0 0 8px; letter-spacing: -0.01em; }
.bento-tile.feature h3 { font-size: 24px; color: #fff; }
.bento-tile p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.bento-tile.feature p { color: rgba(255,255,255,0.76); font-size: 15.5px; }

/* ── VALUE — dark band, divider columns (no card boxes) */
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-cell { padding: 6px 34px; border-left: 1px solid rgba(255,255,255,0.1); }
.value-cell:first-child { border-left: none; padding-left: 0; }
.value-cell .vi { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; margin-bottom: 18px; }
.value-cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg-dark); margin: 0 0 9px; letter-spacing: -0.01em; }
.value-cell p { color: var(--muted-dark); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── WHY CLOUDASTRA — pinned horizontal carousel (scroll scrubs cards to center) */
.why-runway { position: relative; min-height: 460vh; }
.why-pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.why-pin .sec-head { margin-bottom: 26px; }
.why-viewport { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.why-track { display: flex; gap: 26px; will-change: transform; padding: 26px 4px; }
.why-card { flex: 0 0 360px; padding: 34px 32px; min-height: 248px; will-change: transform, opacity, filter; transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.why-card .wi { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform 0.3s var(--ease-out); }
.why-card:hover .wi { transform: scale(1.1) rotate(-5deg); }
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--fg); margin: 0 0 9px; letter-spacing: -0.01em; }
.why-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
/* mobile / reduced-motion: no pin, simple centered wrap */
.why-runway.no-pin { min-height: 0; }
.why-runway.no-pin .why-pin { position: static; min-height: 0; padding: clamp(72px,10vw,120px) 0; overflow: visible; }
.why-runway.no-pin .why-viewport { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.why-runway.no-pin .why-track { flex-wrap: wrap; justify-content: center; transform: none !important; }
.why-runway.no-pin .why-card { flex: 0 0 300px; opacity: 1 !important; filter: none !important; transform: none !important; }

/* ── INDUSTRIES — continuous horizontal marquee of gradient-edge cards (from page 2) */
.ind-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ind-track { display: flex; gap: 16px; width: max-content; animation: indMarquee 42s linear infinite; }
.ind-marquee:hover .ind-track { animation-play-state: paused; }
@keyframes indMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ind-item { flex: none; display: flex; align-items: center; gap: 14px; padding: 16px 22px; }
.ind-item .ii { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); transition: transform 0.3s var(--ease-out); }
.ind-item:hover .ii { transform: scale(1.1) rotate(-5deg); }
.ind-item span { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg); white-space: nowrap; }
/* industries cards: no constant edge line at rest — glow only on hover */
.ind-item.edge-panel::before { opacity: 0; }
.ind-item.edge-panel:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ind-track { animation: none; } .ind-marquee { overflow-x: auto; } }

/* ── RELATED SERVICES — numbered cross-link cards */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card { text-decoration: none; display: flex; flex-direction: column; height: 100%; position: relative; padding-top: 8px; }
.rel-num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--accent); letter-spacing: 0.16em; margin-bottom: 14px; }
.rel-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--fg); margin: 0 0 8px; letter-spacing: -0.01em; }
.rel-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.rel-more { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.rel-card:hover .rel-more svg { transform: translateX(4px); }
.rel-more svg { transition: transform 0.3s var(--ease-out); }

/* ── AI-FIRST ENGINEERING — interactive Plan/Build/Deploy/Grow flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.flow-step { position: relative; padding: 26px 22px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); cursor: default; transition: transform 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.flow-step:hover { transform: translateY(-6px); background: rgba(5,139,240,0.08); border-color: rgba(5,139,240,0.4); box-shadow: 0 22px 46px -24px rgba(5,139,240,0.6); }
.flow-step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -15px; width: 13px; height: 13px; border-top: 2px solid var(--border-2); border-right: 2px solid var(--border-2); transform: translateY(-50%) rotate(45deg); transition: border-color 0.3s ease, right 0.3s var(--ease-out); z-index: 2; }
.flow-step:hover::after { border-color: var(--accent); right: -18px; }
.flow-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; margin-bottom: 16px; transition: transform 0.3s var(--ease-out), background 0.3s ease; }
.flow-step:hover .flow-ico { transform: scale(1.12) rotate(-6deg); background: rgba(5,139,240,0.24); }
.flow-step b { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg-dark); display: block; margin-bottom: 6px; transition: color 0.25s ease; }
.flow-step:hover b { color: #6cc1ff; }
.flow-step span { color: var(--muted-dark); font-size: 14px; line-height: 1.55; }

/* ── CONTACT — Start a project (carried pattern, MVP budget select) */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: start; }
.contact-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--fg-dark); margin: 18px 0 16px; }
.contact-copy h2 em { font-style: normal; color: var(--accent); }
.contact-copy p { color: var(--muted-dark); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 440px; }
.contact-methods { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-methods li { display: flex; align-items: center; gap: 13px; color: var(--fg-dark); font-size: 15px; }
.contact-methods .cm-ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; }
.contact-methods a { color: var(--fg-dark); text-decoration: none; }
.contact-methods a:hover { color: var(--accent); }
.cform { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 32px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted-dark); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-family: var(--font-sans); font-size: 14.5px; transition: border-color 0.25s ease, background 0.25s ease; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236cc1ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: #0a1b3a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(5,139,240,0.08); }
.field textarea { min-height: 110px; resize: vertical; }
.cform .btn { width: 100%; justify-content: center; margin-top: 4px; }
.cform-note { font-size: 12.5px; color: var(--muted-dark); text-align: center; margin: 14px 0 0; }

/* ── page-3 motion enhancements */
/* keep the gradient accent on the headline em when words are split for reveal
   (background-clip:text doesn't reach the nested word spans, so apply it there) */
.mvp-hero h1 em .r-word > span { background: linear-gradient(135deg, #058BF0 0%, #19a7ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-caret { display: inline-block; width: 2px; height: 12px; background: #6cc1ff; margin-left: 5px; vertical-align: -1px; animation: bwBlink 1.1s steps(1) infinite; }
@keyframes bwBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
/* snappier transform transition so cursor tilt feels responsive */
.bento-tile { transition: transform 0.18s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease; transform-style: preserve-3d; will-change: transform; }
/* value icons pop in as the column reveals */
.value-cell .vi { transition: transform 0.55s var(--ease-out) 0.12s, opacity 0.5s ease; }
.value-cell.reveal:not(.in) .vi { transform: scale(0.55) rotate(-12deg); opacity: 0; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .build-illu { order: -1; margin: 0 auto; }
  .gantt-axis, .gantt-row { grid-template-columns: 130px 1fr; gap: 14px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-tile.feature { grid-row: span 1; grid-column: span 2; }
  .value-row { grid-template-columns: 1fr; gap: 26px; }
  .value-cell { border-left: none; padding: 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .flow-step:not(:last-child)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.feature { grid-column: span 1; }
  .flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gantt-weeks span { font-size: 9px; }
}

/* FAQ — two-column, matches home page */
.faq-layout { display: flex; flex-direction: column; gap: 48px; }
.faq-head .eyebrow { justify-content: flex-start; }
.faq-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.02em; color: var(--fg); margin: 20px 0 0; }
.faq-intro { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 28rem; }
.faq-reach { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.faq-reach:hover { text-decoration: underline; }
.faq-reach svg { transition: transform 0.25s var(--ease-out); }
.faq-reach:hover svg { transform: translate(2px, -2px); }
.faq-list { flex: 1; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg); transition: color 0.25s ease; }
.faq-q:hover { color: var(--accent); }
.faq-q .faq-ico { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.3s var(--ease-out), color 0.3s ease; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-ico { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; padding-right: 32px; max-width: 760px; }
@media (min-width: 768px) {
  .faq-layout { flex-direction: row; gap: 80px; align-items: flex-start; }
  .faq-head { position: sticky; top: 128px; width: 42%; flex: none; }
}


  .cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
  .cap-col { padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
  .cap-col:hover { transform: translateY(-4px); border-color: rgba(5,139,240,0.3); background: rgba(5,139,240,0.06); }
  .cap-col .ci { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; margin-bottom: 14px; }
  .cap-col b { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-dark); display: block; margin-bottom: 5px; }
  .cap-col span { color: var(--muted-dark); font-size: 13.5px; line-height: 1.5; }
  .eng-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
  .eng-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--fg-dark); font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
  .eng-pill svg { color: #6cc1ff; }
  .eng-stack { display: flex; flex-direction: column; gap: 16px; }
  .eng-stack .cap-col { display: flex; align-items: flex-start; gap: 14px; }
  .eng-stack .cap-col .ci { margin-bottom: 0; flex: none; }
  .eng-stack .cap-col b { margin-bottom: 4px; }
  .eng-stack .eng-cta { justify-content: center; margin-top: 4px; }
  @media (max-width: 860px) { .cross-grid { grid-template-columns: 1fr; gap: 36px; } }


  .calc-shell {
    max-width: 1180px; margin: 0 auto;
    border: 1px solid var(--border-dark); border-radius: 26px;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(5,139,240,0.10), transparent 55%),
      linear-gradient(180deg, var(--bg-dark-3), var(--bg-dark-2));
    padding: 44px clamp(22px, 4vw, 52px);
    box-shadow: 0 40px 90px -50px rgba(0,0,0,0.8);
  }
  .calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: stretch; }
  .calc-main { display: flex; flex-direction: column; }
  .calc-intro { margin-bottom: 30px; }
  .calc-intro .eyebrow { justify-content: flex-start; }
  .calc-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; color: var(--fg-dark); margin: 14px 0 14px; }
  .calc-intro h2 em { font-style: normal; color: var(--accent); }
  .calc-intro p { color: var(--muted-dark); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 460px; }
  .calc-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr; gap: 24px 28px; flex: 1;
  }
  .calc-field { display: flex; flex-direction: column; }
  .calc-field label {
    display: block; font-family: var(--font-sans);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
    color: var(--fg-dark); margin-bottom: 14px;
  }
  .calc-field input[type="range"] {
    width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
    background: var(--border-dark); border-radius: 999px; outline: none;
    accent-color: var(--accent); cursor: pointer;
  }
  .calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
    border-radius: 50%; background: var(--accent); border: 3px solid #cfe4fb;
    box-shadow: 0 4px 12px -2px rgba(5,139,240,0.6); cursor: pointer;
  }
  .calc-field input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
    border: 3px solid #cfe4fb; cursor: pointer;
  }
  .calc-readout {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--border-dark); border-radius: 12px;
    background: rgba(255,255,255,0.02); padding: 13px 16px;
  }
  .calc-readout .val { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); }
  .calc-readout .unit { font-size: 13px; color: var(--muted-dark); }
  @media (max-width: 560px) {
    .calc-grid { grid-template-columns: 1fr; }
  }
  .calc-side { display: flex; flex-direction: column; gap: 14px; }
  .calc-card {
    display: flex; align-items: center; gap: 16px;
    border: 1px solid var(--border-dark); border-radius: 16px;
    background: rgba(255,255,255,0.02); padding: 18px 20px; text-align: left;
  }
  .calc-card .calc-ico {
    width: 42px; height: 42px; flex: none; border-radius: 11px;
    display: grid; place-items: center; color: var(--accent);
    background: rgba(5,139,240,0.12);
  }
  .calc-card .calc-body { min-width: 0; }
  .calc-card .calc-lbl {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted-dark); margin-bottom: 5px; line-height: 1.4;
  }
  .calc-card .calc-val { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--fg-dark); line-height: 1.1; }
  .calc-card .calc-foot { font-size: 11px; color: var(--muted-dark); margin-top: 5px; line-height: 1.45; }
  .calc-card.is-hero {
    border-color: rgba(22,163,74,0.45);
    background: linear-gradient(180deg, rgba(22,163,74,0.14), rgba(22,163,74,0.04));
  }
  .calc-card.is-hero .calc-ico { color: #22c55e; background: rgba(22,163,74,0.16); }
  .calc-card.is-hero .calc-val { color: #22c55e; }
  .calc-cta { margin-top: 22px; }
  .calc-cta .btn { width: 100%; justify-content: center; }
  .calc-note { font-size: 12px; color: var(--muted-dark); margin: 14px 0 0; text-align: center; }
  @media (max-width: 860px) {
    .calc-layout { grid-template-columns: 1fr; gap: 38px; }
  }


  .guard-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: -16px; border-radius: 16px; border: 1px solid transparent; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out); }
  /* scroll-scrubbed reveal (one-by-one) */
  .guard-scrub .guard-item { opacity: var(--rev, 0); transform: translateY(calc((1 - var(--rev, 0)) * 34px)); }
  .guard-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(5,139,240,0.28); transform: translateY(-3px); }
  .guard-item .gi { width: 44px; height: 44px; border-radius: 12px; flex: none; background: rgba(5,139,240,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s var(--ease-out), background 0.3s ease; }
  .guard-item:hover .gi { transform: scale(1.1) rotate(-4deg); background: rgba(5,139,240,0.2); }
  .guard-item .gi::after { content: ''; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(5,139,240,0.5); opacity: 0; }
  .guard-item:hover .gi::after { animation: nodePulse 0.8s ease-out; }
  .guard-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 2px 0 6px; color: var(--fg-dark); transition: color 0.25s ease; }
  .guard-item:hover h3 { color: #6cc1ff; }
  .guard-item p { color: var(--muted-dark); font-size: 14px; margin: 0; }
  .guard-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--accent); opacity: 0.9; margin-bottom: 10px; }
  @keyframes nodePulse {
    0% { opacity: 0.7; transform: scale(0.9); }
    70%, 100% { opacity: 0; transform: scale(1.15); }
  }


  .numgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .numstat { border: 1px solid var(--border-dark); border-radius: 18px; background: rgba(255,255,255,0.02); padding: 30px 24px; text-align: center; transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
  .numstat:hover { transform: translateY(-4px); border-color: rgba(5,139,240,0.4); background: rgba(5,139,240,0.05); }
  .numstat .nv { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
  .numstat .nl { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted-dark); }
  @media (max-width: 860px) { .numgrid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .numgrid { grid-template-columns: 1fr; } }
