/* Hariyali Landscapes: cream, leaf green, lime and terracotta. Fraunces for headings, Work Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBFAF4;
  --surface: #FFFFFF;
  --soft: #F1F6E6;
  --ink: #1F3322;
  --muted: #56685A;
  --line: #E1E9D6;
  --line-strong: #C3D3AE;
  --brand: #2F6B3A;
  --brand-hover: #24552D;
  --brand-ink: #FFFFFF;
  --brand-text: #2F6B3A;
  --lime: #B9D86A;
  --terra: #D9774B;
  --eyebrow: #B5582E;
  --head: "Fraunces", Georgia, serif;
  --body: "Work Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; }
h1 em { font-style: italic; font-weight: 500; color: var(--terra); }
.btn { font-weight: 600; }

/* header */
.header { background: var(--bg); }
.header > .wrap { border-bottom: 1px solid var(--line); }
.logo b { font: 600 1.5rem/1 var(--head); color: var(--brand); }
.logo small { color: var(--muted); font-size: .76rem; }
.nav a { font-weight: 500; color: var(--muted); border-radius: 999px; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { background: var(--lime); color: var(--ink); }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: .98; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: .92rem; }
.hero-facts b { display: block; font: 600 1.6rem var(--head); color: var(--brand); }
.blob { margin: 0; aspect-ratio: 1 / 1; border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(31,51,34,.5); }
.blob svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .blob { max-width: 420px; aspect-ratio: 4 / 3; } }
.svc article { border-radius: 28px 28px 28px 6px; }
.svc-ico { background: var(--lime); color: var(--ink); border-radius: 50% 50% 50% 8px; }
.p-card { border-radius: 28px 28px 28px 6px; }
.step-n { color: var(--terra); }
.teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 760px) { .teaser { grid-template-columns: minmax(0, 1fr); } }
.teaser .btn { margin-top: 20px; }
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 14px; border-radius: 22px; background: #E8DDC8; max-width: 420px; }
.mini-grid i { aspect-ratio: 1; border-radius: 6px; }
.mini-grid .c-lawn { background: #8CC152; } .mini-grid .c-tree { background: #2F6B3A; border-radius: 50%; } .mini-grid .c-bed { background: #E89BB0; }
.mini-grid .c-path { background: #CFC6B4; } .mini-grid .c-water { background: #6EC1E4; } .mini-grid .c-hedge { background: #4E8A3E; }
.mini-grid .c-pergola { background: #8B5E3C; } .mini-grid .c-light { background: #F2C94C; border-radius: 50%; }

/* planner */
.garden { display: grid; gap: 18px; }
.garden-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.garden-bar .field { width: min(100%, 280px); }
.garden-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.garden-actions .btn { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.garden-main { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 340px); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .garden-main { grid-template-columns: 190px minmax(0, 1fr); } .garden-main .tool-out { grid-column: 1 / -1; } }
@media (max-width: 700px) { .garden-main { grid-template-columns: minmax(0, 1fr); } }
.palette { display: grid; gap: 6px; }
@media (max-width: 700px) { .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pal { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; cursor: grab; color: var(--ink); }
.pal i { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.pal i.erase { background: repeating-linear-gradient(45deg, #fff 0 4px, #E8DDC8 4px 8px); border: 1px solid var(--line-strong); }
.pal span { display: grid; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.pal small { font-weight: 400; color: var(--muted); font-size: .76rem; }
.pal[aria-checked="true"] { border-color: var(--brand); background: #EAF3DC; box-shadow: inset 0 0 0 1px var(--brand); }
.plot-wrap { display: grid; gap: 8px; }
.plot { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 3px; padding: 10px; border-radius: 18px; background: #E8DDC8; border: 6px solid #C9B48D; touch-action: none; user-select: none; -webkit-user-select: none; }
.cell { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 4px; background: #F6F0E3; cursor: crosshair; }
.cell:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.cell::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; }
.cell.c-tree::after { inset: 8%; background: radial-gradient(circle at 35% 35%, #4E9A4E, #1E4D27); }
.cell.c-light::after { inset: 34%; background: #FFF6C9; box-shadow: 0 0 8px 3px rgba(255,214,90,.9); }
.cell.c-water::after { inset: 18%; border-radius: 40%; background: rgba(255,255,255,.35); }
.cell.c-bed::after { inset: 25%; background: radial-gradient(circle, #F2C94C 20%, transparent 22%) 0 0 / 50% 50%; border-radius: 0; }
.cell.c-pergola::after { inset: 10%; border-radius: 0; background: repeating-linear-gradient(90deg, #5E3D24 0 3px, transparent 3px 9px); }
.cell.c-deck::after { inset: 0; border-radius: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 2px, transparent 2px 8px); }
.cell.c-path::after { inset: 15%; border-radius: 30%; background: rgba(255,255,255,.35); }
.plot-cap { font-size: .84rem; color: var(--muted); }
.opt { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .92rem; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.tool-out { top: 96px; border-radius: 28px 28px 28px 6px; background: var(--brand); color: #fff; border: 0; }
.tool-out .eyebrow { color: var(--lime); }
.tool-total { color: #fff; }
.tool-range, .tool-note, .tool-lines dt { color: #D3E4C8; }
.tool-lines div { border-color: rgba(255,255,255,.16); }
.tool-out .btn-primary { background: var(--lime); color: var(--ink); }
.opt input { accent-color: var(--lime); }

/* inner pages */
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.cta-band .wrap { padding: clamp(28px, 5vw, 56px); border-radius: 36px 36px 36px 8px; background: var(--lime); }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--ink); color: #C3D3AE; --footer-line: rgba(255,255,255,.12); }
.footer .logo b { color: var(--lime); }
.footer .logo small { color: #C3D3AE; }
.footer h2 { color: #fff; }
.footer .credit a { color: #fff; }
