:root {
  --bg: #ffffff;
  --bg-warm: #fafaf8;
  --bg-green: #f2fbf5;
  --green: #2fae6a;
  --green-dark: #238a54;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e8eae6;
  --line: rgba(47, 174, 106, 0.28);
  --shadow-soft: 0 1px 2px rgba(31, 41, 55, 0.05), 0 8px 20px rgba(31, 41, 55, 0.08);
  --shadow-hover: 0 2px 4px rgba(31, 41, 55, 0.06), 0 14px 34px rgba(31, 41, 55, 0.12);
  --radius-button: 16px;
  --radius-card: 24px;
  --radius-node: 28px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(31, 41, 55, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.nav-links a,
.button {
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand-mark span:first-child {
  width: 15px;
  height: 15px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.brand-mark span:last-child {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 8px;
  height: 8px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-12deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 5px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.nav-links a.is-current {
  background: var(--bg-green);
  color: var(--green-dark);
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--bg-green);
  color: var(--text);
}

.header-cta {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(47, 174, 106, 0.45);
  transform: translateY(-1px);
}

.scene {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.hero-scene {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding-top: 56px;
}

.seo-hero-scene {
  min-height: auto;
  padding-top: 88px;
}

.problem-scene,
.pricing-scene {
  background: var(--bg-warm);
}

.ai-scene {
  background: linear-gradient(180deg, var(--bg-green), #fff);
}

.download-scene {
  background: linear-gradient(180deg, #fff, var(--bg-warm));
}

.cta-scene {
  background: var(--text);
  color: #fff;
}

.scene-grid,
.section-heading,
.journey-compare,
.timeline,
.download-grid,
.use-case-grid,
.pricing-grid,
.faq-list,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.scene-grid > * {
  min-width: 0;
}

.hero-copy {
  grid-column: span 6;
  max-width: 660px;
}

.seo-hero-grid .hero-copy {
  grid-column: span 6;
}

.workflow-stage {
  grid-column: 8 / span 5;
}

.seo-flow-card {
  grid-column: 8 / span 5;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.seo-flow-card div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 3px 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 14px;
}

.seo-flow-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  background: var(--bg-green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.seo-flow-card strong {
  line-height: 1.2;
}

.seo-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(46px, 5.7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.mobile-line {
  display: none;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.pricing-card p,
.use-card p,
.timeline-step p,
.lead-card dd,
.faq-list p {
  color: var(--muted);
}

.hero-lede {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: 20px;
}

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

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.proof-strip span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-weight: 800;
  text-align: center;
  padding: 13px 18px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px) scale(1.02);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(35, 138, 84, 0.18), 0 10px 24px rgba(47, 174, 106, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(47, 174, 106, 0.45);
  box-shadow: var(--shadow-soft);
}

.workflow-card {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.workflow-rail {
  position: absolute;
  top: 54px;
  bottom: 54px;
  left: 51px;
  width: 3px;
}

.rail-line {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(47, 174, 106, 0.12), rgba(47, 174, 106, 0.48), rgba(47, 174, 106, 0.12));
}

.rail-pulse {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 17px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 10px rgba(47, 174, 106, 0.12), 0 0 28px rgba(47, 174, 106, 0.45);
  transform: translate(-50%, 0);
  animation: railPulse 5.6s ease-in-out infinite;
}

.workflow-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  border: 1px solid var(--border);
  border-radius: var(--radius-node);
  background: #fff;
  padding: 17px 18px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.workflow-node:hover,
.workflow-node.is-active {
  border-color: rgba(47, 174, 106, 0.42);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px) scale(1.01);
}

.workflow-node h2 {
  margin: 0 0 3px;
  font-size: 18px;
  line-height: 1.2;
}

.workflow-node p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.node-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background: var(--bg-green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100% - 48px, 430px);
  margin: -18px auto 0;
  border: 1px solid rgba(47, 174, 106, 0.28);
  border-radius: 22px;
  background: rgba(242, 251, 245, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
}

.hero-signal span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-signal strong {
  color: var(--green-dark);
  font-size: 14px;
}

.section-heading {
  max-width: 820px;
  text-align: center;
}

.section-heading.align-left {
  width: auto;
  max-width: none;
  margin: 0;
  text-align: left;
}

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

.align-left p {
  margin-left: 0;
}

.journey-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.journey-card,
.pricing-card,
.use-card,
.lead-card,
.timeline-step,
.download-panel,
.qr-panel,
.machine-stage,
.phone-shell {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.journey-card {
  border-radius: 28px;
  padding: 24px;
}

.journey-label {
  display: inline-flex;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.working .journey-label {
  background: var(--bg-green);
  color: var(--green-dark);
}

.journey-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 14px 14px 14px 48px;
}

.journey-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #d4d8d1;
}

.journey-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  bottom: -13px;
  width: 2px;
  height: 13px;
  background: var(--border);
}

.broken .journey-list li:last-child {
  border-color: rgba(180, 83, 9, 0.18);
  color: #92400e;
  background: #fff8ed;
}

.working .journey-list li::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 174, 106, 0.09);
}

.working .journey-list li:not(:last-child)::after {
  background: rgba(47, 174, 106, 0.28);
}

.solution-grid .section-heading {
  grid-column: span 5;
}

.call-machine {
  grid-column: 7 / span 6;
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px 24px;
  align-items: center;
}

.event-stack {
  display: grid;
  gap: 10px;
}

.event-pill {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 14px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.event-pill:hover,
.event-pill:focus-visible,
.event-pill.is-selected {
  border-color: rgba(47, 174, 106, 0.46);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.machine-line {
  position: absolute;
  left: 212px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
}

.machine-stage {
  position: relative;
  grid-column: 2;
  border-radius: 24px;
  padding: 18px;
}

.machine-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -31px;
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(47, 174, 106, 0.09);
  transform: translateY(-50%);
}

.stage-kicker,
.lead-status,
.lead-score,
.plan-badge,
.use-card span {
  display: inline-flex;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.stage-kicker {
  margin-bottom: 8px;
  background: var(--bg-green);
  color: var(--green-dark);
}

.machine-stage strong {
  display: block;
  font-size: 20px;
}

.machine-stage p {
  margin: 5px 0 0;
  color: var(--muted);
}

.setup-scene {
  padding-bottom: 132px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}

.timeline-step {
  position: relative;
  min-height: 245px;
  border-radius: var(--radius-card);
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -14px;
  width: 14px;
  height: 2px;
  background: var(--line);
}

.timeline-step:last-child::after {
  display: none;
}

.timeline-step:hover {
  border-color: rgba(47, 174, 106, 0.42);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--bg-green);
  color: var(--green-dark);
  font-weight: 900;
}

.timeline-step h3 {
  margin-top: 22px;
}

.timeline-step p {
  margin: 10px 0 0;
  font-size: 14px;
}

.download-grid .section-heading {
  grid-column: span 5;
}

.download-panel {
  grid-column: 6 / span 5;
  border-radius: 32px;
  padding: 18px;
}

.apk-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 26px;
  background: var(--bg-green);
  padding: 18px;
}

.apk-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.apk-icon span:first-child {
  width: 31px;
  height: 38px;
  border: 3px solid var(--green);
  border-radius: 12px;
}

.apk-icon span:last-child {
  position: absolute;
  bottom: 20px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.download-status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.apk-card h3,
.qr-panel h3 {
  margin-top: 12px;
}

.apk-card p,
.qr-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.apk-button {
  grid-column: 1 / -1;
  width: 100%;
}

.install-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.install-meta div {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 13px;
}

.install-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.install-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.qr-panel {
  grid-column: 11 / span 2;
  align-self: stretch;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border-radius: 32px;
  padding: 18px;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  aspect-ratio: 1;
  border-radius: 22px;
  background: var(--bg-warm);
  padding: 14px;
}

.qr-code span {
  border-radius: 5px;
  background: var(--border);
}

.qr-code span:nth-child(1),
.qr-code span:nth-child(2),
.qr-code span:nth-child(5),
.qr-code span:nth-child(6),
.qr-code span:nth-child(7),
.qr-code span:nth-child(10),
.qr-code span:nth-child(11),
.qr-code span:nth-child(13),
.qr-code span:nth-child(16) {
  background: var(--green);
}

.ai-grid .section-heading {
  grid-column: span 5;
}

.phone-shell {
  grid-column: 8 / span 4;
  overflow: hidden;
  border-radius: 36px;
  background: #f7f8f4;
  padding: 14px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 26px 26px 18px 18px;
  background: #fff;
  padding: 14px 16px;
}

.phone-top strong,
.phone-top small {
  display: block;
}

.phone-top small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.phone-camera {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 46%, #fff 0 19%, transparent 20%),
    var(--green);
}

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 490px;
  overflow: hidden;
  padding: 18px 8px;
}

.message {
  max-width: 84%;
  border-radius: 22px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(31, 41, 55, 0.04);
  animation: messageIn 360ms ease both;
}

.message.customer {
  align-self: flex-start;
  border-bottom-left-radius: 8px;
  background: #fff;
}

.message.ai {
  align-self: flex-end;
  border-bottom-right-radius: 8px;
  background: var(--bg-green);
}

.typing-indicator {
  display: inline-flex;
  align-self: flex-end;
  gap: 5px;
  border-radius: 20px;
  background: var(--bg-green);
  padding: 12px 14px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  animation: typing 1s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 130ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 260ms;
}

.chat-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px 20px 28px 28px;
  background: #fff;
  color: var(--muted);
  padding: 13px 14px;
}

.chat-compose strong {
  color: var(--green-dark);
  font-size: 13px;
}

.lead-grid {
  align-items: stretch;
}

.conversation-mini {
  grid-column: span 5;
  display: grid;
  align-content: center;
  gap: 14px;
  border-radius: 28px;
  background: var(--bg-warm);
  padding: 32px;
}

.mini-bubble {
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 13px 16px;
  font-weight: 700;
}

.mini-bubble:nth-child(2) {
  margin-left: 42px;
}

.mini-bubble:nth-child(3) {
  margin-left: 84px;
}

.transform-arrow {
  width: 72%;
  height: 3px;
  margin: 12px 0 0 84px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.lead-card {
  grid-column: 7 / span 6;
  border-radius: 32px;
  padding: 30px;
}

.lead-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lead-status {
  background: var(--bg-green);
  color: var(--green-dark);
}

.lead-score {
  background: var(--bg-warm);
  color: var(--muted);
}

.lead-card h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

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

.lead-details div {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px;
}

.lead-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-details dd {
  margin: 7px 0 0;
  font-weight: 700;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.seo-panel,
.seo-side-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.seo-panel {
  padding: 30px;
}

.seo-panel h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.seo-panel p {
  color: var(--muted);
  font-size: 18px;
}

.seo-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.seo-panel li {
  position: relative;
  padding-left: 26px;
}

.seo-panel li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.seo-side-card {
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 20px;
}

.seo-side-card a {
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  font-weight: 800;
  padding: 12px 13px;
}

.seo-side-card a:hover,
.seo-side-card a:focus-visible {
  border-color: rgba(47, 174, 106, 0.45);
  background: var(--bg-green);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.use-card {
  min-height: 230px;
  border-radius: var(--radius-card);
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.use-card:hover {
  border-color: rgba(47, 174, 106, 0.42);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.use-card span {
  margin-bottom: 54px;
  background: var(--bg-green);
  color: var(--green-dark);
}

.use-card p {
  margin: 11px 0 0;
  font-size: 14px;
}

.use-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.use-card a:hover,
.use-card a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(calc(100% - 48px), 860px);
  margin: 34px auto 0;
  border: 1px solid rgba(47, 174, 106, 0.3);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 14px 18px;
  text-align: center;
}

.trial-banner span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--bg-green);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
}

.trial-banner strong {
  color: var(--text);
  font-size: 15px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  border-radius: 28px;
  padding: 26px;
}

.pricing-card.featured {
  border-color: rgba(47, 174, 106, 0.42);
  box-shadow: 0 1px 2px rgba(31, 41, 55, 0.06), 0 18px 42px rgba(47, 174, 106, 0.17);
}

.plan-badge {
  width: fit-content;
  margin-bottom: 16px;
  background: var(--bg-green);
  color: var(--green-dark);
}

.pricing-card p {
  min-height: 56px;
  margin: 12px 0 0;
}

.price {
  margin: 24px 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 26px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.pricing-card .button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 44px;
}

details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 800;
}

summary::marker {
  content: "";
}

summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bg-green);
  color: var(--green-dark);
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 12px 0 0;
}

.cta-panel {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
  text-align: center;
}

.cta-panel .eyebrow {
  color: #8ce0b5;
}

.cta-panel h2 {
  max-width: 790px;
  margin: 0 auto;
}

.cta-panel p {
  max-width: 690px;
  margin: 24px auto 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  color: var(--muted);
  padding: 54px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-warm);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.footer-brand p,
.footer-action p {
  margin: 18px 0 0;
  max-width: 430px;
}

.footer-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-workflow span {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

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

.footer-links h2,
.footer-action h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green-dark);
}

.footer-action {
  border: 1px solid rgba(47, 174, 106, 0.25);
  border-radius: 24px;
  background: #fff;
  padding: 20px;
}

.footer-action h2 {
  margin-top: 14px;
  font-size: 22px;
}

.footer-action .button {
  width: 100%;
  margin-top: 18px;
}

.footer-action p {
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 22px;
  font-size: 13px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(47, 174, 106, 0.42);
  outline-offset: 3px;
}

@keyframes railPulse {
  0%,
  10% {
    top: 0;
  }
  28% {
    top: 31%;
  }
  50% {
    top: 62%;
  }
  72%,
  100% {
    top: calc(100% - 17px);
  }
}

@keyframes typing {
  0%,
  70%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero-copy,
  .workflow-stage,
  .solution-grid .section-heading,
  .call-machine,
  .ai-grid .section-heading,
  .phone-shell,
  .conversation-mini,
  .lead-card,
  .download-grid .section-heading,
  .download-panel,
  .qr-panel,
  .seo-hero-grid .hero-copy,
  .seo-flow-card {
    grid-column: 1 / -1;
  }

  .workflow-stage,
  .phone-shell,
  .download-panel,
  .qr-panel,
  .seo-flow-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .timeline,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step::after {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .brand {
    white-space: nowrap;
  }

  .header-cta {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: min(calc(100vw - 32px), var(--max));
    padding: 14px 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 46px;
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .header-cta {
    display: none;
    padding: 9px 11px;
  }

  .scene {
    padding: 78px 0;
  }

  .hero-scene {
    min-height: auto;
    padding-top: 46px;
  }

  .scene-grid,
  .section-heading,
  .journey-compare,
  .timeline,
  .download-grid,
  .seo-content-grid,
  .use-case-grid,
  .pricing-grid,
  .faq-list,
  .site-footer {
    width: min(calc(100vw - 40px), var(--max));
    max-width: calc(100vw - 40px);
  }

  .scene-grid,
  .journey-compare,
  .timeline,
  .download-grid,
  .seo-content-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(29px, 8.6vw, 36px);
    line-height: 1.08;
  }

  .hero-copy {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .workflow-stage,
  .phone-shell,
  .download-panel,
  .qr-panel,
  .seo-flow-card {
    width: 100%;
    max-width: 100%;
  }

  .seo-panel {
    padding: 22px;
  }

  .desktop-line {
    display: none;
  }

  .mobile-line {
    display: block;
  }

  .hero-lede {
    width: min(100%, 315px);
    max-width: 315px;
    font-size: 15px;
    line-height: 1.55;
  }

  h2 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .hero-lede,
  .section-heading p,
  .cta-panel p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 12px;
    white-space: normal;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .workflow-card {
    border-radius: 26px;
    padding: 16px;
  }

  .workflow-rail {
    left: 42px;
  }

  .workflow-node {
    gap: 12px;
    min-height: 92px;
    padding: 14px;
  }

  .node-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .call-machine {
    grid-template-columns: 1fr;
  }

  .machine-stage {
    grid-column: auto;
  }

  .machine-line,
  .machine-stage::before {
    display: none;
  }

  .phone-shell {
    border-radius: 30px;
  }

  .chat-window {
    height: 430px;
  }

  .lead-details {
    grid-template-columns: 1fr;
  }

  .install-meta {
    grid-template-columns: 1fr;
  }

  .trial-banner {
    flex-direction: column;
    align-items: stretch;
    width: min(calc(100% - 32px), var(--max));
  }

  .mini-bubble:nth-child(2),
  .mini-bubble:nth-child(3),
  .transform-arrow {
    margin-left: 0;
  }

  .site-footer {
    width: min(calc(100vw - 40px), var(--max));
    max-width: calc(100vw - 40px);
  }

  .footer-main {
    border-radius: 26px;
    padding: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
