:root {
  --orange: #ff5a00;
  --orange-soft: #fff3eb;
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --muted: #747474;
  --muted-2: #9a9a9a;
  --line: #e9e9e7;
  --line-strong: #d9d9d5;
  --soft: #f7f7f5;
  --soft-2: #fbfbfa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.08);
  --shadow-soft: 0 14px 38px rgba(20, 20, 20, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.landing-shell,
.public-shell {
  min-height: 100vh;
  background: var(--white);
}

.site-header,
.public-nav,
.hero-section,
.proof-strip,
.editorial-section,
.flow-section,
.mobile-section,
.implementation-section,
.final-cta,
.public-section,
.public-footer,
.article-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header,
.public-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.desktop-nav,
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a,
.nav-links a,
.plain-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.nav-links a:hover,
.plain-link:hover {
  color: var(--ink);
  background: var(--soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.header-demo,
.nav-login,
.primary-action,
.secondary-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-demo,
.nav-login,
.primary-action,
.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.primary-action {
  background: var(--orange);
}

.button.primary {
  background: var(--orange);
}

.secondary-action,
.button {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.header-demo:hover,
.nav-login:hover,
.primary-action:hover,
.secondary-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-section {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 56px;
  padding: 36px 0 82px;
}

.hero-copy h1,
.section-copy h2,
.final-cta h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 800;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: 58px;
}

.section-copy h2,
.final-cta h2,
.page-hero h1 {
  max-width: 760px;
  font-size: 44px;
}

.hero-copy p,
.section-copy p,
.final-cta p,
.page-hero p,
.content-card p,
.content-card li,
.article-grid p,
.support-item p {
  color: var(--muted);
  line-height: 1.58;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 20px;
}

.section-copy p,
.final-cta p,
.page-hero p {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 11px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.01em;
}

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

.hero-product {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.product-topbar img,
.phone-head img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.product-topbar strong {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
}

.product-layout {
  display: grid;
  grid-template-columns: 156px 1fr;
  min-height: 438px;
}

.product-side {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #fcfcfb;
}

.product-side span {
  display: block;
  height: 13px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #ecece9;
}

.product-side .active {
  width: 82%;
  background: var(--orange);
}

.product-main {
  padding: 28px;
}

.product-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.product-heading small,
.product-metrics span,
.product-table .head span,
.product-table div span,
.approval-card span,
.flow-grid small,
.implementation-grid small,
.phone-hero small,
.phone-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.product-heading strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.product-heading b {
  color: var(--orange);
  font-size: 24px;
}

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

.product-metrics article,
.product-table,
.approval-card,
.feature-stack article,
.flow-grid article,
.phone-screen,
.implementation-grid article,
.content-card,
.article-grid article,
.support-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.product-metrics article {
  padding: 16px;
}

.product-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.product-table {
  overflow: hidden;
  box-shadow: none;
}

.product-table div {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.product-table div:last-child {
  border-bottom: 0;
}

.product-table .head {
  min-height: 42px;
  background: var(--soft);
}

.product-table b {
  justify-self: end;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 12px;
}

.product-table .signed {
  background: #eef8f1;
  color: #148544;
}

.approval-card {
  position: absolute;
  right: -18px;
  bottom: 42px;
  width: 210px;
  padding: 18px;
}

.approval-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 28px;
}

.approval-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px 0 92px;
}

.proof-strip span,
.mini-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.editorial-section,
.mobile-section {
  padding: 104px 0;
}

.split-section,
.mobile-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-stack article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 22px;
}

.feature-stack article > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 820;
}

.feature-stack h3,
.flow-grid strong,
.implementation-grid h3,
.article-grid h2,
.content-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.feature-stack p,
.flow-grid p,
.implementation-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.flow-section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.centered {
  text-align: center;
  margin: 0 auto;
}

.centered h2,
.centered p {
  margin-left: auto;
  margin-right: auto;
}

.flow-grid,
.implementation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.flow-grid article,
.implementation-grid article {
  min-height: 208px;
  padding: 24px;
}

.flow-grid strong {
  display: block;
  margin-top: 24px;
}

.mobile-section {
  grid-template-columns: 0.82fr 1.18fr;
}

.phone-mock {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: 330px;
  min-height: 620px;
  padding: 18px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: #fbfbfa;
  box-shadow: var(--shadow);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 22px;
  font-weight: 760;
}

.phone-hero {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.phone-hero strong {
  display: block;
  margin-top: 8px;
  color: var(--orange);
  font-size: 34px;
}

.phone-hero p {
  margin: 4px 0 0;
  color: var(--muted);
}

.phone-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.phone-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.phone-list strong {
  display: block;
  margin: 6px 0;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.implementation-section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.implementation-grid article small {
  color: var(--orange);
}

.implementation-grid article h3 {
  margin-top: 36px;
}

.final-cta {
  padding: 108px 0 116px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-cta .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.public-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--orange);
}

.page-hero {
  padding: 72px 0 34px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--orange);
}

.breadcrumb span::before {
  content: "/";
  color: var(--muted-2);
  margin-right: 8px;
}

.content-wrap {
  display: grid;
  gap: 16px;
  padding: 20px 0 84px;
}

.content-card {
  max-width: 980px;
  padding: 30px;
}

.content-card p,
.content-card li {
  font-size: 17px;
}

.content-card ul {
  padding-left: 20px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.support-item {
  padding: 20px;
}

.support-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 90px;
}

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

.article-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--orange);
  font-weight: 780;
}

.motion {
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 720ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .motion {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .header-demo,
  .nav-login,
  .primary-action,
  .secondary-action,
  .button {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hero-section,
  .split-section,
  .mobile-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy p {
    font-size: 19px;
  }

  .approval-card {
    right: 18px;
  }
}

@media (max-width: 820px) {
  .site-header,
  .public-nav,
  .hero-section,
  .proof-strip,
  .editorial-section,
  .flow-section,
  .mobile-section,
  .implementation-section,
  .final-cta,
  .public-section,
  .public-footer,
  .article-grid {
    width: min(100% - 30px, 1180px);
  }

  .site-header,
  .public-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .header-actions,
  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    padding: 24px 0 66px;
  }

  .hero-copy h1,
  .section-copy h2,
  .final-cta h2,
  .page-hero h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .hero-copy p,
  .section-copy p,
  .final-cta p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-product {
    min-height: auto;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-side {
    display: none;
  }

  .product-main {
    padding: 18px;
  }

  .product-heading,
  .public-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-metrics,
  .flow-grid,
  .implementation-grid,
  .support-list,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .product-table div {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 14px;
  }

  .product-table b {
    justify-self: start;
  }

  .approval-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .editorial-section,
  .flow-section,
  .mobile-section,
  .implementation-section {
    padding: 74px 0;
  }

  .feature-stack article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .phone-screen {
    width: min(100%, 330px);
    min-height: 560px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
