:root {
  --st-font-ui: "Chakra Petch", system-ui, sans-serif;
  --st-font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --st-space-1: 0.25rem;
  --st-space-2: 0.5rem;
  --st-space-3: 0.75rem;
  --st-space-4: 1rem;
  --st-space-5: 1.25rem;
  --st-space-6: 1.5rem;
  --st-space-8: 2rem;
  --st-space-10: 2.5rem;
  --st-radius-sm: 4px;
  --st-radius-md: 6px;
  --st-radius-lg: 10px;
  --st-radius-pill: 999px;
  --st-motion-fast: 160ms ease;
}

html[data-theme="dark"] {
  --st-bg: #0a0d10;
  --st-surface-1: #11171d;
  --st-surface-2: #151d24;
  --st-surface-3: #1c2630;
  --st-edge: rgba(130, 156, 178, 0.22);
  --st-edge-strong: rgba(142, 174, 200, 0.36);
  --st-text: #e0e3e7;
  --st-text-muted: #9ea8b7;
  --st-accent: #5ec2f4;
  --st-accent-strong: #8ed8fa;
  --st-text-on-accent: #071016;
  --st-inline-highlight-bg: rgba(94, 194, 244, 0.12);
  --st-inline-highlight-border: rgba(94, 194, 244, 0.28);
  --st-shadow-flat: 0 18px 40px rgba(0, 0, 0, 0.26);
  --st-shadow-inset-panel: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 32px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"],
:root:not([data-theme="dark"]) {
  --st-bg: #f2f4f7;
  --st-surface-1: #ffffff;
  --st-surface-2: #eef2f5;
  --st-surface-3: #e2e8ed;
  --st-edge: rgba(83, 100, 118, 0.22);
  --st-edge-strong: rgba(83, 100, 118, 0.34);
  --st-text: #1c2630;
  --st-text-muted: #536476;
  --st-accent: #0f6a8f;
  --st-accent-strong: #0b506d;
  --st-text-on-accent: #ffffff;
  --st-inline-highlight-bg: rgba(15, 106, 143, 0.1);
  --st-inline-highlight-border: rgba(15, 106, 143, 0.24);
  --st-shadow-flat: 0 18px 40px rgba(42, 55, 68, 0.12);
  --st-shadow-inset-panel: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 14px 28px rgba(42, 55, 68, 0.1);
}

html {
  background: var(--st-bg);
}

body {
  background:
    linear-gradient(180deg, rgba(94, 194, 244, 0.05), transparent 360px),
    var(--st-bg);
  color: var(--st-text);
  font-family: var(--st-font-body);
  letter-spacing: 0.01em;
}

a {
  color: var(--st-accent);
}

a:hover,
a:active {
  color: var(--st-accent-strong);
}

.st-font,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--st-font-ui);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
small,
label,
figcaption {
  color: inherit;
}

main.container,
footer.container {
  max-width: 980px;
  padding-inline: var(--st-space-5);
}

.hero {
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 16, 0.48), rgba(10, 13, 16, 0.92)),
    image-set(
      url("../../assets/images/cover-image-sunset-hills-view-over-town-800.png") 1x,
      url("../../assets/images/cover-image-sunset-hills-view-over-town-1200.png") 1.5x,
      url("../../assets/images/cover-image-sunset-hills-view-over-town-1920.png") 2x
    );
  background-position: center top;
  background-size: cover;
  border-bottom: 1px solid var(--st-edge);
}

.landing-hero {
  padding: var(--st-space-6) var(--st-space-5) var(--st-space-10);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--st-space-4);
  max-width: 980px;
  margin: 0 auto var(--st-space-10);
}

.landing-logo {
  width: min(280px, 70vw);
  height: auto;
}

.landing-nav-links,
.landing-actions,
.landing-feature-grid,
.landing-audience-grid,
.landing-steps,
.landing-card-list {
  display: flex;
  gap: var(--st-space-3);
  margin-top: 3px;
}
.landing-card-heading-with-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--st-space-2);
}

.square-logo {
  width: auto;
  height: 1.25em;
  max-height: 1.25em;
  object-fit: contain;
  vertical-align: -0.14em;
}
.lightspeed-logo {
  width: auto;
  height: 1em;
  max-height: 1em;
  object-fit: contain;
  vertical-align: -0.1em;
  border-radius: var(--st-radius-sm);
}
.landing-nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: var(--st-space-8);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.landing-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--st-space-4);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--st-inline-highlight-border);
  border-radius: var(--st-radius-sm);
  background: var(--st-inline-highlight-bg);
  color: var(--st-accent);
  font-family: var(--st-font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 760px;
  margin: 0 0 var(--st-space-5);
  color: var(--st-text);
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.landing-lead {
  max-width: 650px;
  margin-bottom: var(--st-space-6);
  color: var(--st-text-muted);
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
}

.landing-actions {
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--st-space-6);
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--st-edge-strong);
  border-radius: var(--st-radius-md);
  background: var(--st-surface-3);
  color: var(--st-text);
  font-family: var(--st-font-ui);
  font-weight: 600;
  line-height: 1.1;
  transition: background-color var(--st-motion-fast), border-color var(--st-motion-fast), color var(--st-motion-fast), transform var(--st-motion-fast);
  margin-bottom: 1px;
}

.st-btn:hover,
.st-btn:active {
  border-color: var(--st-accent);
  background: var(--st-surface-2);
  color: var(--st-accent-strong);
  transform: translateY(-1px);
}

.st-btn-primary {
  border-color: var(--st-accent);
  background: var(--st-accent);
  color: var(--st-text-on-accent);
}

.st-btn-primary:hover,
.st-btn-primary:active {
  background: var(--st-accent-strong);
  color: var(--st-text-on-accent);
}

.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--st-space-3);
  max-width: 650px;
}

.landing-proof-item {
  padding: var(--st-space-3);
  border: 1px solid var(--st-edge);
  border-radius: var(--st-radius-md);
  background: rgba(17, 23, 29, 0.64);
  color: var(--st-text-muted);
}

.landing-proof-item strong {
  display: block;
  color: var(--st-text);
  font-family: var(--st-font-ui);
}

.landing-hero-panel,
.dashboard-section,
.landing-card,
.landing-step,
.landing-video-card,
.landing-form-panel {
  border: 1px solid var(--st-edge);
  border-radius: var(--st-radius-lg);
  background: var(--st-surface-1);
  box-shadow: var(--st-shadow-inset-panel);
}

.landing-hero-panel {
  padding: var(--st-space-5);
}

.landing-panel-label {
  margin-bottom: var(--st-space-4);
  color: var(--st-text-muted);
  font-family: var(--st-font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-card-list,
.landing-audience-grid,
.landing-feature-grid,
.landing-steps {
  flex-direction: column;
}

.landing-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-card-list li,
.landing-card,
.landing-step {
  padding: var(--st-space-4);
  border: 1px solid var(--st-edge);
  border-radius: var(--st-radius-md);
  background: var(--st-surface-2);
}

.landing-card-list li + li {
  margin-top: var(--st-space-3);
}

.landing-card-list strong,
.landing-card h3,
.landing-step strong {
  display: block;
  margin-bottom: var(--st-space-1);
  color: var(--st-text);
  font-family: var(--st-font-ui);
}

.landing-card-list span,
.landing-card p,
.landing-step p {
  color: var(--st-text-muted);
}

.dashboard-section {
  margin: var(--st-space-8) 0;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.dashboard-section-header {
  margin-bottom: var(--st-space-5);
}

.dashboard-section-title {
  margin-bottom: var(--st-space-2);
  color: var(--st-text);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.08;
}

.dashboard-section-subtitle,
.dashboard-section-paragraph {
  color: var(--st-text-muted);
}

.dashboard-section-paragraph {
  max-width: 720px;
}

.font-highlight {
  padding: 0 0.25rem;
  border: 1px solid var(--st-inline-highlight-border);
  border-radius: var(--st-radius-sm);
  background: var(--st-inline-highlight-bg);
  color: var(--st-accent);
}

.landing-audience-grid,
.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.landing-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--st-space-3);
}

.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--st-edge-strong);
  border-radius: var(--st-radius-sm);
  background: var(--st-surface-3);
  color: var(--st-accent);
  font-family: var(--st-font-ui);
  font-weight: 700;
}

.landing-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--st-space-4);
}

.landing-figure {
  margin: 0;
}

.landing-figure img,
.landing-video-card video,
.video-poster {
  width: 100%;
  border: 1px solid var(--st-edge);
  border-radius: var(--st-radius-md);
  background: var(--st-surface-2);
}

.landing-figure figcaption {
  margin-top: var(--st-space-2);
  color: var(--st-text-muted);
  font-size: 0.9rem;
}

.landing-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--st-space-4);
}

.landing-video-card {
  padding: var(--st-space-4);
}

.landing-video-card h3 {
  margin-bottom: var(--st-space-3);
}

.video-container {
  position: relative;
  width: 100%;
}

.video-poster {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.video-message {
  color: var(--st-text-muted);
}

.landing-form-panel {
  padding: var(--st-space-5);
}

.landing-form-panel form {
  padding-left: 0 !important;
}

input,
textarea,
select {
  border-color: var(--st-edge-strong);
  background-color: var(--st-surface-2);
  color: var(--st-text);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--st-accent);
  box-shadow: none;
}

button,
input[type="submit"],
input[type="button"] {
  border-color: var(--st-accent);
  background: var(--st-accent);
  color: var(--st-text-on-accent);
  font-family: var(--st-font-ui);
  font-weight: 700;
}

button:hover,
button:active,
input[type="submit"]:hover,
input[type="button"]:hover {
  border-color: var(--st-accent-strong);
  background: var(--st-accent-strong);
  color: var(--st-text-on-accent);
}

.top-link,
.landing-pg-return-link {
  color: var(--st-accent);
}

.hero-announcement {
  border: 1px solid var(--st-edge-strong);
  background: var(--st-surface-2);
  box-shadow: none !important;
  color: var(--st-text);
}

.hero-announcement:hover,
.hero-announcement:active {
  padding: 5px;
  box-shadow: none !important;
  color: var(--st-accent);
}

.social-icon,
.social-icon:hover,
.social-icon:active,
.toggle-header.glow {
  box-shadow: none !important;
}

.social-icon:hover,
.social-icon:active {
  transform: translateY(-1px);
}

.loading-animate {
  animation: none !important;
}

footer.container {
  margin-top: var(--st-space-8);
  padding-bottom: var(--st-space-8);
  color: var(--st-text-muted);
}

footer img,
.social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 840px) {
  .landing-nav,
  .landing-hero-grid,
  .landing-audience-grid,
  .landing-feature-grid,
  .landing-figure-grid,
  .landing-video-grid {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .landing-nav-links,
  .landing-actions {
    justify-content: center;
  }

  .landing-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  main.container,
  footer.container,
  .landing-hero {
    padding-inline: var(--st-space-4);
  }

  .st-btn,
  .landing-actions a {
    width: 100%;
  }

  .landing-step {
    grid-template-columns: 1fr;
  }
}
