@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --accent: #2F5233;
  --accent-dark: #1E3A22;
  --accent-light: #4C7A53;
  --accent-tint: #E6EEE2;
  --ink: #211D16;
  --muted: #6B6455;
  --border: #E5DCC6;
  --bg: #F7F3EA;
  --font-display: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; min-width: 0; }
html { overflow-x: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 0; color: var(--ink); line-height: 1.6; overflow-x: hidden; background: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
img, svg { max-width: 100%; }

.mkt-nav { display: flex; justify-content: space-between; align-items: center; padding: clamp(10px, 3vw, 14px) clamp(12px, 4vw, 20px); border-bottom: 1px solid var(--border); position: relative; position: sticky; top: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); z-index: 20; gap: 8px; }
.mkt-nav a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.mkt-nav a:hover { color: var(--accent); }
.mkt-brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(0.95rem, 4vw, 1.15rem); color: var(--accent) !important; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mobile-first: brand, then Get Started + Login + hamburger always visible, Features/Pricing/Contact collapse */
.mkt-nav-right { display: flex; align-items: center; gap: clamp(4px, 1.8vw, 10px); position: relative; flex-shrink: 0; }
.mkt-nav .btn {
  background: var(--accent); color: #fff !important; padding: clamp(7px, 2vw, 9px) clamp(10px, 3vw, 16px); border-radius: 8px; font-weight: 600;
  white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(0.8rem, 2.6vw, 0.95rem);
  transition: background 0.15s ease, transform 0.1s ease;
}
.mkt-nav .btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.mkt-nav .btn:active { transform: translateY(0); }
.mkt-nav-login {
  white-space: nowrap; padding: clamp(6px, 1.8vw, 8px) clamp(8px, 2.4vw, 12px); border-radius: 8px; border: 1.5px solid var(--accent);
  color: var(--accent) !important; font-weight: 600; transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex; align-items: center; font-size: clamp(0.8rem, 2.6vw, 0.95rem);
}
.mkt-nav-login:hover { background: var(--accent); color: #fff !important; text-decoration: none; }
.mkt-nav-toggle { display: block; background: none; border: none; font-size: clamp(19px, 5vw, 22px); line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 2px; flex-shrink: 0; }
.mkt-nav-links {
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  position: absolute; top: calc(100% + 14px); right: 0; left: auto;
  width: max-content; min-width: 170px; max-width: min(260px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 28px rgba(33,29,22,0.14);
  flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.mkt-nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; display: flex; }
.mkt-nav-links a { padding: 10px 8px; border-radius: 8px; }
.mkt-nav-links a:hover { background: var(--accent-tint); }
.mkt-nav-links .btn { text-align: center; margin-top: 4px; }

.mkt-hero { position: relative; text-align: center; padding: 64px 20px 52px; background: linear-gradient(160deg, var(--accent-tint) 0%, #fdfaf3 45%, #fff 100%); overflow: hidden; }
.mkt-hero::before {
  content: ""; position: absolute; top: -30%; right: -15%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(47,82,51,0.10) 0%, rgba(47,82,51,0) 70%); z-index: 0; pointer-events: none;
}
.mkt-hero.has-media { padding: 110px 20px 90px; min-height: 480px; display: flex; align-items: center; justify-content: center; background: #14150f; }
.mkt-hero.has-media::before { display: none; }
.mkt-hero-bg-video, .mkt-hero-bg-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.mkt-hero-bg-video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw;      /* 16:9 sized to cover the width */
  min-height: 100%; min-width: 177.78vh; /* ...and to cover the height too, whichever is larger */
  pointer-events: none; border: 0;
}
.mkt-hero-bg-slider .mkt-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.mkt-hero-bg-slider .mkt-slide.active { opacity: 1; }
.mkt-hero-bg-slider .mkt-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mkt-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,20,12,0.45) 0%, rgba(15,20,12,0.72) 100%); }
.mkt-hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; animation: mkt-fade-up 0.7s ease both; }
@keyframes mkt-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.mkt-hero h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); margin-bottom: 14px; color: var(--accent-dark); line-height: 1.15; }
.mkt-hero p { font-size: clamp(1rem, 2.5vw, 1.15rem); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.mkt-hero.has-media h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.mkt-hero.has-media p { color: rgba(255,255,255,0.92); }
.mkt-hero.has-media .mkt-cta.secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.8); backdrop-filter: blur(2px); }
.mkt-hero.has-media .mkt-cta.secondary:hover { background: rgba(255,255,255,0.22); }
.mkt-hero .mkt-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.mkt-hero .mkt-slider-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.mkt-hero .mkt-slider-dot.active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .mkt-hero-bg-slider .mkt-slide { transition: none; }
}
.mkt-cta { display: inline-block; background: var(--accent); color: #fff; padding: 14px 30px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 1rem; box-shadow: 0 4px 14px rgba(47,82,51,0.25); transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; margin: 6px; }
.mkt-cta:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 22px rgba(47,82,51,0.32); }
.mkt-cta:active { transform: translateY(0) scale(0.99); }
.mkt-cta.secondary { background: #fff; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.mkt-cta.secondary:hover { background: var(--accent-tint); box-shadow: 0 6px 16px rgba(47,82,51,0.12); }

.mkt-section { max-width: 1000px; margin: 0 auto; padding: 44px 20px; }
.mkt-section h2 { text-align: center; color: var(--accent-dark); margin-bottom: 32px; font-size: clamp(1.4rem, 4vw, 1.8rem); }
.mkt-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.mkt-card {
  border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 14px; padding: 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; background: #fff; position: relative;
}
.mkt-card:hover { box-shadow: 0 14px 32px rgba(33,29,22,0.11); transform: translateY(-4px); border-top-color: var(--accent-dark); }
.mkt-card:hover .mkt-icon { transform: scale(1.1); }
.mkt-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.mkt-reveal-visible { opacity: 1; transform: translateY(0); }
.mkt-card h3 { margin-top: 0; color: var(--accent-dark); display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.mkt-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.mkt-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); background: var(--accent-tint); border-radius: 8px; padding: 5px; transition: transform 0.2s ease; }

.mkt-price { max-width: 420px; margin: 0 auto; border: 2px solid var(--accent); border-radius: 16px; padding: 30px 26px; text-align: center; background: #fff; box-shadow: 0 8px 28px rgba(33,29,22,0.08); }
.mkt-price .amount { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 700; color: var(--accent-dark); }
.mkt-price ul { text-align: left; list-style: none; padding: 0; margin: 22px 0; }
.mkt-price li { padding: 6px 0; font-size: 0.95rem; }
.mkt-price li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.mkt-footer { text-align: center; padding: 36px 20px 30px; color: rgba(255,255,255,0.72); font-size: 0.85rem; background: var(--accent-dark); }
.mkt-footer p { color: rgba(255,255,255,0.85); }
.mkt-footer-contact { margin: 4px 0 10px; }
.mkt-footer a { color: rgba(255,255,255,0.72); margin: 0 8px; text-decoration: none; }
.mkt-footer a:hover { color: #fff; text-decoration: underline; }

/* Stats row */
.mkt-stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
@media (min-width: 640px) { .mkt-stats-row { grid-template-columns: repeat(4, 1fr); } }
.mkt-stat { text-align: center; padding: 18px 10px; border-radius: 12px; background: var(--accent-tint); }
.mkt-stat-num { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.8rem); font-weight: 700; color: var(--accent-dark); }
.mkt-stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* How-it-works steps */
.mkt-steps { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 900px; margin: 0 auto; counter-reset: mkt-step; }
@media (min-width: 720px) { .mkt-steps { grid-template-columns: repeat(3, 1fr); } }
.mkt-step { text-align: center; padding: 24px 18px; }
.mkt-step-num {
  counter-increment: mkt-step; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.mkt-step-num::before { content: counter(mkt-step); }
.mkt-step h3 { margin: 0 0 8px; color: var(--accent-dark); font-size: 1.05rem; }
.mkt-step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.legal-page { max-width: 760px; margin: 32px auto; padding: 0 20px 60px; }
.legal-page h1 { color: var(--accent-dark); font-size: clamp(1.6rem, 5vw, 2.1rem); }
.legal-page h2 { color: var(--accent); margin-top: 30px; font-size: 1.2rem; }
.legal-page p { color: var(--ink); }

@media (min-width: 640px) {
  .mkt-nav { padding: 16px 32px; }
  .mkt-hero { padding: 80px 20px 60px; }
  .mkt-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
}
@media (min-width: 720px) {
  .mkt-nav-toggle { display: none; }
  .mkt-nav-links {
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    display: flex; position: static; flex-direction: row; align-items: center; gap: 18px;
    background: transparent; border: none; box-shadow: none; padding: 0; width: auto;
    order: 1;
  }
  .mkt-nav-links a { padding: 0; border-radius: 0; }
  .mkt-nav-links a:hover { background: none; }
  .mkt-nav-login { order: 2; padding: 9px 18px; }
  .mkt-nav-getstarted { order: 3; padding: 9px 20px; }
  .mkt-nav-right { gap: 18px; }
}
