/* HWH website refresh: keep the existing content and interaction hooks; restyle the presentation. */
:root {
  --oshi-blue: #1e4dc8;
  --oshi-blue-hot: #4776e6;
  --oshi-blue-deep: #102f83;
  --oshi-white: #f8fbff;
  --red: var(--oshi-blue);
  --red-hot: var(--oshi-blue-hot);
  --red-deep: var(--oshi-blue-deep);
  --black: #000000;
  --black-deep: #000000;
  --surface: #0b0b0b;
  --paper: #f2f2f2;
  --muted: #b8b8b8;
  --quiet: #929292;
  --line: #292929;
  --shell: min(1280px, calc(100% - 104px));
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  color: var(--paper);
  background-color: var(--black);
  background-image: none;
  background-repeat: no-repeat;
}
body::before { opacity: .12; background-size: 104px 104px; mask-image: linear-gradient(to bottom, #000 0%, transparent 54%); }
body::after { display: none; }
.ambient-one { background: radial-gradient(circle, rgba(71, 118, 230, .08), transparent 70%); }
.ambient-two { background: radial-gradient(ellipse, rgba(71, 118, 230, .045), transparent 72%); }

/* Floating navigation */
.site-header { padding: 10px 0 0; border: 0; background: transparent; backdrop-filter: none; }
.site-header.is-scrolled { border: 0; background: transparent; box-shadow: none; }
.nav-wrap {
  position: relative;
  width: var(--shell);
  height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: #080808;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand { width: 76px; flex-basis: 76px; }
.brand-crop { width: 76px; height: 44px; }
.brand-crop img { width: 126px; height: 126px; }
.brand-crop {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: visible;
}
.brand-crop img {
  position: static;
  width: 42px;
  height: 42px;
  max-width: 100%;
  transform: none;
  object-fit: contain;
}
.brand-name {
  margin-left: 10px;
  color: var(--oshi-white);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.nav-links { gap: clamp(12px, 1.7vw, 24px); }
.nav-links > a { min-height: 44px; display: inline-flex; align-items: center; color: #c0b8b7; font-size: 12px; }
.nav-links > .nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(87, 136, 245, .48);
  border-radius: 999px;
  background: rgba(71, 118, 230, .14);
}
.nav-links > .nav-cta:hover { background: rgba(71, 118, 230, .25); }
.nav-links > a:not(.nav-cta)::after { bottom: -5px; background: var(--red-hot); }

.migration-notice {
  width: var(--shell);
  margin: 14px auto 0;
  padding: clamp(18px, 2.6vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(71, 118, 230, .42);
  border-left: 3px solid var(--oshi-blue-hot);
  background: linear-gradient(110deg, rgba(30, 77, 200, .18), rgba(255, 255, 255, .025) 72%);
}
.migration-notice-copy { max-width: 820px; }
.migration-notice .eyebrow { color: #b7c9f5; }
.migration-notice h2 {
  margin: 9px 0 7px;
  color: var(--oshi-white);
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: -.035em;
}
.migration-notice p:not(.eyebrow) {
  margin: 0;
  color: #d0d9ee;
  font-size: 13px;
  line-height: 1.7;
}
.migration-notice .button { flex: 0 0 auto; }
.migration-notice-compact { width: min(100% - 40px, 760px); }
@media (max-width: 760px) {
  .migration-notice { align-items: flex-start; flex-direction: column; }
}
.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}
.menu-toggle span { width: 17px; height: 1px; display: block; background: #f7f4f2; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Editorial hero, built around the existing HWH capture. */
.hero-editorial {
  position: relative;
  width: var(--shell);
  min-height: min(780px, calc(100svh - 92px));
  padding-block: clamp(54px, 8vh, 92px) 70px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  justify-items: stretch;
  align-content: center;
  gap: clamp(38px, 5.5vw, 78px);
  text-align: left;
}
.hero-editorial::before {
  top: -15%;
  right: 0;
  left: auto;
  width: min(72vw, 920px);
  height: 112%;
  background: radial-gradient(ellipse at 64% 33%, rgba(71, 118, 230, .075), rgba(16, 47, 131, .025) 38%, transparent 72%);
}
.hero-editorial-copy { width: auto; max-width: 620px; text-align: left; }
.hero-editorial .hero-copy { text-align: left; }
.hero-editorial .eyebrow,
.hero-editorial .hero-actions,
.hero-editorial .hero-footnote { justify-content: flex-start; }
.hero-editorial h1 {
  max-width: 760px;
  margin: 28px 0 22px;
  display: grid;
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  font-size: clamp(58px, 5.8vw, 84px);
  font-weight: 850;
  line-height: .87;
  letter-spacing: -.085em;
  text-wrap: balance;
}
.hero-editorial .hero-word { width: auto; white-space: nowrap; }
.hero-editorial .hero-word:nth-child(2) { color: #fff; }
.hero-editorial .hero-description { max-width: 490px; margin: 20px 0 23px; color: #bcb3b1; font-size: 15px; line-height: 1.8; }
.hero-editorial .hero-actions { gap: 10px; }
.hero-editorial .hero-actions .button { min-height: 46px; }
.button { border-radius: 999px; }
.button-primary,
.plan-card-plus .plan-button {
  color: #fff;
  border: 1px solid var(--red);
  background: #0b0b0b;
  box-shadow: none;
}
.button-primary { background: #0b0b0b; }
.plan-card-plus .plan-button { background: #0b0b0b; }
.button-primary:hover,
.plan-card-plus .plan-button:hover {
  border-color: var(--red-hot);
  background: #151515;
  box-shadow: 0 0 0 1px rgba(242, 87, 101, .22);
}
.button-primary:hover { background: #151515; }
.plan-card-plus .plan-button:hover { background: #151515; }
.button-quiet { border-radius: 999px; }
.launcher-recommended { color: var(--red-hot); font-size: 9px; letter-spacing: .08em; }
.hero-editorial .hero-speed { width: fit-content; max-width: 100%; margin: 24px 0 0; }
.hero-editorial .hero-footnote { margin-top: 18px; }
.site-header .motion-toggle {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
  padding: 5px 9px;
  color: #c8c0bf;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-header .motion-toggle:hover,
.site-header .motion-toggle:focus-visible {
  color: #fff;
  border-color: rgba(87, 136, 245, .72);
  background: rgba(71, 118, 230, .12);
}
.site-header .motion-toggle[hidden] { display: none; }
.hero-editorial-art { width: 100%; max-width: none; margin: 0; animation: hero-art-float 8s ease-in-out 1s infinite; }
html[data-motion="on"] .hero-editorial-art { animation: editorial-capture-float 8s ease-in-out infinite; }
html[data-motion="off"] .hero-editorial-art { animation: none !important; filter: none !important; }
@keyframes editorial-capture-float {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-16px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-8px); }
}
.hero-number { color: rgba(255, 255, 255, .025); }
.hero-editorial .hero-screen-frame {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(8, 8, 8, .94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55), 0 0 72px rgba(187, 29, 70, .13);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--world-offset-y)) rotateZ(var(--world-angle)) scale(var(--world-scale));
  animation: none;
  transition: transform .22s ease-out, border-color .25s ease, box-shadow .25s ease;
}
.hero-editorial .hero-screen-frame video { border-radius: 17px 17px 0 0; }
.screen-caption {
  position: static;
  min-height: 44px;
  margin-top: 8px;
  padding: 5px 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #b0a7a6;
  font-size: 9px;
  letter-spacing: .1em;
}
.screen-caption > span:nth-child(2) { margin-left: auto; }
.showreel-toggle {
  min-width: 64px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #f2f2f2;
  font: inherit;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.showreel-toggle:hover,
.showreel-toggle:focus-visible { border-color: rgba(87, 136, 245, .72); background: rgba(71, 118, 230, .12); }
.showreel-toggle:disabled { opacity: .55; cursor: not-allowed; }
.showreel-toggle:focus-visible { outline: 2px solid #4776e6; outline-offset: 3px; }
.hero-side-label { right: 22px; bottom: -24px; color: #84787c; }
.hero-scroll { bottom: 15px; color: #9d9193; }

@media (max-width: 1020px) {
  .nav-wrap { width: var(--shell); }
  .menu-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: min(350px, calc(100vw - 36px));
    height: auto;
    padding: 9px;
    display: none;
    align-items: stretch;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: #080808;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .48);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links > a { min-height: 42px; padding: 11px 13px; display: flex; align-items: center; }
  .nav-links > .nav-cta { justify-content: center; }
}
@media (max-width: 900px) {
  .hero-editorial { min-height: 0; padding-block: 58px 78px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-editorial-copy { max-width: 760px; }
  .hero-editorial-art { width: min(100%, 900px); }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .site-header { padding-top: 7px; }
  .nav-wrap { height: 58px; padding-inline: 13px; }
  .hero-editorial { padding-block: 46px 68px; gap: 25px; }
  .hero-editorial h1 { margin-block: 22px 18px; font-size: clamp(48px, 10.8vw, 78px); }
  .hero-editorial .hero-description { max-width: 600px; font-size: 14px; }
  .hero-editorial .hero-actions { gap: 8px; }
  .hero-editorial .hero-actions .button { min-height: 44px; }
  .hero-speed small { max-width: 170px; }
  .hero-editorial .hero-footnote { flex-wrap: wrap; }
  .hero-editorial .hero-screen-frame { border-radius: 13px; }
  .hero-editorial .hero-screen-frame video { border-radius: 12px 12px 0 0; }
  .screen-caption { min-height: 39px; margin-top: 3px; padding-inline: 3px; font-size: 8px; }
  .hero-side-label { right: 0; }
  .hero-scroll { display: none; }
}
@media (max-width: 380px) {
  :root { --shell: calc(100% - 28px); }
  .hero-editorial h1 { font-size: clamp(40px, 11.8vw, 48px); letter-spacing: -.09em; }
  .hero-editorial .hero-actions { align-items: stretch; }
  .hero-editorial .hero-actions .button-primary { width: 100%; }
  .hero-editorial .hero-actions .button-quiet { padding-inline: 9px; font-size: 10px; }
  .screen-caption > span:nth-child(2) { display: none; }
}

/* Product story and interactive module catalogue */
.section-pad { padding-block: clamp(76px, 7.5vw, 112px); }
#features .section-heading {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: 12px 40px;
  text-align: left;
}
#features .section-heading .eyebrow { justify-content: flex-start; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading h2, .faq-intro h2, .module-intro h2 {
  margin: 0;
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: .91;
  letter-spacing: -.075em;
}
.section-heading h2 span, .faq-intro h2 span { color: #aaa0a3; }
#features .section-heading > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.feature-board {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.feature-item {
  min-width: 0;
  min-height: 220px;
  padding: 25px 24px 22px 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.feature-item + .feature-item { padding-left: 22px; }
.feature-item:last-child { border-right: 0; }
.feature-number { color: #81777a; font-size: 10px; }
.feature-glyph {
  width: 42px;
  height: 42px;
  margin: 3px 0 24px;
  border: 1px solid rgba(87, 136, 245, .25);
  border-radius: 12px;
  background: rgba(71, 118, 230, .08);
  color: var(--red-hot);
}
.feature-item h3 { margin: 0 0 9px; color: #f7f2f1; font-size: 16px; letter-spacing: -.035em; }
.feature-item p { margin: 0; color: #a89fa0; font-size: 12px; line-height: 1.75; }
.feature-item code, .faq-list code { color: #8eafff; }
.feature-note {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #a19799;
  font-size: 9px;
  letter-spacing: .13em;
}
.note-line { width: 26px; height: 1px; background: var(--red); }
.note-separator { color: var(--red-hot); }
.injector-flow {
  margin-top: 46px;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr);
  gap: 20px 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
}
.injector-flow-heading { align-self: center; }
.injector-flow-heading > span { color: var(--red-hot); font-size: 9px; letter-spacing: .14em; }
.injector-flow-heading > p { margin: 12px 0 0; color: #f6f0ef; font-size: 21px; line-height: 1.2; letter-spacing: -.045em; }
.injector-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.injector-flow li, .injector-flow li.motion-depth {
  min-width: 0;
  min-height: 126px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(8, 8, 11, .55);
}
.injector-flow li > .flow-number { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border: 1px solid rgba(87, 136, 245, .35); border-radius: 50%; color: var(--red-hot); font-size: 10px; }
.injector-flow li h3 { margin: 2px 0 7px; font-size: 13px; letter-spacing: -.02em; }
.injector-flow li p { margin: 0; color: #a69c9d; font-size: 11px; line-height: 1.65; }
.flow-requirement { grid-column: 2; color: #93898b; font-size: 9px; letter-spacing: .1em; }
.flow-requirement .status-dot { display: inline-block; margin-right: 7px; }

.module-showcase { border-block-color: transparent; background: var(--black); }
.module-showcase::before { background: radial-gradient(ellipse at 50% 10%, rgba(71, 118, 230, .13), transparent 69%); filter: blur(35px); }
.module-intro { grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 42px; }
.module-intro h2 { margin: 16px 0 0; font-size: clamp(46px, 5.8vw, 78px); }
.module-intro h2 span { color: var(--red-hot); -webkit-text-stroke: 0; }
.module-story { max-width: 500px; color: #b5acad; font-size: 14px; line-height: 1.8; }
.module-proof { color: #e8dcdf; font-size: 9px; }
.module-callout { padding: 22px 25px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.module-callout > strong { font-size: clamp(15px, 1.8vw, 21px); line-height: 1.55; }
.module-callout > strong em { color: var(--red-hot); }
.module-filters { gap: 7px; }
.module-filter { min-height: 44px; padding: 7px 12px; border-color: rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(20, 18, 23, .82); font-size: 10px; }
.module-filter.is-active { border-color: rgba(87, 136, 245, .65); background: rgba(71, 118, 230, .16); box-shadow: 0 0 18px rgba(71, 118, 230, .08); }
.module-search { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.module-search input { font-size: 12px; }
.module-counter-status { font-size: 10px; letter-spacing: .04em; }
.module-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 10px; }
.module-grid:has(.module-card:only-child) {
  width: min(100%, 440px);
  grid-template-columns: minmax(0, 1fr);
  max-height: none;
  overflow: visible;
  border: 0;
  background: transparent;
}
.module-card {
  min-height: 118px;
  padding: 15px;
  gap: 9px;
  border-color: rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(10, 10, 10, .94);
  box-shadow: none;
  transition: transform .32s cubic-bezier(.2, .7, .18, 1), filter .28s ease, opacity .28s ease, border-color .25s ease, box-shadow .3s ease, background-color .3s ease;
}
.module-card:hover { border-color: rgba(87, 136, 245, .48); box-shadow: 0 10px 26px rgba(0, 0, 0, .22), 0 0 18px rgba(71, 118, 230, .08); }
.module-card.is-active { border-color: rgba(87, 136, 245, .5); background: linear-gradient(140deg, rgba(16, 47, 131, .24), rgba(10, 10, 10, .96)); box-shadow: none; }
.module-card.is-selected { border-color: rgba(87, 136, 245, .78); box-shadow: 0 0 0 1px rgba(71, 118, 230, .22), 0 10px 28px rgba(0, 0, 0, .26); }
.module-title { font-size: 13px; }
.module-desc { color: var(--muted); font-size: 11px; line-height: 1.5; }
.module-card:hover .module-desc { color: var(--muted); }
.module-tag, .module-state-label { font-size: 8px; }
.module-foot { color: #8e8387; font-size: 9px; }

/* Scripts, plans and secure download path */
.scripts { background: var(--black); }
.scripts-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 28px 72px; align-items: center; }
.scripts-copy .eyebrow { margin-bottom: 21px; }
.scripts-mantra { margin: 0; color: #ff8a98; font-size: 9px; letter-spacing: .14em; }
.scripts-copy h2 { margin: 18px 0; font-size: clamp(56px, 6.4vw, 88px); line-height: .87; letter-spacing: -.085em; }
.scripts-lede { color: #f3edec; font-size: 19px; line-height: 1.45; letter-spacing: -.03em; }
.scripts-body { color: var(--muted); font-size: 13px; line-height: 1.8; }
.scripts-body code, .script-runtime-note code { color: #ff9ba7; }
.script-runtime-note { margin: 22px 0; padding: 15px 17px; display: flex; gap: 14px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, .025); color: #b6acad; font-size: 11px; line-height: 1.7; }
.runtime-mark { flex: 0 0 auto; color: #ff8391; font-size: 9px; letter-spacing: .11em; }
.text-link { color: #f2e8e8; font-size: 12px; }
.text-link span, .script-safety > a span { color: var(--red-hot); }
.editor-wrap {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--black);
  box-shadow: none;
}
.editor-topbar, .editor-tabs, .editor-foot { border-color: rgba(255, 255, 255, .09); }
.editor-top-right, .editor-foot { color: #a19599; }
.code-block { min-height: 310px; padding: 20px; font-size: clamp(10px, .85vw, 12px); }
.scripts-caption { grid-column: 2; margin-top: -12px; color: #aaa0a2; font-size: 8px; }
.script-safety { margin-top: 40px; padding-top: 20px; border-top-color: var(--line); }
.script-safety > span { color: #ff8997; font-size: 9px; }
.script-safety > p { color: #aaa1a2; font-size: 11px; }

.plans { padding-block: clamp(88px, 9vw, 132px); }
.plans-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .48fr);
  align-items: end;
  gap: 32px;
}
.plans-heading .eyebrow { margin-bottom: 16px; }
.plans-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .92; letter-spacing: -.075em; }
.plans-heading h2 span { color: #aaa0a3; }
.plans-heading > p { max-width: 360px; margin: 0 0 5px; color: #b0a6a7; font-size: 13px; line-height: 1.8; }
.plan-grid { max-width: 1020px; gap: 15px; }
.plan-card {
  padding: clamp(24px, 3vw, 36px);
  border-color: rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 23, 28, .9), rgba(13, 12, 16, .95));
  box-shadow: none;
}
.plan-card:hover { border-color: rgba(87, 136, 245, .42); box-shadow: 0 18px 44px rgba(0, 0, 0, .24), 0 0 18px rgba(71, 118, 230, .06); }
.plan-card-plus {
  border-color: rgba(87, 136, 245, .45);
  background: linear-gradient(145deg, #151010, #101010 72%);
}
.plan-card-plus::before { height: 1px; background: linear-gradient(90deg, transparent, #4776e6 24% 76%, transparent); }
.plus-glow { background: radial-gradient(circle, rgba(71, 118, 230, .17), transparent 72%); }
.plan-topline { color: #a99da0; font-size: 9px; }
.plan-name-row { margin-top: 24px; }
.plan-name-row h3 { font-size: 28px; }
.plan-badge { padding: 7px 10px; border-radius: 999px; font-size: 8px; }
.plan-description { min-height: 0; max-width: 420px; margin: 12px 0 20px; color: #b4aaab; font-size: 12px; line-height: 1.7; }
.plan-price { font-size: clamp(56px, 6vw, 74px); }
.plan-features { margin-block: 22px 25px; gap: 12px 18px; }
.plan-features li { color: #ded6d6; font-size: 11px; }
.plan-button { min-height: 48px; }
.plan-footnote { margin-top: 13px; color: #a19698; font-size: 8px; }
.plans-note { color: #a89ea0; font-size: 11px; }
.payment-rail { margin-top: 30px; padding-top: 20px; border-top-color: var(--line); }
.payment-label { color: #a89ea0; font-size: 9px; }
.payment-coins { gap: 8px; }
.payment-coin { min-height: 36px; border-radius: 999px; color: #ded6d6; font-size: 10px; }
.payment-coin > span { color: #ff7184; }

.download { padding-block: 40px; border: 0; background: transparent; }
.download-inner {
  padding: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 35px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: radial-gradient(ellipse at 82% 12%, rgba(178, 32, 75, .19), transparent 45%), linear-gradient(130deg, #141117, #0d0c10 72%);
}
.download-copy .eyebrow { margin-bottom: 16px; }
.download-copy h2 { font-size: clamp(48px, 5.6vw, 72px); line-height: .94; }
.download-copy > p:not(.eyebrow) { color: #b6acad; font-size: 13px; line-height: 1.8; }
.download-copy > .release-test-label { border-radius: 999px; font-size: 8px; }
.download-button { min-height: 48px; }
.download-note, .download-steps { color: #a59a9c; font-size: 10px; }
.download-art { min-height: 310px; gap: 22px; }
.download-product { width: 230px; height: 285px; border-radius: 15px; background: linear-gradient(145deg, #21151b, #100e13 70%); box-shadow: 0 20px 56px rgba(0, 0, 0, .38); }
.download-product img { width: 178px; height: 178px; }
.download-index, .download-edition { color: #c1b5b8; font-size: 8px; }
.download-spec { max-width: 190px; color: #a99da0; font-size: 8px; }
.download-spec strong { color: #eee5e6; font-size: 10px; }
.download-stamp { border-radius: 50%; color: #ff9aa7; }

/* FAQ, legal surface and closing navigation */
.faq { grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: clamp(35px, 7vw, 96px); }
.faq-intro .eyebrow { margin-bottom: 16px; }
.faq-intro h2 { font-size: clamp(50px, 6vw, 78px); }
.faq-intro > p:last-child { color: #b0a6a7; font-size: 13px; }
.faq-list { border-top-color: var(--line); }
.faq-list details { border-bottom-color: var(--line); }
.faq-list summary { min-height: 62px; gap: 14px; color: #eee7e7; font-size: 13px; }
.faq-list summary > span { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border: 1px solid rgba(87, 136, 245, .24); border-radius: 50%; color: var(--red-hot); font-size: 15px; }
.faq-list details > p { max-width: 670px; margin: 0 40px 20px 0; color: #b0a6a7; font-size: 12px; line-height: 1.8; }
.footer { border-top-color: rgba(255, 255, 255, .12); background: #07070a; }
.footer-main { min-height: 150px; gap: 28px; }
.footer-main > p { color: #e2d9da; font-size: 10px; }
.footer-main > p span { color: #a4999c; }
.footer-nav { gap: clamp(10px, 1.5vw, 21px); }
.footer-nav a, .footer-discord { color: #b3a9aa; font-size: 10px; }
.footer-discord { padding: 10px 14px; border-color: rgba(255, 255, 255, .17); border-radius: 999px; }
.footer-bottom { min-height: 64px; color: #9c9194; font-size: 8px; letter-spacing: .06em; }
.footer-owner-line { color: #9c9194; font-size: 8px; letter-spacing: .05em; }
.footer-bottom a { color: #bcb1b2; }
.not-found h1 { color: #fff; }
.not-found h1 span { color: var(--red-hot); }
dialog::backdrop { background: rgba(4, 3, 6, .84); backdrop-filter: blur(10px); }
.checkout-dialog, .status-dialog, .legal-dialog {
  border-color: rgba(87, 136, 245, .32);
  border-radius: 18px;
  background: var(--surface);
}

/* Keep the hero showreel prominent and consistent with the site's Oshi palette. */
.hero-editorial .hero-mantra {
  margin: 0;
  color: var(--red-hot);
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2.15vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.hero-editorial .hero-screen-frame {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #08090b;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55), 0 0 72px rgba(187, 29, 70, .13);
}
.hero-editorial .hero-screen-frame::before,
.hero-editorial .hero-screen-frame::after { display: none; }
.hero-editorial .hero-screen-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #08090b;
}
.screen-caption { position: static; }

@media (max-width: 1020px) {
  .scripts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 35px; }
  .download-inner { gap: 24px; }
  .footer-main { grid-template-columns: auto minmax(160px, 1fr) auto; }
  .footer-nav { grid-column: 2 / -1; grid-row: 2; flex-wrap: wrap; padding-bottom: 18px; }
}
@media (max-width: 900px) {
  .hero-editorial { grid-template-areas: "showreel" "copy"; }
  .hero-editorial-art { grid-area: showreel; }
  .hero-editorial-copy { grid-area: copy; }
  #features .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .feature-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .feature-item:nth-child(4) { border-top: 1px solid var(--line); }
  .injector-flow { grid-template-columns: 1fr; }
  .flow-requirement { grid-column: 1; }
  .module-intro { grid-template-columns: 1fr; gap: 17px; }
  .scripts-grid { grid-template-columns: 1fr; }
  .scripts-caption { grid-column: 1; margin-top: -8px; }
  .plans-heading { grid-template-columns: 1fr; gap: 16px; }
  .plans-heading > p { max-width: 570px; }
  .download-inner { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 32px; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .section-pad { padding-block: 78px; }
  .feature-board { margin-top: 32px; }
  .feature-item { min-height: 190px; padding: 20px 18px 18px 0; }
  .feature-item + .feature-item { padding-left: 18px; }
  .feature-item:nth-child(3) { padding-left: 0; }
  .feature-item h3 { font-size: 15px; }
  .feature-item p { font-size: 12px; }
  .injector-flow { padding: 19px; gap: 16px; }
  .injector-flow ol { grid-template-columns: 1fr; }
  .injector-flow li, .injector-flow li.motion-depth { min-height: 0; }
  .module-search-wrap { align-items: stretch; }
  .module-counter-status { white-space: normal; }
  .module-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
  .plans { padding-block: 80px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 25px 22px; }
  .download { padding-block: 20px; }
  .download-inner { grid-template-columns: 1fr; }
  .download-art { min-height: 290px; }
  .faq { grid-template-columns: 1fr; gap: 25px; }
  .footer-main { padding-block: 28px; grid-template-columns: auto 1fr; gap: 16px; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-nav { grid-column: 1 / -1; grid-row: 3; padding: 0; }
  .footer-discord { grid-column: 2; grid-row: 1; justify-self: end; }
  .footer-bottom { padding-block: 14px; flex-wrap: wrap; gap: 10px 14px; }
  .footer-bottom > div { gap: 10px; }
}
@media (max-width: 520px) {
  :root { --shell: calc(100% - 32px); }
  .section-pad { padding-block: 66px; }
  .section-heading h2, .faq-intro h2, .module-intro h2 { font-size: clamp(40px, 11vw, 54px); }
  .feature-board { grid-template-columns: 1fr; }
  .feature-item, .feature-item + .feature-item, .feature-item:nth-child(3) {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }
  .feature-item:last-child { border-bottom: 0; }
  .feature-glyph { margin-bottom: 16px; }
  .feature-note { font-size: 8px; line-height: 1.7; }
  .injector-flow-heading > p { font-size: 18px; }
  .module-callout { padding: 18px; }
  .module-toolbar { gap: 10px; }
  .module-filters { gap: 6px; }
  .module-filter { min-height: 44px; padding-inline: 10px; font-size: 9px; }
  .module-search-wrap { flex-direction: column; }
  .module-search { width: 100%; }
  .module-grid { grid-template-columns: 1fr; }
  .script-runtime-note { flex-direction: column; gap: 6px; }
  .editor-tabs { gap: 10px; padding-inline: 10px; }
  .editor-top-right { display: none; }
  .code-block { min-height: 280px; padding: 14px 10px; font-size: 9px; }
  .scripts-copy h2 { font-size: clamp(54px, 15vw, 72px); }
  .script-safety { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .script-safety > p { grid-column: 1 / -1; }
  .plan-card { padding: 22px 18px; }
  .plan-features { grid-template-columns: 1fr; gap: 9px; }
  .plan-price { font-size: 58px; }
  .payment-rail { align-items: flex-start; flex-direction: column; gap: 12px; }
  .payment-coins { justify-content: flex-start; }
  .download-art { min-height: 250px; justify-content: center; gap: 12px; }
  .download-product { width: min(52vw, 190px); height: 235px; }
  .download-product img { width: min(42vw, 150px); height: min(42vw, 150px); }
  .download-spec { max-width: 44%; padding-left: 11px; }
  .faq-list summary { min-height: 58px; font-size: 12px; }
  .footer-nav { gap: 10px 14px; }
  .footer-bottom > div { flex-wrap: wrap; }
  .footer-owner-line { white-space: normal; }
}
@media (max-width: 360px) {
  .hero-editorial .hero-actions .button-quiet { min-height: 40px; padding-inline: 7px; font-size: 9px; }
  .hero-editorial .hero-speed { align-items: flex-start; }
  .download-art { justify-content: flex-start; }
  .download-product { width: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto !important; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:not([data-motion="on"]) .hero-editorial-art { animation: none !important; }
}

/* Account access: calm, readable controls around the existing secure flow. */
.account-page { min-height: 100vh; background: var(--black); }
.account-page .ambient-one { top: -80px; left: -420px; width: 700px; height: 700px; }
.account-topbar {
  width: min(1320px, calc(100% - 48px));
  height: 64px;
  background: #000000;
  border-bottom-color: rgba(255, 255, 255, .1);
}
.auth-back, .account-legal, .dashboard-footer { color: #a99ea1; font-size: 10px; letter-spacing: .08em; }
.auth-back span, .auth-footer-link span:last-child { color: var(--red-hot); }
.auth-main {
  width: min(1120px, calc(100% - 64px));
  min-height: calc(100vh - 132px);
  padding-block: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  gap: clamp(48px, 8vw, 108px);
}
.auth-aside { max-width: 590px; }
.auth-aside .eyebrow { margin-bottom: 22px; }
.auth-aside h1 {
  margin-bottom: 22px;
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  font-size: clamp(54px, 6.7vw, 86px);
  line-height: .91;
  letter-spacing: -.08em;
}
.auth-aside h1 span { color: #a99ea1; }
.auth-aside > p:not(.eyebrow) { max-width: 440px; color: #b9afb0; font-size: 14px; line-height: 1.8; }
.auth-aside-mark { margin-top: 32px; color: #a09497; font-size: 9px; }
.auth-panel {
  padding: clamp(23px, 3vw, 34px);
  border-color: rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 22px 65px rgba(0, 0, 0, .28);
}
.auth-panel::before { width: 62px; height: 2px; border-radius: 0 0 2px 0; background: var(--red-hot); }
.auth-panel > .eyebrow { color: var(--red-hot); font-size: 9px; }
.auth-panel h2 { margin-bottom: 22px; font-size: 30px; letter-spacing: -.06em; }
.auth-tabs {
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(6, 6, 9, .58);
}
.auth-tabs button { min-height: 40px; border-radius: 999px; color: #b0a5a7; font-size: 9px; letter-spacing: .08em; }
.auth-tabs button[aria-selected="true"] { color: #fff; background: rgba(71, 118, 230, .17); }
.auth-tabs button[aria-selected="true"]::after { display: none; }
.account-notice { min-height: 18px; color: #ff9aa5; font-size: 12px; }
.account-notice[data-kind="success"] { color: #a8d0ad; }
.account-form { gap: 10px; }
.account-form > label, .settings-card > label, .script-upload-form > label, .hwid-card label, .security-card label {
  margin-top: 7px;
  color: #c0b5b7;
  font-size: 10px;
  letter-spacing: .09em;
}
.account-form input, .settings-card input, .script-upload-form input, .script-upload-form textarea, .hwid-card textarea,
.admin-grant-form input, .admin-grant-form select, .admin-grant-form textarea {
  min-height: 46px;
  padding: 11px 13px;
  border-color: var(--line);
  border-radius: 9px;
  background: rgba(5, 5, 8, .72);
  color: #f7f1f1;
  font-size: 13px;
}
.account-form input:focus, .settings-card input:focus, .script-upload-form input:focus, .script-upload-form textarea:focus, .hwid-card textarea:focus,
.admin-grant-form input:focus, .admin-grant-form select:focus, .admin-grant-form textarea:focus {
  border-color: rgba(87, 136, 245, .72);
  outline: 2px solid rgba(87, 136, 245, .2);
}
.account-form .auth-remember { gap: 10px; color: #b9afb0; font-size: 12px; }
.account-form .auth-remember input { border-radius: 4px; }
.account-form small, .auth-footnote { color: #a3979a; font-size: 11px; }
.account-form .button { min-height: 46px; margin-top: 9px; }
.password-toggle { min-height: 36px; padding-inline: 10px; color: #c0b4b7; font-size: 9px; }
.form-intro { color: #b8aeb0; font-size: 12px; }
.auth-text-button { min-height: 36px; color: #c2b8b8; font-size: 11px; }
.auth-totp { border-top-color: rgba(255, 255, 255, .13); }
.auth-totp p, .settings-card > p { color: #b7adae; font-size: 12px; }
.auth-totp-label { color: #c0b5b7; font-size: 9px; }
.auth-totp code, .settings-card code { border-radius: 8px; background: rgba(5, 5, 8, .7); font-size: 12px; }
.auth-totp a, .settings-card > a { color: #8eafff; font-size: 12px; }
.auth-footer-link {
  margin-top: 22px;
  padding-top: 16px;
  color: #b2a7a9;
  border-top-color: rgba(255, 255, 255, .11);
  font-size: 9px;
  letter-spacing: .08em;
  line-height: 1.7;
}
.account-legal {
  width: min(1320px, calc(100% - 48px));
  min-height: 60px;
  border-top-color: rgba(255, 255, 255, .1);
}
.account-legal a { color: #e6dcdd; }

/* Dashboard: responsive navigation and clear hierarchy for private account tools. */
.dashboard-topbar { width: 100%; padding-inline: max(24px, calc((100% - 1320px) / 2)); }
.topbar-user { gap: 12px; color: #c4b9bb; font-size: 10px; letter-spacing: .07em; }
.owner-badge { border-color: rgba(87, 136, 245, .4); border-radius: 999px; color: var(--red-hot); font-size: 9px; }
.dashboard-shell { width: min(1320px, calc(100% - 48px)); grid-template-columns: 210px minmax(0, 1fr); gap: 42px; }
.dashboard-sidebar { top: 96px; padding-top: 36px; }
.dashboard-sidebar > .eyebrow { margin-bottom: 16px; color: #b8aeb0; font-size: 9px; }
.dashboard-sidebar nav {
  padding: 7px;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(17, 16, 21, .8);
}
.dashboard-sidebar nav a {
  min-height: 42px;
  padding-inline: 12px;
  border: 0;
  border-radius: 9px;
  color: #b8adaf;
  font-size: 12px;
}
.dashboard-sidebar nav a:hover, .dashboard-sidebar nav a.is-active { color: #fff; background: rgba(71, 118, 230, .12); box-shadow: none; }
.dashboard-sidebar nav a.is-active { box-shadow: inset 2px 0 var(--red-hot); }
.sidebar-caption { color: #a19598; font-size: 9px; }
.dashboard-main { padding: 42px 0 48px; }
.dashboard-heading { margin-bottom: 24px; }
.dashboard-heading h1 { margin-bottom: 14px; font-size: clamp(46px, 5.5vw, 68px); line-height: .92; letter-spacing: -.075em; }
.dashboard-heading h1 span, .dashboard-section-heading h2 span { color: var(--red-hot); }
.dashboard-heading p:not(.eyebrow) { color: #b9afb0; font-size: 13px; }
.dashboard-heading p strong { color: #fff; }
.dashboard-heading > .button { min-height: 42px; }
.dashboard-notice { margin-bottom: 15px; }
.dash-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dash-card {
  min-width: 0;
  min-height: 185px;
  padding: 20px;
  border-color: rgba(255, 255, 255, .11);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(27, 24, 30, .82), rgba(14, 13, 17, .95));
}
.dash-label { color: #b1a5a8; font-size: 9px; letter-spacing: .11em; }
.dash-welcome { background: radial-gradient(ellipse at 100% 0, rgba(161, 30, 67, .2), transparent 52%), rgba(18, 15, 21, .92); }
.dash-welcome h2 { margin: 18px 0 10px; color: #fff; font-size: 29px; line-height: 1; letter-spacing: -.06em; }
.dash-card p { color: #b2a8aa; font-size: 11px; line-height: 1.7; }
.dash-card .text-link { display: inline-flex; margin-top: 7px; font-size: 11px; }
.dash-plan-summary > strong { color: #fff; font-size: 18px; }
.plan-state { width: fit-content; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; color: #c0b6b7; font-size: 8px; letter-spacing: .1em; }
.dash-card .button { min-height: 40px; font-size: 11px; }
.release-access { color: #fff; font-size: 15px; }
.release-platform { color: #b5a9ab; font-size: 9px; letter-spacing: .08em; }
.dashboard-section {
  padding-top: 48px;
  margin-top: 24px;
  border-top-color: rgba(255, 255, 255, .1);
}
.dashboard-section-heading { margin-bottom: 17px; }
.dashboard-section-heading h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.06em; }
.dashboard-section-heading .eyebrow { color: #b4a9ab; font-size: 9px; }
.dashboard-section-heading .section-description { max-width: 720px; color: #b3a9aa; font-size: 12px; line-height: 1.8; }
.dashboard-section-heading .section-aside { color: #b8abad; font-size: 9px; letter-spacing: .07em; }
.admin-dashboard, .admin-panel, .plan-detail-card, .download-access-card, .hwid-card, .settings-card,
.script-upload-form, .chat-link-card, .chat-panel {
  border-color: rgba(255, 255, 255, .11);
  border-radius: 14px;
  background-color: rgba(17, 16, 21, .82);
}
.admin-dashboard { padding: 22px; }
.admin-panel { padding: 17px; }
.admin-panel-heading h3 { color: #f3eded; font-size: 18px; }
.admin-panel-heading .section-aside { color: #b2a7a9; font-size: 9px; }
.admin-metric, .admin-user-result { border-color: rgba(255, 255, 255, .11); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.admin-user-search, .admin-grant-form input, .admin-grant-form select, .admin-grant-form textarea { border-radius: 9px; font-size: 12px; }
.admin-grant-form { padding: 17px; border-color: rgba(255, 255, 255, .11); border-radius: 11px; background: rgba(5, 5, 8, .35); }
.admin-grant-form label, .admin-user-search-label { color: #c2b7b9; font-size: 9px; }
.admin-refresh { min-height: 40px; padding-inline: 12px; border-radius: 999px; }
.plan-detail-card, .download-access-card, .hwid-card, .settings-card { padding: 20px; }
.plan-detail-top h3 { font-size: 24px; }
.plan-detail-top p, .plan-feature-list li { color: #b8adaf; font-size: 11px; }
.plan-feature-list { gap: 12px 18px; }
.download-access-mark { width: 48px; height: 48px; border-radius: 13px; color: var(--red-hot); }
.download-access-card h3 { font-size: 15px; }
.download-access-card p { color: #b7adaf; font-size: 11px; }
.script-upload-form { padding: 18px; gap: 10px; border-top-color: var(--red); }
.script-upload-form > label, .hwid-card label { color: #c2b7b9; font-size: 9px; }
.script-upload-footer > span, .form-help { color: #a99ea1; font-size: 10px; }
.script-upload-footer .button, .hwid-card form .button, .settings-card > button { min-height: 42px; font-size: 10px; }
.script-library { gap: 9px; }
.config-row, .script-row {
  grid-template-columns: minmax(120px, 1fr) auto auto auto;
  gap: 9px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}
.script-row { grid-template-columns: minmax(120px, 1fr) auto auto auto auto auto; }
.script-row-name { color: #f1e9ea; font-size: 11px; }
.script-row-info { color: #aa9fa1; font-size: 9px; }
.script-row button, .script-row a { min-height: 36px; padding-inline: 10px; border-radius: 8px; color: #ded4d6; font-size: 9px; }
.script-row-editor > label { color: #c0b6b7; font-size: 9px; }
.script-row-editor > textarea { border-radius: 9px; font-size: 12px; }
.chat-workspace { gap: 14px; }
.chat-link-card, .chat-panel { padding: 15px; }
.chat-link-card > p, .chat-message p { color: #b7adaf; font-size: 11px; }
.chat-link-card > button, .chat-compose .button { min-height: 42px; font-size: 10px; }
.chat-messages { min-height: 250px; }
.chat-message strong { color: #f1e9ea; font-size: 11px; }
.chat-message time { color: #a99ea1; font-size: 9px; }
.chat-compose input { min-height: 42px; border-radius: 9px; font-size: 12px; }
.empty-state { border-color: rgba(255, 255, 255, .14); border-radius: 10px; color: #b2a7a9; font-size: 11px; }
.table-scroll { border-color: rgba(255, 255, 255, .12); border-radius: 12px; }
.purchase-table th { color: #b6aaad; font-size: 8px; }
.purchase-table td { color: #d4cacc; font-size: 10px; }
.hwid-card > div > strong { color: #f3eded; font-size: 16px; }
.hwid-card > div > p { color: #b2a8aa; font-size: 11px; }
.settings-grid { gap: 14px; }
.settings-card h3 { color: #f1e9ea; font-size: 17px; }
.security-card label { color: #c2b7b9; font-size: 9px; }
.totp-recovery li { font-size: 12px; }
.dashboard-footer { border-top-color: rgba(255, 255, 255, .1); }

@media (max-width: 1050px) {
  .auth-main { grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); gap: 38px; }
  .dashboard-shell { grid-template-columns: 180px minmax(0, 1fr); gap: 25px; }
  .dash-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-release { grid-column: 1 / -1; }
  .plan-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .account-topbar { width: calc(100% - 36px); height: 64px; }
  .auth-main { width: calc(100% - 36px); min-height: 0; padding-block: 42px; grid-template-columns: 1fr; gap: 24px; }
  .auth-aside h1 { font-size: clamp(46px, 10vw, 68px); }
  .auth-aside .eyebrow { margin-bottom: 16px; }
  .auth-aside > p:not(.eyebrow) { font-size: 13px; }
  .auth-aside-mark { margin-top: 17px; }
  .auth-panel { width: min(100%, 620px); padding: 23px; }
  .account-legal { width: calc(100% - 36px); padding-block: 12px; flex-wrap: wrap; }
  .dashboard-topbar { width: 100%; padding-inline: 18px; }
  .topbar-user { gap: 7px; font-size: 9px; }
  .topbar-user .auth-text-button { margin-left: 2px; font-size: 10px; }
  .dashboard-shell { width: 100%; display: flex; flex-direction: column; gap: 0; }
  .dashboard-sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 7px 14px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(10, 9, 13, .97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .dashboard-sidebar > .eyebrow, .sidebar-caption { display: none; }
  .dashboard-sidebar nav { width: max-content; display: flex; gap: 5px; padding: 4px; border-radius: 999px; }
  .dashboard-sidebar nav a { min-height: 38px; padding-inline: 12px; border-radius: 999px; white-space: nowrap; }
  .dashboard-sidebar nav a.is-active { box-shadow: none; background: rgba(71, 118, 230, .2); }
  .dashboard-main { padding: 30px 18px 38px; }
  .dashboard-heading { align-items: flex-start; gap: 15px; }
  .dashboard-heading h1 { font-size: clamp(42px, 9vw, 60px); }
  .dashboard-heading > .button { min-height: 40px; }
  .dash-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-card { min-height: 160px; padding: 16px; }
  .dash-welcome { grid-column: 1 / -1; }
  .dash-release { grid-column: auto; }
  .dashboard-section { padding-top: 36px; margin-top: 18px; }
  .dashboard-section-heading { align-items: flex-start; gap: 10px; }
  .dashboard-section-heading .section-aside { max-width: 150px; padding-top: 4px; }
  .admin-dashboard { padding: 16px; }
  .admin-heading-actions { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-workspace { grid-template-columns: 1fr; }
  .chat-workspace { grid-template-columns: 1fr; }
  .hwid-card { grid-template-columns: 1fr; gap: 22px; }
  .settings-grid { grid-template-columns: 1fr; }
  .security-card { grid-column: auto; }
  .download-access-card { flex-wrap: wrap; }
  .download-access-card > div { min-width: calc(100% - 72px); }
  .script-upload-footer { align-items: flex-start; flex-direction: column; }
  .script-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .script-row-name { grid-column: 1 / -1; }
  .script-row-info { overflow-wrap: anywhere; }
  .dashboard-footer { margin-top: 30px; padding-block: 14px; }
}
@media (max-width: 520px) {
  .account-topbar { width: calc(100% - 28px); }
  .auth-main { width: calc(100% - 28px); padding-block: 30px; }
  .auth-panel { padding: 20px 16px; }
  .auth-panel h2 { font-size: 27px; }
  .auth-footer-link { font-size: 8px; }
  .account-legal { width: calc(100% - 28px); }
  .dashboard-topbar { padding-inline: 14px; }
  .topbar-user { font-size: 8px; }
  .topbar-user .auth-text-button { font-size: 9px; }
  .dashboard-main { padding-inline: 14px; }
  .dashboard-heading { flex-direction: column; }
  .dashboard-heading > .button { align-self: flex-start; }
  .dash-overview-grid { grid-template-columns: 1fr; }
  .dash-card, .dash-welcome, .dash-release { grid-column: auto; min-height: 0; }
  .dash-plan-summary > .button { width: fit-content; }
  .dashboard-section-heading { flex-direction: column; }
  .dashboard-section-heading .section-aside { max-width: none; }
  .admin-dashboard { padding: 12px; }
  .admin-panel { padding: 12px; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .plan-feature-list { grid-template-columns: 1fr; }
  .plan-detail-card, .download-access-card, .hwid-card, .settings-card { padding: 15px; }
  .download-access-card { align-items: flex-start; }
  .download-access-card > div { min-width: 0; flex: 1 1 calc(100% - 64px); }
  .download-access-card .button { margin-left: 62px; }
  .script-upload-form { padding: 14px; }
  .script-row { grid-template-columns: 1fr 1fr; padding: 11px; }
  .chat-panel { padding: 8px; }
  .chat-compose { grid-template-columns: minmax(0, 1fr) auto; }
  .chat-compose .button { padding-inline: 12px; }
  .dashboard-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto !important; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.section-shell { width: var(--shell); margin-inline: auto; }
.features,
.module-showcase,
.scripts,
.plans,
.download,
.faq {
  border-block: 0;
  background: transparent;
}
.feature-board { border: 0; }
.feature-item { border-right: 0; }
.footer { border-top: 0; background: transparent; }
.footer-bottom { border-top: 0; }
.checkout-form select {
  appearance: none;
  padding-inline: 14px 42px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' fill='none' stroke='%23ff3948' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  color-scheme: dark;
  cursor: pointer;
}
.checkout-form select option { color: var(--paper); background: var(--surface); }
.checkout-form select:hover { border-color: rgba(87, 136, 245, .55); }
.footer-bottom .footer-support-link { color: #c7bfbd; }
.footer-bottom .footer-support-link:hover { color: var(--red-hot); }

#features .feature-board {
  margin-top: 28px;
  gap: 10px;
  border: 0;
}
#features .feature-board > .feature-item,
#features .feature-board > .feature-item + .feature-item,
#features .feature-board > .feature-item:nth-child(n) {
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(245, 242, 240, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  box-shadow: none;
}
#features .feature-board > .feature-item:hover {
  border-color: rgba(87, 136, 245, .38);
  background: rgba(71, 118, 230, .045);
}
#features .feature-board .feature-number { top: 16px; right: 16px; }
#features .feature-board .feature-glyph {
  width: 34px;
  height: 34px;
  margin: 0;
  flex-basis: 34px;
  border-radius: 10px;
  font-size: 17px;
}
#features .feature-board .feature-item h3 { margin: 14px 0 6px; font-size: 14px; }
#features .feature-board .feature-item p { max-width: none; font-size: 11px; line-height: 1.6; }
#features .feature-note { margin-top: 16px; }

@media (max-width: 900px) {
  #features .feature-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  #features .feature-board { grid-template-columns: 1fr; gap: 8px; }
  #features .feature-board > .feature-item,
  #features .feature-board > .feature-item + .feature-item,
  #features .feature-board > .feature-item:nth-child(n) {
    min-height: 0;
    padding: 14px;
  }
}

.features,
.module-showcase,
.scripts,
.plans,
.download,
.faq { background: var(--black); }
.module-card { background: var(--surface); }
.module-toggle-btn { min-width: 44px; min-height: 44px; justify-content: center; }
.module-category-pill,
.module-tag,
.module-state-label,
.module-counter-status,
.module-foot { color: var(--muted); }
.module-card.is-active .module-category-pill,
.module-card.is-active .module-tag,
.module-card.is-active .module-state-label { color: var(--red-hot); }
.module-title,
.module-card.is-active .module-title { color: var(--paper); }
.section-heading h2 span,
.module-intro h2 span,
.plans-heading h2 span,
.faq-intro h2 span,
.auth-aside h1 span { color: var(--paper); }
.code-green { color: var(--muted); }
.code-block { color: var(--paper); }

#features .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
#features .section-heading .eyebrow { justify-content: center; }
#features .section-heading h2 { width: 100%; text-align: center; }
#features .section-heading > p:last-child { max-width: 640px; margin: 0 auto; }
#features .feature-board { margin-top: 30px; }

html[data-motion="off"] .ambient,
html[data-motion="off"] .hero-editorial-art,
html[data-motion="off"] .hero-screen-frame video {
  filter: none !important;
  animation: none !important;
}
html[data-motion="off"] .ambient { opacity: 0 !important; }

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  html[data-motion="on"] .module-grid:has(.module-card:focus-within) .module-card:not(:focus-within),
  html[data-motion="on"] .module-grid:has(.module-card:hover) .module-card:not(:hover) {
    filter: blur(1.5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) .hero-editorial-art { animation: none !important; }
}
