:root {
  color-scheme: dark;
  --bg: #071421;
  --panel: #0d1d2e;
  --panel-2: #14283f;
  --ink: #f3f7ff;
  --muted: #9badc3;
  --line: rgba(141, 172, 207, 0.22);
  --line-soft: rgba(141, 172, 207, 0.12);
  --accent: #4d83b3;
  --accent-2: #7b57d7;
  --green: #55ae79;
  --blue: #4478b8;
  --purple: #7437a8;
  --violet: #6c51ce;
  --gold: #b9872d;
  --red: #e75c60;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 4%, rgba(77, 131, 179, 0.16), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgba(123, 87, 215, 0.12), transparent 28rem),
    #071421;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 11px),
    linear-gradient(45deg, rgba(77, 131, 179, 0.028) 0 1px, transparent 1px 13px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035), transparent 34rem);
  background-size:
    22px 22px,
    26px 26px,
    100% 100%;
  content: "";
  pointer-events: none;
}

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

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 20, 33, 0.78);
  backdrop-filter: blur(18px);
}

.brand-lockup,
.site-nav nav,
.hero-actions,
.preview-actions,
.pricing-card,
.waitlist-form {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-lockup img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav nav {
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-link,
.secondary-link,
.waitlist-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta,
.secondary-link {
  border: 1px solid var(--line);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
}

.primary-link,
.waitlist-form button {
  border: 1px solid rgba(139, 180, 219, 0.34);
  padding: 0 18px;
  background: var(--accent);
  color: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 108px 28px 42px;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 88px 28px 28px;
  opacity: 0.92;
}

.product-window {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 72px 248px minmax(620px, 1fr) 250px;
  overflow: hidden;
  border: 1px solid rgba(139, 180, 219, 0.28);
  border-radius: 8px;
  background: #08131f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

.server-rail,
.workspace-rail,
.signal-panel,
.timeline-preview {
  min-width: 0;
  border-right: 1px solid var(--line-soft);
}

.server-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 26px 0;
  background: #081726;
}

.server {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #17304b;
  box-shadow: inset 0 0 0 1px var(--line);
}

.server.active {
  background: var(--accent);
}

.server.add {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.workspace-rail {
  padding: 28px 18px;
  background: #0b1b2d;
}

.workspace-name {
  margin-bottom: 28px;
  font-size: 21px;
  font-weight: 900;
}

.rail-label,
.eyebrow,
.panel-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client,
.project {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.client {
  margin-top: 20px;
  font-size: 17px;
}

.client.active {
  color: var(--ink);
}

.project {
  margin-top: 12px;
  padding-left: 18px;
  font-size: 14px;
}

.timeline-preview {
  --hero-today-x: 58%;
  display: grid;
  grid-template-rows: 92px 76px minmax(0, 1fr);
  background: #07111c;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-soft);
}

.preview-top small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-top strong {
  display: block;
  margin-top: 5px;
  font-size: 26px;
}

.preview-actions {
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-actions span {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
}

.preview-actions .active {
  background: var(--accent-2);
  color: white;
}

.date-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr repeat(9, 1fr);
  align-items: end;
  gap: 12px;
  padding: 0 26px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.date-row span {
  align-self: start;
  padding-top: 22px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.date-row b {
  text-align: center;
  font-size: 16px;
}

.date-row .today {
  color: transparent;
}

.hero-today-badge {
  position: absolute;
  left: var(--hero-today-x);
  bottom: 11px;
  display: grid;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-style: normal;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
}

.timeline-grid {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(141, 172, 207, 0.08) 10.1% 10.3%, transparent 10.4% 25%, rgba(141, 172, 207, 0.08) 25.1% 25.3%, transparent 25.4% 40%, rgba(141, 172, 207, 0.08) 40.1% 40.3%, transparent 40.4% 55%, rgba(141, 172, 207, 0.08) 55.1% 55.3%, transparent 55.4% 70%, rgba(141, 172, 207, 0.08) 70.1% 70.3%, transparent 70.4%),
    #07111c;
}

.lane-label {
  position: absolute;
  left: 22px;
  top: 28px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lane-label.second {
  top: 48%;
}

.bar {
  position: absolute;
  z-index: 2;
  left: var(--left);
  top: var(--top);
  width: var(--width);
  min-width: 150px;
  height: 76px;
  padding: 13px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.bar::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: inherit;
  content: "";
}

.bar small,
.bar span {
  position: relative;
  z-index: 2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar small {
  opacity: 0.78;
  font-size: 12px;
  font-weight: 850;
}

.bar span {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 950;
}

.bar.violet {
  background: var(--violet);
}

.bar.purple {
  background: var(--purple);
}

.bar.green {
  background: var(--green);
}

.deadline-fire-task {
  isolation: isolate;
}

.deadline-fire {
  position: absolute;
  right: 7px;
  top: -36px;
  z-index: 0;
  display: block;
  width: 42px;
  height: 50px;
  overflow: visible;
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 0 15px rgba(255, 113, 36, 0.52));
  transform-origin: 50% 100%;
  animation: hero-flame-breathe 2.4s ease-in-out infinite;
}

.ember {
  position: absolute;
  z-index: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffb14a;
  box-shadow: 0 0 12px rgba(255, 136, 35, 0.8);
  opacity: 0.86;
  animation: hero-ember-rise 2.8s ease-in-out infinite;
}

.ember-one {
  right: 11px;
  top: -30px;
}

.ember-two {
  right: 39px;
  top: -16px;
  animation-delay: 0.8s;
}

.ember-three {
  right: 26px;
  top: -42px;
  animation-delay: 1.4s;
}

@keyframes hero-flame-breathe {
  0%,
  100% {
    transform: translateY(0) scale(0.96) rotate(-2deg);
  }

  50% {
    transform: translateY(-4px) scale(1.04) rotate(2deg);
  }
}

@keyframes hero-ember-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.7);
  }

  24% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate3d(-10px, -34px, 0) scale(1.05);
  }
}

.cdi {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--hero-today-x);
  width: 2px;
  background: var(--red);
  transform: translateX(-50%);
}

.signal-panel {
  border-right: 0;
  padding: 28px 18px;
  background: #0b1b2d;
}

.panel-title {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-item {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.03);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 32vh 0 0 2vw;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 12px 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #d5dfec;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-actions {
  gap: 12px;
  margin-top: 26px;
}

.section,
.community-section,
.pricing,
.waitlist {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 28px;
}

.split,
.import-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 62px;
  align-items: start;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3,
p {
  margin: 0;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article,
.workspace-cards article,
.import-panel,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 29, 46, 0.82);
  backdrop-filter: blur(14px);
}

.feature-stack article {
  padding: 22px;
}

.feature-stack span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.feature-stack h3,
.workspace-cards h3 {
  margin-top: 8px;
  font-size: 24px;
}

.feature-stack p,
.workspace-cards p,
.import-section p,
.pricing h2 + p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.section-heading {
  max-width: 820px;
}

.workspace-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.workspace-cards article {
  min-height: 220px;
  padding: 24px;
}

.import-section {
  align-items: center;
}

.import-panel {
  padding: 26px;
  min-height: 350px;
}

.import-panel p {
  margin-top: 48px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 900;
}

.generated-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 18px;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.generated-task b {
  font-size: 28px;
}

.generated-task span {
  font-weight: 900;
}

.pricing {
  text-align: center;
}

.pricing-card {
  max-width: 720px;
  justify-content: space-between;
  gap: 18px;
  margin: 36px auto 0;
  padding: 20px;
  text-align: left;
}

.pricing-card strong {
  display: block;
  font-size: 24px;
}

.pricing-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 750;
}

.waitlist {
  padding-top: 80px;
}

.waitlist-form {
  max-width: 620px;
  gap: 10px;
  margin-top: 28px;
}

.waitlist-form label {
  flex: 1;
}

.waitlist-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.waitlist-form button {
  align-self: end;
  height: 48px;
  border: 0;
  font: inherit;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: auto auto;
  }

  .site-nav nav {
    display: none;
  }

  .hero-scene {
    inset: 86px 12px 22px;
  }

  .product-window {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .workspace-rail,
  .signal-panel {
    display: none;
  }

  .timeline-preview {
    border-right: 0;
  }

  .hero-copy {
    padding-top: 38vh;
  }

  .split,
  .import-section,
  .workspace-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    height: 64px;
    padding: 0 14px;
    background: rgba(7, 20, 33, 0.92);
  }

  .nav-cta {
    display: none;
  }

  .brand-lockup {
    gap: 9px;
    font-size: 16px;
  }

  .brand-lockup img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .hero {
    min-height: 100svh;
    padding: 84px 18px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    order: 2;
    height: 335px;
    opacity: 0.9;
  }

  .product-window {
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    border-color: rgba(139, 180, 219, 0.18);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  }

  .server-rail {
    display: none;
  }

  .timeline-preview {
    grid-template-rows: 74px minmax(0, 1fr);
  }

  .preview-top,
  .signal-panel {
    display: none;
  }

  .date-row {
    grid-template-columns: 1.15fr repeat(6, 1fr);
    gap: 8px;
    padding: 0 18px 14px;
  }

  .date-row span {
    padding-top: 18px;
    font-size: 22px;
  }

  .date-row b {
    font-size: 15px;
  }

  .date-row b:nth-of-type(n + 7) {
    display: none;
  }

  .hero-today-badge {
    left: auto;
    right: 14px;
    bottom: 8px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    transform: none;
  }

  .timeline-grid {
    background:
      linear-gradient(90deg, transparent 0 22%, rgba(141, 172, 207, 0.07) 22.1% 22.4%, transparent 22.5% 48%, rgba(141, 172, 207, 0.07) 48.1% 48.4%, transparent 48.5% 74%, rgba(141, 172, 207, 0.07) 74.1% 74.4%, transparent 74.5%),
      #07111c;
  }

  .lane-label {
    left: 20px;
    top: 34px;
    max-width: calc(100% - 54px);
    opacity: 0.72;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .lane-label.second {
    top: 62%;
  }

  .bar {
    min-width: 0;
    height: 62px;
    padding: 10px 13px;
    border-radius: 7px;
  }

  .bar small {
    font-size: 10px;
  }

  .bar span {
    margin-top: 7px;
    font-size: 16px;
  }

  .bar.blue {
    left: 20% !important;
    top: 25% !important;
    width: 66% !important;
  }

  .bar.violet {
    display: none;
  }

  .bar.purple {
    left: 30% !important;
    top: 58% !important;
    width: 66% !important;
  }

  .bar.green {
    display: none;
  }

  .deadline-fire {
    top: -28px;
    right: 5px;
    font-size: 32px;
  }

  .cdi {
    left: auto;
    right: 28px;
    transform: none;
  }

  .hero-copy {
    order: 1;
    max-width: 100%;
    padding: 0;
    text-shadow: none;
  }

  .hero-copy h1 {
    max-width: 11ch;
    margin: 10px 0;
    font-size: clamp(44px, 14.5vw, 58px);
    line-height: 0.96;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 18px;
    line-height: 1.34;
    font-weight: 750;
  }

  .hero-copy .eyebrow {
    max-width: 30ch;
    line-height: 1.35;
  }

  .hero-actions,
  .waitlist-form,
  .pricing-card {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
    min-height: 48px;
  }

  .section,
  .community-section,
  .pricing,
  .waitlist {
    padding: 82px 16px;
  }
}
