:root {
  --primary: #0D333F;
  --text: #7A7A7A;
  --accent: #0FD46C;
  --accent-glow: #05F375;
  --cream: #F3F4EE;
  --sky: #EBF6F8;
  --mint: #ECF6EF;
  --danger: #D40F0F;
  --danger-dark: #790104;
  --danger-ink: #460709;
  --danger-bg: #FFE5E5;
  --container: 1140px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--primary);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: background-color .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn .icon { font-size: 13px; }

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-glow); border-color: var(--accent-glow); }

.btn-outline-light { border-color: var(--mint); color: var(--mint); }
.btn-outline-light:hover { background: var(--mint); color: var(--primary); }

.btn-outline-dark { border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.top-bar { height: 12px; background: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-top: 4px solid var(--accent);
  margin-top: -4px;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(4px);
  transition: background-color .3s;
}
.site-header:hover::before { background-color: rgba(255,255,255,.7); }
.site-header.is-stuck { background: rgba(243,244,238,.85); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img { height: 32px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0 6px;
  border-bottom: 3px solid transparent;
  text-shadow: 0 0 10px rgba(255,255,255,.66);
  transition: border-color .3s;
}
.nav-link:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero-wrap {
  background: linear-gradient(180deg, var(--cream) 80%, #fff 80%);
  padding: 4px 0 10px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary) url("../img/hero-office.png") top right / cover no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 50%;
  padding: 48px 16px 48px 48px;
  background: linear-gradient(90deg, rgba(13,51,63,.91) 80%, rgba(13,51,63,0) 100%);
}

.hero-eyebrow {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-glow);
  text-shadow: 0 0 24px rgba(2,255,8,.66);
  margin-bottom: 20px;
}
.hero-lead { font-size: 32px; font-weight: 500; color: var(--mint); line-height: 1.2; }

.rotator {
  position: relative;
  height: 1.25em;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  overflow: hidden;
  width: 100%;
}
.rotator-track { list-style: none; margin: 0; padding: 0; position: relative; height: 100%; }
.rotator-track li {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.rotator-track li.is-active { transform: translateX(0); opacity: 1; }
.rotator-track li.is-leaving { transform: translateX(-100%); opacity: 0; }

.hero-sub {
  font-size: 20px;
  line-height: 26px;
  color: var(--mint);
  max-width: 440px;
  margin: 20px 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Why ---------- */
.why { padding: 60px 0 100px; }

.counter {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  padding: 50px 0 100px;
}
.counter-number { font-variant-numeric: tabular-nums; }

.problems {
  background: var(--danger-bg);
  border-radius: var(--radius);
  padding: 72px 48px;
  min-height: 156px;
}
.problems-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--danger-ink);
  margin-bottom: 40px;
}
.highlight {
  position: relative;
  display: inline-block;
  color: var(--danger-dark);
  font-weight: 600;
}
.highlight svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
}
.highlight path {
  fill: none;
  stroke: var(--danger);
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}
.highlight.is-drawn path { animation: draw 1.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}
.problem-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.4px;
  padding: 8px 0;
}
.bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212,15,15,.22);
  flex: none;
}
.bolt svg { width: 18px; height: 18px; fill: var(--danger); }

/* ---------- Features ---------- */
.features {
  position: relative;
  background: var(--sky);
  padding: 120px 0 140px;
}
.shape {
  position: absolute;
  left: 0;
  width: 100%;
  fill: #fff;
  display: block;
}
.shape-top { top: 0; height: 54px; }
.shape-bottom { bottom: -1px; height: 20px; }

.mission {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.feature {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 520px;
  padding: 40px 0;
}
.feature-text { width: 40%; padding: 16px; }
.feature-media { width: 60%; display: flex; justify-content: center; }
.feature-reverse { flex-direction: row-reverse; }

.feature-text h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}
.feature-text p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -.4px;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform .5s ease;
}
.slider-track > img {
  flex: 0 0 100%;
  width: 100%;
  object-fit: contain;
  max-height: 460px;
}

/* ---------- Demo ---------- */
.demo { padding: 100px 0 40px; text-align: center; }
.demo h2 { font-size: 32px; font-weight: 500; margin-bottom: 20px; }
.demo > .container > p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -.4px;
  max-width: 420px;
  margin: 0 auto 20px;
}
.calendly-inline-widget { min-width: 320px; height: 700px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 24px 0;
  min-height: 160px;
  display: flex;
  align-items: center;
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row img { width: 180px; }
.social svg { width: 32px; height: 32px; fill: #fff; display: block; }
.social:hover svg { fill: var(--accent); }
.footer-tagline { margin-top: 4px; font-size: 15px; }
.footer-copy { margin-top: 20px; text-align: center; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-content { width: 100%; justify-content: center; align-items: center; text-align: center; padding: 32px; }
  .hero-eyebrow { font-size: 24px; }
  .hero-lead { font-size: 24px; }
  .rotator { font-size: 42px; }
  .rotator-track li { white-space: normal; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .feature { min-height: 0; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 72px; }
  .container { padding: 0 16px; }
  .nav .nav-link { display: none; }
  .header-inner { min-height: 64px; }
  .logo img { height: 26px; }
  .nav .btn { padding: 8px 14px; font-size: 14px; }

  .hero-wrap .container { padding: 0 4px; }
  .hero { min-height: 520px; background-position: 70% top; }
  .hero-content { padding: 16px; background: rgba(13,51,63,.85); }
  .rotator { font-size: 38px; height: 2.5em; }
  .hero-sub { font-size: 18px; }

  .why { padding: 20px 0 60px; }
  .counter { font-size: 20px; padding: 30px 0 50px; }
  .problems { padding: 32px 12px; }
  .problems-title { font-size: 22px; margin-bottom: 24px; }
  .highlight svg { height: calc(100% + 10px); }
  .problem-list { flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 12px; }

  .features { padding: 80px 0 100px; }
  .mission { font-size: 22px; margin-bottom: 20px; }
  .feature, .feature-reverse { flex-direction: column; gap: 8px; padding: 32px 0; }
  .feature-text, .feature-media { width: 100%; padding: 4px; }
  .feature-text h2 { font-size: 26px; margin-bottom: 12px; }
  .feature-text p { font-size: 16px; }

  .demo { padding: 60px 0 20px; }
  .demo h2 { font-size: 26px; }
  .calendly-inline-widget { min-width: 0; height: 1000px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotator-track li, .slider-track { transition: none; }
  .highlight path { stroke-dashoffset: 0; animation: none !important; }
}
