/* ── Marketing / public pages ───────────────────────────── */

.marketing-body {
  background: #f8fbf9;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.marketing-main {
  flex: 1;
}

.marketing-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Nav */
.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.marketing-nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.marketing-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}

.marketing-nav__brand:hover .marketing-nav__wordmark-sub { color: var(--accent); }

.marketing-nav__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 10px rgba(13, 69, 48, 0.32));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.marketing-nav__brand:hover .marketing-nav__logo-icon {
  filter: drop-shadow(0 5px 14px rgba(13, 69, 48, 0.44));
  transform: translateY(-1px);
}

.marketing-nav__wordmark {
  line-height: 1;
  letter-spacing: -0.02em;
}

.marketing-nav__wordmark-main {
  font-weight: 800;
  background: linear-gradient(135deg, #197b5b 0%, #22c47d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.marketing-nav__wordmark-sub {
  font-weight: 700;
  color: var(--ink);
  transition: color 0.15s ease;
}

.marketing-nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.marketing-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.marketing-nav__link:hover,
.marketing-nav__link--active {
  color: #197b5b;
}

.marketing-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketing-nav__link--signin {
  margin-right: 4px;
}

/* Buttons */
.marketing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.marketing-btn--primary {
  background: linear-gradient(135deg, #197b5b 0%, #0f5f45 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(25, 123, 91, 0.28);
}

.marketing-btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(25, 123, 91, 0.35); }

.marketing-btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.marketing-btn--ghost:hover { border-color: #197b5b; color: #197b5b; }

.marketing-btn--inverse {
  background: #fff;
  color: #197b5b;
}

.marketing-btn--lg { padding: 14px 24px; font-size: 15px; }

/* Hero */
.marketing-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(25, 123, 91, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(25, 123, 91, 0.08), transparent),
    linear-gradient(180deg, #eef7f2 0%, #f8fbf9 100%);
}

.marketing-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.marketing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #197b5b;
  margin-bottom: 12px;
}

.marketing-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.marketing-gradient-text {
  background: linear-gradient(135deg, #197b5b, #2aa87a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marketing-hero__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 28px;
}

.marketing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.marketing-hero__note {
  font-size: 13px;
  color: var(--muted);
}

.marketing-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(22, 32, 31, 0.1);
  overflow: hidden;
}

.marketing-hero-card__header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #f4f7f5;
  border-bottom: 1px solid var(--line);
}

.marketing-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.marketing-dot--green { background: #34c759; }
.marketing-dot--amber { background: #ffcc00; }
.marketing-dot--red { background: #ff6b6b; }

.marketing-hero-card__body { padding: 24px; }

.marketing-hero-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marketing-hero-card__keyword {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 20px;
}

.marketing-progress {
  height: 8px;
  background: var(--accent-soft);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}

.marketing-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #197b5b, #2aa87a);
  border-radius: 99px;
  animation: marketing-pulse 2.5s ease-in-out infinite;
}

@keyframes marketing-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.marketing-hero-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.marketing-hero-card__stats strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
}

/* Trust bar */
.marketing-trust {
  padding: 0 0 56px;
}

.marketing-trust__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(22, 32, 31, 0.05);
}

.marketing-trust__item {
  text-align: center;
}

.marketing-trust__value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #197b5b;
}

.marketing-trust__label {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.marketing-section {
  padding: 72px 0;
}

.marketing-section--alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

.marketing-section__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 48px;
}

.marketing-section__header h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.marketing-section__lead {
  color: var(--muted);
  font-size: 16px;
}

/* Features */
.marketing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(25, 123, 91, 0.35);
  box-shadow: 0 12px 32px rgba(25, 123, 91, 0.1);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #197b5b;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Steps */
.marketing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}

.marketing-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}

.marketing-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #197b5b;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.marketing-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.marketing-step p {
  font-size: 14px;
  color: var(--muted);
}

/* Pricing teaser */
.marketing-pricing-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.marketing-pricing-teaser__copy h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.marketing-pricing-teaser__copy p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 28rem;
}

.marketing-pricing-card {
  background: linear-gradient(145deg, #0f5f45 0%, #197b5b 55%, #2aa87a 100%);
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(15, 95, 69, 0.35);
}

.marketing-pricing-card__badge {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.marketing-pricing-card__amount {
  font-size: 42px;
  font-weight: 800;
  margin: 12px 0;
}

.marketing-pricing-card__amount span {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.9;
}

.marketing-pricing-card__detail {
  opacity: 0.92;
  margin-bottom: 20px;
}

.marketing-pricing-card ul {
  list-style: none;
  font-size: 14px;
}

.marketing-pricing-card li {
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.marketing-pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* CTA band */
.marketing-cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, #0f5f45, #197b5b);
  color: #fff;
}

.marketing-cta-band__inner {
  text-align: center;
}

.marketing-cta-band h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.marketing-cta-band p {
  opacity: 0.92;
  margin-bottom: 24px;
}

/* Page hero (about, contact) */
.marketing-page-hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, #eef7f2 0%, #f8fbf9 100%);
}

.marketing-page-hero__inner {
  max-width: 40rem;
}

.marketing-page-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.marketing-page-hero__lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* Prose */
.marketing-prose {
  max-width: 42rem;
}

.marketing-prose h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 32px 0 12px;
}

.marketing-prose h2:first-child { margin-top: 0; }

.marketing-prose p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.marketing-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.marketing-list li { margin-bottom: 8px; }

.marketing-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Contact form */
.marketing-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.marketing-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}

.marketing-form__field {
  margin-bottom: 20px;
}

.marketing-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.marketing-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.marketing-input:focus {
  outline: none;
  border-color: #197b5b;
  box-shadow: 0 0 0 3px rgba(25, 123, 91, 0.15);
}

.marketing-input--area {
  resize: vertical;
  min-height: 140px;
}

.marketing-form textarea.input {
  min-height: 140px;
  resize: vertical;
}

.marketing-contact__aside h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.marketing-contact__aside p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

/* Footer */
.marketing-footer {
  margin-top: auto;
  background: #0f1a17;
  color: #c5d5ce;
  padding: 48px 0 0;
}

.marketing-footer .marketing-nav__brand {
  color: #e8f2ed;
  margin-bottom: 10px;
}

.marketing-footer__tagline {
  font-size: 14px;
  max-width: 16rem;
  line-height: 1.5;
}

.marketing-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.marketing-footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e8f2ed;
  margin-bottom: 14px;
}

.marketing-footer__links a {
  display: block;
  font-size: 14px;
  color: #8fa59c;
  padding: 4px 0;
}

.marketing-footer__links a:hover { color: #fff; }

.marketing-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #8fa59c;
}

/* Flash on marketing pages */
.marketing-main .flash-notice,
.marketing-main .flash-alert,
.marketing-main [class*="flash"] {
  margin: 16px auto;
  width: min(1120px, calc(100% - 40px));
}

/* Animations */
.marketing-fade-in {
  animation: marketing-fade-in 0.7s ease both;
}

.marketing-fade-in--delay {
  animation-delay: 0.15s;
}

@keyframes marketing-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-fade-in,
  .marketing-fade-in--delay,
  .marketing-progress__bar {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .marketing-nav__links { display: none; }

  .marketing-hero__grid,
  .marketing-pricing-teaser,
  .marketing-contact,
  .marketing-footer__grid {
    grid-template-columns: 1fr;
  }

  .marketing-hero { padding-top: 48px; }

  .marketing-trust__bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .marketing-features,
  .marketing-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .marketing-nav__actions .marketing-nav__link--signin { display: none; }

  .marketing-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .marketing-hero__cta .marketing-btn { width: 100%; }
}
