:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-strong: #f0f5f2;
  --ink: #171a1f;
  --muted: #5f6872;
  --line: #d8ded8;
  --teal: #006d77;
  --green: #2a9d8f;
  --coral: #e76f51;
  --amber: #f4a261;
  --blue: #277da1;
  --olive: #6c8f2f;
  --shadow: 0 20px 60px rgba(23, 26, 31, 0.12);
  --max-width: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

code {
  border: 1px solid rgba(0, 109, 119, 0.16);
  border-radius: 6px;
  background: rgba(0, 109, 119, 0.08);
  color: #164b50;
  font-size: 0.92em;
  padding: 0.08rem 0.28rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(216, 222, 216, 0.82);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.brand-text {
  color: var(--ink);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(0, 109, 119, 0.1);
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.section-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 52%, rgba(240, 245, 242, 0.72) 100%),
    repeating-linear-gradient(135deg, rgba(0, 109, 119, 0.06) 0, rgba(0, 109, 119, 0.06) 1px, transparent 1px, transparent 18px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 180px;
  background: linear-gradient(0deg, var(--paper), rgba(251, 250, 247, 0));
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 72px 0 0;
  z-index: 1;
  pointer-events: none;
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 4.9rem;
  width: min(760px, 52vw);
  height: 405px;
  border: 1px solid rgba(0, 109, 119, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, 0.18), rgba(42, 157, 143, 0.1) 42%, rgba(231, 111, 81, 0.14) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 1px, transparent 1px, transparent 18px);
  box-shadow: 0 36px 100px rgba(0, 109, 119, 0.13);
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  transform: rotate(-2.5deg);
}

.hero-grid-plane {
  position: absolute;
  right: -5%;
  top: 4.5rem;
  width: min(860px, 62vw);
  height: 430px;
  border: 1px solid rgba(0, 109, 119, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(0deg, rgba(0, 109, 119, 0.07) 0, rgba(0, 109, 119, 0.07) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(39, 125, 161, 0.06) 0, rgba(39, 125, 161, 0.06) 1px, transparent 1px, transparent 48px);
  box-shadow: 0 32px 90px rgba(0, 109, 119, 0.08);
  transform: rotate(-3deg);
}

.hero-grid-plane::before,
.hero-grid-plane::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(42, 157, 143, 0.42), rgba(231, 111, 81, 0.26), transparent);
}

.hero-grid-plane::before {
  top: 30%;
}

.hero-grid-plane::after {
  top: 68%;
}

.hero-panel {
  position: absolute;
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(0, 109, 119, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 45px rgba(23, 26, 31, 0.08);
  padding: 1rem;
  transform: rotate(-3deg);
}

.hero-panel span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.16);
}

.hero-panel span:nth-child(2) {
  width: 72%;
  background: rgba(39, 125, 161, 0.14);
}

.hero-panel span:nth-child(3) {
  width: 46%;
  background: rgba(231, 111, 81, 0.16);
}

.hero-panel-primary {
  right: min(32vw, 460px);
  top: 150px;
  width: 238px;
  opacity: 0.42;
}

.hero-panel-secondary {
  right: 4%;
  top: 112px;
  width: 190px;
  opacity: 0.32;
}

.hero-panel-tertiary {
  right: min(29vw, 410px);
  top: 455px;
  width: 230px;
  opacity: 0.28;
}

.hero-trace {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(42, 157, 143, 0.5), rgba(244, 162, 97, 0.36), transparent);
  box-shadow: 0 0 18px rgba(42, 157, 143, 0.2);
  transform: rotate(-12deg);
}

.trace-one {
  right: 3%;
  top: 190px;
  width: 510px;
}

.trace-two {
  right: 14%;
  top: 335px;
  width: 420px;
  opacity: 0.68;
}

.trace-three {
  right: 0;
  top: 530px;
  width: 570px;
  opacity: 0.54;
}

.hero-float {
  position: absolute;
  color: rgba(0, 109, 119, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 12px 34px rgba(0, 109, 119, 0.1);
  white-space: nowrap;
  animation: floatSnippet 9s ease-in-out infinite alternate;
}

.float-one {
  left: 1.5%;
  top: 104px;
  color: rgba(0, 109, 119, 0.34);
}

.float-two {
  right: 8%;
  top: 120px;
  color: rgba(39, 125, 161, 0.26);
  animation-delay: -2.2s;
}

.float-three {
  right: 34%;
  top: 210px;
  color: rgba(42, 157, 143, 0.26);
  animation-delay: -4.1s;
}

.float-four {
  right: 2%;
  top: 360px;
  color: rgba(231, 111, 81, 0.24);
  animation-delay: -1.3s;
}

.float-five {
  right: 35%;
  top: 585px;
  color: rgba(108, 143, 47, 0.24);
  animation-delay: -5.4s;
}

.float-six {
  right: 4%;
  top: 535px;
  color: rgba(244, 162, 97, 0.26);
  animation-delay: -6.5s;
}

.float-seven {
  left: 0.5%;
  top: 305px;
  color: rgba(231, 111, 81, 0.32);
  animation-delay: -7.2s;
}

.float-eight {
  left: 2%;
  top: 520px;
  color: rgba(39, 125, 161, 0.32);
  animation-delay: -3.6s;
}

.float-nine {
  left: 30%;
  top: 118px;
  color: rgba(244, 162, 97, 0.22);
  animation-delay: -1.9s;
}

.float-ten {
  right: 22%;
  top: 88px;
  color: rgba(0, 109, 119, 0.24);
  animation-delay: -8.1s;
}

.float-eleven {
  right: 47%;
  top: 510px;
  color: rgba(42, 157, 143, 0.24);
  animation-delay: -5.9s;
}

.float-twelve {
  right: 18%;
  top: 440px;
  color: rgba(39, 125, 161, 0.22);
  animation-delay: -4.8s;
}

.float-thirteen {
  left: 10%;
  top: 650px;
  color: rgba(108, 143, 47, 0.3);
  animation-delay: -2.7s;
}

.float-fourteen {
  right: 10%;
  top: 255px;
  color: rgba(244, 162, 97, 0.23);
  animation-delay: -6.9s;
}

.float-fifteen {
  left: 16%;
  top: 176px;
  color: rgba(42, 157, 143, 0.3);
  animation-delay: -1.1s;
}

.float-sixteen {
  left: 5%;
  top: 230px;
  color: rgba(39, 125, 161, 0.32);
  animation-delay: -5.1s;
}

.float-seventeen {
  left: 18%;
  top: 335px;
  color: rgba(108, 143, 47, 0.3);
  animation-delay: -3.2s;
}

.float-eighteen {
  left: 9%;
  top: 455px;
  color: rgba(231, 111, 81, 0.3);
  animation-delay: -7.8s;
}

.float-nineteen {
  left: 25%;
  top: 620px;
  color: rgba(0, 109, 119, 0.3);
  animation-delay: -4.4s;
}

.float-twenty {
  left: 37%;
  top: 260px;
  color: rgba(244, 162, 97, 0.28);
  animation-delay: -6.2s;
}

.float-twentyone {
  left: 31%;
  top: 430px;
  color: rgba(42, 157, 143, 0.28);
  animation-delay: -2.4s;
}

.float-twentytwo {
  left: 42%;
  top: 548px;
  color: rgba(39, 125, 161, 0.28);
  animation-delay: -8.7s;
}

.hero-pixel {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(231, 111, 81, 0.52);
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(231, 111, 81, 0.18);
  transform: rotate(45deg);
  animation: pixelPulse 3s ease-in-out infinite alternate;
}

.pixel-one {
  right: 44%;
  top: 104px;
}

.pixel-two {
  right: 9%;
  top: 212px;
  border-color: rgba(42, 157, 143, 0.58);
  animation-delay: -0.8s;
}

.pixel-three {
  right: 34%;
  top: 505px;
  border-color: rgba(244, 162, 97, 0.6);
  animation-delay: -1.4s;
}

.pixel-four {
  right: 2.5%;
  top: 560px;
  border-color: rgba(39, 125, 161, 0.56);
  animation-delay: -2s;
}

@keyframes pixelPulse {
  from {
    opacity: 0.28;
    transform: rotate(45deg) scale(0.82);
  }

  to {
    opacity: 1;
    transform: rotate(45deg) scale(1.08);
  }
}

@keyframes floatSnippet {
  from {
    opacity: 0.24;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0.52;
    transform: translate3d(-22px, -12px, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}

.hero-inner > * {
  width: min(100%, 700px);
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: 4.55rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  margin: 1.3rem 0 0;
  color: #303842;
  font-size: 1.22rem;
  width: min(100%, 620px);
  max-width: 620px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 700px);
  max-width: 700px;
  margin-top: 1.35rem;
}

.hero-highlight {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(216, 222, 216, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(23, 26, 31, 0.05);
  padding: 0.75rem 0.72rem;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 109, 119, 0.08);
}

.hero-highlight:nth-child(2)::after {
  background: rgba(39, 125, 161, 0.1);
}

.hero-highlight:nth-child(3)::after {
  background: rgba(231, 111, 81, 0.1);
}

.hero-highlight:nth-child(4)::after {
  background: rgba(42, 157, 143, 0.1);
}

.hero-highlight img {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  margin: 0;
  filter: invert(31%) sepia(45%) saturate(1044%) hue-rotate(141deg) brightness(88%);
}

.hero-highlight.platform-highlight {
  grid-template-columns: 58px minmax(0, 1fr);
}

.hero-highlight img.pardus-highlight-logo {
  width: 54px;
  height: auto;
  filter: none;
}

.hero-highlight div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-highlight span,
.hero-highlight strong {
  display: block;
}

.hero-highlight span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-highlight strong {
  margin-top: -0.04rem;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--teal);
  color: var(--surface);
}

.button.secondary {
  border-color: rgba(23, 26, 31, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.hero-visual {
  position: absolute;
  inset: 104px 1rem auto auto;
  z-index: 2;
  width: min(52vw, 720px);
  pointer-events: none;
}

.desktop-shell {
  transform: rotate(-1.2deg) scale(0.84);
  transform-origin: top right;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 10px;
  background: #0a0f1d;
  box-shadow:
    0 38px 95px rgba(10, 15, 29, 0.26),
    0 14px 34px rgba(0, 109, 119, 0.18);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  border-bottom: 1px solid #24304a;
  background: #11172a;
  padding: 0 0.8rem 0 1rem;
}

.window-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 800;
}

.window-app-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #2dd4bf;
  border-radius: 4px;
  background: #0b1220;
}

.window-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.window-controls span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #cbd5f5;
}

.window-controls span:hover {
  background: #1b243a;
}

.window-minimize::before {
  content: "";
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.window-maximize::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.window-close::before,
.window-close::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.window-close::before {
  transform: rotate(45deg);
}

.window-close::after {
  transform: rotate(-45deg);
}

.window-close:hover {
  background: #e5484d;
  color: #ffffff;
}

.assistant-window {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 480px;
  background: linear-gradient(135deg, #0a0f1d, #151b2b);
  color: #f8fafc;
  padding: 18px;
  gap: 14px;
}

.stn-sidebar,
.stn-content,
.quick-actions,
.stn-header,
.composer-preview,
.artifacts-preview,
.artifact-header,
.artifact-section {
  border: 1px solid #24304a;
}

.stn-sidebar {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #11172a;
  padding: 16px;
}

.stn-brand strong,
.stn-brand span {
  display: block;
}

.stn-brand strong {
  font-size: 1.45rem;
  letter-spacing: 0;
}

.stn-brand span {
  margin-top: 0.08rem;
  color: #94a3b8;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-pill {
  align-self: flex-start;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: #1b243a;
  color: #cbd5f5;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.32rem 0.56rem;
}

.new-chat,
.search-box,
.chat-item,
.settings-row {
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.58rem 0.68rem;
}

.new-chat {
  margin-top: 0.7rem;
  background: #2dd4bf;
  color: #08121a;
}

.search-box {
  margin-top: 0.7rem;
  border: 1px solid #24304a;
  background: #0b1220;
  color: #94a3b8;
}

.chat-list {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.75rem;
}

.chat-item {
  color: #f8fafc;
}

.chat-item.active {
  background: #101827;
}

.settings-row {
  margin-top: auto;
  border: 1px solid #24304a;
  color: #f8fafc;
}

.stn-content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  border-radius: 20px;
  background: #111b30;
  padding: 16px;
}

.stn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #101827;
  padding: 0.7rem 0.85rem;
}

.stn-header strong {
  font-size: 1rem;
}

.stn-header span {
  border-radius: 999px;
  background: #1b243a;
  color: #cbd5f5;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 0.25rem 0.55rem;
}

.quick-actions {
  border-radius: 16px;
  background: #111b30;
  padding: 0.72rem;
}

.quick-actions > span {
  display: block;
  margin-bottom: 0.55rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.48rem;
}

.action-row div {
  display: grid;
  place-items: center;
  min-height: 66px;
  border: 1px solid #24304a;
  border-radius: 14px;
  background: #0b1220;
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.45rem;
  text-align: center;
}

.action-row img {
  width: 22px;
  height: 22px;
  margin-bottom: 0.3rem;
  filter: invert(85%) sepia(28%) saturate(842%) hue-rotate(121deg) brightness(96%);
}

.stn-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
  gap: 12px;
  min-height: 0;
}

.chat-panel {
  min-width: 0;
  border-radius: 16px;
  background: #0b1220;
  padding: 0.9rem;
}

.message-row {
  display: flex;
  margin-bottom: 0.65rem;
}

.message-row.right {
  justify-content: flex-end;
}

.message-row.left {
  justify-content: flex-start;
}

.stn-bubble {
  max-width: 82%;
  border-radius: 16px;
  color: #f8fafc;
  font-size: 0.76rem;
  line-height: 1.35;
  padding: 0.65rem 0.8rem;
}

.stn-bubble.user {
  border: 1px solid #29506b;
  background: #1b3a52;
}

.stn-bubble.assistant {
  border: 1px solid #202b40;
  background: #131c30;
}

.approval-buttons {
  display: flex;
  gap: 0.45rem;
}

.approval-buttons span {
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.42rem 0.62rem;
}

.approval-buttons span:first-child {
  background: #2dd4bf;
  color: #08121a;
}

.approval-buttons span:last-child {
  border: 1px solid #3f2230;
  background: #101827;
  color: #f87171;
}

.artifacts-preview {
  min-width: 0;
  border-radius: 16px;
  background: #101827;
  padding: 0.7rem;
}

.artifact-header,
.artifact-section {
  border-radius: 14px;
  background: #111b30;
  padding: 0.65rem;
}

.artifact-header {
  margin-bottom: 0.55rem;
}

.artifact-header strong,
.artifact-header span {
  display: block;
}

.artifact-header strong {
  font-size: 0.86rem;
}

.artifact-header span,
.artifact-empty,
.artifact-card p {
  color: #94a3b8;
  font-size: 0.66rem;
}

.artifact-section {
  margin-top: 0.55rem;
}

.artifact-section > strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #cbd5f5;
  font-size: 0.62rem;
  letter-spacing: 0;
}

.artifact-empty,
.artifact-card {
  border: 1px solid #1a2338;
  border-radius: 12px;
  background: #0b1220;
  padding: 0.55rem;
}

.artifact-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 850;
}

.artifact-card-top em {
  border-radius: 999px;
  background: #2dd4bf;
  color: #08121a;
  font-size: 0.58rem;
  font-style: normal;
  padding: 0.15rem 0.4rem;
}

.artifact-card p {
  margin: 0.45rem 0 0;
}

.composer-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 70px;
  gap: 0.55rem;
  border-radius: 18px;
  background: #101827;
  padding: 0.7rem;
}

.message-field {
  border: 1px solid #24304a;
  border-radius: 14px;
  background: #0b1220;
  color: #94a3b8;
  font-size: 0.76rem;
  padding: 0.65rem;
}

.mic-preview,
.send-preview {
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.mic-preview {
  border: 1px solid #24304a;
  background: #0b1220;
}

.mic-preview img {
  width: 20px;
  height: 20px;
  filter: invert(85%) sepia(28%) saturate(842%) hue-rotate(121deg) brightness(96%);
}

.send-preview {
  background: #2dd4bf;
  color: #08121a;
  font-size: 0.76rem;
  font-weight: 900;
}

.product-section,
.workflow-section,
.architecture-section,
.tech-stack-section,
.demo-section,
.quality-section,
.team-section {
  padding: 6.5rem 0;
}

.product-section,
.architecture-section,
.team-section {
  background: var(--paper);
}

.workflow-section,
.tech-stack-section,
.quality-section {
  border-block: 1px solid var(--line);
  background: var(--surface-strong);
}

.demo-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, rgba(42, 157, 143, 0.08) 0, rgba(42, 157, 143, 0.08) 1px, transparent 1px, transparent 20px);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 4rem;
  align-items: start;
}

.section-copy p,
.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 810px;
  margin-bottom: 2.7rem;
}

.section-heading.narrow {
  max-width: 760px;
}

.capability-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.capability-card,
.workflow-step,
.technical-item,
.quality-grid article,
.member-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(23, 26, 31, 0.05);
}

.capability-card {
  min-height: 210px;
  padding: 1.2rem;
}

.capability-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
}

.capability-card p,
.workflow-step p,
.technical-item p,
.quality-grid p,
.member-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

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

.workflow-step {
  position: relative;
  min-height: 250px;
  padding: 1.2rem;
  overflow: hidden;
}

.workflow-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.workflow-step:nth-child(2)::before {
  background: var(--blue);
}

.workflow-step:nth-child(3)::before {
  background: var(--amber);
}

.workflow-step:nth-child(4)::before {
  background: var(--coral);
}

.workflow-step:nth-child(5)::before {
  background: var(--olive);
}

.step-index {
  display: inline-flex;
  margin-bottom: 2rem;
  color: rgba(23, 26, 31, 0.22);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.architecture-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 245, 242, 0.9)),
    repeating-linear-gradient(135deg, rgba(0, 109, 119, 0.08) 0, rgba(0, 109, 119, 0.08) 1px, transparent 1px, transparent 20px);
  padding: 1rem;
}

.diagram-column {
  position: relative;
  min-height: 198px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 26, 31, 0.06);
  padding: 1.05rem 1rem 2.25rem;
}

.diagram-column::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.9rem;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.12);
}

.diagram-column.understanding {
  border-top-color: var(--blue);
}

.diagram-column.understanding::after {
  background: rgba(39, 125, 161, 0.14);
}

.diagram-column.agents {
  border-top-color: var(--amber);
}

.diagram-column.agents::after {
  background: rgba(244, 162, 97, 0.18);
}

.diagram-column.execution {
  border-top-color: var(--coral);
}

.diagram-column.execution::after {
  background: rgba(231, 111, 81, 0.16);
}

.diagram-column.result {
  border-top-color: var(--olive);
}

.diagram-column.result::after {
  background: rgba(108, 143, 47, 0.16);
}

.diagram-label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.08);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
  padding: 0.22rem 0.5rem;
}

.diagram-column strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.diagram-column p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.diagram-connector {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  align-self: center;
  margin-top: 0.35rem;
}

.diagram-connector::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--line);
  border-right: 3px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}

.technical-grid,
.stack-grid,
.quality-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.technical-item,
.stack-card,
.quality-grid article,
.member-card {
  padding: 1.2rem;
}

.stack-card {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(23, 26, 31, 0.05);
}

.stack-card span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.08);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
  padding: 0.22rem 0.55rem;
}

.stack-card h3 {
  margin-top: 1rem;
}

.stack-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.member-card {
  min-width: 0;
}

.demo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1rem;
  margin-top: 2rem;
}

.demo-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(23, 26, 31, 0.06);
  padding: 1.2rem;
}

.demo-panel-heading {
  margin-bottom: 1rem;
}

.demo-panel-heading .eyebrow {
  margin-bottom: 0.45rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.screenshot-card {
  margin: 0;
}

.screenshot-button {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.screenshot-button::after {
  content: "Click to enlarge";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  border-radius: 999px;
  background: rgba(5, 9, 16, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  opacity: 0;
  padding: 0.32rem 0.56rem;
  transition: opacity 180ms ease;
}

.screenshot-button:hover,
.screenshot-button:focus-visible {
  border-color: rgba(0, 109, 119, 0.44);
  box-shadow: 0 14px 35px rgba(23, 26, 31, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.screenshot-button:hover::after,
.screenshot-button:focus-visible::after {
  opacity: 1;
}

.screenshot-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.screenshot-card figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-panel {
  display: grid;
  grid-template-rows: auto 1fr;
}

.video-embed {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 31, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 26, 31, 0.92), rgba(0, 109, 119, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 18px);
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  aspect-ratio: 16 / 9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 9, 16, 0.94);
  padding: 0;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 3.5rem 1.25rem 5rem;
}

.lightbox-frame img {
  width: 100%;
  height: 100%;
  max-width: 98vw;
  max-height: 88vh;
  object-fit: contain;
  background: transparent;
}

.lightbox-frame figcaption {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  width: min(92vw, 1040px);
  display: grid;
  gap: 0.3rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(10, 15, 29, 0.82);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1rem;
  text-align: left;
}

.lightbox-frame strong {
  color: #ffffff;
}

.lightbox-close {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 101;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
  padding: 0.72rem 0.95rem;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.advisor-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.advisor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.2rem;
}

.advisor-card-photo {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
}

.advisor-card-photo > div {
  min-width: 0;
}

.advisor-card span,
.advisor-card strong {
  display: block;
}

.advisor-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.advisor-card strong {
  margin-top: 0.25rem;
  color: var(--ink);
}

.member-card-photo {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.member-card-photo > div {
  min-width: 0;
}

.member-photo {
  width: 128px;
  height: 128px;
  border: 3px solid rgba(0, 109, 119, 0.16);
  border-radius: 8px;
  object-fit: cover;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
  min-width: 0;
}

.member-links a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  border-radius: 6px;
  background: rgba(0, 109, 119, 0.08);
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  padding: 0.2rem 0.45rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--surface);
  padding: 1.2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.js [data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-visual,
  .hero-atmosphere {
    display: none;
  }

  .hero-inner > * {
    max-width: 760px;
  }

  .hero-lede {
    max-width: 660px;
  }

  .workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .technical-grid,
  .stack-grid,
  .quality-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-diagram {
    grid-template-columns: 1fr;
  }

  .diagram-connector {
    width: 3px;
    height: 28px;
    margin: 0 auto;
  }

  .diagram-connector::after {
    right: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(50%) rotate(135deg);
  }
}

@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 0.75rem 1rem 1rem;
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 8px;
    padding: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 4.75rem;
    padding-bottom: 1.75rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-atmosphere {
    display: none;
  }

  .desktop-shell {
    transform: none;
  }

  .assistant-window {
    grid-template-columns: 1fr;
    min-height: 300px;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .split-layout,
  .advisor-row {
    grid-template-columns: 1fr;
  }

  .demo-showcase {
    grid-template-columns: 1fr;
  }

  .capability-board {
    grid-template-columns: 1fr;
  }

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

  .product-section,
  .workflow-section,
  .architecture-section,
  .tech-stack-section,
  .demo-section,
  .quality-section,
  .team-section {
    padding: 4.5rem 0;
  }

  .product-section {
    padding-top: 1rem;
  }
}

@media (max-width: 560px) {
  .section-inner,
  .nav-shell {
    width: min(100% - 1.2rem, var(--max-width));
  }

  .brand-text {
    display: none;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-inner {
    width: calc(100% - 1.2rem);
    max-width: calc(100% - 1.2rem);
    padding-bottom: 1.5rem;
  }

  .hero-inner > *,
  .hero-lede {
    width: 100%;
    max-width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .technical-grid,
  .stack-grid,
  .quality-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-card-photo {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .advisor-card-photo {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .member-photo {
    width: 96px;
    height: 96px;
  }

  .workflow-step {
    min-height: auto;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .lightbox {
    padding: 0;
  }

  .lightbox-frame {
    width: 100vw;
    height: 100vh;
    padding: 3.5rem 0.5rem 5.25rem;
  }

  .lightbox-frame img {
    max-width: 98vw;
    max-height: 84vh;
  }

  .lightbox-close {
    right: 0.75rem;
    top: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
