:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #607086;
  --soft: #f6f8fb;
  --line: #dfe6ef;
  --paper: #ffffff;
  --red: #e42d3f;
  --red-dark: #bb1f31;
  --teal: #0d9488;
  --navy: #14233a;
  --gold: #f5b84b;
  --shadow: 0 20px 60px rgba(20, 35, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--red);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  padding: 9px 12px;
  font: inherit;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 440px);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: calc(100vh - 70px);
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px) 42px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(228, 45, 63, 0.08), rgba(13, 148, 136, 0.08)),
    var(--soft);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.85rem, 6.2vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy,
.section-heading p,
.copy-panel p,
.feature-grid p,
.workflow-list p,
.case-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-weight: 700;
}

.store-link {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.store-link img {
  width: 224px;
  max-width: min(224px, 100%);
  height: auto;
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 520px;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(228, 45, 63, 0.3), rgba(245, 184, 75, 0.28), rgba(13, 148, 136, 0.28), rgba(228, 45, 63, 0.3));
  transform: translate(-50%, -50%);
  filter: blur(2px);
}

.phone-main {
  position: relative;
  z-index: 1;
  width: min(72vw, 310px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 38px rgba(20, 35, 58, 0.22));
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading p {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 1.08rem;
}

.feature-band {
  background: var(--paper);
}

.feature-grid,
.case-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.case-grid article,
.quote-card,
.workflow-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
}

.feature-grid article,
.case-grid article,
.workflow-list article {
  padding: 24px;
}

.feature-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.feature-grid article:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.feature-grid article:nth-child(4) {
  border-top: 4px solid var(--red);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 0 clamp(20px, 5vw, 72px) clamp(64px, 9vw, 112px);
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: min(56vw, 520px);
  object-fit: cover;
}

.copy-panel {
  max-width: 620px;
}

.copy-panel p {
  margin: 22px 0 0;
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--red-dark);
  font-weight: 900;
}

.workflow {
  background: var(--soft);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  max-width: 1160px;
  margin: 0 auto;
}

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

.workflow-list p,
.feature-grid p,
.case-grid p {
  margin: 10px 0 0;
}

.video-shell {
  overflow: hidden;
  border: 10px solid var(--navy);
  border-radius: 34px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
}

.testimonials {
  background: var(--paper);
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.quote-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.quote-card.wide {
  grid-column: 1 / -1;
}

.quote-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.person strong,
.person span {
  display: block;
}

.person span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.use-cases {
  background: linear-gradient(135deg, rgba(20, 35, 58, 0.96), rgba(17, 88, 91, 0.96));
}

.use-cases h2,
.use-cases h3 {
  color: #ffffff;
}

.use-cases .eyebrow {
  color: #ffc857;
}

.use-cases .section-heading p,
.use-cases .case-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.case-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background: var(--red);
  color: #ffffff;
}

.final-cta h2 {
  max-width: 760px;
  color: #ffffff;
}

.final-cta .eyebrow {
  color: #ffe3aa;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 16px 24px;
  color: var(--muted);
  font-weight: 800;
}

.article-page {
  background: var(--soft);
  padding: clamp(42px, 7vw, 82px) clamp(20px, 5vw, 72px);
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.article-shell h1 {
  max-width: 14ch;
  margin: 8px 0 28px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.back-link {
  color: var(--red);
  font-weight: 900;
}

.content {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.content h2,
.content h3,
.content h4 {
  margin: 2rem 0 0.7rem;
}

.content h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.content p,
.content ul,
.content ol {
  margin: 0 0 1.1rem;
}

.content a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
}

.content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.4rem auto;
  border-radius: 8px;
}

.content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.content td,
.content th {
  border: 1px solid var(--line);
  padding: 0.6rem;
  vertical-align: top;
}

.article-index-intro {
  margin-bottom: 32px;
}

.article-index-intro h1 {
  max-width: 13ch;
}

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

.article-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 35, 58, 0.06);
  color: inherit;
  text-decoration: none;
}

.article-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-card h2 {
  margin: 8px 0;
  font-size: 1.35rem;
  line-height: 1.18;
  text-decoration: none;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-decoration: none;
}

.content .article-card {
  text-decoration: none;
}

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

  .hero {
    min-height: auto;
  }

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

  h1 {
    max-width: 12ch;
  }

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

  .case-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
  }

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

  .feature-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    height: 62vw;
    min-height: 260px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
