/* Tendrils — Living Botanical web system (implemented Nov 9, 2026 from the
   approved #392 design mockups in tendrils-web-merge/design-nov9).
   Light theme "E — No Tint": white surfaces, Pine hairline borders.
   Dark surfaces: Pine / PineDeep with Cream text (store + social art).
   A legacy-compatibility layer for the older Bootstrap-based pages
   (About, FAQ, Privacy, blog posts, account pages) lives at the bottom. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 100 900;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/NunitoSans.ttf") format("truetype");
  font-weight: 200 1000;
}

:root {
  --pine: #173F35;
  --pine-deep: #0B241C;
  --sprout: #85AF4B;
  --sprout-deep: #527A28;
  --coral: #FF6B4A;
  --cream: #FAF6ED;
  --ink: #22332C;
  --ink-soft: #4A5D54;
  --hairline: rgba(23, 63, 53, 0.14);
  --sprout-wash: rgba(133, 175, 75, 0.09);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #fff; }
body {
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .wordmark {
  font-family: "Montserrat", sans-serif;
  color: var(--pine);
  line-height: 1.12;
}
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sprout-deep);
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
main > section { padding: 96px 0; }

/* Bootstrap parity: the layout also loads Bootstrap 5 (for the legacy
   pages), whose reboot adds paragraph/list bottom margins and list
   indentation. The design assumes the zero-margin baseline above, so it
   is restored explicitly inside the new-design components. Legacy pages
   outside these components keep Bootstrap's paragraph rhythm. */
.hero p, .hero .fineprint, .sec-head p, .card p, .step p,
.cta-band p, .page-hero p, .faq-item h3, .faq-item p, footer.site .blurb {
  margin-bottom: 0;
}
.split ul, footer.site ul { padding-left: 0; }
footer.site ul { margin-bottom: 0; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--hairline);
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 36px; object-fit: contain; }
.wordmark { font-weight: 800; font-size: 24px; letter-spacing: 0.07em; color: var(--pine); }
nav.main { display: flex; gap: 30px; margin-left: 18px; }
nav.main a {
  font-weight: 700; font-size: 15.5px; color: var(--ink);
  padding: 6px 2px;
}
nav.main a.active { color: var(--sprout-deep); box-shadow: inset 0 -2px 0 var(--sprout); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 15px;
  border-radius: 999px; padding: 12px 24px; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sprout { background: var(--sprout); color: var(--pine-deep); }
.btn-ghost { background: transparent; color: var(--pine); border-color: rgba(23,63,53,0.35); }
.btn-cream { background: var(--cream); color: var(--pine-deep); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 62%, #1E4D3E 100%);
  color: var(--cream);
  position: relative; overflow: hidden;
  padding: 84px 0 0;
}
.hero .ghost {
  position: absolute; right: -190px; top: -120px; width: 760px;
  opacity: 0.08; pointer-events: none;
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  position: relative; align-items: end;
}
.hero-copy { padding-bottom: 84px; }
.hero .eyebrow { color: var(--sprout); }
.hero h1 { color: var(--cream); font-size: 55px; font-weight: 800; margin: 18px 0 20px; }
.hero h1 .accent { color: var(--sprout); }
.hero p.lede { font-size: 19.5px; line-height: 1.55; color: rgba(250,246,237,0.88); max-width: 34em; }
.store-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px; padding: 0 18px; height: 48px;
}
.store-btn svg { flex: none; }
.store-btn .sb-text { display: flex; flex-direction: column; justify-content: center; }
.store-btn .sb-top { font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.85; line-height: 1.25; }
.store-btn .sb-name { font-family: "Montserrat", sans-serif; font-size: 16.5px; font-weight: 700; line-height: 1.2; }
.hero .fineprint { margin-top: 18px; font-size: 14.5px; color: rgba(250,246,237,0.65); }
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: 302px; border: 11px solid #0A1F18; border-bottom: none;
  border-radius: 46px 46px 0 0; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  background: #fff;
}
.phone img { width: 100%; }

/* ---------- feature cards ---------- */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { font-size: 39px; font-weight: 800; margin: 14px 0 14px; }
.sec-head p { color: var(--ink-soft); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 24px; background: #fff;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sprout-wash); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: 39px; font-weight: 800; margin: 14px 0 16px; }
.split p { color: var(--ink-soft); font-size: 18px; margin-bottom: 16px; }
.split ul { list-style: none; margin: 6px 0 26px; }
.split ul li {
  padding: 9px 0 9px 34px; position: relative; font-size: 16.5px;
  border-bottom: 1px solid var(--hairline);
}
.split ul li:last-child { border-bottom: none; }
.split ul li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--sprout);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--hairline);
}
.split .visual { display: flex; justify-content: center; }
.phone.sm { width: 272px; border-bottom: 11px solid #0A1F18; border-radius: 42px; }
main > section.tint { background: var(--sprout-wash); padding: 96px 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 26px; }
.step .num {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 15px;
  color: var(--coral); letter-spacing: 0.1em;
}
.step h3 { font-size: 20px; font-weight: 700; margin: 10px 0 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- blog cards ---------- */
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card .thumb { aspect-ratio: 16 / 9.8; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; }
.chip {
  display: inline-block; font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sprout-deep); background: var(--sprout-wash);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 13px;
}
.chip.coral { color: #C2432B; background: rgba(255,107,74,0.12); }
.post-card h3 { font-size: 19.5px; font-weight: 700; line-height: 1.3; margin-bottom: 9px; }
.post-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.readmore { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; color: var(--sprout-deep); }
.sec-link { text-align: center; margin-top: 42px; }

/* ---------- FAQ teaser ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--hairline); border-radius: 16px; padding: 22px 26px; margin-bottom: 14px; }
.faq-item .q { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item h3 { font-size: 18.5px; font-weight: 700; }
.faq-item .chev { color: var(--sprout-deep); font-size: 20px; font-family: "Montserrat", sans-serif; }
.faq-item p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }

/* ---------- contact form ---------- */
.contact-card {
  max-width: 820px; margin: 0 auto; background: #fff;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 42px 46px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 13.5px; color: var(--pine); letter-spacing: 0.02em; margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; font-family: "Nunito Sans", sans-serif; font-size: 16px; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px;
  background: #fff; line-height: 1.45;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--sprout-deep); outline: 2px solid rgba(133, 175, 75, 0.35); outline-offset: 0;
}
.contact-submit { text-align: center; }
.contact-submit .btn { cursor: pointer; }
.contact-card .alert { margin-bottom: 0; }

/* ---------- auth (login gateway to the web app) ---------- */
.auth-section { background: var(--sprout-wash); }
.auth-card {
  max-width: 480px; margin: 0 auto; background: #fff;
  border: 1px solid var(--hairline); border-radius: 24px;
  padding: 44px 44px 38px;
  box-shadow: 0 18px 44px rgba(23, 63, 53, 0.08);
}
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-mark { width: 52px; height: 55px; object-fit: contain; margin: 0 auto 14px; }
.auth-head h1 { font-size: 30px; font-weight: 800; margin: 10px 0 8px; }
.auth-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.auth-form .field { margin-bottom: 18px; }
.auth-form .form-control {
  width: 100%; font-family: "Nunito Sans", sans-serif; font-size: 16px; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px;
  background: #fff; line-height: 1.45;
}
.auth-form .form-control:focus {
  border-color: var(--sprout-deep); outline: 2px solid rgba(133, 175, 75, 0.35); outline-offset: 0;
}
.auth-form .field-validation-error { display: block; font-size: 13.5px; margin-top: 6px; }
.auth-form .validation-summary-errors {
  background: rgba(255, 107, 74, 0.10); border: 1px solid rgba(255, 107, 74, 0.45);
  color: #8F2F1C; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px;
}
.auth-form .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.auth-remember {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; color: var(--ink-soft); margin: 2px 0 20px;
}
.auth-remember input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--sprout-deep); flex: none; }
.auth-remember label { margin: 0; font-weight: 600; }
.auth-submit { width: 100%; cursor: pointer; font-size: 16px; padding: 13px 24px; }
.auth-alt { text-align: center; margin: 20px 0 0; font-size: 15px; color: var(--ink-soft); }
.auth-alt a { color: var(--sprout-deep); font-weight: 700; }
.auth-social { margin-top: 30px; border-top: 1px solid var(--hairline); padding-top: 24px; text-align: center; }
.auth-social h4 {
  font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px;
}
.auth-social hr { display: none; }
.auth-social p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.auth-social .btn-default {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14.5px;
  color: var(--pine); background: #fff; border: 1px solid rgba(23, 63, 53, 0.35);
  border-radius: 999px; padding: 10px 22px; cursor: pointer; margin: 4px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--pine-deep), var(--pine) 65%);
  color: var(--cream); text-align: center; position: relative; overflow: hidden;
}
.cta-band .ghost { position: absolute; left: -160px; bottom: -260px; width: 560px; opacity: 0.07; }
.cta-band h2 { color: var(--cream); font-size: 39px; font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(250,246,237,0.85); font-size: 18px; position: relative; }
.cta-band .store-row { justify-content: center; position: relative; }

/* ---------- footer ---------- */
footer.site { background: var(--pine-deep); color: rgba(250,246,237,0.78); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer .logo .wordmark { color: var(--cream); }
footer .blurb { font-size: 15px; margin-top: 16px; max-width: 30em; }
footer h4 {
  font-family: "Montserrat", sans-serif; color: var(--cream); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 15px; }
.footer-base {
  border-top: 1px solid rgba(250,246,237,0.16); margin-top: 52px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; flex-wrap: wrap;
}

/* ---------- blog page ---------- */
.page-hero { background: linear-gradient(135deg, var(--pine-deep), var(--pine) 70%); color: var(--cream); padding: 72px 0; position: relative; overflow: hidden; }
.page-hero .ghost { position: absolute; right: -140px; top: -180px; width: 540px; opacity: 0.08; }
.page-hero h1 { color: var(--cream); font-size: 46px; font-weight: 800; margin: 14px 0 12px; position: relative; }
.page-hero p { color: rgba(250,246,237,0.85); font-size: 19px; position: relative; }
.page-hero .eyebrow { color: var(--sprout); }
.featured {
  display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--hairline);
  border-radius: 24px; overflow: hidden; margin-bottom: 26px;
}
.featured .thumb { min-height: 320px; }
.featured .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured .body { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured h2 { font-size: 29px; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.featured p { color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- phone width ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  main > section { padding: 60px 0; }
  main > section.tint { padding: 60px 0; }
  .header-in { height: 60px; padding: 0 14px; gap: 8px; }
  .logo { gap: 6px; }
  .logo img { width: 26px; height: 28px; }
  .wordmark { font-size: 19px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 8px 13px; font-size: 13.5px; }
  nav.main { display: none; }
  .header-cta .btn { padding: 9px 16px; font-size: 13.5px; }
  .hero { padding-top: 52px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding-bottom: 6px; }
  .hero h1 { font-size: 33px; }
  .hero p.lede { font-size: 17.5px; }
  .hero .ghost { width: 430px; right: -180px; top: -90px; }
  .phone { width: 252px; }
  .phone.sm { width: 238px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .split h2, .sec-head h2 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured .thumb { min-height: 200px; }
  .featured .body { padding: 26px 24px 30px; }
  .featured h2 { font-size: 24px; }
  .page-hero { padding: 52px 0; }
  .page-hero h1 { font-size: 32px; }
  .contact-card { padding: 28px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 22px 28px; }
  .auth-head h1 { font-size: 26px; }
  .cta-band h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .store-btn { height: 46px; padding: 0 15px; }
  .store-btn .sb-name { font-size: 15px; }
}

/* ==========================================================================
   Legacy compatibility layer
   The older pages (About, FAQ, Privacy, Child Safety, Delete Account, blog
   articles, Account/Manage) still use Bootstrap 5 markup. The rules below
   re-theme the handful of shared legacy classes in Living Botanical tokens
   so those pages sit inside the new system without being rewritten.
   ========================================================================== */

:root {
  /* Legacy variable names, remapped to the new tokens (DeleteAccount's
     inline gradient and older views reference these). */
  --tendrils-green: var(--sprout);
  --tendrils-green-dark: var(--sprout-deep);
  --tendrils-light: var(--sprout-wash);
}

/* Sticky footer (carried over from the previous layout) */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Legacy page hero (About, FAQ, blog articles): Pine band, Cream text */
.hero-section {
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 65%);
  color: var(--cream);
}
.hero-section h1, .hero-section h2, .hero-section h3 { color: var(--cream); }
.hero-section .lead { color: rgba(250, 246, 237, 0.88); }

/* Delete Account header band uses an inline Sprout gradient via the
   legacy variables above; keep its heading Cream for contrast. */
section[style*="--tendrils-green"] h1 { color: var(--cream); }

/* Legacy buttons */
.btn-tendrils {
  background-color: var(--sprout);
  border-color: var(--sprout);
  color: var(--pine-deep);
  font-weight: 700;
}
.btn-tendrils:hover, .btn-tendrils:focus {
  background-color: var(--sprout-deep);
  border-color: var(--sprout-deep);
  color: #fff;
}
.btn-outline-tendrils {
  border-color: var(--sprout-deep);
  color: var(--sprout-deep);
  font-weight: 700;
}
.btn-outline-tendrils:hover, .btn-outline-tendrils:focus {
  background-color: var(--sprout);
  border-color: var(--sprout);
  color: var(--pine-deep);
}

/* Legacy feature icon + app screenshots */
.feature-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--sprout-wash);
  color: var(--sprout-deep);
  border-radius: 14px;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.screenshot-img {
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: 500px;
}
