/* FundSync public marketing site */
:root {
  --mkt-ink: #0c1f16;
  --mkt-forest: #0b2e1d;
  --mkt-leaf: #1e5d3a;
  --mkt-moss: #2d7a4f;
  --mkt-mint: #d8f0e3;
  --mkt-cream: #f3f7f4;
  --mkt-paper: #fafcfb;
  --mkt-muted: #5a6b62;
  --mkt-line: rgba(11, 46, 29, 0.12);
  --mkt-accent: #c4a35a;
  --mkt-font-display: "Fraunces", "Georgia", serif;
  --mkt-font-body: "Outfit", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

.mkt-body {
  margin: 0;
  font-family: var(--mkt-font-body);
  color: var(--mkt-ink);
  background:
    radial-gradient(1200px 600px at 0% 0%, rgba(216, 240, 227, 0.55), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(196, 163, 90, 0.08), transparent 50%),
    var(--mkt-paper);
  line-height: 1.55;
}

.mkt-body h1,
.mkt-body h2,
.mkt-body h3 {
  font-family: var(--mkt-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--mkt-ink);
}

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 252, 251, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--mkt-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.mkt-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--mkt-forest);
}

.mkt-brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(145deg, var(--mkt-leaf), var(--mkt-forest));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(11, 46, 29, 0.22);
}

.mkt-brand-name {
  font-family: var(--mkt-font-display);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1;
}

.mkt-nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-nav-links a {
  text-decoration: none;
  color: var(--mkt-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.mkt-nav-links a:hover,
.mkt-nav-links a.active { color: var(--mkt-forest); }

.mkt-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mkt-nav-toggle {
  display: inline-flex;
  border: 1px solid var(--mkt-line);
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.4rem 0.55rem;
  color: var(--mkt-forest);
}

@media (min-width: 900px) {
  .mkt-nav-links { display: flex; }
  .mkt-nav-toggle { display: none; }
}

.mkt-nav-drawer {
  display: none;
  border-top: 1px solid var(--mkt-line);
  padding: 0.75rem 1.25rem 1rem;
  background: var(--mkt-paper);
}

.mkt-nav-drawer.open { display: block; }

.mkt-nav-drawer a {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--mkt-ink);
  font-weight: 500;
}

@media (min-width: 900px) {
  .mkt-nav-drawer { display: none !important; }
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mkt-btn:hover { transform: translateY(-1px); }

.mkt-btn-primary {
  background: var(--mkt-leaf);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 93, 58, 0.22);
}

.mkt-btn-primary:hover {
  background: var(--mkt-forest);
  color: #fff;
}

.mkt-btn-ghost {
  background: transparent;
  color: var(--mkt-forest);
  border-color: rgba(11, 46, 29, 0.25);
}

.mkt-btn-ghost:hover {
  background: var(--mkt-mint);
  color: var(--mkt-forest);
}

.mkt-btn-light {
  background: #fff;
  color: var(--mkt-forest);
}

.mkt-btn-light:hover {
  background: var(--mkt-mint);
  color: var(--mkt-forest);
}

.mkt-btn-lg {
  padding: 0.85rem 1.4rem;
  font-size: 1.02rem;
}

.mkt-btn-ghost-on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.mkt-btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mkt-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.mkt-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mkt-section { padding: 4.5rem 0; position: relative; }
.mkt-section-alt {
  background:
    linear-gradient(180deg, rgba(243, 247, 244, 0.96), rgba(243, 247, 244, 0.94)),
    url("/images/marketing/section-ops.jpg") center / cover no-repeat;
}

.mkt-section-photo {
  color: #fff;
  overflow: hidden;
  background: var(--mkt-forest);
}

.mkt-section-photo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 18, 0.9) 0%, rgba(11, 46, 29, 0.78) 45%, rgba(11, 46, 29, 0.55) 100%),
    url("/images/marketing/section-inventory.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: mkt-drift 18s ease-in-out infinite alternate;
}

.mkt-section-photo .mkt-wrap { position: relative; z-index: 1; }
.mkt-section-photo .mkt-kicker { color: var(--mkt-accent); }
.mkt-section-photo .mkt-section-title,
.mkt-section-photo h2,
.mkt-section-photo h3 { color: #fff; }
.mkt-section-photo .mkt-section-sub,
.mkt-section-photo .mkt-steps span { color: rgba(255, 255, 255, 0.82); }
.mkt-section-photo .mkt-steps li { border-bottom-color: rgba(255, 255, 255, 0.16); }
.mkt-section-photo .mkt-steps li::before {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.mkt-section-photo .mkt-steps strong { color: #fff; }

.mkt-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mkt-moss);
  margin-bottom: 0.75rem;
}

.mkt-lead {
  font-size: 1.1rem;
  color: var(--mkt-muted);
  max-width: 38rem;
}

.mkt-section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
}

.mkt-section-sub {
  color: var(--mkt-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.mkt-hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--mkt-forest);
}

.mkt-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 22, 14, 0.88) 0%, rgba(11, 46, 29, 0.72) 42%, rgba(11, 46, 29, 0.42) 100%),
    radial-gradient(900px 500px at 80% 15%, rgba(196, 163, 90, 0.18), transparent 55%),
    url("/images/marketing/hero-warehouse.jpg") center / cover no-repeat;
  transform-origin: 60% 40%;
  animation: mkt-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.mkt-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 22, 14, 0.55) 0%, transparent 42%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.03) 14px,
      rgba(255, 255, 255, 0.03) 15px
    );
  pointer-events: none;
  animation: none;
}

@keyframes mkt-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes mkt-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero-bg,
  .mkt-section-photo-bg { animation: none; }
}

.mkt-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4rem;
}

.mkt-hero h1,
.mkt-hero h2,
.mkt-hero h3,
.mkt-page-hero h1,
.mkt-page-hero h2,
.mkt-page-hero h3,
.mkt-cta-band h1,
.mkt-cta-band h2,
.mkt-cta-band h3 {
  color: #fff;
}

.mkt-hero-brand {
  font-family: var(--mkt-font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 650;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  animation: mkt-rise 0.7s ease both;
}

.mkt-hero-title {
  font-family: var(--mkt-font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  margin: 0 0 0.65rem;
  max-width: 28rem;
  color: #fff;
  animation: mkt-rise 0.7s ease 0.08s both;
}

.mkt-hero-sub {
  margin: 0 0 1.75rem;
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  animation: mkt-rise 0.7s ease 0.16s both;
}

.mkt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: mkt-rise 0.7s ease 0.24s both;
}

@keyframes mkt-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.mkt-pain-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .mkt-pain-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.mkt-pain-list li {
  padding-top: 0.85rem;
  border-top: 2px solid var(--mkt-leaf);
  transition: transform 0.2s ease;
}

.mkt-pain-list li:hover { transform: translateY(-2px); }

.mkt-pillar {
  padding-top: 0.25rem;
  transition: transform 0.22s ease;
}

.mkt-pillar:hover { transform: translateY(-3px); }

.mkt-pain-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--mkt-font-display);
  font-size: 1.15rem;
}

.mkt-pain-list span {
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.mkt-pillars {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .mkt-pillars { grid-template-columns: repeat(4, 1fr); }
}

.mkt-pillar h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.mkt-pillar p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.mkt-pillar-num {
  font-family: var(--mkt-font-display);
  font-size: 0.85rem;
  color: var(--mkt-accent);
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.mkt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mkt-steps { grid-template-columns: repeat(2, 1fr); }
}

.mkt-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mkt-line);
}

.mkt-steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--mkt-mint);
  color: var(--mkt-forest);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.mkt-steps strong { display: block; margin-bottom: 0.2rem; }
.mkt-steps span { color: var(--mkt-muted); font-size: 0.95rem; }

.mkt-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .mkt-split { grid-template-columns: 1fr 1fr; align-items: start; }
}

.mkt-role-row { display: grid; gap: 1.25rem; }

.mkt-role-row article {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mkt-line);
}

.mkt-role-row h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.mkt-role-row p {
  margin: 0;
  color: var(--mkt-muted);
}

.mkt-feature-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--mkt-line);
}

.mkt-feature-block:last-child { border-bottom: 0; }

.mkt-feature-block ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--mkt-muted);
}

.mkt-feature-block li { margin-bottom: 0.4rem; }

.mkt-faq details {
  border-bottom: 1px solid var(--mkt-line);
  padding: 1rem 0;
}

.mkt-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mkt-ink);
}

.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary::after { content: "+"; color: var(--mkt-moss); font-weight: 700; }
.mkt-faq details[open] summary::after { content: "–"; }

.mkt-faq details p {
  margin: 0.75rem 0 0;
  color: var(--mkt-muted);
  max-width: 40rem;
}

.mkt-page-hero {
  background: var(--mkt-forest);
  color: #fff;
  padding: 4.25rem 0 3.25rem;
  position: relative;
  overflow: hidden;
  min-height: 14rem;
  display: flex;
  align-items: flex-end;
}

.mkt-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 22, 14, 0.88) 0%, rgba(11, 46, 29, 0.7) 55%, rgba(11, 46, 29, 0.5) 100%),
    url("/images/marketing/page-hero.jpg") center / cover no-repeat;
  pointer-events: none;
  transform: scale(1.03);
  animation: mkt-drift 20s ease-in-out infinite alternate;
}

.mkt-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 14, 0.35), transparent 50%);
  pointer-events: none;
}

.mkt-page-hero .mkt-wrap { position: relative; z-index: 1; }

.mkt-page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.65rem;
}

.mkt-page-hero p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
}

.mkt-cta-band {
  position: relative;
  overflow: hidden;
  background: var(--mkt-forest);
  color: #fff;
  padding: 4.25rem 0;
  text-align: center;
}

.mkt-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 22, 14, 0.88), rgba(30, 93, 58, 0.72)),
    url("/images/marketing/cta-delivery.jpg") center / cover no-repeat;
  animation: mkt-drift 24s ease-in-out infinite alternate;
}

.mkt-cta-band .mkt-wrap { position: relative; z-index: 1; }

.mkt-cta-band h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.mkt-cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
}

.mkt-cta-band .mkt-hero-ctas { justify-content: center; }

.mkt-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(12, 31, 22, 0.94), rgba(12, 31, 22, 0.98)),
    url("/images/marketing/section-ops.jpg") center top / cover no-repeat;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.75rem 0 2rem;
  font-size: 0.9rem;
}

.mkt-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.mkt-footer a:hover { color: #fff; }

.mkt-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.mkt-footer-brand {
  font-family: var(--mkt-font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.mkt-footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.mkt-support {
  margin-top: 1.15rem;
}

.mkt-support-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.45rem;
}

.mkt-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
}

.mkt-support-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
}

.mkt-support-link:hover {
  border-bottom-color: #fff;
}

.mkt-support-wa {
  color: #b7f0c8 !important;
  border-bottom-color: rgba(183, 240, 200, 0.45);
}

.mkt-nav-drawer-support {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mkt-line);
}

.mkt-nav-drawer-support-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mkt-moss);
  margin-bottom: 0.25rem;
}

.mkt-float-stack {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mkt-float-btn {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(12, 31, 22, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mkt-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(12, 31, 22, 0.34);
  color: #fff !important;
}

.mkt-float-btn-icon {
  display: grid;
  place-items: center;
}

.mkt-float-wa {
  background: #1fa855;
}

.mkt-mt-2 { margin-top: 0.5rem; }
.mkt-mt-4 { margin-top: 1.5rem; }
.mkt-mb-0 { margin-bottom: 0; }
