@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #1A7B71;
  --primary-dark: #125F58;
  --primary-soft: #EAF5F3;
  --ink: #10201d;
  --muted: #61716d;
  --soft: #f5faf8;
  --soft-2: #edf7f4;
  --line: #dce9e6;
  --white: #ffffff;
  --cream: #fbf7ef;
  --footer: #071816;
  --footer-2: #09201d;
  --shadow: 0 22px 60px rgba(16, 32, 29, 0.10);
  --shadow-soft: 0 14px 34px rgba(16, 32, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.035em;
  font-size: 18px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--line);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--primary);
  color: white;
  padding: 11px 17px;
  font-weight: 850;
  border: 1px solid var(--primary);
}

.header-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px;
  font-weight: 850;
  font-family: inherit;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0 0 14px;
  color: var(--ink);
}

h1 {
  font-size: clamp(44px, 6.2vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 20px;
}

p {
  margin-top: 0;
}

.eyebrow {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  margin: 0 0 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 19px;
  font-weight: 850;
  border: 1px solid transparent;
  font-family: inherit;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  background:
    radial-gradient(circle at 12% 8%, rgba(26, 123, 113, 0.10), transparent 30%),
    linear-gradient(135deg, #f7fcfa 0%, #eef8f5 50%, #fbf7ef 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  top: 80px;
  background: rgba(26, 123, 113, 0.10);
  border-radius: 999px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
}

.hero-text {
  font-size: 20px;
  color: var(--muted);
  max-width: 670px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  padding: 9px 13px;
  color: var(--muted);
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(16, 32, 29, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 620px;
}

.hero-stat {
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--line);
  padding: 16px;
}

.hero-stat strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-scene {
  position: relative;
  min-height: 610px;
}

.phone-mockup {
  position: relative;
  width: min(365px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: #101c19;
  color: white;
  min-height: 590px;
  box-shadow: var(--shadow);
  border: 8px solid #07100e;
}

.phone-top {
  width: 92px;
  height: 6px;
  background: rgba(255,255,255,.28);
  margin: 0 auto 28px;
}

.scan-window {
  background: linear-gradient(180deg, #dcf0e8 0%, #f8fbf9 100%);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.2);
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.scan-frame {
  width: 215px;
  height: 215px;
  border: 2px dashed rgba(26, 123, 113, 0.45);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.55);
}

.plant-visual {
  font-size: 105px;
  line-height: 1;
}

.scan-card {
  background: white;
  color: var(--ink);
  padding: 22px;
  border: 1px solid var(--line);
  margin-top: 16px;
}

.scan-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.scan-card h2 {
  font-size: 29px;
  margin-bottom: 8px;
}

.scan-card p {
  color: var(--muted);
  margin: 0;
}

.mini-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-results span {
  background: rgba(255,255,255,0.10);
  padding: 12px;
  color: #dbeee2;
  font-weight: 750;
}

.floating-card {
  position: absolute;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 15px;
  width: 190px;
  z-index: 2;
}

.floating-card strong {
  display: block;
  color: var(--primary);
  font-size: 14px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.floating-card.one {
  left: 0;
  top: 90px;
}

.floating-card.two {
  right: 0;
  bottom: 120px;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  text-align: center;
  max-width: 780px;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto 38px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  border: 1px solid var(--line);
  background: white;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.step span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.step p,
.card p,
.article-card p,
.sidebar-card,
.problem-list a {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: block;
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 123, 113, 0.45);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 22px;
}

.card-link {
  color: var(--primary);
  font-weight: 900;
}

.feature-band {
  background: var(--ink);
  color: white;
}

.feature-band h2,
.feature-band h3 {
  color: white;
}

.feature-band p {
  color: #c7d7d3;
}

.feature-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  padding: 18px;
}

.feature-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 18px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.problem-list a {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 800;
}

.problem-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.plant-table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.plant-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.plant-table th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 15px;
}

.plant-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.plant-table a {
  color: var(--primary);
  font-weight: 850;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-soft), #fbf7ef);
}

.cta-box {
  text-align: center;
  background: var(--ink);
  color: white;
  padding: 58px 28px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  color: #dbeee2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-box .hero-actions {
  justify-content: center;
}

.page-hero {
  padding: 72px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 18px;
  color: var(--muted);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-card,
.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.article-card h2 {
  font-size: 32px;
  margin-top: 30px;
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card h3 {
  margin-top: 24px;
}

.sidebar-card {
  position: sticky;
  top: 96px;
}

.sidebar-card h3 {
  color: var(--ink);
}

.sidebar-card a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.sidebar-card a:hover {
  color: var(--primary);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--primary);
  font-weight: 850;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.info-grid div {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 16px;
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid span {
  color: var(--muted);
  margin-top: 6px;
}

/* Footer inspired by the provided reference */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(26, 123, 113, 0.25), transparent 28%),
    linear-gradient(180deg, var(--footer-2) 0%, var(--footer) 100%);
  color: white;
  padding: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .28;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .8fr .9fr .75fr;
  gap: 48px;
  padding: 72px 0 46px;
}

.footer-brand-block {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: white;
  font-size: 22px;
}

.footer-brand-block p {
  color: #b9cbc7;
  margin-bottom: 26px;
}

.footer-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  padding: 10px 14px;
  min-width: 156px;
}

.store-button:hover {
  background: rgba(255,255,255,0.13);
}

.store-icon {
  font-size: 24px;
  line-height: 1;
}

.store-text {
  display: grid;
  line-height: 1.08;
}

.store-text small {
  color: #b9cbc7;
  font-size: 10px;
  font-weight: 700;
}

.store-text strong {
  font-size: 14px;
  font-weight: 900;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  font-weight: 900;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-column h3 {
  color: white;
  font-size: 17px;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.footer-column a {
  display: block;
  color: #b9cbc7;
  margin: 0 0 13px;
  font-weight: 650;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #b9cbc7;
  font-size: 14px;
  font-weight: 650;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom-links a {
  color: #b9cbc7;
}

.footer-bottom-links a:hover {
  color: white;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 14px 0;
  }

  .hero-grid,
  .split,
  .content-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-scene {
    min-height: auto;
  }

  .floating-card {
    position: static;
    width: auto;
    margin: 12px auto 0;
  }

  .phone-mockup {
    min-height: 520px;
  }

  .steps,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand-block {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 58px 0;
  }

  .section {
    padding: 58px 0;
  }

  .steps,
  .card-grid,
  .problem-list,
  .info-grid,
  .hero-stats,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-downloads {
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  .phone-mockup {
    width: 100%;
  }

  .footer-main {
    padding: 54px 0 34px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* SEO icon/language update */
.icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;flex:0 0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.brand-mark,.card-icon{color:var(--primary)}.brand-icon{width:21px;height:21px}.header-tools{display:inline-flex;align-items:center;gap:12px}.language-switcher{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 10px;border:1px solid var(--line);background:#fff;color:var(--primary)}.language-icon{width:17px;height:17px}.language-select{border:0;outline:0;background:transparent;color:var(--ink);font-family:inherit;font-size:13px;font-weight:800;max-width:116px;cursor:pointer}.button{gap:9px}.button-svg{width:18px;height:18px}.point-svg{width:17px;height:17px;color:var(--primary)}.hero-points li{display:inline-flex;align-items:center;gap:8px}.card-svg{width:24px;height:24px}.step-svg{width:22px;height:22px}.plant-visual{color:var(--primary);font-size:initial}.plant-visual-svg{width:118px;height:118px}.mini-results span{display:flex;align-items:center;gap:9px}.mini-svg{width:17px;height:17px}.feature-item{display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start}.feature-item>span{width:44px;height:44px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#8ddbd0;grid-row:span 2}.feature-svg{width:22px;height:22px}.problem-list a{display:flex;align-items:center;gap:10px}.problem-svg{width:18px;height:18px;color:var(--primary)}.footer-logo-svg{width:23px;height:23px}.store-icon{display:inline-flex;color:white}.store-svg{width:25px;height:25px}.social-svg{width:18px;height:18px}html[dir="rtl"] body{direction:rtl}html[dir="rtl"] .site-nav{margin-left:0;margin-right:auto}html[dir="rtl"] .plant-table th,html[dir="rtl"] .plant-table td{text-align:right}@media(max-width:980px){.header-tools{width:100%;justify-content:space-between}.language-switcher{flex:1 1 auto;max-width:180px}.header-cta{display:inline-flex}}@media(max-width:640px){.language-switcher{max-width:160px}}
/* Plant Identifier separate page */
.identifier-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #e9fbe2 0%, #c6f8dc 45%, #bafce8 100%);
  padding: 46px 0 44px;
  min-height: 610px;
  border-bottom: 1px solid rgba(26, 123, 113, 0.12);
}

.identifier-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.55), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.25), transparent 24%);
  pointer-events: none;
}

.identifier-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #6b8aa4;
  font-weight: 800;
  margin-bottom: 64px;
}

.breadcrumb a { color: #6b8aa4; }
.breadcrumb span { color: #39bfa7; }
.breadcrumb-icon { width: 17px; height: 17px; }

.identifier-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.identifier-copy { max-width: 760px; }

.identifier-copy h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  letter-spacing: -0.065em;
  margin-bottom: 18px;
}

.identifier-copy p {
  color: #24312d;
  font-size: 24px;
  line-height: 1.5;
  max-width: 760px;
  margin-bottom: 42px;
}

.plant-search {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 890px;
}

.plant-search-field {
  min-height: 76px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 0 22px;
  box-shadow: 0 18px 45px rgba(26, 123, 113, 0.08);
}

.search-icon {
  width: 27px;
  height: 27px;
  color: #a4b2ce;
}

.plant-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  font-family: inherit;
  color: #162522;
  font-size: 24px;
  font-weight: 600;
  background: transparent;
}

.plant-search-field input::placeholder { color: #a4b2ce; }

.plant-search-button {
  min-height: 76px;
  border: 0;
  background: #43c9ac;
  color: white;
  padding: 0 38px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(26, 123, 113, 0.12);
}

.plant-search-button:hover { background: var(--primary); }

.identifier-art {
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.plant-identifier-illustration {
  width: min(760px, 100%);
  height: auto;
  display: block;
}

@media (max-width: 1050px) {
  .identifier-hero-grid { grid-template-columns: 1fr; }
  .breadcrumb { margin-bottom: 40px; }
  .identifier-art { min-height: auto; }
}

@media (max-width: 760px) {
  .identifier-hero { min-height: auto; padding: 34px 0 48px; }
  .identifier-copy p { font-size: 18px; margin-bottom: 26px; }
  .plant-search { flex-direction: column; align-items: stretch; }
  .plant-search-field, .plant-search-button { min-height: 62px; }
  .plant-search-field input, .plant-search-button { font-size: 17px; }
  .plant-search-button { justify-content: center; padding: 0 20px; }
}

/* PlantIn reference-style Plant Identifier page */
.pi-page {
  --pi-primary: #46c6a9;
  --pi-primary-dark: #1A7B71;
  --pi-text: #2d2a24;
  --pi-muted: #748aab;
  --pi-line: #d3e2f8;
  --pi-soft-blue: #eef6ff;
  --pi-green-bg: #ddffd6;
  --pi-hero-end: #beffe4;
  background: #ffffff;
  color: var(--pi-text);
}

.pi-page .container {
  width: min(1320px, calc(100% - 32px));
}

.pi-page h1,
.pi-page h2,
.pi-page h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.pi-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
}

.pi-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #e6ffd9, #bfffe4);
  color: #1f2b26;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.pi-nav-wrap {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(26, 123, 113, 0.08);
}

.pi-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.pi-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pi-text);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.pi-brand span {
  display: inline-flex;
  align-items: center;
  color: #04bf94;
}

.pi-brand-icon {
  width: 24px;
  height: 24px;
}

.pi-main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 10px;
}

.pi-main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2d2a24;
  font-size: 14px;
  font-weight: 800;
  min-height: 72px;
  border-bottom: 2px solid transparent;
}

.pi-main-nav a.is-active,
.pi-main-nav a:hover {
  color: var(--pi-primary);
  border-bottom-color: var(--pi-primary);
}

.pi-nav-icon {
  width: 12px;
  height: 12px;
}

.pi-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}

.pi-premium {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, #7d48d8, #c73dc6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  border-radius: 13px;
}

.pi-premium-icon {
  width: 20px;
  height: 20px;
}

.pi-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #7e8da8;
}

.pi-icon-button span {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: #ff6b7a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.pi-action-icon {
  width: 21px;
  height: 21px;
}

.pi-user {
  max-width: 90px;
  color: #2d2a24;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pi-lang {
  border: 0;
  padding: 0;
  background: transparent;
}

.pi-lang .language-select {
  max-width: 100px;
}

.pi-menu-toggle {
  display: none;
}

.pi-hero {
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%);
  min-height: 282px;
  overflow: hidden;
}

.pi-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #7896b7;
  font-size: 13px;
  font-weight: 800;
}

.pi-breadcrumb span {
  color: var(--pi-primary);
}

.pi-crumb-icon {
  width: 13px;
  height: 13px;
}

.pi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 28px;
  align-items: end;
  min-height: 230px;
}

.pi-hero-copy {
  padding: 44px 0 32px;
}

.pi-hero-copy h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
  color: #2d2a24;
}

.pi-hero-copy p {
  max-width: 690px;
  color: #2d2a24;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  margin: 0 0 34px;
}

.pi-search {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 720px;
}

.pi-search-field {
  flex: 1;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 0 18px;
  border-radius: 18px;
}

.pi-search-icon {
  width: 24px;
  height: 24px;
  color: #b2c0dc;
}

.pi-search-field input {
  width: 100%;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 650;
  color: #2d2a24;
  background: transparent;
}

.pi-search-field input::placeholder {
  color: #a8b6d3;
}

.pi-identify-btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  background: var(--pi-primary);
  color: #ffffff;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.pi-identify-btn:hover {
  background: var(--pi-primary-dark);
}

.pi-btn-icon {
  width: 21px;
  height: 21px;
}

.pi-hero-art {
  align-self: end;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.pi-hero-art-svg {
  width: min(720px, 100%);
  height: auto;
  transform: translateY(12px);
}

.pi-directory {
  padding-top: 44px;
  padding-bottom: 86px;
  background: #ffffff;
}

.pi-directory-layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.pi-sidebar {
  border: 1px solid var(--pi-line);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.pi-sidebar-title {
  padding: 17px 22px;
  color: #7c91b0;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--pi-line);
}

.pi-filter-row {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  background: #ffffff;
  color: #748aab;
  border-bottom: 1px solid var(--pi-line);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}

.pi-filter-row:last-child {
  border-bottom: 0;
}

.pi-small-icon {
  width: 16px;
  height: 16px;
}

.pi-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid var(--pi-line);
  margin-bottom: 16px;
}

.pi-tab {
  color: #748aab;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  padding: 0 0 13px;
  border-bottom: 2px solid transparent;
}

.pi-tab.is-active,
.pi-tab:hover {
  color: var(--pi-primary);
  border-bottom-color: var(--pi-primary);
}

.pi-count {
  color: #5472a1;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 18px;
}

.pi-info-box {
  border: 1px solid var(--pi-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 36px;
  background: #ffffff;
}

.pi-info-box p {
  color: #2d2a24;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
  margin: 0 0 8px;
}

.pi-info-box a {
  color: #3996ea;
  font-size: 14px;
  font-weight: 900;
}

.pi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.pi-plant-card,
.pi-skeleton-card {
  border: 1px solid var(--pi-line);
  border-radius: 13px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(116, 138, 171, 0.06);
}

.pi-card-visual {
  position: relative;
  height: 196px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.pi-card-save {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--pi-primary);
  border-radius: 8px;
  border: 0;
  box-shadow: 0 5px 12px rgba(26, 123, 113, 0.12);
}

.pi-save-icon {
  width: 22px;
  height: 22px;
}

.pi-plant-shape {
  position: relative;
  width: 105px;
  height: 130px;
  color: var(--plant-accent);
}

.pi-plant-shape::before {
  content: "";
  position: absolute;
  left: 49%;
  bottom: 0;
  width: 5px;
  height: 118px;
  background: color-mix(in srgb, var(--plant-accent) 80%, #0b5650);
  border-radius: 999px;
  transform: rotate(-4deg);
}

.pi-plant-shape span {
  position: absolute;
  width: 56px;
  height: 28px;
  background: var(--plant-accent);
  border-radius: 56px 8px 56px 8px;
  opacity: .96;
}

.pi-plant-shape span:nth-child(1) { left: 4px; top: 28px; transform: rotate(-28deg); }
.pi-plant-shape span:nth-child(2) { right: 2px; top: 44px; transform: rotate(35deg) scale(.95); }
.pi-plant-shape span:nth-child(3) { left: 2px; top: 72px; transform: rotate(-38deg) scale(.92); }
.pi-plant-shape span:nth-child(4) { right: 7px; top: 92px; transform: rotate(28deg) scale(.82); }
.pi-plant-shape span:nth-child(5) { left: 33px; top: 6px; transform: rotate(64deg) scale(.78); }

.pi-card-body {
  padding: 14px 18px 16px;
}

.pi-card-body h3 {
  color: #2d2a24;
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 5px;
  font-weight: 900;
}

.pi-card-body p {
  color: #748aab;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.pi-skeleton-card {
  height: 270px;
  background: #ffffff;
}

.pi-skeleton-card div {
  height: 196px;
  background: #e6f0ff;
}

.pi-skeleton-card span,
.pi-skeleton-card small {
  display: block;
  height: 16px;
  margin-left: 18px;
  border-radius: 4px;
  background: #e6f0ff;
}

.pi-skeleton-card span {
  width: 72%;
  margin-top: 16px;
}

.pi-skeleton-card small {
  width: 56%;
  margin-top: 10px;
}

.pi-footer {
  border-top: 1px solid #e8eef8;
  background: #ffffff;
  padding: 44px 0 28px;
}

.pi-footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 280px) repeat(3, 1fr);
  gap: 70px;
}

.pi-footer p {
  color: #2d2a24;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
  margin: 16px 0 0;
}

.pi-footer h3 {
  font-size: 16px;
  margin: 0 0 18px;
  font-weight: 900;
}

.pi-footer a:not(.pi-brand):not(.pi-store) {
  display: block;
  color: #2d2a24;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.pi-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  min-height: 52px;
  background: #000;
  color: #fff;
  border-radius: 9px;
  padding: 7px 13px;
  margin-bottom: 10px;
}

.pi-store-icon {
  width: 26px;
  height: 26px;
}

.pi-store span {
  display: grid;
  line-height: 1.08;
}

.pi-store small {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.pi-store strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.pi-rights {
  text-align: center;
  color: #2d2a24;
  font-size: 14px;
  font-weight: 500;
  margin: 24px 0 0;
}

.pi-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
  padding: 18px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}

.pi-sticky-inner {
  min-height: 64px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e6ffd9, #c6ffdd);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
}

.pi-sticky-inner strong {
  color: #2d2a24;
  font-size: 18px;
  font-weight: 900;
}

.pi-sticky-inner a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--pi-primary);
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .pi-nav-actions .pi-user,
  .pi-nav-actions .pi-icon-button {
    display: none;
  }

  .pi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pi-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .pi-main-nav,
  .pi-nav-actions {
    display: none;
  }

  .pi-main-nav.is-open {
    display: grid;
    width: 100%;
    order: 5;
    margin-left: 0;
    gap: 0;
  }

  .pi-main-nav.is-open a {
    min-height: 44px;
    border-bottom: 1px solid #edf3fb;
  }

  .pi-nav {
    flex-wrap: wrap;
  }

  .pi-hero-grid,
  .pi-directory-layout {
    grid-template-columns: 1fr;
  }

  .pi-sidebar {
    display: none;
  }

  .pi-hero-art {
    justify-content: center;
  }

  .pi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pi-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .pi-hero-copy {
    padding: 34px 0 20px;
  }

  .pi-search {
    flex-direction: column;
    align-items: stretch;
  }

  .pi-search-field,
  .pi-identify-btn {
    min-height: 58px;
  }

  .pi-identify-btn {
    justify-content: center;
  }

  .pi-grid,
  .pi-footer-grid {
    grid-template-columns: 1fr;
  }

  .pi-card-visual {
    height: 220px;
  }

  .pi-sticky-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    text-align: center;
  }

  .pi-sticky-inner a {
    justify-content: center;
  }
}

/* One clean treatment for every App Store download button. */
a.download-app-button,
button.download-app-button {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 0 18px !important;
  border-radius: 15px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

a.download-app-button::before,
a.download-app-button::after,
button.download-app-button::before,
button.download-app-button::after {
  content: none !important;
  display: none !important;
}

a.download-app-button > .apple-button-icon,
button.download-app-button > .apple-button-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

a.download-app-button > span,
button.download-app-button > span {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    text-align: center;
  }

  .site-header.is-menu-open .header-tools .header-cta.download-app-button,
  .pi-page .site-header.is-menu-open .header-tools .header-cta.download-app-button {
    width: min(100%, 230px) !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  a.download-app-button,
  button.download-app-button {
    min-height: 44px !important;
    padding-inline: 16px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }
}

/* Content, hero, author, and premium-card refinements — 2026-06-21 */
.pi-filter-column {
  min-width: 0;
}

.pi-filter-column > .pi-sidebar {
  width: 100%;
}

.pi-filter-column > .pi-filter-tip {
  width: 100%;
  margin: 22px 0 0 !important;
  padding: 15px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(25, 92, 72, .06);
}

.plant-detail-page .plant-section-download-wrap,
.plant-detail-page + .plant-section-download-wrap {
  display: none !important;
}

.plant-detail-page .aloe-faq-section {
  padding-bottom: 54px;
}

.plant-detail-page .plant-related-section {
  padding-top: 54px;
}

.related-discover-card h3 {
  font-size: 20px !important;
  line-height: 1.2;
}

.plant-upload-heading h1 {
  font-size: 48px !important;
  line-height: 1.1;
}

.internal-hero-page .page-hero,
.plant-category-page .pi-category-hero {
  min-height: 420px !important;
  height: 440px;
  max-height: 460px;
  display: flex;
  align-items: center;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  box-sizing: border-box;
}

.internal-hero-page .page-hero > .container,
.plant-category-page .pi-category-hero > .container {
  width: 100%;
}

.plant-category-page .pi-category-hero .pi-hero-grid {
  min-height: 0;
  align-items: center;
}

.plant-category-page .pi-category-hero .pi-hero-art {
  min-height: 150px !important;
  max-height: 250px;
}

/* Keep the main Plants page exactly on its existing hero sizing. */
body.plants-root-page .pi-hero {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

/* Premium care-summary-inspired card system. */
.blog-index-page .card-grid .card,
.blog-article-page .sidebar-card {
  border: 1px solid #dfeaf7 !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(34, 76, 128, .07) !important;
}

.blog-index-page .card-grid .card {
  min-height: 100%;
  padding: 28px !important;
}

.blog-index-page .card-grid .card h3,
.blog-article-page .sidebar-card h3 {
  color: #263242 !important;
  font-weight: 900;
  line-height: 1.22;
}

.blog-index-page .card-grid .card p {
  color: #667993 !important;
  line-height: 1.65;
}

.blog-index-page .card-grid .card:hover {
  transform: translateY(-4px);
  border-color: #cadcf1 !important;
  box-shadow: 0 20px 42px rgba(34, 76, 128, .11) !important;
}

.blog-index-page .card-icon {
  border-radius: 15px;
  background: #f0f7f4;
}

.blog-card-author {
  display: block;
  margin: 18px 0 7px;
  color: #71839b;
  font-size: 13px;
}

.blog-card-author strong {
  color: #3f566f;
}

.blog-article-page .sidebar-card {
  padding: 28px !important;
  overflow: hidden;
}

.blog-article-page .sidebar-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.blog-article-page .sidebar-card a {
  padding: 15px 2px !important;
  border-bottom: 1px solid #e6eef8 !important;
  color: #657993 !important;
  font-size: 16px;
  font-weight: 800;
}

.blog-article-page .sidebar-card a:last-child {
  border-bottom: 0 !important;
}

.blog-article-page .sidebar-card a:hover {
  color: #168576 !important;
  transform: translateX(3px);
}

/* Author and E-E-A-T presentation. */
.article-author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #58706a;
}

.article-author-byline > div {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 5px;
  align-items: baseline;
}

.article-author-byline span:not(.author-avatar) {
  font-size: 13px;
}

.article-author-byline a {
  color: #156f62;
  font-weight: 900;
}

.article-author-byline small {
  grid-column: 1 / -1;
  color: #74869d;
  font-size: 12px;
}

.author-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 1px solid #d3e6df;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #1a8978, #315c52);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px rgba(22, 102, 83, .15);
}

.author-avatar--small {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 13px;
  font-size: 13px;
}

.author-avatar--large {
  width: 104px;
  height: 104px;
  flex-basis: 104px;
  border-radius: 30px;
  font-size: 30px;
}

.article-author-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid #dfeaf7;
  border-radius: 24px;
  background: #f8fbff;
  box-shadow: 0 12px 30px rgba(34, 76, 128, .06);
}

.article-author-card h2 {
  margin: 0 0 7px !important;
  font-size: 24px !important;
}

.article-author-card h2 a {
  color: #263242;
}

.article-author-card p:not(.section-eyebrow) {
  margin: 0;
  color: #60738d;
  font-size: 15px;
  line-height: 1.65;
}

.author-profile-link {
  display: inline-flex;
  margin-top: 12px;
  color: #157667;
  font-weight: 900;
}

.author-profile-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}

.author-profile-heading h1 {
  margin-bottom: 8px;
}

.author-profile-heading p {
  margin: 0;
  color: #58706a;
  font-size: 20px !important;
  font-weight: 800;
}

.author-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.author-profile-content,
.author-profile-sidebar {
  border-radius: 28px !important;
  border-color: #dfeaf7 !important;
  box-shadow: 0 14px 34px rgba(34, 76, 128, .07) !important;
}

/* The supplied footer wordmark is intentionally 20% larger. */
.footer-logo-image {
  width: 185px !important;
  max-height: 54px !important;
}

@media (max-width: 980px) {
  .internal-hero-page .page-hero,
  .plant-category-page .pi-category-hero {
    min-height: 360px !important;
    height: 390px;
    max-height: 420px;
  }

  .plant-upload-heading h1 {
    font-size: 40px !important;
  }

  .author-profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pi-filter-column > .pi-filter-tip {
    display: none;
    margin-top: 20px !important;
  }

  .pi-filter-column:has(.pi-sidebar.is-mobile-open) > .pi-filter-tip {
    display: flex;
  }
}

@media (max-width: 640px) {
  .internal-hero-page .page-hero,
  .plant-category-page .pi-category-hero {
    min-height: 300px !important;
    height: auto;
    max-height: none;
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }

  .plant-category-page .pi-category-hero .pi-hero-art {
    min-height: 80px !important;
    max-height: 110px;
  }

  .plant-upload-heading h1 {
    font-size: 32px !important;
  }

  .blog-index-page .card-grid .card,
  .blog-article-page .sidebar-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .article-author-byline {
    align-items: flex-start;
  }

  .article-author-card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 22px;
  }

  .author-profile-heading {
    align-items: flex-start;
    gap: 17px;
  }

  .author-avatar--large {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border-radius: 22px;
    font-size: 23px;
  }

  .footer-logo-image {
    width: 172px !important;
  }
}

/* Final authority: Plants-reference spacing and compact heroes. */
body:not(.home-page):not(.plant-identifier-page) .container {
  width: min(1320px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

body:not(.home-page):not(.plant-identifier-page) .site-header .container {
  width: min(1140px, calc(100% - 32px)) !important;
}

.pi-hero-art,
.pi-hero-art-svg {
  display: none !important;
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
  width: 100% !important;
  height: 300px !important;
  min-height: 0 !important;
  max-height: 300px !important;
  display: flex !important;
  align-items: center !important;
  padding: 28px 0 !important;
  overflow: hidden !important;
  box-sizing: border-box;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
  border-bottom: 1px solid rgba(26, 123, 113, .1);
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero::after {
  display: none !important;
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero > .container {
  width: min(1320px, calc(100% - 32px)) !important;
}

body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
body:not(.home-page):not(.plant-identifier-page) .hero h1 {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #2d2a24 !important;
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

body:not(.home-page):not(.plant-identifier-page) .page-hero p:not(.eyebrow),
body:not(.home-page):not(.plant-identifier-page) .pi-hero-copy > p,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero p {
  max-width: 760px;
  color: #3d4b46 !important;
  font-size: 18px;
  line-height: 1.55;
}

.plant-category-page .pi-category-hero .pi-breadcrumb,
body.plants-root-page .pi-breadcrumb {
  margin-top: 0 !important;
}

.plant-category-page .pi-category-hero .pi-hero-grid,
body.plants-root-page .pi-hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  gap: 0 !important;
}

.plant-category-page .pi-category-hero .pi-hero-copy {
  max-width: 820px;
  padding: 20px 0 8px !important;
}

body.plants-root-page .pi-hero {
  min-height: 330px !important;
  height: auto !important;
  max-height: none !important;
  padding: 30px 0 34px !important;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
}

body.plants-root-page .pi-hero-copy {
  max-width: 820px;
  padding: 28px 0 12px !important;
}

.plant-detail-hero .plant-detail-breadcrumb {
  margin-bottom: 22px !important;
}

.plant-detail-hero .plant-detail-top {
  margin-bottom: 0 !important;
}

.plant-detail-overview {
  padding: 52px 0 58px;
  background: #fff;
}

@media (max-width: 980px) {
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
    height: 280px !important;
    max-height: 300px !important;
    padding: 24px 0 !important;
  }

  .plant-detail-overview {
    padding: 42px 0 48px;
  }
}

@media (max-width: 640px) {
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
    height: auto !important;
    min-height: 240px !important;
    max-height: 300px !important;
    padding: 22px 0 24px !important;
  }

  body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .hero h1 {
    font-size: 34px !important;
  }

  body:not(.home-page):not(.plant-identifier-page) .page-hero p:not(.eyebrow),
  body:not(.home-page):not(.plant-identifier-page) .pi-hero-copy > p,
  body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero p {
    font-size: 16px !important;
  }

  body.plants-root-page .pi-hero {
    min-height: 340px !important;
    padding: 24px 0 28px !important;
  }

  .plant-detail-hero .plant-detail-breadcrumb {
    margin-bottom: 14px !important;
  }

  .plant-detail-hero .plant-detail-top {
    gap: 12px;
  }

  .plant-detail-hero .plant-care-plan-btn {
    min-height: 44px;
  }

  .plant-detail-overview {
    padding: 30px 0 38px;
  }
}

/* Unified Plants-reference page layout — 2026-06-21 */
body:not(.home-page):not(.plant-identifier-page) .container {
  width: min(1320px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* The shared header keeps its established navigation width. */
body:not(.home-page):not(.plant-identifier-page) .site-header .container {
  width: min(1140px, calc(100% - 32px)) !important;
}

/* Hero illustrations are retired globally; retain the clean gradient system. */
.pi-hero-art,
.pi-hero-art-svg {
  display: none !important;
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
  width: 100%;
  height: 300px !important;
  min-height: 0 !important;
  max-height: 300px !important;
  display: flex !important;
  align-items: center !important;
  padding: 28px 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
  border-bottom: 1px solid rgba(26, 123, 113, .1);
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero::after {
  display: none !important;
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero > .container,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero > .container {
  width: min(1320px, calc(100% - 32px));
}

body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
body:not(.home-page):not(.plant-identifier-page) .hero h1 {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #2d2a24;
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

body:not(.home-page):not(.plant-identifier-page) .page-hero p:not(.eyebrow),
body:not(.home-page):not(.plant-identifier-page) .pi-hero-copy > p,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero p {
  max-width: 760px;
  color: #3d4b46;
  font-size: 18px;
  line-height: 1.55;
}

.plant-category-page .pi-category-hero .pi-breadcrumb,
body.plants-root-page .pi-breadcrumb {
  margin-top: 0;
}

.plant-category-page .pi-category-hero .pi-hero-grid,
body.plants-root-page .pi-hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  gap: 0 !important;
}

.plant-category-page .pi-category-hero .pi-hero-copy {
  max-width: 820px;
  padding: 20px 0 8px !important;
}

/* The main Plants page stays taller because it contains its search experience. */
body.plants-root-page .pi-hero {
  min-height: 330px !important;
  height: auto !important;
  max-height: none !important;
  padding: 30px 0 34px !important;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
}

body.plants-root-page .pi-hero-copy {
  max-width: 820px;
  padding: 28px 0 12px !important;
}

.plant-detail-hero .plant-detail-breadcrumb {
  margin-bottom: 22px !important;
}

.plant-detail-hero .plant-detail-top {
  margin-bottom: 0;
}

.plant-detail-overview {
  padding: 52px 0 58px;
  background: #fff;
}

@media (max-width: 980px) {
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
    height: 280px !important;
    max-height: 300px !important;
    padding: 24px 0 !important;
  }

  .plant-detail-overview {
    padding: 42px 0 48px;
  }
}

@media (max-width: 640px) {
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
  body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
    height: auto !important;
    min-height: 240px !important;
    max-height: 300px !important;
    padding: 22px 0 24px !important;
  }

  body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .hero h1 {
    font-size: 34px;
  }

  body:not(.home-page):not(.plant-identifier-page) .page-hero p:not(.eyebrow),
  body:not(.home-page):not(.plant-identifier-page) .pi-hero-copy > p,
  body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero p {
    font-size: 16px;
  }

  body.plants-root-page .pi-hero {
    min-height: 340px !important;
    padding: 24px 0 28px !important;
  }

  .plant-detail-hero .plant-detail-breadcrumb {
    margin-bottom: 14px !important;
  }

  .plant-detail-hero .plant-detail-top {
    gap: 12px;
  }

  .plant-detail-hero .plant-care-plan-btn {
    min-height: 44px;
  }

  .plant-detail-overview {
    padding: 30px 0 38px;
  }
}

/* Clean previous-style header override */
.pi-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(26, 123, 113, 0.06);
  backdrop-filter: blur(14px);
}

.pi-page .header-inner {
  min-height: 76px;
}

.pi-page .brand {
  color: var(--ink);
}

.pi-page .site-nav a {
  min-height: auto;
  border-bottom: 0;
}

.pi-page .site-nav a:first-child {
  color: var(--primary);
}

.pi-page .header-tools {
  margin-left: 0;
}

.pi-page .language-switcher {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
}

.pi-page .header-cta {
  border-radius: 0;
}

.pi-page .pi-hero {
  margin-top: 0;
}

@media (max-width: 980px) {
  .pi-page .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 14px 0;
  }

  .pi-page .header-tools {
    width: 100%;
    justify-content: space-between;
  }
}

/* Unified website header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(26, 123, 113, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--line);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.language-switcher {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary);
}

.language-select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  max-width: 112px;
  cursor: pointer;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  padding: 0 16px;
  font-weight: 850;
  border: 1px solid var(--primary);
}

.header-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.pi-page .site-header,
.pi-page .header-inner,
.pi-page .site-nav,
.pi-page .header-tools,
.pi-page .language-switcher,
.pi-page .header-cta {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.pi-page .pi-hero {
  margin-top: 0;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 14px 0;
    order: 4;
  }

  .site-nav.is-open a {
    min-height: 36px;
    border-bottom: 1px solid var(--line);
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
    order: 5;
  }

  .header-tools .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }

  .header-tools {
    gap: 10px;
  }

  .language-switcher {
    max-width: 160px;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 13px;
  }
}
/* Functional exact-style Plant Finder sidebar */
.pi-directory-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.pi-sidebar.pi-finder-card {
  width: 260px;
  border: 1px solid #d3e2f8;
  border-radius: 24px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: none;
}

.pi-sidebar-title {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  color: #748aab;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #d3e2f8;
}

.pi-filter-content {
  padding: 24px 26px 24px;
}

.pi-filter-section {
  margin-bottom: 20px;
}

.pi-filter-section:last-of-type {
  margin-bottom: 0;
}

.pi-filter-toggle {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #748aab;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.pi-filter-toggle span {
  text-align: left;
}

.pi-filter-chevron {
  flex: none;
  margin-left: auto;
  margin-right: -2px;
  transform: rotate(0deg);
  transition: transform .15s ease;
}

.pi-filter-section.is-open .pi-filter-chevron {
  transform: rotate(180deg);
}

.pi-filter-toggle:hover .pi-filter-chevron {
  transform: rotate(15deg);
}

.pi-filter-section.is-open .pi-filter-toggle:hover .pi-filter-chevron {
  transform: rotate(165deg);
}

.pi-filter-panel {
  display: none;
  margin-top: 14px;
}

.pi-filter-section.is-open .pi-filter-panel {
  display: grid;
  gap: 10px;
}

.pi-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #748aab;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}

.pi-filter-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pi-checkmark {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 2px solid #748aab;
  border-radius: 3px;
  background: #ffffff;
}

.pi-filter-option input:checked + .pi-checkmark {
  background: #46c6a9;
  border-color: #46c6a9;
}

.pi-filter-option input:checked + .pi-checkmark::after {
  content: "";
  width: 7px;
  height: 11px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.pi-filter-option:hover {
  color: #1A7B71;
}

.pi-clear-filters {
  width: 100%;
  margin-top: 18px;
  min-height: 38px;
  border: 1px solid #d3e2f8;
  background: #ffffff;
  color: #748aab;
  font-family: inherit;
  font-weight: 800;
  border-radius: 10px;
}

.pi-clear-filters:hover {
  color: #1A7B71;
  border-color: #46c6a9;
}

.pi-plant-card[hidden],
.pi-skeleton-card[hidden] {
  display: none;
}

.pi-empty-state {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #d3e2f8;
  border-radius: 14px;
  color: #748aab;
  font-weight: 800;
  text-align: center;
  background: #ffffff;
}

@media (max-width: 980px) {
  .pi-directory-layout {
    grid-template-columns: 1fr;
  }

  .pi-sidebar.pi-finder-card {
    display: block;
    width: 100%;
  }
}

/* Final brand button and unified header polish */
:root {
  --primary: #1A7B71;
  --primary-dark: #125F58;
  --primary-soft: #EAF5F3;
  --pi-primary: #1A7B71;
  --pi-primary-dark: #125F58;
}

/* Consistent header across every page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(26, 123, 113, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  color: var(--ink);
  white-space: nowrap;
  font-weight: 900;
}

.brand-mark {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--line);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 5px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.language-switcher {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary);
  border-radius: 999px;
}

.language-select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  max-width: 112px;
  cursor: pointer;
}

/* All main buttons use #1A7B71 and rounded pill style */
.button,
.header-cta,
.plant-search-button,
.pi-identify-btn,
.pi-sticky-inner a,
.pi-clear-filters,
.pi-store,
.store-button {
  border-radius: 999px;
  font-family: inherit;
}

.button-primary,
.header-cta,
.plant-search-button,
.pi-identify-btn,
.pi-sticky-inner a {
  background: #1A7B71 !important;
  border-color: #1A7B71 !important;
  color: #ffffff !important;
}

.button-primary:hover,
.header-cta:hover,
.plant-search-button:hover,
.pi-identify-btn:hover,
.pi-sticky-inner a:hover {
  background: #125F58 !important;
  border-color: #125F58 !important;
}

.button-secondary {
  background: #ffffff;
  color: #1A7B71;
  border-color: #dce9e6;
}

.button-secondary:hover {
  color: #1A7B71;
  border-color: #1A7B71;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 850;
  border: 1px solid #1A7B71;
}

/* Plant Identifier page button consistency */
.pi-search-field,
.plant-search-field {
  border-radius: 999px;
}

.pi-identify-btn,
.plant-search-button {
  min-height: 64px;
  box-shadow: 0 18px 45px rgba(26, 123, 113, 0.12);
}

.pi-card-save {
  color: #1A7B71;
}

.pi-tab.is-active,
.pi-tab:hover {
  color: #1A7B71;
  border-bottom-color: #1A7B71;
}

.pi-filter-option input:checked + .pi-checkmark {
  background: #1A7B71;
  border-color: #1A7B71;
}

.pi-clear-filters:hover {
  color: #1A7B71;
  border-color: #1A7B71;
}

.pi-promo,
.pi-sticky-inner {
  background: linear-gradient(90deg, #EAF5F3, #d8f3ee);
}

/* Footer app store buttons stay black like real store badges, but rounded */
.pi-store,
.store-button {
  border-radius: 14px;
}

/* Mobile header stays consistent */
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
    border-radius: 999px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 14px 0;
    order: 4;
  }

  .site-nav.is-open a {
    min-height: 36px;
    border-bottom: 1px solid var(--line);
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
    order: 5;
  }

  .header-tools .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }

  .header-tools {
    gap: 10px;
  }

  .language-switcher {
    max-width: 160px;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 13px;
  }

  .pi-search,
  .plant-search {
    gap: 12px;
  }

  .pi-identify-btn,
  .plant-search-button {
    min-height: 58px;
  }
}

/* Final requested fixes: closed filters, smaller buttons, exact unified header */

/* Force the header container to be identical on every page.
   This fixes the Home -> Plant Identifier header width/style shift. */
.site-header .container,
.pi-page .site-header .container {
  width: min(1140px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header,
.pi-page .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 2px 10px rgba(26, 123, 113, 0.06) !important;
  backdrop-filter: blur(14px);
}

.header-inner,
.pi-page .header-inner {
  min-height: 68px !important;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav,
.pi-page .site-nav {
  margin-left: auto !important;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}

.site-nav a,
.pi-page .site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto !important;
  padding: 5px 0 !important;
  color: var(--muted) !important;
  border-bottom: 2px solid transparent !important;
}

.site-nav a:hover,
.site-nav a.is-active,
.pi-page .site-nav a:hover,
.pi-page .site-nav a.is-active {
  color: #1A7B71 !important;
  border-bottom-color: #1A7B71 !important;
}

.header-tools,
.pi-page .header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 0 !important;
}

.language-switcher,
.pi-page .language-switcher {
  min-height: 36px !important;
  padding: 0 10px !important;
  border: 1px solid var(--line) !important;
  background: #ffffff !important;
  border-radius: 999px !important;
}

.language-select,
.pi-page .language-select {
  font-size: 12px !important;
  max-width: 104px !important;
}

/* Smaller Download App and Identify Plant buttons */
.header-cta,
.pi-page .header-cta {
  min-height: 36px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  border-radius: 999px !important;
  background: #1A7B71 !important;
  border-color: #1A7B71 !important;
  color: #ffffff !important;
}

.button,
.pi-page .button {
  min-height: 42px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  border-radius: 999px !important;
}

.pi-identify-btn,
.plant-search-button {
  min-height: 52px !important;
  padding: 0 22px !important;
  font-size: 15px !important;
  border-radius: 999px !important;
  background: #1A7B71 !important;
  border-color: #1A7B71 !important;
  color: #ffffff !important;
}

.pi-search-field,
.plant-search-field {
  min-height: 52px !important;
  border-radius: 999px !important;
}

.pi-search-field input,
.plant-search-field input {
  font-size: 16px !important;
}

.pi-btn-icon,
.button-svg {
  width: 17px !important;
  height: 17px !important;
}

.pi-sticky-inner {
  min-height: 56px !important;
}

.pi-sticky-inner a {
  min-height: 42px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  border-radius: 999px !important;
  background: #1A7B71 !important;
  color: #ffffff !important;
}

/* Keep search filters closed until user clicks */
.pi-filter-section .pi-filter-panel {
  display: none;
}

.pi-filter-section.is-open .pi-filter-panel {
  display: grid;
}

.pi-filter-section .pi-filter-chevron {
  transform: rotate(0deg);
}

.pi-filter-section.is-open .pi-filter-chevron {
  transform: rotate(180deg);
}

@media (max-width: 980px) {
  .site-header .container,
  .pi-page .site-header .container {
    width: min(1140px, calc(100% - 32px)) !important;
  }

  .header-inner,
  .pi-page .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
    border-radius: 999px;
  }

  .site-nav,
  .pi-page .site-nav,
  .header-cta,
  .pi-page .header-cta {
    display: none;
  }

  .site-nav.is-open,
  .pi-page .site-nav.is-open {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 12px 0;
    order: 4;
  }

  .header-tools,
  .pi-page .header-tools {
    width: 100%;
    justify-content: space-between;
    order: 5;
  }

  .header-tools .header-cta,
  .pi-page .header-tools .header-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .pi-identify-btn,
  .plant-search-button {
    min-height: 48px !important;
    font-size: 14px !important;
    padding: 0 18px !important;
  }

  .pi-search-field,
  .plant-search-field {
    min-height: 48px !important;
  }

  .button,
  .pi-page .button {
    min-height: 40px !important;
    font-size: 13px !important;
  }
}
/* Plant Identifier URL/category dropdown update */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  width: 13px;
  height: 13px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 70;
  min-width: 230px;
  display: none;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(16, 32, 29, 0.10);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 2px;
}

.nav-dropdown-menu a {
  display: block !important;
  min-height: auto !important;
  padding: 10px 12px !important;
  border-bottom: 0 !important;
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 750;
}

.nav-dropdown-menu a:hover {
  color: #1A7B71 !important;
  background: #EAF5F3;
}

.category-identifier-hero {
  background: linear-gradient(135deg, #EAF5F3, #f7fcfa);
}

.category-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.pi-tabs a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav-dropdown {
    display: grid;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 4px 0 4px 14px;
  }

  .site-nav.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    padding: 8px 0 !important;
    background: transparent !important;
  }

  .category-related-grid {
    grid-template-columns: 1fr;
  }
}
/* Runtime category switch polish */
.pi-plant-card {
  transition: opacity .18s ease, transform .18s ease;
}

.pi-plant-card[hidden] {
  display: none !important;
}

.pi-tabs .pi-tab {
  cursor: pointer;
}

body[data-pi-category] .pi-info-box {
  transition: border-color .2s ease, background-color .2s ease;
}
/* Category pages use Plant Identifier hero */
.pi-category-hero {
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%);
}

.pi-category-hero .pi-breadcrumb a {
  color: #7896b7;
}

.pi-category-hero .pi-breadcrumb a:hover {
  color: #1A7B71;
}

.pi-category-hero .pi-hero-copy p {
  max-width: 760px;
}

.pi-category-hero + .section {
  padding-top: 54px;
}
/* Source-correct Plant Identifier tabs */
.pi-source-tabs-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin: 0;
  position: relative;
}

.pi-source-tabs-scroll {
  overflow-x: auto;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.pi-source-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0 16px;
  width: max-content;
  position: relative;
  padding: 2px 0 1px;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}

.pi-source-tabs::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  border-bottom: 1px solid #E6F0FF;
}

.pi-source-tab {
  display: block;
  position: relative;
  z-index: 1;
  padding: 8px 0;
  color: #748AAB;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  text-decoration: none;
}

.pi-source-tab:hover,
.pi-source-tab.is-active {
  color: #1A7B71;
  border-bottom-color: #1A7B71;
}

.pi-source-filter-button {
  display: none;
  flex: none;
  align-items: center;
  gap: 4px;
  margin-bottom: 1px;
  padding: 0 14px;
  border: 0;
  background: #D3E2F8;
  color: #748AAB;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.pi-source-filter-icon {
  width: 16px;
  height: 16px;
  margin-top: -1px;
}

.pi-category-tabs-section {
  padding: 28px 0 0;
}

@media (max-width: 768px) {
  .pi-source-tabs-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .pi-source-tabs-scroll {
    padding-left: 0;
    padding-right: 0;
  }

  .pi-source-tabs {
    gap: 0 16px;
  }

  .pi-source-tab {
    padding: 14px 0;
    font-size: 14px;
  }

  .pi-source-filter-button {
    display: flex;
  }

  .pi-sidebar.pi-finder-card {
    display: none;
  }

  .pi-sidebar.pi-finder-card.is-mobile-open {
    display: block;
  }
}

/* Filters on all Plant Identifier category pages */
.pi-directory-section {
  padding: 28px 0 70px;
}

.pi-category-tabs-section + .pi-directory-section {
  padding-top: 24px;
}

.pi-muted-text {
  margin-top: 4px;
  color: #748AAB;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pi-category-tabs-section + .pi-directory-section {
    padding-top: 18px;
  }
}

/* Final fix: foliage URL, tab position, filter position */
.pi-directory-section {
  padding: 28px 0 70px;
}

.pi-directory-layout {
  align-items: flex-start;
}

.pi-results > .pi-source-tabs-wrap {
  margin-bottom: 22px;
}

.pi-results-head {
  margin-top: 0;
}

.pi-sidebar.pi-finder-card {
  align-self: start;
}

@media (min-width: 981px) {
  .pi-sidebar.pi-finder-card {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 768px) {
  .pi-results > .pi-source-tabs-wrap {
    margin-bottom: 18px;
  }

  .pi-source-filter-button {
    display: flex;
  }

  .pi-sidebar.pi-finder-card {
    display: none;
    margin-bottom: 18px;
  }

  .pi-sidebar.pi-finder-card.is-mobile-open {
    display: block;
  }
}

/* Plant detail page: Aloe Vera */
.plant-detail-page {
  background: #ffffff;
}

.plant-detail-hero {
  padding: 34px 0 54px;
  background: #ffffff;
}

.plant-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7C93B3;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 36px;
}

.plant-detail-breadcrumb a {
  color: #7C93B3;
  text-decoration: none;
}

.plant-detail-breadcrumb a:hover {
  color: #1A7B71;
}

.plant-crumb-icon {
  width: 16px;
  height: 16px;
}

.plant-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 26px;
}

.plant-detail-heading h1 {
  margin: 0 0 10px;
  color: #292929;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.plant-scientific {
  color: #7C93B3;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.plant-other-names {
  color: #292929;
  font-size: 18px;
  font-weight: 600;
}

.plant-other-names em {
  color: #7C93B3;
}

.plant-care-plan-btn {
  min-width: 230px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #10C7A1, #55CDBA);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(16, 199, 161, .22);
}

.plant-detail-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.plant-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
}

.plant-detail-main-visual {
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 80%, rgba(95, 63, 28, .38), transparent 30%),
    linear-gradient(135deg, #DDEED5, #F6F9F2 55%, #C8D8BF);
  display: grid;
  place-items: end center;
  position: relative;
}

.plant-thumb-visual {
  height: 150px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d8baf1, #f3e8ff);
  display: grid;
  place-items: end center;
  overflow: hidden;
  position: relative;
}

.plant-thumb-light {
  background: linear-gradient(135deg, #eff8e9, #d7efc9);
}

.plant-thumbs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aloe-pot {
  position: relative;
  width: 220px;
  height: 360px;
}

.plant-thumb-visual .aloe-pot {
  transform: scale(.42);
  transform-origin: bottom center;
  margin-bottom: -70px;
}

.aloe-soil {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 12px;
  height: 22px;
  border-radius: 50%;
  background: #6B4B2D;
  box-shadow: 0 16px 24px rgba(0,0,0,.22);
}

.aloe-leaf {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 42px;
  height: 285px;
  border-radius: 80% 80% 18% 18%;
  background: linear-gradient(90deg, #2E7F47, #5FAE63 45%, #23683B);
  transform-origin: bottom center;
  box-shadow: inset 8px 0 0 rgba(255,255,255,.08), inset -7px 0 0 rgba(0,0,0,.10);
}

.aloe-leaf::after {
  content: "";
  position: absolute;
  inset: 18px 11px auto 11px;
  height: 70%;
  background:
    radial-gradient(circle, rgba(230, 245, 204, .75) 0 3px, transparent 4px) 0 0/20px 28px;
  opacity: .8;
}

.aloe-leaf.l1 { transform: translateX(-50%) rotate(0deg); height: 320px; z-index: 5; }
.aloe-leaf.l2 { transform: translateX(-50%) rotate(-23deg); height: 300px; z-index: 4; }
.aloe-leaf.l3 { transform: translateX(-50%) rotate(25deg); height: 300px; z-index: 4; }
.aloe-leaf.l4 { transform: translateX(-50%) rotate(-47deg); height: 260px; z-index: 3; }
.aloe-leaf.l5 { transform: translateX(-50%) rotate(48deg); height: 260px; z-index: 3; }
.aloe-leaf.l6 { transform: translateX(-50%) rotate(-70deg); height: 215px; z-index: 2; }
.aloe-leaf.l7 { transform: translateX(-50%) rotate(70deg); height: 215px; z-index: 2; }
.aloe-leaf.l8 { transform: translateX(-50%) rotate(12deg); height: 210px; width: 34px; z-index: 6; }

.plant-intro-card {
  padding-top: 8px;
}

.plant-intro-card h2,
.plant-care-content h2 {
  color: #292929;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 0 0 22px;
}

.plant-intro-card p,
.plant-care-content p,
.plant-check-list li {
  color: #33343A;
  font-size: 18px;
  line-height: 1.58;
  font-weight: 600;
  margin: 0 0 18px;
}

.plant-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin-top: 34px;
}

.plant-fact {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-areas:
    "icon label"
    "icon value";
  align-items: center;
  column-gap: 12px;
}

.plant-fact .icon {
  grid-area: icon;
  width: 54px;
  height: 54px;
  padding: 12px;
  border: 1px solid #DCEBFF;
  border-radius: 16px;
  color: #1A7B71;
  background: #F8FCFF;
}

.plant-fact span {
  grid-area: label;
  color: #7C93B3;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.plant-fact strong {
  grid-area: value;
  color: #292929;
  font-size: 16px;
  font-weight: 900;
}

.plant-care-section {
  padding: 34px 0 84px;
  background: #F8FBF7;
}

.plant-care-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.plant-care-sidebar {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: 28px;
  background: #FFFFFF;
  border: 1px solid #E6F0FF;
  box-shadow: 0 16px 40px rgba(19, 59, 117, .08);
}

.plant-care-sidebar h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
}

.plant-care-sidebar ul,
.plant-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plant-care-sidebar li {
  padding: 12px 0;
  color: #536173;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #EDF4FF;
}

.plant-care-sidebar li:last-child {
  border-bottom: 0;
}

.plant-care-content {
  padding: 34px;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1px solid #E6F0FF;
}

.plant-care-content section + section {
  margin-top: 30px;
}

.plant-care-content h3 {
  margin: 0 0 10px;
  color: #292929;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.plant-check-list li {
  position: relative;
  padding-left: 26px;
}

.plant-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1A7B71;
}

.pi-card-title-link {
  color: inherit;
  text-decoration: none;
}

.pi-card-title-link:hover {
  color: #1A7B71;
}

.pi-plant-card[data-url] {
  cursor: pointer;
}

@media (max-width: 980px) {
  .plant-detail-top,
  .plant-detail-grid,
  .plant-care-layout {
    grid-template-columns: 1fr;
  }

  .plant-detail-actions {
    justify-self: start;
  }

  .plant-gallery {
    max-width: 560px;
  }

  .plant-care-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .plant-detail-hero {
    padding-top: 22px;
  }

  .plant-detail-breadcrumb {
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .plant-gallery {
    grid-template-columns: 1fr;
  }

  .plant-detail-main-visual {
    min-height: 420px;
  }

  .plant-thumbs {
    display: none;
  }

  .plant-care-plan-btn {
    width: 100%;
  }

  .plant-fact-grid {
    grid-template-columns: 1fr;
  }

  .plant-care-content {
    padding: 24px;
  }
}

/* Aloe Vera uploaded content sections */
.aloe-source-content-section,
.aloe-faq-section {
  padding: 70px 0;
  background: #ffffff;
}

.aloe-source-content-section {
  background: #F8FBF7;
}

.aloe-source-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.aloe-source-intro {
  position: sticky;
  top: 96px;
}

.section-eyebrow {
  margin: 0 0 10px;
  color: #1A7B71;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aloe-source-intro h2,
.section-heading h2 {
  margin: 0;
  color: #292929;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.aloe-source-intro p:not(.section-eyebrow) {
  margin-top: 16px;
  color: #536173;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
}

.aloe-care-topics {
  display: grid;
  gap: 18px;
}

.aloe-care-topic {
  padding: 24px;
  border: 1px solid #E6F0FF;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(19, 59, 117, .06);
}

.aloe-care-topic h3 {
  margin: 0 0 10px;
  color: #292929;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.aloe-care-topic p {
  margin: 0;
  color: #3B4250;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.aloe-faq-list {
  display: grid;
  gap: 14px;
}

.aloe-faq-item {
  border: 1px solid #E6F0FF;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 59, 117, .05);
  overflow: hidden;
}

.aloe-faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #292929;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.aloe-faq-item summary::-webkit-details-marker {
  display: none;
}

.aloe-faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: #3B4250;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

@media (max-width: 900px) {
  .aloe-source-layout {
    grid-template-columns: 1fr;
  }

  .aloe-source-intro {
    position: static;
  }
}

/* Plant care topic icons */
.plant-topic-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plant-topic-heading-icon,
.aloe-care-topic-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: #F0FAF7;
  color: #1A7B71;
  border: 1px solid #DDF2EC;
}

.plant-topic-heading-icon .plant-topic-icon-svg,
.aloe-care-topic-icon .plant-topic-icon-svg {
  width: 25px;
  height: 25px;
}

.aloe-care-topic {
  position: relative;
  padding-left: 88px;
}

.aloe-care-topic-icon {
  position: absolute;
  left: 24px;
  top: 24px;
}

.plant-topic-water { background: #EEF8FF; color: #2F8FD3; border-color: #D7ECFF; }
.plant-topic-sun { background: #FFF7E8; color: #F2A31B; border-color: #FFE7B6; }
.plant-topic-soil { background: #F7F0E8; color: #8A5A2B; border-color: #EBDCCB; }
.plant-topic-fertilizer { background: #F1FAEA; color: #6EA62F; border-color: #DCEFCB; }
.plant-topic-propagation { background: #EEF9F3; color: #1A7B71; border-color: #DDF2EC; }
.plant-topic-prune { background: #F5F2FF; color: #7B61C8; border-color: #E4DCFF; }
.plant-topic-temperature { background: #FFF0F0; color: #E05A5A; border-color: #FFD7D7; }
.plant-topic-pot { background: #F2F5FF; color: #506CBF; border-color: #DDE6FF; }
.plant-topic-warning,
.plant-topic-problem { background: #FFF5E8; color: #D77B21; border-color: #FFE1B8; }

@media (max-width: 640px) {
  .aloe-care-topic {
    padding-left: 24px;
    padding-top: 86px;
  }

  .aloe-care-topic-icon {
    top: 24px;
  }

  .plant-topic-heading {
    align-items: flex-start;
  }
}

/* Global footer */
.site-footer {
  background: #0E2F2C;
  color: #DCEFEB;
  padding: 64px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, .7fr));
  gap: 38px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}

.footer-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #8BE1D1;
}

.footer-logo-mark .icon {
  width: 24px;
  height: 24px;
}

.footer-brand p {
  max-width: 360px;
  margin: 16px 0 0;
  color: #BFD8D4;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
}

.footer-links a {
  display: block;
  color: #BFD8D4;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
  transition: color .18s ease;
}

.footer-links a:hover {
  color: #8BE1D1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #BFD8D4;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.footer-bottom a {
  color: #8BE1D1;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Plant image gallery lightbox */
.plant-gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: zoom-in;
  border-radius: inherit;
}

.plant-gallery-open .plant-detail-main-visual,
.plant-gallery-open .plant-thumb-visual {
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.plant-gallery-open:hover .plant-detail-main-visual,
.plant-gallery-open:hover .plant-thumb-visual {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 18px 44px rgba(19, 59, 117, .16);
}

.plant-gallery-main-open {
  border-radius: 34px;
}

.plant-thumb-open {
  border-radius: 20px;
}

.plant-lightbox[hidden] {
  display: none !important;
}

.plant-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.plant-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 18, .72);
  backdrop-filter: blur(10px);
}

.plant-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 96vw);
  max-height: 92vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.plant-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1E2B2A;
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(19, 59, 117, .18);
}

.plant-lightbox-stage {
  position: relative;
  min-height: min(680px, 72vh);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  background: linear-gradient(135deg, #F7FBF7, #EAF6EF);
}

.plant-lightbox-slides {
  height: 100%;
  min-height: min(680px, 72vh);
  display: grid;
  align-items: center;
}

.plant-lightbox-slide {
  grid-area: 1 / 1;
  display: none;
  height: 100%;
  min-height: min(680px, 72vh);
  margin: 0;
  place-items: center;
  text-align: center;
}

.plant-lightbox-slide.is-active {
  display: grid;
}

.plant-lightbox-slide figcaption {
  align-self: end;
  margin: 0 0 30px;
  color: #536173;
  font-size: 15px;
  font-weight: 800;
}

.plant-lightbox-visual {
  align-self: center;
  width: min(620px, 70vw);
  height: min(520px, 58vh);
  display: grid;
  place-items: end center;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 82%, rgba(95, 63, 28, .32), transparent 30%),
    linear-gradient(135deg, #DDEED5, #F6F9F2 55%, #C8D8BF);
}

.plant-lightbox-visual .aloe-pot {
  transform: scale(1.08);
  transform-origin: bottom center;
}

.plant-lightbox-visual-purple {
  background:
    radial-gradient(circle at 50% 82%, rgba(95, 63, 28, .28), transparent 30%),
    linear-gradient(135deg, #D7B7F2, #F5EAFE);
}

.plant-lightbox-visual-purple .aloe-pot {
  transform: scale(.82);
  transform-origin: bottom center;
  margin-bottom: -44px;
}

.plant-lightbox-visual-green {
  background:
    radial-gradient(circle at 50% 82%, rgba(95, 63, 28, .28), transparent 30%),
    linear-gradient(135deg, #EEF8E8, #D1EDC2);
}

.plant-lightbox-visual-green .aloe-pot {
  transform: scale(.92) rotate(-8deg);
  transform-origin: bottom center;
}

.plant-lightbox-nav {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #1A7B71;
  box-shadow: 0 14px 34px rgba(19, 59, 117, .16);
  transition: transform .18s ease, background-color .18s ease;
}

.plant-lightbox-nav:hover {
  transform: translateY(-1px);
  background: #E8F7F2;
}

.plant-lightbox-nav svg {
  width: 25px;
  height: 25px;
}

.plant-lightbox-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid #E6F0FF;
}

.plant-lightbox-footer p {
  margin: 0;
  color: #536173;
  font-size: 14px;
  font-weight: 900;
}

.plant-lightbox-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plant-lightbox-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #D4E3F4;
}

.plant-lightbox-dots button.is-active {
  width: 26px;
  background: #1A7B71;
}

body.plant-lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .plant-lightbox {
    padding: 12px;
  }

  .plant-lightbox-dialog {
    width: 100%;
    border-radius: 24px;
  }

  .plant-lightbox-stage {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    min-height: 68vh;
  }

  .plant-lightbox-slides,
  .plant-lightbox-slide {
    min-height: 68vh;
  }

  .plant-lightbox-visual {
    width: 100%;
    height: 52vh;
    border-radius: 24px;
  }

  .plant-lightbox-visual .aloe-pot {
    transform: scale(.86);
  }

  .plant-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .plant-lightbox-close {
    width: 42px;
    height: 42px;
    top: 12px;
    right: 12px;
  }
}

/* Aloe Vera top layout empty-space fix */
.plant-detail-grid {
  display: grid;
  grid-template-columns: minmax(560px, 660px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.plant-gallery {
  display: grid;
  grid-template-columns: minmax(0, 520px) 140px;
  gap: 18px;
  align-items: start;
}

.plant-gallery-open {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.plant-gallery-main-open {
  border-radius: 34px;
}

.plant-thumb-open {
  border-radius: 22px;
}

.plant-detail-main-visual {
  width: 100%;
  min-height: 500px;
  height: 500px;
  border-radius: 34px;
}

.plant-thumbs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plant-thumb-visual {
  width: 100%;
  height: 148px;
  min-height: 148px;
  border-radius: 22px;
}

.plant-thumb-visual .aloe-pot {
  transform: scale(.48);
  transform-origin: bottom center;
  margin-bottom: -66px;
}

.plant-thumb-light .aloe-pot {
  transform: scale(.56) rotate(-8deg);
  transform-origin: bottom center;
  margin-bottom: -58px;
}

.plant-intro-card {
  min-width: 0;
  padding-top: 4px;
}

.plant-intro-card h2 {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .plant-detail-grid {
    grid-template-columns: minmax(500px, 600px) minmax(0, 1fr);
    gap: 28px;
  }

  .plant-gallery {
    grid-template-columns: minmax(0, 460px) 118px;
  }

  .plant-detail-main-visual {
    height: 460px;
    min-height: 460px;
  }

  .plant-thumb-visual {
    height: 132px;
    min-height: 132px;
  }
}

@media (max-width: 980px) {
  .plant-detail-grid {
    grid-template-columns: 1fr;
  }

  .plant-gallery {
    max-width: 680px;
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .plant-detail-main-visual {
    height: 500px;
  }
}

@media (max-width: 640px) {
  .plant-gallery {
    grid-template-columns: 1fr;
  }

  .plant-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .plant-detail-main-visual {
    height: 420px;
    min-height: 420px;
  }

  .plant-thumb-visual {
    height: 130px;
    min-height: 130px;
  }
}

/* Aloe Vera 25/75 image-content layout fix */
.plant-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 25%) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.plant-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: start;
  max-width: 100%;
}

.plant-detail-main-visual {
  width: 100%;
  height: 430px;
  min-height: 430px;
  border-radius: 30px;
}

.plant-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plant-thumb-visual {
  width: 92px;
  height: 116px;
  min-height: 116px;
  border-radius: 18px;
}

.plant-thumb-visual .aloe-pot {
  transform: scale(.38);
  transform-origin: bottom center;
  margin-bottom: -86px;
}

.plant-thumb-light .aloe-pot {
  transform: scale(.44) rotate(-8deg);
  transform-origin: bottom center;
  margin-bottom: -78px;
}

.plant-detail-main-visual .aloe-pot {
  transform: scale(.88);
  transform-origin: bottom center;
  margin-bottom: -28px;
}

.plant-intro-card {
  min-width: 0;
  padding-top: 2px;
}

.plant-intro-card h2 {
  margin-top: 0;
  margin-bottom: 22px;
}

.plant-intro-card p {
  max-width: 100%;
}

.plant-fact-grid {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 20px 22px;
}

@media (max-width: 1240px) {
  .plant-detail-grid {
    grid-template-columns: minmax(300px, 30%) minmax(0, 1fr);
  }

  .plant-detail-main-visual {
    height: 400px;
    min-height: 400px;
  }

  .plant-gallery {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .plant-thumb-visual {
    width: 86px;
    height: 108px;
    min-height: 108px;
  }

  .plant-fact-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }
}

@media (max-width: 980px) {
  .plant-detail-grid {
    grid-template-columns: 1fr;
  }

  .plant-gallery {
    max-width: 620px;
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .plant-detail-main-visual {
    height: 460px;
    min-height: 460px;
  }

  .plant-thumb-visual {
    width: 112px;
    height: 136px;
    min-height: 136px;
  }
}

@media (max-width: 640px) {
  .plant-gallery {
    grid-template-columns: 1fr;
  }

  .plant-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .plant-thumb-visual {
    width: 100%;
    height: 130px;
    min-height: 130px;
  }

  .plant-detail-main-visual {
    height: 420px;
    min-height: 420px;
  }

  .plant-fact-grid {
    grid-template-columns: 1fr;
  }
}

/* Aloe Vera facts grid 2 columns 3 rows */
.plant-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px 28px;
  align-items: start;
  max-width: 760px;
}

.plant-fact {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "icon label"
    "icon value";
  align-items: center;
  column-gap: 16px;
}

.plant-fact .icon {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 20px;
}

.plant-fact span {
  font-size: 17px;
  line-height: 1.15;
}

.plant-fact strong {
  font-size: 20px;
  line-height: 1.18;
}

@media (max-width: 980px) {
  .plant-fact-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .plant-fact-grid {
    grid-template-columns: 1fr;
  }
}

/* Aloe Vera facts 3 columns + care section spacing fix */
.plant-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 24px 28px;
  align-items: start;
  max-width: 100%;
}

.plant-fact {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "icon label"
    "icon value";
  align-items: center;
  column-gap: 16px;
}

.plant-fact .icon {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 20px;
}

.plant-fact span {
  font-size: 17px;
  line-height: 1.15;
}

.plant-fact strong {
  font-size: 20px;
  line-height: 1.18;
}

/* Remove the large left-side empty column in the uploaded Aloe Vera care section */
.aloe-source-content-section {
  padding: 64px 0;
}

.aloe-source-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.aloe-source-intro {
  position: static;
  max-width: 920px;
}

.aloe-source-intro h2 {
  max-width: 820px;
}

.aloe-source-intro p:not(.section-eyebrow) {
  max-width: 760px;
}

.aloe-care-topics {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.aloe-care-topic {
  width: 100%;
}

@media (max-width: 1180px) {
  .plant-fact-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .plant-fact-grid {
    grid-template-columns: 1fr;
  }

  .aloe-source-content-section {
    padding: 46px 0;
  }
}

/* Separate Plant Identifier page */
.plant-identifier-tool-hero {
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%);
}

.pi-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.plant-identifier-tool-section {
  background: #ffffff;
}

/* Locked Aloe Vera Growing Basics layout */
.aloe-source-content-section {
  padding: 72px 0;
  background: #F8FBF7;
}

.aloe-source-layout {
  display: grid;
  grid-template-columns: minmax(320px, 31%) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.aloe-source-intro {
  position: sticky;
  top: 96px;
  max-width: 520px;
}

.aloe-source-intro .section-eyebrow,
.section-eyebrow {
  margin: 0 0 18px;
  color: #1A7B71;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aloe-source-intro h2 {
  max-width: 520px;
  margin: 0;
  color: #292929;
  font-size: clamp(44px, 4.8vw, 70px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.aloe-source-intro p:not(.section-eyebrow) {
  max-width: 430px;
  margin: 24px 0 0;
  color: #536173;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.aloe-care-topics {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.aloe-care-topic {
  position: relative;
  width: 100%;
  min-height: 226px;
  padding: 48px 54px 42px 174px;
  border: 1px solid #DDEBFF;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(19, 59, 117, .07);
}

.aloe-care-topic-icon {
  position: absolute;
  left: 54px;
  top: 48px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #EEF8FF;
  color: #2F8FD3;
  border: 1px solid #D7ECFF;
}

.aloe-care-topic-icon .plant-topic-icon-svg {
  width: 34px;
  height: 34px;
}

.aloe-care-topic h3 {
  margin: 0 0 26px;
  color: #292929;
  font-size: clamp(30px, 2.4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.aloe-care-topic p {
  margin: 0;
  color: #3B4250;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .aloe-source-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .aloe-source-intro {
    position: static;
    max-width: 760px;
  }

  .aloe-source-intro h2,
  .aloe-source-intro p:not(.section-eyebrow) {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .aloe-source-content-section {
    padding: 52px 0;
  }

  .aloe-source-intro h2 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .aloe-source-intro p:not(.section-eyebrow) {
    font-size: 18px;
  }

  .aloe-care-topic {
    min-height: 0;
    padding: 92px 24px 26px;
    border-radius: 26px;
  }

  .aloe-care-topic-icon {
    left: 24px;
    top: 24px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .aloe-care-topic-icon .plant-topic-icon-svg {
    width: 28px;
    height: 28px;
  }

  .aloe-care-topic h3 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .aloe-care-topic p {
    font-size: 17px;
  }
}

/* Aloe Vera Growing Basics UI/UX font size fix */
.aloe-source-content-section {
  padding: 64px 0;
}

.aloe-source-layout {
  grid-template-columns: minmax(300px, 30%) minmax(0, 1fr);
  gap: 44px;
}

.aloe-source-intro .section-eyebrow,
.section-eyebrow {
  font-size: 13px;
  letter-spacing: .09em;
  margin-bottom: 14px;
}

.aloe-source-intro h2 {
  max-width: 470px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.aloe-source-intro p:not(.section-eyebrow) {
  max-width: 420px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.aloe-care-topics {
  gap: 18px;
}

.aloe-care-topic {
  min-height: auto;
  padding: 30px 34px 30px 118px;
  border-radius: 26px;
}

.aloe-care-topic-icon {
  left: 34px;
  top: 30px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.aloe-care-topic-icon .plant-topic-icon-svg {
  width: 28px;
  height: 28px;
}

.aloe-care-topic h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.aloe-care-topic p {
  font-size: 18px;
  line-height: 1.58;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .aloe-source-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aloe-source-intro h2,
  .aloe-source-intro p:not(.section-eyebrow) {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .aloe-source-content-section {
    padding: 46px 0;
  }

  .aloe-source-intro h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .aloe-source-intro p:not(.section-eyebrow) {
    font-size: 16px;
  }

  .aloe-care-topic {
    padding: 82px 22px 24px;
    border-radius: 22px;
  }

  .aloe-care-topic-icon {
    left: 22px;
    top: 22px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .aloe-care-topic h3 {
    font-size: 23px;
    margin-bottom: 10px;
  }

  .aloe-care-topic p {
    font-size: 16px;
  }
}

/* Plant page description font size 14px */
.plant-detail-page .plant-intro-card p,
.plant-detail-page .plant-care-content p,
.plant-detail-page .plant-check-list li,
.plant-detail-page .aloe-source-intro p:not(.section-eyebrow),
.plant-detail-page .aloe-care-topic p,
.plant-detail-page .aloe-faq-item p,
.plant-detail-page .plant-care-sidebar li,
.plant-detail-page .plant-other-names {
  font-size: 14px;
  line-height: 1.6;
}

.plant-detail-page .plant-scientific {
  font-size: 16px;
}

.plant-detail-page .plant-fact span {
  font-size: 14px;
}

.plant-detail-page .plant-fact strong {
  font-size: 15px;
}

@media (max-width: 700px) {
  .plant-detail-page .plant-intro-card p,
  .plant-detail-page .plant-care-content p,
  .plant-detail-page .plant-check-list li,
  .plant-detail-page .aloe-source-intro p:not(.section-eyebrow),
  .plant-detail-page .aloe-care-topic p,
  .plant-detail-page .aloe-faq-item p,
  .plant-detail-page .plant-care-sidebar li,
  .plant-detail-page .plant-other-names {
    font-size: 14px;
  }
}

/* Final plant page spacing + 14px text fix */
.plant-detail-page .plant-intro-card p,
.plant-detail-page .plant-care-content p,
.plant-detail-page .plant-check-list li,
.plant-detail-page .aloe-source-intro p:not(.section-eyebrow),
.plant-detail-page .aloe-care-topic p,
.plant-detail-page .aloe-faq-item p,
.plant-detail-page .plant-care-sidebar li,
.plant-detail-page .plant-other-names {
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 600 !important;
}

/* Remove the large empty left space inside Aloe care cards */
.plant-detail-page .aloe-care-topic {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  grid-template-areas:
    "icon title"
    "icon text" !important;
  column-gap: 18px !important;
  row-gap: 8px !important;
  align-items: start !important;
  min-height: auto !important;
  padding: 24px 28px !important;
  border-radius: 24px !important;
}

.plant-detail-page .aloe-care-topic-icon {
  position: static !important;
  grid-area: icon !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
}

.plant-detail-page .aloe-care-topic-icon .plant-topic-icon-svg {
  width: 26px !important;
  height: 26px !important;
}

.plant-detail-page .aloe-care-topic h3 {
  grid-area: title !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

.plant-detail-page .aloe-care-topic p {
  grid-area: text !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Keep the section balanced with the rest of the plant page */
.plant-detail-page .aloe-source-layout {
  grid-template-columns: minmax(280px, 30%) minmax(0, 1fr) !important;
  gap: 36px !important;
}

.plant-detail-page .aloe-source-intro h2 {
  font-size: clamp(32px, 3vw, 44px) !important;
  line-height: 1.12 !important;
}

@media (max-width: 900px) {
  .plant-detail-page .aloe-source-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .plant-detail-page .aloe-care-topic {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    padding: 20px !important;
  }

  .plant-detail-page .aloe-care-topic-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
  }

  .plant-detail-page .aloe-care-topic h3 {
    font-size: 20px !important;
  }
}

/* Plant page description font size 16px final */
.plant-detail-page .plant-intro-card p,
.plant-detail-page .plant-care-content p,
.plant-detail-page .plant-check-list li,
.plant-detail-page .aloe-source-intro p:not(.section-eyebrow),
.plant-detail-page .aloe-care-topic p,
.plant-detail-page .aloe-faq-item p,
.plant-detail-page .plant-care-sidebar li,
.plant-detail-page .plant-other-names {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.plant-detail-page .plant-scientific {
  font-size: 17px !important;
}

.plant-detail-page .plant-fact span {
  font-size: 15px !important;
}

.plant-detail-page .plant-fact strong {
  font-size: 16px !important;
}


/* Requested menu and homepage polish - 2026-06-19 */
.site-nav,
.pi-page .site-nav {
  gap: 26px !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}

.site-nav a,
.pi-page .site-nav a,
.nav-dropdown-trigger {
  font-weight: 500 !important;
}

.nav-dropdown-menu {
  top: 100% !important;
  transform: translateY(10px);
  border-radius: 18px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 14px;
  display: block;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 3px;
}

.nav-dropdown-menu a {
  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 12px;
}

.home-page .site-header .container {
  width: min(1140px, calc(100% - 32px)) !important;
}

.home-pi-hero {
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
  min-height: 430px;
  border-bottom: 1px solid #d3e2f8;
}

.home-pi-hero-grid {
  min-height: 430px;
  align-items: center !important;
}

.home-pi-copy {
  padding: 62px 0 56px !important;
}

.home-pi-eyebrow {
  color: #1A7B71;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.home-page .pi-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 64px);
}

.home-page .pi-hero-copy p:not(.home-pi-eyebrow) {
  max-width: 720px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
}

.home-pi-hero-art {
  min-height: 320px;
  align-items: center;
  justify-content: center;
}

.home-hero-placeholder {
  width: min(520px, 100%);
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(26, 123, 113, .32);
  border-radius: 28px;
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 22px 50px rgba(26, 123, 113, .08);
}

.home-placeholder-window {
  width: min(360px, calc(100% - 56px));
  min-height: 210px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(26, 123, 113, .16);
}

.home-placeholder-leaf {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #EAF5F3;
  color: #1A7B71;
}

.home-placeholder-leaf .icon {
  width: 36px;
  height: 36px;
}

.home-placeholder-window span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #d3e2f8;
}

.home-placeholder-window span:nth-of-type(1) { width: 78%; }
.home-placeholder-window span:nth-of-type(2) { width: 58%; }
.home-placeholder-window span:nth-of-type(3) { width: 42%; background: #EAF5F3; }

@media (max-width: 980px) {
  .site-nav,
  .pi-page .site-nav {
    gap: 14px !important;
    font-size: 15px !important;
  }

  .site-nav.is-open,
  .pi-page .site-nav.is-open {
    gap: 10px !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    display: none;
    transform: none;
    margin-top: 8px;
    box-shadow: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .home-pi-hero-grid {
    min-height: auto;
  }

  .home-pi-copy {
    padding: 46px 0 20px !important;
  }
}

@media (max-width: 640px) {
  .home-pi-hero {
    min-height: auto;
  }

  .home-page .pi-hero-copy h1 {
    font-size: 40px;
  }

  .home-hero-placeholder {
    min-height: 240px;
  }
}

/* Homepage full-screen hero only - 2026-06-19 */
.home-page .home-pi-hero {
  min-height: calc(100vh - 76px) !important;
  display: flex;
  align-items: center;
}

.home-page .home-pi-hero > .container {
  width: min(1140px, calc(100% - 32px));
}

.home-page .home-pi-hero-grid {
  min-height: calc(100vh - 76px) !important;
  align-items: center !important;
}

.home-page .home-pi-copy {
  padding-top: clamp(56px, 8vh, 108px) !important;
  padding-bottom: clamp(56px, 8vh, 108px) !important;
}

.home-page .home-pi-hero-art {
  min-height: clamp(360px, 58vh, 560px) !important;
}

.home-page .home-hero-placeholder {
  min-height: clamp(340px, 56vh, 540px) !important;
}

@media (max-width: 980px) {
  .home-page .home-pi-hero,
  .home-page .home-pi-hero-grid {
    min-height: calc(100vh - 104px) !important;
  }

  .home-page .home-pi-copy {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
  }

  .home-page .home-pi-hero-art {
    min-height: 320px !important;
  }

  .home-page .home-hero-placeholder {
    min-height: 300px !important;
  }
}

@media (max-width: 640px) {
  .home-page .home-pi-hero,
  .home-page .home-pi-hero-grid {
    min-height: calc(100vh - 112px) !important;
  }

  .home-page .home-pi-copy {
    padding-top: 40px !important;
    padding-bottom: 18px !important;
  }

  .home-page .home-pi-hero-art {
    min-height: 260px !important;
  }

  .home-page .home-hero-placeholder {
    min-height: 240px !important;
  }
}


/* QA pass: filters/tabs cleanup */
.pi-sidebar.pi-finder-card .pi-filter-content {
  padding-top: 24px;
}

.pi-sidebar.pi-finder-card .pi-sidebar-title:empty,
.pi-sidebar.pi-finder-card .pi-sidebar-title[hidden] {
  display: none !important;
}

.pi-source-tabs-wrap {
  border-bottom: 1px solid #E6F0FF;
}

.pi-source-tabs::after {
  display: none !important;
}

.pi-source-tab {
  border-bottom-width: 2px;
}

.pi-filter-toggle:focus-visible,
.pi-source-tab:focus-visible,
.pi-clear-filters:focus-visible,
.pi-source-filter-button:focus-visible {
  outline: 3px solid rgba(26, 123, 113, .18);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .pi-sidebar.pi-finder-card.is-mobile-open {
    width: 100%;
  }
}

/* Consolidated navigation, directory cards, and responsive polish */
.site-header {
  isolation: isolate;
}

.header-inner {
  min-height: 72px !important;
}

.site-nav,
.pi-page .site-nav {
  gap: clamp(16px, 1.7vw, 26px) !important;
  font-size: 14px !important;
}

.site-nav > a,
.site-nav > .nav-dropdown > .nav-dropdown-trigger,
.pi-page .site-nav > a,
.pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger {
  min-height: 72px !important;
  padding: 0 !important;
  font-weight: 650 !important;
}

.nav-chevron {
  transition: transform .2s ease;
}

.nav-dropdown-menu {
  top: calc(100% + 12px) !important;
  left: -18px;
  width: 430px;
  min-width: 430px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px !important;
  padding: 14px;
  transform: none;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(16, 32, 29, .16);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 12px;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--primary-dark) !important;
  background: var(--primary-soft) !important;
  outline: none;
}

.nav-toggle {
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle::before {
  content: "☰";
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.nav-toggle[aria-expanded="true"]::before {
  content: "×";
  font-size: 24px;
}

.pi-results,
.pi-source-tabs-scroll {
  min-width: 0;
}

.pi-source-tabs-scroll {
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}

.pi-source-tab {
  scroll-snap-align: start;
  padding: 10px 2px 12px;
  font-weight: 650;
}

.pi-grid {
  gap: 20px;
}

.pi-plant-card,
.pi-skeleton-card {
  border-color: #dce9e6;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(16, 32, 29, .07);
}

.pi-plant-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pi-plant-card:hover {
    transform: translateY(-5px);
    border-color: #bcdcd6;
    box-shadow: 0 18px 38px rgba(16, 32, 29, .12);
  }
}

/* English-only production polish — 2026-06-20 */
:root {
  --ui-radius-sm: 14px;
  --ui-radius-md: 20px;
  --ui-radius-lg: 28px;
}

.language-switcher {
  display: none !important;
}

.download-app-button,
.header-cta,
.footer-download-app,
.global-download-button,
.plant-care-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.apple-button-icon {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 auto;
}

.pi-sidebar,
.pi-sidebar.pi-finder-card,
.plant-care-sidebar,
.info-page-sidebar,
.plant-share-rail {
  border-radius: var(--ui-radius-lg) !important;
}

.pi-filter-tip {
  margin: 16px;
  padding: 14px;
  border-radius: var(--ui-radius-sm);
}

.pi-source-tabs-wrap > .pi-filter-tip,
.pi-results > .pi-filter-tip {
  display: none !important;
}

body:not(.home-page) .pi-hero,
body:not(.home-page) .page-hero {
  padding-top: clamp(28px, 3.5vw, 46px) !important;
  padding-bottom: clamp(30px, 3.8vw, 50px) !important;
}

.pi-hero-art {
  min-height: 150px !important;
}

.pi-category-hero .pi-hero-art {
  min-height: 120px !important;
}

.plant-detail-hero {
  padding-top: 24px !important;
  padding-bottom: 38px !important;
}

.plant-detail-breadcrumb {
  margin-bottom: 22px !important;
}

.plant-detail-page .plant-detail-main-visual {
  height: 420px !important;
  min-height: 420px !important;
}

.plant-identifier-breadcrumb-bar {
  padding: 22px 0 4px;
  background: #e7faf5;
}

.plant-identifier-breadcrumb-bar .pi-breadcrumb {
  margin: 0;
}

.plant-upload-section {
  padding-top: 34px;
}

.plant-upload-heading h1,
.plant-upload-heading h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.related-discover-card {
  min-height: 100%;
  align-content: center;
  justify-items: stretch;
  text-align: left;
}

.related-discover-card h3 {
  margin-bottom: 18px;
}

.related-discover-card a {
  justify-content: center;
  width: 100%;
  margin-top: 0;
}

.plant-section-download-wrap {
  padding: 18px 0;
  background: #fff;
}

.plant-section-download-wrap + .plant-care-section,
.plant-section-download-wrap + .aloe-source-content-section,
.plant-section-download-wrap + .aloe-faq-section,
.plant-section-download-wrap + .plant-related-section {
  margin-top: 0;
}

.plant-app-cta--section {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--ui-radius-md);
  box-shadow: 0 10px 28px rgba(23, 79, 55, .07);
}

.plant-app-cta--section .plant-app-cta-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--ui-radius-sm);
}

.plant-app-cta--section .plant-app-cta-copy > span {
  display: none;
}

.plant-app-cta--section h2 {
  font-size: clamp(19px, 2vw, 25px);
}

.plant-app-cta--section p {
  margin-top: 4px;
  font-size: 13px;
}

.aloe-faq-section .section-heading,
.aloe-faq-list {
  width: min(100%, 920px);
  margin-left: auto;
  margin-right: auto;
}

.aloe-faq-list {
  gap: 11px;
}

.aloe-faq-item {
  border-radius: var(--ui-radius-md);
}

.aloe-faq-item summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 54px 16px 20px;
  font-size: 17px;
}

.aloe-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 10px;
  color: #147a68;
  background: #edf8f3;
  font-size: 19px;
  line-height: 1;
}

.aloe-faq-item[open] summary::after {
  content: "−";
}

.aloe-faq-item p {
  padding: 0 20px 18px;
}

.feature-card,
.pi-plant-card,
.plant-intro-card,
.plant-care-content,
.aloe-care-topic,
.related-plant-card,
.related-discover-card,
.plant-upload-card,
.plant-upload-dropzone,
.global-download-cta {
  border-radius: var(--ui-radius-lg);
}

@media (max-width: 1180px) {
  .site-header,
  .pi-page .site-header {
    overflow: visible;
  }

  .site-nav,
  .pi-page .site-nav {
    border-radius: 24px;
    padding: 10px;
  }

  .site-nav.is-open,
  .pi-page .site-nav.is-open {
    gap: 5px !important;
  }

  .site-nav > a,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger,
  .pi-page .site-nav > a,
  .pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger {
    min-height: 48px !important;
    border-radius: 14px;
  }

  .nav-dropdown-menu,
  .site-nav.is-open .nav-dropdown-menu {
    max-height: min(44vh, 360px);
    overflow-y: auto;
    border-radius: 16px;
  }

  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    display: block !important;
  }

  .site-header.is-menu-open .header-tools .header-cta,
  .pi-page .site-header.is-menu-open .header-tools .header-cta {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
  }
}

@media (max-width: 680px) {
  body:not(.home-page) .pi-hero,
  body:not(.home-page) .page-hero {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  .pi-hero-art,
  .pi-category-hero .pi-hero-art {
    min-height: 92px !important;
  }

  .plant-detail-hero {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
  }

  .plant-detail-page .plant-detail-main-visual {
    height: 310px !important;
    min-height: 310px !important;
  }

  .plant-identifier-breadcrumb-bar {
    padding: 16px 0 0;
  }

  .plant-upload-section {
    padding-top: 26px;
  }

  .plant-upload-heading h1,
  .plant-upload-heading h2 {
    font-size: 34px;
  }

  .plant-section-download-wrap {
    padding: 12px 0;
  }

  .plant-app-cta--section {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
    border-radius: 18px;
  }

  .plant-app-cta--section .plant-app-cta-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .plant-app-cta--section h2 {
    font-size: 18px;
  }

  .plant-app-cta--section p {
    display: none;
  }

  .plant-app-cta--section > a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .plant-share-rail {
    top: auto;
    right: 50%;
    bottom: 10px;
    flex-direction: row;
    transform: translateX(50%);
    padding: 7px;
    border-radius: 18px !important;
  }

  .plant-share-label {
    display: none;
  }

  .plant-share-rail a:hover,
  .plant-share-rail button:hover {
    transform: translateY(-2px);
  }

  .plant-share-rail a::before,
  .plant-share-rail button::before {
    display: none;
  }

  .aloe-faq-section > .container {
    padding-inline: 18px;
  }

  .aloe-faq-item summary {
    min-height: 54px;
    padding: 14px 48px 14px 17px;
    font-size: 16px;
  }

  .aloe-faq-item summary::after {
    right: 14px;
    width: 26px;
    height: 26px;
  }

  .aloe-faq-item p {
    padding: 0 17px 16px;
  }
}

/* Canonical Aloe-style artwork used by every generated plant profile. */
.generated-plant-page .profile-plant-visual {
  position: relative;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 82%, rgba(92, 63, 35, .2), transparent 27%),
    linear-gradient(145deg, var(--profile-start), var(--profile-end));
}

.generated-plant-page .profile-plant-visual--purple {
  background:
    radial-gradient(circle at 50% 82%, rgba(92, 63, 35, .16), transparent 27%),
    linear-gradient(145deg, color-mix(in srgb, var(--profile-start) 65%, #dec9ef), #f8f0fa);
}

.generated-plant-page .profile-plant-visual--green {
  background:
    radial-gradient(circle at 50% 82%, rgba(92, 63, 35, .16), transparent 27%),
    linear-gradient(145deg, #edf7e8, color-mix(in srgb, var(--profile-end) 76%, #cde9c3));
}

.profile-plant-art {
  position: relative;
  width: 250px;
  height: 390px;
  transform-origin: bottom center;
}

.plant-thumb-visual .profile-plant-art {
  transform: scale(.37);
  margin-bottom: -238px;
}

.plant-lightbox-visual .profile-plant-visual {
  width: min(720px, 76vw) !important;
  height: min(680px, 72vh) !important;
  min-height: 0 !important;
  border-radius: 28px;
}

.plant-lightbox-visual .profile-plant-art {
  transform: scale(1.08);
}

.profile-stem {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 70px;
  width: 10px;
  height: 220px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--profile-accent) 82%, #274f35);
  transform: translateX(-50%);
}

.profile-pot {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 12px;
  width: 154px;
  height: 92px;
  border-radius: 14px 14px 48px 48px;
  background: linear-gradient(90deg, #a9653e, #d18a58 48%, #925333);
  transform: translateX(-50%);
  box-shadow: inset 0 13px rgba(88, 48, 28, .14), 0 18px 28px rgba(66, 48, 34, .18);
}

.profile-leaf {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 112px;
  width: 122px;
  height: 76px;
  border-radius: 92% 12% 92% 12%;
  background:
    linear-gradient(150deg, rgba(255,255,255,.2), transparent 42%),
    linear-gradient(135deg, color-mix(in srgb, var(--profile-accent) 72%, #72bd68), var(--profile-accent));
  box-shadow: inset -12px -7px rgba(18, 66, 41, .12);
  transform-origin: 0 100%;
}

.profile-leaf::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 80%;
  height: 2px;
  border-radius: 999px;
  background: rgba(232, 255, 224, .42);
  transform: rotate(-23deg);
  transform-origin: left center;
}

.profile-leaf.p1 { transform: rotate(-79deg) translateX(4px) scale(.82); }
.profile-leaf.p2 { transform: rotate(-49deg) translateX(10px) scale(.94); }
.profile-leaf.p3 { transform: rotate(-18deg) translateX(18px); }
.profile-leaf.p4 { transform: rotate(17deg) translateX(13px); }
.profile-leaf.p5 { transform: rotate(49deg) translateX(4px) scale(.94); }
.profile-leaf.p6 { transform: rotate(78deg) scale(.84); }

.profile-plant-art--palm .profile-leaf {
  width: 140px;
  height: 38px;
  border-radius: 100% 12% 100% 12%;
}

.profile-plant-art--fern .profile-leaf {
  width: 142px;
  height: 48px;
  background:
    repeating-linear-gradient(150deg, transparent 0 9px, rgba(234,255,224,.36) 10px 12px),
    linear-gradient(135deg, #63aa69, var(--profile-accent));
}

.profile-plant-art--cactus .profile-leaf,
.profile-plant-art--succulent .profile-leaf {
  width: 58px;
  height: 210px;
  border-radius: 80% 80% 20% 20%;
  transform-origin: 50% 100%;
}

.profile-plant-art--cactus .profile-leaf.p1,
.profile-plant-art--succulent .profile-leaf.p1 { transform: translateX(-50%) rotate(-58deg) scale(.68); }
.profile-plant-art--cactus .profile-leaf.p2,
.profile-plant-art--succulent .profile-leaf.p2 { transform: translateX(-50%) rotate(-34deg) scale(.85); }
.profile-plant-art--cactus .profile-leaf.p3,
.profile-plant-art--succulent .profile-leaf.p3 { transform: translateX(-50%) rotate(-12deg); }
.profile-plant-art--cactus .profile-leaf.p4,
.profile-plant-art--succulent .profile-leaf.p4 { transform: translateX(-50%) rotate(13deg); }
.profile-plant-art--cactus .profile-leaf.p5,
.profile-plant-art--succulent .profile-leaf.p5 { transform: translateX(-50%) rotate(36deg) scale(.84); }
.profile-plant-art--cactus .profile-leaf.p6,
.profile-plant-art--succulent .profile-leaf.p6 { transform: translateX(-50%) rotate(60deg) scale(.66); }

.profile-plant-art--flowering::before,
.profile-plant-art--orchid::before,
.profile-plant-art--bromeliad::before,
.profile-plant-art--herb::before,
.profile-plant-art--fruiting::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 70px;
  width: 74px;
  height: 74px;
  border-radius: 52% 48% 55% 45%;
  background: radial-gradient(circle at 50% 50%, #f5cf61 0 13%, #d96d91 14% 42%, #a53d67 43% 100%);
  transform: translateX(-50%) rotate(18deg);
  box-shadow: 34px 27px 0 -17px #e78aa8, -35px 35px 0 -18px #cf6488;
}

.profile-plant-art--carnivorous .profile-leaf {
  border-radius: 70% 20% 70% 20%;
  background: linear-gradient(135deg, #89b24a, #466f31);
}

.profile-plant-art--aquatic .profile-leaf {
  background: linear-gradient(135deg, #5ea58a, #267c69);
}

.generated-plant-page .plant-care-sidebar {
  align-self: start;
}

.generated-plant-page .plant-growing-basics-section {
  background: #fff;
}

.generated-plant-page .aloe-source-layout {
  grid-template-columns: minmax(280px, 30%) minmax(0, 1fr) !important;
  align-items: start !important;
}

.generated-plant-page .aloe-source-intro {
  position: sticky !important;
  top: 96px !important;
}

.generated-plant-page .aloe-care-topics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.generated-plant-page .aloe-care-topic {
  min-height: 0;
}

.generated-plant-page .plant-care-content a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 900px) {
  .generated-plant-page .aloe-source-layout {
    grid-template-columns: 1fr !important;
  }

  .generated-plant-page .aloe-source-intro {
    position: static !important;
  }
}

@media (max-width: 640px) {
  .generated-plant-page .aloe-care-topics {
    grid-template-columns: 1fr !important;
  }

  .profile-plant-art {
    transform: scale(.88);
  }

  .plant-thumb-visual .profile-plant-art {
    transform: scale(.32);
  }
}

.pi-card-save {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 123, 113, .14);
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.pi-card-save:hover {
  transform: scale(1.06);
}

.pi-card-save.is-saved {
  color: #ffffff;
  background: var(--primary);
}

.pi-card-save.is-saved .pi-save-icon path:first-child {
  fill: currentColor;
}

.pi-card-body {
  padding: 17px 18px 19px;
}

.pi-card-body h3 {
  font-size: 17px;
}

.pi-info-box {
  border-color: #dce9e6;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(16, 32, 29, .05);
}

.footer-links a {
  transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover {
  transform: translateX(3px);
}

@media (max-width: 1180px) {
  body.nav-menu-open {
    overflow: hidden;
  }

  .header-inner,
  .pi-page .header-inner {
    min-height: 68px !important;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav,
  .pi-page .site-nav {
    display: none;
    order: 4;
    width: 100%;
    max-height: calc(100vh - 160px);
    margin: 10px 0 0 !important;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(16, 32, 29, .12);
  }

  .site-nav.is-open,
  .pi-page .site-nav.is-open {
    display: grid;
    gap: 4px !important;
  }

  .site-nav > a,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger,
  .pi-page .site-nav > a,
  .pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger {
    width: 100%;
    min-height: 46px !important;
    justify-content: space-between;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 12px;
    color: var(--ink) !important;
  }

  .site-nav > a:hover,
  .site-nav > a.is-active,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger:hover,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger.is-active {
    color: var(--primary) !important;
    background: var(--primary-soft);
    border: 0 !important;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu,
  .site-nav.is-open .nav-dropdown-menu {
    position: static !important;
    display: none;
    width: auto;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 4px 6px 8px;
    padding: 6px;
    transform: none;
    border: 0;
    border-radius: 14px;
    background: #f6fbf9;
    box-shadow: none;
  }

  .site-nav.is-open .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    gap: 2px !important;
  }

  .nav-dropdown-menu a {
    min-height: 40px !important;
    padding: 9px 12px !important;
    background: transparent !important;
  }

  .header-tools,
  .pi-page .header-tools {
    display: none !important;
    order: 5;
    width: 100%;
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    display: flex !important;
    justify-content: space-between;
  }

  .site-header.is-menu-open .header-tools .header-cta,
  .pi-page .site-header.is-menu-open .header-tools .header-cta {
    display: inline-flex !important;
  }
}

@media (max-width: 900px) {
  .pi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    max-width: calc(100% - 106px);
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .site-nav,
  .pi-page .site-nav {
    max-height: calc(100vh - 148px);
  }

  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    gap: 8px;
  }

  .language-switcher,
  .pi-page .language-switcher {
    max-width: 155px;
  }

  .pi-grid {
    grid-template-columns: 1fr;
  }

  .pi-card-visual {
    height: 210px;
  }

  .pi-sticky-cta {
    padding: 8px 0;
  }

  .pi-sticky-inner {
    min-height: 48px !important;
    padding: 4px 8px;
  }

  .pi-sticky-inner strong {
    display: none;
  }

  .pi-sticky-inner a {
    width: 100%;
    min-height: 44px !important;
    justify-content: center;
  }
}

/* Homepage artwork and restrained menu/button polish */
.site-nav > a,
.site-nav > .nav-dropdown > .nav-dropdown-trigger,
.pi-page .site-nav > a,
.pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger {
  border-bottom: 0 !important;
  transition: color .18s ease;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.site-nav > .nav-dropdown > .nav-dropdown-trigger:hover,
.site-nav > .nav-dropdown > .nav-dropdown-trigger.is-active,
.pi-page .site-nav > a:hover,
.pi-page .site-nav > a.is-active,
.pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger:hover,
.pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger.is-active {
  color: var(--primary) !important;
  border-bottom: 0 !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--primary) !important;
  background: transparent !important;
}

.home-page .home-pi-hero {
  position: relative;
  background-color: #effbe4 !important;
  background-image: url("../images/home-hero-background.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

.home-page .home-pi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 247, .2) 0%,
    rgba(255, 255, 255, .08) 46%,
    rgba(255, 255, 255, 0) 72%
  );
}

.home-page .home-pi-hero > .container {
  position: relative;
  z-index: 1;
}

.home-page .home-hero-placeholder {
  display: none;
}

.home-page .home-pi-hero-art {
  pointer-events: none;
}

.button,
.header-cta,
.pi-identify-btn,
.plant-search-button {
  border-radius: 16px !important;
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.button-primary,
.header-cta,
.pi-identify-btn,
.plant-search-button {
  background: linear-gradient(135deg, #157f74 0%, #126a62 100%) !important;
  border-color: #15766d !important;
  box-shadow: 0 12px 26px rgba(18, 106, 98, .2);
}

.button-primary:hover,
.header-cta:hover,
.pi-identify-btn:hover,
.plant-search-button:hover {
  background: linear-gradient(135deg, #126f67 0%, #0d5751 100%) !important;
  border-color: #0d5751 !important;
  box-shadow: 0 15px 30px rgba(13, 87, 81, .25);
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, .86) !important;
  border-color: rgba(26, 123, 113, .22) !important;
  color: var(--primary) !important;
  box-shadow: 0 10px 24px rgba(16, 32, 29, .08);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 14px 28px rgba(16, 32, 29, .12);
}

.home-page .hero-actions .button {
  min-height: 54px !important;
  padding: 11px 20px !important;
  border-radius: 18px !important;
}

.home-page .hero-actions .button-svg {
  width: 34px !important;
  height: 34px !important;
  padding: 8px;
  border-radius: 12px;
}

.home-page .hero-actions .button-primary .button-svg {
  background: rgba(255, 255, 255, .14);
}

.home-page .hero-actions .button-secondary .button-svg {
  background: var(--primary-soft);
}

.header-cta::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
  line-height: 1;
  transition: transform .18s ease;
}

.header-cta:hover::after {
  transform: translateX(3px);
}

.language-icon {
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.nav-toggle {
  border-radius: 14px;
}

.nav-toggle::before {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--primary-soft);
}

@media (max-width: 1180px) {
  .site-nav > a:hover,
  .site-nav > a.is-active,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger:hover,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger.is-active {
    color: var(--primary) !important;
    background: transparent !important;
  }
}

@media (max-width: 640px) {
  .home-page .home-pi-hero {
    background-position: 47% center !important;
  }

  .home-page .home-pi-hero::before {
    background: rgba(255, 255, 248, .18);
  }

  .home-page .hero-actions .button {
    min-height: 50px !important;
  }

  .home-page .hero-actions .button-svg {
    width: 31px !important;
    height: 31px !important;
  }

  .header-cta::after {
    display: none;
  }
}

/* Reference-inspired homepage rebuild */
.ref-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ref-home {
  --ref-green: #087d5a;
  --ref-green-dark: #075b47;
  --ref-green-soft: #eef8ef;
  --ref-ink: #10251e;
  --ref-muted: #5f6d67;
  --ref-line: #dfe9e3;
  background: #ffffff;
  color: var(--ref-ink);
  overflow: hidden;
}

.ref-home svg {
  width: 1em;
  height: 1em;
  display: block;
}

.ref-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background-color: #effbe4;
  background-image: url("../images/home-hero-background.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid rgba(8, 125, 90, .1);
}

.ref-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,247,.28), rgba(255,255,255,.02) 65%);
}

.ref-hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.ref-hero-copy {
  max-width: 660px;
}

.ref-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.6vw, 76px);
  letter-spacing: -.06em;
}

.ref-hero-lead {
  max-width: 625px;
  margin-bottom: 30px;
  color: #52605b;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.65;
  font-weight: 500;
}

.ref-primary-cta {
  width: min(100%, 430px);
  min-height: 88px;
  display: grid;
  grid-template-columns: 58px 1fr 32px;
  gap: 18px;
  align-items: center;
  padding: 12px 24px 12px 16px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 28px;
  background: linear-gradient(135deg, #168e7e, #087065);
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(8, 91, 71, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ref-primary-cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #117f72, #075d55);
  box-shadow: 0 24px 48px rgba(8, 91, 71, .28);
}

.ref-cta-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
}

.ref-cta-icon svg {
  width: 42px;
  height: 42px;
}

.ref-cta-arrow {
  width: 30px !important;
  height: 30px !important;
  transition: transform .2s ease;
}

.ref-primary-cta:hover .ref-cta-arrow {
  transform: translateX(4px);
}

.ref-trust-row {
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.ref-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ref-trust-item > span {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(238, 244, 226, .88);
  color: #0a624c;
}

.ref-trust-item svg {
  width: 29px;
  height: 29px;
}

.ref-trust-item p {
  margin: 0;
  color: #5d6964;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.ref-hero-device {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.ref-hero-device-image {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  max-height: 690px;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(23, 49, 40, .22));
}

.ref-hero-device::before,
.ref-hero-device::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  filter: blur(12px);
}

.ref-hero-device::before {
  left: 4%;
  top: 16%;
}

.ref-hero-device::after {
  right: -8%;
  bottom: 8%;
}

.ref-phone {
  position: relative;
  z-index: 2;
  width: min(380px, 82%);
  padding: 11px;
  border: 3px solid #252d29;
  border-radius: 56px;
  background: linear-gradient(145deg, #d9d2bd, #222823 12%, #080b09 88%, #c9bda0);
  box-shadow: 0 36px 70px rgba(23, 49, 40, .28);
  transform: rotate(2deg);
}

.ref-phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 17px;
  width: 112px;
  height: 28px;
  border-radius: 18px;
  background: #050706;
  transform: translateX(-50%);
}

.ref-phone-screen {
  min-height: 610px;
  overflow: hidden;
  padding: 18px 20px 22px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 70% 24%, rgba(114, 175, 81, .5), transparent 22%),
    radial-gradient(circle at 35% 58%, rgba(27, 123, 73, .62), transparent 30%),
    linear-gradient(155deg, #243d31, #0e2118 58%, #304c38);
  color: #ffffff;
}

.ref-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 8px 38px;
  font-size: 12px;
  font-weight: 800;
}

.ref-scan-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.ref-scan-title span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #44d697;
  box-shadow: 0 0 0 5px rgba(68,214,151,.12);
}

.ref-phone-screen > p {
  margin: 4px 0 18px;
  color: rgba(255,255,255,.78);
  text-align: center;
  font-size: 12px;
}

.ref-scan-frame {
  position: relative;
  height: 310px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255,255,255,.85);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 36px;
}

.ref-scan-frame::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 48%;
  height: 3px;
  background: #61f2bf;
  box-shadow: 0 0 16px #61f2bf;
}

.ref-scan-plant {
  position: relative;
  width: 230px;
  height: 240px;
}

.ref-scan-plant::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 8px;
  height: 225px;
  border-radius: 999px;
  background: #3d9a55;
  transform: rotate(6deg);
}

.ref-scan-plant i {
  position: absolute;
  width: 125px;
  height: 82px;
  border-radius: 80% 12% 80% 12%;
  background: linear-gradient(135deg, #7cc866, #1d733e);
  box-shadow: inset -10px -12px 22px rgba(0,0,0,.14);
}

.ref-scan-plant i:nth-child(1) { left: 5px; top: 20px; transform: rotate(-24deg); }
.ref-scan-plant i:nth-child(2) { right: -2px; top: 44px; transform: rotate(31deg) scale(.92); }
.ref-scan-plant i:nth-child(3) { left: 0; top: 112px; transform: rotate(-38deg) scale(.86); }
.ref-scan-plant i:nth-child(4) { right: 4px; top: 139px; transform: rotate(31deg) scale(.72); }
.ref-scan-plant i:nth-child(5) { left: 70px; top: 0; transform: rotate(63deg) scale(.62); }

.ref-scan-result {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: -16px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--ref-ink);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.ref-result-thumb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #e4f5d7, #9dc77e);
  color: #126348;
}

.ref-result-thumb svg {
  width: 42px;
  height: 42px;
}

.ref-scan-result div {
  display: grid;
  gap: 3px;
}

.ref-scan-result small {
  color: #279165;
  font-weight: 800;
}

.ref-scan-result strong {
  font-size: 17px;
}

.ref-scan-result em {
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf7ee;
  color: #087d5a;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ref-stats-section {
  position: relative;
  z-index: 3;
  margin-top: -32px;
}

.ref-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 20px;
  border: 1px solid var(--ref-line);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(18, 57, 43, .12);
}

.ref-stats > div {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--ref-line);
}

.ref-stats > div:last-child {
  border-right: 0;
}

.ref-stats span,
.ref-feature-grid article > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--ref-green-soft);
  color: var(--ref-green);
}

.ref-stats svg,
.ref-feature-grid svg {
  width: 25px;
  height: 25px;
}

.ref-stats p {
  display: grid;
  margin: 0;
  color: var(--ref-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.ref-stats strong {
  color: var(--ref-ink);
  font-size: 15px;
}

.ref-section {
  padding: 72px 0;
}

.ref-section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.ref-section-head > p,
.ref-kicker {
  margin: 0 0 9px;
  color: var(--ref-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ref-section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 45px);
  letter-spacing: -.045em;
}

.ref-section-head h2 span {
  color: var(--ref-green);
}

.ref-steps {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 14px;
  align-items: center;
}

.ref-step-arrow {
  color: var(--ref-green);
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}

.ref-step-card {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(120px, 1.1fr);
  align-items: center;
  gap: 16px;
  padding: 26px 20px 20px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f3f8f4);
  box-shadow: 0 10px 30px rgba(20, 61, 45, .06);
}

.ref-step-number {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ref-green);
  color: #ffffff;
  font-weight: 900;
}

.ref-step-copy {
  padding-top: 30px;
}

.ref-step-copy h3 {
  margin-bottom: 9px;
  font-size: 21px;
  letter-spacing: -.035em;
}

.ref-step-copy p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ref-step-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.ref-mini-phone {
  position: relative;
  width: 112px;
  height: 200px;
  display: grid;
  place-items: center;
  border: 5px solid #1b2520;
  border-radius: 24px;
  background: linear-gradient(180deg, #e7f5e8, #ffffff);
  color: var(--ref-green);
  box-shadow: 0 14px 25px rgba(20, 61, 45, .14);
}

.ref-mini-phone::before {
  content: "";
  position: absolute;
  top: 5px;
  width: 48px;
  height: 8px;
  border-radius: 10px;
  background: #1b2520;
}

.ref-mini-phone svg {
  width: 48px;
  height: 48px;
}

.ref-mini-phone-dark {
  background: linear-gradient(155deg, #17452e, #081b12);
  color: #75f0ad;
}

.ref-mini-plant {
  position: absolute;
  left: 33px;
  bottom: 35px;
  width: 45px;
  height: 60px;
  border-radius: 50% 14% 50% 14%;
  background: #56a75f;
  transform: rotate(-18deg);
}

.ref-scan-ring {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 2px solid #47e796;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(71,231,150,.48);
}

.ref-result-sheet {
  width: 136px;
  min-height: 190px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  padding: 15px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(20,61,45,.14);
}

.ref-result-sheet span {
  width: 106px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #dff0d7, #b6dcaf);
  color: var(--ref-green);
}

.ref-result-sheet span svg {
  width: 45px;
  height: 45px;
}

.ref-result-sheet strong {
  font-size: 13px;
}

.ref-result-sheet i {
  width: 85%;
  height: 7px;
  border-radius: 99px;
  background: #e7eee9;
}

.ref-result-sheet i:last-child {
  width: 58%;
}

.ref-features-section {
  padding-top: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.ref-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ref-feature-grid article {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--ref-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 9px 26px rgba(20, 61, 45, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ref-feature-grid article:hover {
  transform: translateY(-4px);
  border-color: #bcd7c7;
  box-shadow: 0 16px 32px rgba(20, 61, 45, .1);
}

.ref-feature-grid h3 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -.025em;
}

.ref-feature-grid p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ref-scan-showcase {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 38px 40px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 28px;
  background: linear-gradient(115deg, #edf5ef, #f8fcfa 58%, #eaf4ec);
}

.ref-showcase-art {
  position: relative;
  min-height: 380px;
}

.ref-showcase-identifier {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  margin: 0;
}

.ref-showcase-identifier-image {
  width: min(100%, 440px);
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(20, 61, 45, .16));
}

.ref-showcase-identifier figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  padding: 9px 14px;
  border: 1px solid rgba(8, 125, 90, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ref-green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(20, 61, 45, .1);
  backdrop-filter: blur(10px);
}

.ref-potted-plant {
  position: absolute;
  left: -42px;
  bottom: 5px;
  width: 160px;
  height: 270px;
}

.ref-potted-plant::before {
  content: "";
  position: absolute;
  left: 45px;
  bottom: 0;
  width: 90px;
  height: 105px;
  clip-path: polygon(8% 0, 92% 0, 80% 100%, 20% 100%);
  background: repeating-linear-gradient(90deg, #b59c70 0 3px, #d6c09a 3px 7px);
}

.ref-potted-plant b {
  position: absolute;
  left: 86px;
  bottom: 90px;
  width: 5px;
  height: 150px;
  border-radius: 99px;
  background: #397644;
}

.ref-potted-plant i {
  position: absolute;
  width: 82px;
  height: 45px;
  border-radius: 70% 12% 70% 12%;
  background: linear-gradient(135deg, #6fb663, #286e3d);
}

.ref-potted-plant i:nth-child(1) { left: 17px; top: 52px; transform: rotate(-26deg); }
.ref-potted-plant i:nth-child(2) { right: 0; top: 74px; transform: rotate(28deg); }
.ref-potted-plant i:nth-child(3) { left: 13px; top: 120px; transform: rotate(-36deg) scale(.84); }
.ref-potted-plant i:nth-child(4) { right: 3px; top: 138px; transform: rotate(31deg) scale(.76); }

.ref-showcase-phone {
  position: absolute;
  right: 5px;
  bottom: 0;
  width: 190px;
  padding: 7px;
  border-radius: 34px;
  background: #101a14;
  box-shadow: 0 22px 42px rgba(20,61,45,.24);
}

.ref-showcase-phone > div {
  min-height: 355px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding: 25px 12px 16px;
  border-radius: 27px;
  background: linear-gradient(155deg, #143c28, #06150d);
  color: #ffffff;
}

.ref-showcase-phone small {
  font-weight: 800;
}

.ref-showcase-leaf {
  position: relative;
  width: 145px;
  height: 205px;
  display: grid;
  place-items: center;
  border: 2px solid #55e897;
  border-radius: 24px;
  color: #88e692;
  background: radial-gradient(circle, rgba(75,169,89,.58), rgba(10,48,29,.3));
}

.ref-showcase-leaf svg {
  width: 105px;
  height: 105px;
}

.ref-showcase-phone em {
  width: 125px;
  height: 2px;
  margin-top: -122px;
  background: #8affb8;
  box-shadow: 0 0 10px #8affb8;
}

.ref-showcase-phone button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ref-green);
}

.ref-showcase-phone button svg {
  width: 22px;
  height: 22px;
}

.ref-showcase-copy {
  position: relative;
  z-index: 2;
}

.ref-showcase-copy h2,
.ref-care-showcase h2 {
  margin-bottom: 16px;
  font-size: clamp(29px, 3vw, 44px);
  letter-spacing: -.045em;
}

.ref-showcase-copy > p:not(.ref-kicker),
.ref-care-showcase > div > p:not(.ref-kicker) {
  color: var(--ref-muted);
  line-height: 1.7;
}

.ref-showcase-copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ref-showcase-copy li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  font-weight: 700;
}

.ref-showcase-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ref-green);
  color: #ffffff;
  font-size: 10px;
}

.ref-side-leaves {
  position: relative;
  height: 360px;
}

.ref-side-leaves::before {
  content: "";
  position: absolute;
  left: 46%;
  bottom: 0;
  width: 7px;
  height: 340px;
  border-radius: 99px;
  background: #4b7e52;
  transform: rotate(-10deg);
}

.ref-side-leaves i {
  position: absolute;
  width: 135px;
  height: 68px;
  border-radius: 80% 12% 80% 12%;
  background: linear-gradient(135deg, #87b68a, #37714d);
}

.ref-side-leaves i:nth-child(1) { left: -30px; top: 30px; transform: rotate(-25deg); }
.ref-side-leaves i:nth-child(2) { right: -48px; top: 92px; transform: rotate(30deg) scale(.9); }
.ref-side-leaves i:nth-child(3) { left: -48px; top: 175px; transform: rotate(-35deg) scale(.8); }
.ref-side-leaves i:nth-child(4) { right: -58px; top: 226px; transform: rotate(27deg) scale(.7); }

.ref-split-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 22px;
}

.ref-care-showcase {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(230px, 1.2fr);
  gap: 22px;
  align-items: center;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 26px;
}

.ref-care-showcase {
  background: linear-gradient(135deg, #f1f8f0, #e8f3ed);
}

.ref-care-showcase h2 {
  font-size: clamp(27px, 2.5vw, 38px);
}

.ref-care-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 40px rgba(20,61,45,.12);
}

.ref-care-card strong {
  font-size: 18px;
}

.ref-care-card small {
  margin-top: -8px;
  color: var(--ref-muted);
}

.ref-care-card p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--ref-line);
  color: var(--ref-muted);
  font-size: 12px;
}

.ref-care-card p span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ref-care-card p svg {
  width: 17px;
  height: 17px;
  color: var(--ref-green);
}

.ref-care-card p b {
  color: var(--ref-ink);
}

.ref-categories-section {
  padding-top: 32px;
}

.ref-category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.ref-category-grid a {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #f7faf7;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ref-category-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(20,61,45,.1);
}

.ref-cat-art {
  height: 112px;
  display: block;
  overflow: hidden;
  background: #e8f2ed;
}

.ref-cat-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ref-category-grid a:hover .ref-cat-art img {
  transform: scale(1.055);
}

.ref-category-grid strong {
  display: block;
  min-height: 52px;
  padding: 13px 7px;
  font-size: 12px;
  line-height: 1.3;
}

/* Plantiqa wordmark */
.brand-logo-image {
  display: block;
  width: 148px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.footer-logo-image {
  display: block;
  width: 164px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  padding: 9px 13px;
  border-radius: 12px;
  background: #ffffff;
}

@media (max-width: 560px) {
  .brand-logo-image {
    width: 126px;
  }
}

/* Global download panel displayed immediately before every site footer */
.global-download-cta-section {
  padding: 74px 18px;
  background: #ffffff;
}

.global-download-cta-section .container {
  max-width: 1220px;
}

.global-download-cta {
  position: relative;
  overflow: hidden;
  padding: 64px 34px 58px;
  border: 3px solid #177f73;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 167, 145, .08), transparent 35%),
    #ffffff;
  text-align: center;
}

.global-download-cta::before,
.global-download-cta::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(23, 127, 115, .12);
  border-radius: 50%;
  pointer-events: none;
}

.global-download-cta::before {
  top: -112px;
  left: -70px;
}

.global-download-cta::after {
  right: -88px;
  bottom: -128px;
}

.global-download-logo {
  display: block;
  width: 214px;
  height: auto;
  margin: 0 auto 28px;
}

.global-download-cta h2 {
  max-width: 920px;
  margin: 0 auto 20px;
  color: #202523;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.global-download-cta > p {
  margin: 0 auto 27px;
  color: #737a77;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
}

.global-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 31px;
  border-radius: 999px;
  background: #188a7c;
  box-shadow: 0 12px 25px rgba(24, 138, 124, .16);
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.global-download-button:hover {
  background: #116e64;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(24, 138, 124, .22);
}

.global-download-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.global-download-features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 30px 0 32px;
  padding: 0;
  list-style: none;
  color: #535d59;
  font-size: 17px;
  font-weight: 700;
}

.global-download-features li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.global-download-features li::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 5px solid #188a7c;
  border-radius: 50%;
  box-sizing: border-box;
}

.global-download-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.global-cta-avatars {
  display: flex;
  padding-left: 12px;
}

.global-cta-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -12px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: rgba(20, 52, 47, .7);
  box-shadow: 0 4px 13px rgba(24, 70, 60, .16);
}

.global-cta-avatar svg {
  width: 44px;
  height: 44px;
  transform: translateY(5px);
}

.global-cta-avatar.avatar-one { background: #b9d9c8; color: #285f51; }
.global-cta-avatar.avatar-two { background: #f2d38d; color: #8a5c28; }
.global-cta-avatar.avatar-three { background: #eab7aa; color: #8c4f46; }
.global-cta-avatar.avatar-four { background: #b6d6dd; color: #345f69; }
.global-cta-avatar.avatar-five { background: #d3c0e8; color: #644b7c; }
.global-cta-avatar.avatar-six { background: #dce69c; color: #65762b; }

.global-download-rating {
  display: grid;
  gap: 3px;
  text-align: left;
}

.global-download-stars {
  color: #f5a019;
  font-size: 27px;
  letter-spacing: 2px;
  line-height: 1;
}

.global-download-rating strong {
  color: #505854;
  font-size: 15px;
}

@media (max-width: 720px) {
  .global-download-cta-section {
    padding: 44px 14px;
  }

  .global-download-cta {
    padding: 48px 20px 42px;
    border-width: 2px;
    border-radius: 18px;
  }

  .global-download-logo {
    width: 176px;
    margin-bottom: 24px;
  }

  .global-download-cta h2 {
    font-size: clamp(32px, 10vw, 43px);
  }

  .global-download-button {
    width: 100%;
    max-width: 310px;
  }

  .global-download-features {
    align-items: flex-start;
    flex-direction: column;
    width: max-content;
    max-width: 100%;
    margin: 28px auto 32px;
    text-align: left;
  }

  .global-download-proof {
    flex-direction: column;
    gap: 16px;
  }

  .global-download-rating {
    text-align: center;
  }
}

/* 2026-06-20 production UX and performance upgrade */
.footer-logo-image {
  width: 154px;
  max-height: 44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.global-download-cta-section {
  padding: 46px clamp(20px, 4vw, 58px);
}

.global-download-cta-section .container {
  max-width: 1080px;
}

.global-download-cta {
  padding: 42px clamp(22px, 4vw, 46px) 38px;
  border-width: 2px;
  border-radius: 18px;
}

.global-download-logo {
  width: 164px;
  margin-bottom: 18px;
}

.global-download-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(29px, 3.5vw, 43px);
}

.global-download-cta > p {
  margin-bottom: 21px;
  font-size: clamp(15px, 1.4vw, 18px);
}

.global-download-button {
  min-height: 52px;
  padding: 12px 27px;
  font-size: 16px;
}

.global-download-features {
  margin: 23px 0 25px;
  font-size: 15px;
}

.global-cta-avatars img {
  width: 46px;
  height: 46px;
  margin-left: -11px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 13px rgba(24, 70, 60, .16);
}

.global-cta-avatars img:first-child {
  margin-left: 0;
}

.ref-testimonials article > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.ref-testimonials article > div img {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.ref-testimonials article > div b,
.ref-testimonials article > div strong {
  grid-column: 2;
}

.ref-testimonials article > div b {
  line-height: 1;
}

.plant-share-rail a svg,
.plant-share-rail button svg {
  width: 18px;
  height: 18px;
}

.plant-share-facebook { color: #1877f2 !important; }
.plant-share-x { color: #111 !important; }
.plant-share-whatsapp { color: #128c7e !important; }

.plant-share-rail a:hover {
  color: #fff !important;
}

.aloe-faq-section > .container,
.faq-page .section > .container {
  padding-left: clamp(22px, 4vw, 58px);
  padding-right: clamp(22px, 4vw, 58px);
}

.pi-filter-tip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 0 18px;
  padding: 13px 15px;
  border: 1px solid #cce7df;
  border-radius: 14px;
  background: #f2fbf7;
  color: #49645c;
  font-size: 14px;
  line-height: 1.5;
}

.pi-filter-tip svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: #188a7c;
}

.pi-load-sentinel {
  min-height: 54px;
  display: grid;
  place-items: center;
  margin-top: 26px;
  color: #61746e;
  font-size: 14px;
  font-weight: 750;
}

.pi-load-sentinel.is-loading::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid #d3e8e2;
  border-top-color: #188a7c;
  border-radius: 50%;
  animation: pi-spin .7s linear infinite;
}

@keyframes pi-spin { to { transform: rotate(360deg); } }

.pi-card-visual .profile-plant-art,
.related-plant-visual .profile-plant-art {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scale(.46);
  transform-origin: center bottom;
}

.plant-related-section {
  padding: 64px 0 72px;
  background: #f4faf7;
}

.plant-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.plant-related-head h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.plant-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.related-plant-card,
.related-discover-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e8e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 74, 60, .07);
}

.related-plant-card {
  color: #172b26;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.related-plant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(21, 74, 60, .12);
}

.related-plant-visual {
  position: relative;
  height: 170px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--profile-start), var(--profile-end));
}

.related-plant-copy {
  padding: 16px;
}

.related-plant-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.related-plant-copy span {
  color: #66746f;
  font-size: 13px;
}

.related-discover-card {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 25px;
  background: linear-gradient(145deg, #0f6f62, #184b42);
  color: #fff;
}

.related-discover-card h3 {
  color: #fff;
  font-size: 25px;
}

.related-discover-card p {
  color: #d7eeea;
  line-height: 1.55;
}

.related-discover-card a {
  display: inline-flex;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: #0f6f62;
  font-weight: 850;
}

.plant-upload-section {
  padding: 68px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 35%, rgba(24,138,124,.1), transparent 24%),
    radial-gradient(circle at 85% 70%, rgba(24,138,124,.08), transparent 25%),
    #e7faf5;
}

.plant-upload-heading {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.plant-upload-heading h2 {
  font-size: clamp(35px, 4vw, 54px);
}

.plant-upload-heading p {
  color: #4c615b;
  font-size: 18px;
}

.plant-upload-card {
  max-width: 670px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(21, 92, 73, .12);
}

.plant-upload-dropzone {
  display: grid;
  justify-items: center;
  gap: 15px;
  min-height: 290px;
  padding: 36px 24px;
  border: 2px dashed #8cd9c6;
  border-radius: 22px;
  background: #fbfffd;
  text-align: center;
  cursor: pointer;
}

.plant-upload-dropzone.is-dragging {
  border-color: #137b6d;
  background: #edf9f5;
}

.plant-upload-icon {
  width: 68px;
  height: 68px;
  color: #188a7c;
}

.plant-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 23px;
  border-radius: 999px;
  background: #188a7c;
  color: #fff;
  font-weight: 850;
}

.plant-upload-note {
  margin: 7px 0 0;
  padding: 13px 15px;
  border: 1px dashed #8cd9c6;
  border-radius: 13px;
  color: #66736f;
  font-size: 14px;
}

.plant-upload-preview {
  display: none;
  width: 100%;
  max-height: 310px;
  border-radius: 18px;
  object-fit: contain;
}

.plant-upload-card.has-image .plant-upload-preview {
  display: block;
}

.plant-id-result {
  display: none;
  margin-top: 24px;
  padding: 23px;
  border: 1px solid #d4e9e3;
  border-radius: 20px;
  background: #f8fcfa;
}

.plant-id-result.is-visible {
  display: block;
}

.plant-id-result h3 {
  margin-bottom: 5px;
  font-size: 25px;
}

.plant-result-status {
  color: #188a7c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plant-result-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.plant-result-facts span {
  padding: 11px;
  border-radius: 12px;
  background: #fff;
  color: #50615c;
  font-size: 13px;
}

.plant-id-result a {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 999px;
  background: #188a7c;
  color: #fff;
  font-weight: 850;
}

@media (max-width: 1000px) {
  .plant-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .global-download-cta-section { padding: 34px 18px; }
  .global-download-cta { padding: 34px 18px 31px; }
  .global-download-cta h2 { font-size: 31px; }
  .plant-related-section .container { padding-inline: 20px; }
  .plant-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-discover-card { grid-column: 1 / -1; }
  .plant-upload-section .container { padding-inline: 18px; }
  .plant-upload-card { padding: 19px; border-radius: 22px; }
  .plant-upload-dropzone { min-height: 250px; padding: 28px 15px; }
  .plant-result-facts { grid-template-columns: 1fr; }
}

.ref-audience-section {
  padding-top: 28px;
}

.ref-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ref-audience-grid article {
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: center;
  gap: 15px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbf8, #edf5ef);
}

.ref-audience-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.ref-audience-grid p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ref-audience-plant {
  position: relative;
  width: 150px;
  height: 170px;
}

.ref-audience-plant::before {
  content: "";
  position: absolute;
  left: 45px;
  bottom: 0;
  width: 72px;
  height: 68px;
  clip-path: polygon(7% 0, 93% 0, 82% 100%, 18% 100%);
  background: #d1ba8a;
}

.ref-audience-plant::after {
  content: "";
  position: absolute;
  left: 79px;
  bottom: 58px;
  width: 5px;
  height: 90px;
  border-radius: 99px;
  background: #49784b;
}

.ref-audience-plant i {
  position: absolute;
  z-index: 2;
  width: 75px;
  height: 38px;
  border-radius: 70% 12% 70% 12%;
  background: #5c9758;
}

.ref-audience-plant i:nth-child(1) { left: 12px; top: 34px; transform: rotate(-25deg); }
.ref-audience-plant i:nth-child(2) { right: 0; top: 61px; transform: rotate(28deg); }
.ref-audience-plant i:nth-child(3) { left: 18px; top: 99px; transform: rotate(-35deg) scale(.75); }

.ref-audience-plant-wide {
  transform: scale(.9);
}

.ref-testimonials-section {
  padding-top: 26px;
  background: #fbfdfb;
}

.ref-testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ref-testimonials article {
  position: relative;
  min-height: 215px;
  display: grid;
  align-content: space-between;
  padding: 26px;
  border: 1px solid var(--ref-line);
  border-radius: 20px;
  background: #ffffff;
}

.ref-testimonials article > span {
  position: absolute;
  left: 20px;
  top: 12px;
  color: var(--ref-green);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.ref-testimonials article > p {
  margin: 24px 0 20px;
  color: #45534e;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.ref-testimonials article > div {
  display: grid;
  gap: 6px;
}

.ref-testimonials b {
  color: #f3ad16;
  letter-spacing: .08em;
}

.ref-testimonials strong {
  font-size: 13px;
}

.ref-final-section {
  padding: 0 0 70px;
  background: #fbfdfb;
}

.ref-final-cta {
  min-height: 170px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 36px 24px 22px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 100%, rgba(138,210,119,.36), transparent 30%),
    linear-gradient(115deg, #087d5a, #069a76);
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(8,91,71,.22);
}

.ref-final-phone {
  align-self: end;
  height: 145px;
  display: grid;
  place-items: center;
  border: 7px solid #14352b;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f8fbf7;
  color: var(--ref-green);
}

.ref-final-phone span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ref-green-soft);
}

.ref-final-phone svg {
  width: 44px;
  height: 44px;
}

.ref-final-cta > div:nth-child(2) {
  display: grid;
  gap: 8px;
}

.ref-final-cta p {
  margin: 0;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.15;
  font-weight: 900;
}

.ref-final-cta small {
  max-width: 580px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.55;
}

.ref-final-cta > a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--ref-green);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(0,0,0,.12);
}

.ref-final-cta > a svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .ref-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 34px;
  }

  .ref-hero-device {
    min-height: 560px;
  }

  .ref-phone {
    width: min(340px, 90%);
  }

  .ref-phone-screen {
    min-height: 550px;
  }

  .ref-scan-frame {
    height: 270px;
  }

  .ref-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ref-step-arrow {
    display: none;
  }

  .ref-step-card {
    min-height: 240px;
    grid-template-columns: 1fr 220px;
  }

  .ref-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ref-scan-showcase {
    grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
    gap: 34px;
  }

  .ref-side-leaves {
    display: none;
  }

  .ref-split-showcase {
    grid-template-columns: 1fr;
  }

  .ref-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ref-audience-grid {
    grid-template-columns: 1fr;
  }

  .ref-testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .ref-hero {
    min-height: auto;
    background-position: 44% center;
  }

  .ref-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 60px;
  }

  .ref-hero-copy {
    max-width: 650px;
  }

  .ref-hero-device {
    min-height: 570px;
  }

  .ref-hero-device-image {
    width: min(100%, 420px);
    max-height: 560px;
  }

  .ref-phone {
    width: min(360px, 82vw);
  }

  .ref-trust-row {
    max-width: 620px;
  }

  .ref-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ref-stats > div:nth-child(2) {
    border-right: 0;
  }

  .ref-stats > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--ref-line);
  }

  .ref-scan-showcase {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .ref-showcase-art {
    min-height: 390px;
  }

  .ref-showcase-identifier,
  .ref-showcase-identifier-image {
    max-height: 390px;
  }

  .ref-care-showcase {
    grid-template-columns: 1fr;
  }

  .ref-audience-grid article {
    grid-template-columns: 1fr 170px;
  }

  .ref-final-cta {
    grid-template-columns: 125px 1fr;
  }

  .ref-final-cta > a {
    grid-column: 2;
    width: max-content;
  }
}

@media (max-width: 620px) {
  .ref-hero-grid {
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .ref-hero-copy h1 {
    font-size: 44px;
  }

  .ref-hero-lead {
    font-size: 17px;
  }

  .ref-primary-cta {
    min-height: 76px;
    grid-template-columns: 48px 1fr 26px;
    gap: 12px;
    border-radius: 22px;
    font-size: 19px;
  }

  .ref-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .ref-cta-icon svg {
    width: 34px;
    height: 34px;
  }

  .ref-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ref-trust-item {
    padding: 9px 12px;
    border: 1px solid rgba(8,125,90,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.52);
  }

  .ref-hero-device {
    min-height: 510px;
  }

  .ref-hero-device-image {
    width: min(100%, 350px);
    max-height: 500px;
  }

  .ref-phone {
    width: min(330px, 88vw);
  }

  .ref-phone-screen {
    min-height: 490px;
  }

  .ref-scan-frame {
    height: 230px;
  }

  .ref-scan-plant {
    transform: scale(.8);
  }

  .ref-stats {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .ref-stats > div {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--ref-line);
  }

  .ref-stats > div:last-child {
    border-bottom: 0;
  }

  .ref-section {
    padding: 54px 0;
  }

  .ref-section-head {
    margin-bottom: 26px;
  }

  .ref-step-card {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .ref-step-copy {
    padding-top: 0;
  }

  .ref-step-visual {
    min-height: 205px;
  }

  .ref-feature-grid {
    grid-template-columns: 1fr;
  }

  .ref-feature-grid article {
    padding: 20px;
  }

  .ref-scan-showcase {
    padding: 24px 20px;
  }

  .ref-showcase-art {
    min-height: 350px;
  }

  .ref-showcase-identifier {
    min-height: 340px;
  }

  .ref-showcase-identifier-image {
    width: min(100%, 360px);
    max-height: 340px;
  }

  .ref-showcase-identifier figcaption {
    left: 8px;
    bottom: 8px;
  }

  .ref-potted-plant {
    left: -55px;
    transform: scale(.78);
    transform-origin: bottom left;
  }

  .ref-showcase-phone {
    right: 50%;
    transform: translateX(55%);
  }

  .ref-care-showcase {
    padding: 24px 20px;
  }

  .ref-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ref-audience-grid article {
    grid-template-columns: 1fr;
    min-height: 310px;
  }

  .ref-audience-plant {
    justify-self: center;
  }

  .ref-testimonials {
    grid-template-columns: 1fr;
  }

  .ref-final-section {
    padding-bottom: 48px;
  }

  .ref-final-cta {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    text-align: center;
  }

  .ref-final-phone {
    display: none;
  }

  .ref-final-cta > a {
    grid-column: auto;
    width: 100%;
    justify-content: center;
  }
}

/* Supplied homepage imagery */
.ref-step-image {
  width: 100%;
  height: 230px;
  display: block;
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(20, 61, 45, .1));
}

.ref-scan-showcase {
  grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  background-image:
    linear-gradient(90deg, rgba(241, 247, 242, .08), rgba(248, 252, 250, .2)),
    url("../images/homepage/scan-plants-background.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ref-showcase-art {
  z-index: 1;
}

.ref-showcase-copy {
  padding: 20px 0;
  border-radius: 22px;
  background: rgba(248, 252, 250, .6);
  backdrop-filter: blur(3px);
}

.ref-audience-grid .ref-audience-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 28px;
  background-color: #f7faf7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ref-audience-grid .ref-audience-card > div {
  position: relative;
  z-index: 1;
  max-width: 48%;
}

.ref-audience-beginners {
  background-image: url("../images/homepage/for-beginners.webp") !important;
}

.ref-audience-gardeners {
  background-image: url("../images/homepage/for-gardeners.webp") !important;
}

.ref-audience-owners {
  background-image: url("../images/homepage/for-home-plant-owners.webp") !important;
}

@media (max-width: 1100px) {
  .ref-scan-showcase {
    grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr);
    gap: 34px;
  }

  .ref-audience-grid .ref-audience-card {
    min-height: 250px;
  }
}

@media (max-width: 820px) {
  .ref-scan-showcase {
    grid-template-columns: 1fr;
    background-position: center;
  }

  .ref-showcase-copy {
    padding: 24px;
    background: rgba(248, 252, 250, .88);
  }

  .ref-audience-grid .ref-audience-card {
    min-height: 230px;
  }
}

@media (max-width: 620px) {
  .ref-step-image {
    height: 270px;
  }

  .ref-scan-showcase {
    background-position: center;
  }

  .ref-audience-grid .ref-audience-card {
    min-height: 270px;
    align-items: flex-start;
    padding: 24px 22px;
    background-position: 60% center;
  }

  .ref-audience-grid .ref-audience-card > div {
    max-width: 62%;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(4px);
  }
}

/* Shared UX refinements and app-download pattern — 2026-06-20 */

/* A smaller homepage hero action, retaining the existing typography. */
.ref-primary-cta {
  width: min(100%, 360px) !important;
  min-height: 68px !important;
  grid-template-columns: 46px minmax(0, 1fr) 24px !important;
  gap: 13px !important;
  padding: 9px 18px 9px 11px !important;
  border-radius: 22px !important;
  font-size: 19px !important;
}

.ref-cta-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 15px !important;
}

.ref-cta-icon svg {
  width: 32px !important;
  height: 32px !important;
}

.ref-cta-arrow {
  width: 23px !important;
  height: 23px !important;
}

/* Keep header interactions quiet and predictable. */
.site-nav > a,
.site-nav > .nav-dropdown > .nav-dropdown-trigger,
.pi-page .site-nav > a,
.pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: color .18s ease !important;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav > .nav-dropdown > .nav-dropdown-trigger:hover,
.site-nav > .nav-dropdown > .nav-dropdown-trigger:focus-visible,
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.pi-page .site-nav > a:hover,
.pi-page .site-nav > a:focus-visible {
  color: var(--primary) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.header-tools {
  display: flex;
  align-items: center;
}

.header-tools .header-cta {
  order: 1;
}

.header-tools .language-switcher {
  order: 2;
}

/* The Plants visual language now carries through every internal page hero. */
body:not(.home-page) .page-hero,
body:not(.home-page) .pi-hero,
body:not(.home-page) .plant-detail-hero,
body:not(.home-page) .hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(46px, 6vw, 78px);
  padding-bottom: clamp(46px, 6vw, 78px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .46), transparent 32%),
    linear-gradient(118deg, #f2ffe5 0%, #d9fff0 48%, #cffff0 100%) !important;
}

body:not(.home-page) .page-hero::after,
body:not(.home-page) .plant-detail-hero::after,
body:not(.home-page) .hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(11, 125, 87, .12);
  border-radius: 48% 52% 55% 45%;
  pointer-events: none;
}

body:not(.home-page) .page-hero > .container,
body:not(.home-page) .plant-detail-hero > .container,
body:not(.home-page) .hero > .container {
  position: relative;
  z-index: 1;
}

.pi-category-hero .pi-search,
.plant-identifier-tool-hero .pi-search,
.pi-identify-btn,
.pi-card-save,
.pi-sticky-cta {
  display: none !important;
}

.plant-identifier-tool-hero .pi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.plant-identifier-tool-hero .pi-hero-actions .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(8, 112, 82, .2);
  border-radius: 14px;
  color: #096f58;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(14, 85, 60, .08);
}

.plant-identifier-tool-hero .pi-hero-actions .btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #168c75, #08705e);
}

/* Main Plants search is intentionally a single clean field. */
body.pi-page .pi-hero:not(.pi-category-hero):not(.plant-identifier-tool-hero) .pi-search {
  display: block;
  max-width: 620px;
}

body.pi-page .pi-hero:not(.pi-category-hero):not(.plant-identifier-tool-hero) .pi-search-field {
  width: 100%;
}

/* Plant detail gallery: large image above, compact thumbnails below. */
.plant-detail-page .plant-detail-grid {
  grid-template-columns: minmax(360px, 42%) minmax(0, 1fr) !important;
  gap: clamp(30px, 4vw, 56px) !important;
}

.plant-detail-page .plant-gallery {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  max-width: 100% !important;
}

.plant-detail-page .plant-detail-main-visual {
  width: 100% !important;
  height: 480px !important;
  min-height: 480px !important;
}

.plant-detail-page .plant-thumbs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.plant-detail-page .plant-thumb-open,
.plant-detail-page .plant-thumb-visual {
  width: 100% !important;
}

.plant-detail-page .plant-thumb-visual {
  height: 118px !important;
  min-height: 118px !important;
}

/* Six care facts are intentionally compact and easy to scan. */
.plant-detail-page .plant-fact-grid {
  grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
  gap: 16px 20px !important;
}

.plant-detail-page .plant-fact {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  column-gap: 12px !important;
}

.plant-detail-page .plant-fact .icon {
  width: 42px !important;
  height: 42px !important;
  padding: 9px !important;
  border-radius: 14px !important;
}

.plant-detail-page .plant-fact span {
  font-size: 13px !important;
}

.plant-detail-page .plant-fact strong {
  font-size: 15px !important;
}

/* Remove the artificial left column and reserved icon gutter in Aloe topics. */
.plant-detail-page .aloe-source-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
}

.plant-detail-page .aloe-source-intro {
  max-width: 880px !important;
}

.plant-detail-page .aloe-care-topics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.plant-detail-page .aloe-care-topic {
  display: block !important;
  min-height: 0 !important;
  padding: 24px !important;
}

.plant-detail-page .aloe-care-topic .plant-topic-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
}

.plant-detail-page .aloe-care-topic p {
  margin: 0 !important;
  max-width: none !important;
}

/* Reusable download modules adapted from the supplied CTA-heavy reference. */
.plant-app-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid rgba(10, 112, 76, .14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 94% 5%, rgba(255, 255, 255, .54), transparent 31%),
    linear-gradient(120deg, #f2fae7, #d8f7e7);
  box-shadow: 0 18px 44px rgba(23, 79, 55, .08);
}

.plant-app-cta::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -78px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(7, 118, 79, .14);
  border-radius: 50%;
}

.plant-app-cta-mark {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #087b59;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 24px rgba(20, 93, 65, .1);
}

.plant-app-cta-mark svg {
  width: 32px;
  height: 32px;
}

.plant-app-cta-copy {
  position: relative;
  z-index: 1;
}

.plant-app-cta-copy > span {
  display: block;
  margin-bottom: 4px;
  color: #087b59;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.plant-app-cta h2 {
  margin: 0;
  color: #123b30;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.15;
}

.plant-app-cta p {
  max-width: 660px;
  margin: 7px 0 0;
  color: #52685f;
  font-size: 14px;
  line-height: 1.55;
}

.plant-app-cta > a,
.footer-download-app {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  color: #fff !important;
  background: linear-gradient(135deg, #168c75, #08705e);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(7, 100, 75, .19);
  transition: transform .18s ease, box-shadow .18s ease;
}

.plant-app-cta > a:hover,
.footer-download-app:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(7, 100, 75, .24);
}

.plant-app-cta > a svg {
  width: 18px;
  height: 18px;
}

.pi-results > .plant-app-cta {
  margin: 22px 0 28px;
}

.plant-detail-grid + .plant-app-cta {
  margin-top: 34px;
}

.article-card .plant-app-cta {
  margin: 30px 0;
}

.plant-app-cta-section {
  padding: 18px 0 68px;
}

.plant-app-cta--final {
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 90% 20%, rgba(86, 204, 150, .32), transparent 30%),
    linear-gradient(120deg, #0b5549, #087b65);
}

.plant-app-cta--final .plant-app-cta-mark {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.plant-app-cta--final .plant-app-cta-copy > span,
.plant-app-cta--final h2,
.plant-app-cta--final p {
  color: #fff;
}

.plant-app-cta--final p {
  opacity: .82;
}

.plant-app-cta--final > a {
  color: #075f4d !important;
  background: #fff;
}

/* Footer button and removal of the old sitemap action. */
.site-footer .footer-bottom a[href*="sitemap"] {
  display: none !important;
}

.footer-download-app {
  width: max-content;
  margin-top: 20px;
}

.footer-download-app > svg:first-child {
  width: 20px;
  height: 20px;
}

.footer-download-app .footer-download-arrow {
  width: 16px;
  height: 16px;
}

/* Vertical quick-share rail for every current and future plant detail page. */
.plant-share-rail {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  transform: translateY(-50%);
  border: 1px solid rgba(10, 83, 63, .13);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(14, 61, 47, .14);
  backdrop-filter: blur(12px);
}

.plant-share-label {
  color: #587069;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.plant-share-rail a,
.plant-share-rail button {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #0b745b;
  background: #edf8f2;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.plant-share-rail a:hover,
.plant-share-rail button:hover {
  color: #fff;
  background: #087b61;
  transform: translateX(-2px);
}

.plant-share-rail button svg {
  width: 17px;
  height: 17px;
}

.plant-share-rail a::before,
.plant-share-rail button::before {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: calc(100% + 9px);
  width: max-content;
  padding: 6px 8px;
  transform: translate(5px, -50%);
  border-radius: 8px;
  color: #fff;
  background: #143d32;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.plant-share-rail a:hover::before,
.plant-share-rail button:hover::before,
.plant-share-rail a:focus-visible::before,
.plant-share-rail button:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 1180px) {
  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    align-items: center;
  }

  .plant-detail-page .plant-detail-grid {
    grid-template-columns: minmax(320px, 40%) minmax(0, 1fr) !important;
  }

  .plant-detail-page .plant-fact-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .plant-detail-page .plant-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .plant-detail-page .plant-gallery {
    max-width: 700px !important;
  }

  .plant-app-cta {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .plant-app-cta > a {
    grid-column: 2;
    width: max-content;
  }

  .plant-detail-page .aloe-care-topics {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .ref-primary-cta {
    width: min(100%, 330px) !important;
    min-height: 62px !important;
    grid-template-columns: 42px minmax(0, 1fr) 21px !important;
    gap: 10px !important;
    font-size: 17px !important;
  }

  .ref-cta-icon {
    width: 42px !important;
    height: 42px !important;
  }

  .ref-cta-icon svg {
    width: 29px !important;
    height: 29px !important;
  }

  .site-header.is-menu-open .header-tools,
  .pi-page .site-header.is-menu-open .header-tools {
    flex-wrap: wrap;
  }

  .site-header.is-menu-open .header-tools .header-cta {
    order: 1;
  }

  .site-header.is-menu-open .header-tools .language-switcher {
    order: 2;
  }

  body:not(.home-page) .page-hero,
  body:not(.home-page) .pi-hero,
  body:not(.home-page) .plant-detail-hero,
  body:not(.home-page) .hero {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .plant-detail-page .plant-detail-main-visual {
    height: 390px !important;
    min-height: 390px !important;
  }

  .plant-detail-page .plant-thumb-visual {
    height: 104px !important;
    min-height: 104px !important;
  }

  .plant-detail-page .plant-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .plant-detail-page .plant-fact {
    grid-template-columns: 40px minmax(0, 1fr) !important;
  }

  .plant-detail-page .plant-fact .icon {
    width: 36px !important;
    height: 36px !important;
    padding: 7px !important;
  }

  .plant-app-cta {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .plant-app-cta-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .plant-app-cta-mark svg {
    width: 25px;
    height: 25px;
  }

  .plant-app-cta h2 {
    font-size: 21px;
  }

  .plant-app-cta > a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .plant-share-rail {
    right: 6px;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 16px;
  }

  .plant-share-rail a,
  .plant-share-rail button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 11px;
  }

  .plant-share-label {
    font-size: 8px;
  }
}

/* Requested plant-page restoration — 2026-06-20 */
.ref-primary-cta {
  width: min(100%, 215px) !important;
  min-height: 54px !important;
  grid-template-columns: 34px minmax(0, 1fr) 17px !important;
  gap: 8px !important;
  padding: 7px 13px 7px 9px !important;
  border-radius: 17px !important;
  font-size: 14px !important;
}

.ref-cta-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
}

.ref-cta-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.ref-cta-arrow {
  width: 17px !important;
  height: 17px !important;
}

/* Individual plant pages keep their original, quieter hero backgrounds. */
body.plant-detail-page .plant-detail-hero {
  background: #ffffff !important;
  background-image: none !important;
}

body.shared-plant-detail-page .page-hero {
  background: var(--soft) !important;
  background-image: none !important;
}

body.plant-detail-page .plant-detail-hero::after,
body.shared-plant-detail-page .page-hero::after {
  display: none !important;
}

.plant-care-plan-btn {
  min-width: 202px;
  min-height: 52px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #168c75, #08705e);
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 13px 28px rgba(7, 100, 75, .2);
}

.plant-care-plan-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(7, 100, 75, .25);
}

.plant-care-plan-btn svg {
  width: 19px;
  height: 19px;
}

/* Restore the Growing Basics intro and care cards as two neighboring sections. */
.plant-detail-page .aloe-source-layout {
  grid-template-columns: minmax(280px, 30%) minmax(0, 1fr) !important;
  gap: clamp(34px, 4vw, 58px) !important;
  align-items: start !important;
}

.plant-detail-page .aloe-source-intro {
  position: sticky !important;
  top: 96px !important;
  max-width: 390px !important;
}

.plant-detail-page .aloe-care-topics {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

@media (max-width: 900px) {
  .plant-detail-page .aloe-source-layout {
    grid-template-columns: 1fr !important;
  }

  .plant-detail-page .aloe-source-intro {
    position: static !important;
    max-width: 760px !important;
  }
}

@media (max-width: 640px) {
  .ref-primary-cta {
    width: min(100%, 205px) !important;
    min-height: 52px !important;
    grid-template-columns: 32px minmax(0, 1fr) 16px !important;
    font-size: 13px !important;
  }

  .ref-cta-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .plant-detail-top {
    grid-template-columns: 1fr;
  }

  .plant-care-plan-btn {
    width: max-content;
    min-width: 190px;
  }
}

/* Imported plant profiles */
.imported-plant-hero {
  padding-block: clamp(52px, 7vw, 82px);
}

.imported-plant-section {
  background: #f7faf7;
}

.imported-plant-article {
  border-radius: 26px;
}

.imported-plant-article > h2 {
  margin-top: 42px;
  font-size: clamp(25px, 3vw, 34px);
}

.imported-plant-article > p,
.imported-plant-article > ul {
  max-width: 820px;
}

.imported-plant-identity {
  display: grid;
  grid-template-columns: minmax(210px, 32%) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.imported-plant-identity h2 {
  margin: 6px 0 16px;
}

.imported-plant-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 82%, rgba(255,255,255,.92) 0 11%, transparent 12%),
    linear-gradient(145deg, #e4f2e5, #f7f3dd);
  box-shadow: inset 0 0 0 1px rgba(20, 103, 79, .08);
}

.imported-plant-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 9px;
  height: 180px;
  border-radius: 20px;
  background: #356d45;
  transform: translateX(-50%);
}

.imported-plant-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 116px;
  height: 65px;
  border-radius: 14px 14px 34px 34px;
  background: #b97749;
  transform: translateX(-50%);
  box-shadow: inset 0 10px rgba(116, 66, 39, .12);
}

.imported-plant-visual span {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 122px;
  width: 92px;
  height: 56px;
  border-radius: 90% 12% 90% 12%;
  background: linear-gradient(135deg, #63a968, #276e49);
  transform-origin: 0 100%;
  box-shadow: inset -10px -6px rgba(5, 66, 45, .12);
}

.imported-plant-visual span:nth-child(1) { transform: rotate(-78deg) translateX(4px); }
.imported-plant-visual span:nth-child(2) { transform: rotate(-38deg) translateX(10px); }
.imported-plant-visual span:nth-child(3) { transform: rotate(4deg) translateX(8px); }
.imported-plant-visual span:nth-child(4) { transform: rotate(43deg) translateX(4px); }
.imported-plant-visual span:nth-child(5) { transform: rotate(79deg); }

.imported-fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.imported-fact-grid > div {
  min-height: 112px;
  border-radius: 18px;
  background: #f6faf6;
}

.imported-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.imported-topic-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfdfb;
  font-weight: 750;
}

.related-plant-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.related-plant-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.info-page-sidebar .button {
  margin-top: 12px;
  padding: 13px 15px;
  border: 0;
  color: #fff;
  text-align: center;
}

/* Company, policy, and support pages */
.info-page-hero .info-page-updated {
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}

.info-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.info-page-article {
  padding: clamp(26px, 5vw, 54px);
  border-radius: 26px;
}

.info-page-article section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.info-page-article h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
}

.info-page-article h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.info-page-article p,
.info-page-article li {
  color: var(--muted);
  line-height: 1.75;
}

.info-page-article li + li {
  margin-top: 8px;
}

.info-page-grid,
.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-page-grid article,
.contact-option-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbf8;
}

.contact-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-option-grid article > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 900;
}

.contact-option-grid h2 {
  font-size: 24px;
}

.contact-option-grid .button {
  display: inline-flex;
  width: auto;
  margin-top: 8px;
  color: #fff;
}

@media (max-width: 900px) {
  .imported-plant-identity,
  .info-page-layout {
    grid-template-columns: 1fr;
  }

  .imported-plant-visual {
    min-height: 280px;
  }

  .imported-fact-grid,
  .imported-topic-list,
  .info-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-page-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .imported-fact-grid,
  .imported-topic-list,
  .related-plant-links,
  .info-page-grid,
  .contact-option-grid {
    grid-template-columns: 1fr;
  }

  .imported-plant-article {
    padding: 22px;
  }
}

/* Navigation links deliberately have no pointer-hover styling or animation. */
.site-nav > a,
.site-nav > .nav-dropdown > .nav-dropdown-trigger,
.nav-dropdown-menu a {
  transition: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav > a:not(.is-active):hover,
  .site-nav > .nav-dropdown > .nav-dropdown-trigger:not(.is-active):hover,
  .pi-page .site-nav > a:not(.is-active):hover,
  .pi-page .site-nav > .nav-dropdown > .nav-dropdown-trigger:not(.is-active):hover,
  .nav-dropdown-menu a:not(.is-active):hover {
    color: inherit !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
  }
}

/* Final responsive authority for the English-only release. */
body:not(.home-page) .pi-hero,
body:not(.home-page) .page-hero {
  padding-top: 30px !important;
  padding-bottom: 34px !important;
}

.pi-hero-grid {
  gap: clamp(18px, 3vw, 34px) !important;
}

.pi-hero-art {
  min-height: 120px !important;
  max-height: 220px;
  overflow: hidden;
}

.pi-hero-art-svg {
  width: auto !important;
  max-width: 100%;
  max-height: 220px;
}

.plant-detail-hero {
  padding-top: 22px !important;
  padding-bottom: 30px !important;
}

.plant-detail-page .plant-detail-main-visual {
  height: 350px !important;
  min-height: 350px !important;
}

.plant-detail-page .plant-thumb-visual {
  height: 92px !important;
  min-height: 92px !important;
}

.plant-app-cta--section {
  grid-template-columns: 48px minmax(0, 1fr) auto !important;
  padding: 18px 22px !important;
  border-radius: 20px !important;
}

@media (max-width: 680px) {
  body:not(.home-page) .pi-hero,
  body:not(.home-page) .page-hero {
    padding-top: 20px !important;
    padding-bottom: 22px !important;
  }

  .pi-hero-grid {
    gap: 10px !important;
  }

  .pi-hero-art {
    min-height: 72px !important;
    max-height: 105px !important;
  }

  .pi-hero-art-svg {
    max-height: 105px !important;
  }

  .plant-detail-hero {
    padding-top: 16px !important;
    padding-bottom: 22px !important;
  }

  .plant-detail-page .plant-detail-main-visual {
    height: 280px !important;
    min-height: 280px !important;
  }

  .plant-detail-page .plant-thumb-visual {
    height: 82px !important;
    min-height: 82px !important;
  }

  .plant-detail-page .plant-thumbs {
    display: none !important;
  }

  .plant-intro-mobile-section {
    padding: 0 0 12px;
    background: #fff;
  }

  .plant-intro-mobile-section .plant-intro-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .plant-intro-mobile-section .plant-intro-card h2 {
    font-size: 30px;
  }

  .plant-detail-page {
    padding-bottom: 68px;
  }

  .plant-app-cta--section {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .plant-app-cta--section .plant-app-cta-mark {
    width: 38px !important;
    height: 38px !important;
  }

  .plant-app-cta--section .plant-app-cta-copy > span,
  .plant-app-cta--section p {
    display: none !important;
  }

  .plant-app-cta--section > a {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 44px;
  }

  .plant-share-rail {
    top: auto !important;
    right: 50% !important;
    bottom: 10px !important;
    flex-direction: row !important;
    transform: translateX(50%) !important;
    padding: 7px !important;
    border-radius: 18px !important;
  }

  .plant-share-label {
    display: none !important;
  }

  .plant-share-rail a:hover,
  .plant-share-rail button:hover {
    transform: translateY(-2px) !important;
  }
}

/* Requested layout authority — 2026-06-21 */
body:not(.home-page):not(.plant-identifier-page) .container {
  width: min(1320px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

body:not(.home-page):not(.plant-identifier-page) .site-header .container {
  width: min(1140px, calc(100% - 32px)) !important;
}

.pi-hero-art,
.pi-hero-art-svg {
  display: none !important;
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .pi-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero {
  width: 100% !important;
  height: 300px !important;
  min-height: 0 !important;
  max-height: 300px !important;
  display: flex !important;
  align-items: center !important;
  padding: 28px 0 !important;
  overflow: hidden !important;
  box-sizing: border-box;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
  border-bottom: 1px solid rgba(26, 123, 113, .1);
}

body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .page-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .plant-detail-hero::after,
body:not(.home-page):not(.plants-root-page):not(.plant-identifier-page) .hero::after {
  display: none !important;
}

body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
body:not(.home-page):not(.plant-identifier-page) .hero h1 {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #2d2a24 !important;
  font-size: clamp(36px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

body:not(.home-page):not(.plant-identifier-page) .page-hero p:not(.eyebrow),
body:not(.home-page):not(.plant-identifier-page) .pi-hero-copy > p,
body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero p {
  max-width: 760px;
  color: #3d4b46 !important;
  font-size: 18px;
  line-height: 1.55;
}

body.plants-root-page .pi-hero {
  min-height: 330px !important;
  height: auto !important;
  max-height: none !important;
  padding: 30px 0 34px !important;
  background: linear-gradient(90deg, #e8ffdc 0%, #caffde 48%, #bfffe4 100%) !important;
}

.internal-hero-page .page-hero,
.plant-category-page .pi-category-hero {
  min-height: 0 !important;
  height: 300px !important;
  max-height: 300px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

.internal-hero-page .page-hero > .container,
.plant-category-page .pi-category-hero > .container {
  width: min(1320px, calc(100% - 32px)) !important;
}

.plant-category-page .pi-category-hero .pi-hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  align-items: center !important;
  gap: 0 !important;
}

.plant-category-page .pi-category-hero .pi-hero-copy {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.plant-category-page .pi-category-hero .pi-breadcrumb,
body.plants-root-page .pi-breadcrumb {
  margin-top: 0 !important;
}

body.plants-root-page .pi-hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  gap: 0 !important;
}

body.plants-root-page .pi-hero-copy {
  max-width: 820px;
  padding: 28px 0 12px !important;
}

.plant-detail-hero .plant-detail-breadcrumb {
  margin-bottom: 22px !important;
}

.plant-detail-hero .plant-detail-top {
  margin-bottom: 0 !important;
}

.plant-detail-overview {
  padding: 52px 0 58px;
  background: #fff;
}

.plant-upload-heading h1,
.plant-upload-heading h2 {
  font-size: 48px !important;
  line-height: 1.1 !important;
}

.related-discover-card h3 {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.pi-filter-column {
  min-width: 0;
}

.pi-filter-column > .pi-sidebar,
.pi-filter-column > .pi-filter-tip {
  width: 100%;
}

.pi-filter-column > .pi-filter-tip {
  margin: 22px 0 0 !important;
  padding: 15px 16px !important;
  border-radius: 18px !important;
  background: #edf8f3 !important;
  box-shadow: 0 10px 26px rgba(25, 92, 72, .06);
}

.plant-detail-page .plant-section-download-wrap,
.plant-detail-page .global-download-cta-section {
  display: none !important;
}

.plant-detail-page .aloe-faq-section {
  padding-bottom: 54px !important;
}

.plant-detail-page .plant-related-section {
  padding-top: 54px !important;
}

.blog-index-page .card-grid .card,
.blog-article-page .sidebar-card {
  border: 1px solid #dfeaf7 !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(34, 76, 128, .07) !important;
}

.blog-index-page .card-grid .card {
  min-height: 100%;
  padding: 28px !important;
}

.blog-index-page .card-grid .card h3,
.blog-article-page .sidebar-card h3 {
  color: #263242 !important;
  font-weight: 900 !important;
}

.blog-index-page .card-grid .card p {
  color: #667993 !important;
}

.blog-article-page .sidebar-card {
  padding: 28px !important;
  overflow: hidden;
}

.blog-article-page .sidebar-card a {
  padding: 15px 2px !important;
  border-bottom: 1px solid #e6eef8 !important;
  color: #657993 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.blog-article-page .sidebar-card a:last-child {
  border-bottom: 0 !important;
}

.footer-logo-image {
  width: 185px !important;
  max-height: 54px !important;
}

@media (hover: hover) and (pointer: fine) {
  .blog-index-page .card-grid .card:hover {
    transform: translateY(-4px);
    border-color: #cadcf1 !important;
    box-shadow: 0 20px 42px rgba(34, 76, 128, .11) !important;
  }
}

@media (max-width: 980px) {
  .internal-hero-page .page-hero,
  .plant-category-page .pi-category-hero {
    min-height: 0 !important;
    height: 280px !important;
    max-height: 300px !important;
  }

  .plant-detail-overview {
    padding: 42px 0 48px;
  }

  .plant-upload-heading h1,
  .plant-upload-heading h2 {
    font-size: 40px !important;
  }
}

@media (max-width: 768px) {
  .pi-filter-column > .pi-filter-tip {
    display: none;
    margin-top: 20px !important;
  }

  .pi-filter-column:has(.pi-sidebar.is-mobile-open) > .pi-filter-tip {
    display: flex;
  }
}

@media (max-width: 640px) {
  .internal-hero-page .page-hero,
  .plant-category-page .pi-category-hero {
    min-height: 240px !important;
    height: auto !important;
    max-height: 300px !important;
    padding-top: 22px !important;
    padding-bottom: 24px !important;
  }

  .plant-upload-heading h1,
  .plant-upload-heading h2 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }

  .blog-index-page .card-grid .card,
  .blog-article-page .sidebar-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .footer-logo-image {
    width: 172px !important;
  }

  body.plants-root-page .pi-hero {
    min-height: 340px !important;
    padding: 24px 0 28px !important;
  }

  body:not(.home-page):not(.plant-identifier-page) .page-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .pi-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .plant-detail-hero h1,
  body:not(.home-page):not(.plant-identifier-page) .hero h1 {
    font-size: 34px !important;
  }

  .plant-detail-hero .plant-detail-breadcrumb {
    margin-bottom: 14px !important;
  }

  .plant-detail-hero .plant-detail-top {
    gap: 12px;
  }

  .plant-detail-hero .plant-care-plan-btn {
    min-height: 44px;
  }

  .plant-detail-overview {
    padding: 30px 0 38px;
  }
}
