@charset "UTF-8";
/* Core Web Vitals Strategy: 
         1. Inline Critical CSS to eliminate render-blocking.
         2. System fonts first for zero CLS and instant LCP.
         3. No external libraries or bloat. */
:root {
  --bg-dark: #050810;
  --bg-card: #0d111a;
  --bg-light: #ffffff;
  --text-main: #ffffff;
  --text-dim: #94a3b8;
  --text-dark: #0a0f1e;
  --accent: #3b82f6;
  /* Electric Blue */
  --accent-glow: rgba(59, 130, 246, 0.2);
  --success: #10b981;
  --error: #ef4444;
  --warn: #f59e0b;
  --font-mono: "SF Mono", "Fira Code", "Roboto Mono", monospace;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Navigation */
  /* Section: Hero */
  /* Section: Problem (Light Mode) */
  /* Section: Solution (Engineering Dark) */
  /* ── CASE STUDY – updated ── */
  /* Bottom tag */
  /* Section: Audit CTA */
  /* Footer */
  /* Responsive */
}
body .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
body h1,
body h2,
body h3 {
  line-height: 1.1;
  letter-spacing: -0.02em;
}
body a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}
body ul {
  list-style: none;
}
body header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 32px 0;
  z-index: 100;
}
body .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body .logo {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.2rem;
}
body .logo span {
  color: var(--accent);
}
body .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 30px;
  opacity: 0.8;
}
body .nav-links a:hover {
  opacity: 1;
}
body .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background: radial-gradient(circle at 50% 50%, #0a1120 0%, var(--bg-dark) 100%);
}
body .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: -1;
}
body .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 24px;
}
body h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 24px;
}
body .hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 40px;
}
body .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
body .btn {
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
body .btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 20px var(--accent-glow);
  border: none;
}
body .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
}
body .btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid #334155;
}
body .btn-secondary:hover {
  background: #1e293b;
}
body .hero-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
}
body .hero-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--accent);
  display: block;
}
body .hero-author-text {
  text-align: left;
}
body .hero-author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.3;
}
body .hero-author-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}
body .hero-author:hover img {
  border-color: #93c5fd;
}
body .hero-author:hover .hero-author-name {
  color: #93c5fd;
}
body .problem-section {
  padding: 120px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}
body .section-header {
  margin-bottom: 64px;
}
body .problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
body .problem-card {
  padding: 48px;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body .problem-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
body .icon-box {
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-dark);
}
body .problem-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}
body .problem-card p {
  color: #64748b;
  font-size: 1.05rem;
}
body .solution-section {
  padding: 120px 0;
  background: var(--bg-dark);
}
body .solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
body .code-window {
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
body .window-head {
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid #21262d;
  font-size: 0.7rem;
  color: #8b949e;
}
body .code-content {
  padding: 20px;
  line-height: 1.7;
}
body .surgical {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}
body .tech-list li {
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 2px solid #1e293b;
}
body .tech-list li:hover {
  border-left-color: var(--accent);
}
body .mono-tag {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
body .case-study-section {
  padding: 0;
  background: #fff;
}
body .case-intro {
  padding: 100px 0 48px;
  text-align: center;
}
body .case-intro h2 {
  color: var(--text-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 780px;
  margin: 0 auto 20px;
  text-wrap: pretty;
}
body .case-intro .subtitle {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
body .comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body .side {
  padding: 64px 48px;
  display: flex;
  justify-content: center;
}
body .side-before {
  background: #f9fafb;
  border-right: 1px solid #eee;
  color: #333;
}
body .side-after {
  background: var(--bg-dark);
  color: #fff;
}
body .side-inner {
  width: 100%;
  max-width: 460px;
}
body .stack-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
body .side-before .stack-label {
  color: #64748b;
}
body .side-after .stack-label {
  color: var(--accent);
}
body .stack-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
body .side-before .stack-name {
  color: #1e293b;
}
body .side-after .stack-name {
  color: #e2e8f0;
}
body .stack-descriptor {
  font-size: 0.85rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
body .side-before .stack-descriptor {
  color: #ef4444;
}
body .side-after .stack-descriptor {
  color: #10b981;
}
body .screenshot-wrap {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
body .side-before .screenshot-wrap {
  border: 1px solid #e2e8f0;
}
body .side-after .screenshot-wrap {
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.1);
}
body .screenshot-wrap img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: top;
  display: block;
  margin: auto;
}
body .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}
body .side-after .metric-row {
  border-color: rgba(255, 255, 255, 0.06);
}
body .metric-label {
  font-weight: 500;
}
body .side-before .metric-label {
  color: #374151;
}
body .side-after .metric-label {
  color: #cbd5e1;
}
body .badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}
body .badge-err {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}
body .badge-succ {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
body .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
body .case-footer {
  padding: 32px 0 56px;
  text-align: center;
  background: #fff;
}
body .case-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 10px 24px;
}
body .case-tag .sep {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
  display: inline-block;
}
body .case-tag .part-a {
  color: #1e293b;
  font-weight: 700;
}
body .case-tag .part-b {
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 968px) {
  body .comparison-grid {
    grid-template-columns: 1fr;
  }
  body .side {
    padding: 48px 24px;
  }
  body .side-before {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}
body .audit-section {
  padding: 120px 0;
  background: #fff;
}
body .audit-card {
  background: var(--bg-dark);
  padding: 64px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}
body .audit-form {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
body .audit-form input {
  flex: 1;
  background: #0d111a;
  border: 1px solid #1e293b;
  padding: 16px 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
}
body .audit-form input:focus {
  outline: none;
  border-color: var(--accent);
}
body .trust-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}
body footer {
  padding: 64px 0;
  border-top: 1px solid #1e293b;
  background: var(--bg-dark);
  color: #64748b;
  font-size: 0.9rem;
}
body .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 968px) {
  body .solution-grid,
  body .comparison-grid,
  body .audit-form {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  body .side {
    padding: 60px 24px;
  }
  body .nav-links {
    display: none;
  }
  body h1 {
    font-size: 3rem;
  }
}

/*# sourceMappingURL=style.css.map */
