  :root {
    --bg: #0b0f17;
    --panel: #111826;
    --text: #e6eef7;
    --muted: #9db1c7;
    --acc: #67b0ff;
    --border: #22324a;
  }

  html {
    scroll-behavior: smooth;
  }

  * {
    box-sizing: border-box;
  }

  body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    touch-action: manipulation;
    overscroll-behavior: none;
    box-sizing: border-box;
    padding-top: 64px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  }

  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }

  /* make the row a proper flex container */
  .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  /* column is optional; keep it simple */
  .column {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .top1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 64px;
    padding: 0 2vw;
    background: rgba(11, 15, 23, .9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(6px);
  }

  .top2 {
    position: fixed;
    top: 1%;
    left: 0;
    right: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    height: 13%;
    padding: 0 2vw;
    background: rgba(11, 15, 23, .9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(6px);
    flex-wrap: wrap;
    padding-bottom: 1%;
  }

  .spacer {
    display: none;
  }

  .main-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: rgba(11, 15, 23, .9);
    color: #fff;
    min-height: 100vh;
    /* so left column fills vertically */
  }

  .sec-title {
  color: rgb(170, 170, 170);
  }

  .middle1 {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    text-align: center;
    background: var(--bg);
    color: var(--text);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 0;
    border-bottom: 0;
  }

  .middle2 {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 0;
    border-bottom: 0;
  }

  .middle3 {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    gap: 18px;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    text-align: left;
    color: #fff;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 0;
    border-bottom: 1px solid var(--border);
  }

  .middle4 {
    flex: 0 0 78%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    gap: 18px;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    text-align: left;
    color: #fff;
  }

  .middle5 {
    flex: 0.3% 0 78%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    gap: 18px;
    width: 70%;
    height: 60%;
    margin: 0 auto;
    text-align: left;
    color: #fff;
  }

  .side1 {
    color: #fff;
    width: 240px;
    /* <- you can change sidebar width here */
    min-width: 200px;
    max-width: 260px;
    padding: 1rem;
    box-sizing: border-box;
    font-family: sans-serif;
    background: var(--bg);
    border-right: 1px solid var(--border);
  }

  .side-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .side-title {
    font-size: 1rem;
    font-weight: 600;
    color: #8b8b8b;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .side-btn {
    display: block;
    background: #0f1a2d;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.7rem;
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    width:110%;
    line-height: 1.0;
    text-align: left;
    white-space: normal;
  }

  .side-btn:hover {
    background: #12203a;
    text-decoration: none;
    color: #fff;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 8px 8px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

  .side-btnr {
    display: block;
    background: #0f1a2d;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.7rem;
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    width:150%;
    line-height: 1.0;
    text-align: left;
    white-space: normal;
  }

  .side-btnr:hover {
    background: #12203a;
    text-decoration: none;
    color: #fff;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 8px 8px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

:root { --header-h: 64px; }

.side2{
  position: fixed;
  top: var(--header-h);      /* sit below the header */
  bottom: 0;                 /* pin to bottom of viewport */
  width: 240px;              /* your existing width */
  min-width: 200px;
  max-width: 260px;

  padding: 1rem;
  box-sizing: border-box;
  color: #fff;
  background: var(--bg);
  border-right: 1px solid var(--border);

  overflow-y: auto;          /* <-- vertical scroll */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; /* smoother on iOS */
}

/* Add some breathing room under the last button */
.side2 .side-btn:last-child { margin-bottom: 16px; }

  .navbtn {
    display: block;
    background: #0f1a2d;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
  }

  .navbtn:hover {
    background: #12203a;
    text-decoration: none;
    color: #fff;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 8px 8px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }


  a {
    color: var(--brand);
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  .nav {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav a.brand {
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 20px;
    color: var(--fg);
  }

  .nav .spacer {
    flex: 0;
  }

  .brand-logo {
    height: 50px;
    /* adjust to taste: 24–36px works well */
    width: auto;
    display: block;
  }

  .brand-logo2 {
    height: 90px;
    /* adjust to taste: 24–36px works well */
    width: auto;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 6px;
    display: block;
  }

  .brand-logo3 {
    height: 500px;
    /* adjust to taste: 24–36px works well */
    width: auto;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 6px;
    display: block;
  }

  .btn {
    text-decoration: none;
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: #0f1a2d;
    color: var(--text);
    white-space: normal;
    word-break: break-word;
  }

  .btn:hover {
    text-decoration: none;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 8px 8px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

  .btn:active {
    text-decoration: none;
    background: #353535;
    /* darker than #464646 */
    transform: translateY(1px);
    box-shadow:
      0 0 0 1px rgba(96, 165, 250, .35) inset,
      0 4px 16px rgba(96, 165, 250, .22);
  }

  .btn:focus-visible {
    text-decoration: none;
    outline: none;
    box-shadow:
      0 0 0 2px rgba(13, 148, 246, .85),
      /* bright ring */
      0 0 0 6px rgba(13, 148, 246, .25);
    /* halo */
  }

  .btn.cta {
    text-decoration: none;
    background: linear-gradient(120deg, var(--brand), var(--accent));
    color: #001016;
    font-weight: 700;
  }

  .hero {
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 24px;
    /* was larger; shrink top padding */
    gap: 10px;
    align-items: center;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 12px;
  }

  .hero p {
    color: var(--muted);
    font-size: 18px;
  }

  .cardgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(8px, 2vw, 24px);
  }

  .card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .08);
    margin-top: 2%;
    padding: 18px;
    border-radius: 16px;
    color: #fff;
    position: relative;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 24px 24px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

  .btn2 {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 18px;
    color: #9db1c7;
    background: #0f1a2d;
    border-radius: 16px;
  }

  .kicker {
    color: var(--textc);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .18em;
  }

  .kick2 {
    color: rgb(0, 225, 255);
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: .18em;
  }

  section {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    scroll-margin-top: 98px;
  }

  .section2 {
    padding: 36px 0;
  }

  footer {
    color: #9db1c7;
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border);
  }

  .code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
    background: #0a0d14;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 10px 12px;
    display: block;
    overflow: auto;
  }

  .badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--muted);
    font-size: 12px;
    margin: 0 6px 6px 0;
  }

  .grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto; 
  }

  .pricecard.enterprise {
  grid-column: 2;
}

/* Optional: make pricing stack nicely on smaller screens */
@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
  }
  .pricecard.enterprise {
    grid-column: auto;
  }
}

  .pricecard {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 22px;
    border-radius: 16px;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 10px 10px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
    text-align: left;
  }

  .pricecard h3 {
    margin: 0 0 6px;
  }

  .small {
    font-size: 12px;
    color: var(--muted);
  }


  .shot-rotator {
    display: block;
    inline-size: fit-content;
    margin: 16px auto 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--shot-radius, 12px);
    position: relative;
    overflow: hidden;
    background: none;
    opacity: 2;
    max-inline-size: 90vw;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 24px 24px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

  @supports not (width: fit-content) {
    .shot-rotator {
      display: inline-block;
    }

    .middle1 {
      text-align: center;
    }
  }

  .shot-rotator::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--shot-bg, rgba(255, 255, 255, .03));
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
  }

  .shot-rotator img {
    position: relative;
    z-index: 11;
    display: block;
    margin: 0 auto;
    height: auto;
    width: auto;
    max-width: min(90vw, 1100px);
    max-height: var(--shot-max-height, 800px);
    object-fit: contain;
    border-radius: var(--shot-radius, 12px);
    background: #0b0f17;
  }

  .hero {
    gap: 20px;
    align-items: start;
  }

  .hero>div:first-child {
    text-align: center;
  }

  .logo {
    filter:
      drop-shadow(0 6px 18px rgba(86, 229, 255, .28)) drop-shadow(0 2px 8px rgba(167, 139, 250, .25));
    animation: breathe 4.5s ease-in-out infinite;
  }

  @keyframes breathe {

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

    50% {
      transform: scale(1.03);
    }

    /* subtle pulse */
  }

  /* optional expanding halo around the logo */
  .pulse {
    position: relative;
    display: inline-block;
  }

  .pulse::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(86, 229, 255, .25);
    animation: pulse 2.4s ease-out infinite;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(86, 229, 255, .25);
    }

    100% {
      box-shadow: 0 0 0 24px rgba(86, 229, 255, 0);
    }
  }

  .grid {
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px;
    mask-image: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 1) 65%);
    animation: float 18s linear infinite;
    pointer-events: none;
    z-index: 5;
  }

  @keyframes float {
    from {
      background-position: 0 0, 0 0;
    }

    to {
      background-position: 0 40px, 40px 0;
    }
  }

  .button-bar {
    display: flex;
    flex-wrap: wrap;

    /* center the whole block on the page and give it breathing room */
    max-width: 800px;
    /* you can shrink this if you want tighter center */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;

    /* control spacing inside each row */
    justify-content: space-around;
    row-gap: 1rem;
    /* vertical gap between rows */
    column-gap: 1rem;
    /* horizontal gap between buttons */
  }

  /* each button */
  .btn3 {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;

    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 6px;

    /* layout rules */
    flex: 0 1 220px;
    /* target width ~220px */
    min-width: 180px;
    /* don't get skinnier than this */
    max-width: 240px;
    /* don't get super wide either */

    /* allow multi-line labels so it won't spill */
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  /* optional: make the heading centered to match the vibe */
  .column.middle1 h1 {
    text-align: center;
  }

  /* optional: cap how wide one button can get so you don't get 2 giant ones per row on big screens */
  .btn3 {
    max-width: 200px;
  }

  .btn3:hover {
    text-decoration: none;
    box-shadow:
      0px 0px 0px 1px rgba(96, 165, 250, 0.25) inset,
      0px 0px 8px 8px rgba(96, 165, 250, 0.20);
    transition: box-shadow 220ms ease, transform 220ms ease;
  }

  .btn3:active {
    text-decoration: none;
    background: #353535;
    /* darker than #464646 */
    transform: translateY(1px);
    box-shadow:
      0 0 0 1px rgba(96, 165, 250, .35) inset,
      0 4px 16px rgba(96, 165, 250, .22);
  }

  .btn3:focus-visible {
    text-decoration: none;
    outline: none;
    box-shadow:
      0 0 0 2px rgba(13, 148, 246, .85),
      /* bright ring */
      0 0 0 6px rgba(13, 148, 246, .25);
    /* halo */
  }

  .btn3.cta {
    text-decoration: none;
    background: linear-gradient(120deg, var(--brand), var(--accent));
    color: #001016;
    font-weight: 700;
  }

  .content-frame {
    width: 110%;
    min-height: 70vh;
    /* how tall the iframe should be visible */
    border: 0;
    /* remove default iframe border */
    background-color: #000;
    color: #fff;
  }

  .status-legend {
    max-width: 420px;
    margin: 1rem auto;
  }

  .status-legend ul {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0.5rem;
  }

  .status-legend li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
  }

  .status-legend li:last-child {
    border-bottom: 0;
  }

  .box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
  }

  .success {
    background: #22c55e;
  }

  .failed {
    background: #ef4444;
  }

  .running {
    background: #3b82f6;
  }

  .queued {
    background: #f59e0b;
  }

  .other {
    background: #9ca3af;
  }

  .nav-sep {
  border: 0;
  height: 3px;
  margin: 5px 0 0px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.60), transparent);
  opacity: 0.8;      
}

.compare-table {
  width: 100%;
  border-collapse: separate;   /* keep borders separate so both directions show cleanly */
  border-spacing: 0;
}

.compare-table th,
.compare-table td {
  padding: 8px 10px;
  vertical-align: top;
  background-clip: padding-box; 
  border-bottom: 1px solid rgba(255,255,255,0.18); 
}

.compare-table th + th,
.compare-table td + td {
  border-left: 1px solid rgba(255,255,255,0.18);
}

/* zebra striping for readability */
.compare-table tbody tr:nth-child(odd) {
  background: rgba(255,255,255,0.00);
}

/* row highlight on hover */
.compare-table tbody tr:hover {
  background: rgba(125,162,255,0.14); /* subtle bluish highlight; adjust to taste */
}

/* optional: keyboard focus highlight if a link/button is inside the row */
.compare-table tbody tr:focus-within {
  outline: 2px solid rgba(125,162,255,0.6);
  outline-offset: -2px;
}