/* ============================================================
   Well Held – main.css
   Fonts loaded via Google Fonts in <head>
   Manrope: 500 600 700 800  |  Work Sans: 400 500 600
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F7F6F0;
  color: #1B2130;
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #3E6B45; text-decoration: none; }
a:hover { color: #2E5236; }
a:focus-visible {
  outline: 2px solid #3E6B45;
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: #DCE9D6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button, input { font-family: inherit; }

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.container--cta { max-width: 680px; margin: 0 auto; padding: 0 32px; }

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #243B2A;
  color: #F7F6F0;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 33, 48, 0.08);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px) 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: clamp(32px, 5vw, 44px); width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: #4A5568;
}
.nav__link:hover { color: #1B2130; }
.btn-primary {
  display: inline-block;
  background: #243B2A;
  color: #F7F6F0;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover, .btn-primary:focus-visible { background: #1a2e20; color: #F7F6F0; }
.btn-primary--lg {
  padding: 15px 28px;
  font-size: 15px;
}
.btn-secondary {
  display: inline-block;
  color: #1B2130;
  padding: 15px 8px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 2px solid #1B2130;
}
.btn-secondary:hover { color: #243B2A; border-color: #243B2A; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section--hero { padding: 88px 32px 64px; }

/* ── Two-column grid ── */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.two-col--reverse { grid-template-columns: 0.95fr 1.05fr; }
.two-col--equal { grid-template-columns: 1fr 1fr; }

/* ── Feature card ── */
.feature-card {
  background: #fff;
  border: 1px solid rgba(27, 33, 48, 0.08);
  border-radius: 20px;
  padding: 28px;
}
.feature-card--dark {
  background: #243B2A;
  border-color: transparent;
}

/* ── Integration card ── */
.integration-card {
  background: #fff;
  border: 1px solid rgba(27, 33, 48, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.integration-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Grid 3 ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-3-tight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Misc tile ── */
.tile {
  background: #F7F6F0;
  border-radius: 16px;
  padding: 24px;
}
.tile__icon { font-size: 22px; margin-bottom: 10px; }
.tile__title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1B2130;
  margin-bottom: 6px;
}
.tile__body { font-size: 13px; color: #4A5568; line-height: 1.5; }

/* ── CTA section ── */
.cta-section { background: #243B2A; padding: 80px 0; }
.cta-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}
.cta-email {
  flex: 1;
  padding: 15px 20px;
  border-radius: 99px;
  border: 1px solid rgba(247, 246, 240, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  outline: none;
}
.cta-email::placeholder { color: rgba(247, 246, 240, 0.5); }
.cta-email:focus { border-color: rgba(247, 246, 240, 0.6); }
.cta-submit {
  background: #F7F6F0;
  color: #243B2A;
  padding: 15px 26px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.cta-submit:hover { background: #e8e7e0; }
.cta-success {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
}
.cta-success--visible { display: inline-flex; }

/* ── AI chat mock ── */
.phone-frame {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  margin: 0 auto;
}
.phone-inner {
  padding: 52px 16px 20px;
  background: #F7F6F0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}
.chat-bubble {
  font-size: 12px;
  padding: 9px 13px;
  border-radius: 12px;
  max-width: 88%;
  line-height: 1.5;
}
.chat-bubble--user {
  align-self: flex-end;
  background: #243B2A;
  color: #fff;
  border-radius: 12px 12px 3px 12px;
}
.chat-bubble--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(27, 33, 48, 0.08);
  color: #1B2130;
  border-radius: 12px 12px 12px 3px;
}

/* ── Footer ── */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav { display: flex; gap: 48px; }
.footer-nav__col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav__heading {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #8A9E99;
  margin-bottom: 4px;
}
.footer-nav__link { font-size: 13px; color: #4A5568; }
.footer-nav__link:hover { color: #243B2A; }

/* ── Visually hidden (screen-reader only) ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography helpers ── */
.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.eyebrow--green { color: #9BC49A; }
.eyebrow--dark-green { color: #3E6B45; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 860px) {
  .nav__links .nav__link { display: none; }
  .container, .container--narrow, .container--cta { padding-left: 20px; padding-right: 20px; }
  .two-col, .two-col--reverse, .two-col--equal { grid-template-columns: 1fr; }
  .two-col--reverse .hero-visual { order: -1; }
  .hero-title { font-size: 34px !important; }
  .section { padding: 56px 0; }
  .section--hero { padding: 64px 20px 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3-tight { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .cta-form { flex-direction: column; }
  .stat-3 { grid-template-columns: 1fr !important; gap: 8px !important; }
  .sect-h2 { font-size: 27px !important; }
  .phone-frame { transform: scale(0.85); transform-origin: top center; }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px !important; }
  .sect-h2 { font-size: 23px !important; }
  .cta-h2 { font-size: 28px !important; }
  .phone-frame { transform: scale(0.72); transform-origin: top center; margin-bottom: -60px; }
  .hero-cta { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
