/* mydev.cat landing - sibling of mydev.day, "matcha desk" palette.
   Same bones as mydev.day (mono type, hard cocoa hairlines, offset shadows,
   no radius) but its own warmer, cozier colourway. */
:root {
    --ink: #3a2b1e;       /* cocoa brown - softer than mydev.day's hard black */
    --muted: #8a7c6a;
    --line: #3a2b1e;      /* structural hairlines */
    --bg: #faf3e9;        /* warm cream paper (less green than oat) */
    --card: #fffdf6;
    --panel: #efe9da;     /* inset surface */
    --fill: #3a2b1e;
    --on-fill: #f7f4ea;
    --accent: #5fa86b;        /* sage green - the signature */
    --accent-deep: #c06a4a;   /* terracotta - warm complement / cat pop */
    --accent-soft: #e6efdc;   /* faint green wash */
    --hot: #c06a4a;
    --commit: #7c5cff;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --max: 64rem;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    overflow-x: clip;   /* the full-bleed macOS demo uses 100vw; clip kills the h-scrollbar */
}
a { color: var(--ink); }
img { display: block; }

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

/* ---- Masthead ---- */
header.site {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem;
    padding: 0.7rem 1.5rem; border-bottom: 2px solid var(--line);
    max-width: var(--max); margin: 0 auto;
}
.logo {
    display: inline-flex; align-items: center;
    text-transform: lowercase; font-weight: 800; font-size: 1.5rem;
    text-decoration: none; color: var(--ink); letter-spacing: -0.01em;
}
.logo img { width: 1.7em; height: 1.7em; margin-right: 0.5rem; image-rendering: pixelated; }
.logo b { color: var(--accent); font-weight: 800; }
header.site nav { margin-left: auto; display: flex; gap: 1rem; align-items: center; }
header.site nav a {
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem;
}
header.site nav a:hover { color: var(--accent); }
.langsel { display: inline-flex; align-items: center; gap: 0.4rem;
    text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.langsel a { text-decoration: none; color: var(--muted); }
.langsel a:hover { color: var(--accent); }
.langsel a.on { color: var(--ink); font-weight: 700; }
.langsel .sep { color: var(--muted); opacity: 0.45; }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 1.75rem; align-items: center;
    padding: 3.5rem 0 3rem; }
.hero h1 { font-size: 3.6rem; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
.hero h1 .know { color: var(--accent); }
.hero .lede { font-size: 1.1rem; color: var(--ink); max-width: 34rem; margin: 0 0 1.75rem; }
.hero .lede b { color: var(--accent-deep); font-weight: 700; }

.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.once { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.owners { display: block; margin: 0 0 0.1rem; font-size: 0.9rem; color: var(--ink); }
.owners .owners-n { color: var(--accent); font-weight: 800; }
.btn {
    display: inline-block; padding: 0.8rem 1.6rem; border: 2px solid var(--line);
    background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; font-weight: 700;
    font-family: inherit; box-shadow: 6px 6px 0 var(--accent-deep);
    transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent-deep); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--accent-deep); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.soon { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.soon::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--accent);
    border: 1px solid var(--line); display: inline-block; }
.price { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.price s { color: var(--muted); font-size: 0.95rem; }
.price strong { color: var(--accent-deep); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.cta-note { flex-basis: 100%; margin: 0.6rem 0 0; color: var(--muted); font-size: 0.85rem; }
.cta-note + .cta-note { margin-top: 0.15rem; }
.cta-note a { color: var(--accent-deep); }

/* live cat in a little window */
.catfig { margin: 0; }
.catcaption { text-align: center; margin-top: 0.7rem; font-size: 0.8rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.08em; }
.catframe {
    position: relative; border: 2px solid var(--line); background: var(--accent-soft);
    box-shadow: 8px 8px 0 var(--line); padding: 1.5rem; display: grid; place-items: center;
    aspect-ratio: 1 / 1;
}
.catframe::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 1.5rem 1.5rem; opacity: 0.06; }
#cat { width: 78%; height: auto; image-rendering: pixelated; transform: translateX(15%); }

/* ---- Punchy tagline (mydev.day-style takeaway lines) ---- */
.tagline { max-width: 58rem; margin: 0 auto; text-align: center; padding: 3rem 0; }
.tagline .lede { font-size: 2rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700;
    color: var(--ink); max-width: none; margin: 0 0 1rem; }
.tagline .lede:last-child { margin-bottom: 0; }
.tagline .lede.accent { color: var(--accent); }

/* closing CTA below the FAQ */
.bottom-cta { text-align: center; }

/* ---- Reports section ---- */
.reports .section-head p { font-size: 1.7rem; line-height: 1.3; font-weight: 700; color: var(--accent); }

/* ---- Feature row ---- */
section { padding: 3rem 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.section-head p { color: var(--muted); margin: 0; }

/* reports carousel: one report at a time — animated, looping, swipeable */
.report-carousel { position: relative; max-width: 60rem; margin: 0 auto; }
.rc-viewport { overflow: hidden; }
.rc-track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); touch-action: pan-y; cursor: grab; }
.rc-track.no-anim { transition: none; }
.rc-track:active { cursor: grabbing; }
/* desktop: slides are narrower than the viewport, so the prev/next report peeks
   at the sides (faded); JS centers the active slide. Mobile = full width (below). */
.rc-slide { flex: 0 0 64%; box-sizing: border-box; margin: 0; opacity: 0.32;
    display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 0.4rem 1.2rem 0; }
.rc-slide.rc-active { opacity: 1; }
/* one fixed stage height for every report, so nothing jumps and the scale is uniform */
.rc-stage { height: 430px; display: flex; align-items: center; justify-content: center; }
.rc-stage img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block;
    filter: drop-shadow(0 8px 18px rgba(58,43,30,0.16)); -webkit-user-select: none; user-select: none; }
.rc-slide.rc-wide .rc-stage img { max-height: 66%; max-width: min(560px, 100%); }   /* daily dialed down, but never wider than the slide */
.rc-slide figcaption { text-align: center; max-width: 38rem; }
.rc-slide figcaption h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.rc-slide figcaption p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.rc-arrow { position: absolute; top: 215px; transform: translateY(-50%); z-index: 2;
    width: 2.7rem; height: 2.7rem; border: 2px solid var(--line); background: var(--card); color: var(--ink);
    cursor: pointer; font: 700 1.5rem/1 var(--mono); border-radius: 50%; box-shadow: 3px 3px 0 var(--accent-deep);
    display: flex; align-items: center; justify-content: center; padding: 0 0 0.15rem; }
.rc-arrow:hover { background: var(--accent-soft); }
.rc-prev { left: -0.6rem; } .rc-next { right: -0.6rem; }
.rc-dots { display: flex; justify-content: center; gap: 0.55rem; margin-top: 1.5rem; }
.rc-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 1.5px solid var(--line); background: transparent;
    cursor: pointer; padding: 0; transition: background .15s ease; }
.rc-dot.on { background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) {
    .rc-arrow { display: none; }            /* swipe instead */
    .rc-stage { height: 380px; }
    .rc-slide { flex-basis: 100%; opacity: 1; }   /* full width, no side peek on phones */
}

/* Live, clickable product demo (pitchfra.me embed). 16:10-ish responsive box. */
.livedemo { margin: 0 auto; padding: 0.5rem 0 3.5rem; }
.livedemo-stage { position: relative; max-width: 60rem; margin: 0 auto; }
.livedemo-frame { position: relative; width: 100%; padding-bottom: 62.5%; height: 0;
    overflow: hidden; border-radius: 14px; border: 2px solid var(--line);
    box-shadow: 8px 8px 0 var(--accent); background: var(--card); }
.livedemo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Toffee idling at the bottom-right corner, just like on your real desktop. */
.livedemo-cat { position: absolute; right: -0.5rem; bottom: -1rem; width: 120px; height: auto;
    z-index: 3; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(58, 43, 30, 0.18)); }
@media (max-width: 760px) {
    .livedemo-cat { width: 82px; right: -0.15rem; bottom: -0.6rem; }
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature {
    border: 2px solid var(--line); background: var(--card); padding: 1.4rem;
    transition: transform .12s ease, box-shadow .12s ease;
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.feature .tag { font-size: 1.5rem; line-height: 1; }
.feature h3 { font-size: 1.1rem; margin: 0.7rem 0 0.4rem; }
.feature p { margin: 0; color: var(--ink); opacity: 0.82; font-size: 0.92rem; line-height: 1.55; }

/* ---- Sibling band ---- */
.sibling {
    border: 2px solid var(--line); background: var(--accent-soft);
    padding: 2.25rem 2rem; text-align: center; box-shadow: 8px 8px 0 var(--line);
}
.sibling .kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem;
    color: var(--accent-deep); margin: 0 0 0.6rem; font-weight: 700; }
.sibling h2 { font-size: 1.7rem; margin: 0 0 0.7rem; letter-spacing: -0.01em; }
.sibling p { max-width: 40rem; margin: 0 auto 1.2rem; color: var(--ink); opacity: 0.85; }
.sibling a.link { color: var(--accent-deep); text-decoration: none; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; }
.sibling a.link:hover { color: var(--accent); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.step { counter-increment: s; border-left: 2px solid var(--line); padding: 0.2rem 0 0.2rem 1rem; }
.step::before { content: counter(s); font-weight: 800; color: var(--accent);
    font-size: 1.3rem; }
.step h3 { font-size: 1.05rem; margin: 0.2rem 0 0.3rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---- Sibling line (links to mydev.day with its mark) ---- */
.sibling-line { text-align: center; padding: 2.5rem 0; }
.sibling-badge { display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none;
    color: var(--ink); background: var(--card); border: 2px solid var(--line); padding: 0.8rem 1.5rem;
    box-shadow: 4px 4px 0 var(--accent-deep); font-weight: 700; font-size: 1.35rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease; }
.sibling-badge:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent-deep); }
.sibling-badge img { display: block; }

/* ---- Bottom CTA (repeat the download) ---- */
.bottom-cta { text-align: center; padding: 3.5rem 0 1.5rem; }
.bottom-cta h2 { font-size: 1.8rem; letter-spacing: -0.01em; margin: 0 0 1.4rem; }
.bottom-cta .btn-lg { margin: 0 0 0.9rem; }
.bottom-cta .price { display: flex; justify-content: center; }
.bottom-cta .once { display: block; margin-top: 0.5rem; }

/* ---- Footer ---- */
footer.site {
    border-top: 2px solid var(--line); margin-top: 1rem;
    padding: 1.5rem; max-width: var(--max); margin-left: auto; margin-right: auto;
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center;
    color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site .by { margin-left: auto; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
    .hero .catfig { order: -1; max-width: 17rem; margin: 0 auto; }
    .hero h1 { font-size: 2.64rem; }
    .tagline .lede { font-size: 1.5rem; }
}
/* ---- Floating demo pet (bottom-right): the actual product, live on the page ---- */
#petcat-wrap { position: fixed; right: 22px; bottom: 14px; z-index: 50; width: 132px;
    user-select: none; -webkit-user-select: none; touch-action: none; }
#petcat { display: block; width: 100%; height: auto; image-rendering: pixelated; cursor: grab;
    filter: drop-shadow(0 5px 5px rgba(58, 43, 30, 0.20)); }
#petcat-wrap.dragging #petcat { cursor: grabbing; }
#petbubble { position: absolute; right: 6px; bottom: 100%; margin-bottom: 9px; max-width: 190px;
    background: var(--card); color: var(--ink); border: 2px solid var(--line); padding: 0.45rem 0.65rem;
    font-size: 0.8rem; line-height: 1.35; text-align: center; box-shadow: 3px 3px 0 var(--accent-deep);
    opacity: 0; transform: translateY(6px) scale(0.7); transform-origin: bottom right; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.26s cubic-bezier(0.2, 1.5, 0.45, 1); }
#petbubble.show { opacity: 1; transform: translateY(0) scale(1); }
#petbubble::after, #petbubble::before { content: ""; position: absolute; top: 100%; right: 40px;
    border: 7px solid transparent; }
#petbubble::after { border-top-color: var(--line); }
#petbubble::before { border-top-color: var(--card); margin-top: -2px; z-index: 1; }
@media (max-width: 760px) { #petcat-wrap { display: none; } }


/* ================= Procedural product demo - MacBook + macOS desktop ================= */
/* The reel, rebuilt as a live captioned Mac. A mouse pointer drives everything: it drags
   the cat and clicks dock icons to open windows. Built by demo.js into #demostage.
   System font for the OS chrome, mono for code + the (real) app log UI. */
.macos-stage { max-width: 60rem; margin: 0 auto; padding: 0.5rem 0 2.5rem; }
.macos-kicker { text-align: center; text-transform: uppercase; letter-spacing: 0.12em;
    font-size: 0.72rem; color: var(--accent-deep); font-weight: 700; margin: 0 0 1.1rem; }

.macbook { filter: drop-shadow(0 26px 50px rgba(58,43,30,0.30)); }
.mb-screen { position: relative; aspect-ratio: 16 / 10; background: #15151a; border: 1px solid #000;
    border-radius: 18px; padding: 1.5%; }
.mb-base { position: relative; width: 106%; margin: -2px 0 0 -3%; height: 13px;
    background: linear-gradient(#d2ccc0, #a7a092); border-radius: 0 0 13px 13px;
    box-shadow: 0 6px 10px rgba(58,43,30,0.25); }
.mb-base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 16%; height: 6px; background: rgba(20,18,14,0.30); border-radius: 0 0 7px 7px; }

.macos-screen {
    position: relative; width: 100%; height: 100%; border-radius: 7px; overflow: hidden;
    background:
        radial-gradient(130% 95% at 22% 0%, rgba(220,236,251,0.90), transparent 58%),
        radial-gradient(130% 120% at 100% 100%, rgba(168,196,232,0.45), transparent 58%),
        linear-gradient(165deg, #c3dcf2 0%, #cdd9ee 46%, #d8d6e8 100%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    user-select: none; -webkit-user-select: none;
}
.macos-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 120px rgba(58,43,30,0.16); border-radius: 7px; }

/* --- menu bar --- */
.mac-menubar { position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; padding: 0 0.8rem;
    background: rgba(250,243,233,0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(58,43,30,0.16); color: var(--ink); font-size: 12.5px; }
.mac-menu-left, .mac-menu-right { display: flex; align-items: center; gap: 0.95rem; }
.mac-menu-right { gap: 0.65rem; }
.mac-apple { display: inline-flex; align-items: center; opacity: 0.92; }
.mac-app { font-weight: 700; }
.mac-menu-item { opacity: 0.74; font-size: 12px; }
.mac-glyph { display: inline-flex; align-items: center; opacity: 0.8; }
.mac-clock { font-variant-numeric: tabular-nums; font-size: 12px; opacity: 0.9; }

/* --- desk (everything lives here, in % of the desk) --- */
.mac-desk { position: absolute; inset: 28px 0 0 0; }
.dz-layer { position: absolute; inset: 0; }

.dz-cat { position: absolute; width: clamp(70px, 10.5%, 150px); height: auto; image-rendering: pixelated;
    z-index: 6; left: 80%; top: 58%;
    transition: left 1s cubic-bezier(.5,0,.2,1), top 1s cubic-bezier(.5,0,.2,1), transform .3s ease;
    filter: drop-shadow(0 6px 6px rgba(58,43,30,0.26)); pointer-events: none; }

/* scruffed drag rig (the real product's layered carry pose) */
.dz-rig { position: absolute; width: clamp(74px, 11.5%, 158px); height: auto; aspect-ratio: 1 / 1;
    display: none; z-index: 7; pointer-events: none; filter: drop-shadow(0 7px 7px rgba(58,43,30,0.28)); }
.dz-rig-body, .dz-rig .dl { position: absolute; inset: 0; width: 100%; height: 100%; }
.dz-rig .dl { image-rendering: pixelated; }

/* mouse pointer - the protagonist that drags + clicks */
.dz-ptr { position: absolute; left: 52%; top: 64%; width: 20px; height: 20px; z-index: 40;
    transition: left .7s cubic-bezier(.45,0,.25,1), top .7s cubic-bezier(.45,0,.25,1), transform .12s ease;
    pointer-events: none; transform-origin: 3px 3px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.45)); }
.dz-ptr svg { width: 100%; height: 100%; display: block; }
.dz-ptr.click { transform: scale(0.78); }

/* --- macOS windows --- */
.mac-win { position: absolute; display: flex; flex-direction: column; min-width: 0; z-index: 4;
    background: var(--card); border: 1px solid rgba(58,43,30,0.35); border-radius: 9px;
    box-shadow: 0 16px 36px rgba(58,43,30,0.30); overflow: hidden;
    opacity: 0; transform: translateY(10px) scale(0.985);
    transition: opacity .4s ease, transform .4s cubic-bezier(.2,1.2,.35,1); }
.mac-win.in { opacity: 1; transform: none; }
.mac-win-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem;
    background: linear-gradient(#fffdf6, #f0eadc); border-bottom: 1px solid rgba(58,43,30,0.18);
    font-size: 11.5px; color: var(--muted); flex: none; }
.mac-lights { display: inline-flex; gap: 0.38rem; }
.mac-lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mac-lights i:nth-child(1) { background: #e26d5c; } .mac-lights i:nth-child(2) { background: #e3b341; }
.mac-lights i:nth-child(3) { background: #6fbf73; }
.mac-win-title { font-weight: 600; color: var(--ink); opacity: 0.7; }
.mac-win-body { padding: 0.65rem 0.75rem; overflow: hidden; flex: 1; min-height: 0; }
.mac-win.dz-applog .mac-win-body { padding: 0; }

/* code / agent window */
.mac-win.dz-code { background: #221a12; border-color: #000; }
.mac-win.dz-code .mac-win-bar { background: #2c2117; border-color: rgba(0,0,0,0.5); color: #b6a78f; }
.mac-win.dz-code .mac-win-title { color: #e7dcc6; opacity: 0.8; }
.mac-win.dz-code .mac-win-body { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: #cdbfa6; white-space: pre-wrap; }
.dz-code .ln { display: block; min-height: 1.2em; }
.dz-code .k { color: #9ccb86; } .dz-code .c { color: #8b7d68; } .dz-code .gitline { color: #9ccb86; }
.dz-cursor { display: inline-block; width: 0.5em; height: 1.05em; background: #cdbfa6; vertical-align: -2px; animation: dzblink 1s steps(1) infinite; }
@keyframes dzblink { 50% { opacity: 0; } }

/* note pop near the cat */
.dz-note { position: absolute; z-index: 7; background: var(--card); border: 2px solid var(--line);
    box-shadow: 3px 3px 0 var(--accent-deep); padding: 0.3rem 0.5rem; font-size: 11px; line-height: 1.35;
    font-family: var(--mono); opacity: 0; transform: translateY(6px) scale(0.8); transform-origin: bottom right; }
.dz-note.in { opacity: 1; transform: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2,1.5,.45,1); }

/* recap wordmark */
.dz-recap { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.4rem;
    text-align: center; opacity: 0; transition: opacity .5s ease; z-index: 5; }
.dz-recap.in { opacity: 1; }
.dz-recap .mk { font-family: var(--mono); font-size: clamp(1.6rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.dz-recap .mk b { color: var(--accent); }
.dz-recap .sub { font-size: 0.92rem; color: var(--muted); }

/* --- subtitle (caption) --- */
.dz-subtitle { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 20;
    max-width: min(38rem, 86%); text-align: center; }
.dz-subtitle p { margin: 0; display: inline-block; background: rgba(34,26,18,0.86); color: #f7f4ea;
    padding: 0.5rem 1rem; border-radius: 8px; font-size: clamp(0.82rem, 1.7vw, 1.02rem); font-weight: 600;
    line-height: 1.4; box-shadow: 0 6px 20px rgba(58,43,30,0.35); transition: opacity .3s ease; }

/* --- dock --- */
.mac-dock { position: absolute; left: 50%; bottom: 2.5%; transform: translateX(-50%); z-index: 25;
    display: flex; align-items: flex-end; gap: 0.4rem; padding: 0.32rem 0.44rem;
    background: rgba(255,253,246,0.5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.55); border-radius: 13px; box-shadow: 0 10px 28px rgba(58,43,30,0.32); }
.mac-tile { width: clamp(27px, 3.5vw, 37px); height: clamp(27px, 3.5vw, 37px); border-radius: 23%; display: block; position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 4px rgba(58,43,30,0.22); }
.mac-tile img { width: 100%; height: 100%; border-radius: inherit; image-rendering: pixelated; }
.mac-tile.finder { background: linear-gradient(#7db8e8, #3f7fc4); }
.mac-tile.term { background: linear-gradient(#3a3a3a, #161616); }
.mac-tile.editor { background: linear-gradient(#69b87a, #3f7d4e); }
.mac-tile.git { background: linear-gradient(#e08a5c, #c05a36); }
.mac-tile.trash { background: linear-gradient(#dcd6c8, #b9b2a2); }
.mac-dock-sep { width: 1px; height: 29px; background: rgba(58,43,30,0.25); margin: 0 0.12rem; align-self: center; }
.mac-tile.bounce { animation: dockBounce 0.6s ease 2; }
.mac-tile.badge::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--accent-deep); border: 2px solid #fffdf6; }
@keyframes dockBounce { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-14px); } }

/* ============ real app log UI, replicated (scene 4 + 5) ============ */
.dz-applog { display: flex; height: 100%; background: var(--bg); color: var(--ink);
    font: 10.5px/1.5 var(--mono); text-align: left; }
.dz-applog .lside { width: 33%; max-width: 132px; flex: none; border-right: 1px solid var(--line);
    padding: 0.5rem 0.45rem; display: flex; flex-direction: column; gap: 0.45rem; background: var(--panel); }
.dz-applog .lbrand { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.92em;
    display: flex; align-items: center; gap: 0.35rem; }
.dz-applog .lbrand i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; }
.dz-applog .ltabs { display: flex; flex-direction: column; gap: 0.2rem; }
.dz-applog .ltab { border-left: 3px solid transparent; padding: 0.3rem 0.4rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.86em; font-weight: 700; }
.dz-applog .ltab.on { color: var(--ink); border-left-color: var(--accent); background: var(--card); }
.dz-applog .lsp { flex: 1; }
.dz-applog .lfoot { border-top: 1px solid var(--line); padding-top: 0.35rem; display: flex; flex-direction: column; gap: 0.05rem; }
.dz-applog .lfb { color: var(--muted); font-size: 0.84em; font-weight: 700; padding: 0.2rem 0.3rem; }
.dz-applog .lmain { flex: 1; min-width: 0; padding: 0.55rem 0.6rem; overflow: hidden; }
.dz-applog .ltotals { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.45rem; }
.dz-applog .lchip { border: 1px solid var(--line); background: var(--card); padding: 0.1rem 0.35rem;
    display: flex; gap: 0.25rem; align-items: baseline; }
.dz-applog .lchip b { font-weight: 700; } .dz-applog .lchip span { color: var(--muted); font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.03em; }
.dz-applog .lcal { display: flex; gap: 2px; padding: 0.1rem 0 0.5rem; border-bottom: 1px solid var(--line); margin-bottom: 0.5rem; }
.dz-applog .lwk { display: flex; flex-direction: column; gap: 2px; }
.dz-applog .lcd { width: 8px; height: 8px; background: var(--panel); }
.dz-applog .lcd.l1 { background: color-mix(in srgb, var(--accent) 30%, var(--panel)); }
.dz-applog .lcd.l2 { background: color-mix(in srgb, var(--accent) 55%, var(--panel)); }
.dz-applog .lcd.l3 { background: color-mix(in srgb, var(--accent) 78%, var(--panel)); }
.dz-applog .lcd.l4 { background: var(--accent); }
.dz-applog .ltbar { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.55rem; position: relative; z-index: 2; }
.dz-applog .ldlabel { font-weight: 700; margin-right: auto; }
.dz-applog .lb { border: 1px solid var(--line); background: var(--card); padding: 0.16rem 0.4rem;
    text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82em; font-weight: 700; position: relative; }
.dz-applog .lb.hot { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.dz-applog .lpop { position: absolute; right: 0; top: calc(100% + 3px); background: var(--card); border: 1px solid var(--line);
    z-index: 6; min-width: 86px; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.dz-applog .lpop.in { opacity: 1; transform: none; }
.dz-applog .lpop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0.3rem 0.45rem; font: inherit; color: var(--ink); }
.dz-applog .ltl { position: relative; padding-left: 18px; }
.dz-applog .ltl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.dz-applog .lti { position: relative; margin-bottom: 0.5rem; opacity: 0; transform: translateY(5px); }
.dz-applog .lti.in { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.dz-applog .ltd { position: absolute; left: -17px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--bg); background: var(--accent); }
.dz-applog .lti.commit .ltd { background: var(--commit); }
.dz-applog .len { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--card); padding: 0.4rem 0.5rem; }
.dz-applog .leproj { color: var(--accent); text-transform: uppercase; font-size: 0.8em; letter-spacing: 0.04em; font-weight: 700; }
.dz-applog .letitle { font-weight: 700; }
.dz-applog .lebody { color: var(--ink); opacity: 0.88; }
.dz-applog .lestats { display: flex; gap: 0.3rem; margin-top: 0.3rem; flex-wrap: wrap; }
.dz-applog .lestat { border: 1px solid var(--line); padding: 0.04rem 0.3rem; font-size: 0.8em; color: var(--muted); }
.dz-applog .lcommit { display: flex; gap: 0.4rem; align-items: baseline; flex-wrap: wrap; }
.dz-applog .lhash { color: var(--commit); font-weight: 700; }
.dz-applog .lbadge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82em; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 0.08rem 0.35rem; margin-bottom: 0.45rem; }
.dz-applog .lbadge i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); display: block; }

@media (prefers-reduced-motion: reduce) {
    .dz-cat, .mac-win, .dz-note, .dz-recap, .dz-ptr, .dz-applog .lti, .dz-applog .lpop { transition: none !important; }
    .mac-tile.bounce { animation: none; } .dz-cursor { animation: none; }
}
@media (max-width: 760px) {
    .macos-stage { padding-top: 0.25rem; }
    .mac-menu-item { display: none; }
    .mac-menu-item.keep { display: inline; }
    .dz-applog { font-size: 9px; }
    .dz-applog .lside { max-width: 96px; }
    /* Shrink the dock so it does not occlude the open window on narrow screens. */
    .mac-dock { gap: 0.18rem; padding: 0.16rem 0.22rem; border-radius: 9px; }
    .mac-tile { width: clamp(16px, 4.2vw, 22px); height: clamp(16px, 4.2vw, 22px); }
    .mac-dock-sep { height: 16px; }
}

/* CTA moved under the tagline; sibling badge shrunk + sat just above the footer */
.tagline-cta { margin-top: 2.2rem; }
.sibling-line.small { padding: 1.25rem 0 2.25rem; }
.sibling-line.small .sibling-badge { font-size: 0.92rem; padding: 0.5rem 1rem; gap: 0.6rem;
    box-shadow: 3px 3px 0 var(--accent-deep); }
.sibling-line.small .sibling-badge:hover { box-shadow: 5px 5px 0 var(--accent-deep); }
.sibling-line.small .sibling-badge img { width: 26px; height: 26px; }

/* hero: small animated cat (no framed photo, no hero buy button) */
.hero-cat { width: clamp(150px, 17vw, 200px); height: auto; margin: 0 auto; display: block;
    image-rendering: pixelated; filter: drop-shadow(0 8px 8px rgba(58,43,30,0.18)); }

/* header Download button */
.nav-dl { display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--line);
    padding: 0.42rem 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; font-weight: 700;
    text-decoration: none; box-shadow: 3px 3px 0 var(--accent-deep); transition: transform 0.1s ease, box-shadow 0.1s ease; }
.nav-dl:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent-deep); color: #fff; }
.nav-dl:active { transform: translate(0,0); box-shadow: 1px 1px 0 var(--accent-deep); }

/* purchase / trust modal */
.buy-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.buy-modal[hidden] { display: none; }
.buy-backdrop { position: absolute; inset: 0; background: rgba(34,26,18,0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.buy-card { position: relative; z-index: 1; background: var(--card); border: 2px solid var(--line);
    box-shadow: 10px 10px 0 var(--accent-deep); max-width: 25rem; width: 100%; padding: 1.7rem 1.6rem; text-align: center;
    animation: buyPop 0.28s cubic-bezier(0.2,1.3,0.4,1); }
@keyframes buyPop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.buy-x { position: absolute; top: 0.5rem; right: 0.7rem; background: none; border: 0; font-size: 1.4rem; color: var(--muted); cursor: pointer; line-height: 1; }
.buy-x:hover { color: var(--ink); }
.buy-card h3 { margin: 0.2rem 0 1.1rem; font-size: 1.35rem; letter-spacing: -0.01em; }
.buy-card h3 b { color: var(--accent); font-weight: inherit; }   /* ".cat" green, like the header logo */
.buy-os { display: flex; justify-content: center; gap: 1.6rem; margin: 0 0 0.5rem; color: var(--ink); }
.buy-os span { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.buy-os b { font-weight: 700; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; }
.buy-osline { color: var(--muted); font-size: 0.82rem; margin: 0.3rem 0 1.1rem; }
.buy-price { display: flex; align-items: baseline; justify-content: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.buy-price strong { color: var(--accent-deep); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; }
.buy-price s { color: var(--muted); }
.buy-price .once { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
/* draggable "try me" cat (petplay.js) — full-screen click-through layer so the cat
   parks to the right of the popup and can be dragged anywhere on screen */
.buy-play { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
    touch-action: none; user-select: none; -webkit-user-select: none; }
.pp-cat { position: absolute; width: 168px; height: auto; image-rendering: pixelated; z-index: 2;
    cursor: grab; pointer-events: auto; filter: drop-shadow(0 6px 6px rgba(58,43,30,0.24)); }
.pp-cat:active { cursor: grabbing; }
.pp-cat.hidden { visibility: hidden; }   /* instant swap to the drag rig, no fade */
.pp-rig { position: absolute; width: 184px; height: 184px; display: none; z-index: 3; cursor: grabbing;
    pointer-events: auto; filter: drop-shadow(0 8px 8px rgba(58,43,30,0.28)); }
.pp-rig.on { display: block; }
.pp-rig-body, .pp-rig .pp-dl { position: absolute; inset: 0; width: 100%; height: 100%; }
.pp-rig .pp-dl { image-rendering: pixelated; }

.buy-forever { font-size: 0.92rem; font-weight: 700; color: var(--accent-deep); margin: 0 0 0.9rem; }
.buy-life { font-size: 0.82rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.1rem; }
.buy-life b { color: var(--ink); }
.buy-guarantee { display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin: 0.7rem 0 0; color: var(--accent); font-size: 0.78rem; font-weight: 600; }
.buy-guarantee svg { flex: none; }
.buy-go { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: auto; }
.buy-trust { margin-top: 0.9rem; color: var(--muted); font-size: 0.74rem; display: flex; align-items: center; justify-content: center; gap: 0.45rem; }
.buy-stripe { background: #635bff; color: #fff; font-weight: 800; font-size: 0.66rem; padding: 0.12rem 0.42rem;
    border-radius: 4px; letter-spacing: 0.01em; text-transform: lowercase; }

/* demo: crossfade for the cat/scruff-rig swap (smooth drag, no pop), bigger CLI */
.dz-cat { transition: left 1s cubic-bezier(.5,0,.2,1), top 1s cubic-bezier(.5,0,.2,1), transform .3s ease, opacity .18s ease; }
.dz-rig { transition: opacity .18s ease; }
.mac-win.dz-code .mac-win-body { font-size: 13px; }

/* dock: generic SVG glyphs on the tinted tiles */
.mac-tile svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 54%; height: 54%; color: #fff; }
.mac-tile.trash svg { color: #5a5247; }

/* demo: Flex share-card mockup - the app's SQUARE "stats" card (cream palette) */
.dz-flexcard { position: absolute; inset: 0; z-index: 14; display: flex; align-items: center; justify-content: center;
    background: rgba(20,24,40,0.34); }
.dz-flexcard .fc-card { position: relative; height: 60%; aspect-ratio: 1 / 1; max-width: 39%;
    background: #fff6ea; color: #3a2114; border: 2px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0,0,0,0.36); padding: 4.5% 5%; display: flex; flex-direction: column;
    font-family: var(--mono); overflow: hidden; opacity: 0; transform: translateY(-3%) scale(0.94); }
.dz-flexcard.in .fc-card { opacity: 1; transform: translateY(-3%); transition: opacity .35s ease, transform .42s cubic-bezier(.2,1.3,.4,1); }
.fc-top { display: flex; align-items: center; gap: 0.5rem; }
.fc-av { width: 1.7rem; height: 1.7rem; border-radius: 50%; image-rendering: pixelated;
    border: 1px solid rgba(58,33,20,0.25); background: #ffe7c2; }
.fc-period { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; color: #9a8470; }
.fc-mood { font-size: clamp(1.1rem, 3vw, 1.7rem); font-weight: 800; color: #fe9420; letter-spacing: -0.01em; margin: 0.35rem 0 0; line-height: 1.04; }
.fc-hero { width: 44%; align-self: center; margin: auto 0; image-rendering: pixelated;
    filter: drop-shadow(0 4px 5px rgba(58,33,20,0.18)); }
.fc-mets { display: flex; }
.fc-mets div { flex: 1; text-align: center; }
.fc-mets b { display: block; font-size: clamp(0.95rem, 2.4vw, 1.3rem); font-weight: 800; color: #3a2114; }
.fc-mets span { font-size: 0.54rem; font-weight: 700; color: #9a8470; letter-spacing: 0.06em; }
.fc-streak { text-align: center; font-size: 0.82rem; font-weight: 800; color: #fe9420; margin: 0.5rem 0; }
.fc-flame { filter: saturate(1.1); }
.fc-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; gap: 0.4rem; }
.fc-brand { color: #fe9420; font-weight: 800; font-size: 0.92rem; }
.fc-stat { color: #9a8470; font-weight: 700; font-size: 0.55rem; text-align: right; }

/* ---- FAQ ---- */
.faq { max-width: 48rem; margin: 0 auto; padding: 1rem 0 2.5rem; }
.faq-h { text-align: center; font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 1.6rem; }
.faq-item {
    border: 2px solid var(--line); background: var(--card);
    box-shadow: 5px 5px 0 var(--accent-deep); margin-bottom: 1rem;
}
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1rem 1.2rem;
    display: flex; align-items: center; gap: 0.8rem;
    font-weight: 700; font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; margin-left: auto; flex: none;
    font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--accent);
    transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "\2212"; } /* minus */
.faq-item summary:hover { color: var(--accent); }
.faq-a {
    padding: 0 1.2rem 1.15rem; color: var(--muted);
    font-size: 0.97rem; line-height: 1.65; max-width: 42rem;
}
@media (max-width: 640px) {
    .faq-h { font-size: 1.5rem; }
    .faq-item summary { font-size: 0.96rem; }
}
