*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --ink: #0f172a;
    --stone: #64748b;
    --faint: #94a3b8;
    --rule: #e2e8f0;
    --wash: #f8fafc;
    --paper: #ffffff;
    --focus: #6366f1;
    --focus-light: #eef2ff;
    --positive: #10b981;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', Consolas, monospace;
  }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }

  /* NAV */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(15,23,42,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-logo { font-family: var(--serif); font-size: 1.3rem; color: white; text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 0.4rem; }
  .nav-logo .ai { color: var(--focus); }
  .nav-logo .ltd { font-family: var(--sans); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); align-self: center; }
  .nav-links { display: flex; gap: 2rem; align-items: center; }
  .nav-links a { text-decoration: none; color: var(--faint); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
  .nav-links a:hover { color: white; }
  .nav-cta {
    background: var(--focus); color: white !important; padding: 0.55rem 1.3rem;
    border-radius: 6px; font-weight: 600; transition: all 0.2s;
  }
  .nav-cta:hover { background: #4f46e5; transform: translateY(-1px); }

  /* HERO */
  .hero {
    background: var(--ink); color: white;
    padding: 10rem 2rem 6rem; text-align: center;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.08) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-badge {
    display: inline-block; border: 1px solid rgba(255,255,255,0.1);
    padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.78rem;
    color: var(--faint); margin-bottom: 2.5rem; letter-spacing: 0.05em;
  }
  .hero h1 {
    font-family: var(--serif); font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem;
    font-weight: 400; max-width: 800px; margin-left: auto; margin-right: auto;
  }
  .hero h1 em { color: var(--focus); font-style: italic; }
  .hero p {
    font-size: 1.1rem; color: var(--faint); max-width: 520px;
    margin: 0 auto 2.5rem; line-height: 1.7;
  }
  .hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero-cta a {
    text-decoration: none; padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem; transition: all 0.25s;
  }
  .btn-primary {
    background: var(--focus); color: white;
    box-shadow: 0 2px 16px rgba(99,102,241,0.3);
  }
  .btn-primary:hover { background: #4f46e5; transform: translateY(-1px); }
  .btn-secondary {
    background: transparent; color: white;
    border: 1px solid rgba(255,255,255,0.15);
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.4); }

  /* TRUST */
  .trust {
    display: flex; align-items: center; justify-content: center; gap: 1.25rem;
    padding: 2rem 2rem; border-bottom: 1px solid var(--rule); color: var(--stone); font-size: 0.88rem;
  }

  /* SECTIONS */
  section { padding: 6rem 2rem; }
  .container { max-width: 1000px; margin: 0 auto; }
  .dark { background: var(--ink); color: white; }
  .section-label {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--focus); margin-bottom: 1rem;
  }
  .dark .section-label { color: var(--focus); }
  .section-title {
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; font-weight: 400;
  }
  .section-desc {
    color: var(--stone); font-size: 1rem; max-width: 540px; line-height: 1.7; margin-bottom: 3rem;
  }
  .dark .section-desc { color: var(--faint); }

  /* SERVICES */
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
  .service-card {
    background: var(--paper); padding: 2rem;
    transition: all 0.3s; position: relative;
  }
  .service-card:hover { background: var(--focus-light); }
  .service-icon { margin-bottom: 1.25rem; }
  .service-icon svg { width: 28px; height: 28px; stroke: var(--focus); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
  .service-card p { color: var(--stone); font-size: 0.88rem; line-height: 1.6; }

  /* PROCESS */
  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .process-step { position: relative; }
  .process-num {
    font-family: var(--serif); font-size: 3.5rem; color: rgba(255,255,255,0.06);
    line-height: 1; margin-bottom: 0.75rem;
  }
  .process-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: white; }
  .process-step p { font-size: 0.88rem; color: var(--faint); line-height: 1.6; }

  /* RESULTS */
  .results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; margin-bottom: 3rem; }
  .result-num {
    font-family: var(--serif); font-size: 3.5rem; color: var(--ink);
    line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em;
  }
  .result-label { color: var(--stone); font-size: 0.88rem; }

  /* CASE STUDIES */
  .cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .case-card {
    border: 1px solid var(--rule); border-radius: 16px; padding: 2rem;
    transition: all 0.3s;
  }
  .case-card:hover { border-color: var(--focus); box-shadow: 0 8px 30px rgba(99,102,241,0.08); }
  .case-tag {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--focus); margin-bottom: 1rem; font-weight: 600;
  }
  .case-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
  .case-card p { color: var(--stone); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
  .case-stat { display: flex; gap: 2rem; }
  .case-stat-item .num { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
  .case-stat-item .label { font-size: 0.72rem; color: var(--stone); }

  /* TESTIMONIAL */
  .testimonial {
    max-width: 640px; margin: 0 auto; text-align: center;
    padding: 3rem 0;
  }
  .testimonial blockquote {
    font-family: var(--serif); font-size: 1.3rem; font-style: italic;
    color: white; line-height: 1.5; margin-bottom: 1.5rem;
  }
  .testimonial cite {
    font-style: normal; color: var(--faint); font-size: 0.88rem; font-family: var(--sans);
  }

  /* CTA */
  .cta-section {
    background: var(--ink); text-align: center; padding: 5rem 2rem;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(99,102,241,0.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .cta-section h2 {
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem);
    color: white; margin-bottom: 1rem; font-weight: 400;
  }
  .cta-section p { color: var(--faint); font-size: 1rem; max-width: 460px; margin: 0 auto 2rem; line-height: 1.7; }
  .cta-section a {
    display: inline-block; background: var(--focus); color: white;
    padding: 0.9rem 2.2rem; border-radius: 8px; font-weight: 600;
    text-decoration: none; transition: all 0.25s;
    box-shadow: 0 2px 16px rgba(99,102,241,0.3);
  }
  .cta-section a:hover { background: #4f46e5; transform: translateY(-2px); }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--rule); padding: 3rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1000px; margin: 0 auto; flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); display: flex; align-items: baseline; gap: 0.35rem; }
  .footer-logo .ai { color: var(--focus); }
  .footer-logo .ltd { font-family: var(--sans); font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); align-self: center; }
  footer p { color: var(--faint); font-size: 0.82rem; }
  footer a { color: var(--stone); text-decoration: none; }
  footer a:hover { color: var(--ink); }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .hero-badge, .hero h1, .hero p, .hero-cta { animation: fadeUp 0.7s ease-out both; }
  .hero-badge { animation-delay: 0s; }
  .hero h1 { animation-delay: 0.1s; }
  .hero p { animation-delay: 0.2s; }
  .hero-cta { animation-delay: 0.3s; }

  @media (max-width: 768px) {
    nav .nav-links a:not(.nav-cta) { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .results-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cases-grid { grid-template-columns: 1fr; }
    .hero { padding: 8rem 1.5rem 4rem; }
    section { padding: 4rem 1.5rem; }
  }

  /* ===== Added Nov 2026: multi-page site ===== */
  .nav-links a.active { color: white; }
  .hero-badge { text-decoration: none; transition: border-color 0.2s, color 0.2s; }
  a.hero-badge:hover { border-color: var(--focus); color: white; }
  .hero-badge strong { color: var(--focus); font-weight: 600; }
  .page-hero { padding: 9rem 2rem 4.5rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); }
  .page-hero p { max-width: 620px; }

  .prose { max-width: 720px; margin: 0 auto; }
  .prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; margin: 2.75rem 0 0.75rem; line-height: 1.2; }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 { font-size: 1.02rem; font-weight: 600; margin: 1.75rem 0 0.4rem; }
  .prose p, .prose li { color: #334155; font-size: 0.98rem; }
  .prose p { margin-bottom: 1rem; }
  .prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }
  .prose li { margin-bottom: 0.4rem; }
  .prose a { color: var(--focus); }
  .prose table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: 0.9rem; }
  .prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
  .prose th { font-weight: 600; background: var(--wash); }
  .muted { color: var(--stone); font-size: 0.88rem; }

  .review-note {
    background: #fffbeb; border: 1px solid #fcd34d; color: #92400e;
    border-radius: 10px; padding: 0.9rem 1.1rem; font-size: 0.88rem; margin-bottom: 2rem;
  }

  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .card {
    border: 1px solid var(--rule); border-radius: 16px; padding: 2rem; background: var(--paper);
    transition: all 0.3s;
  }
  .card:hover { border-color: var(--focus); box-shadow: 0 8px 30px rgba(99,102,241,0.08); }
  .card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
  .card p, .card li { color: var(--stone); font-size: 0.9rem; line-height: 1.6; }
  .card ul { padding-left: 1.1rem; margin-top: 0.75rem; }
  .card li { margin-bottom: 0.35rem; }
  .card .num-tag { font-family: var(--serif); font-size: 2.2rem; color: var(--focus); line-height: 1; margin-bottom: 0.75rem; }

  .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .price-card { border: 1px solid var(--rule); border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; background: var(--paper); }
  .price-card.feature { border-color: var(--focus); box-shadow: 0 8px 30px rgba(99,102,241,0.12); }
  .price-card .flag { align-self: flex-start; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: white; background: var(--focus); padding: 0.25rem 0.6rem; border-radius: 100px; margin-bottom: 0.9rem; }
  .price-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.4rem; }
  .price-card .price { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; letter-spacing: -0.02em; }
  .price-card .price small { font-family: var(--sans); font-size: 0.85rem; color: var(--stone); }
  .price-card .note { font-size: 0.82rem; color: var(--focus); font-weight: 500; margin: 0.3rem 0 0.9rem; min-height: 2.4em; }
  .price-card .time { font-size: 0.8rem; color: var(--stone); margin-bottom: 0.9rem; }
  .price-card ul { padding-left: 1.1rem; color: var(--stone); font-size: 0.86rem; line-height: 1.55; flex: 1; }
  .price-card li { margin-bottom: 0.4rem; }
  .price-card .btn { margin-top: 1.25rem; text-align: center; }

  .btn { display: inline-block; text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; transition: all 0.25s; }
  .btn.btn-primary { background: var(--focus); color: white; box-shadow: 0 2px 16px rgba(99,102,241,0.3); }
  .btn.btn-primary:hover { background: #4f46e5; transform: translateY(-1px); }
  .btn.btn-outline { border: 1px solid var(--rule); color: var(--ink); }
  .btn.btn-outline:hover { border-color: var(--focus); color: var(--focus); }

  .checklist { list-style: none; padding: 0; }
  .checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; color: #334155; }
  .checklist li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 0.95rem; height: 0.55rem; border-left: 2px solid var(--positive); border-bottom: 2px solid var(--positive); transform: rotate(-45deg); }
  .dark .checklist li { color: #cbd5e1; }

  .source { font-size: 0.75rem; color: var(--faint); margin-top: 0.4rem; }
  .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .stat-row .result-num { font-size: 2.8rem; }
  .dark .result-num { color: white; }
  .dark .result-label { color: var(--faint); }

  .trust-inline { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 2.5rem 2rem 0; color: var(--stone); font-size: 0.88rem; flex-wrap: wrap; }

  /* FOOTER (rebuilt) */
  footer.site-footer { display: block; max-width: none; padding: 0; border-top: 1px solid var(--rule); background: var(--wash); }
  .footer-inner { max-width: 1000px; margin: 0 auto; padding: 3rem 2rem 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
  .footer-col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--stone); margin-bottom: 0.8rem; font-weight: 600; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.4rem; font-size: 0.85rem; }
  .footer-legal { max-width: 1000px; margin: 0 auto; padding: 1.25rem 2rem 2.5rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .footer-legal p { font-size: 0.78rem; line-height: 1.6; }

  .process-grid.process-3 { grid-template-columns: repeat(3, 1fr); }

  @media (max-width: 900px) {
    .price-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    nav { padding: 0.9rem 1.25rem; }
    .nav-links { gap: 1rem; }
    nav .nav-links a.nav-keep { display: inline; }
    .page-hero { padding: 7.5rem 1.5rem 3.5rem; }
    .process-grid.process-3, .split, .card-grid, .stat-row, .price-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .price-card .note { min-height: 0; }
  }
