:root {
      --bg-primary: #ffffff;
      --bg-elevated: #f5f5f7;
      --text-main: #111111;
      --text-muted: #4b4b4f;
      --wsi-blue-light: #46CCF9;
      --wsi-blue-mid:   #1190F2;
      --wsi-blue-deep:  #0760C1;
      --wsi-blue-fold:  #004E9E;
      --wsi-blue-shadow:#003B7A;
      --wsi-ink-blue:   #174F97;
      --accent: var(--wsi-blue-mid);
      --accent-soft: rgba(70,204,249,0.14);
      --card-border: rgba(0,0,0,0.06);
      --shadow-soft: 0 18px 45px rgba(0,0,0,0.07);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 16px;
      --radius-pill: 999px;
      --max-width: 1160px;
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      background: var(--bg-primary);
      color: var(--text-main);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    body { line-height: 1.6; }
    a { color: inherit; text-decoration: none; }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .inner {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Top nav */
    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: rgba(255,255,255,0.84);
      border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

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

    .logo-wrap {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-svg {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .logo-text {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .nav-links a.nav-link {
      padding: 4px 0;
      position: relative;
    }

    .nav-links a.nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: var(--accent);
      transition: width 0.2s ease-out;
    }

    .nav-links a.nav-link:hover::after { width: 100%; }

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

    .btn {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      border-radius: var(--radius-pill);
      font-size: 14px;
      font-weight: 500;
      border: 1px solid transparent;
      cursor: pointer;
      transition:
        background 0.18s ease-out,
        border-color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.18s ease-out,
        color 0.18s ease-out;
      white-space: nowrap;
      transform: translateZ(0);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      background-clip: padding-box;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--wsi-blue-mid) 0%, var(--wsi-blue-deep) 56%, var(--wsi-blue-fold) 100%);
      color: #fff;
      border-color: rgba(0,78,158,0.52);
      font-weight: 620;
      letter-spacing: -0.015em;
      text-shadow: 0 1px 1px rgba(0,59,122,0.20);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(0,59,122,0.16),
        0 12px 26px rgba(7,96,193,0.19),
        0 4px 10px rgba(0,59,122,0.11);
    }

    .btn-primary::before {
      content: "";
      position: absolute;
      inset: 1px;
      z-index: -1;
      border-radius: inherit;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.08) 24%, rgba(255,255,255,0) 52%);
      opacity: 0.82;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, var(--wsi-blue-deep) 0%, var(--wsi-blue-fold) 62%, var(--wsi-blue-shadow) 100%);
      transform: translate3d(0, -1px, 0);
      border-color: rgba(0,78,158,0.58);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 -1px 0 rgba(0,47,100,0.18),
        0 14px 28px rgba(7,96,193,0.21),
        0 5px 12px rgba(0,59,122,0.13);
    }

    .btn-primary:hover::before { opacity: 0.68; }


    .btn-ghost {
      background: transparent;
      color: var(--text-main);
      border-color: rgba(0,0,0,0.08);
    }

    .btn-ghost:hover { background: rgba(0,0,0,0.03); }

    /* Burger button (hidden on desktop) */
    .burger{
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,0.08);
      background: rgba(255,255,255,0.75);
      backdrop-filter: blur(10px);
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform .15s ease-out, background .15s ease-out;
    }
    .burger:hover{ background: rgba(255,255,255,0.9); transform: translateY(-1px); }

    .burger-lines{
      width: 18px;
      height: 12px;
      display: block;
      position: relative;
    }
    .burger-lines::before,
    .burger-lines::after{
      content:"";
      position:absolute;
      left:0;
      right:0;
      height:2px;
      border-radius: 999px;
      background: rgba(17,17,17,0.9);
      transition: transform .18s ease-out, top .18s ease-out, opacity .18s ease-out;
    }
    .burger-lines::before{ top: 2px; }
    .burger-lines::after{ top: 8px; }

    /* Mobile menu drawer */
    .mobile-menu{
      display: none; /* only on mobile */
      border-top: 1px solid rgba(0,0,0,0.04);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(18px);
    }
    .mobile-menu.open{ display:block; }

    .mobile-menu-inner{
      padding: 10px 16px 14px;
      display: grid;
      gap: 8px;
    }
    .mobile-link{
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid rgba(0,0,0,0.06);
      background: rgba(255,255,255,0.85);
      font-size: 14px;
      color: var(--text-main);
    }
    .mobile-link:hover{ background: rgba(255,255,255,1); }

    .mobile-primary{
      background: linear-gradient(135deg, var(--wsi-blue-mid) 0%, var(--wsi-blue-deep) 56%, var(--wsi-blue-fold) 100%);
      color: #fff;
      border-color: rgba(0,78,158,0.52);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 10px 22px rgba(7,96,193,0.18);
    }
    .mobile-primary:hover{
      background: linear-gradient(135deg, var(--wsi-blue-deep) 0%, var(--wsi-blue-fold) 62%, var(--wsi-blue-shadow) 100%);
      filter: none;
    }

    .mobile-sep{
      height: 1px;
      background: rgba(0,0,0,0.06);
      margin: 6px 0;
      border-radius: 999px;
    }

    /* Toggle burger to X when open */
    .burger.is-open .burger-lines::before{ top: 5px; transform: rotate(45deg); }
    .burger.is-open .burger-lines::after{ top: 5px; transform: rotate(-45deg); }

    /* Hero */
    .hero { padding: 72px 0 26px; }

    /* 4-zone hero grid (desktop: 2 cols, 2 rows) */
    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      gap: 54px;
      align-items: start;
      grid-template-areas:
        "copy  mock"
        "admin audit";
    }

    .hero-copy  { grid-area: copy; }
    .hero-mock  { grid-area: mock; }
    .hero-admin { grid-area: admin; }
    .hero-audit { grid-area: audit; }

    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      background: rgba(4,79,231,0.06);
      color: #295adf;
      font-size: 12px;
      font-weight: 500;
      margin-bottom: 18px;
      width: fit-content;
    }

    .hero-pill .badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #00b894;
    }

    .hero-title {
      font-size: clamp(38px, 4.1vw, 52px);
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin: 0 0 16px;
    }

    .hero-title .highlight {
      background: linear-gradient(135deg, var(--wsi-blue-mid) 0%, var(--wsi-blue-deep) 86%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      max-width: 560px;
      font-size: 16px;
      color: var(--text-muted);
      margin: 0 0 22px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin-bottom: 14px;
    }

    .hero-meta {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
    }

    .hero-meta strong { color: var(--text-main); font-weight: 600; }

    /* HERO mock: "deposited" look + rounded corners + color-bleed halo */
    .hero-mock {
      position: relative;
      justify-self: end;
      width: 100%;
      max-width: 520px;
      cursor: zoom-in;
      border-radius: 22px;
      overflow: hidden;
      background: transparent;
      transform: translateZ(0);
    }

    .hero-mock::before {
      content: "";
      position: absolute;
      inset: -22px;
      background:
        radial-gradient(56% 56% at 50% 42%, rgba(49,83,228,0.18) 0%, rgba(49,83,228,0.10) 34%, rgba(49,83,228,0) 74%),
        radial-gradient(44% 44% at 68% 58%, rgba(119,97,255,0.12) 0%, rgba(119,97,255,0) 72%);
      filter: blur(22px) saturate(1.04);
      opacity: 0.92;
      transform: scale(1.05);
      z-index: 0;
      pointer-events: none;
    }

    .hero-mock picture,
    .hero-mock .responsive-picture {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      border-radius: 22px;
      overflow: hidden;
    }

    .hero-mock img,
    .hero-mock picture > img,
    .hero-mock .responsive-picture > img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: auto;
      display: block;
      border-radius: 22px;
    }

    /* Hero screenshot card (admin console) */
    .hero-shot {
      border-radius: var(--radius-xl);
      background: radial-gradient(circle at top left, #eef3ff 0, #f5f5f7 40%, #ffffff 100%);
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(255,255,255,0.9);
      padding: 14px;
      overflow: hidden;
    }

    .hero-shot-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 10px 10px;
    }

    .hero-shot-title {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .hero-shot-tag {
      font-size: 11px;
      color: var(--text-muted);
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      background: rgba(255,255,255,0.85);
      border: 1px solid rgba(0,0,0,0.06);
      white-space: nowrap;
    }

    .hero-shot-tabs {
      display: inline-flex;
      gap: 8px;
      background: rgba(0,0,0,0.03);
      border: 1px solid rgba(0,0,0,0.06);
      padding: 6px;
      border-radius: var(--radius-pill);
      width: fit-content;
      margin: 0 10px 12px;
    }

    .hero-tab {
      border: 0;
      background: transparent;
      padding: 8px 12px;
      border-radius: var(--radius-pill);
      font-size: 12px;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s ease-out;
    }

    .hero-tab.active {
      background: #fff;
      color: var(--text-main);
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      border: 1px solid rgba(0,0,0,0.06);
    }

    .shot-frame {
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(0,0,0,0.06);
      background: #fff;
      cursor: zoom-in;
    }

    .shot-frame picture,
    .shot-frame .responsive-picture {
      display: block;
      width: 100%;
    }

    .shot-frame img,
    .shot-frame picture > img,
    .shot-frame .responsive-picture > img {
      width: 100%;
      display: block;
      height: auto;
    }

    .hero-shot-note {
      font-size: 12px;
      color: var(--text-muted);
      padding: 10px 10px 6px;
      margin: 0;
    }

    /* Audit card */
    .audit-card {
      border-radius: var(--radius-xl);
      background: var(--bg-elevated);
      border: 1px solid var(--card-border);
      padding: 16px 16px 14px;
      box-shadow: 0 14px 34px rgba(0,0,0,0.06);
    }

    .audit-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .audit-title {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .audit-pill {
      font-size: 11px;
      color: var(--text-muted);
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(0,0,0,0.06);
      background: rgba(255,255,255,0.75);
      white-space: nowrap;
    }

    .audit-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }

    .audit-item {
      display: grid;
      grid-template-columns: 10px 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 8px 10px;
      border-radius: 14px;
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(0,0,0,0.04);
    }

    .audit-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: rgba(4,79,231,0.28);
    }

    .audit-msg {
      font-size: 12px;
      color: var(--text-main);
    }

    .audit-meta {
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
    }

    /* Product preview */
    .product-preview { padding: 12px 0 54px; }

    .preview-grid {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .eyebrow {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .section-title {
      font-size: 26px;
      letter-spacing: -0.02em;
      margin: 0 0 10px;
    }

    .section-text {
      color: var(--text-muted);
      margin: 0 0 14px;
      max-width: 560px;
      font-size: 14px;
    }

    .bullets {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
      color: var(--text-muted);
      font-size: 13px;
    }

    .badge-bullet {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(4,79,231,0.12);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: var(--accent);
      flex-shrink: 0;
      margin-right: 8px;
    }

    /* ✅ CRITICAL: allow this grid child to shrink (prevents overflow) */
    .preview-media{
      display: grid;
      gap: 10px;
      min-width: 0;
      container-type: inline-size;
    }

    /* ✅ Tabs: always fit inside column width (PC + mobile), no bleed */
    .tabs{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding: 6px;
      border-radius: var(--radius-pill);
      background: rgba(0,0,0,0.03);
      border: 1px solid rgba(0,0,0,0.06);
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      overflow: hidden;
    }

    .tab{
      border: 0;
      background: transparent;
      border-radius: var(--radius-pill);
      cursor: pointer;

      width: 100%;
      min-width: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;

      padding: 8px 10px;

      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      font-size: clamp(11px, 2.2cqw, 13px);
      color: var(--text-muted);
      transition: all 0.15s ease-out;
    }

    .tab.active{
      background: #fff;
      color: var(--text-main);
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      border: 1px solid rgba(0,0,0,0.06);
    }

    @container (max-width: 420px){
      .tabs{ gap: 6px; }
      .tab{ padding: 7px 8px; }
    }

    .preview-frame {
      border-radius: var(--radius-xl);
      background: var(--bg-elevated);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      cursor: zoom-in;
    }

    .preview-frame picture,
    .preview-frame .responsive-picture {
      display: block;
      width: 100%;
    }

    .preview-frame img,
    .preview-frame picture > img,
    .preview-frame .responsive-picture > img { width: 100%; display: block; height: auto; }

    .preview-note { font-size: 12px; color: var(--text-muted); }

    .responsive-picture {
      display: block;
      width: 100%;
      height: auto;
    }

    .responsive-picture > img {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
    }

    /* Pillars */
    .pillars { padding: 10px 0 24px; }

    .pillars-header {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 26px;
    }

    .pillars-title {
      font-size: 22px;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .pillars-card {
      position: relative;
      overflow: visible;
      background: var(--bg-elevated);
      border-radius: var(--radius-lg);
      padding: 18px 18px 16px;
      border: 1px solid var(--card-border);
    }

    .pillars-icon {
      position: relative;
      isolation: isolate;
      overflow: visible;
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: var(--accent-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      margin-bottom: 10px;
    }


    .pillars-icon svg {
      width: 15.5px;
      height: 15.5px;
      display: block;
      stroke: currentColor;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }

    .pillars-icon .icon-cloud-hybrid {
      width: 18.5px;
      height: 18.5px;
      stroke-width: 1.32;
      shape-rendering: geometricPrecision;
    }

    .pillars-icon .icon-cloud-hybrid path {
      vector-effect: non-scaling-stroke;
    }

    .pillars-icon .icon-law {
      width: 16px;
      height: 16px;
      stroke-width: 1.35;
    }

    .pillars-icon::before {
      content: "";
      position: absolute;
      inset: -4px;
      z-index: -1;
      border-radius: inherit;
      pointer-events: none;
      background: linear-gradient(135deg, rgba(70,204,249,0.24) 0%, rgba(17,144,242,0.20) 52%, rgba(7,96,193,0.14) 100%);
      filter: blur(8px);
      opacity: 0.86;
      transform: translate3d(0, 3px, 0);
    }

    .pillars-card h3 { font-size: 15px; margin: 0 0 6px; }
    .pillars-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

    /* Trust strip */
    .trust-strip { padding: 0 0 26px; }

    .trust-card {
      border-radius: var(--radius-xl);
      background: radial-gradient(circle at top left, #dde7ff 0, #f5f5f7 45%, #ffffff 100%);
      border: 1px solid rgba(255,255,255,0.9);
      box-shadow: var(--shadow-soft);
      padding: 18px 18px 16px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
    }

    .trust-item-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
    .trust-item-text { font-size: 13px; color: var(--text-muted); margin: 0; }

    /* Architecture */
    .architecture { padding: 32px 0 40px; }

    .arch-layout {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .arch-title { font-size: 20px; margin: 0 0 10px; letter-spacing: -0.02em; }
    .arch-text { font-size: 14px; color: var(--text-muted); max-width: 520px; margin-bottom: 18px; }

    .arch-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 10px;
    }

    .arch-list li {
      display: flex;
      gap: 10px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .arch-step {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(4,79,231,0.12);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: var(--accent);
      flex-shrink: 0;
      margin-top: 1px;
    }

    .arch-card {
      border-radius: var(--radius-xl);
      background: var(--bg-elevated);
      padding: 20px 20px 18px;
      border: 1px solid var(--card-border);
      overflow: hidden;
    }

    .arch-card-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .arch-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .arch-badge {
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(0,0,0,0.06);
      background: rgba(255,255,255,0.9);
      font-size: 11px;
      color: var(--text-muted);
    }

    .arch-diagram {
      border-radius: 18px;
      background: #0f172a;
      padding: 14px 14px 12px;
      color: #e5e7eb;
      font-size: 11px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 12px;
      align-items: center;
    }

    .arch-diagram-col-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: #9ca3af;
      margin-bottom: 4px;
    }

    .arch-diagram-card {
      border-radius: 12px;
      border: 1px solid rgba(148,163,184,0.4);
      padding: 8px 9px;
    }

    .arch-diagram-card strong {
      font-size: 12px;
      display: block;
      margin-bottom: 3px;
    }

    .arch-diagram-arrow { font-size: 18px; color: #6366f1; text-align: center; }

    /* CTA */
    .cta { padding: 40px 0 64px; }

    .cta-inner {
      border-radius: var(--radius-xl);
      background: radial-gradient(circle at top left, #dde7ff 0, #f5f5f7 40%, #ffffff 100%);
      padding: 26px 26px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(255,255,255,0.9);
      gap: 10px;
    }

    .cta-title { font-size: 20px; letter-spacing: -0.02em; margin: 0; }
    .cta-text { font-size: 14px; color: var(--text-muted); max-width: 520px; margin: 0 0 6px; }
    .cta-sub { font-size: 12px; color: var(--text-muted); }

    /* Footer */
    .footer {
      border-top: 1px solid rgba(0,0,0,0.05);
      padding: 18px 0 24px;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: auto;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .footer-links a { color: inherit; text-decoration: none; }
    .footer-links a:hover { text-decoration: underline; }
    .footer-sep { color: inherit; opacity: 0.9; }
    .footer-copyright { order: 1; color: rgba(15, 23, 42, 0.38); }
    .footer-links { order: 2; }

    @media (max-width: 720px) {
      .footer-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        text-align: center;
      }

      .footer-links {
        order: 1;
        justify-content: center;
        gap: 10px 14px;
      }

      .footer-copyright {
        order: 2;
      }
    }

    /* Lightbox */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      z-index: 50;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
    }

    .lightbox.open { display: flex; }

    .lightbox-inner {
      max-width: min(1200px, 96vw);
      max-height: 92vh;
      border-radius: 18px;
      overflow: hidden;
      background: #0b1220;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 30px 80px rgba(0,0,0,0.45);
      position: relative;
    }

    .lightbox-img {
      display: block;
      max-width: 100%;
      max-height: 92vh;
      height: auto;
      width: auto;
    }

    .lightbox-close {
      position: absolute;
      top: 10px;
      right: 10px;
      border: 0;
      background: rgba(255,255,255,0.12);
      color: #fff;
      width: 38px;
      height: 38px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
    }

    .lightbox-close:hover { background: rgba(255,255,255,0.18); }


    /* Hero alignment guard: keeps copy and visual from crushing each other on laptop/tablet widths. */
    .hero-copy {
      max-width: 610px;
    }

    .hero-actions {
      align-items: center;
      gap: 7px;
    }

    .hero-actions .btn {
      min-height: 48px;
      line-height: 1;
    }

    @media (max-width: 1120px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
        gap: 34px;
      }

      .hero-title {
        font-size: clamp(36px, 4.2vw, 48px);
      }

      .hero-mock {
        max-width: 470px;
      }
    }

    @media (max-width: 1040px) {
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        grid-template-areas:
          "copy"
          "mock"
          "admin"
          "audit";
      }

      .hero-copy {
        max-width: 720px;
      }

      .hero-mock {
        justify-self: start;
        max-width: 680px;
      }
    }

    /* ✅ CRITICAL: prevent grid children from forcing overflow */
    .hero-inner > *,
    .preview-grid > *,
    .arch-layout > *,
    .trust-card > *,
    .pillars-grid > * {
      min-width: 0;
    }

    /* Responsive */
    @media (max-width: 920px) {
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        grid-template-areas:
          "copy"
          "mock"
          "admin"
          "audit";
      }

      .preview-grid,
      .arch-layout,
      .trust-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
      }

      .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

      .hero-mock {
        justify-self: start;
        max-width: 680px;
      }
    }

    @media (max-width: 720px) {
      .inner { padding: 0 16px; }
      .nav-inner { height: 56px; }
      .hide-mobile { display: none !important; }
      .logo-wrap { width: 28px; height: 28px; }
      .logo-text { font-size: 16px; }

      .nav-links { display: none; }
      .burger { display: inline-flex; }

      .nav-cta { gap: 8px; }
      .nav-cta .btn {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 999px;
      }
      .nav-cta .btn-ghost { padding: 8px 10px; }

      @media (max-width: 380px) {
        .logo-text { display: none; }
        .nav-cta .btn { padding: 7px 10px; font-size: 12px; }
      }

      .hero { padding-top: 44px; }
      .hero-title { font-size: 30px; }
      .pillars-grid { grid-template-columns: minmax(0, 1fr); }
      .pillars-icon::before {
        inset: -5px;
        opacity: 0.94;
        filter: blur(9px);
        transform: translate3d(0, 4px, 0);
      }
      .cta-inner { padding: 22px 18px; }
    }

/* Extracted from previous inline style attributes */
.hero-actions-product {
  margin-top: 14px;
}

.hero-actions-center-tight {
  justify-content: center;
  margin-bottom: 4px;
}

/* Mobile burger drawer edge-case polish: keep first/last items breathing like the middle stack. */
@media (max-width: 720px) {
  html body .page .mobile-menu > .inner.mobile-menu-inner,
  html body .page .mobile-menu .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  html body .page .mobile-menu .mobile-sep {
    margin: 0;
  }

  html body .page .mobile-menu .mobile-link.mobile-primary {
    margin-top: 0;
    margin-bottom: 0;
  }
}

