:root {
  --shell-width: 1280px;
  --klite-obsidian: #05090f;
  --klite-black: #080d14;
  --klite-gunmetal: #0d151f;
  --klite-panel: #101a25;
  --klite-panel-raised: #14212d;
  --klite-border: rgba(143, 174, 195, 0.2);
  --klite-border-bright: rgba(186, 213, 229, 0.34);
  --klite-cyan: #13d9ff;
  --klite-cyan-strong: #00bfe9;
  --klite-cyan-soft: rgba(19, 217, 255, 0.14);
  --klite-cyan-glow: rgba(0, 207, 255, 0.28);
  --klite-orange: #ff6a1f;
  --klite-orange-strong: #ff4f0a;
  --klite-orange-soft: rgba(255, 106, 31, 0.13);
  --klite-orange-glow: rgba(255, 91, 20, 0.25);
  --klite-silver: #d6e2eb;
  --klite-text: #f2f7fb;
  --klite-muted: #91a5b5;
  --klite-violet: #a977ff;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: var(--klite-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 205, 246, 0.11), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(255, 82, 15, 0.1), transparent 32rem),
    linear-gradient(180deg, #04070c 0%, #071019 48%, #04080d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.013) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.route-inactive {
  display: none !important;
}

main {
  width: min(var(--shell-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: min(1480px, calc(100% - 20px));
  min-height: 82px;
  margin: 0 auto;
  padding: 0 max(24px, calc((100% - var(--shell-width)) / 2));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  border: 1px solid rgba(117, 159, 184, 0.22);
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(0, 193, 232, 0.05), transparent 24%, transparent 76%, rgba(255, 90, 20, 0.045)),
    rgba(4, 8, 13, 0.94);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px));
}

.site-header::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--klite-cyan), rgba(19, 217, 255, 0.08) 35%, rgba(255, 106, 31, 0.08) 65%, var(--klite-orange));
  opacity: 0.7;
}

.brand {
  min-width: max-content;
}

.brand img {
  width: 52px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(-8px 0 18px rgba(0, 207, 255, 0.18))
    drop-shadow(8px 0 18px rgba(255, 91, 20, 0.14));
}

.brand strong {
  color: #fff;
  letter-spacing: 0.03em;
}

.brand small {
  color: rgba(204, 221, 231, 0.65);
}

.primary-site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
}

.primary-site-nav button,
.primary-site-nav a {
  position: relative;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: rgba(222, 235, 243, 0.7);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, text-shadow 160ms ease;
}

.primary-site-nav button::after,
.primary-site-nav a::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 2px;
  height: 2px;
  opacity: 0;
  transform: scaleX(0.5);
  background: var(--klite-cyan);
  box-shadow: 0 0 14px var(--klite-cyan);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-site-nav button:hover,
.primary-site-nav a:hover,
.primary-site-nav button.is-active {
  color: #fff;
  background: rgba(19, 217, 255, 0.045);
}

.primary-site-nav button.is-active {
  color: var(--klite-cyan);
  text-shadow: 0 0 16px rgba(19, 217, 255, 0.55);
}

.primary-site-nav button.is-active::after,
.primary-site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.58rem;
}

.account-actions .button {
  min-height: 42px;
  border-radius: 0.55rem;
}

#api-button {
  border-color: rgba(19, 217, 255, 0.4);
  color: var(--klite-cyan);
}

#account-button {
  border-color: rgba(255, 106, 31, 0.42);
  color: #ff9a59;
}

.button {
  gap: 0.55rem;
  font-weight: 780;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  border: 1px solid rgba(46, 226, 255, 0.65);
  color: #02131a;
  background: linear-gradient(180deg, #37e4ff 0%, #00bfe9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(19, 217, 255, 0.06),
    0 10px 30px rgba(0, 207, 255, 0.2);
}

.button-primary:hover {
  background: linear-gradient(180deg, #68ecff 0%, #12cdec 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 24px rgba(19, 217, 255, 0.34),
    0 12px 34px rgba(0, 0, 0, 0.25);
}

.button-secondary {
  border-color: rgba(126, 161, 183, 0.3);
  color: #e9f2f8;
  background: linear-gradient(180deg, rgba(18, 29, 40, 0.96), rgba(9, 16, 24, 0.96));
}

.button-secondary:hover {
  border-color: rgba(19, 217, 255, 0.42);
  background: rgba(18, 35, 46, 0.96);
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: 610px;
  margin-top: 34px;
  padding: clamp(3rem, 5vw, 5.5rem);
  overflow: hidden;
  border: 1px solid rgba(133, 172, 196, 0.22);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0, 204, 245, 0.035), transparent 44%, rgba(255, 91, 20, 0.032)),
    linear-gradient(145deg, rgba(7, 17, 25, 0.98), rgba(4, 8, 13, 0.98) 55%, rgba(16, 10, 10, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background:
    linear-gradient(115deg, transparent 0 39%, rgba(19, 217, 255, 0.08) 39.2%, transparent 39.5%),
    linear-gradient(66deg, transparent 0 70%, rgba(255, 106, 31, 0.07) 70.2%, transparent 70.5%);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--klite-cyan), transparent 22%, transparent 78%, var(--klite-orange)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.7;
}

.hero-energy {
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.2;
}

.hero-energy-cyan {
  left: 24%;
  bottom: -260px;
  background: var(--klite-cyan);
}

.hero-energy-orange {
  right: -220px;
  top: 10%;
  background: var(--klite-orange);
}

.landing-copy {
  position: relative;
  z-index: 5;
}

.landing-copy .eyebrow {
  color: var(--klite-cyan);
  text-shadow: 0 0 15px rgba(19, 217, 255, 0.42);
}

.landing-copy h1 {
  max-width: 10ch;
  margin: 0.45rem 0 1.4rem;
  font-size: clamp(3.4rem, 5.3vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.landing-copy h1 span,
.landing-copy h1 strong {
  display: block;
}

.landing-copy h1 span {
  color: #f5f8fb;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.landing-copy h1 strong {
  color: var(--klite-cyan);
  background: linear-gradient(180deg, #8ff1ff 0%, #13d9ff 46%, #008ab7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 12px rgba(0, 163, 211, 0.22));
}

.landing-copy .hero-description {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(220, 231, 238, 0.73);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.download-button {
  min-width: 215px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.hero-marketplace-button {
  min-width: 205px;
  justify-content: center;
  border-color: rgba(255, 106, 31, 0.56);
  color: #fff;
  box-shadow: inset 0 0 20px rgba(255, 106, 31, 0.035);
}

.hero-marketplace-button:hover {
  border-color: var(--klite-orange);
  color: #ffc49e;
  background: rgba(255, 106, 31, 0.09);
  box-shadow: 0 0 26px rgba(255, 106, 31, 0.14);
}

.hero-marketplace-button span,
.feature-link span {
  color: var(--klite-orange);
  font-size: 1.25em;
}

.hero-platform-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  color: rgba(194, 212, 223, 0.62);
  font-size: 0.86rem;
}

.hero-platform-note b {
  color: rgba(151, 177, 194, 0.42);
}

.windows-mark {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  transform: perspective(20px) rotateY(-12deg);
}

.windows-mark::before,
.windows-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--klite-cyan) 0 0) left top / 46% 46% no-repeat,
    linear-gradient(var(--klite-cyan) 0 0) right top / 46% 46% no-repeat,
    linear-gradient(var(--klite-cyan) 0 0) left bottom / 46% 46% no-repeat,
    linear-gradient(var(--klite-cyan) 0 0) right bottom / 46% 46% no-repeat;
}

.hero-preview {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 10% -6% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 72%, rgba(0, 220, 255, 0.25), transparent 42%),
    radial-gradient(circle at 76% 72%, rgba(255, 91, 20, 0.23), transparent 42%);
  filter: blur(42px);
}

.hero-preview-frame {
  overflow: hidden;
  border: 1px solid rgba(176, 204, 222, 0.32);
  background: #071019;
  box-shadow:
    -22px 24px 70px rgba(0, 195, 236, 0.08),
    22px 24px 70px rgba(255, 91, 20, 0.07),
    0 30px 80px rgba(0, 0, 0, 0.5);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.hero-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(139, 174, 196, 0.16);
  background: linear-gradient(180deg, #151e28, #0d151e);
  color: rgba(235, 244, 249, 0.86);
  font-size: 0.75rem;
}

.hero-preview-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7057;
}

.hero-preview-toolbar span:nth-child(2) { background: #ffc047; }
.hero-preview-toolbar span:nth-child(3) { background: #54d593; }
.hero-preview-toolbar strong { margin-left: 8px; }

.hero-preview img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9.1;
  object-fit: cover;
  background: #05090f;
}

.brand-divider {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 1rem;
  margin: 2.2rem 0 1.5rem;
  color: var(--klite-cyan);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.85rem;
}

.brand-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 217, 255, 0.75));
}

.brand-divider span:last-child {
  background: linear-gradient(90deg, rgba(255, 106, 31, 0.75), transparent);
}

.brand-divider strong {
  text-shadow: 0 0 16px rgba(19, 217, 255, 0.35);
}

.client-showcase {
  padding: 0 0 2rem;
}

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

.brand-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  min-height: 190px;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(135, 173, 196, 0.22);
  background: linear-gradient(145deg, rgba(17, 28, 39, 0.94), rgba(6, 12, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 18px 45px rgba(0, 0, 0, 0.2);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-feature-card:hover {
  transform: translateY(-4px);
}

.feature-cyan:hover {
  border-color: rgba(19, 217, 255, 0.5);
  box-shadow: 0 0 35px rgba(19, 217, 255, 0.08), 0 18px 45px rgba(0, 0, 0, 0.24);
}

.feature-orange:hover {
  border-color: rgba(255, 106, 31, 0.5);
  box-shadow: 0 0 35px rgba(255, 106, 31, 0.08), 0 18px 45px rgba(0, 0, 0, 0.24);
}

.feature-violet:hover {
  border-color: rgba(169, 119, 255, 0.48);
  box-shadow: 0 0 35px rgba(169, 119, 255, 0.08), 0 18px 45px rgba(0, 0, 0, 0.24);
}

.feature-emblem {
  width: 82px;
  height: 92px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 92% 23%, 92% 76%, 50% 100%, 8% 76%, 8% 23%);
  background: rgba(12, 24, 34, 0.95);
}

.feature-emblem::before {
  content: "";
  position: absolute;
}

.feature-emblem svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-cyan .feature-emblem {
  color: var(--klite-cyan);
  border: 1px solid var(--klite-cyan);
  filter: drop-shadow(0 0 13px rgba(19, 217, 255, 0.34));
}

.feature-orange .feature-emblem {
  color: var(--klite-orange);
  border: 1px solid var(--klite-orange);
  filter: drop-shadow(0 0 13px rgba(255, 106, 31, 0.3));
}

.feature-violet .feature-emblem {
  color: var(--klite-violet);
  border: 1px solid var(--klite-violet);
  filter: drop-shadow(0 0 13px rgba(169, 119, 255, 0.25));
}

.brand-feature-card h3 {
  margin: 0 0 0.45rem;
  color: #f4f8fb;
  font-size: 1.12rem;
}

.brand-feature-card p {
  min-height: 4.4em;
  margin: 0;
  color: rgba(203, 218, 228, 0.68);
  font-size: 0.91rem;
  line-height: 1.55;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0;
  border: 0;
  color: var(--klite-cyan);
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  cursor: pointer;
}

.feature-orange .feature-link { color: #ff9a58; }
.feature-violet .feature-link { color: #c09aff; }

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin: 0.25rem 0 1.5rem;
  padding: clamp(1.55rem, 3vw, 2.2rem) clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(19, 217, 255, 0.55);
  background:
    linear-gradient(110deg, rgba(0, 199, 239, 0.075), transparent 40%, rgba(255, 106, 31, 0.035)),
    linear-gradient(180deg, rgba(8, 20, 29, 0.98), rgba(5, 11, 17, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}

.download-card::before,
.download-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.18;
}

.download-card::before { left: -80px; bottom: -90px; background: var(--klite-cyan); }
.download-card::after { right: -90px; top: -95px; background: var(--klite-orange); }

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

.download-card h2 {
  margin: 0.22rem 0 0.55rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.download-card p {
  max-width: 700px;
  margin: 0;
  color: rgba(204, 219, 228, 0.66);
}

.download-card-action {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.download-card-action small {
  color: rgba(193, 211, 221, 0.58);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 4rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(133, 170, 193, 0.13);
}

.trust-strip article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.trust-icon {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--klite-cyan);
  border: 1px solid rgba(19, 217, 255, 0.46);
  background: rgba(19, 217, 255, 0.055);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  text-shadow: 0 0 10px rgba(19, 217, 255, 0.5);
}

.trust-strip article:nth-child(2) .trust-icon,
.trust-strip article:nth-child(4) .trust-icon {
  color: #ff9a58;
  border-color: rgba(255, 106, 31, 0.45);
  background: rgba(255, 106, 31, 0.05);
  text-shadow: 0 0 10px rgba(255, 106, 31, 0.42);
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  margin-bottom: 0.2rem;
  font-size: 0.94rem;
}

.trust-strip small {
  color: rgba(194, 211, 222, 0.58);
  line-height: 1.45;
}

.workspace-heading {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
  padding: 1.45rem 1.55rem;
  border: 1px solid rgba(133, 173, 197, 0.22);
  background:
    linear-gradient(100deg, rgba(19, 217, 255, 0.055), transparent 48%, rgba(255, 106, 31, 0.035)),
    rgba(7, 14, 21, 0.88);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.workspace-heading-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.workspace-heading h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.workspace-heading-description {
  max-width: 610px;
  margin: 0;
  color: rgba(204, 220, 229, 0.64);
  line-height: 1.6;
}

.secondary-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.secondary-site-nav button,
.secondary-site-nav a {
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(129, 169, 193, 0.24);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(224, 237, 244, 0.75);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.secondary-site-nav button:hover,
.secondary-site-nav a:hover {
  color: var(--klite-cyan);
  border-color: rgba(19, 217, 255, 0.48);
  background: rgba(19, 217, 255, 0.055);
}

.route-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  margin: 1.25rem 0 4rem;
  padding: 2rem;
  border: 1px dashed rgba(133, 168, 191, 0.28);
  background: rgba(8, 15, 22, 0.72);
  text-align: center;
  color: rgba(211, 227, 236, 0.67);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.route-empty[hidden] {
  display: none;
}

.route-empty h2 {
  color: #eff8fb;
}

#sign-out-button {
  display: none;
}

.account-panel,
.catalog {
  margin-block: 1rem 4rem;
  border-color: rgba(132, 171, 195, 0.2);
  background: linear-gradient(150deg, rgba(15, 25, 35, 0.96), rgba(7, 13, 20, 0.96));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.account-panel,
.plugin-card,
.account-card,
.bootstrap-panel,
.user-role-card,
.submission-card,
.review-card,
.bot-settings-group,
.bot-detail-grid > section {
  border-color: rgba(132, 171, 195, 0.2) !important;
}

.account-card,
.plugin-card,
.bootstrap-panel,
.user-role-card,
.submission-card,
.review-card,
.bot-settings-group,
.bot-detail-grid > section {
  background: linear-gradient(145deg, rgba(17, 28, 39, 0.92), rgba(8, 15, 23, 0.96)) !important;
}

.plugin-card {
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.plugin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 217, 255, 0.4) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), 0 0 26px rgba(19, 217, 255, 0.06);
}

.account-label,
.eyebrow {
  color: var(--klite-cyan);
}

input,
select,
textarea {
  border-color: rgba(125, 164, 188, 0.26) !important;
  color: var(--klite-text) !important;
  background: rgba(5, 11, 17, 0.9) !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--klite-cyan) !important;
  box-shadow: 0 0 0 3px rgba(19, 217, 255, 0.1) !important;
}

.access-owned,
.link-code {
  border-color: rgba(255, 106, 31, 0.32) !important;
  color: #ffac76 !important;
  background: rgba(255, 106, 31, 0.055) !important;
}

.auth-dialog {
  border-color: rgba(19, 217, 255, 0.32);
  background: linear-gradient(150deg, #101b26, #080e15 64%, #160c0a);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65), 0 0 40px rgba(19, 217, 255, 0.07);
}

.account-menu {
  border-color: rgba(133, 173, 197, 0.25);
  background: #0b131c;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.52);
}

footer {
  width: min(var(--shell-width), calc(100% - 48px));
  margin-inline: auto;
  border-top: 1px solid rgba(131, 169, 192, 0.14);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.6rem;
}

.site-footer-nav a {
  color: rgba(191, 218, 230, 0.72);
  text-decoration: none;
}

.site-footer-nav a:hover {
  color: var(--klite-cyan);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding-inline: 20px;
  }

  .primary-site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.55rem;
  }

  .account-actions {
    justify-self: end;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-copy h1 {
    max-width: 13ch;
  }

  .hero-preview {
    max-width: 920px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .brand-feature-card {
    min-height: 150px;
  }

  .brand-feature-card p {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  main,
  footer {
    width: min(100% - 20px, var(--shell-width));
  }

  .site-header {
    width: 100%;
    min-height: 72px;
    border-inline: 0;
    clip-path: none;
  }

  .site-header::after {
    left: 0;
    right: 0;
  }

  .brand img {
    width: 42px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .primary-site-nav button,
  .primary-site-nav a {
    font-size: 0.78rem;
    padding-inline: 0.65rem;
  }

  .landing-hero {
    margin-top: 16px;
    padding: 2rem 1.15rem;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  }

  .landing-copy h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-platform-note {
    line-height: 1.5;
  }

  .brand-divider {
    font-size: 0.67rem;
    letter-spacing: 0.16em;
  }

  .brand-feature-card {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 1rem;
  }

  .feature-emblem {
    width: 62px;
    height: 70px;
  }

  .feature-emblem svg {
    width: 34px;
    height: 34px;
  }

  .download-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .download-card-action,
  .download-card-action .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .workspace-heading-copy {
    align-items: flex-start;
    flex-direction: column;
  }
}
