:root {
  --background: hsl(0 0% 98.8%);
  --foreground: hsl(222 39% 12%);
  --muted: hsl(36 22% 91%);
  --muted-foreground: hsl(224 9% 43%);
  --card: hsl(36 33% 98%);
  --border: hsl(34 18% 84%);
  --border-soft: hsl(34 18% 90%);
  --primary: hsl(235 54% 30%);
  --primary-soft: hsl(235 54% 30% / 0.1);
  --accent: hsl(176 55% 39%);
  --accent-soft: hsl(176 55% 39% / 0.12);
  --success: hsl(170 65% 35%);
  --success-soft: hsl(170 65% 35% / 0.12);
  --warning: hsl(38 92% 50%);
  --warning-soft: hsl(38 92% 50% / 0.13);
  --destructive: hsl(0 84.2% 60.2%);
  --sidebar: hsl(36 28% 95%);
  --ring: hsl(235 54% 30% / 0.35);
  --shadow: 0 18px 44px hsl(222 39% 12% / 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

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

h1 {
  max-width: 920px;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
  background: hsl(0 0% 98.8% / 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 1280px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.brand-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: 6px;
}

.brand-link img {
  display: block;
  width: 142px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav {
  margin-left: auto;
}

nav a,
.button,
.contact-card a {
  text-decoration: none;
}

nav a {
  transition: color 160ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: hsl(235 54% 24%);
  box-shadow: 0 10px 24px hsl(235 54% 30% / 0.18);
  transform: translateY(-1px);
}

.button-small {
  min-height: 36px;
  padding-inline: 14px;
}

.button-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--foreground);
}

.button-secondary:hover {
  background: var(--card);
  box-shadow: none;
}

.full-width {
  width: 100%;
}

.hero {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 88px) clamp(20px, 4vw, 48px) 64px;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.7;
}

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

.trust-note {
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 650;
}

.product-mockup {
  overflow: hidden;
  max-width: 1120px;
  margin: 54px auto 0;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--background);
}

.mockup-topbar p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 700;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-controls span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-controls span:nth-child(1) {
  background: var(--destructive);
}

.window-controls span:nth-child(2) {
  background: var(--warning);
}

.window-controls span:nth-child(3) {
  background: var(--success);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  min-height: 520px;
}

.mockup-sidebar,
.mockup-main,
.mockup-queue {
  padding: 22px;
}

.mockup-sidebar {
  border-right: 1px solid var(--border-soft);
  background: var(--sidebar);
}

.tree-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.tree-title img {
  width: 32px;
  height: 32px;
}

.tree-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.tree-list p {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tree-list .active-row {
  background: var(--primary-soft);
  color: var(--primary);
}

.mockup-main {
  background: var(--background);
}

.process-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 22px;
}

.process-header h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.process-header p:not(.label) {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.label {
  margin-bottom: 8px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

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

.metrics article,
.process-lines article,
.mockup-queue article,
.integration-panel,
.feature-grid article,
.pricing-card,
.contact-card {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--card);
}

.metrics article {
  padding: 16px;
}

.metrics p {
  margin-bottom: 12px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 650;
}

.metrics strong {
  display: inline-flex;
  border-radius: 6px;
  padding: 4px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.metrics article:nth-child(2) strong {
  background: var(--success-soft);
  color: var(--success);
}

.metrics article:nth-child(3) strong {
  background: var(--warning-soft);
  color: hsl(35 82% 34%);
}

.process-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.process-lines article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px;
}

.process-lines article > span,
.mail-icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 9px var(--card);
}

.process-lines h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.process-lines p,
.mockup-queue small,
.pricing-card p,
.feature-grid p,
.split-copy p,
.contact-layout p,
.legal-grid p {
  color: var(--muted-foreground);
}

.process-lines p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.55;
}

.mockup-queue {
  border-left: 1px solid var(--border-soft);
  background: var(--background);
}

.mockup-queue h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.mockup-queue article {
  margin-top: 10px;
  padding: 13px;
}

.mockup-queue article div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mockup-queue p {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.mockup-queue span {
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--warning-soft);
  color: hsl(35 82% 34%);
  font-size: 11px;
  font-weight: 800;
}

.mockup-queue .quiet {
  background: var(--muted);
  color: var(--muted-foreground);
}

.mockup-queue small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
}

.integration-panel {
  margin-top: 22px;
  padding: 15px;
}

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integrations img {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  padding: 5px;
  background: var(--background);
}

.section {
  padding: 72px clamp(20px, 4vw, 48px);
}

.content-wrap,
.split,
.contact-layout,
.legal-grid,
footer {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.band {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: hsl(36 22% 91% / 0.28);
}

.section-heading,
.pricing-copy {
  max-width: 720px;
}

.section-heading > p:not(.eyebrow),
.pricing-copy p,
.contact-layout p {
  font-size: 16px;
  line-height: 1.7;
}

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

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

.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid article:nth-child(2) span {
  background: var(--warning-soft);
  color: hsl(35 82% 34%);
}

.feature-grid article:nth-child(3) span {
  background: var(--success-soft);
  color: var(--success);
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.65;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.split-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  font-size: 16px;
  line-height: 1.75;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.pricing-card {
  padding: 24px;
}

.pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pricing-card-header p {
  margin-bottom: 0;
  font-size: 14px;
}

.pricing-card-header span {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.pricing-card li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.contact-layout {
  align-items: center;
}

.contact-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 24px;
}

.contact-card h3 {
  margin-bottom: 4px;
}

.contact-card a {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 650;
}

.contact-card a:hover {
  color: var(--foreground);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.legal-grid article {
  scroll-margin-top: 92px;
}

.legal-grid h2 {
  font-size: 28px;
}

.legal-grid p {
  font-size: 14px;
  line-height: 1.65;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 32px clamp(20px, 4vw, 48px);
  color: var(--muted-foreground);
  font-size: 14px;
}

footer img {
  width: 130px;
  height: auto;
}

footer p {
  margin-bottom: 0;
}

footer nav {
  margin-left: auto;
}

@media (max-width: 1120px) {
  .mockup-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .mockup-queue {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .mockup-queue article {
    display: inline-block;
    width: min(100%, 310px);
    margin-right: 8px;
    vertical-align: top;
  }

  .pricing-layout,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    max-width: 520px;
  }
}

@media (max-width: 780px) {
  .header-inner {
    gap: 12px;
  }

  .site-header nav {
    display: none;
  }

  .brand-link img {
    width: 128px;
  }

  .button-small {
    margin-left: auto;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-mockup {
    margin-top: 40px;
  }

  .mockup-grid,
  .metrics,
  .feature-grid,
  .split-copy,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .process-header,
  .pricing-card-header {
    flex-direction: column;
  }

  .mockup-main,
  .mockup-sidebar,
  .mockup-queue {
    padding: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  footer nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }
}
