:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f6f4;
  --surface-dark: #121212;
  --text: #121212;
  --muted: #5f5f5f;
  --line: rgba(18, 18, 18, 0.12);
  --accent: #fe3c05;
  --accent-dark: #e73504;
  --shadow: 0 24px 80px rgba(18, 18, 18, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(254, 60, 5, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #faf9f7 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface-dark);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: inline-flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

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

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: white;
}

.button-secondary:hover,
.button-ghost:hover {
  background: #fff6f2;
  border-color: rgba(254, 60, 5, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 20px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
}

.lead {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

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

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

.stats div,
.flow-card,
.steps article,
.floating-panel,
.preview-window {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.stats div {
  border-radius: 20px;
  padding: 18px 18px 16px;
}

.stats dt {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
}

.preview-window {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
}

.window-topbar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: #121212;
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.preview-media {
  position: relative;
  padding: 18px 18px 0;
}

.preview-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

.preview-chip {
  position: absolute;
  left: 34px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.88);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

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

.preview-grid article {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
}

.preview-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.preview-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.floating-panel {
  position: absolute;
  right: -8px;
  bottom: -22px;
  width: min(320px, 78%);
  border-radius: 22px;
  padding: 18px 18px 16px;
}

.floating-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-panel strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.floating-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  padding: 24px 0 12px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 56rem;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

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

.steps article {
  border-radius: 24px;
  padding: 22px;
}

.steps span,
.flow-card p {
  display: inline-flex;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0;
  font-size: 1.2rem;
}

.steps p,
.flow-card span {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.section-dark {
  margin-top: 18px;
  padding: 40px 28px;
  border-radius: 32px;
  background: var(--surface-dark);
  color: white;
}

.section-dark .eyebrow,
.section-dark .section-heading h2 {
  color: white;
}

.section-dark .section-heading h2 {
  max-width: 22ch;
}

.flow-card {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.flow-card p {
  color: #ff8d67;
}

.flow-card strong {
  display: block;
  font-size: 1.12rem;
}

.flow-card span {
  color: rgba(255, 255, 255, 0.74);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 28px 0 10px;
}

.cta-band h2 {
  max-width: 18ch;
}

@media (max-width: 1024px) {
  .hero,
  .steps,
  .flow,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .floating-panel {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding-top: 6px;
    overflow-x: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .preview-media img {
    height: 250px;
  }

  .section-dark {
    padding: 24px 18px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
