/* ============================================================================
   CuraFauna marketing site
   Palette and type deliberately match the app (teal #0F6E56, Inter, soft
   off-white) so the site and the product read as one thing.
   ========================================================================== */

:root {
  --teal:        #0F6E56;
  --teal-dark:   #085041;
  --teal-deep:   #05392E;
  --teal-light:  #E1F5EE;
  --teal-mid:    #9FE1CB;

  --bg:          #F7F8F6;
  --surface:     #FFFFFF;
  --surface-alt: #FAFAF9;
  --border:      #E4E4E1;
  --border-soft: #EFEFEC;

  --text:        #1A1A18;
  --text-2:      #4A4A47;
  --text-3:      #8A8A86;

  --amber-bg:    #FAEEDA;
  --amber-text:  #633806;
  --blue-bg:     #E6F1FB;
  --blue-text:   #0C447C;
  --green-bg:    #EAF3DE;
  --green-text:  #3B6D11;
  --red:         #C7413F;
  --red-bg:      #FCEBEB;

  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg:   0 18px 48px rgba(12, 40, 32, 0.10);

  --maxw:        1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Type ────────────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.022em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .09em; color: var(--teal);
  display: inline-flex; align-items: center; gap: 7px;
}

.lede { font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--text-2); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  font-family: inherit; transition: background .15s, border-color .15s, transform .08s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #F0F0EE; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-white { background: #fff; color: var(--teal-deep); }
.btn-white:hover { background: #EAF6F1; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 248, 246, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: 66px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark i { font-size: 19px; color: var(--teal); }
.brand-name { font-size: 18px; font-weight: 600; color: var(--teal); letter-spacing: -0.03em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px; border-radius: 7px; font-size: 14.5px;
  color: var(--text-2); text-decoration: none; transition: background .12s, color .12s;
}
.nav-links a:hover { background: #EDEEEB; color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 9px 18px; font-size: 14.5px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2); cursor: pointer;
}
.nav-toggle i { font-size: 20px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 44px; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin: 16px 0 18px; }
.hero .lede { max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-note {
  margin-top: 20px; font-size: 13.5px; color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
}
.hero-note i { color: var(--teal); font-size: 16px; }

/* ── Product shot chrome ─────────────────────────────────────────────────── */
.shot {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.shot-dot { width: 9px; height: 9px; border-radius: 50%; background: #DCDCD8; }
.shot-url {
  margin-left: 8px; font-size: 11.5px; color: var(--text-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 10px;
}
.shot-body { padding: 18px; }

/* Mini KPI grid inside a shot */
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.mini-kpi {
  background: var(--surface-alt); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 11px 12px;
}
.mini-kpi-label {
  font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 6px; line-height: 1.3;
}
.mini-kpi-val { font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }

/* Stay tracker replica */
.stay {
  margin-top: 14px; padding: 15px; border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); background: var(--surface);
}
.stay-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 11px; flex-wrap: wrap;
}
.stay-label {
  font-size: 10px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 6px;
}
.stay-days { font-size: 14px; font-weight: 600; color: var(--red); }
.stay-track { height: 7px; border-radius: 4px; background: #EFEFEC; overflow: hidden; }
.stay-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #D9A03C, var(--red)); }
.stay-foot {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 9px; font-size: 11.5px; color: var(--text-3); flex-wrap: wrap;
}
.stay-alert { color: var(--red); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }

/* Mini table */
.mini-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.mini-table th {
  font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-3); text-align: left; padding: 7px 10px;
  border-bottom: 1px solid var(--border-soft); background: var(--surface-alt);
}
.mini-table td {
  font-size: 12.5px; color: var(--text-2); padding: 9px 10px;
  border-bottom: 1px solid var(--border-soft);
}
.mini-table tr:last-child td { border-bottom: none; }
.mini-name { font-weight: 500; color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 500;
}
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill-care    { background: var(--teal-light); color: var(--teal-dark); }
.pill-ready   { background: var(--blue-bg);    color: var(--blue-text); }
.pill-adopted { background: var(--green-bg);   color: var(--green-text); }
.pill-over    { background: var(--red-bg);     color: var(--red); }

/* ── Section scaffolding ─────────────────────────────────────────────────── */
section { padding: 76px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { margin: 14px 0 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.band-white { background: var(--surface); border-block: 1px solid var(--border); }

/* ── Problem list ────────────────────────────────────────────────────────── */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.problem i { font-size: 22px; color: var(--teal); }
.problem h3 { margin: 12px 0 8px; }
.problem p { font-size: 14.5px; color: var(--text-2); }

/* ── Feature grid ────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
}
.feature-icon i { font-size: 20px; color: var(--teal); }
.feature h3 { margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--text-2); }

/* ── Alternating deep-dive rows ──────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 84px; }
.split.flip .split-media { order: -1; }
.split h2 { margin: 14px 0 16px; }
.split p { color: var(--text-2); }

.ticks { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; font-size: 15px; color: var(--text-2); }
.ticks i { color: var(--teal); font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ── Roles table ─────────────────────────────────────────────────────────── */
.roles-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.roles { width: 100%; border-collapse: collapse; min-width: 620px; }
.roles th, .roles td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; }
.roles thead th { background: var(--surface-alt); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.roles tbody tr:last-child td { border-bottom: none; }
.roles td:not(:first-child) { text-align: center; }
.roles .yes { color: var(--teal); font-weight: 600; }
.roles .no  { color: #C9C9C5; }
.roles .role-name { font-weight: 500; color: var(--text); }

/* ── Who it's for ────────────────────────────────────────────────────────── */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aud-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: var(--surface);
}
.aud-card.next { background: var(--surface-alt); border-style: dashed; }
.aud-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 14px;
}
.aud-tag.now  { background: var(--teal-light); color: var(--teal-dark); }
.aud-tag.soon { background: var(--amber-bg); color: var(--amber-text); }
.aud-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.aud-card p { font-size: 14.5px; color: var(--text-2); }

/* ── Partner / pricing band ──────────────────────────────────────────────── */
.partner {
  background: var(--teal-deep); color: #fff;
  border-radius: 18px; padding: 52px 44px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
}
.partner .eyebrow { color: var(--teal-mid); }
.partner h2 { margin: 14px 0 16px; }
.partner p { color: rgba(255,255,255,.82); }
.partner-list { list-style: none; display: grid; gap: 13px; }
.partner-list li { display: flex; gap: 11px; font-size: 15px; color: rgba(255,255,255,.92); }
.partner-list i { color: var(--teal-mid); font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 4px 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '\002B'; font-size: 20px; color: var(--text-3); flex-shrink: 0; line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 18px; font-size: 14.5px; color: var(--text-2); max-width: 62ch; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--surface); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,110,86,.09);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }

.form-status { display: none; font-size: 14px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.ok   { display: block; background: var(--teal-light); color: var(--teal-dark); }
.form-status.err  { display: block; background: var(--red-bg); color: var(--red); }

.contact-points { list-style: none; display: grid; gap: 22px; margin-top: 26px; }
.contact-points li { display: flex; gap: 14px; }
.contact-points i { font-size: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-points strong { display: block; font-weight: 600; margin-bottom: 3px; }
.contact-points span { font-size: 14.5px; color: var(--text-2); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 44px 0 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.footer-legal { font-size: 13px; color: var(--text-3); margin-top: 22px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid, .partner { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-media { order: 0; }
  .split + .split { margin-top: 60px; }
  .features, .problems { grid-template-columns: repeat(2, 1fr); }
  .partner { padding: 40px 30px; }

  .nav-links, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 24px 18px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 12px 10px; font-size: 15.5px; }
}

@media (max-width: 620px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 30px; }
  .features, .problems, .audience { grid-template-columns: 1fr; }
  .mini-kpis { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .wrap { padding: 0 18px; }
  .form-card { padding: 22px; }
  .partner { padding: 32px 22px; }
  /* Species column is the first thing to go on a narrow product shot. */
  .mini-table th:nth-child(2), .mini-table td:nth-child(2) { display: none; }
}
