:root {
  --brand: #71BF44;
  --brand-dark: #1F4A14;
  --brand-light: #EAF6E1;
  --accent: #71BF44;
  --text: #0b1020;
  --muted: #4a5568;
  --surface: #F2F7ED;
  --surface-2: #ffffff;
  --line: rgba(31, 74, 20, 0.14);
  --font-display: "Familjen Grotesk", "Segoe UI", sans-serif;
  --font-body: "Arimo", "Segoe UI", sans-serif;
  --max: 1120px;
}

@import url("https://fonts.googleapis.com/css2?family=Arimo:wght@400;600;700&family=Familjen+Grotesk:wght@500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.marketing {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 8% -8%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, color-mix(in srgb, var(--brand-dark) 16%, transparent), transparent 55%),
    linear-gradient(180deg, #F0F6EA 0%, #E4EFD9 100%);
  min-height: 100vh;
}

.mkt-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid var(--line);
}

.mkt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mkt-brand-logo {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: min(12.5rem, 42vw);
  object-fit: contain;
  flex-shrink: 0;
}

.mkt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.mkt-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.mkt-nav a:hover {
  color: var(--brand-dark);
}

.mkt-nav-shop {
  color: #fff !important;
  background: var(--brand);
  padding: 0.45rem 0.85rem;
  border-radius: 0.35rem;
}

.mkt-nav-shop:hover {
  background: var(--brand-dark);
  color: #fff !important;
}

.mkt-hero {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 30%, rgba(2, 3, 129, 0.78) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #1F4A14), var(--brand-dark));
  color: #fff;
}

.mkt-hero--photo {
  background:
    linear-gradient(180deg, rgba(2, 3, 129, 0.25) 20%, rgba(2, 3, 129, 0.82) 100%),
    url("/marketing/hero.png") center / cover no-repeat,
    linear-gradient(135deg, #71BF44, #1F4A14);
}

.mkt-hero-inner {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  animation: mktRise 0.8s ease both;
}

.mkt-hero .mkt-brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.mkt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.mkt-hero p {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  font-size: 1.08rem;
  opacity: 0.92;
}

.mkt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mkt-btn:hover {
  transform: translateY(-2px);
}

.mkt-btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.mkt-btn-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.mkt-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  animation: mktFade 0.9s ease both;
}

.mkt-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.6rem;
  color: var(--brand-dark);
}

.mkt-section h3 {
  font-family: var(--font-display);
  color: var(--brand-dark);
  margin: 0 0 0.4rem;
}

.mkt-section > .mkt-wrap > p.lead,
.mkt-section .lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.mkt-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.mkt-service {
  padding: 1.25rem 1.1rem;
  background: color-mix(in srgb, var(--surface-2) 92%, var(--brand-light));
  border-left: 4px solid var(--brand);
  animation: mktRise 0.7s ease both;
}

.mkt-service:nth-child(2) { animation-delay: 0.08s; }
.mkt-service:nth-child(3) { animation-delay: 0.16s; }

.mkt-service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mkt-form {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  background: var(--surface-2);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.mkt-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.mkt-form input,
.mkt-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
}

.mkt-form button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 0.35rem;
}

.mkt-form .status,
.mkt-form-status {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mkt-form-status.ok { color: #0f7a3a; }
.mkt-form-status.err { color: #b42318; }

.mkt-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mkt-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mkt-footer a {
  color: var(--brand-dark);
}

.mkt-error {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

@keyframes mktRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mktFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 820px) {
  .mkt-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mkt-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
