:root {
  --background: #fafafa;
  --foreground: #151515;
  --muted: #6f737b;
  --line: #e7e7e7;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --black: #111111;
  --blue-soft: #eaf2ff;
  --green-soft: #eaf8ef;
  --amber-soft: #fff6df;
  --red-soft: #fdeeee;
  --violet-soft: #f2efff;
  --shadow: 0 24px 80px rgba(31, 41, 55, 0.11);
  --shadow-sm: 0 8px 28px rgba(31, 41, 55, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(250, 250, 250, 1) 420px),
    var(--background);
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.76);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(22px) saturate(145%);
}

.brand {
  display: inline-grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 188px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--black);
  color: #ffffff;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: #52565d;
  font-size: 13px;
  font-weight: 750;
}

.top-nav a:hover {
  color: #111111;
}

.header-action,
.primary-action,
.secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.header-action,
.primary-action {
  background: var(--black);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #1f2937;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px) 56px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  color: #111827;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 820;
}

h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.mobile-section p,
.final-cta p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
}

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

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

.hero-metrics div {
  min-height: 112px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  color: #111827;
  font-size: 22px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-stage {
  min-width: 0;
}

.browser-shell {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.browser-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #ececec;
  background: #f8fafc;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
}

.browser-top strong {
  margin-left: 10px;
  color: #6b7280;
  font-size: 12px;
}

.app-preview {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 520px;
  background: #fafafa;
}

.app-preview aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px 14px;
  border-right: 1px solid #ececec;
  background: rgba(255, 255, 255, 0.8);
}

.app-preview aside strong {
  margin-bottom: 10px;
  font-size: 14px;
}

.app-preview aside span {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #52565d;
  font-size: 12px;
  font-weight: 750;
}

.app-preview aside .nav-active {
  background: #f3f4f6;
  color: #111827;
  box-shadow: inset 3px 0 0 #111827;
}

.dashboard-preview {
  min-width: 0;
  padding: 22px;
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.preview-title span {
  font-weight: 850;
}

.preview-title button {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
}

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

.metric-grid article,
.queue-list,
.chart-card,
.call-center-preview,
.domain-grid article,
.feature-grid article,
.final-cta,
.phone-screen article {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 8px;
  background: var(--panel-solid);
}

.metric-grid article {
  min-height: 110px;
  padding: 16px;
}

.metric-grid small,
.queue-list header span,
.call-card small,
.phone-screen small,
.domain-grid small {
  color: #7b8089;
  font-size: 11px;
  font-weight: 780;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 25px;
}

.metric-grid em {
  display: inline-flex;
  margin-top: 9px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--green-soft);
  color: #20603a;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.75fr);
  gap: 12px;
  margin-top: 12px;
}

.queue-list {
  padding: 16px;
}

.queue-list header {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.queue-list p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
}

.queue-list b {
  font-size: 13px;
}

.queue-list p > span {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}

.queue-list em {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--green-soft);
  color: #20603a;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.queue-list em.danger {
  background: var(--red-soft);
  color: #a23a3a;
}

.chart-card {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 11px;
  min-height: 210px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.chart-card span {
  width: 18px;
  border-radius: 999px 999px 6px 6px;
  background: #111111;
}

.section,
.workflow-section,
.split-section,
.mobile-section,
.final-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 86px 0 36px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

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

.feature-grid article {
  min-height: 214px;
  padding: 20px;
}

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

.catalog-grid article,
.workflow-grid article {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 8px;
  background: var(--panel-solid);
}

.catalog-grid article {
  min-height: 252px;
  padding: 20px;
}

.catalog-grid small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-grid h3 {
  margin-top: 14px;
}

.catalog-grid p,
.workflow-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.workflow-section {
  padding: 54px 0 36px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.workflow-grid article {
  min-height: 214px;
  padding: 16px;
}

.workflow-grid span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 18px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.workflow-grid strong {
  display: block;
  font-size: 15px;
}

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

.feature-icon {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
}

.feature-icon.blue { background: var(--blue-soft); }
.feature-icon.green { background: var(--green-soft); }
.feature-icon.amber { background: var(--amber-soft); }
.feature-icon.red { background: var(--red-soft); }
.feature-icon.violet { background: var(--violet-soft); }

.split-section,
.mobile-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 72px 0;
}

.use-case-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.use-case-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.use-case-list strong {
  color: #111827;
}

.use-case-list span {
  color: var(--muted);
  line-height: 1.55;
}

.call-center-preview {
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.mini-tabs span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f6f7f8;
  color: #6b7280;
  font-size: 11px;
  font-weight: 760;
}

.mini-tabs .is-on {
  background: #111111;
  color: #ffffff;
}

.call-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
}

.call-card strong,
.call-card span {
  display: block;
}

.call-card strong {
  margin-top: 7px;
}

.call-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.call-card b {
  white-space: nowrap;
}

.soft-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
}

.soft-row span {
  color: #4b5563;
}

.positive { background: var(--green-soft); }
.warning { background: var(--amber-soft); }
.negative { background: var(--red-soft); }

.mobile-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.phone-frame {
  width: min(310px, 100%);
  justify-self: center;
  border-radius: 34px;
  padding: 12px;
  background: #111111;
  box-shadow: var(--shadow);
}

.phone-speaker {
  width: 86px;
  height: 6px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #2d2d2d;
}

.phone-screen {
  min-height: 560px;
  border-radius: 24px;
  padding: 18px;
  background: #f8fafc;
}

.phone-screen header {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.phone-screen header strong {
  font-size: 20px;
}

.phone-screen header span {
  color: #6b7280;
  font-size: 12px;
}

.phone-screen article {
  margin-top: 12px;
  padding: 15px;
}

.phone-screen article strong,
.phone-screen article span {
  display: block;
}

.phone-screen article strong {
  margin-top: 7px;
}

.phone-screen article span {
  margin-top: 8px;
  color: #4b5563;
  font-size: 12px;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.phone-actions span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111111;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 760;
}

.phone-success {
  background: var(--green-soft) !important;
}

.compact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.compact-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #ffffff;
  color: #3f444b;
  font-size: 12px;
  font-weight: 760;
}

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

.domain-grid article {
  padding: 20px;
}

.domain-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.domain-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  margin-bottom: 52px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.final-cta p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer span:first-child {
  color: #111111;
  font-weight: 850;
}

@media (max-width: 1020px) {
  .hero,
  .split-section,
  .mobile-section {
    grid-template-columns: 1fr;
  }

  .product-stage {
    order: -1;
  }

  .feature-grid,
  .catalog-grid,
  .workflow-grid,
  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    margin-left: auto;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-metrics,
  .feature-grid,
  .catalog-grid,
  .workflow-grid,
  .domain-grid,
  .metric-grid,
  .work-row {
    grid-template-columns: 1fr;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .app-preview aside {
    display: none;
  }

  .browser-shell {
    border-radius: 12px;
  }

  .dashboard-preview {
    padding: 14px;
  }

  .use-case-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .soft-row,
  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
