/* ============================================================
   MUSHROOM TRACKER — "DARK FOREST PUNK" THEME (Direction 1)
   Shared stylesheet for the whole static site.
   Inspired by mycoculturerad.com: near-black charcoal ground,
   all-caps poster blocks, manifesto question headers,
   mono "specimen label" details, acid-green signal accent.
   ============================================================ */

:root {
    --ink: #141614;            /* page ground — near-black charcoal */
    --coal: #1E2420;           /* alt section ground */
    --panel: #232823;         /* card surface */
    --panel-2: #2A302A;       /* raised card surface */
    --line: #363C36;          /* borders */
    --paper: #EFEAE0;         /* primary text — warm off-white */
    --muted: #A7A29A;         /* secondary text */
    --faint: #6E6A63;         /* tertiary text */
    --acid: #B6F34A;          /* acid-green signal accent */
    --acid-dim: #8FC93A;
    --amber: #F2A71B;         /* amber signal accent */
    --blood: #FF5D5D;         /* toxic / danger */
    --sky: #7DC4E4;           /* info */
    --display: 'Poppins', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --maxw: 1180px;
    --radius: 3px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--display);
    background: var(--ink);
    color: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--acid); }
::selection { background: var(--acid); color: #141614; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- type utilities ---------- */
.kicker {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--acid);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 2rem; height: 2px; background: var(--acid); display: inline-block; }
.mono { font-family: var(--mono); }
.display-allcaps { text-transform: uppercase; letter-spacing: 0.01em; }

h1, h2, h3, h4, .hero-title { font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.01em; }
.manifesto { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.manifesto .q { color: var(--acid); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.9rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 44rem; }
.section-head { margin-bottom: 2.5rem; }
.section-pad { padding: 5.5rem 0; }
.band { background: var(--coal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(20, 22, 20, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--paper); font-weight: 800; letter-spacing: 0.06em; font-size: 0.95rem; text-transform: uppercase; }
.brand img, .brand picture img { width: 34px; height: 34px; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--acid); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--paper); font-family: var(--mono); font-size: 0.8rem; padding: 0.5rem 0.8rem; cursor: pointer; letter-spacing: 0.15em; }

/* ---------- buttons ---------- */
.btn, a.btn {
    display: inline-block;
    background: var(--acid) !important; color: #141614 !important;
    font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 1rem 1.9rem; border: 2px solid var(--acid) !important; border-radius: var(--radius);
    text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:hover, a.btn:hover { background: transparent !important; color: var(--acid) !important; transform: translateY(-2px); }
.btn-ghost, a.btn-ghost { background: transparent !important; color: var(--paper) !important; border-color: var(--line) !important; }
.btn-ghost:hover, a.btn-ghost:hover { border-color: var(--acid) !important; color: var(--acid) !important; background: transparent !important; }
.btn-amber, a.btn-amber { background: var(--amber) !important; border-color: var(--amber) !important; color: #141614 !important; }
.btn-amber:hover, a.btn-amber:hover { color: var(--amber) !important; background: transparent !important; border-color: var(--amber) !important; }
.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.75rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 6rem 0 4.5rem; overflow: hidden;
    background:
        linear-gradient(rgba(20,22,20,0.80), rgba(20,22,20,0.93)),
        url('../images/forest-markers-bg.webp') center/cover no-repeat,
        radial-gradient(70% 55% at 82% 18%, rgba(182,243,74,.09), transparent 62%),
        radial-gradient(45% 40% at 6% 92%, rgba(242,167,27,.06), transparent 60%),
        linear-gradient(180deg, #0d110d 0%, #141614 52%, #0b0e0b 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 50% at 80% 20%, rgba(182, 243, 74, 0.07), transparent 60%),
        radial-gradient(40% 40% at 10% 90%, rgba(242, 167, 27, 0.05), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero .hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 1.25rem; }
.hero .hero-title .accent { color: var(--acid); }
/* The homepage H1 is the small kicker line (it carries the "mushroom map" query
   the page ranks for); keep it looking like every other kicker. */
h1.kicker { font-weight: 400; line-height: 1.6; }
.hero .lede { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }
.store-badges { display: flex; gap: 0.8rem; align-items: center; }
/* ---------- store badges: ONE size system, every page, every markup variant ----------
   Attribute selectors catch every variant (800x450 attrs, no dims, .app-badge,
   .store-badge) so no badge can ever render massive or mismatched again.
   !important beats legacy overrides like .legacy-article img { height: auto },
   which otherwise blow badges up to their width/height attrs on older pages. */
img[src*="app-store-badge"], img[src*="google-play-badge"] {
    height: 43px !important; width: auto !important; display: inline-block; vertical-align: middle;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
/* Google's official PNG is only ~67% visible artwork (transparent padding
   top/bottom); draw it 1.49x taller so the visible badge matches Apple. */
img[src*="google-play-badge"] { height: 64px !important; }
/* Hero + download bands get the larger presentation size. */
.store-badges img[src*="google-play-badge"] { height: 70px !important; }
.store-badges img[src*="app-store-badge"] { height: 47px !important; }

/* Growth-CTA buttons (injected by js/growth-cta.js): dark text must survive
   legacy page contexts — .legacy-article a { color: var(--acid) } otherwise
   paints the label acid-green on the acid-green button, making it invisible. */
a.mt-hero-btn, a.mt-inline-btn, a.mt-sticky-btn, a.mt-smart-btn { color: #141614 !important; }
a.mt-hero-btn:hover, a.mt-inline-btn:hover, a.mt-sticky-btn:hover, a.mt-smart-btn:hover { color: #141614 !important; }
.stat-strip { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
.stat-cell { flex: 1; padding: 1rem 1.2rem; border-right: 1px solid var(--line); background: var(--coal); }
.stat-cell:last-child { border-right: 0; }
.stat-cell .num { font-family: var(--mono); font-size: 1.25rem; font-weight: 600; color: var(--acid); display: block; }
.stat-cell .lbl { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }

/* hero visual: tilted auto-scrolling phone — aspect-locked, never stretched */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; padding: 0.5rem 0 2.5rem; }
.phone-tilt {
    position: relative; transform: rotateY(-16deg) rotateX(5deg) rotateZ(-3deg); transform-style: preserve-3d;
    background: #0b0d0b; border: 1px solid var(--line); border-radius: 3rem; padding: 14px;
    box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 90px rgba(182,243,74,.10);
}
.phone-notch {
    position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
    width: 104px; height: 24px; background: #0b0d0b; border: 1px solid var(--line);
    border-radius: 1rem; z-index: 2;
}
.phone-screen {
    width: min(270px, 62vw); aspect-ratio: 9 / 19.2; border-radius: 2.2rem;
    overflow: hidden; background: #000; position: relative;
}
/* Pausing slideshow: each screenshot holds ~4s so it can actually be read. */
.phone-slide { position: absolute; inset: 0; opacity: 0; animation: phoneCycle 20s linear infinite; }
.phone-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-slide:nth-child(1) { animation-delay: 0s; }
.phone-slide:nth-child(2) { animation-delay: 5s; }
.phone-slide:nth-child(3) { animation-delay: 10s; }
.phone-slide:nth-child(4) { animation-delay: 15s; }
@keyframes phoneCycle {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}
.hero-visual:hover .phone-slide, .hero-visual:hover .phone-dots span { animation-play-state: paused; }
.phone-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 3; }
.phone-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); animation: dotCycle 20s linear infinite; }
.phone-dots span:nth-child(2) { animation-delay: 5s; }
.phone-dots span:nth-child(3) { animation-delay: 10s; }
.phone-dots span:nth-child(4) { animation-delay: 15s; }
@keyframes dotCycle {
    0%, 20% { background: #B6F34A; transform: scale(1.25); }
    24%, 100% { background: rgba(255,255,255,.3); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .phone-slide, .phone-dots span { animation: none; }
    .phone-slide:first-child { opacity: 1; }
    .phone-tilt { transform: none; }
}

/* ---------- poster cards ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.poster {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.75rem 1.5rem; position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.poster:hover { transform: translateY(-4px); border-color: var(--acid); }
.poster .idx { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.2em; display: block; margin-bottom: 1rem; }
.poster h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.poster p { color: var(--muted); font-size: 0.95rem; }
.poster .tag { display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--acid); border: 1px solid var(--acid); padding: 0.25rem 0.6rem; margin-bottom: 1rem; text-transform: uppercase; }

.shot-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot-card .frame { aspect-ratio: 3 / 4; overflow: hidden; background: #0E100E; }
.shot-card .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-card .cap { padding: 1.1rem 1.25rem; }
.shot-card .cap h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.shot-card .cap p { color: var(--muted); font-size: 0.9rem; }

/* generic aspect-locked image frame — the anti-stretch rule */
.img-frame { aspect-ratio: 4 / 3; overflow: hidden; background: #0E100E; }
.img-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.img-frame.ratio-1x1 { aspect-ratio: 1 / 1; }
.img-frame.ratio-3x4 { aspect-ratio: 3 / 4; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 3rem 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.feature-copy p { color: var(--muted); margin-bottom: 1.25rem; }
.check-list { list-style: none; margin-bottom: 1.5rem; }
.check-list li { padding: 0.45rem 0 0.45rem 1.8rem; position: relative; color: var(--paper); font-size: 0.98rem; }
.check-list li::before { content: "▸"; position: absolute; left: 0; color: var(--acid); font-family: var(--mono); }

/* ---------- manifesto band ---------- */
.manifesto-band { text-align: center; padding: 6rem 0; }
.manifesto-band p { color: var(--muted); max-width: 40rem; margin: 1.25rem auto 0; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 2rem; position: relative; display: flex; flex-direction: column; }
/* Pin the CTA to the card bottom so Monthly / Yearly buttons align. */
.price-card > a.btn { margin-top: auto; }
.price-card.featured { border-color: var(--acid); background: var(--panel-2); }
.price-card .flag { position: absolute; top: -0.9rem; left: 2rem; background: var(--acid); color: #141614; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.2em; padding: 0.3rem 0.8rem; text-transform: uppercase; font-weight: 600; }
.price-card h3 { font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.5rem; }
.price-card .amount { font-size: 2.6rem; font-weight: 800; }
.price-card .amount span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 1.5rem 0 2rem; }
.price-card li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--muted); font-size: 0.95rem; }
.price-card li::before { content: "+"; position: absolute; left: 0; color: var(--acid); font-family: var(--mono); font-weight: 600; }
.price-note { text-align: center; color: var(--faint); font-size: 0.85rem; margin-top: 1.5rem; font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; background: var(--panel); }
.faq-list summary { cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: var(--acid); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--acid); color: #141614; padding: 4.5rem 0; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.75rem; }
.cta-band p { font-weight: 600; margin-bottom: 1.75rem; }
.cta-band .btn, .cta-band a.btn { background: #141614 !important; border-color: #141614 !important; color: var(--paper) !important; }
.cta-band .btn:hover, .cta-band a.btn:hover { background: transparent !important; color: #141614 !important; }
.cta-band .store-badges { justify-content: center; margin-top: 1.5rem; }

/* ---------- footer (UNIFIED — same markup on every template) ---------- */
.site-footer { background: #0E100E; border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 1rem 0 1.5rem; max-width: 22rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em; color: var(--faint); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--acid); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--faint); }
.footer-bottom .legal { display: flex; gap: 1.5rem; }
.footer-bottom .legal a { color: var(--faint); font-size: 0.8rem; text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--acid); }

/* ---------- newsletter form ---------- */.inline-form { display: flex; gap: 0.6rem; max-width: 26rem; }
.inline-form input {
    flex: 1; background: var(--ink); border: 1px solid var(--line); color: var(--paper);
    padding: 0.85rem 1rem; font-family: inherit; font-size: 0.95rem; border-radius: var(--radius);
}
.inline-form input:focus { outline: none; border-color: var(--acid); }

/* ---------- tables ---------- */
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.data-table th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.data-table tr td:first-child { color: var(--paper); font-weight: 600; }
.data-table-wrapper { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- blog ---------- */
.blog-hero { padding: 5rem 0 3rem; position: relative; background: linear-gradient(rgba(20,22,20,0.88), rgba(20,22,20,0.96)), url('../blog/blog-images/index-hero.webp') center/cover no-repeat; border-bottom: 1px solid var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--paper); display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--acid); }
.post-card .img-frame { aspect-ratio: 16 / 9; }
.post-card .body { padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card .topic { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--acid); text-transform: uppercase; }
.post-card h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; font-weight: 700; line-height: 1.35; }
.post-card .dek { color: var(--muted); font-size: 0.9rem; flex: 1; }
.post-card .meta { font-family: var(--mono); font-size: 0.65rem; color: var(--faint); letter-spacing: 0.08em; }
.post-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card.featured .img-frame { aspect-ratio: auto; height: 100%; min-height: 280px; }
.post-card.featured .body { padding: 2rem; justify-content: center; }
.post-card.featured h3 { font-size: 1.7rem; }
.cluster-head { display: flex; align-items: baseline; justify-content: space-between; margin: 3.5rem 0 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; }
.cluster-head h2 { font-size: 1.3rem; }
.cluster-head a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* article typography */
.article { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.article .kicker { margin-bottom: 1.25rem; }
.article h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; text-transform: none; letter-spacing: -0.01em; }
.article .standfirst { color: var(--muted); font-size: 1.15rem; margin-bottom: 1.5rem; }
.article .byline { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 1.5rem; margin: 2.75rem 0 1rem; text-transform: uppercase; }
.article h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.article p, .article li { color: #D8D3C8; }
.article p { margin-bottom: 1.35rem; font-size: 1.05rem; }
.article ul, .article ol { margin: 0 0 1.5rem 1.4rem; }
.article li { margin-bottom: 0.5rem; }
.article a { color: var(--acid); }
.article .img-frame { margin: 2rem 0 0.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
.article .img-credit { font-family: var(--mono); font-size: 0.65rem; color: var(--faint); text-align: right; margin-bottom: 2rem; letter-spacing: 0.06em; }
.article table { margin: 2rem 0; }
.article blockquote { border-left: 3px solid var(--acid); padding: 0.5rem 0 0.5rem 1.25rem; margin: 2rem 0; color: var(--paper); font-size: 1.15rem; font-weight: 600; }

/* ---------- species profile ---------- */
.spec-hero {
    background:
        linear-gradient(rgba(20,22,20,0.80), rgba(20,22,20,0.93)),
        url('../images/forest-markers-bg.webp') center/cover no-repeat,
        var(--coal);
    border-bottom: 1px solid var(--line); padding: 3.5rem 0 3rem; }
.spec-hero .crumbs { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; margin-bottom: 1.25rem; }
.spec-hero .crumbs a { color: var(--muted); text-decoration: none; }
.spec-hero .crumbs a:hover { color: var(--acid); }
.spec-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
.spec-hero .latin { font-family: var(--mono); font-style: italic; color: var(--acid); font-size: 1.05rem; margin-bottom: 1.5rem; display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }
.chip { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--ink); }
.chip.hot { border-color: var(--blood); color: var(--blood); }
.chip.safe { border-color: var(--acid); color: var(--acid); }
.chip.warn { border-color: var(--amber); color: var(--amber); }

.spec-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; padding: 3rem 0 5rem; align-items: start; }
.spec-main h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.spec-main h2:first-child { margin-top: 0; }
.spec-main p { color: #D8D3C8; margin-bottom: 1.25rem; }
.spec-main ul { margin: 0 0 1.5rem 1.3rem; color: #D8D3C8; }
.spec-main li { margin-bottom: 0.5rem; }
.spec-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.25rem; }

.gallery { display: grid; gap: 0.75rem; }
.gallery .img-frame { border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-main .img-frame { aspect-ratio: 4 / 3; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.gallery-thumbs .img-frame { aspect-ratio: 1 / 1; }

.specimen-pending {
    aspect-ratio: 4 / 3; border: 1px dashed var(--line); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
    background: var(--coal); text-align: center; padding: 2rem;
}
.specimen-pending .glyph { font-size: 2.2rem; opacity: 0.5; }
.specimen-pending p { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }

.attr-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.attr-table th { text-align: left; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding: 0.7rem 0.9rem 0.7rem 0; width: 34%; vertical-align: top; font-weight: 600; }
.attr-table td { padding: 0.7rem 0; color: #D8D3C8; border-bottom: 1px solid var(--line); vertical-align: top; }
.attr-table tr:last-child td { border-bottom: 0; }

.alert { border: 1px solid; border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.alert h4 { font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.alert p { color: #D8D3C8; font-size: 0.98rem; margin: 0; }
.alert-danger { border-color: var(--blood); background: rgba(255, 93, 93, 0.07); }
.alert-danger h4 { color: var(--blood); }
.alert-warn { border-color: var(--amber); background: rgba(242, 167, 27, 0.07); }
.alert-warn h4 { color: var(--amber); }
.alert-ok { border-color: var(--acid); background: rgba(182, 243, 74, 0.06); }
.alert-ok h4 { color: var(--acid); }
.alert-info { border-color: var(--sky); background: rgba(125, 196, 228, 0.06); }
.alert-info h4 { color: var(--sky); }

.lookalike-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.lookalike { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.lookalike h4 { font-size: 0.95rem; margin-bottom: 0.4rem; text-transform: none; letter-spacing: 0; }
.lookalike .diff { font-family: var(--mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.06em; margin-bottom: 0.5rem; display: block; }
.lookalike p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.toc h4 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 0.9rem; text-transform: uppercase; }
.toc ul { list-style: none; margin: 0; }
.toc li { margin-bottom: 0.45rem; }
.toc a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.toc a:hover { color: var(--acid); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.related-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--paper); transition: border-color 0.2s, transform 0.2s; }
.related-card:hover { border-color: var(--acid); transform: translateY(-3px); }
.related-card strong { display: block; font-size: 0.95rem; }
.related-card em { font-family: var(--mono); font-style: normal; font-size: 0.72rem; color: var(--faint); }

.cta-panel { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; margin: 3rem 0; }
.cta-panel h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.cta-panel p { color: var(--muted); margin-bottom: 1.5rem; }
.disclaimer { font-size: 0.82rem; color: var(--faint); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2.5rem; }

/* species index */
.db-hero { padding: 5rem 0 3rem; text-align: center; }
.search-bar { max-width: 560px; margin: 2rem auto 0; position: relative; }
.search-bar input { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--paper); padding: 1.1rem 1.4rem; font-family: inherit; font-size: 1rem; border-radius: 999px; }
.search-bar input:focus { outline: none; border-color: var(--acid); }
.species-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; padding-bottom: 5rem; }
.species-cell { display: flex; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--acid); border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--paper); transition: transform 0.15s, border-color 0.2s; }

.species-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--bg);
    flex-shrink: 0;
}

.species-cell:hover { transform: translateY(-3px); border-color: var(--acid); border-left-color: var(--acid); }
.species-cell strong { display: block; font-size: 0.98rem; }
.species-cell .latin-sm { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.species-cell.st-poisonous { border-left-color: var(--blood); }
.species-cell.st-caution { border-left-color: var(--amber); }
li.hidden { display: none; }
.no-results { display: none; text-align: center; grid-column: 1 / -1; padding: 3rem; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- scroll reveal (progressive enhancement: hidden only while JS is active) ---------- */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { margin: 0 auto; }
    .poster-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .feature-row.flip .feature-copy { order: 0; }
    .spec-layout { grid-template-columns: 1fr; }
    .spec-side { position: static; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card.featured { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links li { border-top: 1px solid var(--line); }
    .nav-links a { display: block; padding: 0.9rem 0; }
    .nav-toggle { display: block; }
    .poster-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
    .lookalike-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-pad { padding: 3.5rem 0; }
    .stat-strip { flex-wrap: wrap; }
    .stat-cell { flex: 1 1 45%; border-bottom: 1px solid var(--line); }
}

/* ---------- cookie consent ---------- */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; z-index: 500; background: var(--coal); border-top: 1px solid var(--line); padding: 1rem 1.5rem; transform: translateY(110%); transition: transform 0.4s ease; }
.cookie-consent.visible { transform: none; }
.cookie-consent-content { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.cookie-consent-text p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.cookie-consent-text a { color: var(--acid); }
.cookie-consent-buttons { display: flex; gap: 0.6rem; }
.cookie-btn { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.7rem 1.3rem; border-radius: var(--radius); cursor: pointer; border: 2px solid var(--line); background: transparent; color: var(--paper); }
.cookie-btn-accept, a.cookie-btn-accept { background: var(--acid) !important; border-color: var(--acid) !important; color: #141614 !important; }
.cookie-btn-decline:hover { border-color: var(--paper); }

/* ---------- language selector ---------- */
.language-select { background: var(--panel); color: var(--paper); border: 1px solid var(--line); padding: 0.45rem 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; border-radius: var(--radius); cursor: pointer; }
.language-select:focus { outline: none; border-color: var(--acid); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* shot-row collapses with poster-grid on small screens */
@media (max-width: 960px) { .shot-row { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px) { .shot-row { grid-template-columns: 1fr !important; } }

/* ---------- blog tiles (emoji cards) ---------- */
.post-card .tile { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--coal); border-bottom: 1px solid var(--line); }
.post-card .tile span { font-size: 3.4rem; }
/* Legacy CTA sections (features pages) themed to match */
.cta-section { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; margin: 3rem auto; max-width: var(--maxw); }
.cta-section h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.cta-section p { color: var(--muted); }
.cta-button, a.cta-button { display: inline-block; background: var(--acid) !important; color: #141614 !important; font-weight: 700; padding: 0.7rem 1.6rem; border-radius: 24px; text-decoration: none; margin: 0.25rem; }
.cta-button:hover, a.cta-button:hover { background: #C9FA6D !important; color: #141614 !important; }

.post-card .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-sub { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--acid); margin: 2.4rem 0 1.1rem; }
.post-card-soon { opacity: 0.8; }
.post-card-soon:hover { transform: none; border-color: var(--line); }
.post-card.featured .tile { aspect-ratio: auto; min-height: 300px; }
.post-card.featured .tile span { font-size: 5rem; }

/* ---------- legacy article compat (hand-written blog/tracker/feature pages) ----------
   Old pages keep their body markup; this layer re-skins it in the dark theme. */
.legacy-article { max-width: 800px; margin: 0 auto; padding: 2.5rem 1.5rem 4.5rem; }
.legacy-article .article-header {
    background:
        linear-gradient(rgba(20,22,20,0.82), rgba(20,22,20,0.94)),
        url('../images/forest-markers-bg.webp') center/cover no-repeat;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 2.75rem 2.25rem; margin: 0 0 2.5rem; }
.legacy-article .article-header h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); text-transform: none; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.legacy-article .breadcrumb { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; margin-bottom: 1.1rem; }
.legacy-article .breadcrumb a { color: var(--muted); text-decoration: none; }
.legacy-article .breadcrumb a:hover { color: var(--acid); }
.legacy-article .article-meta { font-family: var(--mono); font-size: 0.68rem; color: var(--faint); letter-spacing: 0.08em; margin-top: 1.1rem; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.legacy-article h2 { font-size: 1.4rem; margin: 2.6rem 0 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line); }
.legacy-article h3 { font-size: 1.12rem; margin: 2rem 0 0.75rem; text-transform: none; letter-spacing: 0; }
.legacy-article h4 { font-size: 1rem; margin: 1.5rem 0 0.6rem; }
.legacy-article p, .legacy-article li { color: #D8D3C8; }
.legacy-article p { margin-bottom: 1.25rem; font-size: 1.02rem; }
.legacy-article ul, .legacy-article ol { margin: 0 0 1.5rem 1.4rem; }
.legacy-article li { margin-bottom: 0.5rem; }
.legacy-article a { color: var(--acid); }
.legacy-article img { border-radius: var(--radius); border: 1px solid var(--line); height: auto; }
.legacy-article .img-frame { margin: 2rem 0; }
.legacy-article table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: 0.92rem; display: block; overflow-x: auto; }
.legacy-article th { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.legacy-article td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.legacy-article .safety-box { border: 1px solid var(--blood); background: rgba(255,93,93,0.07); border-radius: var(--radius); padding: 1.35rem 1.45rem; margin: 2rem 0; }
.legacy-article .safety-box h4, .legacy-article .safety-box h3 { color: var(--blood); margin-top: 0; font-size: 0.95rem; letter-spacing: 0.08em; }
.legacy-article .tip-box { border: 1px solid var(--acid); background: rgba(182,243,74,0.06); border-radius: var(--radius); padding: 1.35rem 1.45rem; margin: 2rem 0; }
.legacy-article .tip-box h4, .legacy-article .tip-box h3 { color: var(--acid); margin-top: 0; font-size: 0.95rem; letter-spacing: 0.08em; }
.legacy-article .info-box { border: 1px solid var(--sky); background: rgba(125,196,228,0.06); border-radius: var(--radius); padding: 1.35rem 1.45rem; margin: 2rem 0; }
.legacy-article .info-box h4, .legacy-article .info-box h3 { color: var(--sky); margin-top: 0; font-size: 0.95rem; letter-spacing: 0.08em; }
.legacy-article .toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.legacy-article .toc h3 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--faint); margin: 0 0 0.9rem; text-transform: uppercase; }
.legacy-article .toc ul { list-style: none; margin: 0; }
.legacy-article .toc li { margin-bottom: 0.45rem; }
.legacy-article .toc a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.legacy-article .toc a:hover { color: var(--acid); }
.legacy-article .cta-box { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; text-align: center; margin: 3rem 0; }
.legacy-article .cta-box h3 { font-size: 1.35rem; margin: 0 0 0.75rem; text-transform: uppercase; }
.legacy-article .cta-box p { color: var(--muted); }
.legacy-article .cta-box .cta-button, .legacy-article .cta-box a.cta-button { display: inline-block; background: var(--acid) !important; color: #141614 !important; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 1.9rem; border: 2px solid var(--acid) !important; border-radius: var(--radius); text-decoration: none; margin-top: 0.5rem; }
.legacy-article .cta-box .cta-button:hover, .legacy-article .cta-box a.cta-button:hover { background: transparent !important; color: var(--acid) !important; }
.legacy-article .related-articles { margin-top: 3.5rem; }
.legacy-article .related-articles h2 { border-bottom: 0; padding-bottom: 0; }
.legacy-article .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.legacy-article .related-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; text-decoration: none; display: block; }
.legacy-article .related-card:hover { border-color: var(--acid); }
.legacy-article .related-card h3 { font-size: 1rem; margin: 0 0 0.5rem; color: var(--paper); }
.legacy-article .related-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .legacy-article .related-grid { grid-template-columns: 1fr; } }

/* ---------- quiz compat (safety quiz pages) ---------- */
.legacy-article .quiz-container { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; }
.legacy-article .quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.legacy-article .quiz-score { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--acid); }
.legacy-article .quiz-progress { height: 6px; background: var(--ink); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 2rem; }
.legacy-article .quiz-progress-fill { background: var(--acid); height: 100%; width: 0; transition: width 0.3s; }
.legacy-article .quiz-question { display: none; }
.legacy-article .quiz-question.active { display: block; }
.legacy-article .quiz-question h3 { font-size: 1.25rem; margin-bottom: 1.5rem; text-transform: none; }
.legacy-article .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.legacy-article .mushroom-option { background: var(--coal); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.5rem; cursor: pointer; text-align: center; transition: border-color 0.2s, transform 0.15s; }
.legacy-article .mushroom-option:hover { border-color: var(--acid); transform: translateY(-2px); }
.legacy-article .mushroom-option.selected { border-color: var(--acid); }
.legacy-article .mushroom-option.correct { border-color: var(--acid); background: rgba(182,243,74,0.08); }
.legacy-article .mushroom-option.incorrect { border-color: var(--blood); background: rgba(255,93,93,0.08); }
.legacy-article .mushroom-image { font-size: 3rem; margin-bottom: 0.75rem; }
.legacy-article .mushroom-option h4 { margin: 0 0 0.5rem; font-size: 1rem; }
.legacy-article .mushroom-option .label { font-size: 0.85rem; color: var(--muted); margin: 0; }
.legacy-article .quiz-feedback { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; display: none; }
.legacy-article .quiz-feedback.show { display: block; }
.legacy-article .quiz-feedback.correct { border-color: var(--acid); }
.legacy-article .quiz-feedback.incorrect { border-color: var(--blood); }
.legacy-article .quiz-nav { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1rem; }
.legacy-article .quiz-nav button, .legacy-article .quiz-nav a.btn { background: var(--acid) !important; color: #141614 !important; border: 2px solid var(--acid) !important; font-family: var(--display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.8rem 1.5rem; border-radius: var(--radius); cursor: pointer; }
.legacy-article .quiz-nav button:hover, .legacy-article .quiz-nav a.btn:hover { background: transparent !important; color: var(--acid) !important; }
.legacy-article .quiz-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.legacy-article .quiz-results { text-align: center; padding: 2rem 0; }
@media (max-width: 640px) { .legacy-article .comparison-grid { grid-template-columns: 1fr; } }

/* ---------- guides page ---------- */
.page-hero { position: relative; padding: 5rem 0 3.75rem; overflow: hidden;
    background:
        linear-gradient(rgba(20,22,20,0.80), rgba(20,22,20,0.93)),
        url('../images/forest-markers-bg.webp') center/cover no-repeat,
        radial-gradient(70% 55% at 82% 18%, rgba(182,243,74,.09), transparent 62%),
        radial-gradient(45% 40% at 6% 92%, rgba(242,167,27,.06), transparent 60%),
        linear-gradient(180deg, #0d110d 0%, #141614 52%, #0b0e0b 100%);
    border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin-bottom: 1rem; }
.page-hero .lede { color: var(--muted); font-size: 1.12rem; max-width: 40rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; }
.guide-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; }
.guide-card:hover { border-color: var(--acid); }
.guide-card .kicker { margin-bottom: 0.75rem; }
.guide-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; text-transform: uppercase; }
.guide-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.25rem; }
.guide-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; margin-bottom: 1.5rem; }
.guide-card .store-badges { margin-top: auto; }
.download-btn, a.download-btn { display: inline-block; background: var(--acid) !important; color: #141614 !important; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 1.6rem; border-radius: var(--radius); text-decoration: none; margin-top: auto; align-self: flex-start; }
.download-btn:hover, a.download-btn:hover { background: var(--paper) !important; color: #141614 !important; }
.faq-block { max-width: 800px; margin: 3rem auto 0; }
.faq-block h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: uppercase; }
.faq-block h3 { font-size: 1.05rem; margin: 1.75rem 0 0.6rem; color: var(--paper); text-transform: none; letter-spacing: 0; }
.faq-block p { color: var(--muted); }

/* ---------- free-app page: comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.compare-table th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.compare-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare-table td:first-child { color: var(--paper); }
.compare-table .yes { color: var(--acid); font-weight: 700; }
.compare-table .limit { font-family: var(--mono); font-size: 0.78rem; color: var(--amber); }
.compare-table .no { color: var(--faint); }
@media (max-width: 640px) { .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* Feature pages: the top banner breaks out of the narrow article column
   and stretches full-bleed like the blog hero. */
.legacy-article > section.hero {
    width: 100vw; max-width: none;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    padding-left: 1.5rem; padding-right: 1.5rem;
}
.legacy-article > section.hero > h1,
.legacy-article > section.hero > p,
.legacy-article > section.hero > div {
    max-width: 760px; margin-left: auto; margin-right: auto;
}

/* ---------- Feature Showcase (Z-Pattern) ---------- */
.feature-showcase-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 6rem 0;
    border-bottom: 1px solid var(--line);
}
.feature-showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}
@media (max-width: 960px) {
    .feature-showcase-row, 
    .feature-showcase-row:nth-child(even) {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
    }
}
.feature-visual {
    flex: 1;
    position: relative;
}
.feature-visual img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: var(--coal);
}
.feature-copy {
    flex: 1;
}
.feature-copy h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.feature-copy p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--paper);
}
.check-list li svg {
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--acid);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-svg {
    width: 2.5rem;
    height: 2.5rem;
    stroke: var(--acid);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
}
