/* ==========================================================================
   Yardable — by Apps 4 That
   "Your backyard, figured out — one zone at a time."

   Layers on the Apps 4 That brand tokens (assets/css/styles.css) and adds
   Yardable's green identity + app components. On-device, premium, encouraging.

   1. Yardable tokens (green accent system)
   2. App reset + shell
   3. Login wall
   4. Header + bottom nav
   5. Buttons, chips, cards, notes
   6. Home / dashboard
   7. Zones, intake, measure, plan, map, learn, coach (shared primitives)
   8. Motion + responsive
   ========================================================================== */

/* 1. Yardable tokens ------------------------------------------------------- */
:root {
  --yd-forest:   #143527;  /* deep hero field            */
  --yd-forest-2: #0E2A1E;
  --yd-green:    #2E7D52;  /* primary action / accent    */
  --yd-green-600:#356E4D;
  --yd-green-500:#43A06B;
  --yd-leaf:     #6FBF73;
  --yd-mint:     #DCF1E4;
  --yd-mint-2:   #EAF6EE;
  --yd-sun:      #F4B942;  /* warmth / highlights        */
  --yd-coral:    #FF6B57;  /* spark / sparing CTA accent */
  --yd-soil:     #9A6A43;  /* earth accent               */
  --yd-sky:      #4098D7;
  --yd-paper:    #F4F3EC;  /* warm cloud-white canvas    */
  --yd-card:     #FFFFFF;
  --yd-ink:      #16241C;  /* deep green-ink text        */
  --yd-muted:    #5E6B62;  /* secondary text             */
  --yd-line:     #E4E7DF;  /* hairline borders           */
  --yd-line-2:   #D6DBCE;

  --yd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --yd-t:    280ms var(--yd-ease);
  --yd-tf:   150ms var(--yd-ease);

  --yd-r-sm: 12px;
  --yd-r-md: 18px;
  --yd-r-lg: 26px;
  --yd-r-pill: 999px;

  --yd-shadow-sm: 0 4px 16px rgba(20, 53, 39, 0.07);
  --yd-shadow-md: 0 16px 40px rgba(20, 53, 39, 0.12);
  --yd-shadow-lg: 0 30px 70px rgba(8, 30, 22, 0.30);

  --yd-maxw: 1080px;

  /* Expression layer — Yardable's brand voice (per the style sheet) */
  --font-display: "Merriweather", Georgia, "Times New Roman", serif;  /* headlines */
  --font-body:    "Nunito", system-ui, -apple-system, sans-serif;     /* subheads + body */
  --font-hand:    "Caveat", "Segoe Script", cursive;                  /* the script tagline */

  /* Brand-board palette (the style sheet) */
  --yd-evergreen: #1F5E3A;
  --yd-sprout:    #6DBA7A;
  --yd-soil-deep: #6B4A2F;
  --yd-marigold:  #F4B223;
  --yd-sky-br:    #4BA4D9;
  --yd-cream:     #F7F3E8;
}

/* 2. Reset + shell -------------------------------------------------------- */
* , *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.yd {
  font-family: var(--font-body, "Nunito", system-ui, sans-serif);
  color: var(--yd-ink);
  background: var(--yd-paper);
  /* Signature surface: a faint graph-paper grid — the "planting plan" canvas */
  background-image:
    repeating-linear-gradient(0deg, rgba(46,125,82,.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(46,125,82,.035) 0 1px, transparent 1px 32px),
    radial-gradient(1100px 500px at 8% -8%, rgba(111,191,115,0.16), transparent 60%),
    radial-gradient(1000px 520px at 108% 4%, rgba(64,152,215,0.10), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

.yd-hidden { display: none !important; }
.yd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.yd-wrap { max-width: var(--yd-maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; letter-spacing: -0.01em; }
/* Headlines: Merriweather (confident serif). Subheads/body: Nunito. (style sheet) */
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.7vw, 2.85rem); line-height: 1.16; }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--yd-green); text-decoration: none; }

/* 3. Login wall ----------------------------------------------------------- */
.yd-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 1.5rem;
  background:
    radial-gradient(900px 540px at 50% -10%, rgba(67,160,107,0.40), transparent 60%),
    linear-gradient(160deg, var(--yd-forest), var(--yd-forest-2));
  color: #EAF3EC;
}
.yd-gate__card {
  width: min(440px, 100%);
  text-align: center;
  animation: yd-rise .6s var(--yd-ease) both;
}
.yd-gate__mark {
  width: 76px; height: 76px; margin: 0 auto 1.1rem;
  border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--yd-leaf), var(--yd-green));
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.yd-gate__mark svg { width: 42px; height: 42px; }
.yd-gate h1 { color: #fff; font-size: 2rem; margin-bottom: .25rem; }
.yd-gate__tag { color: #B7D8C4; font-size: 1.02rem; margin-bottom: 1.6rem; }
.yd-gate__form { display: flex; gap: .5rem; }
.yd-gate__form input {
  flex: 1; padding: .9rem 1rem; border-radius: var(--yd-r-pill);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.10);
  color: #fff; font-size: 1rem; outline: none;
}
.yd-gate__form input::placeholder { color: #9FBBAB; }
.yd-gate__form input:focus { border-color: var(--yd-leaf); background: rgba(255,255,255,.16); }
.yd-gate__hint { margin-top: 1.1rem; font-size: .82rem; color: #8FB0A0; }
.yd-gate__err { color: #FFC7BD; min-height: 1.2em; font-size: .9rem; margin-top: .8rem; }
.yd-gate.shake .yd-gate__card { animation: yd-shake .4s; }

/* 4. Header + nav --------------------------------------------------------- */
.yd-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244,243,236,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--yd-line);
}
.yd-header__in { display: flex; align-items: center; gap: .8rem; height: 60px; }
.yd-brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--yd-ink); letter-spacing: -.02em; }
.yd-brand__mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--yd-leaf), var(--yd-green)); box-shadow: var(--yd-shadow-sm); }
.yd-brand__mark svg { width: 18px; height: 18px; }
.yd-brand small { font-weight: 600; color: var(--yd-muted); font-size: .68rem; letter-spacing: .02em; }
.yd-header__spacer { flex: 1; }
.yd-header__act { display: inline-flex; align-items: center; gap: .4rem; }

/* desktop top-tabs */
.yd-tabs { display: none; gap: .25rem; }
.yd-tabs button {
  border: 0; background: transparent; color: var(--yd-muted); font: inherit; font-weight: 600;
  padding: .5rem .8rem; border-radius: var(--yd-r-pill); cursor: pointer; transition: all var(--yd-tf);
}
.yd-tabs button:hover { color: var(--yd-ink); background: rgba(46,125,82,.08); }
.yd-tabs button.is-active { color: var(--yd-green); background: var(--yd-mint); }

/* mobile bottom nav */
.yd-bottomnav {
  position: sticky; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--yd-line);
}
.yd-bottomnav button {
  border: 0; background: transparent; cursor: pointer; font: inherit;
  display: grid; justify-items: center; gap: 2px; padding: .5rem 0 .55rem;
  color: var(--yd-muted); font-size: .66rem; font-weight: 600;
}
.yd-bottomnav button svg { width: 22px; height: 22px; }
.yd-bottomnav button.is-active { color: var(--yd-green); }

/* 5. Buttons / chips / cards / notes -------------------------------------- */
.yd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  padding: .8rem 1.25rem; border-radius: var(--yd-r-pill); transition: transform var(--yd-tf), box-shadow var(--yd-tf), background var(--yd-tf);
  text-decoration: none; line-height: 1;
}
.yd-btn:active { transform: translateY(1px) scale(.99); }
.yd-btn--primary { background: linear-gradient(180deg, var(--yd-green), var(--yd-green-600)); color: #fff; box-shadow: 0 10px 26px rgba(46,125,82,.30), inset 0 1px 0 rgba(255,255,255,.28); }
.yd-btn--primary:hover { background: linear-gradient(180deg, var(--yd-green), var(--yd-green-600)); box-shadow: 0 14px 32px rgba(46,125,82,.38), inset 0 1px 0 rgba(255,255,255,.28); }
.yd-btn--ghost { background: #fff; color: var(--yd-ink); border-color: var(--yd-line-2); box-shadow: var(--yd-shadow-sm); }
.yd-btn--ghost:hover { border-color: var(--yd-green-500); color: var(--yd-green); }
.yd-btn--soft { background: var(--yd-mint); color: var(--yd-green-600); }
.yd-btn--soft:hover { background: #CFEAD9; }
.yd-btn--coral { background: #C2412F; color: #fff; box-shadow: 0 10px 26px rgba(194,65,47,.30); } /* darkened for WCAG AA white-on-coral */
.yd-btn--lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
.yd-btn--block { width: 100%; }
.yd-btn--sm { padding: .55rem .85rem; font-size: .85rem; }
.yd-btn[disabled] { opacity: .5; cursor: not-allowed; }

.yd-chip {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .82rem;
  padding: .35rem .7rem; border-radius: var(--yd-r-pill);
  background: var(--yd-mint); color: var(--yd-green-600);
}
.yd-chip--sun { background: #FCEFC9; color: #9A7611; }
.yd-chip--sky { background: #DDEEFA; color: #246AA0; }
.yd-chip--soil{ background: #EFE2D5; color: #7C5230; }
.yd-chip--coral{ background: #FFE0DA; color: #C2412F; }
.yd-chip--ghost{ background: #fff; border: 1px solid var(--yd-line-2); color: var(--yd-muted); }

.yd-card {
  background: var(--yd-card); border: 1px solid var(--yd-line);
  border-radius: var(--yd-r-lg); padding: 1.25rem; box-shadow: var(--yd-shadow-sm);
}
.yd-card--pad { padding: 1.5rem; }
.yd-card--interactive { cursor: pointer; transition: transform var(--yd-t), box-shadow var(--yd-t), border-color var(--yd-t); }
.yd-card--interactive:hover { transform: translateY(-3px); box-shadow: var(--yd-shadow-md); border-color: var(--yd-green-500); }

.yd-note {
  background: var(--note-yellow, #FFE08A); color: #5b4a16;
  border-radius: 6px 14px 14px 14px; padding: .9rem 1.1rem 1rem;
  box-shadow: var(--yd-shadow-sm);
  font-family: var(--font-hand); font-size: 1.22rem; line-height: 1.28;
  transform: rotate(-.6deg);
}
.yd-note--mint { background: var(--yd-mint); color: var(--yd-green-600); transform: rotate(.5deg); }
.yd-note strong { display: block; }

.yd-eyebrow { display:inline-flex; align-items:center; gap:.4rem; font-weight:700; font-size:.72rem; letter-spacing:.10em; text-transform:uppercase; color: var(--yd-green); }
.yd-muted { color: var(--yd-muted); }
.yd-stack > * + * { margin-top: 1rem; }
.yd-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .yd-grid--2 { grid-template-columns: 1fr 1fr; } .yd-grid--3 { grid-template-columns: repeat(3,1fr); } }

/* 6. Home / dashboard ----------------------------------------------------- */
.yd-view { padding: 1.4rem 0 2.5rem; animation: yd-fade .35s var(--yd-ease) both; }

.yd-hero {
  border-radius: var(--yd-r-lg); padding: clamp(1.5rem, 4vw, 2.6rem);
  color: #EAF3EC; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(234,243,236,.07) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(234,243,236,.07) 0 1px, transparent 1px 30px),
    radial-gradient(600px 300px at 88% -20%, rgba(244,185,66,.30), transparent 60%),
    linear-gradient(155deg, var(--yd-green-500), var(--yd-forest));
  box-shadow: var(--yd-shadow-md), inset 0 1px 0 rgba(255,255,255,.10);
}
.yd-hero h1 { color: #fff; }
.yd-hero p { color: #CDE6D8; max-width: 46ch; }
.yd-hero__row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.yd-hero__leaf { position: absolute; right: -10px; bottom: -22px; width: 150px; height: 150px; opacity: .22; }

.yd-section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 2rem 0 .9rem; }
.yd-section-title h2 { margin: 0; }
.yd-section-title a, .yd-section-title button.link { background: none; border: 0; color: var(--yd-green); font-weight: 700; cursor: pointer; font: inherit; }

/* zone tiles */
.yd-zone {
  display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center;
}
.yd-zone__thumb {
  width: 64px; height: 64px; border-radius: 14px; background: var(--yd-mint-2);
  display: grid; place-items: center; overflow: hidden; font-size: 1.6rem; color: var(--yd-green-500);
}
.yd-zone__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Custom zone markers (Sage-family SVG, replacing emoji) */
.yd-zoneicon { display: inline-grid; place-items: center; }
.yd-zoneicon svg { width: 100%; height: 100%; display: block; }
.yd-zonepick { width: 58px; height: 58px; padding: 0; border: 2px solid var(--yd-line-2); border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color var(--yd-tf), box-shadow var(--yd-tf); }
.yd-zonepick svg { width: 100%; height: 100%; display: block; }
.yd-zonepick:hover { border-color: var(--yd-green-500); }
.yd-zonepick.is-active { border-color: var(--yd-green); box-shadow: 0 0 0 3px var(--yd-mint); }
.yd-zone__meta { min-width: 0; }
.yd-zone__meta h3 { margin: 0 0 .25rem; }
.yd-zone__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.yd-progress { height: 7px; border-radius: 999px; background: var(--yd-line); overflow: hidden; margin-top: .55rem; }
.yd-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--yd-leaf), var(--yd-green)); border-radius: 999px; transition: width var(--yd-t); }

/* empty state */
.yd-empty { text-align: center; padding: 2rem 1rem; }
.yd-empty__art { width: 120px; height: 120px; margin: 0 auto 1rem; opacity: .9; }

/* stat row */
.yd-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; }
.yd-stat { background: #fff; border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); padding: .9rem; text-align: center; }
.yd-stat b { display: block; font-size: 1.5rem; color: var(--yd-green-600); }
.yd-stat small { color: var(--yd-muted); font-size: .76rem; }

/* generic list rows */
.yd-row { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--yd-line); }
.yd-row:last-child { border-bottom: 0; }

/* toast */
.yd-toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px);
  background: var(--yd-forest); color: #EAF3EC; padding: .7rem 1.1rem; border-radius: var(--yd-r-pill);
  box-shadow: var(--yd-shadow-lg); opacity: 0; pointer-events: none; transition: all var(--yd-t); z-index: 60; font-weight: 600; font-size: .92rem;
}
.yd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* coach bubble button */
.yd-coachfab {
  position: fixed; right: 16px; bottom: 84px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(150deg, var(--yd-sun), var(--yd-coral));
  box-shadow: var(--yd-shadow-md); display: grid; place-items: center; color: #fff;
}
.yd-coachfab svg { width: 26px; height: 26px; }

/* 8. Motion + responsive -------------------------------------------------- */
@keyframes yd-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes yd-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes yd-shake { 10%,90%{transform:translateX(-2px)} 30%,70%{transform:translateX(5px)} 50%{transform:translateX(-7px)} }
@keyframes yd-pop { from { transform: scale(.8); opacity: 0;} to { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 859px) {
  .yd-coachfab { display: none; }
}

@media (min-width: 860px) {
  .yd-tabs { display: flex; }
  .yd-bottomnav { display: none; }
  .yd-coachfab { bottom: 24px; }
  .yd-toast { bottom: 24px; }
}

/* 9. Phase 2 — intake + measurement components --------------------------- */
.yd-dots { display: flex; gap: .4rem; margin: 0 0 1.2rem; }
.yd-dot { flex: 1; height: 6px; border-radius: 999px; background: var(--yd-line); transition: background var(--yd-t); }
.yd-dot.is-active { background: var(--yd-green); }
.yd-dot.is-done { background: var(--yd-leaf); }

.yd-goals { display: grid; gap: .6rem; }
@media (min-width: 620px) { .yd-goals { grid-template-columns: 1fr 1fr; } }
.yd-goal {
  display: flex; align-items: center; gap: .8rem; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--yd-line); border-radius: var(--yd-r-md);
  padding: .85rem 1rem; cursor: pointer; font: inherit; transition: all var(--yd-tf);
}
.yd-goal:hover { border-color: var(--yd-green-500); }
.yd-goal.is-active { border-color: var(--yd-green); background: var(--yd-mint-2); box-shadow: 0 6px 18px rgba(46,125,82,.12); }
.yd-goal__e { font-size: 1.5rem; flex: none; }
.yd-goal__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yd-goal__t strong { font-size: .98rem; }
.yd-goal__t small { line-height: 1.3; }
.yd-goal__chk { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: transparent; }
.yd-goal.is-active .yd-goal__chk { background: var(--yd-green); }
.yd-goal__chk svg { width: 16px; height: 16px; }

.yd-chips-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.yd-chip--pick { cursor: pointer; border: 1.5px solid transparent; background: #fff; color: var(--yd-muted); box-shadow: var(--yd-shadow-sm); font-weight: 600; }
.yd-chip--pick:hover { color: var(--yd-ink); }
.yd-chip--pick.is-active { background: var(--yd-green); color: #fff; }

.yd-textarea, .yd-input {
  width: 100%; font: inherit; padding: .75rem .9rem; border-radius: var(--yd-r-sm);
  border: 1.5px solid var(--yd-line-2); background: #fff; color: var(--yd-ink); resize: vertical;
}
.yd-textarea:focus, .yd-input:focus { outline: none; border-color: var(--yd-green-500); }
.yd-input--num { text-align: left; }

.yd-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; }
.yd-seg__b {
  display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; font: inherit;
  padding: .6rem .5rem; border-radius: var(--yd-r-sm); border: 1.5px solid var(--yd-line-2);
  background: #fff; color: var(--yd-ink); transition: all var(--yd-tf); text-align: center;
}
.yd-seg__b strong { font-size: .9rem; font-weight: 700; }
.yd-seg__b small { font-size: .68rem; color: var(--yd-muted); }
.yd-seg__b:hover { border-color: var(--yd-green-500); }
.yd-seg__b.is-active { border-color: var(--yd-green); background: var(--yd-mint); }
.yd-seg__b.is-active small { color: var(--yd-green-600); }

.yd-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; }
.yd-thumb { position: relative; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--yd-mint-2); }
.yd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yd-thumb__x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(8,30,22,.65); color: #fff; font-size: .7rem; line-height: 1; }
.yd-thumb--add { display: grid; place-items: center; gap: 2px; border: 1.5px dashed var(--yd-line-2); background: #fff; cursor: pointer; color: var(--yd-green); font: inherit; }
.yd-thumb--add small { color: var(--yd-muted); font-size: .68rem; }

.yd-fieldlabel { display: flex; flex-direction: column; gap: .3rem; flex: 1; font-size: .82rem; font-weight: 600; color: var(--yd-muted); }
.yd-numrow { display: flex; gap: .6rem; }

.yd-total { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; padding: .85rem 1.1rem; border-radius: var(--yd-r-md); background: var(--yd-mint); color: var(--yd-green-600); font-weight: 600; }
.yd-total b { font-size: 1.35rem; color: var(--yd-green-600); }

.yd-iconbtn { width: 26px; height: 26px; border-radius: 8px; border: 0; cursor: pointer; background: #F1EFE6; color: var(--yd-muted); font-size: .7rem; }
.yd-iconbtn:hover { background: #FFE0DA; color: #C2412F; }

.yd-canvas-wrap { border-radius: var(--yd-r-md); overflow: hidden; border: 1px solid var(--yd-line); box-shadow: var(--yd-shadow-sm); line-height: 0; background: #1c1c1c; }
.yd-canvas { max-width: 100%; height: auto; display: block; cursor: crosshair; touch-action: none; }

.yd-hintbox { background: #FCF6E4; border: 1px solid #F0E2B6; border-radius: var(--yd-r-sm); padding: .8rem 1rem; color: #6b5417; margin-bottom: .7rem; }
.yd-hintbox strong { color: #8a6d12; }

/* 10. Phase 3 — plant plan + identifier --------------------------------- */
.yd-plantgrid { display: grid; gap: .8rem; }
@media (min-width: 720px) { .yd-plantgrid { grid-template-columns: 1fr 1fr; } }
.yd-plant { background: #fff; border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); padding: 1rem 1.1rem; box-shadow: var(--yd-shadow-sm); transition: border-color var(--yd-tf); }
.yd-plant.is-picked { border-color: var(--yd-green); background: var(--yd-mint-2); }
.yd-plant__head { display: flex; align-items: flex-start; gap: .6rem; }
.yd-plant__head h3 { font-size: 1.05rem; }
.yd-add { width: 34px; height: 34px; flex: none; border-radius: 10px; border: 1.5px solid var(--yd-green); background: #fff; color: var(--yd-green); cursor: pointer; display: grid; place-items: center; transition: all var(--yd-tf); }
.yd-add svg { width: 18px; height: 18px; }
.yd-add:hover { background: var(--yd-mint); }
.yd-add.is-on { background: var(--yd-green); color: #fff; }
.yd-why { display: flex; flex-wrap: wrap; gap: .3rem; margin: .55rem 0 .2rem; }
.yd-why__b { font-size: .76rem; font-weight: 600; color: var(--yd-green-600); background: var(--yd-mint); padding: .18rem .5rem; border-radius: 999px; }
.yd-plant__facts { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .6rem; }
.yd-fact { display: flex; flex-direction: column; line-height: 1.1; }
.yd-fact b { font-size: .85rem; text-transform: capitalize; }
.yd-fact small { font-size: .66rem; color: var(--yd-muted); }
.yd-caution { margin: .5rem 0 0; font-size: .8rem; color: #9A6A43; background: #F6ECE2; border-radius: 8px; padding: .4rem .6rem; }
.yd-picksbar { position: sticky; bottom: 60px; z-index: 20; margin-top: 1.6rem; padding: .8rem 1rem; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: 1px solid var(--yd-line); border-radius: var(--yd-r-pill); box-shadow: var(--yd-shadow-md); }
@media (min-width: 860px) { .yd-picksbar { bottom: 16px; } }

.yd-sheet { position: fixed; inset: 0; z-index: 200; background: rgba(8,30,22,.5); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; }
.yd-sheet__card { width: min(560px, 100%); max-height: 88vh; background: var(--yd-paper); border-radius: var(--yd-r-lg) var(--yd-r-lg) 0 0; display: flex; flex-direction: column; animation: yd-rise .35s var(--yd-ease) both; overflow: hidden; }
@media (min-width: 720px) { .yd-sheet { align-items: center; } .yd-sheet__card { border-radius: var(--yd-r-lg); max-height: 84vh; } }
.yd-sheet__head { display: flex; align-items: center; gap: .6rem; padding: 1rem; border-bottom: 1px solid var(--yd-line); }
.yd-sheet__head > div { flex: 1; }
.yd-sheet__list { overflow-y: auto; padding: 0 1rem 1rem; }
.yd-aiup { display: flex; align-items: center; gap: .7rem; margin: .9rem 1rem; padding: .8rem 1rem; border-radius: var(--yd-r-md); background: linear-gradient(120deg, #FCEFC9, #FFE0DA); }
.yd-filterchips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 1rem; }

/* 11. Phase 3b — budget + project + guides ------------------------------ */
.yd-brow { display: flex; align-items: center; gap: .55rem; padding: .6rem 0; border-bottom: 1px solid var(--yd-line); }
.yd-brow:last-child { border-bottom: 0; }
.yd-stepper { display: inline-flex; align-items: center; border: 1px solid var(--yd-line-2); border-radius: 999px; overflow: hidden; flex: none; }
.yd-stepper button { width: 28px; height: 28px; border: 0; background: #fff; cursor: pointer; font-size: 1rem; color: var(--yd-green); line-height: 1; }
.yd-stepper button:hover { background: var(--yd-mint); }
.yd-stepper [data-qv] { min-width: 24px; text-align: center; font-weight: 700; font-size: .9rem; }
.yd-priceinput { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--yd-line-2); border-radius: 8px; padding: 0 .4rem; flex: none; }
.yd-priceinput span { color: var(--yd-muted); font-size: .85rem; }
.yd-priceinput input { width: 46px; border: 0; padding: .35rem 0; font: inherit; text-align: right; outline: none; background: transparent; }

.yd-check { width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--yd-line-2); background: #fff; cursor: pointer; color: #fff; display: grid; place-items: center; margin-top: 2px; transition: all var(--yd-tf); }
.yd-check svg { width: 16px; height: 16px; }
.yd-check.is-on { background: var(--yd-green); border-color: var(--yd-green); }
.yd-howto { border: 0; background: none; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; color: var(--yd-green); padding: .18rem .1rem; }
.yd-howto:hover { text-decoration: underline; }

.yd-kvk { font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yd-green); margin: 0 0 .2rem; }
.yd-ul { margin: .2rem 0; padding-left: 1.1rem; }
.yd-ul li { margin: .2rem 0; }
.yd-steps { margin: .3rem 0 0; padding-left: 1.3rem; }
.yd-steps li { margin: 0 0 .9rem; }
.yd-steps li strong { color: var(--yd-ink); }
.yd-steps li p { color: var(--yd-muted); font-size: .92rem; }

/* 12. Phase 4 — coach + learn ------------------------------------------- */
.yd-chat { display: flex; flex-direction: column; gap: .6rem; }
.yd-msg { max-width: 86%; padding: .75rem 1rem; border-radius: 16px; font-size: .95rem; line-height: 1.45; box-shadow: var(--yd-shadow-sm); }
.yd-msg--me { align-self: flex-end; background: var(--yd-green); color: #fff; border-bottom-right-radius: 5px; }
.yd-msg--coach { align-self: flex-start; background: #fff; color: var(--yd-ink); border: 1px solid var(--yd-line); border-bottom-left-radius: 5px; }
.yd-msg--coach strong { color: var(--yd-green-600); }
.yd-src { font-size: .74rem; color: var(--yd-muted); margin-top: .5rem; font-style: italic; }
.yd-coachbar { display: flex; gap: .5rem; position: sticky; bottom: 60px; background: var(--yd-paper); padding: .6rem 0; }
@media (min-width: 860px) { .yd-coachbar { bottom: 0; } }
.yd-coachbar .yd-input { flex: 1; }
.yd-pricing { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: .35rem 0 1rem; }
.yd-pricecard { background: #fff; border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); padding: .95rem; box-shadow: var(--yd-shadow-sm); }
.yd-pricecard.is-featured { border-color: var(--yd-green-500); box-shadow: var(--yd-shadow-md), inset 0 0 0 1px rgba(46,125,82,.14); }
.yd-pricecard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.yd-pricecard__top strong { color: var(--yd-ink); font-size: 1rem; }
.yd-pricecard__top span { max-width: 15ch; text-align: right; color: var(--yd-green-600); font-size: .72rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.yd-pricecard__price { display: flex; align-items: baseline; gap: .2rem; margin-top: .5rem; color: var(--yd-forest); }
.yd-pricecard__price b { font-size: 1.65rem; line-height: 1; }
.yd-pricecard__price span { font-weight: 800; color: var(--yd-muted); }
.yd-pricecard__list { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--yd-ink); font-size: .9rem; }
.yd-pricecard__list li { margin: .22rem 0; }
@media (min-width: 760px) { .yd-pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.yd-paywall { margin-top: 1rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--yd-green) 22%, var(--yd-line)); border-radius: var(--yd-r-lg); background: linear-gradient(180deg, var(--yd-mint-2), #fff); box-shadow: var(--yd-shadow-md); }
.yd-paywall__head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: .9rem; }
.yd-paywall__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--yd-green); color: #fff; box-shadow: var(--yd-shadow-sm); }
.yd-paywall__ic svg { width: 24px; height: 24px; }
.yd-paywall h2 { margin: .2rem 0 .3rem; font-size: 1.35rem; line-height: 1.15; color: var(--yd-forest); }
.yd-paywall p { margin: 0; }
.yd-paywall__features { display: grid; gap: .45rem; margin: .85rem 0 1rem; }
.yd-paywall__features span { display: flex; gap: .45rem; align-items: flex-start; min-width: 0; color: var(--yd-ink); font-size: .92rem; }
.yd-paywall__features i { width: 18px; height: 18px; flex: none; display: grid; place-items: center; color: var(--yd-green); }
.yd-paywall__features svg { width: 16px; height: 16px; }
.yd-unlock-modal { position: relative; width: min(560px, calc(100vw - 24px)); max-height: min(86vh, 760px); overflow: auto; animation: yd-rise .4s ease both; }
.yd-unlock-modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.yd-lockchip { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; white-space: nowrap; padding: .24rem .55rem; border-radius: 999px; background: #FCEFC9; color: #6C5012; font-size: .72rem; font-weight: 800; }

.yd-previewcard { margin: 1rem 0; padding: 0; overflow: hidden; }
.yd-previewcard__top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid var(--yd-line); background: #fff; }
.yd-previewcard__top strong { color: var(--yd-green-600); font-size: 1.05rem; white-space: nowrap; }
.yd-previewlist { display: flex; flex-direction: column; background: #fff; }
.yd-previewrow { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-bottom: 1px solid var(--yd-line); }
.yd-previewrow:last-child { border-bottom: 0; }
.yd-previewrow strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.yd-previewrow b { color: var(--yd-ink); white-space: nowrap; }
.yd-previewrow.is-locked { background: var(--yd-mint-2); color: var(--yd-green-600); font-weight: 700; }
.yd-previewrow__kind { width: 62px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .2rem .4rem; border-radius: 999px; background: var(--yd-mint); color: var(--yd-green-600); font-size: .68rem; font-weight: 800; text-align: center; text-transform: uppercase; }
@media (max-width: 520px) {
  .yd-profile-headbtn { display: none; }
  .yd-paywall { padding: .85rem; }
  .yd-paywall__head { flex-direction: column; gap: .6rem; }
  .yd-previewrow { align-items: flex-start; flex-wrap: wrap; }
  .yd-previewrow__kind { width: auto; max-width: 100%; }
}

/* Save/profile capture --------------------------------------------------- */
.yd-profile { width: min(560px, 100%); }
.yd-profile__body { overflow-y: auto; padding: 1rem; display: grid; gap: .75rem; }
.yd-profile__grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 620px) { .yd-profile__grid { grid-template-columns: 1fr 1fr; } }
.yd-consent {
  display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .85rem;
  border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); background: #fff;
}
.yd-consent input { margin-top: .18rem; width: 18px; height: 18px; accent-color: var(--yd-green); flex: none; }
.yd-consent strong { display: block; font-size: .92rem; }
.yd-consent small { display: block; color: var(--yd-muted); font-size: .78rem; line-height: 1.35; margin-top: .1rem; }
.yd-formerr { min-height: 1.2em; color: #C2412F; font-weight: 700; font-size: .86rem; margin: 0; }
.yd-profilecard { display: flex; align-items: center; gap: .85rem; }
.yd-profilecard__icon {
  width: 44px; height: 44px; flex: none; border-radius: 14px;
  display: grid; place-items: center; background: var(--yd-mint); color: var(--yd-green);
}
.yd-profilecard__icon svg { width: 24px; height: 24px; }
@media (max-width: 560px) {
  .yd-profilecard { align-items: flex-start; flex-wrap: wrap; }
  .yd-profilecard .yd-btn { width: 100%; }
}
.yd-grade { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; }
.yd-grade--A { background: var(--yd-green); }
.yd-grade--B { background: var(--yd-sky); }
.yd-grade--C { background: var(--yd-sun); color: #5b4a16; }

/* 13. Phase 4b — Yard Map + walkthrough --------------------------------- */
.yd-chip--mint { background: var(--yd-mint); color: var(--yd-green-600); }
.yd-timeline { position: relative; margin-top: .5rem; }
.yd-tl-node { position: relative; display: flex; gap: .9rem; padding-bottom: 1.1rem; }
.yd-tl-node::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: -6px; width: 2px; background: repeating-linear-gradient(var(--yd-line-2) 0 4px, transparent 4px 9px); }
.yd-tl-node:last-child::before { display: none; }
.yd-tl-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--yd-green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: var(--yd-shadow-sm); z-index: 1; }
.yd-tl-card { flex: 1; display: flex; gap: .8rem; align-items: center; }
.yd-tl-thumb { width: 60px; height: 60px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.yd-tl-thumb img { width: 100%; height: 100%; object-fit: cover; }

.yd-walk { position: fixed; inset: 0; z-index: 300; background: #06140e; }
.yd-walk__slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: flex-end; transition: background-image .25s ease; }
.yd-walk__body { width: 100%; max-width: 640px; margin: 0 auto; padding: 2rem clamp(1.2rem, 5vw, 3rem) clamp(3.5rem, 10vh, 5rem); animation: yd-fade .35s var(--yd-ease) both; }
.yd-walk__prog { margin-top: 1.2rem; color: #fff; font-weight: 600; font-size: .85rem; }
.yd-walk__prog .yd-progress { margin-top: .35rem; }
.yd-walk__x { position: absolute; top: 16px; right: 16px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 1rem; cursor: pointer; backdrop-filter: blur(6px); }
.yd-walk__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.yd-walk__nav--prev { left: 12px; }
.yd-walk__nav--next { right: 12px; }
.yd-walk__nav:hover { background: rgba(255,255,255,.3); }
.yd-walk__dots { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: .4rem; }
.yd-walk__dot { width: 28px; height: 5px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.yd-walk__dot.is-on { background: #fff; }
@media (max-width: 520px) { .yd-walk__nav { width: 40px; height: 40px; background: rgba(255,255,255,.12); } }

/* 13. Plant visuals — portrait rail, looks line, swatch, see-photos ------- */
.yd-plant__pic { width: 72px; height: 72px; border-radius: var(--yd-r-sm); overflow: hidden; flex: none; background: var(--yd-mint-2); }
.yd-plant__pic svg { width: 100%; height: 100%; display: block; }
.yd-looks { font-size: .9rem; color: var(--yd-muted); margin: .15rem 0 .2rem; }
.yd-swatch { display: inline-block; width: .7em; height: .7em; border-radius: 50%; border: 1px solid var(--yd-line-2); margin-right: .25em; vertical-align: -1px; }
.yd-seephotos { font-size: .82rem; color: var(--yd-green); font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; margin-top: .5rem; text-decoration: none; }
.yd-seephotos:hover { text-decoration: underline; }

/* 14. Plan mode toggle (plants vs features) ------------------------------ */
.yd-modetoggle { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.yd-modepill { font: inherit; font-weight: 700; cursor: pointer; padding: .7rem .8rem; border-radius: var(--yd-r-md); border: 1.5px solid var(--yd-line-2); background: #fff; color: var(--yd-ink); box-shadow: var(--yd-shadow-sm); transition: all var(--yd-tf); text-align: center; }
.yd-modepill:hover { border-color: var(--yd-green-500); }
.yd-modepill.is-active { border-color: var(--yd-green); background: var(--yd-mint-2); color: var(--yd-green-600); }
@media (max-width: 520px) { .yd-modetoggle { grid-template-columns: 1fr; } }

/* 15. Feature gallery tile + inline editor -------------------------------- */
.yd-feattile { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.yd-featrow { display: flex; align-items: flex-start; gap: .7rem; width: 100%; text-align: left; font: inherit; cursor: pointer; background: none; border: 0; padding: .9rem 1rem; color: inherit; }
.yd-featrow .yd-goal__t { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.yd-feateditor { border-top: 1px solid var(--yd-line); padding: .9rem 1rem 1rem; background: #fff; }
.yd-feateditor .yd-fieldlabel span { font-size: .8rem; font-weight: 600; color: var(--yd-muted); }

/* 16. Bed-fraction slider (honest materials control) --------------------- */
.yd-bedslider { width: 100%; margin: .7rem 0 .2rem; accent-color: var(--yd-green); cursor: pointer; }

/* 17. Dynamic hero — scene, string lights, journey ribbon (style sheet) --- */
.yd-hero { padding-bottom: clamp(9rem, 17vw, 10.5rem); }
.yd-hero > .yd-eyebrow,
.yd-hero > h1, .yd-hero > p, .yd-hero__row, .yd-journey { position: relative; z-index: 3; }

/* sky layer: a breathing sun + drifting clouds */
.yd-hero__sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.yd-hero__sun { position: absolute; top: -46px; right: -34px; width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,178,35,.55), rgba(244,178,35,0) 70%); animation: yd-breathe 6s ease-in-out infinite; }
.yd-hero__cloud { position: absolute; height: 14px; border-radius: 999px; background: rgba(255,255,255,.10); filter: blur(.5px); }
.yd-hero__cloud--1 { top: 30px; left: 6%; width: 72px; animation: yd-drift 30s linear infinite alternate; }
.yd-hero__cloud--2 { top: 60px; left: 44%; width: 50px; animation: yd-drift 40s linear infinite alternate; }

/* string lights pinned across the top */
.yd-hero__lights { position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 1; pointer-events: none; line-height: 0; }
.yd-hero__lights svg { width: 100%; height: 40px; display: block; }
.yd-bulb { animation: yd-twinkle 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* full-width rolling-hills ground band */
.yd-hero__ground { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; pointer-events: none; line-height: 0; }
.yd-hero__ground svg { width: 100%; height: 96px; display: block; }
/* garden vignette sitting on the hills, bottom-right */
.yd-hero__scene { position: absolute; right: clamp(4px, 3%, 22px); bottom: 2px; width: clamp(150px, 33%, 182px); z-index: 2; pointer-events: none; line-height: 0; }
.yd-hero__scene svg { width: 100%; height: auto; display: block; }
.yd-sway { animation: yd-sway 5s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }

@keyframes yd-breathe { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.08); opacity: 1 } }
@keyframes yd-drift   { from { transform: translateX(-12px) } to { transform: translateX(64px) } }
@keyframes yd-twinkle { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
@keyframes yd-sway    { 0%,100% { transform: rotate(-2.5deg) } 50% { transform: rotate(2.5deg) } }

/* Journey ribbon: GROW · PLAN · SHOP · BUILD · ENJOY */
.yd-journey { display: flex; gap: 5px; margin-top: 1.2rem; }
.yd-journey span { flex: 1; text-align: center; font-family: var(--font-body); font-weight: 800; font-size: .6rem;
  letter-spacing: .09em; text-transform: uppercase; color: #fff; padding: .42rem .2rem; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.yd-journey span:nth-child(1) { background: #2E7D52; }
.yd-journey span:nth-child(2) { background: #43A06B; }
.yd-journey span:nth-child(3) { background: var(--yd-marigold); color: #5b4a16; }
.yd-journey span:nth-child(4) { background: var(--yd-soil-deep); }
.yd-journey span:nth-child(5) { background: var(--yd-sky-br); }

/* Reveal-on-scroll (home sections) */
.yd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--yd-ease), transform .6s var(--yd-ease); will-change: opacity, transform; }
.yd-reveal.in { opacity: 1; transform: none; }
html:not(.js) .yd-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .yd-reveal { opacity: 1 !important; transform: none !important; } }

/* 18. App-wide studio polish — depth utility, state chips, animated progress, seal */
.yd-card--tint { background: linear-gradient(180deg, var(--yd-mint-2), #fff); box-shadow: var(--yd-shadow-md), inset 0 1px 0 rgba(255,255,255,.7); border-color: color-mix(in srgb, var(--yd-green) 12%, var(--yd-line)); }
.yd-chip--done { background: #DCF1E4; color: var(--yd-green-600); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--yd-green) 35%, transparent); }
.yd-goal.is-active, .yd-seg__b.is-active, .yd-chip--pick.is-active, .yd-modepill.is-active { box-shadow: 0 6px 16px rgba(46,125,82,.14), inset 0 1px 0 rgba(255,255,255,.5); }
/* progress bars that "draw in" when their reveal section enters (opt in via --fill, no inline width) */
.yd-progress > span[style*="--fill"] { width: var(--fill, 0%); }
.yd-reveal .yd-progress > span[style*="--fill"] { transition: width 1s var(--yd-ease); }
.yd-reveal:not(.in) .yd-progress > span[style*="--fill"] { width: 0; }
/* marigold "plan ready" seal for completed zone tiles */
.yd-card { position: relative; }
.yd-seal { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--yd-marigold); color: #5b4a16; display: grid; place-items: center; box-shadow: var(--yd-shadow-sm); z-index: 2; }
.yd-seal svg { width: 13px; height: 13px; }
/* size line-icons used inline in chips, how-to links, and buttons */
.yd-chip svg, .yd-howto svg { width: 14px; height: 14px; vertical-align: -2px; flex: none; }
.yd-btn svg { width: 18px; height: 18px; flex: none; }
.yd-iconbtn svg { width: 14px; height: 14px; }
.yd-goal__e svg { width: 22px; height: 22px; }
.yd-why__b svg, .yd-caution svg { width: 12px; height: 12px; vertical-align: -1px; }
.yd-thumb__x svg { width: 11px; height: 11px; }
.yd-seephotos svg { width: 14px; height: 14px; vertical-align: -2px; }

/* 19. Taste picker — style "vibe" cards */
.yd-vibe { width: min(100%, 760px); margin-inline: auto; background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-lg); overflow: hidden; box-shadow: var(--yd-shadow-md); }
.yd-vibe__art { aspect-ratio: 3 / 2; line-height: 0; background: #E8F4FB; overflow: hidden; }
.yd-vibe__art svg, .yd-vibe__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yd-vibe__cap { padding: .85rem 1.1rem 1.05rem; }
.yd-vibe__cap strong { font-family: var(--font-display); font-size: 1.2rem; }
/* 3-way rating (daily Style Shuffle) */
.yd-rate { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.yd-ratebtn { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .75rem; border: 2px solid var(--yd-line-2); border-radius: var(--yd-r-md); background: #fff; cursor: pointer; font: inherit; color: var(--rc, var(--yd-ink)); box-shadow: var(--yd-shadow-sm); transition: transform var(--yd-tf), box-shadow var(--yd-tf), border-color var(--yd-tf); min-height: 44px; }
.yd-ratebtn:hover { transform: translateY(-2px); box-shadow: var(--yd-shadow-md); border-color: var(--rc); }
.yd-ratebtn:active { transform: translateY(0); }
.yd-ratebtn__ic { width: 28px; height: 28px; }
.yd-ratebtn__ic svg { width: 100%; height: 100%; }
.yd-ratebtn small { color: var(--yd-muted); font-weight: 700; }

/* ===== See your yard (plan overlaid on the user's real photo) ===== */
.yd-see-cta { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; padding: 1rem 1.15rem; width: 100%; text-align: left; cursor: pointer; font: inherit;
  border: 0; border-radius: var(--yd-r-md); color: #fff; box-shadow: 0 12px 30px rgba(46,125,82,.30), inset 0 1px 0 rgba(255,255,255,.25);
  background: linear-gradient(145deg, var(--yd-green-500), var(--yd-green-600)); }
.yd-see-cta:hover { background: linear-gradient(145deg, var(--yd-green), var(--yd-green-600)); }
.yd-see-cta__ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.yd-see-cta__ic svg { width: 24px; height: 24px; }
.yd-see-cta strong { display: block; font-size: 1.02rem; }
.yd-see-cta small { display: block; opacity: .9; font-size: .82rem; margin-top: .1rem; }
.yd-see-cta__chev { margin-left: auto; opacity: .85; }

.yd-see-stage { position: relative; border-radius: 18px; overflow: hidden; background: var(--yd-forest-2);
  box-shadow: var(--yd-shadow-md); touch-action: none; -webkit-user-select: none; user-select: none; }
.yd-see-photo { width: 100%; display: block; }
.yd-see-stage.is-after::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(8,30,22,.32) 100%); }
.yd-see-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--yd-green); color: #fff; font-weight: 800; font-size: .95rem;
  border: 2.5px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.45); cursor: grab; z-index: 3;
  transition: opacity .35s var(--yd-tf), transform .2s var(--yd-tf), background .2s; }
.yd-see-pin:active { cursor: grabbing; }
.yd-see-pin.is-active { background: var(--yd-sun); color: var(--yd-ink); transform: translate(-50%, -50%) scale(1.12); z-index: 4; }
.yd-see-stage.is-before .yd-see-pin { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.5); }
.yd-see-pin__tag { position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); white-space: nowrap;
  background: rgba(8,30,22,.9); color: #fff; padding: .25rem .55rem; border-radius: 8px; font-size: .74rem; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.yd-see-pin.is-active .yd-see-pin__tag { opacity: 1; }
.yd-see-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem 1rem .75rem;
  background: linear-gradient(transparent, rgba(8,30,22,.78)); color: #EAF6EE; font-size: .82rem; font-weight: 600; pointer-events: none; }
.yd-see-toolbar { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; flex-wrap: wrap; }
.yd-see-legend { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .55rem; }
.yd-see-leg { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); background: #fff; cursor: pointer; text-align: left; font: inherit; box-shadow: var(--yd-shadow-sm); transition: border-color var(--yd-tf); }
.yd-see-leg:hover, .yd-see-leg.is-active { border-color: var(--yd-green-500); }
.yd-see-leg__n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--yd-mint); color: var(--yd-green-600); font-weight: 800; font-size: .85rem; }
.yd-see-leg.is-active .yd-see-leg__n { background: var(--yd-sun); color: var(--yd-ink); }
.yd-see-leg__body { flex: 1; min-width: 0; }
.yd-see-leg__body strong { display: block; font-size: .95rem; }
.yd-see-leg__body small { color: var(--yd-muted); }
.yd-see-leg__cost { font-weight: 800; color: var(--yd-green-600); white-space: nowrap; }
.yd-see-style { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem 0 .4rem; -webkit-overflow-scrolling: touch; }
.yd-see-style img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; box-shadow: var(--yd-shadow-sm); }

/* ===== Plant Matchmaker — growing-zone picker ===== */
.yd-zonegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.yd-zonebtn { display: flex; flex-direction: column; align-items: flex-start; gap: .05rem; padding: .55rem .8rem; border: 1.5px solid var(--yd-line-2); border-radius: var(--yd-r-md); background: #fff; cursor: pointer; font: inherit; text-align: left; box-shadow: var(--yd-shadow-sm); transition: border-color var(--yd-tf), background var(--yd-tf), transform var(--yd-tf); }
.yd-zonebtn:hover { border-color: var(--yd-green-500); transform: translateY(-1px); }
.yd-zonebtn.is-est { border-color: var(--yd-green); background: var(--yd-mint-2); }
.yd-zonebtn b { font-size: .92rem; color: var(--yd-ink); }
.yd-zonebtn small { color: var(--yd-muted); font-size: .72rem; }
.yd-zonefit { display: inline-block; margin-left: .35rem; padding: .02rem .35rem; border-radius: 6px; font-size: .62rem; font-weight: 800; vertical-align: middle; letter-spacing: .01em; }
.yd-zonefit.is-ok { background: var(--yd-mint); color: var(--yd-green-600); }
.yd-zonefit.is-no { background: #FFE0DA; color: #C2412F; }

/* live running budget in the plan picks bar */
.yd-livecost { display: inline-block; font-size: .86rem; color: var(--yd-green-600); margin-top: .1rem; }
.yd-livecost b { font-weight: 800; font-size: .98rem; }

/* whole-yard shopping list — check-off rows */
.yd-shoprow { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .65rem .15rem; border: 0; border-bottom: 1px solid var(--yd-line); background: none; font: inherit; cursor: pointer; transition: opacity var(--yd-tf); }
.yd-shoprow:last-child { border-bottom: 0; }
.yd-shoprow.is-checked { opacity: .6; }
.yd-shoprow.is-checked strong { text-decoration: line-through; color: var(--yd-muted); }
.yd-shoptick { width: 24px; height: 24px; flex: none; border: 2px solid var(--yd-line-2); border-radius: 7px; display: grid; place-items: center; transition: background var(--yd-tf), border-color var(--yd-tf); }
.yd-shoptick svg { width: 16px; height: 16px; opacity: 0; transition: opacity var(--yd-tf); }
.yd-shoptick.is-on { background: var(--yd-green); border-color: var(--yd-green); }
.yd-shoptick.is-on svg { opacity: 1; color: #fff; }

/* ===== Accessibility: visible keyboard focus + skip link (WCAG 2.4.7 / 2.4.1) ===== */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--yd-green-500);
  outline-offset: 2px;
  border-radius: 6px;
}
.yd-textarea:focus-visible, .yd-input:focus-visible { outline: 3px solid var(--yd-green-500); outline-offset: 1px; }
.yd-skip {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--yd-green); color: #fff; font-weight: 800;
  padding: .7rem 1.1rem; border-radius: 10px; text-decoration: none;
  transition: top .15s ease;
}
.yd-skip:focus { top: 12px; }

/* ============================================================================
   MARKETING LANDING (public, in front of the app) — yl-* namespace
   Canon refresh v2: polished product shell. Merriweather display + Nunito body,
   warm cream surfaces, Evergreen actions, Marigold/ Sprout accents.
   ============================================================================ */
#yd-landing { --yl-display: "Merriweather", Georgia, serif; background: var(--yd-paper); color: var(--yd-ink); }
#yd-landing.yd-hidden { display: none; }

.yl-h1 { font-family: var(--yl-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.015em; margin: 0; color: var(--yd-evergreen); }
.yl-h2 { font-family: var(--yl-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5rem; color: var(--yd-evergreen); }
.yl-accent-num { color: var(--yd-green-500); }
.yl-sub { font-size: 1.1rem; line-height: 1.6; color: var(--yd-muted); margin: 0; }
.yl-kicker { font: 800 0.95rem/1.3 "Nunito", sans-serif; margin: 0 0 0.6rem; }
.yl-kicker--green { color: var(--yd-green-600); }
.yl-kicker--sun { color: #B8860B; }
.yl-center { text-align: center; margin-left: auto; margin-right: auto; }
.yl-narrow { max-width: 760px; }
.yl-sprout { font-size: .85em; }
.yl-hand { font-family: "Caveat", cursive; font-size: 1.6rem; color: var(--yd-green-600); margin: 1rem 0 0; }

/* sections */
.yl-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.yl-sec--mint { background: var(--yd-mint-2); }
.yl-sec--paper { background: var(--yd-paper); }
.yl-sec--cream { background: var(--yd-cream); }
.yl-sec__head { max-width: 60ch; margin: 0 auto clamp(1.8rem, 3vw, 2.6rem); text-align: center; }
.yl-sec__head .yl-sub { margin: 0 auto; }

/* ---- top nav ---- */
.yl-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--yd-paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--yd-line); }
.yl-nav__in { display: flex; align-items: center; gap: 1.5rem; padding-top: .7rem; padding-bottom: .7rem; }
.yl-brand { display: inline-flex; align-items: center; gap: .6rem; }
.yl-brand__mark { width: 34px; height: 34px; display: inline-flex; }
.yl-brand__text { display: flex; flex-direction: column; line-height: 1; }
.yl-brand__name { font-family: var(--yl-display); font-weight: 700; font-size: 1.4rem; color: var(--yd-evergreen); }
.yl-brand__tag { font-family: "Caveat", cursive; font-size: 1rem; color: var(--yd-green-600); }
.yl-nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.yl-nav__links a { color: var(--yd-ink); font-weight: 600; font-size: .95rem; }
.yl-nav__links a:hover { color: var(--yd-green-600); }
.yl-nav__actions { display: flex; align-items: center; gap: .6rem; }
.yl-nav__login { background: none; border: 1px solid var(--yd-line-2); color: var(--yd-ink); font: 700 .9rem "Nunito",sans-serif; padding: .5rem 1rem; border-radius: var(--yd-r-pill); cursor: pointer; }
.yl-nav__login:hover { border-color: var(--yd-green); color: var(--yd-green-600); }

/* ---- hero ---- */
.yl-hero2 { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem,4vw,3rem); background: linear-gradient(180deg, var(--yd-paper), var(--yd-cream)); }
.yl-hero2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.yl-hero2__copy .yl-lede { max-width: 34ch; margin-top: 1.3rem; font-size: 1.2rem; color: #3c4a40; }
.yl-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; align-items: center; }
.yl-btn-lg { font-size: 1.05rem; padding: 1rem 1.7rem; }
.yl-btn-outline { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--yd-line-2); background: var(--yd-card); color: var(--yd-evergreen); padding: .95rem 1.5rem; border-radius: var(--yd-r-pill); font: 700 1rem "Nunito",sans-serif; }
.yl-btn-outline:hover { border-color: var(--yd-green); }
.yl-play { color: var(--yd-green); font-size: .75rem; }
.yl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 1.3rem; padding: 0; margin: 1.6rem 0 0; }
.yl-chips li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--yd-ink); }
.yl-chip__i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--yd-mint); color: var(--yd-green-600); }
.yl-hero2__media { overflow: hidden; border-radius: var(--yd-r-lg); box-shadow: var(--yd-shadow-md); border: 1px solid var(--yd-line); aspect-ratio: 5 / 4; }
/* the source plate carries a leftover headline sliver on its far-left ~25%;
   a squarer box + right-aligned cover crops that edge off, keeping the lawn +
   the "216 sq ft" measurement callout, which sit center-right */
.yl-hero2__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }

/* ---- feature strip ---- */
.yl-strip { list-style: none; margin: clamp(2rem,4vw,3rem) 0 0; padding: 1.2rem clamp(.5rem,2vw,1.5rem); display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-lg); box-shadow: var(--yd-shadow-sm); }
.yl-strip li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; }
.yl-strip__i { grid-row: span 2; width: 40px; height: 40px; }
.yl-strip__i svg { width: 100%; height: 100%; }
.yl-strip b { font-size: .98rem; color: var(--yd-ink); }
.yl-strip span:not(.yl-strip__i) { font-size: .82rem; color: var(--yd-muted); line-height: 1.35; }

/* ---- four step cards ---- */
.yl-steps2 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.yl-stepc { position: relative; background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-lg); padding: 1.6rem 1.4rem; box-shadow: var(--yd-shadow-sm); }
.yl-stepc__n { position: absolute; top: 1.1rem; right: 1.1rem; width: 28px; height: 28px; border-radius: 50%; background: var(--yd-evergreen); color: #fff; font: 800 .9rem "Nunito",sans-serif; display: flex; align-items: center; justify-content: center; }
.yl-stepc__i { display: block; width: 48px; height: 48px; margin-bottom: .9rem; }
.yl-stepc__i svg { width: 100%; height: 100%; }
.yl-stepc b { display: block; font-size: 1.25rem; font-family: var(--yl-display); color: var(--yd-evergreen); margin-bottom: .3rem; }
.yl-stepc__t { color: var(--yd-muted); line-height: 1.45; }
@media (min-width: 880px) {
  .yl-stepc:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -1.05rem; width: 1.5rem; height: 0; border-top: 2px dotted var(--yd-green-500); }
}
.yl-trust-strip { list-style: none; margin: 2rem 0 0; padding: 1.1rem 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; background: var(--yd-mint-2); border-radius: var(--yd-r-md); }
.yl-trust-strip li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--yd-evergreen); }

/* ---- split (sage / mobile) ---- */
.yl-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.yl-split__copy .yl-sub { margin-top: .4rem; }
.yl-split__media { display: flex; justify-content: center; }
.yl-checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .6rem; }
.yl-checks li { position: relative; padding-left: 1.8rem; color: var(--yd-ink); line-height: 1.5; }
.yl-checks li::before { content: ""; position: absolute; left: 0; top: .4em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--yd-green-500); }
.yl-source { font-size: .82rem; color: var(--yd-muted); margin: 1rem 0 0; max-width: 46ch; }

/* sage chat */
.yl-sagechat { width: 100%; max-width: 460px; background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-lg); padding: 1.1rem; box-shadow: var(--yd-shadow-md); }
.yl-sagechat__head { display: flex; align-items: center; gap: .6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--yd-line); margin-bottom: .8rem; }
.yl-sagechat__av { width: 40px; height: 40px; flex: 0 0 auto; }
.yl-sagechat__av svg { width: 100%; height: 100%; }
.yl-sagechat__head b { display: block; }
.yl-sagechat__head small { color: var(--yd-muted); }
.yl-bubble { margin: .5rem 0; padding: .7rem .95rem; border-radius: 14px; line-height: 1.4; font-size: .95rem; max-width: 88%; }
.yl-bubble--user { background: var(--yd-mint-2); color: var(--yd-ink); border-bottom-right-radius: 4px; margin-left: auto; }
.yl-bubble--sage { background: var(--yd-green); color: #fff; border-bottom-left-radius: 4px; }
.yl-plantrow { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin: .5rem 0; }
.yl-plantrow figure { margin: 0; text-align: center; background: var(--yd-mint-2); border-radius: 10px; padding: .5rem; }
.yl-plant { display: block; height: 48px; border-radius: 8px; margin-bottom: .35rem; }
.yl-plantrow figcaption { font-weight: 700; font-size: .82rem; color: var(--yd-ink); }
.yl-plantrow small { display: block; font-weight: 600; color: var(--yd-muted); font-size: .72rem; }
.yl-benefits { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.yl-benefits li { background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); padding: .8rem 1rem; }
.yl-benefits b { color: var(--yd-evergreen); display: block; }
.yl-benefits span { color: var(--yd-muted); font-size: .9rem; }

/* mobile promo */
.yl-pills { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.yl-pills li { background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-pill); padding: .5rem 1rem; font-weight: 600; color: var(--yd-evergreen); }
.yl-split__media--phone img { width: auto; max-height: 620px; filter: drop-shadow(0 24px 50px rgba(8,30,22,.22)); }

/* pricing */
.yl-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.yl-tier { background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-lg); padding: 1.5rem; display: flex; flex-direction: column; }
.yl-tier--feature { border: 2px solid var(--yd-green); box-shadow: var(--yd-shadow-md); }
.yl-tier__name { font-weight: 800; color: var(--yd-green-600); margin: 0; }
.yl-tier--free .yl-tier__name { color: var(--yd-soil); }
.yl-tier__price { font-family: var(--yl-display); font-size: 2.1rem; font-weight: 700; color: var(--yd-evergreen); margin: .3rem 0 0; }
.yl-tier__price span { font-family: "Nunito",sans-serif; font-size: 1rem; font-weight: 600; color: var(--yd-muted); }
.yl-tier__cad { color: var(--yd-muted); font-size: .85rem; margin: .1rem 0 .9rem; }
.yl-tier ul { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .45rem; }
.yl-tier li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--yd-ink); line-height: 1.4; }
.yl-tier li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--yd-leaf); }
.yl-tier__cta { margin-top: auto; width: 100%; }

/* faq */
.yl-faq { margin-top: 1.4rem; display: grid; gap: .6rem; }
.yl-faq details { background: var(--yd-card); border: 1px solid var(--yd-line); border-radius: var(--yd-r-md); padding: 1rem 1.2rem; }
.yl-faq summary { cursor: pointer; font-weight: 700; color: var(--yd-evergreen); list-style: none; }
.yl-faq summary::-webkit-details-marker { display: none; }
.yl-faq p { margin: .6rem 0 0; color: var(--yd-muted); line-height: 1.55; }

/* final cta */
.yl-final2 { background: linear-gradient(180deg, var(--yd-cream), var(--yd-paper)); padding: clamp(3rem,6vw,5rem) 0; text-align: center; }
.yl-final2__in .yl-sub { margin: .6rem auto 1.6rem; }
.yl-foot { margin-top: 2.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; color: var(--yd-muted); font-size: .85rem; }
.yl-foot a { color: var(--yd-green-600); text-decoration: underline; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .yl-hero2__grid, .yl-split { grid-template-columns: 1fr; }
  .yl-hero2__media { order: -1; }
  .yl-split__media { order: -1; }
  .yl-strip { grid-template-columns: repeat(2, 1fr); }
  .yl-steps2 { grid-template-columns: repeat(2, 1fr); }
  .yl-nav__links { display: none; }
}
@media (max-width: 560px) {
  .yl-strip, .yl-steps2 { grid-template-columns: 1fr; }
  .yl-h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
}

/* inline-SVG replacements for former emoji (brand: no load-bearing emoji) */
.yl-ts__i { width: 18px; height: 18px; vertical-align: -3px; margin-right: .35rem; color: var(--yd-evergreen); }
.yl-sprout { width: .9em; height: .9em; display: inline-block; vertical-align: baseline; }
