/* Clearstory / 3D Artistree Studio marketing site */
/* 11/20: light (parchment) by default (Adam, 19:40); the footer Light / dark button switches to the dark FloraLab
   palette and remembers the choice. Green accent follows the pen-leaf logo. */
:root {
  --paper: #f5f1e7;
  --paper-2: #ece6d6;
  --card: #fffdf8;
  --ink: #1d261c;
  --ink-2: #4a5546;
  --ink-3: #6b7466;
  --line: #d9d2bf;
  --leaf: #5f8f35;
  --leaf-strong: #46701f;
  --leaf-soft: #e3ecd3;
  --gold: #c9971f;
  --on-leaf: #ffffff;
  --shadow: 0 1px 2px rgba(29, 38, 28, .06), 0 8px 24px rgba(29, 38, 28, .07);
  --shot-border: #c9c1ab;
  --shot-shadow: 0 2px 6px rgba(29, 38, 28, .10), 0 18px 48px rgba(29, 38, 28, .16);
  --thumb-bg: radial-gradient(120% 90% at 50% 100%, #e6e0cf 0%, #f3efe4 72%);
  --pill-bg: rgba(29, 38, 28, .78);
  --radius: 14px;
  --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0d0f0e; --paper-2: #151917; --card: #1a1f1c; --ink: #e3e7e4; --ink-2: #b9c2bc; --ink-3: #8a968f;
  --line: #2b322e; --leaf: #7ec890; --leaf-strong: #9bd8aa; --leaf-soft: #1e2b22; --gold: #d9b24a; --on-leaf: #0d120f;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shot-border: #2b322e; --shot-shadow: 0 20px 60px rgba(0,0,0,.45);
  --thumb-bg: radial-gradient(120% 90% at 50% 100%, #2a2f35 0%, #1a1d21 72%); --pill-bg: rgba(24,27,31,.86);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
body { overflow-x: clip; }
.hero-grid > *, .split > *, .grid > * { min-width: 0; }
a { color: var(--leaf-strong); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-strong); margin-bottom: 14px; display: block; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 44em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.12rem; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 8px; }
.nav a.btn, .nav a.btn:hover { color: var(--on-leaf); background: var(--leaf); }
.nav a.btn:hover { background: var(--leaf-strong); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); font: inherit; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--leaf); color: var(--on-leaf); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 10px; border: 0; font-size: 1rem; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--leaf-strong); color: var(--on-leaf); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn.small { padding: 8px 14px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* sections */
section { padding: 56px 0; }
section.tight { padding: 48px 0; }
.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero-art { position: relative; }
.hero-art .shot { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-art .tree { position: absolute; width: 46%; right: -10px; bottom: -28px; border-radius: var(--radius); box-shadow: var(--shadow); border: 4px solid var(--card); }
@media (max-width: 600px) { .hero-art .tree { width: 52%; right: 0; bottom: -20px; } }
.page-head { padding: 64px 0 24px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 1000px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 99px; background: var(--leaf-soft); color: var(--leaf-strong); margin-bottom: 12px; }
.card .tag.later { background: var(--paper-2); color: var(--ink-3); }
.card a.more { font-weight: 600; text-decoration: none; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--leaf-soft); color: var(--leaf-strong); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }

.steps { counter-reset: s; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps .card { position: relative; padding-top: 52px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 24px; font: 600 1.4rem/1 var(--serif); color: var(--gold); }

.thumbs { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .thumbs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .thumbs { grid-template-columns: repeat(6, 1fr); } }
.thumbs figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs figcaption { padding: 8px 10px 10px; font-size: .85rem; line-height: 1.3; }
.thumbs figcaption i { display: block; color: var(--ink-3); font-size: .78rem; }

.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; max-width: 30em; }

/* pricing */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--leaf); }
.plan .tag { align-self: flex-start; }
.plan .price { font: 600 2rem/1.1 var(--serif); margin: 6px 0 4px; }
.plan .price small { font: 400 .95rem var(--sans); color: var(--ink-3); }
.plan ul.ticks { flex: 1; margin-top: 12px; }
.plan .btn { text-align: center; }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.compare th, table.compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-2); }

/* waitlist */
.waitlist { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; }
@media (min-width: 720px) { .waitlist { padding: 40px; } }
:root[data-theme="dark"] .waitlist { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .waitlist { background: var(--card); color: var(--ink); border: 1px solid var(--line); } }
.waitlist h2 { color: inherit; }
.waitlist p { opacity: .85; max-width: 36em; }
.wl-form { display: grid; gap: 12px; margin-top: 20px; max-width: 640px; }
@media (min-width: 640px) { .wl-form .row { display: flex; gap: 12px; } .wl-form .row > * { flex: 1; } }
.wl-form input[type=email], .wl-form select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: inherit; font: inherit; }
.wl-form select option { color: #1d261c; }
.wl-form fieldset { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.wl-form legend { font-size: .9rem; opacity: .85; margin-bottom: 6px; padding: 0; }
.wl-form label.chk { display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.wl-form .fine { font-size: .82rem; opacity: .7; margin: 0; }
.wl-form .msg { font-weight: 600; min-height: 1.4em; margin: 0; }
.wl-form button { justify-self: start; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; font-size: .92rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-foot h4 { font: 600 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .85rem; cursor: pointer; margin-top: 14px; }

.notice { background: var(--leaf-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; color: var(--ink-2); font-size: .95rem; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal { max-width: 46em; }
.table-scroll { margin-bottom: 18px; }

/* FloraLab one-page (11/20) */
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: min(100%, 340px); }
@media (max-width: 959px) { .hero-logo { order: -1; } .hero-logo img { width: 180px; } }
.btn.buy { display: inline-flex; align-items: baseline; gap: 10px; }
.btn.buy .price { font-weight: 500; opacity: .9; }
table.editions th[scope=col] { font-family: var(--serif); font-size: 1.15rem; width: 26%; }
table.editions th[scope=col]:first-child { width: auto; }
table.editions th[scope=row] { font-weight: 500; }
table.editions td.yes { color: var(--leaf-strong); font-weight: 600; }
table.editions td.no { color: var(--ink-3); }
table.editions tr.buy-row th, table.editions tr.buy-row td { border-bottom: 0; padding-top: 18px; }
table.editions .btn { white-space: nowrap; }
ul.ticks.cols { display: grid; gap: 0 24px; }
@media (min-width: 720px) { ul.ticks.cols { grid-template-columns: repeat(2, 1fr); } }
figure { margin: 0; }
.feature { background: #ece9e2; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 8px 0 20px; }
.feature img { width: 100%; max-height: 560px; object-fit: contain; background: #ece9e2; }
.feature figcaption, .gallery figcaption { padding: 8px 12px 10px; font-size: .88rem; color: var(--ink-2); background: var(--card); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.split .shot img, .shots3 img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots3 { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 720px) { .shots3 { grid-template-columns: repeat(3, 1fr); } }
.teaser { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.teaser p { margin: 0; color: var(--ink-2); }
.teaser h2 { margin-bottom: .3em; }
.guide { max-width: 46em; }
.guide h2 { font-size: 1.4rem; margin-top: 1.6em; }
.guide li { margin-bottom: 8px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  table.editions { font-size: .88rem; }
  table.editions th, table.editions td { padding: 10px 6px; }
  table.editions th[scope=col] { width: 30%; }
  table.editions .btn { white-space: normal; padding: 8px 10px; font-size: .85rem; }
}

/* plant catalog (11/20): mirrors FloraLab's in-app catalog */
.cat { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .cat { grid-template-columns: 228px 1fr; } }
.cat-rail { font-size: .82rem; }
.cat-sec { margin-bottom: 18px; }
.cat-sec h4 { font: 700 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.cat-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 8px; border: 0; border-radius: 7px; background: none; color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; }
.cat-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-row b { font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-row:hover { background: var(--paper-2); }
.cat-row.on { background: var(--leaf-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--leaf); }
.cat-row.zero, .sw.zero, .band.zero { opacity: .4; }
.cat-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cat-groups { max-height: 320px; overflow-y: auto; }
.cat-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--leaf); }
.cat-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.band, .cat-sort button, .cat-clear, .cat-filters-btn { padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2); font: inherit; font-size: .74rem; cursor: pointer; }
.band.on, .cat-sort button[aria-pressed="true"] { border-color: var(--leaf); background: var(--leaf-soft); color: var(--ink); }
.cat-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.cat-bar input { flex: 1 1 260px; max-width: 520px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: .92rem; }
.cat-bar input:focus { outline: none; border-color: var(--leaf); }
.cat-count { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.cat-clear { color: var(--leaf-strong); border-color: transparent; background: none; }
.cat-sort { display: flex; gap: 6px; margin-left: auto; }
.cat-filters-btn { display: none; }
@media (max-width: 899px) {
  .cat-rail { display: none; order: 2; }
  .cat-rail.open { display: block; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
  .cat-main { order: 3; }
  .cat-filters-btn { display: inline-block; }
  .cat-sort { margin-left: 0; }
  .cat-bar input { max-width: none; flex-basis: 100%; }
}
.cat-gh { position: sticky; top: 64px; z-index: 2; display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 10px 2px 8px; background: var(--paper); font: 400 .8rem var(--sans); }
.cat-gh b { color: var(--ink); font-weight: 600; font-size: .82rem; }
.cat-gh i { color: var(--ink-3); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-gh span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-sec-group { margin-bottom: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 400px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card { margin: 0; padding: 6px; border-radius: 10px; border: 1px solid transparent; }
.cat-card:hover { background: var(--paper-2); border-color: var(--line); }
.cat-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--thumb-bg); display: grid; place-items: center; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cat-thumb .noimg { color: var(--ink-3); font-size: .72rem; }
.cat-thumb .pill { position: absolute; top: 6px; left: 6px; font: 700 .56rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--pill-bg); color: #f3f1ea; }
.cat-card figcaption { padding: 6px 2px 2px; line-height: 1.3; }
.cat-card figcaption b { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); }
.cat-card figcaption i { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .7rem; color: var(--ink-2); margin-top: 1px; }
.cat-card figcaption small { display: block; font-size: .66rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* repositioning (11/20): FloraLab beyond RLA */
.avail { margin-top: 26px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.avail .actions { margin-top: 14px; }
.avail-head { margin: 0; color: var(--ink-2); }
.badge { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--leaf); color: var(--on-leaf); margin-right: 6px; vertical-align: 1px; }
.badge.later { background: var(--leaf-soft); color: var(--leaf-strong); }
.next { margin: 16px 0 0; color: var(--ink-2); }
#sketchup .teaser { border-color: color-mix(in srgb, var(--leaf) 45%, var(--line)); }

/* app screenshots (11/20) */
.hero-shot img, .pair img, .shots img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 959px) { .hero-shot { order: 0; } }
.pair, .shots { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 720px) { .pair, .shots { grid-template-columns: repeat(2, 1fr); } }
.pair figcaption, .shots figcaption { font-size: .88rem; color: var(--ink-2); padding: 8px 2px 0; }

/* RLA selling points (11/20) */
.usp { display: grid; gap: 16px; margin: 24px 0 8px; }
@media (min-width: 800px) { .usp { grid-template-columns: repeat(2, 1fr); } }
.usp-item { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.usp-item .icon { flex: none; margin: 2px 0 0; }
.usp-item h3 { font-size: 1.12rem; margin-bottom: .3em; }
.usp-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.usp-shot { margin: 8px 0 28px; }
.usp-shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.usp-shot figcaption { font-size: .88rem; color: var(--ink-2); padding: 8px 2px 0; }

/* home redesign (11/20) */
.hero-center { text-align: center; padding-bottom: 32px; }
.hero-center .lede { margin: 0 auto; max-width: 40em; }
.hero-center .actions { justify-content: center; }
.hero-center h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 16em; margin-left: auto; margin-right: auto; }
.hero-note { margin-top: 14px; }
.hero-wide { margin-top: 36px; scroll-margin-top: 80px; }
.hero-wide img { width: 100%; border-radius: 14px; border: 1px solid var(--shot-border); box-shadow: var(--shot-shadow); }
.tune3 { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .tune3 { grid-template-columns: repeat(3, 1fr); } }
.tune3 img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.tune3 figcaption { text-align: center; font-size: .9rem; color: var(--ink-2); padding-top: 8px; }
.plans2 { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 760px) { .plans2 { grid-template-columns: repeat(2, 1fr); } }
.plans2 .plan { display: flex; flex-direction: column; }
.plans2 .plan .price { font: 600 2.2rem/1.1 var(--serif); margin: 4px 0 10px; }
.plans2 .plan ul.ticks { flex: 1; }
.plans2 .plan .btn { text-align: center; }
.plans2 .plan.featured { border: 1px solid var(--leaf); }
#pricing, #overview, #rla, #gallery, #support { scroll-margin-top: 64px; }

/* real-time callout (11/20) */
.hero-sub2 { margin: 12px auto 0; max-width: 40em; color: var(--leaf-strong); font-weight: 500; }
#realtime { padding-top: 48px; }
.rt { display: grid; gap: 24px 48px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
@media (min-width: 900px) { .rt { grid-template-columns: 1fr 1.2fr; padding: 36px; } }
.rt .lede { margin-bottom: 0; }
.rt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rt-list li { padding-left: 18px; border-left: 2px solid var(--leaf); color: var(--ink-2); }
.rt-list b { color: var(--ink); display: block; }
details.faq { margin: 8px 0 20px; }

/* dark app screenshots on the light page: firmer frame */
.pair img, .shots img, .usp-shot img, .hero-shot img, .split .shot img, .shots3 img, .tune3 img { border-color: var(--shot-border); box-shadow: var(--shot-shadow); }
.skp-tie { margin-top: 8px !important; }
.teaser-sm { margin-top: 16px; padding: 20px 24px; }
.teaser-sm h3 { margin-bottom: .2em; }
.teaser > div { flex: 1 1 0; min-width: 260px; }
.hero-wide video { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--shot-border); box-shadow: var(--shot-shadow); background: #0e100f; }

/* close-up strip (11/20) */
.closeup { margin-top: 28px; }
.closeup h3 { margin-bottom: .2em; }
.close6 { display: grid; gap: 14px; margin-top: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .close6 { grid-template-columns: repeat(3, 1fr); } }
.close6 img { width: 100%; border-radius: 10px; border: 1px solid var(--shot-border); box-shadow: var(--shadow); }
.close6 figcaption { font-size: .82rem; color: var(--ink-2); padding: 6px 2px 0; }

/* Black Friday 2026 banner (hidden after Dec 1 by site.js + build.py) */
.no-sale { display: none; }
.sale-over .sale, .sale-over .sale-only { display: none !important; }
.sale-over .no-sale { display: inline; }
.sale { background: linear-gradient(120deg, #1d261c 0%, #2c4a1f 60%, #46701f 100%); color: #fffdf8; padding: 26px 0; border-bottom: 3px solid var(--gold); }
:root[data-theme="dark"] .sale { background: linear-gradient(120deg, #101a10 0%, #1f3a1a 60%, #2f5a26 100%); }
.sale-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.sale-tag { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: #1d261c; padding: 6px 10px; border-radius: 6px; }
.sale-head { font: 600 clamp(1.6rem, 3.6vw, 2.4rem)/1.1 var(--serif); margin: 10px 0 6px; color: #fffdf8; }
.sale-sub { margin: 0; color: #e3ecd3; font-size: 1.02rem; }
.sale-code { font: 700 1rem ui-monospace, Consolas, monospace; background: rgba(255,253,248,.14); border: 1px dashed rgba(255,253,248,.6); padding: 3px 8px; border-radius: 6px; color: #fffdf8; letter-spacing: .04em; }
.sale-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sale .btn { background: var(--gold); color: #1d261c; }
.sale .btn:hover { background: #e0b444; color: #1d261c; }
.sale .btn.ghost { background: transparent; color: #fffdf8; border: 1px solid rgba(255,253,248,.6); }
.sale .btn.ghost:hover { background: rgba(255,253,248,.1); color: #fffdf8; }
.plans2 .price .was { color: var(--ink-3); font-size: 1.3rem; margin-right: 6px; font-weight: 500; }
.sale-note { margin: -6px 0 10px; font-size: .85rem; color: var(--leaf-strong); font-weight: 600; }

/* SkapeUp waitlist page (11/20) */
.sk-tag { font: 600 clamp(1.2rem, 2.4vw, 1.6rem)/1.2 var(--serif); color: var(--leaf-strong); margin: 0 0 14px; }
.sk-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.shot-slot { margin: 0; }
.shot-slot img { width: 100%; border-radius: 12px; border: 1px solid var(--shot-border); box-shadow: var(--shot-shadow); }
.shot-slot figcaption { font-size: .88rem; color: var(--ink-2); padding: 8px 2px 0; }
.hero-slot figcaption { text-align: center; }
.ph { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 2px dashed var(--shot-border); border-radius: 12px; background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, var(--card) 14px 28px); color: var(--ink-3); font: 600 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.sk-shots { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 720px) { .sk-shots { grid-template-columns: repeat(2, 1fr); } .sk-shots.sk-one { grid-template-columns: minmax(0, 720px); } }
.sk-steps { margin-top: 18px; }
@media (min-width: 900px) { .sk-steps { grid-template-columns: repeat(3, 1fr); } }
.sk-feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px 32px; }
@media (min-width: 900px) { .sk-feat { grid-template-columns: repeat(2, 1fr); } }
.sk-feat li { padding-left: 16px; border-left: 2px solid var(--leaf); color: var(--ink-2); }
.sk-feat b { color: var(--ink); }
.sk-coming { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.sk-coming .badge { margin-right: 8px; }
.sk-final { text-align: center; }
.sk-final .actions { justify-content: center; }
.sk-row { display: grid; gap: 16px 40px; align-items: center; margin-top: 36px; }
@media (min-width: 900px) { .sk-row { grid-template-columns: 1fr 2fr; } .sk-row-text { grid-template-columns: 1fr; } }
.sk-copy h3 { font-size: 1.35rem; margin-bottom: .3em; }
.sk-copy p { color: var(--ink-2); margin: 0; }
.sk-tri { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .sk-tri { grid-template-columns: 1fr 1fr; } }
.sk-two { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.sk-lead { padding: 24px; border: 1px solid var(--leaf); border-radius: var(--radius); background: var(--card); }
.sk-lead .sk-copy h3 { font-size: 1.6rem; }
.sk-mods-h { margin: 14px 0 6px !important; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3) !important; }
.sk-mods { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sk-mods li { font-size: .8rem; padding: 4px 10px; border-radius: 99px; background: var(--leaf-soft); color: var(--leaf-strong); }
/* SkapeUp features as text cards (11/20: one image only, the Plan window in the hero) */
.sk-cards { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 800px) { .sk-cards { grid-template-columns: repeat(2, 1fr); } }
.sk-cards .sk-row { display: block; margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sk-cards .sk-lead { grid-column: 1 / -1; border-color: var(--leaf); }
/* image filling the left column of the real-time panel (11/20) */
.rt > div:first-child { display: flex; flex-direction: column; align-self: stretch; }
.rt-img { margin: 22px 0 0; flex: 1; min-height: 220px; }
.rt-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--shot-border); box-shadow: var(--shadow); }
@media (max-width: 899px) { .rt-img { flex: none; height: 240px; } }
.rt-img img { object-position: 50% 0%; }
.rt-img { display: flex; flex-direction: column; }
.rt-img img { flex: 1; min-height: 0; }
.rt-img figcaption { font-size: .85rem; color: var(--ink-2); padding: 8px 2px 0; }
@media (max-width: 899px) { .rt-img { height: auto; } .rt-img img { height: 240px; flex: none; } }

/* Artistree Studio page (11/20) */
.st-cards { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .st-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .st-cards { grid-template-columns: repeat(3, 1fr); } }
.st-cards .card h3 { margin-bottom: .3em; }
.st-cards .card p { color: var(--ink-2); }
.st-cards-3 { margin-top: 0; }
.st-cards .ticks li { color: var(--ink-2); font-size: .95rem; }
.st-age { padding: 32px; border: 1px solid var(--leaf); border-radius: var(--radius); background: var(--leaf-soft); }
.st-age-grid { display: grid; gap: 20px 32px; margin-top: 12px; }
@media (min-width: 800px) { .st-age-grid { grid-template-columns: repeat(2, 1fr); } }
.st-age-grid h3 { font-size: 1.1rem; margin-bottom: .3em; }
.st-age-grid p, .st-age-grid li { color: var(--ink-2); }
.st-age-grid ul.ticks { margin: 6px 0 0; }

/* catalog: black tiles for black-background thumbnails (perennials), and the lightbox (11/20) */
.cat-thumb.blk, .cat-lb-img.blk { background: #000; }
.cat-card { cursor: zoom-in; }
.cat-card:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
html.lb-open { overflow: hidden; }
.cat-lb { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 10, .72); display: grid; place-items: center; padding: 24px; }
.cat-lb[hidden] { display: none; }
.cat-lb-box { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 300px; gap: 0; max-width: 900px; width: 100%; max-height: calc(100vh - 48px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.cat-lb-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--thumb-bg); }
.cat-lb-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-lb-img.small img { width: 224px; height: 224px; }
.cat-lb-img .noimg { color: var(--ink-3); }
.cat-lb-info { padding: 28px 24px 20px; overflow-y: auto; }
.cat-lb-info h3 { font-size: 1.4rem; margin: 0 0 4px; padding-right: 28px; }
.cat-lb-info .bot { font-style: italic; color: var(--ink-2); margin: 0 0 16px; }
.cat-lb-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .9rem; }
.cat-lb-info dt { color: var(--ink-3); }
.cat-lb-info dd { margin: 0; color: var(--ink); }
.cat-lb-count { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); }
.cat-lb-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cat-lb-nav { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #1d261c; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.cat-lb-nav.prev { left: 10px; }
.cat-lb-nav.next { left: calc(min(560px, 100%) - 48px); }
@media (max-width: 760px) {
  .cat-lb { padding: 0; place-items: stretch; }
  .cat-lb-box { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: none; height: 100%; border-radius: 0; border: 0; }
  .cat-lb-nav { top: calc(50vw); }
  .cat-lb-nav.next { left: auto; right: 10px; }
}
/* 11/20: every plant render is now on black, so all catalog tiles and the enlarge view are black in both themes */
.cat-thumb, .cat-lb-img { background: #000; }
.cat-thumb .noimg, .cat-lb-img .noimg { color: #8a968f; }

/* catalog: release badge and seasonal variant toggle (11/22) */
.cat-thumb .rel { position: absolute; top: 6px; right: 6px; font: 700 .56rem/1 var(--sans); letter-spacing: .06em; padding: 3px 6px; border-radius: 99px; background: rgba(255,255,255,.14); color: #e3e7e4; border: 1px solid rgba(255,255,255,.22); }
.var-tog { position: absolute; left: 6px; bottom: 6px; display: flex; border-radius: 99px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); }
.var-tog button { border: 0; background: none; color: #cfd3d8; font: 600 .6rem/1 var(--sans); padding: 4px 7px; cursor: pointer; }
.var-tog button[aria-pressed="true"] { background: var(--leaf); color: #fff; }
.var-tog.lb { left: 50%; bottom: 14px; transform: translateX(-50%); }
.var-tog.lb button { font-size: .8rem; padding: 6px 14px; }
.cat-lb-img { position: relative; }
.cat-card figcaption small.nvar { color: var(--leaf-strong); }

/* 11/22: tile background follows build.py TILE_STYLE / TILE_GRAY (set on the catalog page) */
.cat-thumb, .cat-thumb.blk, .cat-lb-img, .cat-lb-img.blk { background: var(--tile-bg, #000); }

/* Beta badge for the Artistree Studio sample trees (11/22) */
.beta { display: inline-block; font: 700 .56rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 99px; background: #e0a526; color: #2a1d00; }
.cat-thumb .beta { position: absolute; top: 26px; left: 6px; }
.cat-lb-beta { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdf3dc; color: #5a4310; font-size: .85rem; line-height: 1.45; }
:root[data-theme="dark"] .cat-lb-beta { background: #3a2f16; color: #f1dca8; }
.cat-lb-beta .beta { margin-right: 6px; vertical-align: 1px; }
