/* Design tokens: professional accounting / fintech */
:root {
  --color-primary: #0f172a;
  --color-on-primary: #ffffff;
  --color-secondary: #334155;
  --color-accent: #0369a1;
  --color-accent-hover: #075985;
  --color-background: #f8fafc;
  --color-foreground: #020617;
  --color-muted: #64748b;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-ring: #0f172a;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 4px 12px rgb(15 23 42 / 0.08);
  --radius: 12px;
  --space: 8px;
  --font: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--color-surface);
  color: var(--color-accent);
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 calc(var(--space) * 3);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(248 250 252 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  order: 1;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  order: 3;
}

@media (min-width: 900px) {
  .logo {
    order: 0;
  }

  .nav-primary {
    order: 0;
    width: auto;
    flex: 1;
    justify-content: center;
    gap: 8px;
  }

  .header-actions {
    order: 0;
    margin-left: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

.nav-primary a {
  color: var(--color-secondary);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 200ms ease, background 200ms ease;
  cursor: pointer;
}

.nav-primary a:hover {
  color: var(--color-primary);
  background: rgb(15 23 42 / 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  order: 2;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.btn:focus-visible {
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

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

.btn-ghost:hover {
  background: rgb(3 105 161 / 0.08);
}

.btn-lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: calc(var(--space) * 8) 0 calc(var(--space) * 10);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  gap: calc(var(--space) * 5);
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: calc(var(--space) * 6);
    align-items: center;
  }
}

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

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  color: var(--color-secondary);
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 200px;
}

.trust-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: calc(var(--space) * 3);
  box-shadow: var(--shadow-md);
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 3px;
}

/* Sections */
.section {
  padding: calc(var(--space) * 9) 0;
}

.section-alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 640px;
  margin-bottom: calc(var(--space) * 5);
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--color-secondary);
  font-size: 1.0625rem;
}

/* Features grid */
.grid-3 {
  display: grid;
  gap: calc(var(--space) * 2);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: calc(var(--space) * 3);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  border-color: rgb(3 105 161 / 0.35);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgb(3 105 161 / 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: calc(var(--space) * 2);
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: calc(var(--space) * 3.5);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-background);
}

.price-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgb(3 105 161 / 0.12);
  background: var(--color-surface);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.price-card .for-who {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.price-amount {
  margin: 0 0 20px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.price-amount small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: 4px;
}

.price-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.price-features svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 3px;
}

.price-note {
  margin-top: calc(var(--space) * 4);
  padding: 16px;
  background: rgb(3 105 161 / 0.06);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--color-secondary);
}

/* Steps */
.steps {
  display: grid;
  gap: calc(var(--space) * 3);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
  background: var(--color-background);
}

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

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

.faq details[open] summary {
  margin-bottom: 8px;
}

.faq p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

/* CTA band */
.cta-band {
  padding: calc(var(--space) * 8) 0;
  background: var(--color-primary);
  color: #e2e8f0;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
}

.cta-inner p {
  margin: 0 0 24px;
  color: rgb(226 232 240 / 0.9);
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-band .cta-actions .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 220px;
  padding: 0 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgb(37 211 102 / 0.35);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.cta-band .cta-actions .btn-whatsapp:hover {
  background-color: #20bd5a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(37 211 102 / 0.45);
}

.cta-band .cta-actions .btn-whatsapp:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cta-band .cta-actions .btn-whatsapp svg {
  flex-shrink: 0;
}

.btn-whatsapp {
  gap: 8px;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-band .btn-primary:hover {
  background: #f1f5f9;
}

/* Footer */
.site-footer {
  padding: calc(var(--space) * 5) 0 calc(var(--space) * 4);
  background: #0c1222;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: calc(var(--space) * 4);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

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

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

.footer-brand {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-meta {
  margin-top: calc(var(--space) * 4);
  padding-top: calc(var(--space) * 3);
  border-top: 1px solid rgb(148 163 184 / 0.2);
  font-size: 0.8125rem;
}
