:root {
  --bg: #07080d;
  --panel: rgba(255,255,255,.055);
  --panel-solid: #11131b;
  --line: rgba(255,255,255,.12);
  --text: #f7f7fb;
  --muted: #a7a9b5;
  --yellow: #f6f4a3;
  --yellow-light: #ffad72;
  --purple: #a4a5dc;
  --purple-ligt: #a4a5dc;
  --critical: #ff5c63;
  --warning: #ffb347;
  --info: #71b7ff;
  --sidebar: 280px;
  --topbar: 72px;
  --content: 1050px;
  --hilite-core: #409ce8;
  --hilite-pro: #54ec54;
  --hilite-pack-animation: #ae2d4b;
  --hilite-pack-rigging: #b482cd;
  --hilite-pack-lighting: #aeab30;
  --max: 100%;
  --carousel-radius: 164px; 
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; margin-right: 4px;}


/* Creates full-screen stacked star layers */

.stars {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background-image: radial-gradient(white, rgba(255,255,255,.25) 2px, transparent 5px);
  background-size: 550px 550px;
  z-index:-2;
  animation: twinkle 4s ease-in-out infinite;
}
.stars-medium {
  background-image: radial-gradient(white, rgba(255,255,255,.20) 1.5px, transparent 3px);
  background-size: 350px 350px;
  background-position: 20px 30px;
  z-index:-2;
  animation: twinkle 8s ease-in-out infinite;
}
.stars-faint {
  background-image: radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px);
  background-size: 200px 200px;
  background-position: 130px 240px;
  z-index:-2;
  animation: twinkle 12s ease-in-out infinite;
}


/* Animations stars */

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


 /* Astronaut */
 
.astronaut-wrap {
  animation: float 5.8s ease-in-out infinite;
  will-change: transform;
}
.astronaut-wrap img { width: 100%; display: block; transform: rotate(5deg); }


/* Animation astronaut */

@keyframes float {
  0%,100% { transform: translate3d(0,-8px,0) rotate(-3deg); }
  50% { transform: translate3d(8px,12px,0) rotate(4deg); }
}

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--topbar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7,8,13,.84);
  backdrop-filter: blur(16px);
}

/* Animation rocket */

.sprite-animation {
    width: min(400px, 100%);
    aspect-ratio: 1;
    background-image: url('../svg/sprites/rocket_spritesheet.svg');
    background-repeat: no-repeat;
    background-size: 800% 100%;

    /* Total time: 4.66s (1.66s animation + 3s pause) */
    animation: play-frames 4.66s linear infinite;
}

@keyframes play-frames {
    /* 1. Cycle through frames 1 to 7 */
    0% {
        background-position: 0px 0;
        animation-timing-function: steps(7); 
    }
    /* 2. Arrive at frame 8 at the 1.66s mark (35.6% of the timeline) */
    35.6% {
        background-position: 100% 0;
    }
    /* 3. Freeze on frame 8 for the remaining 3 seconds */
    100% {
        background-position: 100% 0;
    }
}


/* Animation beta */

.sprite-beta-animation {
    width: min(256px, 100%);
    aspect-ratio: 1;
    background-image: url('../svg/sprites/beta_spritesheet.svg');
    background-repeat: no-repeat;
    background-size: 1800% 100%;

    /* Total time: 4.66s (1.66s animation + 3s pause) */
    animation: play-beta-frames 4.66s linear infinite;
}

@keyframes play-beta-frames {
    /* 1. Cycle through frames 1 to 7 */
    0% {
        background-position: 0px 0;
        animation-timing-function: steps(17); 
    }
    /* 3. Freeze on frame 8 for the remaining 3 seconds */
    100% {
        background-position: 100% 0;
    }
}


/* Carousel Launch text */

.cylinder-container {
  width: min(400px, 100%);
  max-width: 100%;
  perspective: 1000px; 
}

.fade-edges {
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.cylinder {
  position: relative;
  width: 100%;
  height: 32px;
  transform-style: preserve-3d;
  animation: spinY 16s linear infinite;
  transform: rotateX(0deg); 
}

.cylinder span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--orange);
  text-align: center;
  text-transform: uppercase;
  backface-visibility: hidden;
  
  /* Math: Uses the dynamic --total-letters variable from JS */
  transform: 
    rotateY(calc(var(--i) * (360deg / var(--total-letters)))) 
    translateZ(var(--carousel-radius));
}

@keyframes spinY {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(0deg) rotateY(-360deg); }
}



.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 170px; height: 34px; object-fit: contain; object-position: left center; }
.centered {
    display: flex; justify-content: center; align-items: center; margin-top:20px;
}

.launch-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


/* Links */
.i-beta:hover {
    filter: brightness(0) saturate(100%) invert(49%) sepia(46%) saturate(1051%) hue-rotate(214deg) brightness(100%) contrast(98%);
}

.i-facebook:hover {
    filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(468%) hue-rotate(180deg) brightness(97%) contrast(81%);
}

.i-youtube:hover {
    filter: brightness(0) saturate(100%) invert(16%) sepia(82%) saturate(4210%) hue-rotate(354deg) brightness(95%) contrast(93%);
}

/* Groups */
.i-orange, .i-contact:hover, .i-about:hover, .i-free:hover, i-terms:hover, .i-privacy:hover {
    filter: brightness(0) saturate(100%) invert(60%) sepia(72%) saturate(1794%) hue-rotate(340deg) brightness(100%) contrast(98%);
}


/* Product color filters */
.i-qc_core {
    filter: brightness(0) saturate(100%) invert(67%) sepia(63%) saturate(3858%) hue-rotate(182deg) brightness(94%) contrast(93%);
}

.i-qc_pro {
    filter: brightness(0) saturate(100%) invert(73%) sepia(68%) saturate(527%) hue-rotate(61deg) brightness(103%) contrast(85%);
}

.i-qc_pack_animation {
    filter: brightness(0) saturate(100%) invert(22%) sepia(66%) saturate(2400%) hue-rotate(324deg) brightness(85%) contrast(87%);
}

.i-qc_pack_rigging {
    filter: brightness(0) saturate(100%) invert(87%) sepia(37%) saturate(5463%) hue-rotate(211deg) brightness(84%) contrast(90%);
}

.i-qc_pack_lighting {
    filter: brightness(0) saturate(100%) invert(59%) sepia(76%) saturate(368%) hue-rotate(20deg) brightness(94%) contrast(94%);
}

.i-purple {
    filter: brightness(0) saturate(100%) invert(69%) sepia(44%) saturate(355%) hue-rotate(201deg) brightness(91%) contrast(89%);
}

.i-yellow {
    filter: brightness(0) saturate(100%) invert(85%) sepia(36%) saturate(358%) hue-rotate(8deg) brightness(109%) contrast(93%);
}



/* Tooltip */

/* Container holds the positioning context */
.tooltip-container {
    position: relative;
    display: inline-block;
}


/* Hide the tooltip text by default and style it */
.tooltip-container .tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;

    /* Position the tooltip above the image */
    position: absolute;
    z-index: 1;
    bottom: -100%; 
    left: 50%;
    transform: translateX(-50%);

    /* Smooth fade-in effect */
    opacity: 0;
    transition: opacity 0.3s;
}


/* Reveal the tooltip when hovering over the container */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    font-size:.8rem;
}

.top-actions { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .9rem; }
.badge, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--text); font-size: .82rem;
}

.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); padding-top: var(--topbar); min-height: 100vh; }
.sidebar {
  position: fixed; top: var(--topbar); left: 0; bottom: 0; width: var(--sidebar);
  padding: 22px 18px 36px; overflow-y: auto;
  border-right: 1px solid var(--line);
  background: rgba(10,11,17,.72); backdrop-filter: blur(14px);
}


/* Tools Section */

.tools {
    width: min(
        calc(100% - 40px),
        var(--max)
    );
    margin: 20px auto 80px;
    display: grid;
    grid-template-columns:
        1.02fr
        1fr
        1fr;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--panel);
    backdrop-filter: blur(8px);
}

.newsletter {
    width: min(
        calc(100% - 40px),
        var(--max)
    );
    margin: 20px 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;

    background: var(--panel);
    backdrop-filter: blur(8px);
}


/* Main columns */

.tool-column {
    min-width: 0;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* Divider between columns */

.tool-column + .tool-column {
    border-left: 1px solid var(--line);
}


/* Tool introduction */

.tool-main {
    padding: 28px 30px;
}

.tool-intro h2 {
    margin: 0 0 12px;
    color: var(--orange);
    font-family:
        "Space Grotesk",
        Inter,
        sans-serif;
    font-size: 1.55rem;
    line-height: 1.1;
}

.tool-intro p {
    margin: 0;
    max-width: 29rem;
    color: #d7d8df;
    font-size: 1rem;
    line-height: 1.45;
}


/* Tool cards */

.tool-card {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:var(--panel);
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
    border-color: rgba(252, 132, 44, .45);
    background: rgba(255, 255, 255, .07);
}

.tool-card h3 {
    margin: 0 0 9px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family:
        "Space Grotesk",
        Inter,
        sans-serif;
    font-size: 1.05rem;
    color: var(--text);
}

.tool-card p {
    margin: 0;
    color: #d7d8df;
    font-size: .92rem;
    line-height: 1.4;
}

.tool-price {
    display: block;
    float: right;
    font-size: 2.0rem;
    font-weight:bold;
}


/* Optional bottom link */

.tool-card-link {
    display: inline-block;
    margin-top: 13px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(3px);
    transition:
        opacity .2s ease,
        transform .2s ease,
        color .2s ease;
}

.tool-card:hover .tool-card-link {
    opacity: 1;
    transform: translateY(0);
    color: var(--orange-light);
}


/* Colored status/product dots */

.tool-dot {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.core-dot {
    background: var(--hilite-core);
}
.pro-dot {
    background: var(--hilite-pro);
}
.pack-animation-dot {
    background: var(--hilite-pack-animation);
}
.pack-rigging-dot {
    background: var(--hilite-pack-rigging);
}
.pack-lighting-dot {
    background: var(--hilite-pack-lighting);
}


/* Display column */

.tool-display-column {
    align-content: start;
}


/* Tool story */

/* Parent story-container holding both story-columns */
.story-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.story-column {
  flex: 1;
}

.story-column h2{
    margin: 16px 0 16px; 
}

/* Makes sure the image resizes beautifully and doesn't spill out */
.story-image-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


/* Newletter Section */

.newsletter {
    width: min(
        calc(100% - 40px),
        var(--max)
    );

    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    backdrop-filter: blur(8px);
}


/* Responsive adjustment for tablets and mobile devices */
@media screen and (max-width: 768px) {
  .story-container {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
  }

  .story-column {
    flex: none;
    width: 100%;
  }

  .story-image-col {
    order: -1;
  }

  .launch-section {
    --carousel-radius: clamp(90px, 28vw, 164px);
    padding: 0 8px;
  }

  .launch-section .centered {
    width: 100%;
    min-width: 0;
  }
}



.search-wrap { margin-bottom: 22px; }
.search-wrap input, .search-page input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.045); color: var(--text);
  padding: 12px 14px; outline: none;
}
.search-wrap input:focus, .search-page input:focus { border-color: rgba(252,132,44,.65); box-shadow: 0 0 0 3px rgba(252,132,44,.10); }
.nav-section + .nav-section { margin-top: 24px; }
.nav-title { color: #737684; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 10px 8px; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: .91rem;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.065); }
.nav-link.active { box-shadow: inset 3px 0 0 var(--orange); }
.nav-link span { color: #737684; font-size: .78rem; }
.content { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; padding: 58px 0 70px; grid-column: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px;
  color: #d8d8df; background: var(--panel); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }

h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; }
h1 { margin: 20px 0 16px; font-size: clamp(2.5rem,5vw,4.7rem); line-height: 1; letter-spacing: -.045em; }
h1 span { color: var(--orange); }
h2 { margin: 46px 0 17px; font-size: 1.65rem; }
h3 { margin: 0 0 10px; font-size: 1.08rem; }
p, li { line-height: 1.75; }

.lead { max-width: 780px; color: var(--text); font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .86rem; margin-bottom: 24px; }
.breadcrumbs a:hover { color: var(--orange-light); }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.grid-doc { display: grid; grid-template-columns: repeat(1,minmax(0,1fr)); gap: 16px; }
.doc-ancor{ color: var(--orange-light);}
.card, .detail-card, .hero-card, .callout {
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); backdrop-filter: blur(8px);
}

/* hilites*/
.hilite-yellow {color: var(--yellow)}
.hilite-purple {color: var(--purple)}
/* tier */
.hilite-core {color: var(--hilite-core)}
.hilite-pro {color: var(--hilite-pro)}
/* packs */
.hilite-pack-animation {color: var(--hilite-pack-animation)}
.hilite-pack-rigging {color: var(--hilite-pack-rigging)}
.hilite-pack-lighting {color: var(--hilite-pack-lighting)}

.hilite-legal:hover {color: white}


.card { padding: 21px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(252,132,44,.45); background: rgba(255,255,255,.075); }
.card p { color: var(--muted); margin: 0 0 15px; }
.count { color: var(--orange-light); font-size: .88rem; font-weight: 700; }

.hero-card { display: grid; grid-template-columns: 1fr 220px; gap: 30px; align-items: center; padding: 30px; margin: 36px 0; overflow: hidden; }
.hero-card img { max-height: 220px; justify-self: center; filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)); }

.copy { display: flex; justify-content: center; align-items: center;}

.detail-card { padding: 24px; margin-top: 28px; }
.callout { padding: 20px 22px; color: var(--muted); border-left: 3px solid var(--orange); }
.general-notes { margin: 38px 0; }
.general-notes-list { display: grid; gap: 12px; }
.general-note { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; background: var(--panel); }
.general-note h3 { margin: 0 0 7px; font-size: 1rem; color: var(--text); }
.general-note p { margin: 0; color: var(--muted); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 45px; padding: 0 17px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--panel); font-weight: 700;
}
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.button.primary { background: var(--orange); color: #1a0b02; border-color: transparent; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.critical { background: var(--critical); box-shadow: 0 0 10px rgba(255,92,99,.55); }
.dot.warning { background: var(--warning); box-shadow: 0 0 10px rgba(255,179,71,.45); }
.dot.info { background: var(--info); box-shadow: 0 0 10px rgba(113,183,255,.45); }
.table-scroll { overflow-x: auto; }
.feature-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: var(--panel); }
.feature-table th, .feature-table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.feature-table th { color: #d8d9e2; width: 190px; }
.feature-table td { color: var(--muted); }
.feature-table thead th { background: rgba(255,255,255,.045); width: auto; }
.feature-table .enum-options-row > td { padding: 0; background: rgba(0,0,0,.12); }
.enum-options { padding: 14px 15px 16px; }
.enum-options-title { color: #d8d9e2; font-weight: 700; margin-bottom: 10px; }
.enum-options-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.enum-options-table th, .enum-options-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.enum-options-table th { color: #d8d9e2; background: rgba(255,255,255,.035); }
.enum-options-table td { color: var(--muted); }
.enum-options-table th:nth-child(1) { width: 190px; }
.enum-options-table th:nth-child(2) { width: 190px; }
code { color: var(--orange-light); background: rgba(0,0,0,.24); padding: 2px 6px; border-radius: 6px; }
.small, .status-unknown { color: var(--muted); font-size: .86rem; }
.search-page { max-width: 760px; }
.search-page input { font-size: 1rem; padding: 15px 17px; }
.search-results { display: grid; gap: 11px; margin-top: 18px; }
.search-result { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.search-result:hover { border-color: rgba(252,132,44,.45); }
.search-result strong { display: block; margin-bottom: 5px; }
.search-result span { color: var(--muted); font-size: .87rem; }
.footer { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); color: #747784; font-size: .84rem; }

/* Documentation */

hr {
  border: none;
  height: 1px;
  background-color: var(--line);
  margin: 32px 0;
}

.doc-item{
    color: white;
}

.doc-critical {
    color: var(--critical);
}
.doc-warning {
    color: var(--warning);
}
.doc-info {
    color: var(--info);
}

/* Forces standard solid dots */
ul {
  list-style-type: disc; 
}

/* Media */

@media (max-width: 900px) {
  :root { --sidebar: 230px; }
  .grid { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card img { display: none; }
}
@media (max-width: 700px) {
  .topbar { padding: 0 16px; }
  .brand img { width: 135px; }
  .hide-mobile { display: none; }
  .shell { display: block; }
  .sidebar { position: static; width: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .content { width: min(calc(100% - 32px), var(--content)); padding-top: 38px; }
  .feature-table th { width: 130px; }
}
@media (max-width: 850px) {
    .tools {grid-template-columns: 1fr;}
    .tool-column + .tool-column {border-left: 0;border-top: 1px solid var(--line);}
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }


/* Product pages */
.product-page {
    width: min(calc(100% - 64px), var(--content));
    margin: 0 auto;
    padding: calc(var(--topbar) + 58px) 0 70px;
    position: relative;
    z-index: 1;
}

.product-hero,
.product-section,
.product-final-cta {
    width: 100%;
    max-width: none;
}

.product-hero {
    margin-bottom: 42px;
}

.product-visual {
    width: 100%;
    min-height: 320px;
    margin: 32px 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    color: var(--muted);
    text-align: center;
}

.product-cta,
.product-final-cta {
    width: 100%;
    margin: 28px 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}

.product-section {
    margin: 42px 0;
}

.product-section h2,
.product-final-cta h2 {
    margin-top: 0;
}

.product-benefit {
    margin-top: 0;
}

.product-count {
    margin-top: 10px;
}

.product-button-disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .product-page {
        width: min(calc(100% - 32px), var(--content));
    }

    .product-visual {
        min-height: 220px;
    }
}


/* Product video hero */

.product-video {
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
}

.product-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/* Product looping preview video */

.product-loop-video {
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    background: #0d0e13;
}

.product-loop-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-demo-video {
    margin-top: 28px;
}

/* Private beta feedback */

.beta-brand { padding-top: 22px; }
.beta-feedback-page { max-width: 980px; padding-top: 34px; }
.beta-feedback-intro { margin-bottom: 28px; }
.beta-feedback-intro h1 { margin: 12px 0 8px; }
.beta-feedback-intro p { max-width: 760px; color: var(--muted); }
.beta-badge {
    display: inline-flex; padding: 6px 10px; border: 1px solid rgba(252,132,44,.5);
    border-radius: 999px; color: var(--orange-light); background: rgba(252,132,44,.1);
    font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.beta-feedback-form { display: grid; gap: 18px; }
.beta-form-card {
    padding: 24px; border: 1px solid var(--line); border-radius: 16px;
    background: var(--panel); backdrop-filter: blur(8px);
}
.beta-form-card h2 { margin: 0 0 18px; font-size: 1.15rem; }
.beta-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.beta-form-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.beta-feedback-form label { display: grid; gap: 8px; margin-bottom: 16px; color: #d8d9e2; font-weight: 700; }
.beta-feedback-form label > span { color: var(--orange-light); }
.beta-feedback-form input,
.beta-feedback-form select,
.beta-feedback-form textarea {
    width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px;
    color: var(--text); background: rgba(5,7,12,.72); font: inherit; font-weight: 400;
}
.beta-feedback-form textarea { resize: vertical; line-height: 1.45; }
.beta-feedback-form input:focus,
.beta-feedback-form select:focus,
.beta-feedback-form textarea:focus {
    outline: 2px solid rgba(252,132,44,.38); border-color: var(--orange);
}
.beta-field-help { margin: -5px 0 8px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.beta-file-row { display: flex; align-items: center; gap: 10px; }
.beta-file-row input[type="file"] { flex: 1 1 auto; min-width: 0; }
.beta-clear-files { flex: 0 0 auto; cursor: pointer; white-space: nowrap; color: var(--text);}
.beta-clear-files[hidden] { display: none !important; }
#upload-confirmation-row[hidden] { display: none !important; }
.beta-conditional[hidden] { display: none; }
.beta-checkbox { grid-template-columns: auto 1fr; align-items: start; }
.beta-checkbox input { width: auto; margin-top: 4px; }
.beta-checkbox span { color: var(--muted) !important; font-weight: 500; }
.beta-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.beta-submit-row { display: flex; flex-wrap: wrap; gap: 12px; }
.beta-submit { border: 0; cursor: pointer; font: inherit; }
.beta-submit:disabled { cursor: wait; opacity: .72; }
.beta-submit-wait {
    display: flex; align-items: center; gap: 12px; width: fit-content;
    padding: 12px 16px; border: 1px solid rgba(252,132,44,.35); border-radius: 12px;
    color: var(--muted); background: rgba(252,132,44,.08); font-weight: 600;
}
.beta-submit-wait[hidden] { display: none; }
.beta-submit-spinner {
    width: 20px; height: 20px; flex: 0 0 20px; border: 3px solid rgba(252,132,44,.25);
    border-top-color: var(--orange); border-radius: 50%; animation: beta-submit-spin .8s linear infinite;
}
@keyframes beta-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .beta-submit-spinner { animation-duration: 1.8s; } }
.beta-signup-section {
    margin-top: 60px;
    padding: 16px;
    border: 1px solid var(--line); border-radius: 16px;
    background: none; backdrop-filter: blur(4px);
}
.beta-signup-section > p { max-width: 720px; color: var(--muted); }
.beta-signup-section .beta-feedback-form { margin-top: 22px; }
.beta-response-page { max-width: 760px; padding-top: 90px; }
.beta-status-success { border-left: 4px solid #62d58a; }
.beta-status-error { border-left: 4px solid var(--critical); }

.newsletter-signup {
    margin-top: 8px;
}


@media (max-width: 760px) {
    .beta-form-grid,
    .beta-form-grid-three { grid-template-columns: 1fr; }
    .beta-form-card { padding: 18px; }
}


/* Free items filters */
.free-items-browser { width: 100%; }
.free-filter-radio { display: none !important; }
.free-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
}
.free-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    user-select: none;
}
.free-filter-button img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: filter .15s ease, opacity .15s ease;
}
.free-filter-button:hover img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(72%) saturate(1794%) hue-rotate(340deg) brightness(100%) contrast(98%);
}
.free-items-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.free-item { min-width: 0; }
.free-item .story-image-col img { width: 100%; display: block; }
@media (max-width: 760px) {
    .free-items-grid { grid-template-columns: 1fr; }
}

/* Product page beta banner CSS-only dismissal, no JavaScript. */
.product-banner-toggle {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.product-banner {
    --product-banner-height: 46px;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    min-height: var(--product-banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 56px 9px 24px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(90deg, rgba(252,132,44,.18), rgba(180,130,205,.16)),
        #11131b;
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.product-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    text-align: center;
    font-size: 13px;
}
.product-banner-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid rgba(180,130,205,.55);
    border-radius: 999px;
    background: rgba(180,130,205,.18);
    color: #e6c8f4;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-banner-text { color: var(--text); }
.product-banner-link {
    color: var(--orange-light);
    font-weight: 700;
    text-decoration: none;
}
.product-banner-link:hover {
    color: var(--orange);
    text-decoration: underline;
}
.product-banner-close {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}
.product-banner-close:hover {
    color: var(--text);
    background: rgba(255,255,255,.08);
}
.product-banner ~ .topbar { top: var(--product-banner-height, 46px); }
.product-banner ~ .product-page {
    padding-top: calc(var(--topbar) + var(--product-banner-height, 46px) + 58px);
}
.product-banner-toggle:checked + .product-banner { display: none; }
.product-banner-toggle:checked ~ .topbar { top: 0; }
.product-banner-toggle:checked ~ .product-page {
    padding-top: calc(var(--topbar) + 58px);
}
@media (max-width: 700px) {
    .product-banner {
        --product-banner-height: 68px;
        justify-content: flex-start;
        padding: 9px 50px 9px 16px;
    }
    .product-banner-content {
        justify-content: flex-start;
        text-align: left;
        gap: 5px 8px;
    }
    .product-banner-close { right: 12px; }
}

/* Product testimonials */
.product-testimonials {
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.testimonial-card {
    position: relative;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    right: 16px;
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1;
    opacity: .35;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text);
    line-height: 1.65;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.testimonial-author strong {
    color: var(--orange-light);
    font-size: 13px;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 12px;
}



/* Homepage contact modal */
.contact-icon-button{appearance:none;border:0;padding:0;margin:0;background:transparent;cursor:pointer;font:inherit}
.contact-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:24px}
.contact-modal.is-open{display:flex}
.contact-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(5px)}
.contact-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:30px;border:1px solid var(--line);border-radius:18px;background:#121319;box-shadow:0 24px 80px rgba(0,0,0,.48)}
.contact-dialog-header h2{margin:8px 0;font-size:clamp(28px,5vw,40px)}
.contact-dialog-header p{margin:0 36px 24px 0;color:var(--muted);line-height:1.6}
.contact-kicker{display:inline-block;padding:4px 9px;border:1px solid #8153a0;border-radius:999px;color:#d7a9f2;font-size:11px;font-weight:800;letter-spacing:.06em}
.contact-close{position:absolute;top:16px;right:18px;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;font-size:25px;line-height:30px}
.contact-close:hover{color:#fff;border-color:var(--orange)}
.contact-form{display:grid;gap:16px}
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form label{display:grid;gap:7px;color:var(--text);font-size:13px;font-weight:600}
.contact-form label>span{color:var(--orange)}
.contact-form input,.contact-form select,.contact-form textarea{box-sizing:border-box;width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 12px;background:#0b0c11;color:#fff;font:inherit;outline:none}
.contact-form textarea{resize:vertical;min-height:145px}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--orange);box-shadow:0 0 0 2px rgba(252,132,44,.12)}
.contact-submit-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:4px}
.contact-submit-row p{margin:0;color:var(--muted);font-size:12px}
.contact-submit-row a{color:var(--orange-light)}
.contact-submit{flex:0 0 auto}
.contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-status{margin:0 0 18px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;color:var(--text);font-size:13px}
.contact-status.is-success{border-color:rgba(70,190,110,.55)}
.contact-status.is-error{border-color:rgba(255,90,90,.55)}
body.contact-modal-open{overflow:hidden}
@media(max-width:640px){.contact-modal{padding:14px}.contact-dialog{padding:24px 18px;max-height:calc(100vh - 28px)}.contact-form-grid{grid-template-columns:1fr}.contact-submit-row{align-items:stretch;flex-direction:column}.contact-submit{width:100%}}


/* Collapsible homepage newsletter */
.newsletter-signup {
    padding: 0;
}

.newsletter-toggle {
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.newsletter-toggle-copy {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.newsletter-title {
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
}

.newsletter-summary {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45;
}

.newsletter-toggle-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(252,132,44,.48);
    border-radius: 10px;
    color: var(--orange);
    font-size: .9rem;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease;
}

.newsletter-toggle:hover .newsletter-toggle-action {
    background: rgba(252,132,44,.08);
    border-color: var(--orange);
}

.newsletter-chevron {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-2px);
    transition: transform .2s ease;
}

.newsletter-toggle[aria-expanded="true"] .newsletter-chevron {
    transform: rotate(180deg) translateY(2px);
}

.newsletter-form-panel {
    padding: 0 22px 22px;
    border-top: 1px solid transparent;
}

.newsletter-form-panel.is-open {
    padding-top: 20px;
    border-top-color: var(--line);
}

@media (max-width: 640px) {
    .newsletter-toggle {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-toggle-action {
        align-self: stretch;
        justify-content: center;
    }
}
