@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(0 0% 8%);
  --muted: hsl(0 0% 96%);
  --muted-foreground: hsl(0 0% 38%);
  --border: hsl(0 0% 88%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(0 0% 8%);
  --primary: hsl(0 0% 7%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(0 0% 97%);
  --accent: hsl(174 60% 45%);
  --accent-foreground: hsl(0 0% 100%);
  --accent-soft: hsl(174 60% 97%);
  --accent-wash: hsl(174 40% 98%);
  --accent-border: hsl(174 40% 88%);
  --shadow: 0 24px 80px hsla(174, 45%, 35%, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, strong { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
h1, h2, h3, p, li, span { overflow-wrap: break-word; }
p, li { font-size: 1rem; }

.shell { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.narrow-shell { width: min(820px, 100%); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(0, 0%, 100%, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -0.04em; }
.brand-mark { font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--accent); }
.brand-word { font-size: 1.5rem; }
.nav-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; flex: 1; }
.nav-links a { color: var(--muted-foreground); font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-login { white-space: nowrap; }
.nav-cta { white-space: nowrap; box-shadow: 0 16px 30px hsla(0, 0%, 0%, 0.14); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.92rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: var(--primary-foreground); }
.button-secondary { background: linear-gradient(180deg, var(--secondary), hsl(0 0% 93%)); color: var(--foreground); border-color: hsl(0 0% 82%); }
.button-secondary:hover { background: hsl(0 0% 90%); color: var(--foreground); border-color: hsl(0 0% 76%); }
.site-header .button-secondary { background: var(--background); color: var(--foreground); border-color: var(--border); }
.site-header .button-primary { background: var(--primary); color: var(--primary-foreground); border-color: hsl(0 0% 9%); }
.hero .button-secondary,
.section-dark .button-secondary { background: transparent; color: var(--primary-foreground); border-color: hsla(0, 0%, 100%, 0.3); }

.site-main { padding-top: 0; }
.hero {
  position: relative;
  min-height: min(82vh, 840px);
  display: grid;
  align-items: end;
  overflow: clip;
  background: var(--primary);
}
.hero-compact { min-height: min(68vh, 720px); }
.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media { background-size: cover; background-position: center; transform: scale(1.02); background-color: var(--primary); }
.hero-overlay { background: linear-gradient(180deg, hsla(0,0%,0%,0.28) 0%, hsla(0,0%,0%,0.72) 100%); }
.nav-burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--secondary);
  border: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
}
.nav-mobile a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--primary);
  color: var(--primary-foreground) !important;
  border-radius: 999px;
  padding: 0.85rem 1rem !important;
}
body.nav-open .nav-mobile { display: flex; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  max-width: 52rem;
}
.hero-content-center { text-align: center; margin: 0 auto; }
.hero-content-center .action-row { justify-content: center; }
.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0.82;
}
.eyebrow-dark { color: var(--foreground); opacity: 0.7; }
.hero h1,
.split-hero h1,
.section-intro h2,
.final-cta h2,
.pricing-card h2,
.prose-card h2,
.feature-card h2,
.feature-card h3,
.quote-card h3 { margin: 0; letter-spacing: -0.04em; line-height: 1.05; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); max-width: 12ch; padding: 0.3em 0; }
.hero-text { margin: 1.5rem 0 0; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.7; color: hsla(0,0%,100%,0.86); max-width: 42rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }
.login-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid hsla(0, 0%, 100%, 0.35);
  background: hsla(0, 0%, 100%, 0.12);
  color: hsl(0 0% 100%);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.login-pill:hover { background: hsla(0, 0%, 100%, 0.22); border-color: hsla(0, 0%, 100%, 0.55); }

.split-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, hsl(0 0% 100%) 0%, var(--accent-wash) 56%, hsl(0 0% 97%) 100%);
}
.split-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}
.split-hero-copy {
  max-width: 38rem;
  padding-block: 1rem;
}
.split-hero h1 {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  max-width: 10ch;
  padding: 0.25em 0;
}
.split-hero-text {
  margin: 1.65rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted-foreground);
}
.action-row-dark .button-secondary {
  background: linear-gradient(180deg, hsl(174 40% 98%), hsl(0 0% 92%));
  color: var(--foreground);
  border-color: var(--border);
}
.action-row-dark .button-secondary:hover {
  background: hsl(0 0% 88%);
  color: var(--foreground);
}
.split-hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 28px 70px hsla(0, 0%, 0%, 0.16);
}
.split-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.split-hero-stats article {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.96), var(--accent-soft));
}
.split-hero-stats strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.split-hero-stats span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-muted { background: linear-gradient(180deg, hsl(0 0% 98%), var(--accent-wash)); }
.section-dark { background: var(--primary); color: var(--primary-foreground); }
.section-intro { max-width: 46rem; margin-bottom: 3.5rem; }
.section-intro h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-top: 0; margin-bottom: 1.4rem; padding: 0.2em 0; }
.section-intro p { color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.8; margin: 0; }
.section-dark .section-intro p,
.section-dark .eyebrow { color: hsla(0, 0%, 100%, 0.72); }

.image-grid,
.card-grid,
.pricing-grid,
.stats-grid,
.timeline-grid,
.footer-grid,
.showcase-grid { display: grid; gap: 1.25rem; }
.image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid,
.timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.showcase-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 2rem; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }

.content-section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.content-section-muted { background: linear-gradient(180deg, hsl(0 0% 98%), var(--accent-wash)); }

.image-card,
.feature-card,
.quote-card,
.pricing-card,
.prose-card,
.device-frame {
  background: linear-gradient(180deg, var(--card), var(--accent-soft));
  border: 1px solid var(--accent-border);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}
.image-card { position: relative; overflow: hidden; min-height: 18rem; display: block; }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
  z-index: 1;
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, hsla(0,0%,0%,0.82) 100%);
}
.tall-card { min-height: 21rem; }

.blog-category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin: 0 auto 2rem; max-width: 980px; }
.blog-category-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border: 1px solid var(--accent-border); border-radius: 999px; background: hsl(0 0% 100%); color: var(--foreground); font-size: 0.86rem; font-weight: 700; }
.blog-category-pill span { color: var(--muted-foreground); font-size: 0.78rem; }
.blog-category-pill:hover,
.blog-category-pill.is-active { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.blog-category-pill:hover span,
.blog-category-pill.is-active span { color: hsla(0,0%,100%,0.78); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: hsl(0 0% 100%); border: 1px solid var(--accent-border); border-radius: 1.25rem; box-shadow: var(--shadow); }
.blog-card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: 0.65rem; }
.blog-card-body > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.blog-card-category { color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.blog-card-body small { color: var(--muted-foreground); font-size: 0.82rem; }
.blog-card h2 { font-size: 1.2rem; line-height: 1.32; margin: 0; letter-spacing: 0; }
.blog-card p { color: var(--muted-foreground); margin: 0; font-size: 0.95rem; line-height: 1.55; }

.feature-card,
.quote-card,
.prose-card,
.pricing-card { padding: 1.5rem; }
.feature-card h2,
.feature-card h3,
.pricing-card h2,
.prose-card h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.feature-card h3,
.pricing-card h2,
.prose-card h2,
.quote-card h3 { color: hsl(0 0% 10%); }
.feature-card p,
.quote-card p,
.prose-card p,
.pricing-copy,
.small-note,
.footer-copy,
.check-item p { color: var(--muted-foreground); line-height: 1.75; margin: 0.8rem 0 0; }
.section-dark .quote-card p,
.section-dark .quote-card span,
.section-dark .quote-card h3 { color: var(--foreground); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pill-dark { background: var(--primary); color: var(--primary-foreground); }

.device-frame { padding: 1rem; background: linear-gradient(145deg, var(--accent-soft), hsl(0 0% 100%)); }
.device-frame img { border-radius: 1.2rem; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.check-list { display: grid; gap: 1rem; }
.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--accent-border);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, hsl(0 0% 100%), var(--accent-soft));
}
.check-item span { font-weight: 800; font-size: 1.2rem; line-height: 1.3; color: var(--accent); }

.quote-card span { display: block; margin-top: 0.4rem; font-size: 0.95rem; }
.pricing-card { position: relative; background: hsl(0 0% 100%); color: var(--foreground); }
.pricing-card-featured {
  background: hsl(0 0% 100%);
  color: var(--foreground);
  border: 2px solid var(--accent);
  box-shadow: 0 28px 90px hsla(170, 70%, 40%, 0.18);
}
.pricing-card-featured .pill { background: var(--accent); color: var(--accent-foreground); border-color: transparent; }
.pricing-card-featured .pricing-copy { color: var(--muted-foreground); }
.pricing-card-featured li,
.pricing-card-featured .price-row strong { color: var(--foreground); }
.pricing-card-featured .price-row span { color: var(--muted-foreground); }
.pricing-card h2 { color: var(--foreground); }
.price-row { display: flex; align-items: end; gap: 0.45rem; margin: 1rem 0 0.25rem; }
.price-row strong { font-size: clamp(2.5rem, 4vw, 3.6rem); line-height: 1; }
.pricing-card ul { margin: 1.5rem 0; padding-left: 1.2rem; }
.pricing-card li { margin-bottom: 0.75rem; color: var(--foreground); }
.small-note { text-align: center; margin-top: 1.5rem; color: var(--muted-foreground); font-size: 0.85rem; }
.compare-title { font-family: var(--font-display); text-align: center; font-size: 1.75rem; margin: 0 0 0.4rem; }
.compare-sub { text-align: center; color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 1.5rem; }
.compare-card { max-width: 720px; margin: 0 auto; background: hsl(0 0% 100%); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.compare-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-row-highlight { background: hsla(170, 70%, 40%, 0.06); }
.compare-row strong { display: block; color: var(--foreground); font-weight: 600; }
.compare-row > div:first-child span { display: block; font-size: 0.8rem; color: var(--muted-foreground); }
.compare-row-highlight strong { color: var(--accent); }
.compare-price { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.compare-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted-foreground); }
.compare-price-highlight { color: var(--accent); }
.pricing-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 1100px; margin: 0 auto; }
@media (max-width: 880px) { .pricing-compare-grid { grid-template-columns: 1fr; } }
.compare-card-side { background: hsl(0 0% 100%); color: var(--foreground); border: 1px solid var(--border); border-radius: 1.25rem; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.compare-card-side h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; color: var(--foreground); }
.compare-card-side .pill { background: hsl(0 0% 95%); color: var(--foreground); border-color: transparent; align-self: flex-start; }
.compare-card-inline { max-width: 100%; margin: 0; }
.compare-card-inline .compare-row { padding: 0.75rem 1rem; }
.compare-card-inline .compare-price { font-size: 1.05rem; }
.why-switch-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.5rem; }
.why-switch-list li { color: var(--muted-foreground); font-size: 0.9rem; padding-left: 1.25rem; position: relative; }
.why-switch-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.why-switch-list li strong { color: var(--foreground); font-weight: 600; }
.compare-note { margin-top: auto; text-align: left; font-size: 0.75rem; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 1.25rem; background: hsl(0 0% 100%); -webkit-overflow-scrolling: touch; box-shadow: 0 10px 40px -20px hsla(0,0%,0%,0.18); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 920px; font-size: 0.93rem; }
.compare-table th, .compare-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.45; }
.compare-table thead th { background: hsl(0 0% 7%); color: hsl(0 0% 100%); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; }
.compare-table thead tr:first-child th { border-bottom: none; padding: 0.5rem 1.1rem 0; background: hsl(0 0% 7%); }
.compare-table thead tr:last-child th { padding-top: 0.65rem; }
.compare-table tbody tr:nth-child(even) td { background: hsl(0 0% 98.5%); }
.compare-table tbody tr:hover td { background: hsl(0 0% 96%); }
.compare-table .compare-label, .compare-table .compare-label-head { font-weight: 700; color: var(--foreground); width: 220px; min-width: 220px; background: hsl(0 0% 96%) !important; position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--border); }
.compare-table thead .compare-label-head { background: hsl(0 0% 7%) !important; color: hsl(0 0% 100%); }
.compare-table .compare-col-us { background: hsla(174, 60%, 45%, 0.10) !important; color: var(--foreground); font-weight: 600; border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.compare-table tbody tr:nth-child(even) .compare-col-us { background: hsla(174, 60%, 45%, 0.14) !important; }
.compare-table tbody tr:hover .compare-col-us { background: hsla(174, 60%, 45%, 0.18) !important; }
.compare-table thead .compare-col-us { background: var(--accent) !important; color: hsl(0 0% 100%); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:last-child .compare-col-us { border-bottom: 2px solid var(--accent); }
.compare-badge { display: inline-block; background: hsl(0 0% 100%); color: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
.compare-badge-row th { padding-bottom: 0 !important; }
@media (max-width: 720px) {
  .compare-table { font-size: 0.86rem; }
  .compare-table th, .compare-table td { padding: 0.7rem 0.75rem; }
  .compare-table .compare-label, .compare-table .compare-label-head { width: 150px; min-width: 150px; }
}


.prose-block { display: grid; gap: 1rem; }
.prose-card { max-width: 100%; }
.prose-card-spacious { padding: 1.85rem; }
.final-cta,
.split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, hsl(0 0% 98%), var(--accent-soft));
  border: 1px solid var(--accent-border);
}
.final-cta p { margin: 0.8rem 0 0; color: var(--muted-foreground); max-width: 42rem; line-height: 1.75; }

.site-footer { background: var(--primary); color: var(--primary-foreground); padding-top: 3rem; margin-top: 4rem; }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a { color: hsla(0, 0%, 100%, 0.72); }
.site-footer a:hover { color: white; }
.footer-copy { color: hsla(0, 0%, 100%, 0.65); max-width: 24rem; }
.brand-footer { margin-bottom: 1rem; color: white; }
.footer-bottom { padding: 1.25rem 0 2rem; color: hsla(0,0%,100%,0.52); font-size: 0.92rem; }

@media (max-width: 980px) {
  .nav-row { flex-wrap: wrap; justify-content: center; padding: 0.9rem 0 1rem; }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .nav-links a {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--secondary);
    text-align: center;
    font-size: 0.88rem;
  }
  .nav-actions { width: 100%; justify-content: center; }
  .image-grid,
  .card-grid,
  .pricing-grid,
  .stats-grid,
  .footer-grid,
  .showcase-grid,
  .timeline-grid,
  .split-hero-grid,
  .split-hero-stats { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-content { padding-top: 6rem; }
  .split-hero-copy,
  .split-hero h1,
  .split-hero-text { max-width: 100%; }
  .split-hero-visual { min-height: 340px; }
  .final-cta,
  .split-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 1.25rem, 100%); }
  .nav-row { padding: 0.6rem 0; min-height: 4rem; flex-wrap: nowrap; }
  .nav-links { display: none; }
  .nav-login, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-actions { display: flex; gap: 0.5rem; width: auto; flex: 0 0 auto; }
  .hero { min-height: 70vh; background: hsl(0 0% 7%); }
  .hero-content { padding-top: 5rem; padding-bottom: 3rem; }
  .hero h1 { max-width: 100%; font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .action-row { flex-direction: column; }
  .button { width: 100%; }
  .feature-card,
  .quote-card,
  .pricing-card,
  .prose-card,
  .final-cta,
  .device-frame { border-radius: 1.35rem; }
  .image-card { min-height: 14rem; }
  .split-hero { padding-top: 2rem; }
  .split-hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .split-hero-visual { min-height: 260px; }
  .split-hero-text,
  .section-intro p,
  .feature-card p,
  .quote-card p,
  .prose-card p,
  .pricing-copy,
  .check-item p,
  .final-cta p { font-size: 1rem; line-height: 1.85; }
}

/* Hero video blocks — hardwired into the marketing site for SEO. */
.video-section { padding-top: 3rem; padding-bottom: 3rem; }
.video-figure { margin: 0 auto; max-width: 550px; }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.55);
  cursor: pointer;
}
.video-figure video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-play-btn:hover { transform: scale(1.08); }
.video-wrap.is-playing .video-play-btn { opacity: 0; pointer-events: none; }
.video-figure figcaption { margin-top: 1.25rem; text-align: center; }
.video-figure figcaption h2 { font-size: clamp(1.1rem, 1.6vw, 1.5rem); margin: 0 0 0.5rem; line-height: 1.3; }
.video-figure figcaption p { color: var(--muted-foreground); margin: 0; max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.6; font-size: 0.95rem; }
@media (max-width: 767px) { .video-section { display: none; } }

/* Floating AI chat widget */
#ll-chat-launcher { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.1rem; border-radius: 999px; background: #0d0d0d; color: #fff; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 14px 36px -10px rgba(0,0,0,0.45); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.95rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
#ll-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0,0,0,0.5); }
#ll-chat-launcher .ll-chat-icon { font-size: 1.15rem; line-height: 1; }
#ll-chat-launcher .ll-chat-close-icon { display: none; font-size: 1.1rem; line-height: 1; }
#ll-chat-launcher.open .ll-chat-label, #ll-chat-launcher.open .ll-chat-icon { display: none; }
#ll-chat-launcher.open .ll-chat-close-icon { display: inline; }
#ll-chat-launcher.open { padding: 0.75rem; width: 44px; height: 44px; justify-content: center; border-radius: 999px; }
#ll-chat-panel { position: fixed; bottom: 88px; right: 20px; z-index: 9999; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: #ffffff; color: #0d0d0d; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); }
#ll-chat-panel[hidden] { display: none !important; }
.ll-chat-head { background: #0d0d0d; color: #fff; padding: 0.85rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.ll-chat-head .ll-chat-sub { font-size: 0.72rem; opacity: 0.75; }
#ll-chat-close { background: transparent; border: 0; color: #fff; font-size: 1rem; cursor: pointer; }
#ll-chat-msgs { flex: 1; overflow-y: auto; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; background: #f7f6f3; }
.ll-msg { max-width: 85%; padding: 0.55rem 0.8rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; white-space: pre-wrap; }
.ll-msg.ll-user { align-self: flex-end; background: #0d0d0d; color: #fff; border-bottom-right-radius: 4px; }
.ll-msg.ll-assistant { align-self: flex-start; background: #fff; color: #0d0d0d; border: 1px solid rgba(0,0,0,0.06); border-bottom-left-radius: 4px; }
#ll-chat-form { display: flex; gap: 0.5rem; padding: 0.65rem; border-top: 1px solid rgba(0,0,0,0.08); background: #fff; }
#ll-chat-input { flex: 1; padding: 0.55rem 0.75rem; border-radius: 10px; border: 1px solid rgba(0,0,0,0.15); font: inherit; font-size: 0.9rem; outline: none; }
#ll-chat-input:focus { border-color: #0d0d0d; }
#ll-chat-send { padding: 0.55rem 0.9rem; border-radius: 10px; border: 0; background: #0d0d0d; color: #fff; font-weight: 600; cursor: pointer; }
#ll-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }