:root {
  --bg: #050506;
  --bg-soft: #09090b;
  --bg-alt: #101116;
  --panel: rgba(12, 13, 16, 0.9);
  --panel-strong: rgba(15, 16, 20, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.022);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f7fa;
  --muted: rgba(229, 231, 235, 0.66);
  --muted-strong: rgba(240, 244, 248, 0.82);
  --accent: #f3f4f6;
  --accent-strong: #d4d4d8;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-sm: 0 16px 34px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.045), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(180deg, #050506 0%, #08090d 44%, #050506 100%);
  font-family: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 86%);
  opacity: 0.72;
}

body::after {
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      rgba(255, 255, 255, 0.07) calc(50% - 0.5px),
      rgba(255, 255, 255, 0.07) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 12%);
  opacity: 0.5;
}

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

a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 16, 20, 0.98);
  color: var(--text);
  transition: top 180ms ease-out;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 20px 0 96px;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    transparent 14%,
    transparent 86%,
    rgba(255, 255, 255, 0.14)
  );
  opacity: 0.55;
  pointer-events: none;
}

.site-shell::before {
  left: -18px;
}

.site-shell::after {
  right: -18px;
}

.site-promo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.018);
  color: var(--muted-strong);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.site-promo-label,
.site-promo-arrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-promo-label {
  color: rgba(255, 255, 255, 0.9);
}

.site-promo-copy {
  color: rgba(255, 255, 255, 0.6);
}

.site-promo-arrow {
  color: rgba(255, 255, 255, 0.78);
}

.site-header,
.proof-card,
.hero-frame,
.card,
.comparison-card,
.workflow-card,
.cta-panel,
.rail-panel,
.frame-message,
.flow-card,
.frame-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(16, 17, 22, 0.98), rgba(9, 10, 13, 0.96));
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.site-header::before,
.proof-card::before,
.card::before,
.comparison-card::before,
.workflow-card::before,
.cta-panel::before,
.frame-message::before,
.flow-card::before,
.frame-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 82%);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 18px;
  margin-bottom: 52px;
}

.site-nav-wrap {
  display: flex;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(180deg, rgba(20, 21, 27, 1), rgba(11, 12, 16, 1));
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-copy strong {
  font-size: 15px;
  line-height: 1.1;
}

.logo-copy small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a,
.rail-item {
  border-radius: 999px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out,
    border-color 180ms ease-out;
  border: 1px solid rgba(255, 255, 255, 0);
  cursor: pointer;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    color 180ms ease-out,
    transform 180ms ease-out;
}

.header-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease-out,
    box-shadow 180ms ease-out,
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out;
  cursor: pointer;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-cta,
.button.primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
}

.header-cta:hover,
.button.primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero-copy-block {
  position: relative;
  max-width: 680px;
  padding-top: 22px;
}

.hero-copy-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(560px, 100%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 82%);
}

.hero-kicker,
.eyebrow,
.comparison-label,
.card-eyebrow,
.flow-label,
.frame-message-label,
.frame-status,
.footer-label,
.rail-label,
.rail-kicker,
.workflow-index,
.hero-fact span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
}

.hero-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.hero h1,
.section-head h2,
.flow-card h2,
.cta-panel h2,
.proof-card h2,
.comparison-card h3,
.card h3,
.workflow-card h3 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 12ch;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-caption,
.section-copy,
.card p,
.proof-card p,
.comparison-card li,
.workflow-card p,
.cta-panel p,
.frame-message p,
.flow-card p,
.frame-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-caption {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.hero-fact {
  padding: 12px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    rgba(255, 255, 255, 0.015);
}

.hero-fact span {
  display: block;
  color: rgba(255, 255, 255, 0.42);
}

.hero-fact strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
}

.hero-frame {
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  pointer-events: none;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 88%);
  opacity: 0.75;
  pointer-events: none;
}

.frame-topbar,
.frame-layout,
.frame-footer {
  position: relative;
  z-index: 1;
}

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 2px 18px;
}

.window-dots {
  display: inline-flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.window-dots span:first-child {
  background: rgba(248, 113, 113, 0.9);
}

.window-dots span:nth-child(2) {
  background: rgba(251, 191, 36, 0.9);
}

.window-dots span:nth-child(3) {
  background: rgba(52, 211, 153, 0.9);
}

.frame-title {
  flex: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

.frame-status,
.comparison-label,
.card-eyebrow,
.flow-label {
  color: rgba(255, 255, 255, 0.74);
}

.frame-status {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.frame-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}

.frame-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.018);
}

.rail-label,
.rail-kicker,
.footer-label {
  color: rgba(255, 255, 255, 0.44);
}

.rail-item {
  padding: 12px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    color 180ms ease-out;
}

.rail-item:hover,
.rail-item.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.rail-panel {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
}

.rail-panel strong,
.rail-panel small {
  display: block;
}

.rail-panel strong {
  margin-top: 6px;
  font-size: 14px;
}

.rail-panel small {
  margin-top: 6px;
  color: var(--muted);
}

.frame-main {
  display: grid;
  gap: 14px;
}

.frame-message,
.flow-card,
.frame-footer {
  border-radius: 16px;
}

.frame-message {
  padding: 18px;
}

.frame-message p,
.frame-footer p,
.flow-card p {
  margin: 8px 0 0;
}

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

.flow-card {
  padding: 18px;
}

.flow-card.accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 16, 20, 0.96)),
    linear-gradient(180deg, rgba(16, 17, 22, 0.98), rgba(9, 10, 13, 0.96));
}

.flow-card h2 {
  margin-top: 12px;
  font-size: 22px;
}

.frame-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
}

.grid,
.cta-actions {
  display: grid;
  gap: 18px;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 8px;
}

.card,
.cta-panel,
.section-feature {
  border-radius: var(--radius-md);
}

.card,
.section-feature {
  padding: 24px;
}

.section-block {
  position: relative;
  margin-top: 88px;
  padding-top: 22px;
}

.section-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 78%);
}

.section-head {
  max-width: 620px;
}

.section-head h2,
.cta-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 1.02;
}

.section-copy {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 15px;
}

.section-feature {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.015);
  min-height: 220px;
}

.section-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 78%);
  pointer-events: none;
}

.section-feature-label {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.section-feature h3 {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
  max-width: 16ch;
}

.section-feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.section-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.section-feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1;
}

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

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

.signal-grid {
  margin-top: 20px;
}

.card h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 500;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.cta-actions {
  grid-template-columns: 1fr;
  min-width: min(100%, 240px);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-promo {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .section-layout,
  .grid.two,
  .grid.three,
  .cta-panel,
  .frame-layout,
  .frame-footer,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .frame-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: calc(100vw - 20px);
    padding-top: 12px;
  }

  .site-shell::before,
  .site-shell::after,
  body::after {
    display: none;
  }

  .site-header,
  .hero-frame,
  .card,
  .section-feature,
  .cta-panel,
  .site-promo {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .hero-caption,
  .section-copy {
    font-size: 16px;
  }

  .frame-topbar {
    flex-wrap: wrap;
  }

  .frame-sidebar {
    order: 2;
  }

  .frame-title {
    width: 100%;
    order: 3;
  }
}

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

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