:root {
  --bg: #050608;
  --bg-soft: #0d1016;
  --panel: rgba(18, 22, 31, 0.88);
  --panel-strong: rgba(24, 29, 40, 0.96);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(88, 139, 255, 0.38);
  --text: #f5f7fb;
  --muted: #a8b1c3;
  --accent: #3a8dff;
  --accent-strong: #1b63ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font: "Inter", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(47, 102, 219, 0.28), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(100, 145, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #07090e 0%, #040507 100%);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(10, 13, 18, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.topnav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 56px;
  align-items: start;
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  /*text-transform: uppercase;*/
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #8eb7ff;
}

.hero h1,
.legal-page h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 8.4ch;
  letter-spacing: -0.045em;
}

.lede {
  margin: 18px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.7;
}

.hero-actions,
.support-card .button {
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.microcopy {
  margin-top: 16px;
  color: #8f97a8;
  font-size: 0.94rem;
  max-width: 38ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 14px 30px rgba(24, 99, 255, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.hero-copy {
  max-width: 34rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 10% 10% 12%;
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 25%, rgba(70, 122, 255, 0.32), transparent 32%),
    radial-gradient(circle at 72% 60%, rgba(48, 148, 255, 0.18), transparent 34%);
  filter: blur(30px);
  opacity: 0.95;
  pointer-events: none;
}

.screenshot-frame,
.feature-card,
.workflow-step,
.support-card,
.legal-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: 28px;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot {
  position: relative;
  width: min(860px, 100%);
  margin-right: -14px;
  border-radius: 30px;
  transform: perspective(2200px) rotateY(-8deg) rotateX(3deg) translateY(8px) scale(1.08);
  transform-origin: center right;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-shot img {
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%);
  pointer-events: none;
}

.feature-strip,
.workflow-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-card,
.workflow-step,
.support-card,
.legal-card {
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h2,
.workflow-step h3,
.support-card h3,
.legal-card h2 {
  margin-top: 0;
}

.feature-card p,
.workflow-step p,
.support-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.workflow,
.support-panel,
.legal-page {
  padding-top: 60px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.workflow .section-heading,
.screenshot-showcase .section-heading,
.support-panel .section-heading {
  max-width: min(68%, 58rem);
}

.workflow .section-heading h2,
.screenshot-showcase .section-heading h2,
.support-panel .section-heading h2 {
  max-width: none;
}

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

.workflow-step {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(58, 141, 255, 0.14);
  border: 1px solid var(--border-strong);
  color: #9ec4ff;
  font-weight: 700;
}

.support-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.screenshot-showcase {
  padding-top: 60px;
}

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

.showcase-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.showcase-card-large {
  grid-column: 1 / -1;
}

.showcase-copy {
  margin-bottom: 16px;
}

.showcase-copy h3 {
  margin: 0 0 10px;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-shot {
  margin-top: 24px;
}

.small-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #8e97a9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 58px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.site-shell-legal .section-heading h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.legal-card {
  max-width: 860px;
}

.legal-card h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .hero,
  .feature-strip,
  .workflow-grid,
  .support-grid,
  .showcase-grid,
  .showcase-split {
    grid-template-columns: 1fr;
  }

  .workflow .section-heading,
  .screenshot-showcase .section-heading,
  .support-panel .section-heading {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar,
  .topnav,
  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-shot {
    transform: none;
    margin-right: 0;
    width: 100%;
  }
}
