    :root {
      --accent: #C8293E;
      --accent-dark: #9E1E2F;
      --accent-light: #FEF2F4;
      --bg: #FAFAF8;
      --surface: #FFFFFF;
      --surface-2: #F4F3EF;
      --text-1: #111111;
      --text-2: #4A4A4A;
      --text-3: #888888;
      --border: rgba(0, 0, 0, 0.07);
      --border-2: rgba(0, 0, 0, 0.13);
      --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
      --r-sm: 8px;
      --r-md: 12px;
      --r-lg: 18px;
      --r-xl: 28px;
      --max: 1200px;
      --nav-h: 68px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px
    }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text-1);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased
    }

    img {
      max-width: 100%;
      display: block
    }

    a {
      color: inherit;
      text-decoration: none
    }

    button {
      cursor: pointer;
      font-family: inherit
    }

    ul {
      list-style: none
    }

    /* ── LAYOUT ── */
    .container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 24px
    }

    section {
      padding: 96px 0
    }

    .section-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px
    }

    .section-title {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 700;
      line-height: 1.18;
      letter-spacing: -.02em;
      color: var(--text-1);
      margin-bottom: 18px
    }

    .section-sub {
      font-size: 17px;
      color: var(--text-2);
      max-width: 600px;
      line-height: 1.7
    }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .6s ease, transform .6s ease
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0)
    }

    .reveal-delay-1 {
      transition-delay: .1s
    }

    .reveal-delay-2 {
      transition-delay: .2s
    }

    .reveal-delay-3 {
      transition-delay: .3s
    }

    /* ── NAVBAR ── */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: var(--nav-h);
      background: rgba(250, 250, 248, .9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: .5px solid var(--border);
      transition: box-shadow .3s
    }

    .navbar.scrolled {
      box-shadow: var(--shadow-sm)
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: var(--nav-h);
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 24px
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: -.01em
    }

    .nav-logo img {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      border-radius: 4px
    }

    .nav-logo span {
      color: var(--text-1)
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px
    }

    .nav-links a,
    .nav-links button {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-2);
      padding: 6px 12px;
      border-radius: var(--r-sm);
      border: none;
      background: none;
      transition: color .2s, background .2s;
      white-space: nowrap
    }

    .nav-links a:hover,
    .nav-links button:hover {
      color: var(--text-1);
      background: var(--surface-2)
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: var(--r-xl);
      font-size: 14px;
      font-weight: 600;
      transition: all .2s;
      border: none;
      white-space: nowrap
    }

    .btn-outline {
      background: transparent;
      color: var(--text-1);
      border: 1.5px solid var(--border-2)
    }

    .btn-outline:hover {
      border-color: var(--text-1);
      background: var(--surface-2)
    }

    .btn-primary {
      background: var(--accent);
      color: #fff
    }

    .btn-primary:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(200, 41, 62, .3)
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 8px;
      background: none;
      border: none;
      cursor: pointer
    }

    .hamburger span {
      width: 22px;
      height: 2px;
      background: var(--text-1);
      border-radius: 2px;
      transition: .3s
    }

    /* ── MOBILE MENU ── */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 99;
      background: var(--surface);
      padding: calc(var(--nav-h) + 20px) 24px 24px;
      overflow-y: auto;
      flex-direction: column;
      gap: 4px
    }

    .mobile-menu.open {
      display: flex
    }

    .mobile-menu a {
      font-size: 17px;
      font-weight: 500;
      padding: 14px 0;
      border-bottom: .5px solid var(--border);
      color: var(--text-1)
    }

    .mobile-menu .btn-primary {
      margin-top: 16px;
      justify-content: center
    }

    /* ── HERO ── */
    #home {
      padding-top: calc(var(--nav-h) + 60px);
      padding-bottom: 80px;
      background: var(--bg)
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent-light);
      color: var(--accent);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 24px
    }

    .hero-tag span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s infinite
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1)
      }

      50% {
        opacity: .5;
        transform: scale(1.4)
      }
    }

    .hero-h1 {
      font-size: clamp(32px, 5vw, 58px);
      font-weight: 700;
      letter-spacing: -.03em;
      line-height: 1.1;
      margin-bottom: 22px;
      color: var(--text-1)
    }

    .hero-h1 em {
      font-style: normal;
      color: var(--accent)
    }

    .hero-desc {
      font-size: 17px;
      color: var(--text-2);
      line-height: 1.75;
      margin-bottom: 32px;
      max-width: 520px
    }

    .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 40px
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px
    }

    .hero-meta-item {
      font-size: 13px;
      color: var(--text-3);
      display: flex;
      align-items: center;
      gap: 6px
    }

    .hero-meta-item::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent)
    }

    /* ── HERO DIAGRAM (CSS animation replacing THREE.js) ── */
    .hero-diagram {
      position: relative;
      width: 100%;
      aspect-ratio: 1;
      max-width: 480px;
      margin: 0 auto
    }

    .hero-diagram svg {
      width: 100%;
      height: 100%
    }

    .orbit-line {
      stroke: var(--border-2);
      stroke-width: 1;
      fill: none;
      stroke-dasharray: 4 4
    }

    @keyframes dash {
      to {
        stroke-dashoffset: -20
      }
    }

    .orbit-line {
      animation: dash 2s linear infinite
    }

    @keyframes float-node {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-8px)
      }
    }

    .node-group {
      animation: float-node 4s ease-in-out infinite
    }

    .node-group:nth-child(2) {
      animation-delay: .5s
    }

    .node-group:nth-child(3) {
      animation-delay: 1s
    }

    .node-group:nth-child(4) {
      animation-delay: 1.5s
    }

    .node-group:nth-child(5) {
      animation-delay: 2s
    }

    @keyframes center-pulse {

      0%,
      100% {
        r: 54
      }

      50% {
        r: 58
      }
    }

    .center-glow {
      animation: center-pulse 3s ease-in-out infinite;
      fill: var(--accent-light)
    }

    /* ── TRUST BAR ── */
    .trust-bar {
      background: var(--surface-2);
      border-top: .5px solid var(--border);
      border-bottom: .5px solid var(--border);
      padding: 18px 0
    }

    .trust-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px 32px
    }

    .trust-item {
      font-size: 13px;
      color: var(--text-2);
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500
    }

    .trust-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent)
    }

    /* ── ABOUT ── */
    #about {
      background: var(--surface)
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: start
    }

    .about-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 32px
    }

    .about-card {
      background: var(--bg);
      border-radius: var(--r-md);
      padding: 20px;
      border: .5px solid var(--border)
    }

    .about-card h3 {
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 8px
    }

    .about-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.6
    }

    .about-stat-row {
      display: flex;
      gap: 32px;
      margin-top: 40px
    }

    .about-stat .num {
      font-size: 36px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -.02em
    }

    .about-stat .label {
      font-size: 13px;
      color: var(--text-3);
      margin-top: 2px
    }

    .about-right {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding-top: 8px
    }

    .diff-item {
      display: flex;
      gap: 14px;
      padding: 18px;
      background: var(--bg);
      border-radius: var(--r-md);
      border: .5px solid var(--border);
      transition: border-color .2s
    }

    .diff-item:hover {
      border-color: var(--accent)
    }

    .diff-icon {
      width: 36px;
      height: 36px;
      border-radius: var(--r-sm);
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      padding: 8px
    }

    .diff-icon svg {
      width: 100%;
      height: 100%
    }

    .diff-item h3 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px
    }

    .diff-item p {
      font-size: 13px;
      color: var(--text-3);
      line-height: 1.5
    }

    /* ── SERVICES ── */
    #services {
      background: var(--bg)
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px
    }

    .service-card {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 28px;
      transition: box-shadow .3s, transform .3s, border-color .3s
    }

    .service-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
      border-color: var(--border-2)
    }

    .service-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--r-sm);
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      padding: 10px
    }

    .service-icon svg {
      width: 100%;
      height: 100%
    }

    .service-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px
    }

    .service-tag {
      font-size: 11px;
      color: var(--text-3);
      font-weight: 500;
      margin-bottom: 12px
    }

    .service-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.65;
      margin-bottom: 16px
    }

    .service-list {
      display: flex;
      flex-direction: column;
      gap: 6px
    }

    .service-list li {
      font-size: 13px;
      color: var(--text-3);
      padding-left: 14px;
      position: relative
    }

    .service-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-size: 11px;
      top: 1px
    }

    /* ── HOW WE WORK ── */
    .how-we-work {
      margin-top: 64px;
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 40px
    }

    .hww-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 32px
    }

    .hww-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      position: relative
    }

    .hww-steps::before {
      content: '';
      position: absolute;
      top: 20px;
      left: 16%;
      right: 16%;
      height: 1px;
      background: var(--border-2)
    }

    .step {
      text-align: center;
      position: relative
    }

    .step-num {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      position: relative;
      z-index: 1
    }

    .step-label {
      font-size: 13px;
      color: var(--text-2);
      line-height: 1.5
    }

    .step-label strong {
      display: block;
      color: var(--text-1);
      font-size: 14px;
      margin-bottom: 4px
    }

    /* ── INDUSTRIES ── */
    #industries {
      background: var(--surface)
    }

    .industries-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 48px
    }

    .industry-card {
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: var(--r-md);
      padding: 22px 18px;
      transition: all .3s;
      cursor: default
    }

    .industry-card:hover {
      background: var(--surface);
      box-shadow: var(--shadow-sm);
      border-color: var(--border-2)
    }

    .ind-icon {
      width: 48px;
      height: 48px;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .ind-icon svg {
      width: 48px;
      height: 48px
    }

    .industry-card h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px
    }

    .industry-card .sub {
      font-size: 12px;
      color: var(--text-3);
      margin-bottom: 12px
    }

    .challenge-box {
      background: rgba(200, 41, 62, .05);
      border-left: 3px solid var(--accent);
      border-radius: 0 var(--r-sm) var(--r-sm) 0;
      padding: 10px 12px;
      margin-bottom: 10px
    }

    .challenge-box .label {
      font-size: 10px;
      font-weight: 700;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 3px
    }

    .challenge-box p {
      font-size: 12px;
      color: var(--text-2);
      line-height: 1.5
    }

    .ind-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 10px
    }

    .ind-tag {
      font-size: 10px;
      color: var(--text-3);
      background: var(--surface-2);
      padding: 3px 8px;
      border-radius: 100px;
      border: .5px solid var(--border)
    }

    /* ── SOLUTIONS ── */
    #solutions {
      background: var(--bg)
    }

    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px
    }

    .solution-card {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 28px;
      position: relative;
      overflow: hidden;
      transition: all .3s
    }

    .solution-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px)
    }

    .solution-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--accent);
      opacity: 0;
      transition: opacity .3s
    }

    .solution-card:hover::before {
      opacity: 1
    }

    .sol-badge {
      display: inline-block;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--accent);
      background: var(--accent-light);
      padding: 4px 10px;
      border-radius: 100px;
      margin-bottom: 14px
    }

    .solution-card h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 6px
    }

    .solution-card .sub-text {
      font-size: 13px;
      color: var(--text-3);
      margin-bottom: 14px
    }

    .solution-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.65;
      margin-bottom: 16px
    }

    .sol-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap
    }

    .sol-tag {
      font-size: 11px;
      color: var(--text-2);
      background: var(--surface-2);
      padding: 4px 10px;
      border-radius: 100px;
      border: .5px solid var(--border)
    }

    /* ── PORTFOLIO ── */
    #portfolio {
      background: var(--surface)
    }

    .portfolio-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 48px;
      flex-wrap: wrap;
      gap: 20px
    }

    .portfolio-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap
    }

    .filter-btn {
      font-size: 13px;
      font-weight: 500;
      padding: 7px 16px;
      border-radius: 100px;
      background: var(--surface-2);
      color: var(--text-2);
      border: .5px solid var(--border);
      transition: all .2s;
      cursor: pointer
    }

    .filter-btn.active,
    .filter-btn:hover {
      background: var(--text-1);
      color: #fff;
      border-color: var(--text-1)
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px
    }

    .portfolio-card {
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      transition: all .3s
    }

    .portfolio-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px)
    }

    .port-thumb {
      height: 180px;
      background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      border-bottom: .5px solid var(--border);
      position: relative
    }

    .port-thumb-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-3);
      text-align: center;
      padding: 16px
    }

    .port-type {
      position: absolute;
      top: 12px;
      right: 12px;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      background: var(--text-1);
      color: #fff;
      padding: 4px 10px;
      border-radius: 100px
    }

    .port-body {
      padding: 20px
    }

    .port-body h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px
    }

    .port-cat {
      font-size: 12px;
      color: var(--accent);
      font-weight: 500;
      margin-bottom: 10px
    }

    .port-body p {
      font-size: 13px;
      color: var(--text-2);
      line-height: 1.6;
      margin-bottom: 14px
    }

    .port-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap
    }

    .port-tag {
      font-size: 10px;
      color: var(--text-3);
      background: var(--surface);
      padding: 3px 8px;
      border-radius: 100px;
      border: .5px solid var(--border)
    }

    .port-demo-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 14px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      text-decoration: none;
      transition: gap .2s
    }

    .port-demo-link:hover {
      gap: 10px
    }

    /* ── CASE STUDIES ── */
    #case-studies {
      background: var(--bg)
    }

    .cs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 48px
    }

    .cs-card {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 36px;
      position: relative;
      overflow: hidden
    }

    .cs-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 120px;
      height: 120px;
      background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
      pointer-events: none
    }

    .cs-meta {
      font-size: 12px;
      color: var(--accent);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 12px
    }

    .cs-card h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.3
    }

    .cs-card p {
      font-size: 15px;
      color: var(--text-2);
      line-height: 1.7
    }

    /* ── RESOURCES ── */
    #resources {
      background: var(--surface)
    }

    .resources-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px
    }

    .resource-card {
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 28px;
      transition: all .3s
    }

    .resource-card:hover {
      background: var(--surface);
      box-shadow: var(--shadow-sm);
      border-color: var(--border-2)
    }

    .res-cat {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--accent);
      margin-bottom: 10px
    }

    .resource-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.4
    }

    .resource-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.65
    }

    /* ── TECH STACK ── */
    #tech-stack {
      background: var(--bg)
    }

    .tech-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px
    }

    .tech-card {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-md);
      padding: 22px
    }

    .tech-card h3 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-3);
      margin-bottom: 10px
    }

    .tech-card p {
      font-size: 14px;
      color: var(--text-1);
      font-weight: 500;
      line-height: 1.6
    }

    /* ── WHY US ── */
    #why-us {
      background: var(--surface)
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 48px
    }

    .why-card {
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 32px;
      display: flex;
      gap: 20px;
      transition: border-color .3s
    }

    .why-card:hover {
      border-color: var(--accent)
    }

    .why-num {
      font-size: 36px;
      font-weight: 700;
      color: var(--accent);
      opacity: .25;
      line-height: 1;
      flex-shrink: 0;
      min-width: 40px
    }

    .why-card h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px
    }

    .why-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.65
    }

    /* ── FAQ ── */
    #faq {
      background: var(--bg)
    }

    .faq-list {
      max-width: 760px;
      margin: 48px auto 0;
      display: flex;
      flex-direction: column;
      gap: 4px
    }

    .faq-item {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-md);
      overflow: hidden;
      transition: border-color .2s
    }

    .faq-item.open {
      border-color: var(--border-2)
    }

    .faq-q {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      background: none;
      border: none;
      font-size: 15px;
      font-weight: 600;
      color: var(--text-1);
      text-align: left;
      gap: 16px;
      cursor: pointer
    }

    .faq-q svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      transition: transform .3s;
      color: var(--text-3)
    }

    .faq-item.open .faq-q svg {
      transform: rotate(45deg);
      color: var(--accent)
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s ease, padding .3s
    }

    .faq-item.open .faq-a {
      max-height: 300px
    }

    .faq-a-inner {
      padding: 0 24px 20px;
      font-size: 15px;
      color: var(--text-2);
      line-height: 1.7;
      border-top: .5px solid var(--border)
    }

    /* ── CONTACT CTA STRIP ── */
    .contact-strip {
      background: var(--text-1);
      padding: 72px 0
    }

    .strip-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 40px
    }

    .strip-inner h2 {
      font-size: clamp(22px, 3vw, 36px);
      font-weight: 700;
      color: #fff;
      letter-spacing: -.02em
    }

    .strip-inner p {
      color: rgba(255, 255, 255, .6);
      font-size: 15px;
      margin-top: 6px
    }

    .btn-white {
      background: #fff;
      color: var(--text-1)
    }

    .btn-white:hover {
      background: var(--surface-2);
      transform: translateY(-1px)
    }

    /* ── CONTACT ── */
    #contact {
      background: var(--surface)
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      margin-top: 56px;
      align-items: start
    }

    .contact-form-wrap h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 24px
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin-bottom: 16px
    }

    .form-group label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-2)
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 11px 14px;
      border: .5px solid var(--border-2);
      border-radius: var(--r-sm);
      background: var(--bg);
      font-size: 14px;
      font-family: inherit;
      color: var(--text-1);
      transition: border-color .2s, box-shadow .2s;
      outline: none
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(200, 41, 62, .08)
    }

    .form-group textarea {
      resize: vertical;
      min-height: 110px;
      line-height: 1.6
    }

    .form-submit {
      width: 100%;
      padding: 14px;
      font-size: 15px;
      font-weight: 600;
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--r-xl);
      cursor: pointer;
      transition: all .2s;
      margin-top: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px
    }

    .form-submit:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
      box-shadow: 0 4px 20px rgba(200, 41, 62, .3)
    }

    .form-submit:disabled {
      opacity: .6;
      cursor: not-allowed;
      transform: none
    }

    .form-status {
      margin-top: 16px;
      padding: 14px 18px;
      border-radius: var(--r-sm);
      font-size: 14px;
      display: none
    }

    .form-status.success {
      display: block;
      background: #EAF7F0;
      color: #166534;
      border: .5px solid #A7F3D0
    }

    .form-status.error {
      display: block;
      background: #FEF2F2;
      color: #991B1B;
      border: .5px solid #FECACA
    }

    .contact-info h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 24px
    }

    .contact-detail-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 32px
    }

    .contact-detail {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px;
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: var(--r-md)
    }

    .cd-icon {
      width: 38px;
      height: 38px;
      border-radius: var(--r-sm);
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      padding: 9px
    }

    .cd-icon svg {
      width: 100%;
      height: 100%
    }

    .cd-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-3);
      margin-bottom: 3px
    }

    .cd-value {
      font-size: 14px;
      font-weight: 500;
      color: var(--text-1)
    }

    .cd-value a {
      color: var(--text-1);
      transition: color .2s
    }

    .cd-value a:hover {
      color: var(--accent)
    }

    .social-links {
      display: flex;
      gap: 10px;
      margin-top: 12px
    }

    .social-link {
      width: 40px;
      height: 40px;
      border-radius: var(--r-sm);
      background: var(--bg);
      border: .5px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .2s;
      color: var(--text-2)
    }

    .social-link:hover {
      background: var(--text-1);
      color: #fff;
      border-color: var(--text-1)
    }

    .social-link svg {
      width: 16px;
      height: 16px
    }

    /* ── FOOTER ── */
    footer {
      background: #111111;
      color: rgba(255, 255, 255, .75);
      padding: 60px 0 32px
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px
    }

    .footer-brand {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px
    }

    .footer-brand img {
      width: 28px;
      height: 28px;
      border-radius: 3px;
      flex-shrink: 0
    }

    .footer-desc {
      font-size: 13px;
      line-height: 1.7;
      color: rgba(255, 255, 255, .5);
      max-width: 280px;
      margin-bottom: 20px
    }

    .footer-col h4 {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: rgba(255, 255, 255, .4);
      margin-bottom: 16px
    }

    .footer-col ul {
      display: flex;
      flex-direction: column;
      gap: 10px
    }

    .footer-col ul li a {
      font-size: 13px;
      color: rgba(255, 255, 255, .6);
      transition: color .2s
    }

    .footer-col ul li a:hover {
      color: #fff
    }

    .footer-bottom {
      border-top: .5px solid rgba(255, 255, 255, .1);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px
    }

    .footer-copy {
      font-size: 12px;
      color: rgba(255, 255, 255, .35)
    }

    .footer-tagline {
      font-size: 12px;
      color: rgba(255, 255, 255, .35)
    }

    .footer-social {
      display: flex;
      gap: 8px
    }

    .footer-soc-link {
      width: 34px;
      height: 34px;
      border-radius: var(--r-sm);
      background: rgba(255, 255, 255, .08);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: .2s;
      color: rgba(255, 255, 255, .5)
    }

    .footer-soc-link:hover {
      background: rgba(255, 255, 255, .15);
      color: #fff
    }

    .footer-soc-link svg {
      width: 15px;
      height: 15px
    }

    /* ── BACK TO TOP ── */
    .back-to-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--text-1);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      opacity: 0;
      transform: translateY(8px);
      transition: .3s;
      z-index: 50;
      box-shadow: var(--shadow-md)
    }

    .back-to-top.show {
      opacity: 1;
      transform: translateY(0)
    }

    .back-to-top svg {
      width: 18px;
      height: 18px
    }

    /* ── SPINNER ── */
    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255, 255, 255, .3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin .7s linear infinite;
      display: none
    }

    .form-submit.loading .spinner {
      display: block
    }

    .form-submit.loading .btn-text {
      display: none
    }

    /* ── RESPONSIVE ── */
    @media(max-width:1024px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px
      }

      .services-grid {
        grid-template-columns: 1fr 1fr
      }

      .industries-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .solutions-grid {
        grid-template-columns: 1fr 1fr
      }

      .hww-steps {
        gap: 20px
      }

      .hero-grid {
        gap: 40px
      }
    }

    @media(max-width:768px) {
      section {
        padding: 56px 0
      }

      #home {
        padding-top: calc(var(--nav-h) + 32px);
        padding-bottom: 48px
      }

      .hero-grid {
        grid-template-columns: 1fr
      }

      .hero-diagram {
        max-width: 320px;
        order: -1
      }

      .hero-h1 {
        font-size: clamp(28px, 7vw, 44px)
      }

      .about-grid,
      .contact-grid,
      .cs-grid,
      .strip-inner {
        grid-template-columns: 1fr;
        gap: 40px
      }

      .about-cards {
        grid-template-columns: 1fr
      }

      .about-stat-row {
        gap: 20px
      }

      .services-grid,
      .solutions-grid,
      .resources-grid,
      .tech-grid,
      .why-grid {
        grid-template-columns: 1fr
      }

      .portfolio-grid {
        grid-template-columns: 1fr
      }

      .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px
      }

      .hero-desc {
        max-width: 100%
      }

      .section-title {
        font-size: clamp(22px, 6vw, 36px)
      }

      .industries-grid {
        grid-template-columns: 1fr
      }

      .form-row {
        grid-template-columns: 1fr
      }

      .nav-links,
      .nav-actions {
        display: none
      }

      .hamburger {
        display: flex
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px
      }

      .footer-desc {
        max-width: 100%
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
      }

      footer {
        padding: 40px 0 24px
      }

      .strip-inner {
        gap: 24px
      }

      .hww-steps {
        grid-template-columns: 1fr;
        gap: 24px
      }

      .hww-steps::before {
        display: none
      }

      .how-we-work {
        padding: 28px 20px
      }
    }

    @media(max-width:480px) {
      .container {
        padding: 0 16px
      }

      .hero-ctas .btn {
        width: 100%;
        justify-content: center
      }

      /* Trust bar — single column on very small screens */
      .trust-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 4px
      }

      /* Footer bottom — stack copy and tagline */
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
      }
    }

    /* ── AI BRIEF WIZARD ── */
    #ai-brief {
      background: var(--surface)
    }

    .wizard-wrap {
      max-width: 840px;
      margin: 0 auto;
      margin-top: 56px
    }

    .wizard-progress {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      gap: 0
    }

    .wp-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      flex: 1;
      position: relative
    }

    .wp-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 17px;
      left: 60%;
      right: -40%;
      height: 2px;
      background: var(--border-2);
      z-index: 0
    }

    .wp-step.done:not(:last-child)::after {
      background: var(--accent)
    }

    .wp-dot {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 2px solid var(--border-2);
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-3);
      position: relative;
      z-index: 1;
      transition: all .3s
    }

    .wp-step.active .wp-dot {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-light)
    }

    .wp-step.done .wp-dot {
      border-color: var(--accent);
      background: var(--accent);
      color: #fff
    }

    .wp-label {
      font-size: 11px;
      font-weight: 500;
      color: var(--text-3);
      text-align: center;
      white-space: nowrap
    }

    .wp-step.active .wp-label {
      color: var(--accent);
      font-weight: 600
    }

    .wizard-pane {
      display: none
    }

    .wizard-pane.active {
      display: block
    }

    .wizard-pane-title {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px
    }

    .wizard-pane-sub {
      font-size: 15px;
      color: var(--text-2);
      margin-bottom: 28px
    }

    /* Type cards (step 1) */
    .wiz-type-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
      margin-bottom: 28px
    }

    .wiz-type-card {
      border: .5px solid var(--border-2);
      border-radius: var(--r-md);
      padding: 14px 10px;
      text-align: center;
      cursor: pointer;
      transition: all .25s;
      background: var(--bg)
    }

    .wiz-type-card:hover {
      border-color: var(--accent);
      background: var(--accent-light)
    }

    .wiz-type-card.selected {
      border-color: var(--accent);
      background: var(--accent-light);
      box-shadow: 0 0 0 2px var(--accent)
    }

    .wiz-type-card .wt-icon {
      width: 32px;
      height: 32px;
      margin: 0 auto 8px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .wiz-type-card .wt-icon svg {
      width: 28px;
      height: 28px
    }

    .wiz-type-card .wt-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-1);
      line-height: 1.3
    }

    /* Scale (step 2) */
    .wiz-scale-options {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px
    }

    .wiz-radio-card {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px 18px;
      border: .5px solid var(--border-2);
      border-radius: var(--r-md);
      cursor: pointer;
      transition: all .25s;
      background: var(--bg)
    }

    .wiz-radio-card:hover {
      border-color: var(--accent)
    }

    .wiz-radio-card.selected {
      border-color: var(--accent);
      background: var(--accent-light);
      box-shadow: 0 0 0 2px var(--accent)
    }

    .wiz-radio-card input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent);
      flex-shrink: 0;
      margin-top: 2px
    }

    .wiz-radio-card .wrc-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 2px
    }

    .wiz-radio-card .wrc-desc {
      font-size: 13px;
      color: var(--text-3);
      line-height: 1.4
    }

    /* Features & integrations (steps 3,4) */
    .wiz-check-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 28px
    }

    .wiz-check-card {
      border: .5px solid var(--border-2);
      border-radius: var(--r-sm);
      padding: 12px 14px;
      cursor: pointer;
      transition: all .25s;
      background: var(--bg);
      display: flex;
      align-items: center;
      gap: 10px
    }

    .wiz-check-card:hover {
      border-color: var(--accent)
    }

    .wiz-check-card.selected {
      border-color: var(--accent);
      background: var(--accent-light)
    }

    .wiz-check-card input {
      width: 15px;
      height: 15px;
      accent-color: var(--accent);
      flex-shrink: 0
    }

    .wiz-check-card .wcc-label {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-1)
    }

    /* Contact step (step 5) */
    .wizard-contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 28px
    }

    .wiz-input-group {
      display: flex;
      flex-direction: column;
      gap: 6px
    }

    .wiz-input-group label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-2)
    }

    .wiz-input-group input,
    .wiz-input-group textarea {
      width: 100%;
      padding: 11px 14px;
      border: .5px solid var(--border-2);
      border-radius: var(--r-sm);
      background: var(--bg);
      font-size: 14px;
      font-family: inherit;
      color: var(--text-1);
      outline: none;
      transition: border-color .2s
    }

    .wiz-input-group input:focus,
    .wiz-input-group textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(200, 41, 62, .08)
    }

    .wiz-input-group textarea {
      resize: vertical;
      min-height: 80px;
      line-height: 1.6
    }

    /* Wizard nav */
    .wizard-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px
    }

    .wiz-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: var(--r-xl);
      font-size: 14px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all .2s
    }

    .wiz-btn-secondary {
      background: var(--surface-2);
      color: var(--text-2);
      border: .5px solid var(--border-2)
    }

    .wiz-btn-secondary:hover {
      background: var(--border-2);
      color: var(--text-1)
    }

    .wiz-btn-primary {
      background: var(--accent);
      color: #fff
    }

    .wiz-btn-primary:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(200, 41, 62, .3)
    }

    .wiz-btn-primary:disabled {
      opacity: .45;
      cursor: not-allowed;
      transform: none;
      box-shadow: none
    }

    /* Result card */
    #wizResultPane {
      display: none;
      animation: fadeUp .5s ease
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(16px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    .wiz-result-card {
      background: var(--bg);
      border: .5px solid var(--border-2);
      border-radius: var(--r-lg);
      padding: 36px;
      margin-top: 0
    }

    .wiz-result-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 28px;
      padding-bottom: 24px;
      border-bottom: .5px solid var(--border)
    }

    .wiz-result-title {
      font-size: 20px;
      font-weight: 700
    }

    .wiz-result-title span {
      color: var(--accent)
    }

    .wiz-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap
    }

    .wiz-badge {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: var(--surface);
      border: .5px solid var(--border-2);
      border-radius: var(--r-md);
      padding: 12px 18px;
      min-width: 110px
    }

    .wiz-badge .wb-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-3);
      margin-bottom: 4px
    }

    .wiz-badge .wb-val {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-1)
    }

    .wiz-badge .wb-val em {
      color: var(--accent);
      font-style: normal
    }

    .wiz-brief-section {
      margin-bottom: 20px
    }

    .wiz-brief-section h4 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--accent);
      margin-bottom: 10px
    }

    .wiz-brief-text {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.7;
      white-space: pre-wrap
    }

    .wiz-result-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
      padding-top: 24px;
      border-top: .5px solid var(--border)
    }

    @keyframes formHighlight {
      0% {
        box-shadow: 0 0 0 0 rgba(200, 41, 62, .5)
      }

      70% {
        box-shadow: 0 0 0 12px rgba(200, 41, 62, 0)
      }

      100% {
        box-shadow: none
      }
    }

    .form-highlight {
      animation: formHighlight 1.2s ease 2
    }

    @media(max-width:768px) {
      .wiz-type-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .wiz-check-grid {
        grid-template-columns: 1fr 1fr
      }

      .wizard-contact-grid {
        grid-template-columns: 1fr
      }

      .wiz-result-header {
        flex-direction: column
      }

      .wizard-progress {
        gap: 0
      }

      .wp-label {
        font-size: 10px
      }
    }

    @media(max-width:480px) {
      .wiz-type-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .wiz-check-grid {
        grid-template-columns: 1fr
      }
    }

    /* ═══════════════════════════════ LEGAL PAGES ═══════════════════════════════ */
    .page-wrap {
      max-width: 800px;
      margin: 0 auto;
      padding: 60px 24px 100px
    }

    .page-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 12px
    }

    .page-wrap h1 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 700;
      letter-spacing: -.02em;
      line-height: 1.18;
      margin-bottom: 10px
    }

    .page-wrap .meta {
      font-size: 13px;
      color: var(--text-3);
      margin-bottom: 48px;
      padding-bottom: 24px;
      border-bottom: .5px solid var(--border)
    }

    .page-wrap h2 {
      font-size: 20px;
      font-weight: 700;
      margin: 40px 0 12px;
      color: var(--text-1)
    }

    .page-wrap h3 {
      font-size: 16px;
      font-weight: 600;
      margin: 24px 0 8px;
      color: var(--text-1)
    }

    .page-wrap p {
      font-size: 15px;
      color: var(--text-2);
      margin-bottom: 16px
    }

    .page-wrap ul,
    .page-wrap ol {
      padding-left: 20px;
      margin-bottom: 16px
    }

    .page-wrap li {
      font-size: 15px;
      color: var(--text-2);
      margin-bottom: 6px
    }

    .highlight-box {
      background: rgba(200, 41, 62, .05);
      border-left: 3px solid var(--accent);
      padding: 16px 20px;
      border-radius: 0 8px 8px 0;
      margin: 24px 0
    }

    .highlight-box p {
      margin: 0;
      font-size: 14px
    }

    @media(max-width:600px) {
      .page-wrap {
        padding: 40px 16px 60px
      }
    }

    /* ═══════════════════════════════ BLOG LISTING ═══════════════════════════════ */
    .blog-listing {
      max-width: 740px;
      margin: 0 auto;
      padding: 48px 24px 100px
    }

    .blog-listing h1 {
      font-size: clamp(28px, 4vw, 36px);
      font-weight: 700;
      letter-spacing: -.02em;
      margin-bottom: 8px
    }

    .blog-listing .blog-subtitle {
      color: var(--text-3);
      font-size: 15px;
      margin-bottom: 48px
    }

    .blog-card {
      display: block;
      padding: 28px 0;
      border-bottom: 1px solid var(--border);
      text-decoration: none;
      color: inherit;
      transition: background .2s
    }

    .blog-card:first-of-type {
      padding-top: 0
    }

    .blog-card:hover {
      background: var(--surface-2, #F4F3EF);
      border-radius: var(--r-sm, 8px);
      padding-left: 16px;
      padding-right: 16px;
      margin-left: -16px;
      margin-right: -16px
    }

    .blog-card-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 8px
    }

    .blog-card h2 {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 8px;
      color: var(--text-1)
    }

    .blog-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.6;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden
    }

    .blog-card-meta {
      font-size: 12px;
      color: var(--text-3)
    }

    .blog-card-meta span+span::before {
      content: " · ";
      margin: 0 4px
    }

    /* ═══════════════════════════════ DEMO PAGES (legacy standalone — kept for reference) ═══════════════════════════════ */
    .demo-hero--legacy {
      background: linear-gradient(135deg, #1a1a1a 0%, #2d0a10 100%);
      color: #fff;
      padding: 56px 24px 48px;
      text-align: center;
    }

    .demo-badge {
      display: inline-block;
      background: var(--accent);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 100px;
      margin-bottom: 20px;
    }

    .demo-legacy-hero h1 {
      font-size: clamp(24px, 5vw, 40px);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 14px;
      letter-spacing: -.02em;
    }

    .demo-legacy-hero p {
      font-size: 16px;
      color: rgba(255, 255, 255, .65);
      max-width: 560px;
      margin: 0 auto 28px;
      line-height: 1.65;
    }

    .demo-legacy-url-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .15);
      padding: 10px 20px;
      border-radius: 100px;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255, 255, 255, .85);
      text-decoration: none;
      transition: background .2s;
    }

    .demo-legacy-url-pill:hover {
      background: rgba(255, 255, 255, .18);
      color: #fff;
    }

    .demo-legacy-url-pill svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    .demo-main {
      max-width: 760px;
      margin: 0 auto;
      padding: 48px 24px 80px;
    }

    .cred-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      box-shadow: var(--shadow-md);
      overflow: hidden;
      margin-bottom: 32px;
    }

    .cred-header {
      background: var(--accent);
      color: #fff;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      font-size: 14px;
    }

    .cred-header svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .cred-body {
      padding: 24px;
    }

    .cred-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    @media(max-width:480px) {
      .cred-row {
        grid-template-columns: 1fr;
      }
    }

    .cred-field {
      background: var(--bg, #FAFAF8);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 14px 16px;
    }

    .cred-field-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--text-3);
      margin-bottom: 6px;
    }

    .cred-field-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-1);
      font-family: 'Courier New', monospace;
      letter-spacing: .02em;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .copy-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--text-3);
      padding: 2px;
      border-radius: 4px;
      transition: color .2s;
      flex-shrink: 0;
    }

    .copy-btn:hover {
      color: var(--accent);
    }

    .copy-btn svg {
      width: 14px;
      height: 14px;
      display: block;
    }

    .roles-section h2,
    .modules-section h2 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .roles-section p,
    .modules-section p {
      font-size: 14px;
      color: var(--text-2);
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .roles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
      margin-bottom: 32px;
    }

    .role-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      padding: 16px;
    }

    .role-pill {
      display: inline-block;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 3px 10px;
      border-radius: 100px;
      margin-bottom: 10px;
    }

    .role-admin {
      background: #fde8eb;
      color: var(--accent);
    }

    .role-manager {
      background: #e8f0fe;
      color: #1a56db;
    }

    .role-staff {
      background: #e6f4ea;
      color: #1e7e34;
    }

    .role-card h3 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .role-card p {
      font-size: 12px;
      color: var(--text-2);
      line-height: 1.5;
    }

    .modules-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 10px;
      margin-bottom: 32px;
    }

    .module-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 12px 14px;
      font-size: 13px;
      font-weight: 500;
    }

    .module-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    .demo-note {
      background: var(--accent-light, #FEF2F4);
      border: 1px solid rgba(200, 41, 62, .15);
      border-radius: var(--r-md);
      padding: 16px 20px;
      font-size: 13px;
      color: var(--accent);
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .demo-note strong {
      display: block;
      margin-bottom: 4px;
    }

    .demo-cta {
      text-align: center;
      padding-top: 8px;
    }

    .demo-cta p {
      font-size: 14px;
      color: var(--text-2);
      margin-bottom: 16px;
    }

    .toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(80px);
      background: #111;
      color: #fff;
      font-size: 13px;
      font-weight: 500;
      padding: 10px 20px;
      border-radius: 100px;
      transition: transform .3s;
      pointer-events: none;
      z-index: 999;
    }

    .toast.show {
      transform: translateX(-50%) translateY(0);
    }

    .project-name-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .2);
      padding: 6px 16px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      color: rgba(255, 255, 255, .9);
      margin-bottom: 16px;
    }

    .demo-legacy-hero--tms {
      background: linear-gradient(135deg, #0d1f2d 0%, #1a3a1a 100%);
    }

    .demo-legacy-hero--hms {
      background: linear-gradient(135deg, #0d1f2d 0%, #0d2d1f 100%);
    }

    /* ═══════════════════════════════ SERVICE PAGES ═══════════════════════════════ */

    /* "Learn More →" link inside every service card */
    .service-learn-more {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-top: 18px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent);
      text-decoration: none;
      transition: gap .2s
    }

    .service-learn-more:hover {
      gap: 8px
    }

    /* Outer wrapper — replaces inline padding/max-width */
    .svc-page {
      max-width: 960px;
      margin: 0 auto;
      padding: calc(var(--nav-h) + 56px) 24px 100px
    }

    /* Hero block at top of each service page */
    .svc-hero {
      margin-bottom: 60px;
      padding-bottom: 48px;
      border-bottom: .5px solid var(--border)
    }

    .svc-hero .page-label {
      margin-bottom: 16px
    }

    .svc-hero h1 {
      font-size: clamp(30px, 4.5vw, 48px);
      font-weight: 700;
      letter-spacing: -.025em;
      line-height: 1.12;
      color: var(--text-1);
      margin-bottom: 18px
    }

    .svc-hero .lead {
      font-size: 18px;
      color: var(--text-2);
      line-height: 1.72;
      max-width: 660px;
      margin-bottom: 32px
    }

    .svc-hero .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px
    }

    /* Section headings inside service page body */
    .svc-page>h2 {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--text-1);
      margin: 56px 0 20px
    }

    .svc-page>p,
    .svc-body-text {
      font-size: 15px;
      color: var(--text-2);
      line-height: 1.75;
      margin-bottom: 18px
    }

    /* Feature/benefit cards grid */
    .svc-feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin: 8px 0 56px
    }

    .svc-feature-card {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: var(--r-lg);
      padding: 24px 22px
    }

    .svc-feature-card h3 {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-1);
      margin-bottom: 8px
    }

    .svc-feature-card p {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.65;
      margin: 0
    }

    /* What's included list */
    .svc-includes {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
      margin: 8px 0 56px
    }

    .svc-includes li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.5
    }

    .svc-includes li::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 6px
    }

    /* Bottom CTA strip */
    .svc-cta-strip {
      text-align: center;
      padding: 52px 24px;
      border-top: .5px solid var(--border);
      margin-top: 60px;
      background: var(--surface);
      border-radius: var(--r-lg)
    }

    .svc-cta-strip h2 {
      font-size: clamp(20px, 3vw, 26px);
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--text-1);
      margin-bottom: 10px
    }

    .svc-cta-strip p {
      font-size: 15px;
      color: var(--text-2);
      line-height: 1.65;
      max-width: 480px;
      margin: 0 auto 28px
    }

    .svc-cta-strip .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center
    }

    @media (max-width: 768px) {
      .svc-page {
        padding: calc(var(--nav-h) + 28px) 16px 72px
      }

      .svc-hero {
        margin-bottom: 40px;
        padding-bottom: 32px
      }

      .svc-feature-grid {
        grid-template-columns: 1fr
      }

      .svc-includes {
        grid-template-columns: 1fr
      }
    }

    /* ═══════════════════════════════ DEMO PAGES ═══════════════════════════════ */

    /* ── Hero ── */
    .demo-hero {
      background: linear-gradient(160deg, #111111 0%, #1a1a1a 60%, #0f0f0f 100%);
      padding: calc(var(--nav-h) + 36px) 24px 52px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .demo-hero::before {
      content: '';
      position: absolute;
      top: -120px;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(200, 41, 62, .18) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Single-row topbar: back · title · badge */
    .demo-hero-topbar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .demo-back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: rgba(255, 255, 255, .45);
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
      flex-shrink: 0;
      transition: color .2s;
    }

    .demo-back-link:hover {
      color: rgba(255, 255, 255, .85);
    }

    .demo-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(200, 41, 62, .15);
      border: 1px solid rgba(200, 41, 62, .35);
      color: #f87186;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 100px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .demo-hero h1 {
      font-size: clamp(22px, 3.5vw, 38px);
      font-weight: 800;
      color: #fff;
      letter-spacing: -.025em;
      line-height: 1.1;
      margin: 0;
      flex: 1 1 auto;
    }

    .demo-hero-desc {
      font-size: 18px;
      color: rgba(255, 255, 255, .6);
      line-height: 1.65;
      max-width: 600px;
      margin: 0 auto 36px;
    }

    .demo-url-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .12);
      color: rgba(255, 255, 255, .55);
      font-size: 13px;
      font-weight: 500;
      padding: 8px 18px;
      border-radius: 100px;
      margin-bottom: 52px;
    }

    .demo-url-pill svg {
      flex-shrink: 0;
    }

    /* ── Credential Card ── */
    .demo-creds-card {
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 20px;
      padding: 32px;
      max-width: 540px;
      margin: 0 auto;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      text-align: left;
    }

    .demo-creds-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .35);
      margin-bottom: 20px;
    }

    .demo-creds-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .demo-creds-row:last-of-type {
      border-bottom: none;
    }

    .demo-creds-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .35);
      min-width: 76px;
    }

    .demo-creds-value {
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      font-variant-numeric: tabular-nums;
      flex: 1;
      word-break: break-all;
    }

    .demo-copy-btn {
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .12);
      color: rgba(255, 255, 255, .5);
      border-radius: var(--r-sm);
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all .2s;
      font-family: inherit;
      flex-shrink: 0;
    }

    .demo-copy-btn:hover {
      background: rgba(255, 255, 255, .14);
      color: #fff;
    }

    .demo-copy-btn.copied {
      background: rgba(34, 197, 94, .15);
      border-color: rgba(34, 197, 94, .3);
      color: #4ade80;
    }

    .demo-launch-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--accent);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 28px;
      border-radius: 100px;
      margin-top: 24px;
      transition: all .2s;
      width: 100%;
    }

    .demo-launch-btn:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(200, 41, 62, .45);
    }

    /* ── Gallery Section ── */
    .demo-gallery-section {
      background: var(--bg);
      padding: 64px 0 48px;
    }

    /* Base gallery (single image, no thumbs) */
    .demo-gallery {
      width: 100%;
    }

    /* Split layout: main left, thumbs right */
    .demo-gallery--split {
      display: grid;
      grid-template-columns: 1fr 200px;
      gap: 16px;
      align-items: start;
    }

    .demo-gallery-main {
      position: relative;
    }

    .demo-main-img {
      width: 100%;
      height: auto;
      max-height: 600px;
      object-fit: contain;
      object-position: top center;
      display: block;
      border-radius: var(--r-lg);
      border: .5px solid var(--border);
      box-shadow: var(--shadow-md);
      background: var(--surface-2);
      transition: opacity .25s;
    }

    /* Thumbnail column */
    .demo-gallery-thumbs {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .demo-thumb {
      display: block;
      padding: 0;
      border: 2px solid var(--border);
      border-radius: var(--r);
      overflow: hidden;
      cursor: pointer;
      background: var(--surface-2);
      transition: border-color .2s, box-shadow .2s, transform .15s;
      flex-shrink: 0;
    }

    .demo-thumb:hover {
      border-color: var(--accent);
      box-shadow: 0 4px 16px rgba(200,41,62,.18);
      transform: translateY(-2px);
    }

    .demo-thumb.active {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(200,41,62,.18);
    }

    .demo-thumb img {
      width: 100%;
      height: 110px;
      object-fit: cover;
      object-position: top center;
      display: block;
    }

    /* ── Content Section ── */
    .demo-content-section {
      background: var(--surface);
      padding: 80px 0;
    }

    .demo-rich-text {
      max-width: 840px;
      margin: 0 auto;
      font-size: 16px;
      color: var(--text-2);
      line-height: 1.8;
    }

    .demo-rich-text h2 {
      font-size: 26px;
      font-weight: 700;
      color: var(--text-1);
      letter-spacing: -.02em;
      margin: 40px 0 16px;
    }

    .demo-rich-text h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-1);
      margin: 32px 0 12px;
    }

    .demo-rich-text p {
      margin-bottom: 16px;
    }

    .demo-rich-text ul,
    .demo-rich-text ol {
      margin: 0 0 20px 24px;
    }

    .demo-rich-text li {
      margin-bottom: 8px;
    }

    .demo-rich-text img {
      max-width: 100%;
      border-radius: var(--r-md);
      margin: 24px 0;
    }

    .demo-empty-state {
      text-align: center;
      padding: 60px 24px;
      color: var(--text-3);
    }

    .demo-empty-state p {
      font-size: 16px;
      margin: 0;
    }

    /* ── CTA Banner ── */
    .demo-cta-banner {
      background: var(--accent);
      padding: 88px 24px;
      text-align: center;
    }

    .demo-cta-banner h2 {
      font-size: clamp(24px, 3.5vw, 40px);
      font-weight: 800;
      color: #fff;
      letter-spacing: -.025em;
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .demo-cta-banner p {
      font-size: 17px;
      color: rgba(255, 255, 255, .78);
      max-width: 520px;
      margin: 0 auto 36px;
      line-height: 1.65;
    }

    .demo-cta-banner .btn {
      background: #fff;
      color: var(--accent);
      font-size: 15px;
      font-weight: 700;
      padding: 14px 32px;
      border-radius: 100px;
    }

    .demo-cta-banner .btn:hover {
      background: rgba(255, 255, 255, .9);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
    }

    .demo-cta-note {
      margin-top: 18px;
      font-size: 13px;
      color: rgba(255, 255, 255, .48);
      font-style: italic;
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .demo-creds-card {
        padding: 24px 20px;
      }

      .demo-creds-value {
        font-size: 13px;
      }

      .demo-content-section {
        padding: 56px 0;
      }

      /* Gallery collapses to single column on mobile */
      .demo-gallery--split {
        grid-template-columns: 1fr;
      }

      .demo-gallery-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
      }

      .demo-thumb {
        width: calc(33.33% - 6px);
      }

      .demo-thumb img {
        height: 72px;
      }

      .demo-main-img {
        max-height: 320px;
      }

      .demo-gallery-section {
        padding: 40px 0 32px;
      }

      .demo-cta-banner {
        padding: 64px 24px;
      }
    }

    @media (max-width: 480px) {
      .demo-hero {
        padding-bottom: 60px;
      }

      .demo-creds-row {
        flex-wrap: wrap;
        gap: 8px;
      }

      .demo-copy-btn {
        margin-left: auto;
      }
    }

    /* ═══════════════════════════════ COMPARISON TABLE ═══════════════════════════════ */
    .dnd-comparison-table-wrapper {
      margin-top: 60px;
      overflow-x: auto;
      border-radius: var(--r-md);
      border: .5px solid var(--border);
      background: var(--surface);
    }

    .dnd-comparison-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .dnd-comparison-table th,
    .dnd-comparison-table td {
      padding: 20px 24px;
      border-bottom: .5px solid var(--border);
      font-size: 15px;
      color: var(--text-2);
    }

    .dnd-comparison-table th {
      font-weight: 600;
      color: var(--text-1);
      background: var(--surface-2);
      white-space: nowrap;
    }

    .dnd-comparison-table th:nth-child(2) {
      background: var(--accent);
      color: #fff;
    }

    .dnd-comparison-table td:nth-child(2) {
      background: rgba(200, 41, 62, .04);
      border-left: 2px solid var(--accent);
      border-right: 2px solid var(--accent);
      color: var(--text-1);
    }

    .dnd-comparison-table tr:last-child td {
      border-bottom: none;
    }

    .dnd-comparison-table tr:last-child td:nth-child(2) {
      border-bottom: 2px solid var(--accent);
    }

    .dnd-comparison-table td strong {
      color: var(--text-1);
      display: block;
      margin-bottom: 4px;
    }