:root {
  --bg: #090d10;
  --bg-panel: #101619;
  --bg-card: #f7fbf8;
  --ink: #f6f8f3;
  --muted: #bfcbc8;
  --dark-ink: #11191d;
  --dark-muted: #536460;
  --accent: #8be4b4;
  --accent-strong: #62cf96;
  --blue: #9ecbff;
  --gold: #f6c65b;
  --line: rgba(225, 236, 231, 0.18);
  --line-strong: rgba(139, 228, 180, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(8, 9, 12, 0.98) 0%, rgba(10, 18, 22, 0.98) 48%, rgba(8, 11, 16, 0.99) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 96px);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  background: rgba(9, 13, 16, 0.86);
  backdrop-filter: blur(20px);
}

.brand,
.site-nav,
.hero-actions,
.trust-list,
.header-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(139, 228, 180, 0.34);
  border-radius: 9px;
  background: #061324;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-link:hover,
.header-link:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  color: #ffffff;
}

.header-actions {
  gap: 14px;
}

.header-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: #eafcf2;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  margin: 0;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 28px max(20px, calc((100vw - 1220px) / 2)) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after,
.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.92) 0%, rgba(3, 7, 10, 0.72) 34%, rgba(3, 8, 14, 0.24) 70%, rgba(3, 7, 12, 0.66) 100%),
    linear-gradient(0deg, rgba(3, 6, 8, 0.94) 0%, rgba(3, 6, 8, 0.08) 34%, rgba(3, 6, 8, 0.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: #ffffff;
  max-width: 100%;
  font-size: 2.82rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  margin-bottom: 0;
  color: #d3dcda;
  max-width: 560px;
  font-size: 0.94rem;
  line-height: 1.35;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 900;
}

.button.primary {
  border: 1px solid #dff8ea;
  background: #f7fbf8;
  color: #101819;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #edf7f2;
}

.play-action {
  gap: 10px;
}

.play-action span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 0.72rem;
  line-height: 1;
}

.hero-scope {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.trust-list {
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #d4dfdc;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 43%;
}

.workflow-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: auto;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(225, 236, 231, 0.08);
  background: #050b0f;
  line-height: 0;
}

.workflow-gif {
  position: relative;
  z-index: 1;
  width: min(100vw, 2048px);
  max-width: none;
  height: auto;
}

.section {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 30px;
}

.section h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.feature-grid article,
.workflow-list li,
.pilot-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid article {
  padding: 24px;
}

.feature-index {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.82rem;
}

.feature-grid h3 {
  margin: 18px 0 10px;
  color: #ffffff;
  font-size: 1.25rem;
}

.feature-grid p,
.workflow-list p,
.pilot-section p,
.site-footer {
  color: var(--muted);
  line-height: 1.58;
}

.feature-grid p,
.workflow-list p,
.pilot-section p {
  margin-bottom: 0;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.workflow-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(158, 203, 255, 0.42);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
}

.workflow-list strong {
  color: #ffffff;
}

.pilot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 28px;
  margin-bottom: 70px;
}

.pilot-section h2 {
  font-size: 2rem;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1220px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 900;
}

.login-page {
  min-height: 100vh;
}

.login-hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 48px;
  padding: 48px max(20px, calc((100vw - 1220px) / 2)) 84px;
  overflow: hidden;
  isolation: isolate;
}

.login-copy {
  display: grid;
  gap: 20px;
  max-width: 660px;
}

.login-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(225, 236, 231, 0.24);
  border-radius: 8px;
  background: rgba(7, 13, 18, 0.82);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.login-panel label {
  display: grid;
  gap: 8px;
  color: #ecf7f4;
  font-size: 0.9rem;
  font-weight: 800;
}

.login-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(225, 236, 231, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font: inherit;
}

.login-panel input:focus {
  outline: 2px solid rgba(139, 228, 180, 0.58);
  outline-offset: 2px;
}

.login-panel .button {
  border: 0;
  cursor: pointer;
}

.login-support {
  justify-self: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.login-support:hover,
.login-support:focus-visible {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 32px, 1220px);
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section,
  .site-footer {
    width: min(100% - 32px, 1220px);
  }

  .hero {
    width: auto;
    min-height: calc(100svh - 74px);
    padding: 26px 16px 58px;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  .feature-grid,
  .workflow-list,
  .pilot-section,
  .login-hero {
    grid-template-columns: 1fr;
  }

  .pilot-section {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .header-action,
  .header-link {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .workflow-showcase {
    min-height: 300px;
    align-content: center;
  }

  .workflow-gif {
    width: 960px;
    transform: translateX(-24%);
  }

  .hero-bg,
  .login-hero .hero-bg {
    object-position: 56% 43%;
  }

  h1 {
    font-size: 1.98rem;
  }

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

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .login-hero {
    min-height: auto;
    gap: 26px;
    padding: 42px 16px 64px;
  }

  .login-panel {
    padding: 20px;
  }
}
