body[data-page="home"] {
  --nt-ink: #17261e;
  --nt-muted: #56675d;
  --nt-paper: #f5f7f1;
  --nt-paper-strong: #ffffff;
  --nt-forest: #24593d;
  --nt-forest-deep: #143625;
  --nt-leaf: #d3de52;
  --nt-gold: #d7a957;
  --nt-sky: #dbe7e4;
  --nt-coral: #d57b60;
  --nt-line: rgba(23, 38, 30, 0.16);
  --nt-shell: min(1240px, calc(100vw - 48px));
  margin: 0;
  color: var(--nt-ink);
  background: var(--nt-paper);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body[data-page="home"] *,
body[data-page="home"] *::before,
body[data-page="home"] *::after {
  box-sizing: border-box;
}

body[data-page="home"] a,
body[data-page="home"] button {
  -webkit-tap-highlight-color: transparent;
}

body[data-page="home"] a:focus-visible,
body[data-page="home"] button:focus-visible {
  outline: 3px solid #f1cc66;
  outline-offset: 3px;
}

body[data-page="home"] [hidden] {
  display: none !important;
}

.nt-page {
  min-height: 100vh;
  overflow: clip;
  background: var(--nt-paper);
}

.nt-section-shell {
  width: var(--nt-shell);
  margin: 0 auto;
}

body[data-page="home"] .nt-topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: var(--nt-shell);
  min-height: 64px;
  margin: 0;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(14, 30, 22, 0.3);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.05);
  transform: translateX(-50%);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, top 220ms ease;
}

body[data-page="home"] .nt-topbar.is-scrolled {
  top: 10px;
  border-color: rgba(26, 57, 39, 0.12);
  color: var(--nt-ink);
  background: rgba(250, 251, 247, 0.94);
  box-shadow: 0 12px 34px rgba(18, 40, 28, 0.12);
}

body[data-page="home"] .nt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body[data-page="home"] .nt-brand .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .nt-topbar.is-scrolled .nt-brand .brand-mark {
  border-color: rgba(36, 89, 61, 0.14);
  background: rgba(36, 89, 61, 0.08);
}

body[data-page="home"] .nt-brand .giraffe-neck,
body[data-page="home"] .nt-brand .giraffe-head,
body[data-page="home"] .nt-brand .giraffe-muzzle {
  fill: #d7e555;
}

body[data-page="home"] .nt-topbar.is-scrolled .nt-brand .giraffe-neck,
body[data-page="home"] .nt-topbar.is-scrolled .nt-brand .giraffe-head,
body[data-page="home"] .nt-topbar.is-scrolled .nt-brand .giraffe-muzzle {
  fill: var(--nt-forest);
}

.nt-brand__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body[data-page="home"] .nt-brand__copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-page="home"] .nt-brand__copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

body[data-page="home"] .nt-topbar.is-scrolled .nt-brand__copy small {
  color: var(--nt-muted);
}

body[data-page="home"] .nt-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-page="home"] .nt-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

body[data-page="home"] .nt-nav a:hover,
body[data-page="home"] .nt-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .nt-topbar.is-scrolled .nt-nav a {
  color: #46594d;
}

body[data-page="home"] .nt-topbar.is-scrolled .nt-nav a:hover,
body[data-page="home"] .nt-topbar.is-scrolled .nt-nav a.active {
  color: var(--nt-forest-deep);
  background: rgba(36, 89, 61, 0.09);
}

.nt-icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nt-icon-button svg {
  width: 19px;
  height: 19px;
}

.nt-menu-button {
  display: none;
}

body[data-page="home"] .theme-switcher {
  position: relative;
  inset: auto;
  z-index: 2;
}

body[data-page="home"] .theme-switcher-trigger {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .nt-topbar.is-scrolled .theme-switcher-trigger {
  border-color: rgba(23, 38, 30, 0.14);
  color: var(--nt-ink);
  background: rgba(36, 89, 61, 0.06);
}

.nt-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(700px, 88svh, 920px);
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: var(--nt-forest-deep);
}

.nt-hero__media,
.nt-hero__video,
.nt-hero__poster,
.nt-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nt-hero__media {
  z-index: -2;
  overflow: hidden;
}

.nt-hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: saturate(0.9) contrast(1.02);
  transition: opacity 360ms ease;
}

.nt-hero__poster {
  z-index: -1;
  background-image: url("./assets/home/home-giraffe-hero-poster.webp");
  background-position: center center;
  background-size: cover;
}

.nt-hero.has-media-fallback .nt-hero__video {
  opacity: 0;
}

.nt-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 31, 21, 0.9) 0%, rgba(14, 35, 23, 0.7) 35%, rgba(14, 35, 23, 0.15) 68%, rgba(14, 35, 23, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 24, 16, 0.2) 0%, rgba(8, 24, 16, 0.08) 60%, rgba(8, 24, 16, 0.56) 100%);
}

.nt-signal-field {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 14%;
  display: flex;
  align-items: center;
  width: min(430px, 40vw);
  height: 1px;
  background: rgba(214, 229, 215, 0.28);
  pointer-events: none;
}

.nt-signal-field::before {
  content: "LIVE WORKFLOW";
  position: absolute;
  top: 10px;
  left: 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.nt-signal-field span {
  position: relative;
  width: 7px;
  height: 7px;
  margin-right: calc(25% - 7px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--nt-leaf);
  box-shadow: 0 0 0 4px rgba(211, 222, 82, 0.1);
}

.nt-hero__content {
  position: relative;
  z-index: 5;
  width: min(680px, calc(100vw - 48px));
  margin-left: max(24px, calc((100vw - 1240px) / 2));
  padding: 124px 0 108px;
}

.nt-eyebrow,
.nt-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.nt-eyebrow span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--nt-leaf);
}

.nt-hero h1 {
  margin: 24px 0 0;
  color: #ffffff;
  font-size: 68px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(8, 27, 17, 0.26);
}

.nt-hero__lead {
  width: min(590px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.85;
}

.nt-hero__actions {
  min-height: 48px;
  margin-top: 32px;
}

.nt-action-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nt-button--primary {
  border-color: var(--nt-leaf);
  color: #16301f;
  background: var(--nt-leaf);
  box-shadow: 0 12px 28px rgba(8, 27, 17, 0.16);
}

.nt-button--primary:hover {
  color: #10271a;
  background: #e2eb6b;
  transform: translateY(-2px);
}

.nt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nt-text-link svg,
.nt-business-actions svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.nt-text-link:hover svg,
.nt-business-actions a:hover svg {
  transform: translateX(3px);
}

.nt-account-strip {
  width: min(610px, 100%);
  min-height: 72px;
  margin-top: 30px;
}

.nt-account-strip__anonymous,
.nt-account-strip__member {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(16, 42, 28, 0.42);
  backdrop-filter: blur(12px);
}

.nt-account-strip__anonymous > svg {
  width: 25px;
  height: 25px;
  color: var(--nt-leaf);
}

.nt-account-strip__anonymous > span,
.nt-account-strip__member > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nt-account-strip strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.nt-account-strip small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.nt-account-strip b {
  color: #edf391;
}

.nt-member-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #183221;
  background: var(--nt-leaf);
  font-size: 12px;
  font-weight: 900;
}

.nt-account-strip__member button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.nt-account-strip__member button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.nt-account-strip__member button:disabled {
  color: rgba(255, 255, 255, 0.62);
  cursor: default;
}

.nt-account-strip__member button svg {
  width: 16px;
  height: 16px;
}

.nt-hero__scroll {
  position: absolute;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 34px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.nt-hero__scroll svg {
  width: 16px;
  height: 16px;
}

.nt-intro {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--nt-line);
  background: #f6f7f2;
}

.nt-intro__grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 64px;
  align-items: end;
  gap: 48px;
}

.nt-section-label {
  align-self: start;
  color: #66756c;
}

.nt-intro h2,
.nt-flow h2,
.nt-final-action h2 {
  margin: 0;
  color: var(--nt-ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0;
}

.nt-intro__grid > div > p {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: var(--nt-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.9;
}

.nt-round-link {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(36, 89, 61, 0.22);
  border-radius: 50%;
  color: var(--nt-forest);
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nt-round-link:hover {
  color: #ffffff;
  background: var(--nt-forest);
  transform: rotate(8deg);
}

.nt-round-link svg {
  width: 20px;
  height: 20px;
}

.nt-business-section {
  border-bottom: 1px solid var(--nt-line);
  background: var(--nt-paper-strong);
}

.nt-business-section--image {
  background: #e9efe4;
}

.nt-business-section--video {
  background: #f2ead9;
}

.nt-business-section--copy {
  background: #f8f8f4;
}

.nt-business-section--publish {
  background: #e7efef;
}

.nt-business-section--account {
  color: #ffffff;
  background: #1d3027;
}

.nt-business-row {
  display: grid;
  grid-template-columns: 180px minmax(340px, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 48px;
  min-height: 290px;
  padding: 54px 0;
}

.nt-business-index {
  display: grid;
  gap: 6px;
  align-self: start;
}

.nt-business-index span {
  color: var(--nt-forest);
  font-family: Arial, sans-serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 1;
}

.nt-business-index small {
  color: #718077;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.nt-business-copy > p {
  margin: 0 0 10px;
  color: var(--nt-forest);
  font-size: 12px;
  font-weight: 900;
}

.nt-business-copy h2 {
  margin: 0;
  color: var(--nt-ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.nt-business-copy > span {
  display: block;
  width: min(600px, 100%);
  margin-top: 16px;
  color: var(--nt-muted);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.8;
}

.nt-business-actions {
  display: grid;
  border-top: 1px solid var(--nt-line);
}

.nt-business-actions a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  border-bottom: 1px solid var(--nt-line);
  color: var(--nt-ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.nt-business-section--account .nt-business-index span,
.nt-business-section--account .nt-business-copy > p {
  color: var(--nt-leaf);
}

.nt-business-section--account .nt-business-index small,
.nt-business-section--account .nt-business-copy > span {
  color: rgba(255, 255, 255, 0.62);
}

.nt-business-section--account .nt-business-copy h2,
.nt-business-section--account .nt-business-actions a {
  color: #ffffff;
}

.nt-business-section--account .nt-business-actions,
.nt-business-section--account .nt-business-actions a {
  border-color: rgba(255, 255, 255, 0.14);
}

.nt-flow {
  padding: 98px 0;
  background: #f6f7f2;
}

.nt-flow__head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

.nt-flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--nt-line);
  list-style: none;
}

.nt-flow__steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 146px;
  padding: 22px 20px 0 0;
  border-right: 1px solid var(--nt-line);
}

.nt-flow__steps li:last-child {
  border-right: 0;
}

.nt-flow__steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nt-forest);
}

.nt-flow__steps span {
  color: #718077;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.nt-flow__steps strong {
  max-width: 150px;
  color: var(--nt-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.nt-final-action {
  padding: 86px 0;
  color: #ffffff;
  background: #c96f57;
}

.nt-final-action__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.nt-final-action .nt-section-label {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.nt-final-action h2 {
  color: #ffffff;
}

.nt-final-action span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.nt-final-action .nt-button--primary {
  flex: 0 0 auto;
  border-color: #ffffff;
  color: #27332b;
  background: #ffffff;
}

.nt-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #13241b;
}

.nt-footer .nt-section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nt-footer span {
  font-size: 12px;
  font-weight: 800;
}

.nt-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nt-footer a {
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.nt-footer a:hover {
  color: #ffffff;
}

.nt-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  max-width: min(380px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  background: #1d3027;
  box-shadow: 0 18px 42px rgba(15, 35, 23, 0.2);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nt-toast.is-danger {
  background: #8a4135;
}

.nt-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-reveal {
  opacity: 1;
  transform: none;
}

.js-motion-ready .home-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-motion-ready .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  body[data-page="home"] {
    --nt-shell: min(100% - 36px, 980px);
  }

  body[data-page="home"] .nt-topbar {
    grid-template-columns: minmax(200px, 1fr) auto auto;
  }

  body[data-page="home"] .nt-nav a {
    padding: 0 10px;
  }

  .nt-business-row {
    grid-template-columns: 120px minmax(300px, 1fr) minmax(250px, 330px);
    gap: 32px;
  }

  .nt-intro__grid,
  .nt-flow__head {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 32px;
  }

  .nt-flow__head {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  body[data-page="home"] {
    --nt-shell: calc(100vw - 28px);
  }

  body[data-page="home"] .nt-topbar {
    top: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 58px;
    padding: 7px 8px 7px 10px;
  }

  body[data-page="home"] .nt-brand .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .nt-menu-button {
    display: inline-grid;
    border-color: rgba(255, 255, 255, 0.18);
  }

  body[data-page="home"] .nt-topbar.is-scrolled .nt-menu-button {
    border-color: rgba(23, 38, 30, 0.14);
  }

  body[data-page="home"] .nt-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(300px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid rgba(23, 38, 30, 0.12);
    border-radius: 8px;
    background: rgba(250, 251, 247, 0.98);
    box-shadow: 0 20px 50px rgba(16, 36, 24, 0.16);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body[data-page="home"] .nt-nav.is-open {
    display: grid;
  }

  body[data-page="home"] .nt-nav a,
  body[data-page="home"] .nt-topbar .nt-nav a {
    justify-content: flex-start;
    color: var(--nt-ink);
  }

  body[data-page="home"] .nt-nav a:hover,
  body[data-page="home"] .nt-nav a.active {
    color: var(--nt-forest-deep);
    background: rgba(36, 89, 61, 0.08);
  }

  body[data-page="home"] .nt-nav > .referral-nav-entry {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    border-color: #c3cd42;
    color: #173d29;
    background: #eef3c6;
  }

  body[data-page="home"] .nt-nav > .referral-nav-entry > span:last-child {
    display: block;
  }

  body[data-page="home"] .nt-nav > .referral-nav-entry strong {
    color: #173d29;
  }

  .nt-hero__content {
    width: min(620px, calc(100vw - 40px));
    margin-left: 20px;
  }

  .nt-hero h1 {
    font-size: 54px;
  }

  .nt-intro {
    padding: 76px 0 68px;
  }

  .nt-intro__grid {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .nt-intro__grid > .nt-section-label {
    grid-column: 1 / -1;
  }

  .nt-intro h2,
  .nt-flow h2,
  .nt-final-action h2 {
    font-size: 34px;
  }

  .nt-business-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
    padding: 54px 0;
  }

  .nt-business-actions {
    grid-column: 2;
  }

  .nt-business-index span {
    font-size: 48px;
  }

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

  .nt-flow__steps li {
    border-bottom: 1px solid var(--nt-line);
  }

  .nt-final-action__inner {
    align-items: start;
  }
}

@media (max-width: 700px) {
  body[data-page="home"] .theme-switcher-trigger {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  body[data-page="home"] .theme-switcher-trigger > span:not(.theme-switcher-swatches):not(.theme-switcher-chevron) {
    display: none;
  }

  .nt-hero {
    min-height: 88svh;
  }

  .nt-hero__video,
  .nt-hero__poster {
    object-position: 62% center;
    background-position: 62% center;
  }

  .nt-hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 31, 21, 0.86) 0%, rgba(14, 35, 23, 0.54) 62%, rgba(14, 35, 23, 0.18) 100%),
      linear-gradient(180deg, rgba(8, 24, 16, 0.2) 0%, rgba(8, 24, 16, 0.14) 52%, rgba(8, 24, 16, 0.72) 100%);
  }

  .nt-hero__content {
    align-self: end;
    width: calc(100vw - 36px);
    margin: 0 18px;
    padding: 110px 0 78px;
  }

  .nt-eyebrow {
    font-size: 9px;
  }

  .nt-hero h1 {
    margin-top: 18px;
    font-size: 43px;
    line-height: 1.12;
  }

  .nt-hero__lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  .nt-hero__actions {
    margin-top: 24px;
  }

  .nt-action-group {
    gap: 13px;
  }

  .nt-button {
    min-height: 46px;
    padding: 0 17px;
  }

  .nt-account-strip {
    margin-top: 20px;
  }

  .nt-account-strip__anonymous,
  .nt-account-strip__member {
    min-height: 64px;
    padding: 9px 10px;
  }

  .nt-account-strip__member button {
    width: 42px;
    padding: 0;
  }

  .nt-account-strip__member button span {
    display: none;
  }

  .nt-signal-field {
    display: none;
  }

  .nt-hero__scroll {
    right: 18px;
    bottom: 20px;
  }

  .nt-hero__scroll span {
    display: none;
  }

  .nt-intro__grid {
    grid-template-columns: 1fr;
  }

  .nt-round-link {
    display: none;
  }

  .nt-intro h2,
  .nt-flow h2,
  .nt-final-action h2 {
    font-size: 30px;
  }

  .nt-business-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 46px 0;
  }

  .nt-business-index {
    display: flex;
    align-items: baseline;
    gap: 9px;
  }

  .nt-business-index span {
    font-size: 36px;
  }

  .nt-business-copy h2 {
    font-size: 26px;
  }

  .nt-business-actions {
    grid-column: auto;
  }

  .nt-flow {
    padding: 72px 0;
  }

  .nt-flow__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nt-flow__steps {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .nt-flow__steps li {
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 14px 0;
    border-right: 0;
  }

  .nt-flow__steps li::before {
    top: -5px;
  }

  .nt-flow__steps strong {
    max-width: none;
  }

  .nt-final-action {
    padding: 66px 0;
  }

  .nt-final-action__inner {
    display: grid;
  }

  .nt-final-action .nt-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  body[data-page="home"] {
    --nt-shell: calc(100vw - 24px);
  }

  .nt-brand__copy small {
    display: none;
  }

  body[data-page="home"] .nt-brand__copy strong {
    font-size: 14px;
  }

  .nt-hero__content {
    width: calc(100vw - 28px);
    margin: 0 14px;
  }

  .nt-hero h1 {
    font-size: 38px;
  }

  .nt-hero__lead {
    font-size: 14px;
  }

  .nt-text-link {
    font-size: 12px;
  }

  .nt-account-strip strong {
    font-size: 12px;
  }

  .nt-account-strip small {
    font-size: 10px;
  }

  .nt-footer .nt-section-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *,
  body[data-page="home"] *::before,
  body[data-page="home"] *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nt-hero__video {
    display: none;
  }

  .js-motion-ready .home-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Local homepage preview: the immersive galaxy is intentionally scoped to home only. */
body[data-page="home"] {
  --galaxy-ink: #111827;
  --galaxy-muted: #667085;
  --galaxy-pearl: #f8fbff;
  --galaxy-line: rgba(29, 43, 73, 0.12);
  --galaxy-aqua: #17c6c6;
  --galaxy-violet: #8269ec;
  --galaxy-coral: #ff7162;
  color: var(--galaxy-ink);
  background:
    linear-gradient(130deg, rgba(23, 198, 198, 0.08), transparent 28%),
    linear-gradient(235deg, rgba(130, 105, 236, 0.07), transparent 34%),
    var(--galaxy-pearl);
}

body[data-page="home"] .nt-page {
  overflow: clip;
  background: transparent;
}

body[data-page="home"] .nt-topbar {
  border-color: rgba(20, 32, 60, 0.09);
  color: var(--galaxy-ink);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 34px rgba(41, 60, 102, 0.08);
  backdrop-filter: blur(18px);
}

body[data-page="home"] .nt-brand__copy strong,
body[data-page="home"] .nt-brand__copy small,
body[data-page="home"] .nt-nav a {
  color: var(--galaxy-ink);
}

body[data-page="home"] .nt-nav a:hover,
body[data-page="home"] .nt-nav a.active {
  color: #3a2e85;
  background: rgba(130, 105, 236, 0.1);
}

.galaxy-hero {
  position: relative;
  display: grid;
  min-height: max(680px, 100svh);
  padding: 122px 0 76px;
  isolation: isolate;
}

.galaxy-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(26, 43, 77, 0.16) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.22;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.galaxy-hero__halo {
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -10%;
  width: min(760px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 198, 198, 0.16), rgba(130, 105, 236, 0.08) 36%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.galaxy-hero__shell {
  width: var(--nt-shell);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(44px, 7vw, 116px);
}

.galaxy-hero__copy {
  max-width: 600px;
}

.galaxy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #55647b;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.galaxy-kicker span {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--galaxy-aqua), var(--galaxy-violet));
}

.galaxy-hero h1 {
  max-width: 690px;
  margin: 21px 0 0;
  color: var(--galaxy-ink);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.galaxy-hero__title-line {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82em;
}

.galaxy-hero h1 em {
  display: inline-block;
  max-width: 100%;
  font-size: 42px;
  font-style: normal;
  white-space: nowrap;
  color: #5244c6;
  background: linear-gradient(95deg, #00aeb5 0%, #6551d5 42%, #fa7061 92%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.galaxy-hero__lead {
  max-width: 515px;
  margin: 25px 0 0;
  color: var(--galaxy-muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.galaxy-hero__actions,
.galaxy-action-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.galaxy-hero__actions {
  margin-top: 31px;
}

.galaxy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--galaxy-line);
  border-radius: 7px;
  color: var(--galaxy-ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(37, 54, 96, 0.06);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.galaxy-button svg {
  width: 17px;
  height: 17px;
}

.galaxy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(50, 63, 110, 0.14);
}

.galaxy-button--primary {
  border-color: transparent;
  color: #ffffff;
  background: #232348;
}

.galaxy-button--primary:hover {
  background: #353069;
}

.galaxy-account-strip {
  display: inline-flex;
  width: min(100%, 470px);
  margin-top: 27px;
}

.galaxy-account-strip__anonymous,
.galaxy-account-strip__member {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 1px solid rgba(23, 42, 77, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(31, 47, 87, 0.05);
}

.galaxy-account-strip__anonymous > svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #5a4fc0;
}

.galaxy-account-strip span:not(.nt-member-avatar) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.galaxy-account-strip strong {
  overflow: hidden;
  color: var(--galaxy-ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.galaxy-account-strip small {
  color: #77839a;
  font-size: 11px;
  font-weight: 650;
}

.galaxy-account-strip__member button {
  display: inline-flex;
  min-height: 36px;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #29305a;
  background: #e6e5ff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.galaxy-window {
  --galaxy-tilt-x: 0deg;
  --galaxy-tilt-y: 0deg;
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(30, 34, 66, 0.98), rgba(21, 29, 54, 0.99) 55%, rgba(39, 24, 65, 0.99));
  box-shadow: 0 32px 74px rgba(37, 45, 98, 0.24), inset 0 1px rgba(255, 255, 255, 0.16);
  transform: perspective(1300px) rotateX(var(--galaxy-tilt-x)) rotateY(var(--galaxy-tilt-y));
  transform-style: preserve-3d;
  transition: transform 150ms ease-out, box-shadow 200ms ease;
}

.galaxy-window:hover {
  box-shadow: 0 38px 84px rgba(37, 45, 98, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
}

.galaxy-window::before {
  position: absolute;
  inset: 42px 0 0;
  background:
    radial-gradient(circle at 52% 45%, rgba(31, 219, 208, 0.18), transparent 24%),
    radial-gradient(circle at 26% 80%, rgba(255, 113, 98, 0.13), transparent 22%),
    radial-gradient(circle at 82% 21%, rgba(130, 105, 236, 0.2), transparent 27%);
  content: "";
}

.galaxy-window__bar {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 43px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(8, 13, 32, 0.35);
  font-size: 12px;
}

.galaxy-window__bar strong {
  font-weight: 800;
}

.galaxy-window__signal,
.galaxy-window__status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.galaxy-window__signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66708d;
}

.galaxy-window__signal i:first-child { background: #ff7f70; }
.galaxy-window__signal i:nth-child(2) { background: #ffd276; }
.galaxy-window__signal i:last-child { background: #3bd2bc; }

.galaxy-window__status {
  justify-self: end;
  color: rgba(232, 255, 252, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.galaxy-window__status b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3bd2bc;
  box-shadow: 0 0 0 4px rgba(59, 210, 188, 0.12);
}

.galaxy-window__scene {
  position: relative;
  min-height: 467px;
  transform-style: preserve-3d;
}

.galaxy-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(178, 232, 255, 0.23);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  transform-origin: center;
  will-change: transform;
}

.galaxy-orbit--outer {
  width: min(92%, 530px);
  height: 260px;
  animation: galaxy-orbit-spin 42s linear infinite;
}

.galaxy-orbit--inner {
  width: min(64%, 330px);
  height: 166px;
  border-color: rgba(255, 162, 212, 0.26);
  animation: galaxy-orbit-spin 28s linear infinite reverse;
}

@keyframes galaxy-orbit-spin {
  from { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); }
}

@keyframes galaxy-tool-ring-spin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes galaxy-code-cursor {
  0%, 42% { opacity: 1; }
  43%, 100% { opacity: 0.18; }
}

.galaxy-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 94px;
  height: 94px;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(150deg, rgba(61, 226, 221, 0.9), rgba(111, 80, 215, 0.88) 58%, rgba(255, 112, 98, 0.88));
  box-shadow: 0 0 0 13px rgba(93, 109, 243, 0.1), 0 0 70px rgba(92, 209, 218, 0.45);
  text-align: center;
  transform: translate(-50%, -50%) translateZ(52px);
}

.galaxy-core svg {
  width: 24px;
  height: 24px;
  margin: auto;
}

.galaxy-core span {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.galaxy-tool-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  animation: galaxy-tool-ring-spin 48s linear infinite;
  will-change: transform;
}

.galaxy-window:hover .galaxy-orbit,
.galaxy-window:hover .galaxy-tool-ring,
.galaxy-window:focus-within .galaxy-orbit,
.galaxy-window:focus-within .galaxy-tool-ring {
  animation-play-state: paused;
}

.galaxy-code-editor {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(46%, 252px);
  min-height: 151px;
  overflow: hidden;
  border: 1px solid rgba(196, 222, 255, 0.28);
  border-radius: 7px;
  color: #e6efff;
  background: rgba(8, 17, 39, 0.8);
  box-shadow: 0 18px 44px rgba(0, 4, 22, 0.4), 0 0 0 8px rgba(94, 91, 217, 0.06);
  font-family: Consolas, "Cascadia Mono", monospace;
  transform: translate(-50%, -50%) translateZ(54px);
}

.galaxy-code-editor__tabs { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; padding: 0 10px; border-bottom: 1px solid rgba(196, 222, 255, 0.14); color: #bcd0f5; background: rgba(31, 44, 83, 0.46); font-size: 8px; font-weight: 800; }
.galaxy-code-editor__tabs span { display: inline-flex; align-items: center; min-width: 0; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.galaxy-code-editor__tabs svg { width: 12px; height: 12px; color: #7ff4dd; }.galaxy-code-editor__tabs b { color: #7ff4dd; font-size: 7px; }
.galaxy-code-editor__content { display: grid; gap: 5px; padding: 12px 11px 8px; }.galaxy-code-editor__content p { display: flex; gap: 7px; min-width: 0; margin: 0; color: #dce7ff; font-size: 8px; line-height: 1.25; white-space: nowrap; }.galaxy-code-editor__content em { width: 13px; flex: 0 0 13px; color: #687ca9; font-style: normal; text-align: right; }.code-keyword { color: #ab9cff; }.code-string { color: #89dfb7; }.code-function { color: #7dd9ff; }.code-comment { color: #8495ba; }
.galaxy-code-editor__status { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-top: 1px solid rgba(196, 222, 255, 0.12); color: #98a9cd; font-size: 7px; }.galaxy-code-editor__status span { display: inline-flex; align-items: center; gap: 5px; }.galaxy-code-editor__status i { width: 5px; height: 5px; border-radius: 50%; background: #7ff4dd; box-shadow: 0 0 0 3px rgba(127, 244, 221, 0.13); animation: galaxy-code-cursor 1.1s steps(2, end) infinite; }.galaxy-code-editor__status b { color: #cfdafe; }

.galaxy-tool {
  position: absolute;
  display: grid;
  width: 108px;
  min-height: 78px;
  place-items: center;
  gap: 7px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), 0 13px 24px rgba(1, 7, 26, 0.2);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.galaxy-tool svg {
  width: 20px;
  height: 20px;
}

.galaxy-tool:hover,
.galaxy-tool:focus-visible {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.23);
  outline: none;
  transform: translateY(-6px) translateZ(36px) scale(1.05);
}

.galaxy-tool--main { top: 12%; left: 9%; color: #bafff5; transform: translateZ(26px) rotate(-5deg); }
.galaxy-tool--video { top: 8%; right: 11%; color: #eadcff; transform: translateZ(18px) rotate(5deg); }
.galaxy-tool--cutout { top: 36%; left: 2%; color: #ffe0b6; transform: translateZ(14px) rotate(-8deg); }
.galaxy-tool--compress { top: 38%; right: 2%; color: #d1f0ff; transform: translateZ(22px) rotate(7deg); }
.galaxy-tool--copy { bottom: 9%; left: 13%; color: #ffd0cb; transform: translateZ(18px) rotate(4deg); }
.galaxy-tool--sku { bottom: 4%; left: 37%; color: #e5ddff; transform: translateZ(27px) rotate(-2deg); }
.galaxy-tool--listing { bottom: 9%; right: 13%; color: #c5ffe6; transform: translateZ(20px) rotate(-4deg); }
.galaxy-tool--roi { top: 22%; left: 39%; color: #fff2b8; transform: translateZ(45px) rotate(2deg); }

.galaxy-particle {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #91fff3;
  box-shadow: 0 0 18px currentColor;
}

.particle-a { top: 20%; left: 31%; color: #91fff3; }
.particle-b { right: 24%; bottom: 22%; color: #ffa9a0; background: currentColor; }
.particle-c { top: 53%; left: 22%; color: #cfc4ff; background: currentColor; }

.galaxy-window__caption {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 13px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
}

.galaxy-window__caption b {
  color: #91fff3;
}

.galaxy-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5e6a82;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transform: translateX(-50%);
}

.galaxy-scroll svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1080px) {
  .galaxy-hero__shell {
    grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
    gap: 36px;
  }

  .galaxy-window {
    min-height: 470px;
  }

  .galaxy-window__scene {
    min-height: 427px;
  }

  .galaxy-tool {
    width: 96px;
    min-height: 72px;
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  .galaxy-hero {
    padding-top: 112px;
  }

  .galaxy-hero__shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .galaxy-hero__copy {
    max-width: 650px;
  }

  .galaxy-window {
    width: min(100%, 650px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .galaxy-hero {
    min-height: auto;
    padding: 98px 0 72px;
  }

  .galaxy-hero::before {
    opacity: 0.13;
  }

  .galaxy-hero__halo {
    top: 33%;
    right: -42%;
    width: 130vw;
  }

  .galaxy-hero__shell {
    width: calc(100vw - 32px);
    gap: 34px;
  }

  .galaxy-kicker {
    font-size: 9px;
  }

  .galaxy-hero h1 {
    font-size: clamp(38px, 10vw, 55px);
  }

  .galaxy-hero__title-line {
    font-size: 0.76em;
  }

  .galaxy-hero h1 em {
    font-size: 24px;
  }

  .galaxy-hero__lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .galaxy-button {
    flex: 1 1 170px;
    min-height: 46px;
    padding: 0 13px;
    font-size: 13px;
  }

  .galaxy-account-strip {
    width: 100%;
  }

  .galaxy-account-strip__member button span {
    display: none;
  }

  .galaxy-account-strip__member button {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .galaxy-window {
    min-height: 456px;
    transform: none;
  }

  .galaxy-window__scene {
    min-height: 413px;
  }

  .galaxy-tool-ring {
    display: grid;
    inset: 55px 13px 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 9px;
    animation: none;
  }

  .galaxy-tool,
  .galaxy-tool--main,
  .galaxy-tool--video,
  .galaxy-tool--cutout,
  .galaxy-tool--compress,
  .galaxy-tool--copy,
  .galaxy-tool--sku,
  .galaxy-tool--listing,
  .galaxy-tool--roi {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    min-height: 64px;
    transform: none;
  }

  .galaxy-orbit,
  .galaxy-core,
  .galaxy-particle {
    display: none;
  }

  .galaxy-code-editor { width: min(56%, 242px); min-height: 142px; }

  .galaxy-window__caption {
    bottom: 12px;
  }

  .galaxy-scroll {
    display: none;
  }
}

@media (max-width: 420px) {
  .galaxy-action-group {
    width: 100%;
  }

  .galaxy-button {
    flex-basis: 100%;
  }

  .galaxy-tool-ring {
    inset: 54px 10px 38px;
    gap: 7px;
  }

  .galaxy-tool {
    min-height: 60px;
    padding: 7px 5px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galaxy-window,
  .galaxy-tool,
  .galaxy-orbit,
  .galaxy-core,
  .galaxy-tool-ring,
  .galaxy-code-editor__status i {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  .galaxy-orbit {
    opacity: 0.42;
  }

  .galaxy-particle {
    display: none;
  }
}

/* Homepage code workspace: a full editor surface, deliberately free of orbiting cards. */
.code-hero-editor {
  position: absolute;
  inset: 14px;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(166, 196, 238, 0.2);
  border-radius: 7px;
  color: #e6efff;
  background: #0b1223;
  box-shadow: 0 22px 42px rgba(0, 4, 22, 0.32);
  font-family: Consolas, "Cascadia Mono", monospace;
}

.code-hero-editor__tabs,
.code-hero-editor__terminal {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(166, 196, 238, 0.13);
  color: #aebddd;
  background: #121c33;
  font-size: 10px;
  font-weight: 700;
}

.code-hero-editor__tabs span,
.code-hero-editor__terminal span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.code-hero-editor__tabs svg { width: 14px; height: 14px; color: #82e6d6; }
.code-hero-editor__tabs b { color: #82e6d6; font-size: 9px; }

.code-hero-editor__content {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(5px, 0.85vh, 8px);
  padding: 20px clamp(14px, 2.4vw, 26px);
  overflow: hidden;
}

.code-hero-editor__line {
  display: flex;
  min-width: 0;
  gap: clamp(9px, 1.5vw, 14px);
  margin: 0;
  color: #e2eaff;
  font-size: clamp(9px, 0.98vw, 12px);
  line-height: 1.32;
  white-space: nowrap;
}

.code-hero-editor__line em {
  width: 22px;
  flex: 0 0 22px;
  color: #607298;
  font-style: normal;
  text-align: right;
  user-select: none;
}

.code-hero-editor__line > span {
  display: block;
  width: 100%;
  overflow: hidden;
  animation: code-hero-line-focus 12s ease-in-out infinite;
}

.code-hero-editor__line:nth-child(1) > span { animation-delay: 0s; }
.code-hero-editor__line:nth-child(2) > span { animation-delay: 0.72s; }
.code-hero-editor__line:nth-child(3) > span { animation-delay: 1.44s; }
.code-hero-editor__line:nth-child(4) > span { animation-delay: 2.16s; }
.code-hero-editor__line:nth-child(5) > span { animation-delay: 2.88s; }
.code-hero-editor__line:nth-child(6) > span { animation-delay: 3.6s; }
.code-hero-editor__line:nth-child(7) > span { animation-delay: 4.32s; }
.code-hero-editor__line:nth-child(8) > span { animation-delay: 5.04s; }
.code-hero-editor__line:nth-child(9) > span { animation-delay: 5.76s; }
.code-hero-editor__line:nth-child(10) > span { animation-delay: 6.48s; }
.code-hero-editor__line:nth-child(11) > span { animation-delay: 7.2s; }
.code-hero-editor__line:nth-child(12) > span { animation-delay: 7.92s; }
.code-hero-editor__line:nth-child(13) > span { animation-delay: 8.64s; }

.code-hero-editor__line--indent > span { padding-left: 18px; }

.code-keyword { color: #d2a8ff; font-weight: 700; }
.code-type { color: #ff91c8; }
.code-string { color: #8ee6b5; }
.code-function { color: #68d8ff; }
.code-comment { color: #8799bd; font-style: italic; }
.code-number { color: #ffc777; }
.code-boolean { color: #ff8f70; }

.code-hero-editor__cursor {
  display: block;
  width: 9px;
  height: 1.25em;
  margin-left: 40px;
  background: #8de9db;
  box-shadow: 0 0 15px rgba(141, 233, 219, 0.55);
  animation: code-hero-cursor 900ms steps(2, end) infinite;
}

.code-hero-editor__terminal {
  min-height: 35px;
  border-top: 1px solid rgba(166, 196, 238, 0.13);
  border-bottom: 0;
  color: #89a0c5;
  background: #0d1629;
  font-size: 9px;
}

.code-hero-editor__terminal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ee3bd;
  box-shadow: 0 0 0 4px rgba(126, 227, 189, 0.1);
}

.code-hero-editor__terminal b { color: #cad8ee; }

@keyframes code-hero-line-focus {
  0%, 100% { opacity: 0.76; }
  8%, 18% { opacity: 1; filter: brightness(1.14); }
  28%, 92% { opacity: 0.9; filter: none; }
}

@keyframes code-hero-cursor {
  0%, 44% { opacity: 1; }
  45%, 100% { opacity: 0.08; }
}

@media (max-width: 1080px) {
  .code-hero-editor__content { padding: 26px 22px; }
}

@media (max-width: 760px) {
  .code-hero-editor { inset: 11px; }
  .code-hero-editor__content { align-content: center; gap: 5px; padding: 14px 10px; }
  .code-hero-editor__line { gap: 7px; font-size: 7px; }
  .code-hero-editor__line em { width: 18px; flex-basis: 18px; }
  .code-hero-editor__cursor { margin-left: 28px; }
}

@media (max-width: 420px) {
  .code-hero-editor__terminal b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .code-hero-editor__line,
  .code-hero-editor__cursor {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  .code-hero-editor__line > span { width: 100%; }
}
