/* catdev.rug.gay — "matcha desk" design system (warm cream, cocoa ink,
   sage accent, terracotta pop, mono type, no radius, hard hairlines,
   offset shadows). Rebrand layout mirror of the desk-cat diary concept. */
:root {
    --ink: #3a2b1e;       /* cocoa brown */
    --muted: #8a7c6a;
    --line: #3a2b1e;      /* structural hairlines */
    --bg: #faf3e9;        /* warm cream paper */
    --card: #fffdf6;
    --panel: #efe9da;     /* inset surface */
    --fill: #3a2b1e;
    --on-fill: #f7f4ea;
    --accent: #5fa86b;        /* sage green - signature */
    --accent-deep: #c06a4a;   /* terracotta */
    --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;
}
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;
    white-space: nowrap;
}
header.site nav a:hover { color: var(--accent); }

/* ---- 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; }
.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)); }

/* ---- CTA ---- */
.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; }
.price { display: inline-flex; align-items: baseline; gap: 0.5rem; }
.price strong { color: var(--accent-deep); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.tagline-cta { margin-top: 2.2rem; }

/* ---- Tagline ---- */
.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); }

/* ---- Sections ---- */
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 .section-head p { font-size: 1.7rem; line-height: 1.3; font-weight: 700; color: var(--accent); }

/* ---- Reports carousel ---- */
.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; }
.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; }
.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%); }
.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; }
    .rc-stage { height: 380px; }
    .rc-slide { flex-basis: 100%; opacity: 1; }
}

/* ---- Live demo (static app mock) ---- */
.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 .dz-applog { position: absolute; inset: 0; width: 100%; height: 100%; }
.livedemo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.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; }
}

/* ---- 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"; }
.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; }
}

/* ---- Bottom CTA ---- */
.bottom-cta { text-align: center; padding: 3.5rem 0 1.5rem; }
.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; }

/* ---- Nav 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); }

/* ---- Token CTA (replaces buy) ---- */
.token-sym { display: inline-block; font-weight: 800; font-size: 1.15rem; color: var(--accent-deep);
    letter-spacing: 0.02em; padding: 0.1rem 0.6rem; border: 2px solid var(--line);
    box-shadow: 3px 3px 0 var(--accent-deep); background: var(--card); }
.btn[disabled], .btn-soon[disabled], button.btn-soon:disabled {
    cursor: not-allowed; opacity: 1; background: var(--panel); color: var(--muted);
    box-shadow: 3px 3px 0 var(--line); border-color: var(--line); }
button.btn-soon:disabled:hover { transform: none; box-shadow: 3px 3px 0 var(--line); color: var(--muted); }
.tagline-cta .token-sym, .tagline-cta .btn-soon { margin: 0 0 0.9rem; }

/* ---- App page (livedemo standalone) ---- */
.app-hero { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.app-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0 0 0.6rem; letter-spacing: -0.02em; }
.app-hero p { color: var(--muted); max-width: 34rem; margin: 0 auto; }
.app-stage { position: relative; max-width: 62rem; margin: 0 auto; padding: 0 1rem 2rem; }
.app-frame { position: relative; width: 100%; padding-bottom: 62.5%; height: 0;
    border: 2px solid var(--line); box-shadow: 10px 10px 0 var(--accent-deep); background: #fff; }
.app-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.app-cat { position: absolute; right: -0.5rem; bottom: -1rem; width: 120px; height: auto; z-index: 5; }
.app-tokenbar { max-width: 44rem; margin: 1.2rem auto 0; text-align: center; }
.app-tokenbar .wallet-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.wallet-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--ink); color: #fff;
    border: 2px solid var(--line); box-shadow: 3px 3px 0 var(--accent-deep); padding: 0.7rem 1.2rem;
    font: inherit; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease; }
.wallet-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent-deep); }
.wallet-btn:active { transform: translate(0,0); box-shadow: 1px 1px 0 var(--accent-deep); }
.wallet-btn.connected { background: var(--accent); }
.wallet-state { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.wallet-state.ok { color: var(--accent); font-weight: 700; }
@media (max-width: 560px) {
    .app-cat { width: 82px; right: -0.15rem; bottom: -0.6rem; }
}

/* ---- macOS stage demo ---- */
.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; }
.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; }
.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; }
.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); }
.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-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: 13px; 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; } }
.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); }
.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); }
.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; }
.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-tile svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 54%; height: 54%; color: #fff; }
.mac-tile.trash svg { color: #5a5247; }
.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); } }

/* ---- App log UI (static livedemo + demo scene) ---- */
.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; }

/* ---- Flex share-card mock (demo finale) ---- */
.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-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; }

@media (prefers-reduced-motion: reduce) {
    .dz-cat, .mac-win, .dz-note, .dz-recap, .dz-ptr, .dz-applog .lti { transition: none !important; }
    .mac-tile.bounce { animation: none; } .dz-cursor { animation: none; }
}
@media (max-width: 760px) {
    header.site { gap: 0.35rem 0.75rem; padding: 0.55rem 1rem; }
    header.site nav { gap: 0.45rem 0.65rem; flex-wrap: wrap; justify-content: flex-end; }
    header.site nav a { font-size: 0.7rem; letter-spacing: 0.03em; }
    .nav-dl { padding: 0.3rem 0.55rem; font-size: 0.68rem; }
    .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; }
    .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; }
    .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; }
}

/* ---- Subpages (companion-pet / help / privacy) ---- */
.page { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 4rem; }
.page h1 { font-size: 2.6rem; letter-spacing: -0.02em; margin: 3rem 0 1rem; }
.page h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 2.4rem 0 0.7rem; }
.page p, .page li { color: var(--ink); opacity: 0.9; max-width: 46rem; }
.page ul { padding-left: 1.3rem; }
.cmp-hero { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 3rem 0 1rem; }
.cmp-hero h1 { margin: 0 0 1rem; }
.cmp-hero p { max-width: 34rem; }
.cmp-hero img { width: clamp(180px, 22vw, 260px); height: auto; image-rendering: pixelated;
    filter: drop-shadow(0 10px 12px rgba(58,43,30,0.2)); }
.cmp-sec { padding: 1rem 0 2rem; }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.agent-card { border: 2px solid var(--line); background: var(--card); padding: 1.3rem 1.2rem;
    box-shadow: 4px 4px 0 var(--accent-deep); }
.agent-card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.agent-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.cmp-final { text-align: center; padding: 3.5rem 0 2rem; }
@media (max-width: 760px) {
    .cmp-hero { grid-template-columns: 1fr; }
    .cmp-hero img { margin: 0 auto; }
    .agent-grid { grid-template-columns: 1fr 1fr; }
}
