:root {
  --ink: #142635;
  --muted: #587080;
  --surface: #ffffff;
  --soft: #f3f8fb;
  --line: #dce8ee;
  --teal: #087e8b;
  --blue: #1768a6;
  --graphite: #142b3a;
  --shadow: 0 20px 55px rgba(13, 43, 62, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--surface);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #e6a638;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
}

.brand img {
  border-radius: 10px;
}

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 24px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--teal);
}

.nav-login,
.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--graphite);
  background: #ffffff;
}

.site-nav .nav-cta {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100svh - 76px));
  padding: clamp(54px, 8vw, 104px) clamp(20px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(247, 251, 253, 0.98) 0%, rgba(247, 251, 253, 0.91) 39%, rgba(247, 251, 253, 0.35) 70%, rgba(247, 251, 253, 0.08) 100%);
}

.hero-content {
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 10px;
  color: var(--graphite);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #344c5a;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.button.secondary {
  border-color: var(--line);
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.9);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 8px 12px;
  border: 1px solid rgba(220, 232, 238, 0.95);
  border-radius: 999px;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7vw, 100px);
}

.intro,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro > p,
.section-copy > p:not(.eyebrow),
.report-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy > p:not(.eyebrow) {
  margin-top: 18px;
}

.feature-band,
.references-section {
  background: var(--soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.reference-card {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(20, 43, 58, 0.06);
}

.feature-card p,
.reference-card p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 48px;
  margin-bottom: 22px;
  padding: 0 8px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--graphite);
  font-size: 0.8rem;
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 96px;
  padding: 18px 20px 18px 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: var(--teal);
  content: counter(step);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.report-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7vw, 100px);
  color: #ffffff;
  background: var(--graphite);
}

.report-section h2,
.report-section .eyebrow {
  color: #ffffff;
}

.report-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric-list div {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-list strong,
.metric-list span {
  display: block;
}

.metric-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-section {
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(20, 43, 58, 0.06);
}

.featured-plan {
  border: 2px solid var(--teal);
  box-shadow: 0 16px 38px rgba(8, 126, 139, 0.15);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
}

.plan-label,
.reference-type {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-quota {
  min-height: 56px;
  margin: 8px 0;
  color: var(--muted);
}

.plan-quota strong {
  color: var(--graphite);
  font-size: 1.22rem;
}

.plan-quota span {
  padding: 0 4px;
  color: #91a4af;
}

.plan-price {
  margin: 14px 0 8px;
  color: var(--graphite);
  font-weight: 800;
}

.plan-description {
  min-height: 78px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.plan-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.plan-actions a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--graphite);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.plan-actions a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--soft);
}

.featured-plan .plan-actions a:first-child {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.pricing-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reference-card {
  min-height: 210px;
}

.reference-type {
  display: inline-block;
  margin-bottom: 14px;
}

.ecosystem-section {
  background: #ffffff;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.ecosystem-card strong {
  color: var(--graphite);
  font-size: 1.2rem;
}

.ecosystem-card > span:not(.text-link) {
  color: var(--muted);
}

.text-link {
  margin-top: 6px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 19px 0;
  color: var(--graphite);
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  max-width: 860px;
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  align-items: start;
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(54px, 7vw, 84px) clamp(20px, 7vw, 100px);
  color: #ffffff;
  background: var(--teal);
}

.contact-section h2 {
  max-width: 780px;
  color: #ffffff;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-section .eyebrow {
  color: #ffffff;
}

.whatsapp-button {
  gap: 9px;
  color: #ffffff;
  background: #168b4b;
}

.whatsapp-button span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 900;
}

.contact-email {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 14px;
  color: var(--graphite);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c7d8e0;
  border-radius: 8px;
  color: var(--graphite);
  background: #ffffff;
  font: inherit;
  outline: none;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.14);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  width: 100%;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-status.success {
  color: #087443;
}

.contact-status.error {
  color: #b42318;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 100px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer > div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--graphite);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
    align-items: start;
    padding-top: 48px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 251, 253, 0.98) 0%, rgba(247, 251, 253, 0.91) 49%, rgba(247, 251, 253, 0.42) 100%);
  }

  .intro,
  .split-section,
  .report-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-card {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .site-nav a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .hero {
    min-height: 760px;
    padding: 40px 18px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.3rem);
  }

  .section,
  .report-section,
  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .feature-grid,
  .pricing-grid,
  .ecosystem-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .plan-description {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
