/*
 * Seed43 public site (4 October 2026).
 *
 * Dark theme on the Seed43 palette (lib/Snippets/seed43_palette.json in the
 * pyRevit extension): accent #208A3C, hover #32934C, card #2B3340, header
 * #232933. The page itself sits darker than the pyRevit window background so
 * the cards lift off it.
 */

:root {
    --bg: #12161c;
    --bg-alt: #171c24;
    --card: #1e242e;
    --card-2: #2B3340;
    --line: #2c3442;
    --line-2: #3a4456;
    --text: #f2f4f7;
    --muted: #9CA3AF;
    --accent: #208A3C;
    --accent-2: #32934C;
    --accent-3: #5CAA71;
    --glow: rgba(50, 147, 76, .35);
    --danger: #e5484d;
    --radius: 14px;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.calm { scroll-behavior: auto; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c7ccd4; max-width: 46rem; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* ── Scroll progress (top of page) ───────────────────────────── */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-3)); box-shadow: 0 0 12px var(--glow); }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(18, 22, 28, .78); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: #cfd4db; font-size: .94rem; font-weight: 500; }
.nav-links > a:hover, .nav-links > a.on { color: #fff; background: rgba(255,255,255,.06); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.calm-toggle {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    background: transparent; border: 1px solid var(--line-2); color: var(--muted);
    border-radius: 999px; padding: 5px 11px 5px 6px; font: 500 .78rem var(--sans);
}
.calm-dot { width: 22px; height: 12px; border-radius: 99px; background: var(--accent); position: relative; transition: background .2s; }
.calm-dot::after { content: ""; position: absolute; top: 2px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: left .2s; }
html.calm .calm-dot { background: #5e5c64; }
html.calm .calm-dot::after { left: 2px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px; font: 600 .95rem var(--sans);
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 24px -8px var(--glow); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--glow); }
.btn-ghost { border-color: var(--line-2); color: #e6e9ee; background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(50,147,76,.08); }
.btn-sm { padding: 7px 14px; font-size: .86rem; border-radius: 8px; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-btn { background: none; border: 0; color: var(--muted); font: 500 .86rem var(--sans); cursor: pointer; padding: 0; }
.link-btn:hover { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-3); font-weight: 600; font-size: .9rem; text-decoration: none; }
.link-arrow:hover { color: #8fd3a2; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-product { padding-bottom: clamp(48px, 7vw, 80px); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero-product h1 { max-width: 20ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7fd197, var(--accent-2) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The live background grid (site.js draws it). Fixed behind everything; the
   page content sits above it, and the alternating section bands are only
   half opaque so the grid still shows through them. */
#bg-grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
.hero-glow {
    position: absolute; width: 760px; height: 760px; right: -220px; top: -320px; pointer-events: none;
    background: radial-gradient(circle, rgba(32,138,60,.38), transparent 62%);
    filter: blur(10px); animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }

.code-line { font: 500 .9rem var(--mono); color: var(--muted); margin-bottom: 22px; }
.code-line .k { color: #b6bec9; }
.code-line .v-yes { color: #7fd197; }
.code-line .v-no { color: #f08a8d; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 56px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 820px; }
.stats div { background: rgba(23,28,36,.92); padding: 18px 20px; }
.stats dt { font: 700 1.7rem var(--sans); letter-spacing: -.02em; }
.stats dd { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: rgba(23, 28, 36, .55); border-block: 1px solid rgba(255,255,255,.04); }
.sec-head { margin-bottom: 40px; max-width: 46rem; }
.sec-label { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-3); margin-bottom: 14px; }
.sec-label span { color: var(--muted); margin-right: 6px; }
.page-head { padding: clamp(64px, 9vw, 110px) 0 0; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #cfd4db; }
.ticks .ico { color: var(--accent-3); flex-shrink: 0; margin-top: 3px; }

/* ── Agent terminal ──────────────────────────────────────────── */
.term { background: #0c0f13; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(50,147,76,.08); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #11151b; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4456; }
.term-bar i:first-child { background: #e5484d; } .term-bar i:nth-child(2) { background: #e5a948; } .term-bar i:nth-child(3) { background: var(--accent-2); }
.term-bar span { margin-left: 10px; font: .78rem var(--mono); color: var(--muted); }
.term-body { padding: 22px; font: .9rem/1.7 var(--mono); min-height: 260px; }
.term-you { color: #e6e9ee; }
.term-you .who { color: var(--accent-3); margin-right: 8px; }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--accent-3); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-steps p { margin: 0; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.term-steps p.show { opacity: 1; transform: none; }
.term-steps .tool { color: #9cc7ff; }
.term-steps .ok { color: #7fd197; }
.term-done { color: #e6e9ee !important; margin-top: 8px !important; }

/* ── Cards ───────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--card), #1a1f28); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(50,147,76,.55); transform: translateY(-3px); box-shadow: 0 20px 40px -24px var(--glow); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-n { font: 600 .74rem var(--mono); color: var(--muted); }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-3); background: rgba(32,138,60,.12); border: 1px solid rgba(50,147,76,.25); margin-bottom: 16px; flex-shrink: 0; }
.card h3 { margin-bottom: 2px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent-3); }
.card-kind { font: 500 .76rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.card > p:not(.card-kind) { color: #c7ccd4; font-size: .95rem; }
.card-info { border-top: 1px dashed var(--line-2); padding-top: 14px; margin-top: 4px; font-size: .92rem; color: #c7ccd4; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.code-chip { display: block; font: .78rem var(--mono); color: #7fd197; background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; word-break: break-word; }

.pill { font: 600 .7rem var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: #cfd4db; }
.pill-new { background: rgba(32,138,60,.18); border-color: rgba(50,147,76,.5); color: #8fd3a2; }
.pill-free { color: #9cc7ff; border-color: rgba(156,199,255,.3); }
.pill-paid { color: #e5c07b; border-color: rgba(229,192,123,.35); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: block; }
.panel p { color: #c7ccd4; margin: 0; }
.panel-n { position: absolute; top: 20px; right: 22px; font: 600 .8rem var(--mono); color: var(--line-2); }
.panel-link { transition: border-color .2s, transform .2s; }
.panel-link:hover { border-color: var(--accent-2); transform: translateY(-2px); }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 48px); border-radius: 20px; border: 1px solid rgba(50,147,76,.35); background: radial-gradient(600px 240px at 90% 0%, rgba(32,138,60,.28), transparent 70%), var(--card); }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; }
.cta-band .cta-row { margin-top: 0; }

/* ── Product page ────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature p { color: #c7ccd4; margin: 0; font-size: .95rem; }

.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.prompt { margin: 0; background: #0f1318; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prompt figcaption { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.prompt blockquote { margin: 0; padding: 16px; font: .86rem/1.65 var(--mono); color: #c7ccd4; }
.prompt blockquote::before { content: "> "; color: var(--accent-3); }
.copy { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 7px; padding: 4px 9px; font: 500 .78rem var(--sans); cursor: pointer; }
.copy:hover { color: #fff; border-color: var(--accent-2); }
.copy.done { color: #8fd3a2; border-color: var(--accent-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: #c7ccd4; margin: 0; font-size: .95rem; }
.step-n { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem var(--mono); color: #fff; background: var(--accent); box-shadow: 0 0 0 6px rgba(32,138,60,.15); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 18px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan .ticks { margin: 14px 0 24px; flex: 1; }
.plan-hi { border-color: var(--accent-2); box-shadow: 0 24px 60px -30px var(--glow); background: linear-gradient(180deg, rgba(32,138,60,.12), var(--card) 45%); }
.plan-flag { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.price { font: 800 2.2rem var(--sans); letter-spacing: -.03em; margin: 4px 0 0; }
.price small { font: 500 .85rem var(--sans); color: var(--muted); letter-spacing: 0; }

.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--accent-3); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; margin: 0; color: #c7ccd4; }

/* ── Downloads ───────────────────────────────────────────────── */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dl { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.dl-ext { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font: 700 .74rem var(--mono); text-transform: uppercase; color: var(--accent-3); background: rgba(32,138,60,.12); border: 1px solid rgba(50,147,76,.25); }
.dl-main { flex: 1; min-width: 0; }
.dl-main h3 { margin: 0 0 4px; }
.dl-main p { margin: 0 0 4px; font-size: .9rem; }
.dl-ver { font: 600 .74rem var(--mono); color: var(--accent-3); margin-left: 6px; }
.dl-meta { color: var(--muted); font-size: .8rem !important; overflow-wrap: anywhere; }
.dl-hash { font-family: var(--mono); margin-left: 6px; }
.empty { display: flex; gap: 18px; align-items: flex-start; border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 22px; }
.empty h3 { margin-bottom: 4px; }
.empty p { margin-bottom: 8px; }

.dl-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.dl-side { position: sticky; top: 92px; display: grid; gap: 2px; }
.dl-side a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: #cfd4db; font-size: .92rem; }
.dl-side a:hover { background: rgba(255,255,255,.05); }
.dl-count { margin-left: auto; font: .74rem var(--mono); color: var(--muted); }
.dl-group { margin-bottom: 48px; scroll-margin-top: 90px; }
.dl-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dl-group-head h2 { font-size: 1.5rem; margin: 0; }

.prose p { font-size: 1.06rem; color: #cfd4db; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: rgba(15, 18, 23, .92); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 0 14px; }
.footer-grid a { display: block; color: #cfd4db; text-decoration: none; font-size: .92rem; padding: 3px 0; }
.footer-grid a:hover { color: var(--accent-3); }
.footer-grid p { font-size: .9rem; margin-top: 14px; max-width: 30ch; }
.footer-base { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-base a { color: var(--muted); text-decoration: none; }

/* ── Reveal on scroll ────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
html.calm .reveal, html.calm .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
html.calm .hero-glow, html.calm .caret { animation: none; }
html.calm .card:hover, html.calm .btn-primary:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-glow, .caret { animation: none; }
}

/* ── Small screens ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .split, .dl-layout { grid-template-columns: 1fr; }
    .three { grid-template-columns: 1fr; }
    .dl-side { position: static; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #12161c; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 2px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links > a { padding: 12px; }
    .nav-tools { margin: 10px 0 0; justify-content: space-between; }
}
@media (max-width: 560px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .prompt-grid { grid-template-columns: 1fr; }
    .dl { flex-wrap: wrap; }
    .dl .btn { width: 100%; }
    .term-body { padding: 16px; font-size: .8rem; min-height: 230px; }
}

/* ── Logo leaf glow ──────────────────────────────────────────── */
.logo { display: block; width: auto; overflow: visible; }
.logo-glow { opacity: .8; animation: leaf-glow 3.6s ease-in-out infinite; }
.brand:hover .logo-glow { animation-duration: 1.4s; }
@keyframes leaf-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
html.calm .logo-glow { animation: none; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .logo-glow { animation: none; opacity: .8; } }

/* ── About page ──────────────────────────────────────────────── */
.about-head h1 em { font-style: normal; color: var(--accent-3); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 32px 0 0;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-facts div { background: rgba(23,28,36,.92); padding: 16px 18px; }
.about-facts dt { font: 700 1.6rem var(--sans); letter-spacing: -.02em; color: #fff; }
.about-facts dd { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(var(--accent), rgba(32,138,60,.15)); }
.timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 30px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-n { position: relative; z-index: 1; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; font: 700 .8rem var(--mono); color: #fff; background: var(--accent);
    box-shadow: 0 0 0 6px var(--bg), 0 0 18px var(--glow); }
.timeline h3 { margin: 6px 0 4px; }
.timeline p { color: #c7ccd4; margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.chips li { font: 500 .8rem var(--sans); padding: 5px 11px; border-radius: 999px; color: #cfd4db;
    border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }

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

.code-story { border: 1px solid var(--line-2); border-radius: var(--radius); background: #0c0f13; overflow: hidden; }
.cs-row { display: grid; grid-template-columns: 74px 92px 1fr; gap: 14px; align-items: baseline;
    padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cs-row:last-child { border-bottom: 0; }
.cs-row p { margin: 0; color: #c7ccd4; font-size: .95rem; }
.cs-year { font: 600 .8rem var(--mono); color: var(--muted); }
.cs-tool { font: 600 .85rem var(--mono); color: #9cc7ff; }
.cs-now { background: linear-gradient(90deg, rgba(32,138,60,.16), transparent 70%); }
.cs-now .cs-tool { color: #7fd197; }

.pull { margin: 40px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.pull p { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: #e6e9ee; margin: 0; }

@media (max-width: 700px) {
    .two, .about-facts { grid-template-columns: 1fr; }
    .cs-row { grid-template-columns: 1fr; gap: 4px; }
}

.about-hero { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-hero .lead strong { color: #fff; }
.about-photo { position: relative; margin: 0; }
.about-photo::before { content: ""; position: absolute; inset: -18px; border-radius: 28px; z-index: -1;
    background: radial-gradient(circle at 60% 30%, rgba(32,138,60,.35), transparent 65%); }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 20px;
    border: 1px solid rgba(50,147,76,.4); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 6px rgba(32,138,60,.08); }
.about-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 12px;
    background: rgba(18,22,28,.82); backdrop-filter: blur(10px); font-size: .82rem; color: var(--muted);
    border: 1px solid var(--line-2); }
.about-photo figcaption span { display: block; color: #fff; font-weight: 600; font-size: .95rem; }

.name-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.name-part { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.name-word { display: block; font: 800 2.4rem var(--sans); letter-spacing: -.03em; color: #fff; margin-bottom: 6px; }
.name-part:last-child .name-word { color: var(--accent-3); font-family: var(--mono); }
.name-part p { margin: 0; color: #c7ccd4; }
.name-part em { font-style: normal; color: #7fd197; font-weight: 600; }
.name-plus { align-self: center; font: 300 2rem var(--mono); color: var(--muted); }
.name-sum { margin: 22px 0 0; font-size: 1.1rem; color: #e6e9ee; }
.pill-nz-only { color: #e5c07b; border-color: rgba(229,192,123,.35); }

@media (max-width: 860px) {
    .about-hero { grid-template-columns: 1fr; }
    .about-photo { max-width: 420px; }
    .name-split { grid-template-columns: 1fr; }
    .name-plus { justify-self: center; }
}

.plan-note { color: var(--muted); font-size: .86rem; margin: 6px 0 0; }
.plan-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; max-width: 46rem; }
.plan-notes li { position: relative; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.plan-notes li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-3); }
.plan-flag-alt { background: #2B3340; border: 1px solid var(--accent-2); color: #8fd3a2; }

/* ── Tips ────────────────────────────────────────────────────── */
.accent-em { font-style: normal; color: var(--accent-3); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter-pills a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: #cfd4db; font-size: .88rem; }
.filter-pills a span { color: var(--muted); font-family: var(--mono); font-size: .76rem; margin-left: 4px; }
.filter-pills a.on { background: rgba(32,138,60,.18); border-color: var(--accent-2); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(50,147,76,.55); transform: translateY(-2px); }
.post-card h2 { font-size: 1.25rem; margin: 10px 0 8px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent-3); }
.post-card > p:not(.post-meta) { color: #c7ccd4; font-size: .95rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin: 0; }
.post-title { font-size: clamp(2rem, 4.4vw, 3rem); }
.post-body { font-size: 1.05rem; }
.post-body h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.post-body p, .post-body li { color: #d3d8de; line-height: 1.75; }
.post-body a { color: var(--accent-3); }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); margin: 1.4em 0; }
.post-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: #e6e9ee; }
.post-body code { font-family: var(--mono); font-size: .88em; background: #0c0f13; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.post-body pre { background: #0c0f13; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; overflow-x: auto; }
.post-body pre code { border: 0; padding: 0; background: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }

/* ── Thoughts ────────────────────────────────────────────────── */
.thought-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); }
.kind-pick { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kind-pick legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.kind-pick label { cursor: pointer; }
.kind-pick input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pick span { display: block; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: #cfd4db; font-size: .92rem; transition: border-color .15s, background .15s; }
.kind-pick input:checked + span { border-color: var(--accent-2); background: rgba(32,138,60,.16); color: #fff; box-shadow: 0 0 0 3px rgba(32,138,60,.15); }
.kind-pick input:focus-visible + span { outline: 2px solid var(--accent-3); outline-offset: 2px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-row label small { font-weight: 400; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea { width: 100%; box-sizing: border-box; background: #12161c; color: var(--text);
    border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; font: inherit; transition: border-color .15s, box-shadow .15s; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(32,138,60,.18); }
.form-row textarea { resize: vertical; min-height: 150px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #f08a8d; margin: 0 0 14px; }
.form-note { color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid rgba(50,147,76,.45); border-radius: 18px; padding: 26px; }
.sent h3 { margin-bottom: 4px; }
@media (max-width: 600px) { .form-two { grid-template-columns: 1fr; } }

/* ── Whole card clickable ────────────────────────────────────────
   The title link is stretched over the card (::after), so a click
   anywhere opens it. Controls that do something else (Show info) sit
   above that layer. One real link per card, so keyboard and screen
   reader users still get a single, named link. */
.card, .post-card { position: relative; cursor: pointer; }
.card h3 a::after, .post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card .link-btn, .card .card-info, .card .link-arrow, .post-card .link-arrow { position: relative; z-index: 2; }
.card .card-info { cursor: auto; }
.card h3 a:focus-visible, .post-card h2 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible), .post-card:has(h2 a:focus-visible) { outline: 2px solid var(--accent-3); outline-offset: 3px; }

/* ── Edit page (site admins only, 5 Oct 2026) ────────────────────
   Outlines show what can be edited; nothing changes for visitors, who
   never get the data-edit-key spans at all. */
html.editing [data-edit-key] { outline: 1px dashed rgba(92,170,113,.65); outline-offset: 3px; border-radius: 3px; cursor: text; }
html.editing [data-edit-key]:hover { outline-color: #8fd3a2; background: rgba(32,138,60,.08); }
html.editing [data-edit-key]:focus { outline: 2px solid var(--accent-3); background: rgba(32,138,60,.12); }
html.editing [data-edit-changed="1"] { box-shadow: -6px 0 0 -3px var(--accent-3); }
html.editing .card h3 a::after, html.editing .post-card h2 a::after { display: none; }
html.editing .card, html.editing .post-card { cursor: default; }
html.editing .reveal { opacity: 1 !important; transform: none !important; }
html.editing body { padding-bottom: 76px; }
.edit-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80; width: min(980px, calc(100% - 24px));
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 18px; border-radius: 14px;
    background: rgba(18,22,28,.94); backdrop-filter: blur(12px); border: 1px solid var(--accent-2);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 0 4px rgba(32,138,60,.12); font-size: .88rem; }
.edit-bar[hidden] { display: none; }
.edit-bar-title { font-weight: 700; color: #fff; }
.edit-bar-count { color: #8fd3a2; font-family: var(--mono); font-size: .8rem; }
.edit-bar-hint { color: var(--muted); font-size: .78rem; margin-right: auto; }
.edit-bar-btn { border-radius: 8px; padding: 8px 14px; font: 600 .85rem var(--sans); cursor: pointer; border: 1px solid var(--line-2); }
.edit-bar-btn.ghost { background: transparent; color: #e6e9ee; }
.edit-bar-btn.ghost:hover { border-color: var(--accent-2); }
.edit-bar-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.edit-bar-btn.primary:disabled { opacity: .45; cursor: default; }
.edit-bar-btn[hidden] { display: none; }
[data-edit-toggle][aria-pressed="true"] { background: var(--accent-2); }
@media (max-width: 700px) { .edit-bar-hint { display: none; } }
/* A plain <em> in a page heading is the green accent word, so it survives
   in-place editing (which keeps <em> but strips class attributes). */
.page-head h1 em { font-style: normal; color: var(--accent-3); }

/* ── Platforms (5 Oct 2026) ─────────────────────────────────────── */
.platform-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; font-size: .9rem; }
.platform-switch a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: #cfd4db; }
.platform-switch a:hover { border-color: var(--accent-2); color: #fff; }
.footer-tm { color: var(--muted); font-size: .76rem; margin-top: 14px; opacity: .8; }

/* ── Home product carousel (6 October 2026) ──────────────────────
   All slides share one grid cell; only .is-active is visible. The demo
   animations key off .is-active, so they replay each time a slide returns. */
.spot-track { display: grid; }
.spot-slide { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.spot-slide:not(.is-active) { opacity: 0; visibility: hidden; transform: translateX(24px); pointer-events: none; }
.spot-slide.is-active { transition-delay: 0s; }
.spot-slide.is-leaving { transform: translateX(-24px); }

.spot-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 44px; }
.spot-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.spot-tab { position: relative; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); font: 500 .85rem var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.spot-tab:hover { color: var(--text); border-color: var(--accent-2); }
.spot-tab.is-active { color: var(--text); border-color: rgba(50,147,76,.6); background: rgba(32,138,60,.14); }
.spot-tab span { position: relative; }
.spot-time { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent-2); }
.spot-tab.is-active.is-timed .spot-time { animation: spot-time var(--spot-ms, 10s) linear forwards; }
.spot.is-paused .spot-time { animation-play-state: paused !important; }
@keyframes spot-time { to { width: 100%; } }
.spot-arrow { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.spot-arrow:hover { border-color: var(--accent-2); background: var(--card-2); }
.spot-tab:focus-visible, .spot-arrow:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 2px; }

/* Shared demo window (Studio, pySheets) on the terminal frame */
.demo-win { position: relative; }

/* Studio: a portal frame drawing itself in */
.demo-studio { position: relative; padding: 14px 14px 18px; min-height: 260px; background: radial-gradient(ellipse at 50% 40%, #1a212b, #0c0f13 75%); }
.frame-svg { display: block; width: 100%; height: auto; }
.frame-svg .grid-floor path { stroke: #232b37; stroke-width: 1; fill: none; }
.frame-svg .steel path { fill: none; stroke: #8ea0b8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.frame-svg .steel .brace { stroke: #5d6b80; stroke-width: 1.4; }
.frame-svg .picked { fill: none; stroke: var(--accent-3); stroke-width: 4.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 6px rgba(92,170,113,.7)); }
.frame-svg .dim { opacity: 0; }
.frame-svg .dim path { stroke: #e5c07b; stroke-width: 1.1; fill: none; }
.frame-svg .dim text { fill: #e5c07b; font: 600 11px var(--mono); text-anchor: middle; }
.vcube .vc-top { fill: #3a4456; } .vcube .vc-l { fill: #2b3340; } .vcube .vc-r { fill: #232933; }
.vcube path { stroke: #4a5568; stroke-width: 1; }
.demo-chip { position: absolute; left: 18px; bottom: 16px; display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px; background: rgba(30,36,46,.92); border: 1px solid rgba(50,147,76,.45); font: .76rem var(--mono); color: var(--muted); opacity: 0; transform: translateY(6px); }
.demo-chip b { color: var(--text); font-family: var(--sans); font-size: .85rem; }
.is-active .frame-svg .steel path { animation: draw 1.6s ease forwards; animation-delay: var(--d, 0s); }
.is-active .frame-svg .picked { animation: fade-in .4s ease 2.1s forwards; }
.is-active .frame-svg .dim { animation: fade-in .4s ease 2.6s forwards; }
.is-active .demo-chip { animation: rise-in .4s ease 2.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise-in { to { opacity: 1; transform: none; } }

/* pySheets: an export queue */
.demo-queue { padding: 18px; min-height: 260px; display: grid; gap: 8px; align-content: start; font: .8rem var(--mono); }
.q-row { display: grid; grid-template-columns: 52px 1fr auto auto 70px 14px; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; background: #11151b; border: 1px solid var(--line); color: #cfd4db; }
.q-no { color: #9cc7ff; }
.q-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-fmt { font-size: .66rem; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); }
.q-bar { height: 5px; border-radius: 9px; background: #232b37; overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; background: var(--accent-2); }
.q-ok { color: #7fd197; opacity: 0; }
.q-foot { margin: 8px 2px 0; color: var(--muted); font-size: .74rem; opacity: 0; }
.q-foot span { margin-left: 8px; color: #8fd3a2; border: 1px solid rgba(50,147,76,.5); border-radius: 99px; padding: 1px 8px; }
.is-active .q-bar i { animation: fill .9s ease forwards; animation-delay: calc(var(--i) * .75s + .3s); }
.is-active .q-ok { animation: fade-in .2s ease forwards; animation-delay: calc(var(--i) * .75s + 1.2s); }
.is-active .q-foot { animation: fade-in .4s ease 4.4s forwards; }
@keyframes fill { to { width: 100%; } }

/* Field: a phone mid-inspection */
.demo-phone { justify-self: center; width: min(290px, 100%); padding: 12px; border-radius: 38px; background: #0c0f13; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(50,147,76,.08); }
.ph-screen { border-radius: 28px; background: #171c24; padding: 22px 16px 18px; display: grid; gap: 14px; }
.ph-head { display: grid; }
.ph-head small { color: var(--accent-3); font: 600 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ph-head b { font-size: 1.05rem; }
.ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-photos span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; color: #5d6b80; background: linear-gradient(135deg, #2b3340, #1e242e); opacity: 0; transform: scale(.9); }
.ph-photos span:nth-child(1) { --i: 0; } .ph-photos span:nth-child(2) { --i: 1; } .ph-photos span:nth-child(3) { --i: 2; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .82rem; }
.ph-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #1e242e; border: 1px solid var(--line); color: #cfd4db; opacity: 0; transform: translateY(6px); }
.ph-list i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 700 .7rem var(--sans); font-style: normal; }
.ph-ok { background: rgba(32,138,60,.25); color: #8fd3a2; }
.ph-bad { background: rgba(229,72,77,.2); color: #ff9a9d; }
.ph-list em { font-style: normal; font-size: .68rem; color: #ff9a9d; margin-left: 26px; flex-basis: 100%; }
.ph-btn { text-align: center; padding: 10px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: .85rem; opacity: 0; }
.is-active .ph-photos span { animation: pop-in .35s ease forwards; animation-delay: calc(var(--i) * .2s + .2s); }
.is-active .ph-list li { animation: rise-in .35s ease forwards; animation-delay: calc(var(--i) * .55s + 1s); }
.is-active .ph-btn { animation: fade-in .4s ease 3.4s forwards; }
@keyframes pop-in { to { opacity: 1; transform: none; } }

/* Motion off: every demo shows its finished state at once */
html.calm .spot-slide { transition: none; }
html.calm .spot *, html.calm .spot *::before { animation-duration: 0s !important; animation-delay: 0s !important; }
html.calm .spot-time { display: none; }

@media (max-width: 900px) {
    .spot-nav { margin-top: 32px; }
    .demo-studio, .demo-queue { min-height: 0; }
    .spot-slide { align-content: start; }
    .spot-slide > .term { align-self: start; }
}
@media (max-width: 560px) {
    .spot-arrow { display: none; }
    .spot-tab { font-size: .78rem; padding: 7px 12px; }
    .q-row { grid-template-columns: 46px 1fr 60px 14px; }
    .q-fmt { display: none; }
}

/* 'Support us' in the top menu, the old site's 'Buy me a Beer' (8 October 2026) */
.nav-support { display: inline-flex; align-items: center; gap: 6px; }
.nav-support .nav-heart { color: #e5534b; flex: none; transition: transform .2s; }
.nav-support:hover .nav-heart { transform: scale(1.18); }

/* the Download button is a form now: it posts to a signed address (9 October 2026) */
.dl-form { margin: 0; flex: none; }
.dl-form button.btn { border: 0; font: inherit; cursor: pointer; }

/* footer link icons: GitHub, LinkedIn, the Seed43 leaf (9 October 2026) */
.footer-grid a.foot-link { display: flex; align-items: center; gap: 9px; }
.foot-ico { width: 16px; height: 16px; flex: none; opacity: .85; transition: opacity .2s, transform .2s; }
.foot-seed { width: 18px; height: 18px; opacity: 1; }
.footer-grid a.foot-link:hover .foot-ico { opacity: 1; transform: translateY(-1px); }
