  :root {
    --white: #ffffff;
    --bg-soft: #f4f6fb;
    --navy: #0a1930;
    --navy-soft: #122444;
    --blue: #2b59ff;
    --blue-dim: #e8edff;
    --cyan: #22d3ee;
    --text: #0f1729;
    --text-soft: #5b6478;
    --text-faint: #8a93a6;
    --line: #e3e7f0;
    --line-soft: #eef1f7;
    --radius: 14px;
    --maxw: 1180px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ul {
    list-style: none;
  }

  section {
    position: relative;
  }

  .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
  }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue);
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 1px;
    display: inline-block;
    transform: rotate(45deg);
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--navy);
  }

  h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
  }

  h3 {
    font-size: 20px;
  }

  p {
    color: var(--text-soft);
  }

  :focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
  }

  .btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 1px 2px rgba(10, 25, 60, .08), 0 8px 20px -8px rgba(43, 89, 255, .55);
  }

  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(43, 89, 255, .65);
  }

  .btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
  }

  .btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
  }

  .btn-on-dark {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
  }

  .btn-on-dark:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
  }

  .btn-cta-solid {
    background: #fff;
    color: var(--navy);
  }

  .btn-cta-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  }

  /* ---------- Navbar ---------- */
  header.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 17px;
    color: var(--navy);
  }

  .logo .brace {
    color: var(--blue);
  }

  .nav-links {
    display: flex;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    position: relative;
    padding: 6px 0;
    transition: color .15s ease;
  }

  .nav-links a:hover {
    color: var(--navy);
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: width .2s ease;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }

  .burger span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    display: block;
    transition: transform .2s ease, opacity .2s ease;
  }

  .mobile-panel {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 99;
    padding: 18px 32px 28px;
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--navy);
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-panel .btn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }

  /* ---------- Hero ---------- */
  .hero {
    padding: 172px 0 96px;
    background:
      radial-gradient(560px 320px at 85% -10%, rgba(43, 89, 255, .10), transparent 60%),
      radial-gradient(420px 260px at 5% 0%, rgba(34, 211, 238, .10), transparent 60%);
    overflow: hidden;
  }

  .hero-inner {
    max-width: 820px;
  }

  .prompt-line {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-faint);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .prompt-line .path {
    color: var(--blue);
  }

  .cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--cyan);
    margin-left: 4px;
    animation: blink 1.1s step-end infinite;
    border-radius: 1px;
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

  .hero h1 {
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.08;
    margin-bottom: 22px;
  }

  .hero h1 .accent {
    color: var(--blue);
  }

  .hero p.lead {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 600px;
    margin-bottom: 36px;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  /* ---------- Stats band ---------- */
  .stats {
    background: var(--navy);
    background-image:
      radial-gradient(500px 260px at 15% 0%, rgba(43, 89, 255, .35), transparent 60%),
      radial-gradient(500px 260px at 90% 100%, rgba(34, 211, 238, .16), transparent 60%);
    padding: 52px 0;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .stat {
    text-align: center;
    padding: 8px 12px;
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

  .stat:last-child {
    border-right: none;
  }

  .stat .num {
    font-family: var(--font-mono);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 6px;
  }

  .stat .num .plus {
    color: var(--cyan);
  }

  .stat .label {
    font-size: 13px;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .62);
    text-transform: uppercase;
    font-weight: 600;
  }

  /* ---------- Section shared ---------- */
  .section {
    padding: 96px 0;
  }

  .section-bg {
    background: var(--bg-soft);
  }

  .section-head {
    max-width: 640px;
    margin-bottom: 56px;
  }

  .section-head p {
    font-size: 16px;
  }

  /* ---------- Differentiators ---------- */
  .diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .diff-card {
    background: #fff;
    padding: 32px 28px;
  }

  .diff-card .tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue);
    background: var(--blue-dim);
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 18px;
  }

  .diff-card h3 {
    margin-bottom: 10px;
  }

  .diff-card p {
    font-size: 14.5px;
  }

  /* ---------- Tech stack band ---------- */
  .stack {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stack-head {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text-faint);
    text-align: center;
    margin-bottom: 26px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .stack-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .stack-item {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--navy);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 8px;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
  }

  .stack-item:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-dim);
  }

  /* ---------- Work ---------- */
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .work-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -18px rgba(10, 25, 60, .25);
    border-color: #dfe4f0;
  }

  .work-banner {
    height: 150px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
  }

  .work-banner.b1 {
    background:
      radial-gradient(120% 140% at 0% 0%, #2b59ff 0%, #14265f 55%, #0a1930 100%);
  }

  .work-banner.b2 {
    background:
      radial-gradient(120% 140% at 100% 0%, #22d3ee 0%, #10425f 55%, #0a1930 100%);
  }

  .work-banner.b3 {
    background:
      radial-gradient(120% 140% at 50% 100%, #5b6fff 0%, #1a1f4b 55%, #0a1930 100%);
  }

  .work-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
  }

  .work-banner .type {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
  }

  .work-body {
    padding: 22px 22px 26px;
  }

  .work-body h3 {
    margin-bottom: 8px;
  }

  .work-body p {
    font-size: 14.5px;
  }

  /* ---------- Final CTA ---------- */
  .cta-final {
    background: var(--navy);
    background-image: radial-gradient(700px 320px at 50% -20%, rgba(43, 89, 255, .4), transparent 60%);
    padding: 88px 0;
    text-align: center;
  }

  .cta-final h2 {
    color: #fff;
    margin-bottom: 14px;
  }

  .cta-final p {
    color: rgba(255, 255, 255, .68);
    max-width: 520px;
    margin: 0 auto 34px;
    font-size: 16.5px;
  }

  .cta-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ---------- Footer ---------- */
  footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-inner .copy {
    font-size: 13.5px;
    color: var(--text-faint);
    font-family: var(--font-mono);
  }

  .footer-links {
    display: flex;
    gap: 26px;
  }

  .footer-links a {
    font-size: 13.5px;
    color: var(--text-soft);
    transition: color .15s ease;
  }

  .footer-links a:hover {
    color: var(--blue);
  }

  /* ---------- Responsive ---------- */
  @media (max-width:900px) {
    .nav-links {
      display: none;
    }

    .burger {
      display: flex;
    }

    .diff-grid {
      grid-template-columns: 1fr;
    }

    .work-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .stat {
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, .1);
      padding-bottom: 20px;
    }

    .stat:last-child {
      border-bottom: none;
      padding-bottom: 8px;
    }

    .hero {
      padding: 150px 0 72px;
    }

    .section {
      padding: 72px 0;
    }
  }

  @media (max-width:520px) {

    .wrap,
    .nav-inner {
      padding-left: 20px;
      padding-right: 20px;
    }

    .hero-actions .btn,
    .cta-final-actions .btn {
      width: 100%;
      justify-content: center;
    }
  }