:root {
  --mkt-ink: #0b1f1a;
  --mkt-forest: #0d5c4d;
  --mkt-leaf: #1faa7a;
  --mkt-mint: #e7f7f1;
  --mkt-sand: #f4f7f5;
  --mkt-cream: #fbfcfb;
  --mkt-line: rgba(11, 31, 26, 0.1);
  --mkt-muted: #5a6f68;
  --mkt-white: #ffffff;
  --mkt-radius: 18px;
  --mkt-shadow: 0 18px 50px rgba(13, 92, 77, 0.12);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.mkt-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--mkt-ink);
  background: var(--mkt-cream);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .mkt-brand-text, .mkt-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a { color: var(--mkt-forest); text-decoration: none; }
a:hover { color: var(--mkt-leaf); }

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mkt-line);
}

.mkt-nav { padding: 0.85rem 0; }
.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--mkt-ink) !important;
}
.mkt-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--mkt-leaf), var(--mkt-forest));
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
}
.mkt-brand-text { font-size: 1.15rem; font-weight: 700; }

.mkt-menu .nav-link,
.mkt-auth .nav-link {
  color: var(--mkt-ink) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
}
.mkt-menu .nav-link:hover,
.mkt-menu .nav-link.active {
  color: var(--mkt-forest) !important;
  background: var(--mkt-mint);
}

.mkt-dropdown {
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
  box-shadow: var(--mkt-shadow);
  padding: 0.6rem;
  min-width: 240px;
  margin-top: 0.35rem !important;
}
.mkt-dropdown .dropdown-header {
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-muted);
}
.mkt-dropdown .dropdown-item {
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-weight: 500;
}
.mkt-dropdown .dropdown-item:hover {
  background: var(--mkt-mint);
  color: var(--mkt-forest);
}

.mkt-btn-primary {
  background: linear-gradient(145deg, var(--mkt-leaf), var(--mkt-forest));
  border: none;
  color: white !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  box-shadow: 0 10px 24px rgba(31, 170, 122, 0.28);
}
.mkt-btn-primary:hover {
  filter: brightness(1.05);
  color: white !important;
}
.mkt-btn-ghost {
  border: 1.5px solid rgba(13, 92, 77, 0.25);
  color: var(--mkt-forest) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  background: transparent;
}
.mkt-btn-ghost:hover {
  background: var(--mkt-mint);
  color: var(--mkt-forest) !important;
}

.navbar-toggler { border: 1px solid var(--mkt-line); }
.navbar-toggler-icon { filter: invert(0.35); }

.mkt-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(31, 170, 122, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(13, 92, 77, 0.18), transparent 50%),
    linear-gradient(165deg, #f0faf6 0%, #ffffff 45%, #eaf6f1 100%);
}
.mkt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 92, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 92, 77, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}
.mkt-hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
}
.mkt-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 14ch;
  margin-bottom: 1.1rem;
  color: var(--mkt-ink);
}
.mkt-hero-brand {
  display: block;
  color: var(--mkt-forest);
}
.mkt-hero p.lead {
  font-size: 1.15rem;
  color: var(--mkt-muted);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.mkt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.mkt-hero-note {
  font-size: 0.92rem;
  color: var(--mkt-muted);
}

.mkt-hero-visual {
  position: relative;
  min-height: 360px;
}
.mkt-phone {
  position: absolute;
  right: 8%;
  top: 10%;
  width: min(280px, 70%);
  border-radius: 28px;
  background: linear-gradient(160deg, #123f36, #0b1f1a);
  color: white;
  padding: 1.25rem;
  box-shadow: 0 30px 60px rgba(11, 31, 26, 0.35);
  animation: mkt-float 5s ease-in-out infinite;
}
.mkt-phone-alt {
  position: absolute;
  right: 38%;
  bottom: 4%;
  width: min(240px, 58%);
  border-radius: 24px;
  background: white;
  border: 1px solid var(--mkt-line);
  padding: 1rem;
  box-shadow: var(--mkt-shadow);
  animation: mkt-float-alt 6s ease-in-out infinite;
}
.mkt-bubble {
  background: #1faa7a;
  color: white;
  border-radius: 14px 14px 4px 14px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}
.mkt-bubble.in {
  background: #e9eef0;
  color: var(--mkt-ink);
  border-radius: 14px 14px 14px 4px;
}
.mkt-chip {
  display: inline-block;
  background: var(--mkt-mint);
  color: var(--mkt-forest);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.85rem;
}

@keyframes mkt-float {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes mkt-float-alt {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-4deg); }
}

.mkt-section { padding: 4.5rem 0; }
.mkt-section-alt { background: var(--mkt-sand); }
.mkt-section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.mkt-section-sub {
  color: var(--mkt-muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}
.mkt-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mkt-leaf);
  margin-bottom: 0.65rem;
}

.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}
.mkt-feature-card {
  background: white;
  border: 1px solid var(--mkt-line);
  border-radius: var(--mkt-radius);
  padding: 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 100px;
}
.mkt-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mkt-shadow);
}
.mkt-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mkt-mint);
  color: var(--mkt-forest);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.mkt-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.mkt-feature-card p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.mkt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .mkt-steps { grid-template-columns: 1fr; }
  .mkt-hero-visual { min-height: 280px; margin-top: 2rem; }
}

.mkt-step {
  background: white;
  border-radius: var(--mkt-radius);
  padding: 1.5rem;
  border: 1px solid var(--mkt-line);
}
.mkt-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--mkt-leaf);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.mkt-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.mkt-price-card {
  background: white;
  border: 1px solid var(--mkt-line);
  border-radius: 22px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.mkt-price-card.popular {
  border-color: var(--mkt-leaf);
  box-shadow: var(--mkt-shadow);
}
.mkt-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--mkt-leaf);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.mkt-price-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.mkt-price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mkt-forest);
  line-height: 1;
}
.mkt-price-amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mkt-muted);
}
.mkt-price-desc {
  color: var(--mkt-muted);
  font-size: 0.92rem;
  margin: 0.75rem 0 1.1rem;
}
.mkt-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
}
.mkt-price-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--mkt-line);
  font-size: 0.92rem;
}
.mkt-price-list li::before {
  content: "✓ ";
  color: var(--mkt-leaf);
  font-weight: 700;
}

.mkt-api-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .mkt-api-layout { grid-template-columns: 1fr; }
}
.mkt-api-side {
  position: sticky;
  top: 90px;
  background: white;
  border: 1px solid var(--mkt-line);
  border-radius: 16px;
  padding: 1rem;
}
.mkt-api-side a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--mkt-ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.mkt-api-side a:hover { background: var(--mkt-mint); }
.mkt-api-block {
  background: white;
  border: 1px solid var(--mkt-line);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  scroll-margin-top: 100px;
}
.mkt-api-method {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--mkt-mint);
  color: var(--mkt-forest);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  margin-right: 0.5rem;
}
.mkt-code {
  background: #0b1f1a;
  color: #d7f5ea;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  margin: 0.85rem 0 0;
  white-space: pre-wrap;
}
.mkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.mkt-table th,
.mkt-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--mkt-line);
}
.mkt-table th { color: var(--mkt-muted); font-weight: 600; }

.mkt-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.mkt-logo-tile {
  background: white;
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
  min-height: 88px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.mkt-page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(31, 170, 122, 0.15), transparent 55%),
    var(--mkt-sand);
}
.mkt-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.mkt-footer {
  background: var(--mkt-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}
.mkt-footer .mkt-brand-text { color: white; }
.mkt-footer-brand { margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.mkt-footer-copy { font-size: 0.95rem; opacity: 0.85; max-width: 28rem; }
.mkt-footer-hours { font-size: 0.88rem; opacity: 0.7; }
.mkt-footer-title {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.mkt-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mkt-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}
.mkt-footer-links a:hover { color: white; }
.mkt-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  opacity: 0.7;
}

.mkt-cta-band {
  background: linear-gradient(135deg, var(--mkt-forest), #147a62);
  color: white;
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.mkt-cta-band h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}
.mkt-cta-band p { margin: 0; opacity: 0.9; }
.mkt-cta-band .mkt-btn-primary {
  background: white;
  color: var(--mkt-forest) !important;
  box-shadow: none;
}
