:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --bg-muted: #eef2f0;
  --text: #14181a;
  --text-muted: #5a6568;
  --text-soft: #7a8589;
  --border: #e4e9e7;
  --emerald: #0d9f6e;
  --emerald-dark: #0a7d57;
  --emerald-soft: #e8f7f1;
  --amber: #d97706;
  --amber-soft: #fff7eb;
  --red: #c24141;
  --red-soft: #fdf0f0;
  --gray: #94a3a8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 26, 0.04), 0 8px 24px rgba(20, 24, 26, 0.04);
  --shadow-hover: 0 2px 4px rgba(20, 24, 26, 0.06), 0 12px 32px rgba(20, 24, 26, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 100px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--emerald-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald);
}

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 38rem;
}

.muted {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.65rem;
}

.logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 159, 110, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-dark);
  color: #fff;
}

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

.btn-secondary:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(13, 159, 110, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(13, 159, 110, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.data-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.7s var(--ease) both;
}

.data-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.data-visual-header strong {
  font-size: 0.95rem;
}

.bars {
  display: grid;
  gap: 0.85rem;
}

.bar-row label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.bar-track {
  height: 10px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), #34d399);
  transition: width 1s var(--ease);
}

.bar-fill.warn {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.bar-fill.danger {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link p,
.card p {
  margin-bottom: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.35rem 0;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-open {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
}

.badge-warn {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-closed {
  background: var(--red-soft);
  color: var(--red);
}

.badge-idle {
  background: var(--bg-muted);
  color: var(--text-muted);
}

.badge-demo {
  background: #fef3c7;
  color: #92400e;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.progress {
  height: 8px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.85rem 0 0.35rem;
}

.progress > span {
  display: block;
  height: 100%;
  background: var(--emerald);
  border-radius: 999px;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(13, 159, 110, 0.15);
}

.input-lg {
  font-size: 1.15rem;
  padding: 1.05rem 1.2rem;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.form-inline {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.form-inline .input {
  flex: 1;
  min-width: 200px;
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.alert {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 1.25rem;
}

.alert-success {
  background: var(--emerald-soft);
  border-color: #b6e8d4;
}

.alert-neutral {
  background: var(--bg-soft);
}

.alert-warn {
  background: var(--amber-soft);
  border-color: #f5d9a8;
}

.packages-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 1.1rem;
  margin-inline: auto;
  max-width: 900px;
}

.package {
  position: relative;
}

.wa-btn {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.wa-btn:hover {
  background: #1ebe57;
  color: #fff;
}

.package.featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px rgba(13, 159, 110, 0.2), var(--shadow);
}

.package-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}

.package ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.package li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  background: #fff;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.65rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.checklist-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 0.55rem;
  cursor: pointer;
  transition: background 0.2s;
}

.checklist-item:hover {
  background: var(--bg-soft);
}

.checklist-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--emerald);
}

.checklist-item.done {
  opacity: 0.72;
}

.checklist-item.done span {
  text-decoration: line-through;
}

.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #f8fbfa, #fff);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--emerald);
}

.site-footer {
  background: #0f1416;
  color: #c5cdcf;
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #d7dedf;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.disclaimer-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.mobile-cta .btn {
  width: 100%;
}

.wizard-card {
  max-width: 560px;
  margin: 0 auto;
}

.wizard-progress {
  height: 4px;
  background: var(--bg-muted);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.wizard-progress > span {
  display: block;
  height: 100%;
  background: var(--emerald);
  transition: width 0.3s var(--ease);
}

.choice-grid {
  display: grid;
  gap: 0.65rem;
}

.choice {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.choice:hover,
.choice.active {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.search-hit {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.search-hit a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.search-hit p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.prose {
  max-width: 680px;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.changed-box {
  background: var(--emerald-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  margin: 1.5rem 0;
}

.changed-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.newsletter {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.newsletter .input {
  flex: 1;
  min-width: 220px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.6s var(--ease) both;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.15rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-search {
    display: none;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .packages-wrap {
    grid-template-columns: 1fr;
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .logo {
    font-size: 1.35rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .form-inline {
    flex-direction: column;
  }

  .form-inline .btn {
    width: 100%;
  }
}
