:root {
  --bg:#050713;
  --panel:#0a1022;
  --panel2:#101735;
  --ink:#eef5ff;
  --muted:#aeb9d4;
  --cyan:#49d8ff;
  --cyan2:#17aee7;
  --violet:#8c5bff;
  --magenta:#ff4fd8;
  --gold:#ffcf5a;
  --line:rgba(82,201,255,.28);
  --line2:rgba(162,106,255,.32);
  --ok:#63f2b0;
  --max:1220px;
  --radius:22px;
  --shadow:0 24px 70px rgba(0,0,0,.38);
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:  radial-gradient(circle at 15% -5%,rgba(35,160,255,.13),transparent 30%),  radial-gradient(circle at 85% 5%,rgba(255,50,210,.11),transparent 28%),  linear-gradient(180deg,#050713 0%,#070913 50%,#03050d 100%);
  color:var(--ink);
  line-height:1.6
}
a {
  color:inherit;
  text-decoration:none
}
img {
  max-width:100%;
  display:block
}
button,a {
  transition:.18s ease
}
.site-shell {
  min-height:100vh;
  overflow:hidden
}
.wrap {
  width:min(calc(100% - 36px),var(--max));
  margin-inline:auto
}
.nav {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(4,7,17,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line)
}
.nav-in {
  height:76px;
  display:flex;
  align-items:center;
  gap:18px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-size:.94rem;
  white-space:nowrap
}
.brandmark {
  width:38px;
  height:38px;
  border:1px solid var(--cyan);
  border-radius:11px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,rgba(73,216,255,.16),rgba(140,91,255,.12));
  box-shadow:inset 0 0 22px rgba(73,216,255,.08)
}
.brandmark svg {
  width:25px;
  height:25px
}
.nav-links {
  margin-left:auto;
  display:flex;
  gap:6px;
  align-items:center
}
.nav-links a {
  padding:9px 11px;
  border-radius:10px;
  color:#cbd5ef;
  font-size:.88rem;
  font-weight:700
}
.nav-links a:hover {
  background:#111a36;
  color:#fff
}
.nav-shop {
  border:1px solid var(--cyan)!important;
  color:var(--cyan)!important
}
.menu-btn {
  display:none;
  margin-left:auto;
  background:none;
  color:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 11px;
  font-size:1.1rem
}
.hero {
  padding:86px 0 58px;
  position:relative
}
.hero:before {
  content:"";
  position:absolute;
  inset:-40px -10vw auto;
  height:480px;
  background:radial-gradient(ellipse at center,rgba(57,81,255,.13),transparent 64%);
  pointer-events:none
}
.hero-grid {
  position:relative;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:50px;
  align-items:center
}
.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--cyan);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase
}
.eyebrow:before {
  content:"";
  width:28px;
  height:1px;
  background:var(--cyan)
}
h1 {
  font-size:clamp(2.7rem,6vw,5.8rem);
  line-height:.94;
  letter-spacing:-.055em;
  margin:18px 0 24px
}
.gradient {
  background:linear-gradient(90deg,#fff 0%,#7fe8ff 35%,#a779ff 67%,#ff6bdc 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}
.lead {
  font-size:clamp(1.05rem,1.5vw,1.28rem);
  color:#c1cbe2;
  max-width:680px
}
.cta-row {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0c1329;
  font-weight:850;
  font-size:.9rem
}
.btn:hover {
  transform:translateY(-1px);
  border-color:var(--cyan);
  background:#111c38
}
.btn.primary {
  background:linear-gradient(135deg,#18bde9,#755cff 57%,#dd4fc4);
  border-color:transparent;
  color:white;
  box-shadow:0 12px 36px rgba(66,128,255,.2)
}
.btn.gold {
  border-color:rgba(255,207,90,.55);
  color:var(--gold)
}
.hero-visual {
  position:relative
}
.frame {
  padding:8px;
  border:1px solid rgba(96,190,255,.48);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(73,216,255,.08),rgba(140,91,255,.06));
  box-shadow:var(--shadow)
}
.frame img {
  border-radius:13px;
  width:100%;
  height:auto
}
.hero-badge {
  position:absolute;
  right:-18px;
  bottom:-22px;
  padding:14px 16px;
  border-radius:15px;
  background:rgba(9,14,31,.93);
  border:1px solid rgba(255,79,216,.55);
  box-shadow:var(--shadow)
}
.hero-badge b {
  display:block;
  font-size:1.05rem;
  color:#fff
}
.hero-badge span {
  font-size:.75rem;
  color:#b8c1d9
}
.stat-strip {
  padding:18px 0 68px
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:rgba(8,12,26,.72)
}
.stat {
  padding:22px 24px;
  border-right:1px solid var(--line)
}
.stat:last-child {
  border:0
}
.stat strong {
  display:block;
  font-size:1.5rem;
  letter-spacing:-.025em;
  color:#fff
}
.stat span {
  color:var(--muted);
  font-size:.82rem
}
section {
  padding:72px 0
}
.section-head {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:30px
}
.section-head h2 {
  font-size:clamp(2rem,4vw,3.4rem);
  letter-spacing:-.045em;
  line-height:1;
  margin:0
}
.section-head p {
  max-width:600px;
  color:var(--muted);
  margin:0
}

.section-head > div > p {
  margin-top:14px;
}
.kicker {
  color:var(--magenta);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
  margin-bottom:10px
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.product-card {
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,rgba(14,22,46,.94),rgba(7,11,24,.94));
  border:1px solid rgba(88,159,255,.24);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 15px 45px rgba(0,0,0,.16)
}
.product-card:hover {
  transform:translateY(-3px);
  border-color:rgba(73,216,255,.55)
}
.card-image {
  aspect-ratio:16/10;
  overflow:hidden;
  background:#050713
}
.card-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}
.card-body {
  padding:21px 21px 19px;
  display:flex;
  flex-direction:column;
  flex:1
}
.card-top {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:start
}
.card-body h3 {
  font-size:1.32rem;
  margin:0 0 5px
}
.price {
  font-weight:900;
  color:var(--cyan);
  white-space:nowrap
}
.free {
  color:var(--ok)
}
.card-body p {
  color:var(--muted);
  font-size:.92rem;
  margin:8px 0 18px
}
.tag-row {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:auto
}
.tag {
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(126,144,190,.25);
  color:#c7d1eb
}
.card-actions {
  display:flex;
  gap:8px;
  margin-top:18px
}
.card-actions .btn {
  min-height:40px;
  padding:0 12px;
  font-size:.8rem
}
.feature-split {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:28px;
  align-items:start
}
.panel {
  border:1px solid var(--line);
  background:rgba(9,14,30,.76);
  border-radius:20px;
  padding:26px
}
.panel h3 {
  margin:0 0 10px;
  font-size:1.3rem
}
.panel p {
  color:var(--muted)
}
.feature-list {
  display:grid;
  gap:10px;
  padding:0;
  margin:22px 0 0;
  list-style:none
}
.feature-list li {
  padding:12px 14px 12px 42px;
  border-radius:12px;
  background:rgba(14,24,49,.62);
  position:relative;
  color:#dce5fa
}
.feature-list li:before {
  content:"✦";
  position:absolute;
  left:15px;
  color:var(--cyan)
}
.gallery {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px
}
.gallery figure {
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#050713
}
.gallery img {
  width:100%
}
.gallery figcaption {
  font-size:.78rem;
  color:var(--muted);
  padding:10px 12px;
  border-top:1px solid var(--line)
}
.standalone-shot {
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#050713
}
.standalone-shot img {
  width:100%
}
.standalone-shot figcaption {
  font-size:.78rem;
  color:var(--muted);
  padding:10px 12px;
  border-top:1px solid var(--line)
}
.tech {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}
.tech-card {
  padding:20px;
  border:1px solid var(--line2);
  background:linear-gradient(180deg,rgba(25,17,54,.56),rgba(7,10,23,.9));
  border-radius:16px
}
.tech-card strong {
  display:block;
  font-size:1.7rem;
  color:#fff;
  letter-spacing:-.035em;
  line-height:1.05
}
.tech-card span {
  font-size:.78rem;
  color:var(--muted)
}
.tech-card.pink strong {
  color:#ff75df
}
.tech-card.cyan strong {
  color:#6ee4ff
}
.tech-card.gold strong {
  color:#ffd36b
}
.quote {
  font-size:clamp(1.45rem,3vw,2.5rem);
  line-height:1.25;
  letter-spacing:-.03em;
  padding:35px;
  border-left:3px solid var(--magenta);
  background:linear-gradient(90deg,rgba(255,79,216,.08),transparent 70%);
  border-radius:0 18px 18px 0
}
.quote small {
  display:block;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-top:18px
}
.quote-slider {
  position:relative;
  border:1px solid rgba(255,79,216,.25);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(16,9,34,.72),rgba(5,7,19,.8));
  padding:20px 20px 18px
}
.quote-slide {
  display:none
}
.quote-slide.is-active {
  display:block
}
.quote-slider .quote {
  margin:0
}
.slider-dots {
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:18px
}
.slider-dot {
  width:11px;
  height:11px;
  border-radius:50%;
  border:0;
  background:rgba(170,184,223,.28);
  padding:0;
  cursor:pointer
}
.slider-dot.is-active {
  background:linear-gradient(135deg,var(--cyan),var(--magenta));
  box-shadow:0 0 0 3px rgba(92,166,255,.12)
}
.price-band {
  padding:58px 0
}
.price-box {
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  border:1px solid rgba(73,216,255,.45);
  border-radius:24px;
  background:linear-gradient(115deg,rgba(18,51,83,.5),rgba(34,20,66,.5),rgba(72,16,58,.38));
  padding:32px
}
.price-box h2 {
  margin:0 0 6px;
  font-size:2rem
}
.price-box p {
  margin:0;
  color:var(--muted)
}
.big-price {
  font-size:2rem;
  font-weight:950;
  color:#fff;
  display:block;
  text-align:right
}
.big-price small {
  font-size:.7rem;
  color:var(--muted);
  font-weight:700
}
.spec-table {
  width:100%;
  border-collapse:collapse;
  font-size:.92rem
}
.spec-table td {
  padding:12px 10px;
  border-bottom:1px solid rgba(124,144,195,.16)
}
.spec-table td:first-child {
  color:var(--muted);
  width:42%
}
.spec-table td:last-child {
  font-weight:750;
  color:#eef5ff
}
.fine {
  font-size:.77rem;
  color:#7f8aa6
}
.bundle {
  border-color:rgba(255,207,90,.34)
}
.about-grid .panel:first-child {
  display:flex;
  align-items:stretch
}
.about-panel h3 {
  font-size:1.45rem
}
.zoomable {
  cursor:zoom-in
}
.zoomable:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:4px;
  border-radius:8px
}
.lightbox {
  position:fixed;
  inset:0;
  z-index:120;
  display:none
}
.lightbox.open {
  display:block
}
.lightbox-backdrop {
  position:absolute;
  inset:0;
  background:rgba(2,4,11,.9);
  backdrop-filter:blur(10px)
}
.lightbox-dialog {
  position:relative;
  z-index:1;
  max-width:min(92vw,1400px);
  max-height:92vh;
  margin:4vh auto;
  background:rgba(6,9,20,.94);
  border:1px solid rgba(97,182,255,.32);
  border-radius:22px;
  padding:18px;
  box-shadow:0 25px 80px rgba(0,0,0,.55)
}
.lightbox-image {
  max-width:100%;
  max-height:calc(92vh - 100px);
  width:auto;
  height:auto;
  margin:0 auto;
  border-radius:14px
}
.lightbox-caption {
  padding:14px 6px 4px;
  color:#d6def4;
  text-align:center;
  font-size:.92rem
}
.lightbox-close {
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0d1731;
  color:#fff;
  font-size:1.75rem;
  line-height:1;
  cursor:pointer
}

/* Click-to-open XenoCricket screenshot gallery. */
.cricket-gallery-preview {
  margin:24px 0 0;
}
.cricket-gallery-preview img {
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
}
.cricket-gallery-preview figcaption {
  margin-top:10px;
  color:var(--muted, #d6def4);
  font-size:.9rem;
}
.lightbox-gallery-controls:not([hidden]) {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}
.lightbox-dialog:has(.lightbox-gallery-controls:not([hidden])) {
  overflow:auto;
}
.lightbox-dialog:has(.lightbox-gallery-controls:not([hidden])) .lightbox-image {
  display:block;
  max-height:calc(92vh - 180px);
  object-fit:contain;
}

/* --------------------------------------------------------------------------
   Product screenshot slideshows
   Used on XenoComb and XenoRing detail pages.
   -------------------------------------------------------------------------- */
.product-slideshow {
  position:relative;
  overflow:hidden
}
.product-slide {
  display:none;
  margin:0
}
.product-slide.is-active {
  display:block
}
.product-slide img {
  width:100%;
  height:auto
}
.product-slide figcaption {
  padding:10px 12px 2px;
  color:var(--muted);
  font-size:.78rem;
  text-align:center
}
.product-slider-dots {
  display:flex;
  justify-content:center;
  gap:9px;
  padding:14px 0 4px
}
.product-slider-dot {
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:50%;
  cursor:pointer;
  background:rgba(170,184,223,.30)
}
.product-slider-dot:hover {
  background:rgba(170,184,223,.62)
}
.product-slider-dot.is-active {
  background:linear-gradient(135deg,var(--cyan),var(--magenta));
  box-shadow:0 0 0 3px rgba(92,166,255,.12)
}

footer {
  padding:44px 0 56px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.84rem
}
.foot {
  display:grid;
  grid-template-columns:1fr auto;
  gap:25px;
  align-items:center
}
.foot-links {
  display:flex;
  gap:16px;
  flex-wrap:wrap
}
.foot-links a:hover {
  color:var(--cyan)
}
.product-hero {
  padding:64px 0 40px
}
.product-hero-grid {
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:42px;
  align-items:center
}
.product-hero h1 {
  font-size:clamp(2.7rem,6vw,5.1rem);
  margin-bottom:18px
}
.product-hero .price-line {
  font-size:1.35rem;
  font-weight:900;
  color:var(--cyan);
  margin-top:20px
}
.mini-nav {
  padding-top:22px;
  color:var(--muted);
  font-size:.8rem
}
.mini-nav a:hover {
  color:white
}
.notice {
  padding:12px 15px;
  border:1px solid rgba(255,207,90,.35);
  border-radius:12px;
  background:rgba(255,207,90,.06);
  font-size:.85rem;
  color:#e9d9a7
}
.accent-gold .gradient {
  background:linear-gradient(90deg,#fff,#ffd767,#ffb73c);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}
.accent-green .gradient {
  background:linear-gradient(90deg,#fff,#dfff72,#8ddb1b);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}
@media(max-width:980px) {
  .nav-links {
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    padding:12px 18px 18px;
    background:#070b18;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:stretch
  }
  .nav-links.open {
    display:flex
  }
  .menu-btn {
    display:block
  }
  .hero-grid,.product-hero-grid,.feature-split {
    grid-template-columns:1fr
  }
  .hero-visual {
    max-width:780px
  }
  .product-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .stat-grid,.tech {
    grid-template-columns:repeat(2,1fr)
  }
  .stat:nth-child(2) {
    border-right:0
  }
  .stat:nth-child(-n+2) {
    border-bottom:1px solid var(--line)
  }
  .gallery {
    grid-template-columns:1fr
  }
  .hero-badge {
    right:10px
  }
}
@media(max-width:640px) {
  .wrap {
    width:min(calc(100% - 22px),var(--max))
  }
  .brand {
    font-size:.78rem
  }
  .hero {
    padding-top:58px
  }
  .product-grid,.stat-grid,.tech {
    grid-template-columns:1fr
  }
  .stat {
    border-right:0!important;
    border-bottom:1px solid var(--line)!important
  }
  .stat:last-child {
    border-bottom:0!important
  }
  .section-head {
    display:block
  }
  .section-head p {
    margin-top:15px
  }
  .price-box {
    grid-template-columns:1fr
  }
  .big-price {
    text-align:left
  }
  .foot {
    grid-template-columns:1fr
  }
  .product-hero {
    padding-top:42px
  }
  .panel {
    padding:20px
  }
  .hero-badge {
    position:relative;
    right:auto;
    bottom:auto;
    margin-top:10px;
    display:inline-block
  }
  .lightbox-dialog {
    padding:14px
  }
  .quote-slider {
    padding:14px
  }
}
/* ===== Downloads / Contact / general content pages ===== */
.page-hero {
  padding: 64px 0 20px;
}

.compact-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 18px;
}

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

.download-card {
  border: 1px solid var(--line);
  background: rgba(9, 14, 30, .76);
  border-radius: 18px;
  padding: 22px;
}

.download-card h3 {
  margin: 0 0 4px;
}

.download-card p {
  color: var(--muted);
  min-height: 3.1em;
}

.download-card code,
.section-head code {
  color: var(--cyan);
}

/* XenoSift 24-effect catalogue */
.effect-catalogue-heading {
  display: block;
}

.effect-catalogue-heading > div {
  max-width: 760px;
}

.effect-catalogue-heading p {
  margin-top: 14px;
}

.effect-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.effect-name {
  padding: 12px 14px;
  border: 1px solid rgba(82, 201, 255, .22);
  border-radius: 12px;
  background: rgba(14, 24, 49, .62);
  color: #dce5fa;
  font-size: .88rem;
  font-weight: 750;
}

/* Conventional contact form layout */
.contact-section {
  padding-top: 30px;
}

.contact-stack {
  max-width: 940px;
}

.contact-form-card {
  padding: 32px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #dbe5fa;
  font-size: .86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(82, 201, 255, .34);
  border-radius: 11px;
  background: #070d1e;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 240px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(73, 216, 255, .28);
  border-color: var(--cyan);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.submit-btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-bottom: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

.form-status.success {
  color: var(--ok);
  border-color: rgba(99, 242, 176, .35);
  background: rgba(99, 242, 176, .06);
}

.form-status.error {
  color: #ff9cae;
  border-color: rgba(255, 105, 135, .35);
  background: rgba(255, 105, 135, .06);
}

.contact-aside {
  margin-top: 20px;
}

.contact-aside strong {
  color: #fff;
}

@media(max-width: 980px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .effect-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 640px) {
  .download-grid,
  .effect-list-grid,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 22px;
  }
}

/* ========================================================================== */
/* XenoSift Randomisation Settings comparison                                */
/* ========================================================================== */
.random-settings-split {
  align-items: stretch;
}

.random-settings-split > .panel {
  height: 100%;
}

.random-settings-visual {
  display: flex;
}

.random-settings-visual .standalone-shot {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
}

.random-settings-visual .standalone-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #050713;
}

/* ========================================================================== */
/* Reorderable XenoSift effect catalogue                                      */
/* ========================================================================== */
.effect-drag-hint {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: .86rem;
}

.effect-name {
  position: relative;
  cursor: grab;
  user-select: none;
  transition:
    transform .14s ease,
    border-color .14s ease,
    background .14s ease,
    opacity .14s ease;
}

.effect-name::after {
  content: attr(data-slot);
  position: absolute;
  top: 7px;
  right: 9px;
  color: rgba(201, 216, 245, .36);
  font-size: .64rem;
  font-weight: 850;
}

.effect-name.is-active-slot {
  border-color: rgba(73, 216, 255, .55);
  background: linear-gradient(
    135deg,
    rgba(31, 101, 143, .34),
    rgba(80, 55, 143, .30)
  );
  box-shadow: inset 0 0 20px rgba(73, 216, 255, .045);
}

.effect-name.is-active-slot::before {
  content: "PATCH";
  display: inline-block;
  margin-right: 8px;
  color: var(--cyan);
  font-size: .58rem;
  font-weight: 950;
  letter-spacing: .09em;
}

.effect-name.is-dragging {
  cursor: grabbing;
  opacity: .38;
  transform: scale(.97);
  border-color: var(--magenta);
}

.effect-list-grid.is-reordering .effect-name:not(.is-dragging) {
  transition: transform .10s ease;
}

/* ========================================================================== */
/* Standalone About page                                                      */
/* ========================================================================== */
.about-hero .lead {
  max-width: 820px;
}

.about-page-grid {
  align-items: stretch;
}

.about-quote-panel {
  display: flex;
  align-items: stretch;
}

.about-quote-panel .quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.about-section-title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-value-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.2rem;
}

.about-value-card p {
  margin: 0;
}

.enshittocene-panel {
  padding: 38px;
  border: 1px solid rgba(255, 79, 216, .30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 79, 216, .10), transparent 32%),
    linear-gradient(135deg, rgba(16, 13, 39, .92), rgba(7, 11, 24, .94));
}

.enshittocene-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.enshittocene-panel p {
  max-width: 1000px;
  color: #c7d1e8;
}

.enshittocene-panel strong {
  color: var(--magenta);
}

@media(max-width: 760px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .enshittocene-panel {
    padding: 24px;
  }
}

/* ========================================================================== */
/* WEBSITE B — ALTERNATE XENODIMENSIONAL VISUAL SYSTEM                       */
/*                                                                            */
/* This section intentionally overrides Website A's base styling while        */
/* preserving the existing readable HTML structure and functionality.         */
/* ========================================================================== */

:root {
  --bg: #05030b;
  --panel: #100b1c;
  --panel2: #171027;
  --ink: #f8f3ff;
  --muted: #c3b8d5;
  --cyan: #67e7ff;
  --cyan2: #35b9e9;
  --violet: #8d63ff;
  --magenta: #ff5ccf;
  --gold: #ffbb72;
  --line: rgba(119, 211, 255, 0.34);
  --line2: rgba(255, 92, 207, 0.30);
  --ok: #6df1c2;
  --max: 1320px;
  --radius: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.54);
  --metal-border: rgba(219, 204, 255, 0.18);
  --warm-glow: rgba(255, 134, 107, 0.18);
  --cold-glow: rgba(82, 209, 255, 0.18);
}

html {
  background: #030207;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(82, 209, 255, 0.12), transparent 25%),
    radial-gradient(circle at 83% 11%, rgba(255, 83, 183, 0.12), transparent 27%),
    radial-gradient(circle at 50% 44%, rgba(103, 55, 176, 0.10), transparent 38%),
    linear-gradient(180deg, #07030d 0%, #05030a 38%, #020205 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.60), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, rgba(122, 205, 255, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 31%, rgba(255, 124, 207, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 72%, rgba(255, 187, 114, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 61%, rgba(161, 119, 255, 0.24) 0 1px, transparent 2px);
  background-size: 210px 210px, 260px 260px, 330px 330px, 290px 290px;
}

.site-shell {
  overflow: clip;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */

.nav {
  background:
    linear-gradient(180deg, rgba(18, 11, 29, 0.96), rgba(5, 3, 10, 0.94));
  border-bottom: 1px solid rgba(128, 218, 255, 0.34);
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.34),
    inset 0 -1px 0 rgba(255, 89, 207, 0.16);
  backdrop-filter: blur(20px) saturate(1.2);
}

.nav-in {
  height: 88px;
}

.brand-b {
  flex: 0 0 auto;
  width: min(310px, 31vw);
  padding: 0;
}

.brand-wordmark {
  width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(101, 215, 255, 0.18));
}

.nav-links {
  gap: 3px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: 6px;
  color: #d9cee8;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--gold));
  transition: transform 0.18s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-shop {
  border: 1px solid rgba(255, 122, 204, 0.46) !important;
  color: #ffeafa !important;
  background: linear-gradient(135deg, rgba(86, 215, 255, 0.10), rgba(255, 84, 194, 0.12));
  box-shadow: inset 0 0 18px rgba(124, 78, 255, 0.08);
}

.menu-btn {
  border-color: rgba(121, 220, 255, 0.38);
  background: rgba(18, 11, 29, 0.92);
}

/* -------------------------------------------------------------------------- */
/* Homepage masthead                                                          */
/* -------------------------------------------------------------------------- */

.website-b-hero {
  position: relative;
  padding: 68px 0 76px;
  isolation: isolate;
}

.website-b-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(109, 80, 197, 0.20), transparent 56%),
    radial-gradient(ellipse at 74% 48%, rgba(255, 99, 181, 0.12), transparent 38%),
    radial-gradient(ellipse at 24% 50%, rgba(65, 202, 255, 0.12), transparent 36%);
}

.hero-sigil-watermark {
  position: absolute;
  z-index: -1;
  width: 660px;
  height: 660px;
  left: 50%;
  top: -78px;
  transform: translateX(-50%);
  opacity: 0.11;
  background: url("brand/xenodimensional-mark-transparent.png") center / contain no-repeat;
  filter: saturate(1.2) drop-shadow(0 0 40px rgba(105, 215, 255, 0.25));
  pointer-events: none;
}

.hero-brand-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.hero-brand-wordmark {
  width: min(820px, 84vw);
  max-height: 142px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 15px rgba(73, 211, 255, 0.18))
    drop-shadow(0 0 30px rgba(255, 77, 189, 0.10));
}

.website-b-hero .hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
}

.website-b-hero .hero-copy {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--metal-border);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(30, 20, 43, 0.88), rgba(9, 6, 16, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -20px 50px rgba(0, 0, 0, 0.16),
    0 28px 70px rgba(0, 0, 0, 0.32);
}

.website-b-hero .hero-copy::before,
.website-b-hero .hero-copy::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 2px;
  top: 12px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta));
  opacity: 0.75;
}

.website-b-hero .hero-copy::before {
  left: 20px;
}

.website-b-hero .hero-copy::after {
  right: 20px;
  transform: scaleX(-1);
}

.hero h1,
.product-hero h1,
.page-hero h1,
.section-head h2,
.about-section-title {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -0.045em;
  margin-top: 12px;
}

.gradient {
  background: linear-gradient(90deg, #fef8ff 0%, #95eaff 28%, #b799ff 56%, #ff82cd 78%, #ffc582 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow,
.kicker {
  color: #8be9ff;
  letter-spacing: 0.19em;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(132, 218, 255, 0.44);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(91, 211, 255, 0.10), rgba(255, 96, 201, 0.08)),
    #090611;
  box-shadow:
    0 32px 85px rgba(0, 0, 0, 0.54),
    0 0 42px rgba(91, 202, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid rgba(255, 101, 204, 0.14);
  border-radius: 10px;
}

.frame img {
  border-radius: 8px;
}

.hero-badge {
  right: 18px;
  bottom: -24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 126, 206, 0.42);
  background:
    linear-gradient(145deg, rgba(40, 24, 58, 0.96), rgba(7, 5, 12, 0.97));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

/* -------------------------------------------------------------------------- */
/* Panels, cards and sections                                                 */
/* -------------------------------------------------------------------------- */

section {
  position: relative;
}

section:not(.hero):not(.product-hero):not(.page-hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(103, 231, 255, 0.18), rgba(255, 92, 207, 0.15), transparent);
}

.stat-grid,
.panel,
.product-card,
.tech-card,
.price-box,
.quote-slider,
.contact-form-card,
.download-card,
.enshittocene-panel {
  border-radius: 12px;
  border-color: var(--metal-border);
  background:
    linear-gradient(155deg, rgba(27, 18, 39, 0.92), rgba(7, 5, 12, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -18px 40px rgba(0, 0, 0, 0.12),
    0 20px 58px rgba(0, 0, 0, 0.24);
}

.panel,
.product-card,
.tech-card,
.download-card,
.contact-form-card {
  position: relative;
}

.panel::after,
.product-card::after,
.tech-card::after,
.download-card::after,
.contact-form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(111, 223, 255, 0.045), transparent 28%, transparent 70%, rgba(255, 102, 194, 0.04));
}

.stat-grid {
  border: 1px solid rgba(167, 143, 205, 0.20);
  overflow: hidden;
}

.stat {
  border-color: rgba(185, 169, 215, 0.12);
}

.stat strong {
  color: #fff9ff;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
}

.section-head {
  align-items: center;
}

.section-head h2 {
  color: #fff9ff;
}

.product-grid {
  gap: 24px;
}

.product-card {
  border: 1px solid rgba(137, 180, 216, 0.23);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 225, 255, 0.50);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 91, 202, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-image {
  position: relative;
  background: #05030a;
  border-bottom: 1px solid rgba(154, 200, 233, 0.18);
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    linear-gradient(0deg, rgba(7, 4, 12, 0.28), transparent 30%);
}

.card-image img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

.product-card:hover .card-image img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.03);
}

.card-body {
  padding: 24px 24px 22px;
}

.card-body h3 {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.42rem;
  letter-spacing: -0.015em;
}

.price,
.price-line {
  color: #9cecff;
  text-shadow: 0 0 18px rgba(74, 208, 255, 0.18);
}

.tag {
  border-color: rgba(199, 178, 229, 0.22);
  background: rgba(255, 255, 255, 0.025);
  color: #d9cde9;
}

.btn {
  border-radius: 7px;
  border-color: rgba(153, 188, 220, 0.26);
  background:
    linear-gradient(180deg, rgba(32, 24, 45, 0.92), rgba(11, 8, 17, 0.96));
  color: #f4edff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn:hover {
  border-color: rgba(109, 225, 255, 0.54);
  background:
    linear-gradient(180deg, rgba(40, 30, 57, 0.98), rgba(13, 9, 20, 0.98));
}

.btn.primary {
  border: 1px solid rgba(255, 163, 214, 0.24);
  background:
    linear-gradient(135deg, rgba(48, 187, 229, 0.94), rgba(114, 74, 220, 0.96) 53%, rgba(216, 65, 171, 0.96));
  box-shadow:
    0 12px 34px rgba(87, 93, 236, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.gold {
  color: #ffd8a1;
  border-color: rgba(255, 187, 114, 0.44);
}

/* -------------------------------------------------------------------------- */
/* Product and inner-page heroes                                              */
/* -------------------------------------------------------------------------- */

.product-hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.product-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(86, 205, 255, 0.11), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(255, 82, 192, 0.10), transparent 32%);
}

.product-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  right: 5vw;
  top: -105px;
  opacity: 0.055;
  background: url("brand/xenodimensional-mark-transparent.png") center / contain no-repeat;
  pointer-events: none;
}

.mini-nav {
  color: #9485ac;
}

.product-hero-grid > div:first-child,
.page-hero .wrap {
  position: relative;
}

.product-hero h1,
.page-hero h1 {
  text-shadow: 0 0 36px rgba(103, 222, 255, 0.06);
}

/* -------------------------------------------------------------------------- */
/* Galleries, slideshows and images                                           */
/* -------------------------------------------------------------------------- */

.gallery figure,
.standalone-shot,
.product-slideshow {
  border-radius: 12px;
  border-color: rgba(132, 202, 235, 0.26);
  background: #06040b;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
}

.gallery figcaption,
.standalone-shot figcaption {
  background: rgba(12, 8, 19, 0.98);
  color: #c9bdd9;
}

.product-slider-dot,
.slider-dot {
  border-radius: 50%;
  background: rgba(210, 194, 227, 0.20);
}

.product-slider-dot.is-active,
.slider-dot.is-active {
  background: linear-gradient(135deg, #6ee9ff, #a77aff, #ff72c9);
  box-shadow: 0 0 0 3px rgba(125, 108, 255, 0.11), 0 0 18px rgba(255, 86, 199, 0.17);
}

/* -------------------------------------------------------------------------- */
/* XenoSift technical/effect areas                                            */
/* -------------------------------------------------------------------------- */

.effect-name {
  border-radius: 7px;
  border-color: rgba(169, 145, 199, 0.20);
  background: linear-gradient(180deg, rgba(27, 20, 38, 0.88), rgba(9, 6, 14, 0.94));
}

.effect-name.is-active-slot {
  border-color: rgba(101, 226, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(54, 194, 226, 0.13), rgba(157, 86, 230, 0.12)),
    rgba(12, 8, 19, 0.95);
  box-shadow: inset 0 0 24px rgba(91, 211, 255, 0.04);
}

.random-settings-visual {
  background: #05030a;
}

/* -------------------------------------------------------------------------- */
/* Forms and downloads                                                        */
/* -------------------------------------------------------------------------- */

.form-field label,
.field label {
  color: #e1d8ec;
}

.form-field input,
.form-field select,
.form-field textarea,
.field input,
.field select,
.field textarea {
  border-radius: 6px;
  border: 1px solid rgba(158, 188, 218, 0.30);
  background: rgba(5, 3, 10, 0.92);
  color: #f7f2ff;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.25);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(99, 226, 255, 0.70);
  outline: none;
  box-shadow: 0 0 0 3px rgba(85, 202, 255, 0.08);
}

/* -------------------------------------------------------------------------- */
/* About / quote treatment                                                    */
/* -------------------------------------------------------------------------- */

.quote {
  border-left-color: var(--magenta);
  background:
    linear-gradient(90deg, rgba(255, 82, 191, 0.08), rgba(94, 202, 255, 0.025) 66%, transparent);
}

.enshittocene-panel {
  border: 1px solid rgba(255, 177, 113, 0.22);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 167, 103, 0.08), transparent 28%),
    linear-gradient(155deg, rgba(28, 18, 37, 0.94), rgba(7, 5, 12, 0.97));
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

footer {
  position: relative;
  border-top: 1px solid rgba(129, 211, 244, 0.18);
  background:
    linear-gradient(180deg, rgba(7, 4, 12, 0.30), rgba(3, 2, 6, 0.88));
}

footer::before {
  content: "";
  position: absolute;
  width: 125px;
  height: 125px;
  left: 50%;
  top: -62px;
  transform: translateX(-50%);
  opacity: 0.055;
  background: url("brand/xenodimensional-mark-transparent.png") center / contain no-repeat;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .brand-b {
    width: min(250px, 33vw);
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.76rem;
  }
}

@media (max-width: 980px) {
  .nav-in {
    height: 82px;
  }

  .brand-b {
    width: 270px;
    max-width: calc(100vw - 100px);
  }

  .brand-wordmark {
    height: 40px;
  }

  .nav-links {
    top: 82px;
    background: rgba(7, 4, 13, 0.98);
    border-bottom-color: rgba(109, 218, 255, 0.26);
  }

  .hero-sigil-watermark {
    width: 520px;
    height: 520px;
  }
}

@media (max-width: 640px) {
  .website-b-hero {
    padding-top: 42px;
  }

  .hero-brand-wordmark {
    width: 94vw;
  }

  .website-b-hero .hero-copy {
    padding: 26px 22px;
  }

  .hero-sigil-watermark {
    width: 390px;
    height: 390px;
    top: -15px;
  }
}

/* WEBSITE B REFINEMENT — 2026-09-14C */
/*
   This block contains the second-pass Website B changes:
   - larger navigation wordmark
   - sans-serif headings and safer line heights
   - tighter section spacing
   - linked homepage product images
   - general product-page hero slideshows
   - redesigned About legal callout
   - collapsible Legal page
*/

/* -------------------------------------------------------------------------- */
/* Navigation wordmark                                                        */
/* -------------------------------------------------------------------------- */

.nav-in {
  height: 100px;
}

.brand-b {
  width: min(390px, 35vw);
}

.brand-wordmark {
  height: 62px;
}

/* -------------------------------------------------------------------------- */
/* Heading typography and clipping protection                                 */
/* -------------------------------------------------------------------------- */

h1,
h2,
h3,
.hero h1,
.product-hero h1,
.page-hero h1,
.section-head h2,
.about-section-title,
.card-body h3,
.stat strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
.hero h1,
.product-hero h1,
.page-hero h1 {
  line-height: 1.06;
  letter-spacing: -0.045em;
  overflow: visible;
  padding-top: 0.03em;
  padding-bottom: 0.10em;
}

h2,
.section-head h2,
.about-section-title {
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow: visible;
  padding-bottom: 0.04em;
}

.gradient {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* -------------------------------------------------------------------------- */
/* Tighter global vertical rhythm                                             */
/* -------------------------------------------------------------------------- */

.site-shell main section {
  padding-top: 36px;
  padding-bottom: 36px;
}

.website-b-hero {
  padding-top: 42px;
  padding-bottom: 44px;
}

.product-hero {
  padding-top: 34px;
  padding-bottom: 28px;
}

.page-hero {
  padding-top: 34px;
  padding-bottom: 30px;
}

.stat-strip {
  padding-top: 10px;
  padding-bottom: 34px;
}

.section-head {
  margin-bottom: 22px;
}

.price-band {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

footer {
  padding-top: 34px;
  padding-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
/* Homepage product-card image links                                          */
/* -------------------------------------------------------------------------- */

.card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.card-image-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -4px;
}

.card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------------------------- */
/* Product-page hero slideshows                                               */
/* -------------------------------------------------------------------------- */

.hero-product-slideshow {
  border: 1px solid rgba(132, 218, 255, 0.44);
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(91, 211, 255, 0.10), rgba(255, 96, 201, 0.08)),
    #090611;
}

.hero-product-slideshow .product-slide {
  background: #05030a;
  border-radius: 8px;
  overflow: hidden;
}

.hero-product-slideshow .product-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #05030a;
}

.hero-product-slideshow .product-slide figcaption {
  min-height: 38px;
  padding: 9px 12px 6px;
  background: rgba(12, 8, 19, 0.98);
}

/* -------------------------------------------------------------------------- */
/* About-page legal link                                                      */
/* -------------------------------------------------------------------------- */

.legal-link-card,
.legal-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(137, 180, 216, 0.23);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 30%, rgba(83, 211, 255, 0.07), transparent 27%),
    linear-gradient(155deg, rgba(27, 18, 39, 0.92), rgba(7, 5, 12, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 58px rgba(0, 0, 0, 0.24);
}

.legal-link-card h2,
.legal-contact-card h2 {
  margin: 0 0 8px;
}

.legal-link-card p,
.legal-contact-card p {
  margin: 0;
  color: var(--muted);
}

/* -------------------------------------------------------------------------- */
/* Legal-page accordions                                                      */
/* -------------------------------------------------------------------------- */

.legal-hero .lead {
  max-width: 820px;
}

.legal-meta {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(157, 185, 218, 0.22);
  border-radius: 7px;
  color: #aa9fba;
  background: rgba(8, 5, 13, 0.60);
  font-size: 0.80rem;
}

.legal-accordion-list {
  display: grid;
  gap: 14px;
}

.legal-accordion {
  border: 1px solid rgba(137, 180, 216, 0.23);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(27, 18, 39, 0.94), rgba(7, 5, 12, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 42px rgba(0, 0, 0, 0.20);
}

.legal-accordion summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 22px 62px 22px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.legal-accordion summary::-webkit-details-marker {
  display: none;
}

.legal-accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.legal-accordion[open] summary::after {
  content: "−";
}

.legal-accordion[open] summary {
  border-bottom: 1px solid rgba(130, 205, 238, 0.16);
  background: rgba(108, 80, 165, 0.06);
}

.legal-summary-title {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
}

.legal-summary-desc {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.legal-content {
  padding: 6px 26px 26px;
  max-width: 1040px;
}

.legal-content h3 {
  margin: 26px 0 10px;
  color: #a6ebff;
  font-size: 1.03rem;
  letter-spacing: 0;
}

.legal-content p {
  margin: 0 0 12px;
  color: #d2c7df;
}

.legal-content ul {
  margin: 8px 0 18px;
  padding-left: 1.35rem;
  color: #d2c7df;
}

.legal-content li {
  margin: 5px 0;
}

/* -------------------------------------------------------------------------- */
/* Responsive adjustments                                                     */
/* -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .brand-b {
    width: min(330px, 31vw);
  }

  .brand-wordmark {
    height: 54px;
  }
}

@media (max-width: 980px) {
  .nav-in {
    height: 88px;
  }

  .brand-b {
    width: 300px;
    max-width: calc(100vw - 100px);
  }

  .brand-wordmark {
    height: 48px;
  }

  .nav-links {
    top: 88px;
  }

  .legal-link-card,
  .legal-contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell main section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .brand-b {
    width: min(290px, calc(100vw - 86px));
  }

  .brand-wordmark {
    height: 44px;
  }

  .legal-accordion summary {
    padding: 18px 52px 18px 18px;
  }

  .legal-accordion summary::after {
    right: 18px;
  }

  .legal-content {
    padding: 4px 18px 20px;
  }
}


/* WEBSITE B REFINEMENT — 2026-09-14D */
/*
   Third-pass Website B refinements:
   - slightly shorter header with a larger wordmark
   - extra-safe product-title line boxes so descenders cannot clip
   - plugin catalogue anchor lands with "Current range" visible below the sticky header
   - every Shop button uses the Website B cyan/violet/magenta gradient
*/

/* -------------------------------------------------------------------------- */
/* Header proportions                                                         */
/* -------------------------------------------------------------------------- */

.nav-in {
  height: 84px;
}

.brand-b {
  width: min(430px, 37vw);
}

.brand-wordmark {
  height: 70px;
  max-height: 76px;
}

/* Make the Shop control in the top navigation use the same visual language as
   the other Shop buttons while retaining its compact navigation dimensions. */
.nav-shop {
  border-color: rgba(255, 163, 214, 0.28) !important;
  background: linear-gradient(
    135deg,
    rgba(48, 187, 229, 0.94),
    rgba(114, 74, 220, 0.96) 53%,
    rgba(216, 65, 171, 0.96)
  ) !important;
  color: #ffffff !important;
  box-shadow:
    0 9px 26px rgba(87, 93, 236, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

.nav-shop:hover {
  background: linear-gradient(
    135deg,
    rgba(62, 199, 237, 1),
    rgba(126, 83, 228, 1) 53%,
    rgba(225, 76, 183, 1)
  ) !important;
}

/* -------------------------------------------------------------------------- */
/* Product-title clipping protection                                          */
/* -------------------------------------------------------------------------- */

/* Several product titles wrap onto two lines. Use a deliberately generous line
   box and bottom padding so deep descenders such as g, j, p, q and y remain
   completely visible on every browser/font-rendering combination. */
.product-hero h1,
.page-hero h1 {
  line-height: 1.16;
  padding-top: 0.04em;
  padding-bottom: 0.22em;
  margin-top: 12px;
  margin-bottom: 8px;
  overflow: visible;
}

.product-hero h1.gradient,
.page-hero h1.gradient {
  display: block;
  background-origin: border-box;
}

/* -------------------------------------------------------------------------- */
/* Plugin catalogue anchor                                                    */
/* -------------------------------------------------------------------------- */

/* The catalogue section itself has top padding. A 50px scroll margin places
   its "Current range" kicker immediately below the 84px sticky header. */
#plugins {
  scroll-margin-top: 50px;
}

/* -------------------------------------------------------------------------- */
/* Unified Shop buttons                                                       */
/* -------------------------------------------------------------------------- */

/* Keep legacy .gold markup visually identical to .primary in case a manually
   edited page still uses it later. */
.btn.gold,
.btn.primary {
  color: #ffffff;
  border: 1px solid rgba(255, 163, 214, 0.24);
  background: linear-gradient(
    135deg,
    rgba(48, 187, 229, 0.94),
    rgba(114, 74, 220, 0.96) 53%,
    rgba(216, 65, 171, 0.96)
  );
  box-shadow:
    0 12px 34px rgba(87, 93, 236, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.gold:hover,
.btn.primary:hover {
  color: #ffffff;
  border-color: rgba(143, 225, 255, 0.46);
  background: linear-gradient(
    135deg,
    rgba(62, 199, 237, 1),
    rgba(126, 83, 228, 1) 53%,
    rgba(225, 76, 183, 1)
  );
}

/* -------------------------------------------------------------------------- */
/* Responsive header proportions                                              */
/* -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .brand-b {
    width: min(360px, 34vw);
  }

  .brand-wordmark {
    height: 60px;
  }
}

@media (max-width: 980px) {
  .nav-in {
    height: 76px;
  }

  .brand-b {
    width: 320px;
    max-width: calc(100vw - 100px);
  }

  .brand-wordmark {
    height: 56px;
  }

  .nav-links {
    top: 76px;
  }

  #plugins {
    scroll-margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .nav-in {
    height: 72px;
  }

  .brand-b {
    width: min(285px, calc(100vw - 88px));
  }

  .brand-wordmark {
    height: 50px;
  }

  .nav-links {
    top: 72px;
  }

  .product-hero h1,
  .page-hero h1 {
    line-height: 1.17;
    padding-bottom: 0.24em;
  }
}

/* WEBSITE B REFINEMENT — 2026-09-14E */
/*
   Homepage hero alignment and bundle-title colour pass:
   - remove the hero CTA buttons to reduce the left panel height
   - slightly reduce the hero headline size and panel padding
   - stretch the left hero panel to the same row height as the screenshot
   - add the Website B cyan/violet/magenta gradient to bundle headings
*/

/* -------------------------------------------------------------------------- */
/* Homepage hero: copy beside a vertical image and video stack                 */
/* -------------------------------------------------------------------------- */

.website-b-hero .hero-grid {
  align-items: stretch;
}

.website-b-hero .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 26px 28px 24px;
}

.website-b-hero .hero-copy h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.35rem);
  line-height: 1.03;
  margin-top: 10px;
  margin-bottom: 18px;
}

.website-b-hero .hero-copy .lead {
  margin-top: 0;
  margin-bottom: 0;
}

.website-b-hero .hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.website-b-hero .hero-visual .frame {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

.website-b-hero .hero-visual .cricket-gallery-preview {
  margin: 0;
  min-width: 0;
}

.website-b-hero .hero-visual img,
.website-b-hero .hero-visual video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.website-b-hero .hero-visual video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

@media (max-width: 900px) {
  .website-b-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* -------------------------------------------------------------------------- */
/* Bundle heading gradients                                                    */
/* -------------------------------------------------------------------------- */

.bundle-gradient {
  display: inline-block;
  padding-bottom: 0.06em;
  color: transparent;
  background: linear-gradient(
    90deg,
    #fdf8ff 0%,
    #8cecff 30%,
    #a98cff 56%,
    #ff78cf 78%,
    #ffc27d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 980px) {
  .website-b-hero .hero-copy {
    height: auto;
  }

}

@media (max-width: 640px) {
  .website-b-hero .hero-copy {
    padding: 22px 20px;
  }

  .website-b-hero .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }
}



/* ========================================================================== */
/* HOMEPAGE XENOCRICKET HERO REPAIR — 2026-10-30                              */
/*                                                                            */
/* Dedicated classes intentionally avoid the accumulated generic .hero-visual */
/* and .frame rules. Desktop is exactly two outer columns: copy + media stack. */
/* The media stack is always image first, video directly underneath.           */
/* ========================================================================== */

.website-b-hero .hero-grid {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 42px;
}

.cricket-hero-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-width: 0;
  align-self: start;
}

.cricket-hero-image {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(132, 218, 255, 0.44);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(91, 211, 255, 0.10), rgba(255, 96, 201, 0.08)),
    #090611;
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cricket-hero-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: zoom-in;
}

.cricket-hero-image figcaption {
  margin: 0;
  padding: 10px 8px 2px;
  color: var(--muted, #d6def4);
  font-size: 0.86rem;
  text-align: center;
}

.cricket-hero-video {
  width: 100%;
  min-width: 0;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(132, 218, 255, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(91, 211, 255, 0.07), rgba(255, 96, 201, 0.06)),
    #090611;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
}

.cricket-hero-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  background: #02030a;
}

@media (max-width: 980px) {
  .website-b-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cricket-hero-media {
    width: 100%;
  }
}
