:root {
  --ht-bg: #070b18;
  --ht-bg-2: #0d1630;
  --ht-surface: rgba(13, 20, 41, 0.82);
  --ht-surface-strong: rgba(14, 23, 48, 0.94);
  --ht-border: rgba(113, 213, 255, 0.18);
  --ht-border-strong: rgba(247, 178, 103, 0.34);
  --ht-text: #eef4ff;
  --ht-muted: #b9c8e0;
  --ht-cyan: #54cbff;
  --ht-cyan-soft: rgba(84, 203, 255, 0.16);
  --ht-amber: #f7b267;
  --ht-amber-soft: rgba(247, 178, 103, 0.12);
  --ht-success: #9effc7;
  --ht-grid: rgba(148, 201, 255, 0.06);
  --font-display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --brand-logo-default-size: clamp(1.6rem, 1.95vw, 1.9rem);
  --brand-logo-scale: 3.5;
  --pui-grad-from: #48d7ff;
  --pui-grad-mid: #3da8ff;
  --pui-grad-to: #f7b267;
  --pui-wave-text: #d9ecff;
  --pui-wave-text-hover: #f5fbff;
  --pui-wave-border: rgba(84, 203, 255, 0.28);
  --pui-wave-border-hover: rgba(84, 203, 255, 0.44);
  --pui-glow: 0 0 26px rgba(72, 215, 255, 0.22);
  --pui-glow-strong: 0 0 52px rgba(72, 215, 255, 0.28), 0 0 96px rgba(247, 178, 103, 0.16);
  --pui-button-dark-fill: linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(8, 13, 24, 0.94));
  --pui-button-dark-popover-fill: linear-gradient(180deg, rgba(9, 16, 28, 0.98), rgba(7, 11, 20, 0.98));
  --pui-button-dark-border: rgba(84, 203, 255, 0.16);
  --pui-shimmer-sweep: rgba(255, 255, 255, 0.34);
  --pui-shimmer-sweep-edge: rgba(255, 255, 255, 0.1);
}

@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@property --glow-x {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 50%;
}

@property --glow-y {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

html[data-theme="light"] {
  --ht-bg: #f4f8ff;
  --ht-bg-2: #dbeaff;
  --ht-surface: rgba(255, 255, 255, 0.85);
  --ht-surface-strong: rgba(255, 255, 255, 0.96);
  --ht-border: rgba(9, 54, 122, 0.14);
  --ht-border-strong: rgba(194, 104, 15, 0.3);
  --ht-text: #081426;
  --ht-muted: #4f6686;
  --ht-cyan: #0d80b8;
  --ht-cyan-soft: rgba(13, 128, 184, 0.12);
  --ht-amber: #c8680f;
  --ht-amber-soft: rgba(200, 104, 15, 0.12);
  --ht-success: #0f8b56;
  --ht-grid: rgba(35, 90, 167, 0.08);
  --pui-grad-from: #0c8dd6;
  --pui-grad-mid: #2f93f6;
  --pui-grad-to: #d67a12;
  --pui-wave-text: #164776;
  --pui-wave-text-hover: #0b2445;
  --pui-wave-border: rgba(32, 105, 184, 0.3);
  --pui-wave-border-hover: rgba(32, 105, 184, 0.48);
  --pui-glow: 0 0 24px rgba(32, 105, 184, 0.1);
  --pui-glow-strong: 0 0 48px rgba(32, 105, 184, 0.14), 0 0 80px rgba(214, 122, 18, 0.1);
  --pui-button-dark-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.96));
  --pui-button-dark-popover-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
  --pui-button-dark-border: rgba(12, 86, 152, 0.14);
  --pui-shimmer-sweep: rgba(6, 25, 49, 0.22);
  --pui-shimmer-sweep-edge: rgba(6, 25, 49, 0.06);
}

* {
  box-sizing: border-box;
}

html, body, #root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ht-text);
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(247, 178, 103, 0.18), transparent 26%),
    linear-gradient(180deg, var(--ht-bg), var(--ht-bg-2));
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ht-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ht-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 68%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell,
.app-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.site-header,
.app-topbar,
.app-main {
  position: relative;
}

.page-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem clamp(1rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(8, 12, 22, 0.82), rgba(10, 16, 30, 0.72));
  position: sticky;
  top: 0.75rem;
  z-index: 9999;
  isolation: isolate;
  contain: paint;
  overflow: clip;
  backface-visibility: hidden;
  transform: translateZ(0);
  margin: 0.75rem auto 0;
  width: min(1260px, calc(100vw - 2rem));
  border-radius: 1.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 60px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  will-change: transform;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(84, 203, 255, 0.18), transparent 30%),
    linear-gradient(315deg, rgba(247, 178, 103, 0.16), transparent 34%);
  opacity: 0.85;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header--hidden {
  transform: translate3d(0, calc(-100% - 3rem), 0) scale(0.985);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  min-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-width: 0;
  clip-path: inset(0 0 100% 0 round 1.6rem);
  backdrop-filter: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  overflow: hidden;
  content-visibility: hidden;
}

.site-header--hidden::before {
  opacity: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1 1 24rem;
  min-width: 0;
}

.brand-mark__image {
  width: calc(var(--brand-logo-default-size) * var(--brand-logo-scale));
  height: calc(var(--brand-logo-default-size) * var(--brand-logo-scale));
  min-width: 0;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(84, 203, 255, 0.3));
  max-width: none;
}

.app-sidebar__brand-image {
  width: 5.4rem;
  height: 5.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(84, 203, 255, 0.24));
}

.brand-mark__copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.brand-mark strong,
.app-sidebar__brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 2.35vw, 1.98rem);
  line-height: 0.96;
}

.brand-mark small,
.app-sidebar__brand p,
.site-footer__brand p,
.app-topbar__user span {
  display: block;
  color: var(--ht-muted);
}

.brand-mark small {
  font-size: 1rem;
  max-width: 29rem;
}

.site-nav,
.site-header__actions,
.button-row,
.feature-band,
.metric-grid,
.surface-matrix,
.card-grid,
.split-grid,
.panel-grid,
.app-nav,
.site-footer__links {
  display: flex;
  gap: 1rem;
}

.site-nav {
  flex: 1 1 26rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.site-header__actions {
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.button-row {
  flex-wrap: wrap;
}

.button-row > * {
  min-width: 0;
}

.site-nav__link,
.app-nav__link {
  padding: 0.7rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ht-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  transition: 160ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active,
.app-nav__link:hover,
.app-nav__link.is-active {
  color: var(--ht-text);
  border-color: var(--ht-border);
  background: var(--ht-cyan-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 0.58rem;
  min-height: 3rem;
  padding: 0.88rem 1.22rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  text-align: center;
  white-space: nowrap;
  text-wrap: nowrap;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.22) 42%, transparent 70%);
  opacity: 0.55;
  transform: translateX(-140%);
  transition: transform 240ms ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button.pui-btn {
  font-family: var(--font-body);
  background: var(--pui-button-dark-fill);
  border-color: var(--pui-button-dark-border);
  box-shadow:
    0 16px 34px rgba(8, 14, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button.pui-btn > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  white-space: nowrap;
  line-height: 1.05;
}

.button svg {
  flex: none;
  display: block;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--ht-text);
  border-color: rgba(84, 203, 255, 0.18);
  box-shadow:
    0 18px 40px rgba(33, 121, 199, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.button--ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-color: var(--ht-border);
  color: var(--ht-text);
  backdrop-filter: blur(12px);
}

.button--secondary {
  border-color: rgba(84, 203, 255, 0.3);
  color: var(--ht-text);
  box-shadow:
    0 14px 30px rgba(84, 203, 255, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.button.pui-btn--glow {
  color: var(--ht-text);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(84, 203, 255, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(76, 212, 255, 0.2), rgba(12, 20, 36, 0.96) 42%, rgba(247, 178, 103, 0.22));
  border-color: rgba(84, 203, 255, 0.28);
  box-shadow: var(--pui-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(120%);
}

.button.pui-btn--glow::before {
  opacity: 0.72;
  filter: blur(14px);
}

.button.pui-btn--wave {
  min-height: 3rem;
  padding-top: 0.72rem;
  padding-bottom: 0.78rem;
  color: var(--pui-wave-text);
  background:
    linear-gradient(135deg, rgba(84, 203, 255, 0.18), rgba(9, 16, 28, 0.96) 42%, rgba(247, 178, 103, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border-color: var(--pui-wave-border);
  box-shadow:
    0 14px 28px rgba(8, 14, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button.pui-btn--ghost:hover {
  border-color: rgba(84, 203, 255, 0.32);
}

html[data-theme="light"] .button--primary {
  color: #081426;
}

html[data-theme="light"] .button--ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(240, 247, 255, 0.9));
}

html[data-theme="light"] .button--secondary {
  color: #093055;
}

html[data-theme="light"] .button.pui-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.98));
  border-color: rgba(18, 82, 145, 0.14);
  box-shadow:
    0 18px 34px rgba(26, 78, 132, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .button.pui-btn--glow {
  color: #081426;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(69, 178, 233, 0.28), transparent 40%),
    linear-gradient(135deg, rgba(76, 197, 255, 0.24), rgba(255, 255, 255, 0.98) 42%, rgba(247, 178, 103, 0.22));
  border-color: rgba(24, 96, 165, 0.24);
  box-shadow:
    0 24px 46px rgba(28, 92, 151, 0.12),
    0 0 40px rgba(96, 196, 245, 0.12);
}

html[data-theme="light"] .button.pui-btn--wave {
  color: #11355b;
  background:
    linear-gradient(135deg, rgba(82, 195, 248, 0.14), rgba(255, 255, 255, 0.98) 38%, rgba(247, 178, 103, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 255, 0.94));
  border-color: rgba(26, 96, 164, 0.24);
}

.theme-toggle {
  min-width: 7.15rem;
  padding-inline: 0.95rem;
}

.theme-toggle__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  white-space: nowrap;
  width: auto;
}

.theme-toggle__icon,
.theme-toggle__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-toggle__icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.theme-toggle__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.theme-toggle__label {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

html[data-theme="light"] .theme-toggle__icon,
html[data-theme="light"] .theme-toggle__label {
  color: #0d3d67;
}

.page-main h1,
.page-main h2,
.page-main h3,
.page-main strong,
.page-main .eyebrow,
.metric-card strong,
.metric-card span,
.site-nav__link,
.button {
  word-break: keep-all;
  hyphens: none;
}

.button--full {
  width: 100%;
}

.button.is-disabled,
.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.page-main {
  width: min(1260px, calc(100vw - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: clamp(2.25rem, 6vw, 4.6rem) clamp(1.2rem, 3vw, 2.2rem) 1.75rem;
  border: 1px solid var(--ht-border);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.14), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(247, 178, 103, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 16, 30, 0.88), rgba(7, 11, 20, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 32px 90px rgba(0, 0, 0, 0.2);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 72%);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ht-cyan);
  font-weight: 700;
}

.page-hero h1,
.app-topbar h1,
.auth-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.page-hero__lede,
.section-heading p,
.hero-copy p,
.card p,
.callout p,
.panel p,
.timeline-entry p,
.auth-card__subtitle {
  color: var(--ht-muted);
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  hyphens: none;
}

.page-hero__lede {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.hero-panel,
.page-section,
.site-footer,
.auth-card,
.app-sidebar,
.app-topbar,
.panel,
.hero-visual-card,
.metric-card,
.card,
.callout,
.timeline-entry {
  border: 1px solid var(--ht-border);
  background: var(--ht-surface);
  border-radius: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 90px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(18px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle at top left, rgba(84, 203, 255, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(247, 178, 103, 0.1), transparent 28%),
    var(--ht-surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 1.8rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(15, 24, 48, 0.96), rgba(10, 16, 30, 0.94));
}

.hero-visual-card__image {
  width: min(320px, 100%);
  margin: 0 auto;
}

.hero-visual-card__caption {
  margin: 1rem 0 0;
  color: var(--ht-muted);
  text-align: center;
}

.metric-grid {
  margin-top: 1rem;
  flex-wrap: wrap;
}

.metric-card {
  flex: 1 1 210px;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(10, 16, 30, 0.58);
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.metric-card span {
  color: var(--ht-muted);
}

.page-section {
  margin-top: 1.4rem;
  padding: clamp(1.3rem, 3vw, 1.95rem);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2,
.card h3,
.panel h2,
.timeline-entry h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.04;
}

.card-grid,
.split-grid,
.surface-matrix,
.panel-grid {
  flex-wrap: wrap;
}

.card-grid > *,
.split-grid > *,
.surface-matrix > *,
.panel-grid > * {
  flex: 1 1 280px;
  min-width: 0;
}

.card,
.panel,
.callout,
.timeline-entry {
  padding: 1.15rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.callout:hover,
.timeline-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 178, 103, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 84px rgba(0, 0, 0, 0.18);
}

.card--selected {
  border-color: var(--ht-border-strong);
  box-shadow: inset 0 0 0 1px rgba(247, 178, 103, 0.16);
}

.card--compact {
  display: grid;
  gap: 0.8rem;
}

.card--pricing {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
}

.card--pricing::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--glow-angle, 0deg),
    rgba(84, 203, 255, 0),
    rgba(84, 203, 255, 0.82),
    rgba(247, 178, 103, 0.88),
    rgba(84, 203, 255, 0)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: glow-border-rotate 5.5s linear infinite;
}

.card--pricing::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at var(--glow-x, 50%) var(--glow-y, 0%),
    rgba(247, 178, 103, 0.2) 0%,
    rgba(84, 203, 255, 0.1) 34%,
    transparent 70%
  );
  pointer-events: none;
  animation: glow-radial-sweep 5.5s ease-in-out infinite;
}

@keyframes glow-border-rotate {
  0% { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}

@keyframes glow-radial-sweep {
  0% { --glow-x: 50%; --glow-y: 0%; opacity: 0.74; }
  25% { --glow-x: 100%; --glow-y: 50%; opacity: 1; }
  50% { --glow-x: 50%; --glow-y: 100%; opacity: 0.74; }
  75% { --glow-x: 0%; --glow-y: 50%; opacity: 1; }
  100% { --glow-x: 50%; --glow-y: 0%; opacity: 0.74; }
}

.top-gap {
  margin-top: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--ht-amber-soft);
  color: var(--ht-amber);
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill--info {
  background: var(--ht-cyan-soft);
  color: var(--ht-cyan);
}

.status-pill--success {
  background: rgba(158, 255, 199, 0.14);
  color: var(--ht-success);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.status-row .status-pill {
  margin-bottom: 0;
}

.site-status-banner {
  margin-bottom: 1.4rem;
}

.site-status-banner .inline-link {
  margin-top: 0;
}

.product-reality-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: -0.35rem 0 1.4rem;
  padding: 0.85rem;
  border: 1px solid var(--ht-border);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(84, 203, 255, 0.12), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(247, 178, 103, 0.11), transparent 30%),
    rgba(8, 13, 27, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 54px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.product-reality-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(84, 203, 255, 0.09), transparent);
  transform: translateX(-62%);
  animation: ht-scanline 8s ease-in-out infinite;
}

.product-reality-strip__item {
  position: relative;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.025);
}

.product-reality-strip__item .eyebrow {
  margin-bottom: 0.45rem;
}

.product-reality-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
}

.product-reality-strip__item p:last-child {
  margin: 0.55rem 0 0;
  color: var(--ht-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.product-reality-strip--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.product-reality-strip--compact .product-reality-strip__item {
  padding: 0.75rem;
}

@keyframes ht-scanline {
  0%, 45% {
    transform: translateX(-62%);
    opacity: 0;
  }
  55% {
    opacity: 1;
  }
  100% {
    transform: translateX(62%);
    opacity: 0;
  }
}

.list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.6rem;
  color: var(--ht-muted);
}

.list li,
.auth-card__footer {
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
  hyphens: none;
}

.button-row .button.pui-btn {
  align-items: center;
}

.button-row .button.pui-btn > span {
  min-width: 0;
}

.feature-band {
  flex-wrap: wrap;
}

.no-break {
  display: inline-block;
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
  hyphens: none;
}

.feature-band__card {
  flex: 1 1 280px;
  display: block;
  padding: 1.2rem;
  border: 1px solid var(--ht-border);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    rgba(10, 16, 30, 0.56);
}

html[data-theme="light"] .site-header {
  border-color: rgba(20, 78, 136, 0.12);
  background:
    radial-gradient(circle at top, rgba(75, 194, 245, 0.14), transparent 44%),
    radial-gradient(circle at 88% 16%, rgba(247, 178, 103, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 44px rgba(28, 88, 147, 0.12);
}

html[data-theme="light"] .site-nav__link,
html[data-theme="light"] .app-nav__link {
  background: rgba(17, 92, 163, 0.05);
  color: #2f4f73;
}

html[data-theme="light"] .site-nav__link:hover,
html[data-theme="light"] .site-nav__link.is-active,
html[data-theme="light"] .app-nav__link:hover,
html[data-theme="light"] .app-nav__link.is-active {
  color: #0f2b48;
  border-color: rgba(25, 95, 163, 0.16);
  background: rgba(72, 181, 235, 0.12);
}

html[data-theme="light"] .page-hero {
  background:
    radial-gradient(circle at top, rgba(76, 197, 255, 0.2), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(247, 178, 103, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 246, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 28px 72px rgba(28, 88, 147, 0.12);
}

html[data-theme="light"] .hero-panel,
html[data-theme="light"] .page-section,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .auth-card,
html[data-theme="light"] .app-sidebar,
html[data-theme="light"] .app-topbar,
html[data-theme="light"] .panel,
html[data-theme="light"] .hero-visual-card,
html[data-theme="light"] .metric-card,
html[data-theme="light"] .card,
html[data-theme="light"] .callout,
html[data-theme="light"] .timeline-entry {
  border-color: rgba(20, 78, 136, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 22px 54px rgba(28, 88, 147, 0.08);
}

html[data-theme="light"] .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(76, 197, 255, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(247, 178, 103, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 249, 255, 0.97));
}

html[data-theme="light"] .hero-visual-card,
html[data-theme="light"] .feature-band__card,
html[data-theme="light"] .metric-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.96)),
    rgba(242, 248, 255, 0.96);
  border-color: rgba(20, 78, 136, 0.12);
}

html[data-theme="light"] .feature-band__card:hover,
html[data-theme="light"] .feature-band__card--link:hover,
html[data-theme="light"] .card:hover,
html[data-theme="light"] .callout:hover,
html[data-theme="light"] .timeline-entry:hover {
  border-color: rgba(214, 122, 18, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 60px rgba(28, 88, 147, 0.12);
}

.feature-band__card--link {
  transition: border-color 160ms ease, transform 160ms ease;
}

.feature-band__card--link:hover {
  transform: translateY(-2px);
  border-color: var(--ht-border-strong);
}

.surface-matrix__card {
  display: grid;
  gap: 0.9rem;
}

.surface-matrix__section {
  display: grid;
  gap: 0.45rem;
}

.surface-matrix__section h4 {
  margin: 0;
  color: var(--ht-cyan);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.surface-matrix__next {
  margin: 0;
  color: var(--ht-muted);
}

.surface-matrix__next strong {
  color: var(--ht-text);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  color: var(--ht-cyan);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-entry {
  border-left: 4px solid var(--ht-amber);
  background:
    linear-gradient(180deg, rgba(247, 178, 103, 0.04), transparent 26%),
    var(--ht-surface);
}

.timeline-entry__date {
  margin: 0 0 0.4rem;
  color: var(--ht-cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  width: min(1260px, calc(100vw - 2rem));
  margin: 1rem auto 2rem;
  padding: 1.35rem;
  display: grid;
  gap: 1.1rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer__group {
  display: grid;
  gap: 0.7rem;
}

.site-footer__links {
  flex-wrap: wrap;
  flex-direction: column;
}

.site-footer__contact {
  color: var(--ht-text);
}

.site-footer__note {
  color: var(--ht-muted);
}

.auth-shell {
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.fatal-app-shell {
  min-height: 100vh;
  width: min(960px, calc(100vw - 2rem));
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 1.25rem 0 4rem;
}

.fatal-app-card {
  width: min(100%, 42rem);
  padding: 1.8rem;
}

.fatal-app-card__lede {
  margin: 1rem 0 1.25rem;
  color: var(--ht-muted);
  line-height: 1.6;
}

.auth-card {
  width: 100%;
  max-width: 760px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.input-label {
  font-size: 0.92rem;
  color: var(--ht-muted);
}

.input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid var(--ht-border);
  background: rgba(7, 12, 24, 0.7);
  color: var(--ht-text);
}

.input-with-action {
  position: relative;
}

.input-with-action .input {
  padding-right: 3rem;
}

.input-action {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ht-muted);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
  transform: translateY(-50%);
}

.input-action:hover,
.input-action:focus-visible {
  border-color: var(--ht-border);
  background: var(--ht-cyan-soft);
  color: var(--ht-text);
  outline: none;
}

.input-help {
  margin: -0.25rem 0 0.35rem;
  color: var(--ht-muted);
  font-size: 0.85rem;
}

.input:focus {
  outline: 2px solid rgba(84, 203, 255, 0.24);
  outline-offset: 1px;
}

.form-error {
  color: #ff9f9f;
  margin: 0;
}

.provider-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.auth-card__footer {
  color: var(--ht-muted);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.app-sidebar {
  min-height: 100vh;
  margin: 0.8rem;
  padding: 1rem;
  position: sticky;
  top: 0.8rem;
  align-self: start;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.app-nav {
  flex-direction: column;
}

.app-nav__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.app-sidebar__footer {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.app-main-shell {
  padding: 0.8rem 0.8rem 0.8rem 0;
}

.app-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.app-main {
  padding-top: 0.9rem;
}

.code-block {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(3, 9, 20, 0.74);
  border: 1px solid var(--ht-border);
  overflow-x: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--ht-success);
}

.general-page-loader-shell {
  position: relative;
  min-height: calc(100vh - 10rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.12), transparent 40%),
    radial-gradient(circle at bottom, rgba(247, 178, 103, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(6, 10, 20, 0.9), rgba(7, 11, 19, 0.96));
}

.general-page-loader-shell--fullscreen {
  min-height: 100vh;
}

.general-page-loader-frame {
  position: relative;
  display: inline-flex;
  min-width: min(24rem, 82vw);
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--ht-border-strong);
  border-radius: 1.2rem;
  padding: 1.35rem 1.2rem 1.1rem;
  background: rgba(12, 18, 35, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(84, 203, 255, 0.15);
  backdrop-filter: blur(14px);
}

.general-page-loader-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 58%);
}

.general-page-loader-brand {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(84, 203, 255, 0.24);
  background:
    radial-gradient(circle at top, rgba(84, 203, 255, 0.12), transparent 58%),
    rgba(8, 13, 26, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(84, 203, 255, 0.16);
}

.general-page-loader-brand__image {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.general-page-loader-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.general-page-loader-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ht-muted);
}

.general-page-loader-body {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 32rem;
  text-align: center;
  color: var(--ht-muted);
  line-height: 1.7;
}

.general-page-loader-extra {
  position: relative;
  z-index: 1;
  width: 100%;
}

.general-page-loader-actions {
  justify-content: center;
}

.loading-spinner {
  color: var(--ht-cyan);
  text-shadow:
    0 0 6px rgba(84, 203, 255, 0.9),
    0 0 18px rgba(84, 203, 255, 0.55),
    0 0 32px rgba(84, 203, 255, 0.28);
}

.loading-spinner.is-completing {
  color: var(--ht-amber);
  text-shadow:
    0 0 6px rgba(247, 178, 103, 0.95),
    0 0 18px rgba(247, 178, 103, 0.55),
    0 0 32px rgba(247, 178, 103, 0.28);
}

@media (max-width: 980px) {
  .hero-grid,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .site-header,
  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-sidebar {
    position: static;
  }

  .app-main-shell {
    padding: 0 0.8rem 0.8rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .product-reality-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .app-shell,
  .app-main-shell {
    min-width: 0;
    max-width: 100vw;
    overflow-x: clip;
  }

  .app-sidebar {
    width: calc(100% - 1rem);
    max-width: calc(100vw - 1rem);
    margin: 0.5rem;
    box-sizing: border-box;
  }

  .app-main-shell {
    padding: 0 0.5rem 0.5rem;
  }

  .site-header,
  .page-main,
  .site-footer {
    width: min(100vw - 1rem, 100%);
  }

  .site-header {
    padding-inline: 0.8rem;
    border-radius: 1.25rem;
  }

  .page-main {
    padding-bottom: 2rem;
  }

  .site-nav,
  .site-header__actions,
  .button-row {
    width: 100%;
    flex-direction: column;
  }

  .brand-mark__image {
    width: 7rem;
    height: 7rem;
  }

  .button-row > * {
    width: 100%;
  }

  .button-row .button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .button-row .button.pui-btn > span,
  .provider-row .button.pui-btn > span {
    white-space: normal;
    text-wrap: balance;
  }

  .product-reality-strip,
  .product-reality-strip--compact {
    grid-template-columns: 1fr;
  }
}
