/* =====================================================================
   RAVINDRA SINGH — v4 design system ("Signal")
   Black + soft ember glass · Montserrat (display/body) + JetBrains Mono (labels)
   Our own system, inspired by studio-style layouts. No third-party code.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #050404;
  --bg-2: #0B0909;
  --panel: rgba(16,13,13,.72);
  --panel-2: rgba(24,19,19,.8);
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);
  --text: #F2F2F2;
  --muted: rgba(242,242,242,.60);
  --dim: rgba(242,242,242,.38);
  --ember: #B8432A;
  --ember-soft: rgba(184,67,42,.16);
  --rust: #7D433B;
  --steel: #949299;
  --display: 'Montserrat', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 22px;
  --max: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--display); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ambient light + grain */
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 50% -8%, rgba(148,160,172,.08), transparent 70%),
    radial-gradient(36vmax 30vmax at 82% 30%, rgba(184,67,42,.10), transparent 72%),
    radial-gradient(40vmax 30vmax at 10% 100%, rgba(125,67,59,.10), transparent 72%), var(--bg); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* faint blueprint grid on hero */
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent); }

/* type voices */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); }
.h-display { font-weight: 300; letter-spacing: -.03em; line-height: 1.04; }
.h-display b, .h2 b { font-weight: 500; color: #fff; }
.h-display span.mute, .h2 span.mute { color: var(--muted); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.08; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 520px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; border-radius: 100px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn-solid { background: #fff; color: #050404; }
.btn-solid:hover { background: #E9E5E3; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); }

/* header */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #050404; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.hdr { position: fixed; top: 16px; left: 16px; right: 16px; z-index: 60; }
.hdr .bar { max-width: var(--max); margin: 0 auto; padding: 0 10px 0 22px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--line); border-radius: 100px; background: rgba(8,7,7,.7); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); transition: background .3s; }
.hdr.is-scrolled .bar { background: rgba(8,7,7,.88); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: -.01em; color: var(--text); font-size: 17px; }
.logo i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 11px; }
.logo span { font-weight: 300; color: var(--muted); }
.hdr .nav-links { display: flex; gap: 28px; list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hdr .nav-links a { color: var(--muted); transition: color .2s; }
.hdr .nav-links a:hover, .hdr .nav-links a.active { color: var(--text); }
.hdr .nav-links .m-only { display: none; }
.hdr .hdr-cta { height: 44px; padding: 0 18px; font-size: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { width: 16px; height: 1px; background: var(--text); display: block; }
@media (max-width: 1024px) {
  .hdr .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: rgba(8,7,7,.96); }
  .hdr .nav-links.open { display: flex; }
  .hdr .nav-links a { display: block; padding: 14px 16px; font-size: 13px; }
  .hdr .nav-links .m-only { display: block; }
  .nav-toggle { display: flex; }
  .hdr .hdr-cta { display: none; }
}
/* hero */
.hero { position: relative; padding: 170px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); margin: 22px 0 24px; }
.hero .cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero .flow { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; display: flex; gap: 14px; align-items: center; }
.hero .flow em { font-style: normal; color: var(--ember); }

/* signal engine (hero visual) */
.engine { position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin-left: auto; width: 100%;
  border: 1px solid var(--line); border-radius: 28px; background: var(--panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: hidden; }
.engine .top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,67,42,.6); } 70% { box-shadow: 0 0 0 10px rgba(184,67,42,0); } 100% { box-shadow: 0 0 0 0 rgba(184,67,42,0); } }
.engine svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.engine .orbit { transform-origin: 270px 290px; animation: spin 28s linear infinite; }
.engine .orbit.r2 { animation-duration: 44s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.engine .dash { stroke-dasharray: 4 6; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.core { position: absolute; left: 50%; top: 53.7%; transform: translate(-50%,-50%); width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232,140,110,.9), rgba(184,67,42,.85) 38%, rgba(60,20,14,.9) 72%);
  box-shadow: 0 0 60px rgba(184,67,42,.35), inset 0 0 30px rgba(0,0,0,.5); display: grid; place-items: center; text-align: center; animation: breathe 5s ease-in-out infinite; }
.core b { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; font-weight: 500; color: #fff; line-height: 1.5; }
@keyframes breathe { 50% { box-shadow: 0 0 90px rgba(184,67,42,.5), inset 0 0 30px rgba(0,0,0,.5); transform: translate(-50%,-50%) scale(1.04); } }
.node { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(10,8,8,.85);
  font-size: 12.5px; white-space: nowrap; }
.node i { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--dim); }
.n1 { left: 7%; top: 22%; } .n2 { right: 7%; top: 22%; } .n3 { left: 7%; bottom: 10%; } .n4 { right: 7%; bottom: 10%; }
.engine .chip { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-size: 22px; font-weight: 300; color: rgba(255,255,255,.42); display: inline-flex; align-items: center; gap: 64px; white-space: nowrap; }
.marquee span::after { content: '✦'; font-size: 12px; color: var(--ember); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: 120px 0; position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.sec-head .h2 { max-width: 680px; margin-top: 18px; }
.sec-head p { color: var(--muted); max-width: 340px; }

/* capability cards with watermark number */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 30px 28px 34px; min-height: 300px; display: flex; flex-direction: column;
  transition: border-color .4s, transform .5s var(--ease), background .4s; }
.card::before { content: ''; position: absolute; top: 0; left: 28px; width: 40px; height: 2px; background: var(--ember); border-radius: 0 0 2px 2px; transition: width .5s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--panel-2); }
.card:hover::before { width: 90px; }
.card .row { display: flex; justify-content: space-between; align-items: center; }
.card .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s; }
.card .go svg { width: 15px; height: 15px; }
.card:hover .go { background: #fff; color: #050404; }
.card h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; margin: 70px 0 10px; }
.card p { color: var(--muted); font-size: .95rem; max-width: 300px; }
.card .wm { position: absolute; right: -6px; bottom: -34px; font-size: 150px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none; }
.card.wide { grid-column: span 2; }

/* proof */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -.03em; margin: 18px 0 6px; }
.stat span { color: var(--muted); font-size: .9rem; }
.cases { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.case { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: border-color .4s; }
.case:hover { border-color: var(--line-2); }
.case .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.case h3 { font-size: 1.25rem; font-weight: 500; }
.case .metric { font-size: 2.2rem; font-weight: 300; letter-spacing: -.03em; margin-top: auto; }
.case .metric small { display: block; font-size: .85rem; color: var(--muted); letter-spacing: 0; }
.case.feature { background: radial-gradient(120% 100% at 100% 0%, rgba(184,67,42,.14), transparent 60%), var(--panel); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 26px 10px 0; position: relative; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--ember); transition: width 1.2s var(--ease); }
.step.is-in::before { width: 70%; }
.step h3 { font-size: 1.2rem; font-weight: 500; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 1.08rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--mono); color: var(--dim); transition: transform .3s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); padding: 0 0 24px; max-width: 620px; }

/* final cta */
.final { border: 1px solid var(--line); border-radius: 32px; padding: 90px 60px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(60% 90% at 50% 120%, rgba(184,67,42,.22), transparent 70%), var(--panel); }
.final .h2 { max-width: 760px; margin: 20px auto 18px; }
.final p { color: var(--muted); margin-bottom: 34px; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer */
.ftr { padding: 110px 0 40px; position: relative; overflow: hidden; }
.sign { font-size: clamp(3rem, 8.6vw, 8.4rem); font-weight: 300; letter-spacing: -.045em; line-height: .95; text-transform: uppercase; }
.sign b { font-weight: 500; }
.sign .mute { color: rgba(242,242,242,.32); }
.ftr-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.ftr-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.ftr-cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 18px; }
.ftr-cols .logo { margin-bottom: 16px; }
.ftr-cols a:not(.logo) { display: block; color: var(--muted); margin-bottom: 10px; font-size: .95rem; }
.ftr-cols a:hover { color: var(--text); }
.ftr-cols p { color: var(--muted); font-size: .95rem; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.ftr-cols .socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; margin: 0; }
.ftr-base { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.ftr .wmark { position: absolute; left: 50%; bottom: -4.2vw; transform: translateX(-50%); font-size: 19vw; font-weight: 600; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); white-space: nowrap; pointer-events: none; z-index: -1; }

/* service page bits */
.svc-hero { padding: 180px 0 100px; position: relative; }
.svc-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 980px; margin: 24px 0 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 40px; }
.panel h3 { font-size: 1.6rem; font-weight: 300; margin: 18px 0 12px; }
.panel h3 b { font-weight: 500; }
.panel p { color: var(--muted); }
.panel ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.panel li { display: flex; gap: 12px; color: var(--text); font-size: .95rem; }
.panel li::before { content: '→'; font-family: var(--mono); color: var(--ember); }
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.crumb a:hover { color: var(--text); }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.split-h .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-h .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.split-h.is-in .w > span { transform: none; }

@media (max-width: 1024px) {
  .hero-grid, .faq, .split { grid-template-columns: 1fr; }
  .engine { margin: 0 auto; }
  .cards, .cases { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 130px; }
  .cards, .cases, .stats, .steps { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .sec { padding: 80px 0; }
  .sec-head { flex-direction: column; align-items: start; }
  .final { padding: 60px 24px; }
  .ftr-top { flex-direction: column; align-items: start; }
  .ftr-cols { grid-template-columns: 1fr; }
  .hdr .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split-h .w > span { opacity: 1; transform: none; }
}


/* =====================================================================
   LEGACY CONTENT LAYER — restyles the original page markup (all inner pages)
   ===================================================================== */
:root { --font-display: var(--display); --font-body: var(--display); --accent: var(--ember); --accent-dim: var(--ember-soft); --border: var(--line); --border-accent: rgba(184,67,42,.45); --text-muted: var(--muted); --text-dim: var(--dim); --bg-card: var(--panel); --radius: 22px; --nav-h: 96px; }
.dot-grid { display: none; }
.container { max-width: var(--max); padding: 0 32px; }
.section { padding: 110px 0; }
.section-sm { padding: 64px 0; }
.section-header { margin-bottom: 56px; }
.section-header h2, .cta-section h2, .article-body h2 { font-family: var(--display); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; }
.section-header h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-header h2 .accent, .page-hero h1 .accent, .hero h1 .accent, .cta-section h2 .accent { color: #fff; font-weight: 500; background: none; -webkit-text-fill-color: currentColor; }
.section-header p { color: var(--muted); }
.section-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; }
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); }
.page-hero { padding: 180px 0 80px; position: relative; text-align: left; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 80% at 40% 30%, #000, transparent); mask-image: radial-gradient(70% 80% at 40% 30%, #000, transparent); }
.page-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 4.8vw, 4.3rem); letter-spacing: -.03em; line-height: 1.05; max-width: 1000px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.breadcrumb a { color: var(--dim); } .breadcrumb a:hover { color: var(--text); }
.hero { padding-top: 170px; }
.hero h1 { font-family: var(--display); font-weight: 300; letter-spacing: -.03em; }
.hero-badge { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); background: none; border: 0; padding: 0; }
.hero-sub { color: var(--muted); }
/* buttons (legacy classes) */
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 100px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.btn-primary { background: #fff; color: #050404; border: 1px solid #fff; box-shadow: none; }
.btn-primary:hover { background: #E9E5E3; color: #050404; transform: none; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); color: var(--text); }
/* cards */
.card, .result-card, .blog-card, .stat-item, .faq-item, .trust-bar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.card { position: relative; overflow: hidden; padding: 30px 28px; transition: border-color .4s, transform .5s var(--ease), background .4s; }
.card::before { content: ''; position: absolute; top: 0; left: 28px; width: 40px; height: 2px; background: var(--ember); border-radius: 0 0 2px 2px; transition: width .5s var(--ease); }
.card:hover, .result-card:hover, .blog-card:hover { border-color: var(--line-2); background: var(--panel-2); transform: translateY(-4px); }
.card:hover::before { width: 90px; }
.card-accent { border-color: rgba(184,67,42,.35); background: radial-gradient(120% 100% at 100% 0%, rgba(184,67,42,.12), transparent 60%), var(--panel); }
.card h3, .result-card h3, .blog-content h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
.card p, .result-card p, .blog-content p { color: var(--muted); }
.card-num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--dim); }
.card-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; font-size: 18px; }
.result-card { padding: 28px; }
.result-tag, .blog-date { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: none; border: 0; padding: 0; }
.result-metric::before { background: none; border: 0; content: '→'; font-family: var(--mono); color: var(--ember); width: auto; height: auto; }
.stats-row { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; gap: 0; }
.stats-row .stat-item { border: 0; border-radius: 0; background: none; border-right: 1px solid var(--line); }
.stat-num { font-family: var(--display); font-weight: 300; letter-spacing: -.03em; color: var(--text); }
.stat-label { color: var(--muted); }
.faq-item { border-radius: 16px; }
.faq-q { font-weight: 500; }
.faq-q .faq-icon { font-family: var(--mono); color: var(--dim); background: none; border: 0; }
.faq-a { color: var(--muted); }
.blog-card { overflow: hidden; }
.blog-img { background: linear-gradient(135deg, rgba(184,67,42,.18), rgba(20,16,16,.9)); }
.blog-read { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.cta-section { border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(60% 90% at 50% 120%, rgba(184,67,42,.22), transparent 70%), var(--panel); }
.cta-section p { color: var(--muted); }
.trust-bar span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.article-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 56px; }
.article-body h3 { font-weight: 500; }
.article-body p, .article-body li { color: rgba(242,242,242,.78); }
.article-body ul li::before { color: var(--ember); background: var(--ember); }
.article-body a { color: #fff; text-decoration: underline; text-decoration-color: rgba(184,67,42,.6); text-underline-offset: 3px; }
.back-link { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input, textarea, select { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); font-family: var(--display); }
input:focus, textarea:focus, select:focus { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); outline: none; }
label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 130px 0 56px; }
  .stats-row .stat-item { border-right: 0; border-bottom: 1px solid var(--line); }
}
/* legacy fixes: keep mockup card sizing only inside the v4 .cards grid */
.card { min-height: 0; display: block; }
.card h3 { margin: 0 0 10px; }
.card p { max-width: none; }
.cards .card { min-height: 300px; display: flex; flex-direction: column; }
.cards .card h3 { margin: 70px 0 10px; }
.cards .card p { max-width: 300px; }
.page-hero p { margin: 18px 0 0; }
.page-hero .back-link { display: block; margin-bottom: 22px; }
.section h2[style], .article-body h2 { font-weight: 400 !important; letter-spacing: -.02em !important; }
.section h3[style] { font-weight: 500 !important; }
.section-header { text-align: left; }
.section-header p { margin-left: 0; }
.cta-section { text-align: center; }
.v4-home .hero { text-align: left; min-height: 0; display: block; }
.v4-home .hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.1rem); font-weight: 300; margin: 22px 0 24px; }
.v4-home .hero .lead { margin: 0; }
@media (max-width: 640px) { .v4-home .hero .btn { width: 100%; justify-content: center; } .engine .top { font-size: 10px; } }
/* old per-page floating WhatsApp link (case studies) — the site-wide green button replaces it */
.floating-whatsapp { display: none !important; }
