@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green: #16A440;
  --green-dark: #0F7A2F;
  --green-tint: #EAF7F0;
  --orange: #EA5E20;
  --orange-tint: #FDF1EA;
  --ink: #1A2E22;
  --ink-soft: #4A5A50;
  --bg: #FFFCF7;
  --white: #FFFFFF;
  --border: #E7E0D3;
  --shadow: 0 8px 30px rgba(26,46,34,0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }

/* Wedge signature motif */
.wedge-divider {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  position: relative;
}
.wedge-divider svg { width: 100%; height: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 36px;
  flex-shrink: 0;
  background-image: url("assets/favicon-48.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Benefits Ticker */
.ticker-wrap {
  background: var(--orange);
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
  position: sticky;
  top: 129px;
  z-index: 49;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker-scroll 52s linear infinite;
  will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Priority callout box */
.priority-callout {
  border: 3px solid var(--orange);
  background: var(--orange-tint);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 40px;
  animation: gentle-pulse 2.6s ease-in-out infinite;
}
.priority-callout h3 {
  color: var(--orange);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.priority-callout p { margin-bottom: 10px; }
.priority-callout p:last-child { margin-bottom: 0; }
@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,94,32,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(234,94,32,0); }
}
@media (prefers-reduced-motion: reduce) {
  .priority-callout { animation: none; }
}

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,252,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.logo-link img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--green); color: var(--white); }
.nav-links a.cta {
  background: var(--orange); border-color: var(--orange); color: var(--white);
}
.nav-links a.cta:hover { background: #D3501A; border-color: #D3501A; }
.nav-links a.active { background: var(--green); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(234,94,32,0.3); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Hero */
.hero {
  padding: 70px 0 90px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero-copy p.lead { font-size: 1.15rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill {
  font-size: 0.82rem; font-weight: 600; padding: 6px 16px; border-radius: 999px;
}
.pill-green { background: var(--green-tint); color: var(--green-dark); }
.pill-orange { background: var(--orange-tint); color: var(--orange); }
.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.card-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  background: var(--green-tint);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { font-size: 0.93rem; margin: 0; }

/* Two column content */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split-media {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.section-alt { background: var(--white); }
.section-tint { background: var(--green-tint); }

/* Partner With Us modal */
.modal {
  border: none; border-radius: 20px; padding: 0;
  width: 90%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal::backdrop { background: rgba(26,46,34,0.55); }
.modal-inner { padding: 32px; position: relative; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--bg); font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.modal-close:hover { background: var(--orange-tint); color: var(--orange); }

/* How it works - video */
.video-wrap {
  max-width: 720px; margin: 40px auto 0;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.video-wrap video { width: 100%; display: block; background: #000; }

/* How it works - large left-to-right flow */
.flow-row {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-top: 50px; flex-wrap: wrap;
}
.flow-panel {
  width: 420px; max-width: 100%;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--white);
}
.flow-panel img {
  width: 100%; height: 320px; object-fit: cover; display: block;
}
.flow-caption {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; font-weight: 600; font-size: 1rem; text-align: left;
}
.flow-caption-num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--green); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-size: 0.95rem;
}
.flow-arrow { flex-shrink: 0; display: flex; align-items: center; }
@media (max-width: 900px) {
  .flow-arrow { transform: rotate(90deg); margin: 6px 0; }
  .flow-panel { width: 100%; max-width: 420px; }
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.accordion-item summary {
  cursor: pointer; font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--orange); transition: transform .2s ease;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--orange);
  text-transform: uppercase; display: block; margin-bottom: 4px;
}
.accordion-item p { margin-top: 12px; }

/* Forms */
.form-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 36px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: var(--bg); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--green); outline-offset: 1px; background: var(--white);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; transition: opacity .15s ease; }
.contact-info-item:hover { opacity: 0.75; }
.contact-info-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--orange-tint); border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* Footer */
.site-footer {
  background: var(--ink); color: #DCE5DF; padding: 56px 0 28px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #B9C6BE; text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px;
  font-size: 0.82rem; color: #8FA098; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-logo img { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); }

/* Utility */
.text-center { text-align: center; }
.max-w-copy { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .process-step { width: 100px; }
  .process-label { font-size: 0.7rem; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
