:root{
      /* Clean + light theme */
      --bg: #ffffff;
      --surface: #f8fafc;
      --surface-2: #f1f5f9;
      --text: #0f172a;
      --muted: #475569;
      --muted-2:#64748b;
      --line: #e2e8f0;

      /* Accent (soft blue) */
      --accent: #2563eb;
      --accent-2: #1d4ed8;

      --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
      --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);

      --radius-xl: 22px;
      --radius-lg: 16px;
      --radius-md: 12px;

      --max: 1120px;
      --pad: 20px;

      /* Tile system (no rounded corners) */
      --tile-radius: 0px;
      --tile-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    }

    *{box-sizing:border-box}
    html{
      scroll-behavior:smooth;
      scroll-padding-top: 70px; /* Offset for sticky header */
    }
    body{
      margin:0;
      font-family: "Manrope", ui-sans-serif, system-ui, -apple-system,
                   Segoe UI, Roboto, Helvetica, Arial;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x:hidden;
    }

    /* Focus states for accessibility */
    *:focus-visible{
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    main{
      max-width: 1200px;
      margin: 0 auto;
    }
    a{color:inherit;text-decoration:none}
    h1, h2, h3 {
      line-height: 1.2;
      letter-spacing: -0.015em;
    }
    p{margin:0}
    .container{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
    .section{padding:76px 0}
    .section.alt{
      background: linear-gradient(180deg, var(--surface), rgba(248,250,252,0));
    }

    /* Top nav */
    .topbar{
      position:sticky; top:0; z-index:50;
      background: rgba(255,255,255,.86);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .topbar-inner{
      display:flex; align-items:center; justify-content:space-between;
      gap:16px;
      padding:14px 0;
    }
    .brand{display:flex; align-items:center; gap:12px; min-width:240px}
    .logo{
      width:38px;height:38px;
    }
    .brand-title{font-size:13px;font-weight:800}
    .brand-sub{font-size:12px;color:var(--muted-2);margin-top:0px}
    nav.desktop{display:none; gap:18px; align-items:center}
    nav.desktop a{
      font-size:13px;
      color:var(--muted);
      padding:8px 10px;
      border-radius:12px;
      transition: background .12s ease, color .12s ease;
    }
    nav.desktop a:hover{background:var(--surface); color:var(--text)}
    nav.desktop a:active{background:var(--surface-2)}
    .nav-cta{display:flex; gap:10px; align-items:center}

    .btn{
      display:inline-flex; align-items:center; justify-content:center;
      padding:11px 14px;
      border-radius: 12px;
      font-weight:800;
      font-size:13px;
      border:1px solid transparent;
      transition: transform .08s ease, background .12s ease, opacity .12s ease, border-color .12s ease;
      cursor:pointer;
      user-select:none;
      white-space:nowrap;
    }
    .btn:active{transform:translateY(1px)}
    .btn.primary{
      background: var(--accent);
      color: white;
    }
    .btn.primary:hover{opacity:.92}
    .btn.secondary{
      background: white;
      color: var(--text);
      border-color: var(--line);
    }
    .btn.secondary:hover{background:var(--surface)}
    .btn.ghost{
      background: transparent;
      color: white;
      border-color: transparent;
    }
    .btn.ghost:hover{background:rgba(255,255,255,.10); color: white}

    /* Mobile menu */
    .menu-btn{
      display:inline-flex; align-items:center; gap:10px;
      padding:10px 12px;
      border-radius: 12px;
      border:1px solid var(--line);
      background: white;
      font-weight:800;
      font-size:13px;
      color: var(--text);
      cursor: pointer;
      transition: background .12s ease;
    }
    .menu-btn:hover{
      background: var(--surface);
    }
    .menu-panel{
      display:none;
      background: white;
      border-top:1px solid var(--line);
      animation: slideDown .2s ease;
    }
    .menu-panel.open{display:block}
    @keyframes slideDown{
      from{
        opacity: 0;
        transform: translateY(-8px);
      }
      to{
        opacity: 1;
        transform: translateY(0);
      }
    }
    .menu-links{
      display:flex; flex-direction:column;
      padding: 12px var(--pad);
      gap:8px;
    }
    .menu-links a{
      padding:14px 12px;
      border-radius: 14px;
      border:1px solid var(--line);
      background: var(--surface);
      font-size:13px;
      color: var(--muted);
      transition: all .12s ease;
      font-weight: 600;
    }
    .menu-links a:hover{color:var(--text); background: var(--surface-2)}
    .menu-links a:active{transform: scale(0.98)}

    /* Hero */
    .hero{padding:78px 0 34px}
    .grid-2{display:grid; grid-template-columns: 1fr; gap:28px; align-items:center}
    .badge{
      display:inline-flex; align-items:center; gap:10px;
      padding:8px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.28);
      background: rgba(255,255,255,.10);
      color: rgba(255,255,255,.92);
      font-size: 12px;
      font-weight:700;
      backdrop-filter: blur(8px);
    }
    .dot{width:8px;height:8px;border-radius:999px;background: white}
    .hero h1{
      color: white;
      margin-top:14px;
      font-size: 40px;
      letter-spacing: -0.03em;
      line-height: 1.15;
    }
    .hero .lead{
      margin-top:14px;
      color: rgba(255,255,255,.90);
      font-size:16px;
      max-width: 62ch;
    }
    .hero-actions{margin-top:22px; display:flex; gap:12px; flex-wrap:wrap}
    .trustline{margin-top:12px; font-size:13px; color: rgba(255,255,255,.88);}

    .hero-card{
      display: none;
    }

    @media (min-width: 860px){
      .hero-card{
        display: block;
      }
    }

    /* Stats Dashboard - Modern Design */
    .stats-dashboard{
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      position: relative;
      min-height: 120px;
    }

    .stat-item{
      text-align: center;
      padding: 20px;
      border-radius: 0;
      position: absolute;
      width: 100%;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      pointer-events: none;
    }

    .stat-item.active{
      opacity: 1;
      pointer-events: auto;
    }

    .stat-value{
      font-size: 48px;
      font-weight: 800;
      color: white;
      line-height: 1;
      letter-spacing: -0.03em;
      position: relative;
      z-index: 1;
      background: linear-gradient(135deg, #ffffff, rgba(255,255,255,.85));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-unit{
      font-size: 30px;
      margin-left: 4px;
      color: #fbbf24;
      filter: drop-shadow(0 2px 4px rgba(251,191,36,.3));
    }

    .stat-unit-inline{
      font-size: 36px;
      font-weight: 800;
      color: rgba(255,255,255,.75);
      margin-left: 2px;
    }

    .stat-label{
      margin-top: 12px;
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,.95);
      position: relative;
      z-index: 1;
      letter-spacing: 0.01em;
    }

    .stat-period{
      margin-top: 4px;
      font-size: 11px;
      font-weight: 500;
      color: rgba(255,255,255,.55);
      position: relative;
      z-index: 1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .stat-availability{
      margin-top: 4px;
    }

    .availability-indicator{
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 20px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(5,150,105,.12));
      border: 1px solid rgba(16,185,129,.3);
      backdrop-filter: blur(10px);
      box-shadow:
        0 4px 12px rgba(16,185,129,.15),
        inset 0 1px 0 rgba(255,255,255,.1);
      transition: all .3s ease;
    }

    .availability-indicator:hover{
      background: linear-gradient(135deg, rgba(16,185,129,.24), rgba(5,150,105,.18));
      border-color: rgba(16,185,129,.4);
      box-shadow:
        0 6px 20px rgba(16,185,129,.25),
        inset 0 1px 0 rgba(255,255,255,.15);
    }

    .pulse-dot{
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
      box-shadow:
        0 0 0 0 rgba(16,185,129,.7),
        0 0 8px rgba(16,185,129,.4);
      animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    @keyframes pulse{
      0%, 100%{
        box-shadow:
          0 0 0 0 rgba(16,185,129,.7),
          0 0 8px rgba(16,185,129,.4);
      }
      50%{
        box-shadow:
          0 0 0 6px rgba(16,185,129,0),
          0 0 12px rgba(16,185,129,.6);
      }
    }

    .availability-text{
      font-size: 12px;
      font-weight: 600;
      color: rgba(255,255,255,.98);
      letter-spacing: 0.01em;
    }
    .hero-image{width:100%; height:auto; display:block; max-width:100%;}

    /* Section header */
    .sec-head .eyebrow{
      font-size:12px;
      font-weight:900;
      letter-spacing:.10em;
      text-transform: uppercase;
      color: var(--muted-2);
    }
    .sec-head h2{
      margin-top:10px;
      font-size:28px;
      letter-spacing:-0.02em;
    }
    .sec-head p{
      margin-top:10px;
      color: var(--muted);
      font-size:15px;
      max-width: 76ch;
    }

    /* --- TILE CARDS (NO ROUNDED CORNERS) --- */
    .cards{
      margin-top:26px;
      display:grid;
      grid-template-columns: 1fr;
      gap:0;
      border:1px solid var(--line);
      border-radius: var(--tile-radius);
      overflow:hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    .card{
      border:0;
      border-radius: 0;
      background: white;
      padding: 18px;
      box-shadow: none;
    }
    .card + .card{ border-top:1px solid var(--line); }

    @media (min-width: 860px){
      .cards{ grid-template-columns: repeat(3, 1fr); }
      .card + .card{ border-top:0; }
      .card{
        border-right:1px solid var(--line);
        border-bottom:1px solid var(--line);
      }
      .cards > .card:nth-child(3n){ border-right:0; }
      .cards > .card:nth-last-child(-n+3){ border-bottom:0; }
    }

    .card-top{display:flex; align-items:center; gap:12px}
    .icon{
      display:inline-flex; align-items:center; justify-content:center;
      color: var(--muted-2);
      flex-shrink: 0;
      flex:0 0 auto;
    }
    .card h3{font-size:15px; font-weight:900}
    .card p{margin-top:8px; font-size:14px; color: var(--muted)}

    /* Workflow */
    .workflow{
      margin-top:26px;
      display:grid;
      grid-template-columns: 1fr;
      gap:16px;
      align-items:stretch;
    }
    .panel{
      border:1px solid var(--line);
      border-radius: 0; /* tile look */
      background: white;
      padding: 18px;
      box-shadow: var(--shadow-sm);
    }
    .panel.alt{
      background: linear-gradient(180deg, var(--surface), white);
    }
    .panel-title{font-size:13px; font-weight:900}
    .panel-note{
      margin-top: 12px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    /* Delivery Timeline */
    .delivery-timeline{
      margin-top: 32px;
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 28px 12px;
    }

    .timeline-track{
      position: absolute;
      top: 42px;
      left: 12%;
      right: 12%;
      height: 4px;
      background: linear-gradient(90deg,
        var(--accent) 0%,
        var(--accent) 20%,
        var(--line) 20%,
        var(--line) 40%,
        var(--line) 60%,
        var(--line) 80%,
        var(--line) 100%
      );
      border-radius: 2px;
    }

    .timeline-item{
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .timeline-dot{
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: white;
      border: 4px solid var(--accent);
      box-shadow: 0 3px 10px rgba(37,99,235,.35);
      transition: all .2s ease;
    }

    .timeline-item:hover .timeline-dot{
      transform: scale(1.25);
      border-width: 5px;
      box-shadow: 0 5px 16px rgba(37,99,235,.5);
    }

    .timeline-content{
      margin-top: 20px;
      text-align: center;
    }

    .timeline-label{
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      line-height: 1.2;
    }

    .timeline-desc{
      margin-top: 6px;
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      line-height: 1.3;
    }

    /* Mobile: Vertical timeline */
    @media (max-width: 640px){
      .delivery-timeline{
        flex-direction: column;
        gap: 0;
        padding: 16px 0 16px 32px;
      }

      .timeline-track{
        top: 8px;
        bottom: 8px;
        left: 8px;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg,
          var(--accent) 0%,
          var(--accent) 20%,
          var(--line) 20%
        );
      }

      .timeline-item{
        flex-direction: row;
        align-items: center;
        margin-bottom: 24px;
        gap: 16px;
      }

      .timeline-item:last-child{
        margin-bottom: 0;
      }

      .timeline-content{
        margin-top: 0;
        text-align: left;
      }

      .timeline-label{
        font-size: 15px;
      }

      .timeline-desc{
        font-size: 12px;
      }
    }

    @media (min-width: 860px){
      .delivery-timeline{
        padding: 36px 20px;
      }

      .timeline-label{
        font-size: 16px;
      }

      .timeline-desc{
        font-size: 13px;
      }

      .timeline-dot{
        width: 24px;
        height: 24px;
      }

      .timeline-content{
        margin-top: 24px;
      }
    }

    /* AI Benefits */
    .ai-benefits{
      margin-top: 32px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      flex: 1;
    }

    .benefit-item{
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 12px;
      background: white;
      border-bottom: 1px solid var(--line);
      transition: background .12s ease;
    }

    .benefit-item:hover{
      background: var(--surface);
    }

    .benefit-item:last-child{
      border-bottom: 0;
    }

    .benefit-icon{
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
      opacity: 0.6;
    }

    .benefit-content{
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
    }

    .benefit-title{
      font-size: 13px;
      font-weight: 800;
      color: var(--text);
      line-height: 1.3;
    }

    .benefit-desc{
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      line-height: 1.3;
    }

    .benefit-desc:before{
      content: "·";
      margin-right: 6px;
      color: var(--muted-2);
    }

    /* Old flow styles (keeping for backwards compatibility) */
    .flow{
      margin-top:12px;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:0;
      border:1px solid var(--line);
      border-radius: 0;
      overflow:hidden;
      background:white;
    }
    .pill{
      padding:10px 12px;
      border-radius: 0;
      border:0;
      border-right:1px solid var(--line);
      border-bottom:1px solid var(--line);
      background: white;
      font-size:13px;
      font-weight:900;
      text-align:center;
      position:relative;
    }
    .pill:before{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(135deg, rgba(37,99,235,.10), transparent 60%);
      opacity:.55;
      pointer-events:none;
    }
    .flow .pill:nth-child(2n){ border-right:0; }
    .flow .pill:nth-last-child(-n+2){ border-bottom:0; }

    .list{
      margin:12px 0 0 0;
      padding-left:18px;
      color: var(--muted);
      font-size:14px;
    }
    .list li{margin:8px 0}

    /* Process */
    .steps{
      margin-top:26px;
      display:grid;
      grid-template-columns: 1fr;
      gap:0;
      border:1px solid var(--line);
      border-radius: 0;
      overflow:hidden;
      background:white;
      box-shadow: var(--tile-shadow);
    }
    .step{
      border:0;
      border-radius:0;
      background: white;
      padding: 18px;
      box-shadow: none;
      display:flex;
      gap:12px;
      align-items:flex-start;
    }
    .step + .step{ border-top:1px solid var(--line); }
    .step-num{
      width:40px;height:40px;border-radius: 0; /* no rounded corners */
      background: rgba(37,99,235,.12);
      border: 1px solid rgba(37,99,235,.18);
      color: var(--accent-2);
      display:flex; align-items:center; justify-content:center;
      font-weight:900;
      flex:0 0 auto;
    }
    .step h3{font-size:14px; font-weight:900}
    .step p{margin-top:6px; font-size:14px; color: var(--muted)}

    @media (min-width: 860px){
      nav.desktop{display:flex}
      .menu-btn{display:none}
      .menu-panel{display:none !important}
      .top-main-btn{display:block}

      .grid-2{grid-template-columns: 1.15fr .85fr; gap:34px}
      .hero h1{font-size: 52px}
      .hero .lead{font-size:18px}

      .workflow{
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
      }

      .flow{ grid-template-columns: repeat(5, 1fr); }
      .flow .pill{ border-bottom:0; }
      .flow .pill{ border-right:1px solid var(--line); }
      .flow .pill:last-child{ border-right:0; }

      .steps{ grid-template-columns: repeat(4, 1fr); }
      .step + .step{ border-top:0; }
      .step{ border-right:1px solid var(--line); flex-direction:column; }
      .steps .step:last-child{ border-right:0; }

      footer{flex-direction:row; align-items:center; justify-content:space-between}
    }

    /* Callout */
    .callout{
      margin-top:26px;
      border:1px solid var(--line);
      border-radius: 0;
      background: linear-gradient(180deg, var(--surface), white);
      padding: 22px;
      box-shadow: var(--shadow);
      display:grid;
      grid-template-columns: 1fr;
      gap:24px;
      align-items:start;
    }
    @media (min-width: 860px){
      .callout{
        grid-template-columns: 1.2fr 1fr;
        padding: 32px;
        gap: 32px;
      }
    }
    .tag{
      font-size:12px;
      font-weight:900;
      letter-spacing:.10em;
      text-transform: uppercase;
      color: var(--muted-2);
    }
    .callout h2{margin-top:10px; font-size:26px; letter-spacing:-0.02em}
    .callout p{margin-top:10px; font-size:14px; color: var(--muted)}
    .callout-visual{
      height: 220px;
      border-radius: 0;
      border: 1px solid rgba(37,99,235,.18);
      background:
        radial-gradient(circle at 25% 30%, rgba(37,99,235,.16), transparent 52%),
        radial-gradient(circle at 70% 70%, rgba(99,102,241,.10), transparent 52%),
        #ffffff;
      position:relative;
      overflow:hidden;
    }
    @media (min-width: 860px){
      .callout-visual{
        height: 280px;
      }
    }
    .callout-visual .label{
      position:absolute; left:14px; bottom:14px;
      background: rgba(255,255,255,.9);
      border:1px solid var(--line);
      border-radius: 999px;
      padding:7px 10px;
      font-size:12px;
      color: var(--muted);
      font-weight:800;
      backdrop-filter: blur(8px);
    }

    /* CTA */
    .cta{
      border:1px solid rgba(255,255,255,.18);
      border-radius: 0;
      background: rgba(255,255,255,.10);
      backdrop-filter: blur(10px);
      padding: 26px;
      box-shadow: 0 22px 60px rgba(0,0,0,.28);
      display:grid;
      grid-template-columns: 1fr;
      gap:20px;
      align-items:start;
    }
    @media (min-width: 640px){
      .cta{
        align-items: center;
        grid-template-columns: 1fr auto;
        gap: 24px;
      }
    }
    .cta h2{font-size:26px; letter-spacing:-0.02em; color: rgba(255,255,255,.98);}
    .cta p{margin-top:10px; color: rgba(255,255,255,.88); font-size:14px; max-width: 72ch}
    .cta-actions{display:flex; gap:12px; flex-wrap:wrap}

    /* Footer */
    footer{
      margin-top:32px;
      padding-top:24px;
      padding-bottom:60px;
      border-top:1px solid rgba(255,255,255,.18);
      color: rgba(255,255,255,.78);
      font-size:13px;
      text-align:center;
    }
    .top-main-btn{display:none}

    /* Hero background */
    .hero-bg {
      position: relative;
      overflow: hidden;
      min-height: 900px;
      height: auto;
    }
    @media (min-width: 860px){
      .hero-bg{
        min-height: 1050px;
      }
    }
    /* Case study header with hero background - no fixed height */
    .hero-bg:has(.case-study-header) {
      min-height: auto;
    }
    .hero-bg-layer {
      position: absolute;
      inset: 0%;
      background-image: url(footer.webp);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      border-radius: 0px 0px 8px 8px;
    }
    .hero-dot-mesh {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1.6px);
      background-size: 44px 44px;
      opacity: 0.85;
      pointer-events: none;
      z-index: 0;
    }
    .hero-bg .container {
      position: relative;
      z-index: 1;
    }
    .hero-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 0;
      border-radius: 0px 0px 8px 8px;
    }

    /* Image Section Background */
    .image-section-bg {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      min-height: 400px;
    }
    .image-section-bg-layer {
      margin-bottom: -150px;
      position: absolute;
      inset: 0%;
      background-image: url(image-3.webp);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      border-radius: 8px;
    }
    .image-section-dot-mesh {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1.6px);
      background-size: 44px 44px;
      opacity: 0.85;
      pointer-events: none;
      z-index: 0;
    }
    .image-section-bg .container {
      position: relative;
      z-index: 1;
      padding-top: 120px;
      padding-bottom: 120px;
    }
    .image-section-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 0;
      border-radius: 8px;
    }

    /* Image Section 2 */
    .image-section-2-bg {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      min-height: 400px;
    }
    .image-section-2-bg-layer {
      position: absolute;
      inset: 0%;
      background-image: url(image-2.webp);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      border-radius: 8px;
    }
    .image-section-2-dot-mesh {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1.6px);
      background-size: 44px 44px;
      opacity: 0.85;
      pointer-events: none;
      z-index: 0;
    }
    .image-section-2-bg .container {
      position: relative;
      z-index: 1;
      padding-top: 120px;
      padding-bottom: 120px;
    }
    .image-section-2-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 0;
      border-radius: 8px;
    }

    /* Footer background */
    .footer-bg {
      position: relative;
      overflow: hidden;
      border-radius: 8px 8px 0px 0px;
    }
    .footer-bg-layer {
      position: absolute;
      inset: 0%;
      background-image: url(image-1.webp);
      background-size: cover;
      background-position: bottom;
      background-repeat: no-repeat;
      z-index: 0;
      border-radius: 8px 8px 0px 0px;
    }
    .footer-dot-mesh {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1.6px);
      background-size: 44px 44px;
      opacity: 0.85;
      pointer-events: none;
      z-index: 0;
    }
    .footer-bg .container {
      position: relative;
      z-index: 1;
      padding-top: 120px;
    }
    .footer-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: 0;
      border-radius: 8px 8px 0px 0px;
    }

    /* Case Studies */
    .case-studies-grid{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
    }

    .case-study-card{
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 0;
      background: white;
      overflow: hidden;
      box-shadow: var(--tile-shadow);
      transition: transform .12s ease, box-shadow .12s ease;
      color: inherit;
      text-decoration: none;
    }

    .case-study-media{
      width: 100%;
      height: 240px;
      overflow: hidden;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .case-study-media img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .case-study-content{
      padding: 22px;
    }

    .case-study-content h3{
      margin: 0;
      font-size: 20px;
      font-weight: 900;
      letter-spacing: -0.015em;
      color: var(--text);
    }

    .case-study-content p{
      margin-top: 10px;
      font-size: 14px;
      line-height: 1.6;
      color: var(--muted);
    }

    .case-study-cta{
      display: inline-flex;
      align-items: center;
      margin-top: 14px;
      font-size: 13px;
      font-weight: 900;
      color: var(--accent);
      transition: color .12s ease;
    }

    .case-study-card:hover .case-study-cta{
      color: var(--accent-2);
    }

    /* Full width layout like callout section */
    @media (min-width: 860px){
      .case-study-card{
        flex-direction: row;
        align-items: center;
      }

      .case-study-media{
        width: 50%;
        flex: 0 0 50%;
        height: 320px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
      }

      .case-study-content{
        flex: 1;
        padding: 32px;
      }

      .case-study-content h3{
        font-size: 24px;
      }

      .case-study-content p{
        font-size: 15px;
      }
    }



    /* Case Study Detail Page */
    .breadcrumb{
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 24px;
    }
    .breadcrumb a{
      color: var(--muted);
      transition: color .12s ease;
    }
    .breadcrumb a:hover{
      color: var(--accent);
    }

    .case-study-header{
      max-width: 800px;
      padding-bottom: 20px;
    }
    .case-study-header h1{
      font-size: 36px;
      margin-top: 12px;
    }
    .case-study-header .lead{
      font-size: 16px;
      color: var(--muted);
      margin-top: 12px;
    }
    @media (min-width: 860px){
      .case-study-header{
        padding-bottom: 28px;
      }
      .case-study-header h1{
        font-size: 48px;
      }
      .case-study-header .lead{
        font-size: 18px;
      }
    }

    .case-study-hero{
      border-radius: 0;
      overflow: hidden;
      background: var(--surface);
    }
    .case-study-hero img{
      width: 100%;
      height: auto;
      display: block;
    }

    /* Product Intro */
    .cs-product-intro{
      max-width: 900px;
    }
    .cs-product-intro-body{
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .cs-product-logo{
      width: 150px;
      height: auto;
      object-fit: contain;
      flex-shrink: 0;
    }
    .cs-product-intro h2{
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .cs-product-intro p{
      color: var(--muted);
      line-height: 1.8;
      font-size: .97rem;
    }
    @media (max-width: 639px){
      .cs-product-intro-body{
        flex-direction: column-reverse;
        gap: 20px;
      }
      .cs-product-logo{
        width: 120px;
      }
    }

    /* Video Embed */
    .cs-video{
      position: relative;
      width: 100%;
      padding-bottom: 56.25%;
      overflow: hidden;
      background: #000;
    }
    .cs-video iframe{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    /* Overview Grid */
    .cs-overview-grid{
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-overview-grid{
        grid-template-columns: 1fr 1fr;
      }
    }
    .cs-overview-item{
      border: 0;
      border-radius: 0;
      padding: 22px;
      background: white;
      border-bottom: 1px solid var(--line);
    }
    @media (min-width: 640px){
      .cs-overview-item{
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .cs-overview-item:nth-child(2n){
        border-right: 0;
      }
      .cs-overview-item:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-overview-item:last-child{
        border-bottom: 0;
      }
    }
    .cs-overview-item h3{
      font-size: 15px;
      font-weight: 900;
      color: var(--text);
      margin: 0;
    }
    .cs-overview-item p{
      font-size: 14px;
      color: var(--muted);
      margin: 10px 0 0 0;
      line-height: 1.6;
    }

    /* Deliverables */
    .cs-deliverables{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-deliverables{
        grid-template-columns: 1fr 1fr;
      }
    }
    .cs-deliverable{
      display: flex;
      gap: 14px;
      border: 0;
      border-radius: 0;
      padding: 22px;
      background: white;
      align-items: flex-start;
      border-bottom: 1px solid var(--line);
    }
    @media (min-width: 640px){
      .cs-deliverable{
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .cs-deliverable:nth-child(2n){
        border-right: 0;
      }
      .cs-deliverable:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-deliverable:last-child{
        border-bottom: 0;
      }
    }
    .cs-deliverable h3{
      font-size: 16px;
      font-weight: 900;
      margin: 0;
      color: var(--text);
    }
    .cs-deliverable p{
      font-size: 13px;
      color: var(--muted);
      margin: 8px 0 0 0;
      line-height: 1.5;
    }

    /* Engagement */
    .cs-engagement{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
    }
    @media (min-width: 640px){
      .cs-engagement{
        grid-template-columns: 1fr 1fr;
      }
    }
    .cs-eng-item{
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }
    @media (min-width: 640px){
      .cs-eng-item:nth-child(odd){
        border-right: 1px solid var(--line);
      }
      .cs-eng-item:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-eng-item:last-child{
        border-bottom: 0;
      }
    }
    .cs-check{
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--accent);
      color: white;
      font-size: 13px;
      flex-shrink: 0;
    }

    /* Impact */
    .cs-impact{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-impact{
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (min-width: 860px){
      .cs-impact{
        grid-template-columns: repeat(3, 1fr);
      }
    }
    .cs-impact-item{
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
      border: 0;
      border-radius: 0;
      padding: 24px 18px;
      background: white;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.5;
      border-bottom: 1px solid var(--line);
    }
    @media (min-width: 640px){
      .cs-impact-item{
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .cs-impact-item:nth-child(2n){
        border-right: 0;
      }
      .cs-impact-item:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (min-width: 860px){
      .cs-impact-item{
        border-right: 1px solid var(--line);
      }
      .cs-impact-item:nth-child(2n){
        border-right: 1px solid var(--line);
      }
      .cs-impact-item:nth-child(3n){
        border-right: 0;
      }
      .cs-impact-item:nth-last-child(-n+2){
        border-bottom: 1px solid var(--line);
      }
      .cs-impact-item:nth-last-child(-n+3){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-impact-item:last-child{
        border-bottom: 0;
      }
    }
    .cs-impact-icon{
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--surface-2);
      color: var(--muted-2);
      flex-shrink: 0;
    }

    /* CTA */
    .cs-cta{
      text-align: center;
      max-width: 680px;
      margin: 0 auto;
      padding: 32px 0;
    }
    .cs-cta h2{
      font-size: 28px;
      margin: 0;
    }
    .cs-cta p{
      font-size: 15px;
      color: var(--muted);
      margin: 12px 0 24px;
    }
    @media (min-width: 860px){
      .cs-cta h2{
        font-size: 36px;
      }
      .cs-cta p{
        font-size: 16px;
      }
    }

    /* What we build (hero band) */
    .what-we-build{
      margin-top: 54px;
      text-align: center;
    }
    .what-title{
      margin: 0 0 22px 0;
      color: #ffffff;
      font-size: 40px;
      font-weight: 900;
      letter-spacing: -0.02em;
      line-height: 1.1;
      text-shadow: 0 10px 30px rgba(0,0,0,.28);
    }
    .what-panel{
      margin: 0 auto;
      max-width: 1120px;
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 22px 60px rgba(0,0,0,.28);
      backdrop-filter: blur(10px);
    }
    .what-col{
      padding: 26px 26px 30px;
      text-align: center;
    }
    .what-col + .what-col{
      border-top: 1px solid rgba(255,255,255,.16);
    }
    .what-pill{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      color: rgba(15,23,42,.95);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .14em;
    }
    .what-col h3{
      margin: 16px 0 0 0;
      color: rgba(255,255,255,.98);
      font-size: 22px;
      font-weight: 900;
      letter-spacing: -0.02em;
      line-height: 1.18;
    }
    .what-col p{
      margin: 12px 0 0 0;
      color: rgba(255,255,255,.88);
      font-size: 14px;
      line-height: 1.5;
    }
    @media (min-width: 860px){
      .what-title{ font-size: 56px; margin-bottom: 28px; }
      .what-panel{ display: grid; grid-template-columns: repeat(3, 1fr); }
      .what-col + .what-col{
        border-top: 0;
        border-left: 1px solid rgba(255,255,255,.16);
      }
      .what-col h3{ font-size: 22px; }
    }

    /* Case Study Stats Bar */
    .cs-stats-bar{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-stats-bar{
        grid-template-columns: repeat(4, 1fr);
      }
    }
    .cs-stat{
      text-align: center;
      padding: 24px 16px;
      border-bottom: 1px solid var(--line);
      border-right: 1px solid var(--line);
    }
    .cs-stat:nth-child(2n){
      border-right: 0;
    }
    .cs-stat:nth-last-child(-n+2){
      border-bottom: 0;
    }
    @media (min-width: 640px){
      .cs-stat{
        border-bottom: 0;
        border-right: 1px solid var(--line);
      }
      .cs-stat:nth-child(2n){
        border-right: 1px solid var(--line);
      }
      .cs-stat:last-child{
        border-right: 0;
      }
    }
    .cs-stat-value{
      font-size: 32px;
      font-weight: 900;
      color: var(--accent);
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .cs-stat-label{
      margin-top: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
    }

    /* Stats bar inside hero */
    .cs-stats-hero{
      margin-top: 32px;
      background: rgba(255,255,255,.10);
      border-color: rgba(255,255,255,.18);
      backdrop-filter: blur(10px);
      box-shadow: 0 12px 30px rgba(0,0,0,.18);
    }
    .cs-stats-hero .cs-stat{
      border-color: rgba(255,255,255,.16);
    }
    .cs-stats-hero .cs-stat-value{
      color: rgba(255,255,255,.98);
    }
    .cs-stats-hero .cs-stat-label{
      color: rgba(255,255,255,.72);
    }

    /* Case Study Feature Groups */
    .cs-features-grid{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-features-grid{
        grid-template-columns: 1fr 1fr;
      }
    }
    .cs-feature-group{
      padding: 22px;
      border-bottom: 1px solid var(--line);
    }
    @media (min-width: 640px){
      .cs-feature-group{
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .cs-feature-group:nth-child(2n){
        border-right: 0;
      }
      .cs-feature-group:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-feature-group:last-child{
        border-bottom: 0;
      }
    }
    .cs-feature-group h3{
      font-size: 15px;
      font-weight: 900;
      color: var(--text);
      margin: 0 0 12px 0;
    }
    .cs-feature-group ul{
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .cs-feature-group li{
      font-size: 13px;
      color: var(--muted);
      padding: 6px 0;
      line-height: 1.5;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .cs-feature-group li::before{
      content: "·";
      color: var(--accent);
      font-weight: 900;
      font-size: 18px;
      line-height: 1.1;
      flex-shrink: 0;
    }

    /* Bug Fix Grid */
    .cs-bugfix-grid{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-bugfix-grid{
        grid-template-columns: 1fr 1fr;
      }
    }
    .cs-bugfix-item{
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      line-height: 1.5;
    }
    @media (min-width: 640px){
      .cs-bugfix-item:nth-child(odd){
        border-right: 1px solid var(--line);
      }
      .cs-bugfix-item:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-bugfix-item:last-child{
        border-bottom: 0;
      }
    }
    .cs-bugfix-note{
      margin-top: 16px;
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      font-style: italic;
    }

    /* UX Cards Grid */
    .cs-ux-grid{
      margin-top: 26px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: 0;
      overflow: hidden;
      background: white;
      box-shadow: var(--tile-shadow);
    }
    @media (min-width: 640px){
      .cs-ux-grid{
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (min-width: 860px){
      .cs-ux-grid{
        grid-template-columns: repeat(3, 1fr);
      }
    }
    .cs-ux-card{
      padding: 22px;
      border-bottom: 1px solid var(--line);
    }
    @media (min-width: 640px){
      .cs-ux-card{
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }
      .cs-ux-card:nth-child(2n){
        border-right: 0;
      }
      .cs-ux-card:nth-last-child(-n+2){
        border-bottom: 0;
      }
    }
    @media (min-width: 860px){
      .cs-ux-card{
        border-right: 1px solid var(--line);
      }
      .cs-ux-card:nth-child(2n){
        border-right: 1px solid var(--line);
      }
      .cs-ux-card:nth-child(3n){
        border-right: 0;
      }
      .cs-ux-card:nth-last-child(-n+3){
        border-bottom: 0;
      }
    }
    @media (max-width: 639px){
      .cs-ux-card:last-child{
        border-bottom: 0;
      }
    }
    .cs-ux-icon{
      display: inline-block;
      vertical-align: -3px;
      margin-right: 6px;
      color: var(--muted-2);
      flex-shrink: 0;
    }
    .cs-ux-card h4{
      font-size: 15px;
      font-weight: 900;
      color: var(--text);
      margin: 0;
    }
    .cs-ux-card p{
      font-size: 13px;
      color: var(--muted);
      margin: 8px 0 0 0;
      line-height: 1.5;
    }

    /* Release Timeline */
    .cs-release-timeline{
      margin-top: 26px;
      position: relative;
      padding-left: 28px;
    }
    .cs-release-timeline::before{
      content: "";
      position: absolute;
      top: 6px;
      bottom: 6px;
      left: 7px;
      width: 3px;
      background: linear-gradient(180deg, var(--accent), var(--line));
      border-radius: 2px;
    }
    .cs-release{
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 10px 0;
      position: relative;
    }
    .cs-release-dot{
      position: absolute;
      left: -24px;
      top: 14px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: white;
      border: 3px solid var(--accent);
      box-shadow: 0 2px 6px rgba(37,99,235,.25);
      z-index: 1;
    }
    .cs-release-version{
      font-size: 14px;
      font-weight: 900;
      color: var(--accent);
      min-width: 56px;
      flex-shrink: 0;
    }
    .cs-release-desc{
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }

    /* Tech Stack */
    .cs-tech-stack{
      margin-top: 26px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .cs-tech-item{
      display: inline-flex;
      align-items: center;
      padding: 10px 18px;
      border: 1px solid var(--line);
      border-radius: 0;
      background: white;
      font-size: 13px;
      font-weight: 800;
      color: var(--text);
      box-shadow: var(--tile-shadow);
      transition: background .12s ease, border-color .12s ease;
    }
    .cs-tech-item:hover{
      background: var(--surface);
      border-color: var(--accent);
      color: var(--accent);
    }

    /* Tech Logos */
    .tech-logos{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
      margin-top: 42px;
      padding: 24px 20px;
      flex-wrap: wrap;
    }
    .tech-logo{
      height: 30px;
      width: auto;
      opacity: 0.88;
      transition: opacity .2s ease, transform .2s ease;
    }
    .tech-logo:hover{
      opacity: 1;
      transform: scale(1.1);
    }
    @media (min-width: 860px){
      .tech-logos{
        gap: 48px;
        padding: 32px 20px;
      }
    }
