/* ============ Pawly · warm "cute but powerful" ============ */
:root {
  --bg: #f6f1e7;
  --surface: #ffffff;
  --surface-2: #fbf6ec;
  --border: #ece2d2;
  --border-soft: #f2eadd;
  --ink: #221e18;
  --ink-2: #6e665b;
  --ink-3: #a79e90;
  --st-ink: #b9b0a2;

  --accent: #ff7a4d;
  --accent-2: #ff6f61;
  --accent-soft: #fff1ea;
  --grad: linear-gradient(120deg, #ff8a4d, #ff6f61);

  --st-amber: #f5a623;
  --st-green: #8fbf7a;
  --st-blue: #5b9bf0;

  --sans: "Inter", -apple-system, system-ui, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --round: "Baloo 2", "Inter", "PingFang SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sh-sm: 0 1px 2px rgba(60,45,25,.05), 0 3px 10px rgba(60,45,25,.05);
  --sh-md: 0 2px 6px rgba(60,45,25,.05), 0 16px 36px -12px rgba(80,55,25,.16);
  --sh-lg: 0 4px 12px rgba(60,45,25,.06), 0 36px 80px -22px rgba(80,55,25,.26);
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.desk-light { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 40% at 78% -4%, rgba(255,200,140,.28), transparent 60%),
    radial-gradient(42% 34% at 10% 8%, rgba(255,140,110,.10), transparent 60%); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em;
  padding: 11px 20px; border-radius: 13px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, filter .2s; }
.btn-dark { background: #211d17; color: #fdf8ee; box-shadow: var(--sh-sm); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(33,29,23,.5); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--border); box-shadow: var(--sh-sm); }
.btn-light:hover { transform: translateY(-2px); border-color: #ddd0bc; }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px rgba(255,111,80,.55); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 11px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; border-radius: 15px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .9; }

.lang-toggle { font-family: var(--mono); font-size: 12.5px; padding: 7px 10px; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--ink-2); border: 1px solid var(--border); transition: color .16s, border-color .16s, background .16s; }
.lang-toggle:hover { color: var(--ink); border-color: #ddd0bc; background: var(--surface); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 14px; z-index: 60; display: flex; align-items: center; gap: 20px;
  width: calc(100% - 28px); max-width: var(--maxw); margin: 14px auto 0; padding: 9px 14px 9px 20px; border-radius: 999px; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(255,253,248,.72);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(60,45,25,.05), 0 12px 28px -14px rgba(80,55,25,.18);
  transition: box-shadow .3s, background .3s; }
.nav.scrolled::before { background: rgba(255,253,248,.85); box-shadow: 0 4px 12px rgba(60,45,25,.07), 0 18px 40px -16px rgba(80,55,25,.26); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--round); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand-pet { width: 30px; height: 30px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); padding: 7px 11px; border-radius: 9px; transition: color .16s, background .16s; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover { color: var(--ink); background: rgba(33,29,23,.05); }
.tag-new { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--grad); padding: 1px 5px; border-radius: 5px; }
.nav-right { display: flex; align-items: center; gap: 9px; }

/* ---------- shared ---------- */
.band { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,8vw,104px) clamp(16px,4vw,28px) 0; }
.sec-head { max-width: 640px; margin: 0 auto clamp(34px,5vw,52px); text-align: center; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.h1 { font-family: var(--round); font-weight: 800; font-size: clamp(38px,6vw,68px); line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0 20px; }
.h1-line { position: relative; display: inline-block; }
.h1-pre { font-weight: 800; }
.warm { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paw-doodle { position: absolute; right: -38px; top: -6px; width: 30px; fill: var(--accent); opacity: .55; transform: rotate(12deg); }
.h2 { font-family: var(--round); font-weight: 700; font-size: clamp(26px,3.8vw,40px); line-height: 1.14; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.sec-sub { font-size: 16.5px; color: var(--ink-2); margin: 14px auto 0; max-width: 520px; line-height: 1.6; }
.fine { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }

/* ---------- hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px,5vw,60px) clamp(16px,4vw,28px) 0;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px,4vw,52px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.hero .h1 { margin-top: 20px; }
.h1 > span { display: block; }
.lede { font-size: clamp(15.5px,1.5vw,17.5px); color: var(--ink-2); max-width: 480px; margin: 0 0 26px; line-height: 1.62; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trait-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; }
.trait-pills li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }

/* hero stage (live app window) */
.hero-stage { position: relative; }
.app-win { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.app-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.app-side { border-right: 1px solid var(--border-soft); padding: 12px 10px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); }
.side-brand img { width: 26px; height: 26px; object-fit: contain; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.side-item .si-ico { width: 16px; text-align: center; font-size: 12px; opacity: .8; }
.side-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.side-events { margin-top: auto; border-top: 1px solid var(--border-soft); padding-top: 10px; }
.se-label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.se-counts { display: flex; gap: 12px; margin-top: 7px; }
.se-c { display: flex; flex-direction: column; line-height: 1.1; }
.se-c b { font-family: var(--round); font-size: 17px; }
.se-c i { font-style: normal; font-size: 10px; color: var(--ink-3); }
.app-main { padding: 16px; }
.am-head { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 11px; }
.agent-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.agent-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--surface); transition: border-color .25s, background .25s, transform .25s; }
.agent-row.lit { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--accent-soft); }
.ar-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--c); flex-shrink: 0; }
.ar-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ar-meta b { font-size: 13px; }
.ar-meta span { font-size: 11px; color: var(--ink-3); }
.ar-time { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ar-dot { width: 7px; height: 7px; border-radius: 50%; }
.ar-chev { color: var(--ink-3); }
.perm-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--surface-2); }
.pc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.pc-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pc-x { color: var(--ink-3); }
.pc-file { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.pc-diff { display: flex; gap: 8px; margin: 5px 0 11px; font-family: var(--mono); font-size: 11.5px; }
.pc-diff .add { color: var(--st-green); } .pc-diff .del { color: var(--accent-2); }
.pc-btns { display: flex; gap: 8px; }
.pc-deny, .pc-allow { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 0; border-radius: 9px; border: none; cursor: pointer; font-family: var(--sans); font-size: 12.5px; font-weight: 600; }
.pc-deny { background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); }
.pc-allow { background: var(--grad); color: #fff; }
.pc-btns kbd { font-family: var(--mono); font-size: 10px; opacity: .7; }

/* floating bubble */
.bubble { position: absolute; top: 2%; right: -2%; width: 230px; z-index: 6;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 13px 14px; box-shadow: var(--sh-lg); }
.bubble::after { content: ""; position: absolute; right: 36px; bottom: -8px; width: 16px; height: 16px;
  background: var(--surface); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: rotate(45deg); border-radius: 0 0 5px 0; }
.bubble.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.95); } to { opacity: 1; transform: none; } }
.bubble-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 11px; }
.bubble-pet-sm { width: 22px; height: 22px; object-fit: contain; }
.bubble-heart { margin-left: auto; color: var(--accent-2); }
.bubble-btns { display: flex; gap: 7px; }
.bubble-btns button { flex: 1; padding: 7px 0; border-radius: 9px; border: 1px solid var(--border); background: var(--surface-2); color: var(--ink-2); font-family: var(--sans); font-weight: 600; font-size: 12px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.bubble-btns button:hover { transform: translateY(-1px); }
.bubble-btns .b-allow { background: var(--grad); border-color: transparent; color: #fff; }
.bubble-btns button.picked { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 32%, transparent); }

.hero-pet { position: absolute; right: -3%; bottom: 9%; width: 150px; z-index: 5; filter: drop-shadow(0 18px 26px rgba(80,55,25,.32)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.dock { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 8px; padding: 7px 11px; border-radius: 16px;
  background: rgba(255,255,255,.7); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--sh-md); }
.dock-i { width: 30px; height: 30px; border-radius: 9px; background: var(--c, #ccc); }
.dock-pet { background: var(--surface-2); display: grid; place-items: center; }
.dock-pet img { width: 26px; height: 26px; object-fit: contain; }

/* ---------- capabilities ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cap-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 20px 26px; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cap-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; font-size: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); }
.cap-card h3 { font-family: var(--round); font-weight: 700; font-size: 18px; margin: 0 0 7px; }
.cap-card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; min-height: 60px; }
.cap-mini { border: 1px solid var(--border-soft); border-radius: 12px; background: var(--surface-2); padding: 11px; font-size: 11.5px; }
.cm-row { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
.cm-row b { font-weight: 600; } .cm-row span { color: var(--ink-3); } .cm-row i { margin-left: auto; font-style: normal; font-family: var(--mono); color: var(--ink-3); }
.cm-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cm-file { font-family: var(--mono); font-size: 11px; display: flex; justify-content: space-between; }
.cm-x { color: var(--ink-3); }
.cm-diff { font-family: var(--mono); margin: 5px 0 9px; } .cm-diff .add { color: var(--st-green); } .cm-diff .del { color: var(--accent-2); }
.cm-btns { display: flex; gap: 6px; }
.cm-deny, .cm-allow { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; font-weight: 600; font-size: 11px; }
.cm-deny { background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); }
.cm-allow { background: var(--grad); color: #fff; }
.cm-q { font-weight: 600; margin-bottom: 7px; }
.cm-opt { display: flex; gap: 8px; padding: 4px 0; color: var(--ink-2); } .cm-opt b { font-family: var(--mono); color: var(--ink-3); font-weight: 500; }
.cm-done { color: var(--st-green); font-weight: 600; margin-bottom: 7px; }
.cap-pet { position: absolute; right: 12px; top: 16px; width: 50px; opacity: .9; filter: drop-shadow(0 6px 10px rgba(80,55,25,.2)); }

/* ---------- agents ---------- */
.agents-head { text-align: center; margin-bottom: clamp(28px,4vw,40px); }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto; }
.agent-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 14px; box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.agent-chip:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.ac-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }
.agent-chip.soon { opacity: .5; filter: grayscale(.5); }
.agent-chip.soon:hover { transform: none; box-shadow: var(--sh-sm); }
.agent-chip.soon .ac-logo { background: #efe9de; color: var(--ink-3); }
.agent-chip i { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; color: var(--ink-3); border: 1px solid var(--border); border-radius: 5px; padding: 1px 4px; }
.terminals-sub { text-align: center; color: var(--ink-3); font-size: 13.5px; margin: 28px 0 14px; }
.term-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; margin: 0 auto; }
.term-chip { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); padding: 7px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-soft); }

/* ---------- moods ---------- */
.mood-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.mood-card { margin: 0; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 22px 14px 16px; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.mood-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.mood-card img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 8px 12px rgba(80,55,25,.16)); }
.mood-card figcaption { font-family: var(--round); font-weight: 600; font-size: 14px; }

/* ---------- privacy ---------- */
.privacy-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,48px); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(28px,4vw,52px); box-shadow: var(--sh-md); }
.lock-ico { font-size: 30px; }
.privacy-copy .h2 { margin: 14px 0 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--st-green) 22%, var(--surface)); color: var(--st-green); font-size: 11px; font-weight: 700; }
.privacy-art { position: relative; display: grid; place-items: center; min-height: 180px; }
.privacy-art::after { content: ""; position: absolute; bottom: 18%; width: 64%; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(80,55,25,.16), transparent 70%); }
.privacy-pet { width: 150px; filter: drop-shadow(0 14px 18px rgba(80,55,25,.22)); }
.privacy-plant { position: absolute; right: 18%; bottom: 16%; font-size: 34px; }

/* ---------- pricing ---------- */
.price-card { position: relative; overflow: hidden; max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-lg); }
.ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); width: 140px; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: #fff; background: var(--grad); padding: 5px 0; box-shadow: 0 4px 10px -3px rgba(255,111,80,.5); }
.price-tabs { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.ptab { flex: 1; padding: 9px 0; border: none; border-radius: 9px; background: transparent; cursor: pointer; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.ptab b { font-weight: 600; }
.ptab.active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }
.price-amount { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.price-now { font-family: var(--round); font-weight: 800; font-size: 46px; letter-spacing: -0.02em; }
.price-was { font-size: 20px; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-feats { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { position: relative; padding-left: 27px; font-size: 14px; color: var(--ink); }
.price-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.price-trial { display: block; text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.price-pet { position: absolute; right: -10px; bottom: -6px; width: 92px; transform: rotate(-6deg); filter: drop-shadow(0 8px 12px rgba(80,55,25,.2)); }

/* ---------- faq ---------- */
.faq-section { max-width: 720px; }
.faq { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 17px 46px 17px 20px; font-family: var(--round); font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 21px; font-weight: 400; color: var(--accent); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 20px 17px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.faq-code { margin: 0 20px 18px; padding: 12px 14px; background: #2a251d; border-radius: 9px; overflow-x: auto; }
.faq-code code { font-family: var(--mono); font-size: 12.5px; color: #ffd9a8; }

/* ---------- final ---------- */
.final { max-width: 680px; margin: 0 auto; padding: clamp(64px,9vw,120px) 24px; text-align: center; }
.final-pet { width: 110px; margin-bottom: 18px; filter: drop-shadow(0 14px 22px rgba(80,55,25,.26)); animation: bob 5s ease-in-out infinite; }
.final .h2 { margin-bottom: 12px; }
.final .btn { margin-top: 22px; }

/* ---------- footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,6vw,72px) clamp(16px,4vw,28px) 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { max-width: 260px; }
.fb-row { display: flex; align-items: center; gap: 9px; font-family: var(--round); font-weight: 700; font-size: 18px; }
.fb-row .brand-pet { width: 26px; height: 26px; }
.footer-brand p { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.footer-cols { display: flex; gap: clamp(28px,5vw,64px); }
.fcol { display: flex; flex-direction: column; gap: 9px; }
.fcol h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 3px; font-weight: 600; }
.fcol a { font-size: 14px; color: var(--ink-2); transition: color .16s; }
.fcol a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--ink-3); }
.footer-social { display: flex; gap: 18px; font-family: var(--mono); }
.footer-social a { color: var(--ink-3); transition: color .16s; }
.footer-social a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(5px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); will-change: opacity, transform, filter; }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .caps-grid { grid-template-columns: repeat(2,1fr); }
  .mood-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { max-width: 540px; margin: 8px auto 0; width: 100%; }
  .nav-links { display: none; }
  .privacy-inner { grid-template-columns: 1fr; text-align: center; }
  .check-list li { text-align: left; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 600px) {
  .caps-grid { grid-template-columns: 1fr; }
  .mood-grid { grid-template-columns: repeat(2,1fr); }
  .app-side { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .nav-right .btn span { display: none; }
  .nav-right .btn { padding: 8px; }
  .bubble { width: 180px; right: 0; }
  .hero-pet { width: 110px; }
  .ribbon { font-size: 9px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pet, .final-pet { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ============ refinement pass v4: real icons · brand logos · demo modal ============ */
.ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.16em; fill: currentColor; flex-shrink: 0; }
.ic-accent { color: var(--accent); }
.btn .ic { width: 15px; height: 15px; }

/* badge + doodles */
.badge .ic { width: 15px; height: 15px; color: var(--accent); }
.paw-doodle { position: absolute; right: -34px; top: -12px; width: 30px; height: 30px; color: var(--accent); opacity: .5; transform: rotate(12deg); }
.kicker { display: inline-flex; align-items: center; gap: 7px; }
.kicker .ic { width: 14px; height: 14px; color: var(--accent); }

/* trait pills */
.trait-pills li { gap: 7px; }
.trait-pills li .ic { width: 16px; height: 16px; color: var(--ink-3); }

/* sidebar buttons */
.side-item { width: 100%; text-align: left; background: none; border: none; font-family: var(--sans); cursor: pointer; }
.side-item .ic { width: 15px; height: 15px; opacity: .9; }

/* agent rows: real logos */
.ar-ico { background: var(--surface-2) !important; border: 1px solid var(--border-soft); }
.ar-ico .ic { width: 17px; height: 17px; }
.ar-ico-gem { color: inherit; }
.ar-chev { width: 13px; height: 13px; color: var(--ink-3); }
.pc-x, .cm-x { width: 14px; height: 14px; color: var(--ink-3); cursor: pointer; }

/* capability icons (tint from currentColor) */
.cap-ico { background: color-mix(in srgb, currentColor 13%, var(--surface)); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.cap-ico .ic { width: 21px; height: 21px; }
.cm-done { display: flex; align-items: center; gap: 5px; }
.cm-done .ic { width: 13px; height: 13px; }

/* bubble heart */
.bubble-heart { width: 15px; height: 15px; color: var(--accent-2); margin-left: auto; }

/* AGENT CHIPS — real brand marks */
.ac-logo { background: none !important; width: 22px; height: 22px; }
.ac-logo .ic { width: 21px; height: 21px; }
.a-claude .ac-logo { color: #d97757; }
.a-openai .ac-logo { color: #1a1611; }
.a-opencode .ac-logo { color: #1a1611; }
.agent-chip.soon { filter: none; opacity: 1; }
.agent-chip.soon .ac-logo { color: #a79e90 !important; }
.agent-chip.soon .ac-logo .ic { filter: grayscale(1); opacity: .75; }
.agent-chip.soon { color: var(--ink-3); }
.agent-chip.soon i { opacity: 1; }

/* check-list & price-feats: inline icons (kill old ::before) */
.check-list li::before, .price-feats li::before { content: none; }
.check-list li, .price-feats li { padding-left: 0; display: flex; align-items: flex-start; gap: 10px; }
.check-list li .ic { width: 19px; height: 19px; color: var(--st-green); margin-top: 1px; }
.price-feats li .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }

/* privacy icons */
.lock-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.lock-ico .ic { width: 24px; height: 24px; color: var(--accent); }
.privacy-plant { position: absolute; right: 16%; bottom: 14%; width: 36px; height: 36px; color: var(--st-green); }

/* micro-interactions */
.btn { transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s, filter .2s; }
.btn:active { transform: translateY(0) scale(.97); }
.agent-chip, .cap-card, .mood-card, .ptab, .faq-item { transition: transform .26s var(--ease), box-shadow .26s var(--ease), background .2s, border-color .2s; }
.mood-card:hover { transform: translateY(-5px) scale(1.015); }
.mood-card:hover img { transform: scale(1.06) rotate(-2deg); transition: transform .3s var(--ease); }
.side-item:hover { background: rgba(33,29,23,.04); }
.side-item:focus-visible, .ptab:focus-visible, .lang-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== WATCH DEMO MODAL ===== */
.demo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.demo-modal[hidden] { display: none; }
.demo-scrim { position: absolute; inset: 0; background: rgba(33,29,23,.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: dfade .3s ease; }
@keyframes dfade { from { opacity: 0; } to { opacity: 1; } }
.demo-panel { position: relative; z-index: 1; width: min(680px, 94vw); background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--sh-lg); padding: 20px; animation: dpanel .42s var(--ease); }
@keyframes dpanel { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.demo-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: none; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); cursor: pointer; z-index: 3; transition: background .16s; }
.demo-x:hover { background: #f0e8d8; }
.demo-x .ic { width: 16px; height: 16px; }
.demo-desk { position: relative; height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-soft);
  background: radial-gradient(70% 60% at 72% 0%, #fff6e8, transparent 62%), linear-gradient(160deg, #fbf4e6, #f1e7d6); }
.demo-win { position: absolute; left: 7%; top: 13%; width: 55%; border-radius: 13px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-md); }
.demo-term { margin: 0; padding: 13px 15px; min-height: 132px; font-family: var(--mono); font-size: 12.5px; line-height: 1.95; color: #4a4034; white-space: pre-wrap; word-break: break-word; }
.demo-term .pmt { color: var(--st-green); } .demo-term .dim { color: var(--ink-3); } .demo-term .ok { color: var(--st-green); } .demo-term .warn { color: var(--accent); }
.demo-cur { display: inline-block; width: 7px; height: 1.05em; vertical-align: -.15em; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-card { position: absolute; right: 6%; top: 19%; width: 208px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 13px; box-shadow: var(--sh-lg); animation: dpanel .35s var(--ease); }
.demo-card[hidden] { display: none; }
.dc-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 9px; }
.dc-head .ic { width: 14px; height: 14px; color: var(--accent); }
.demo-card code { display: block; font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); padding: 7px 10px; border-radius: 8px; margin-bottom: 11px; }
.dc-btns { display: flex; gap: 7px; }
.dc-btns button { flex: 1; padding: 7px 0; border-radius: 8px; border: none; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 12px; }
.dc-deny { background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }
.dc-allow { background: var(--grad); color: #fff; transition: box-shadow .25s; }
.dc-allow.flash { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 38%, transparent); }
.demo-pet { position: absolute; right: 8%; bottom: 7%; width: 124px; filter: drop-shadow(0 14px 20px rgba(80,55,25,.3)); transition: opacity .25s; }
.demo-pet.hop { animation: dhop .55s var(--ease); }
@keyframes dhop { 0%,100% { transform: translateY(0) rotate(2deg); } 42% { transform: translateY(-16px) rotate(2deg); } }
.demo-cap { margin-top: 16px; text-align: center; font-size: 15px; font-weight: 500; color: var(--ink); min-height: 24px; }
@media (max-width: 600px) {
  .demo-desk { height: 260px; } .demo-win { width: 60%; } .demo-card { width: 160px; } .demo-pet { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-scrim, .demo-panel, .demo-card, .demo-pet.hop { animation: none !important; }
  .demo-cur { animation: none !important; }
}

/* ============ v5: moods showcase + ultra-smooth demo + story bars ============ */
.mood-show { max-width: 940px; margin: 0 auto; }
.mood-stage { position: relative; display: grid; place-items: center; padding: 32px 20px 26px; margin-bottom: 18px;
  background: radial-gradient(62% 72% at 50% 4%, #fff7ec, var(--surface)); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.mood-stage::before { content: ""; position: absolute; bottom: 27%; width: 210px; height: 56px; border-radius: 50%; background: radial-gradient(closest-side, rgba(80,55,25,.14), transparent 72%); }
.mood-bubble { position: relative; z-index: 2; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 15px; box-shadow: var(--sh-sm); margin-bottom: 12px; max-width: 80%; text-align: center; }
.mood-bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 13px; height: 13px; background: var(--surface); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); }
.mood-bubble.swap { animation: moodpop .45s var(--ease); }
@keyframes moodpop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.mood-pets { position: relative; width: 168px; height: 168px; z-index: 1; }
.mood-pet { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.9); transition: opacity .5s var(--ease), transform .5s var(--ease); filter: drop-shadow(0 14px 18px rgba(80,55,25,.22)); }
.mood-pet.show { opacity: 1; transform: scale(1); }
.mood-caption { text-align: center; margin-top: 6px; z-index: 2; }
.mood-caption b { font-family: var(--round); font-weight: 700; font-size: 17px; display: block; }
.mood-caption span { font-size: 13.5px; color: var(--ink-2); }

.mood-card { cursor: pointer; background: var(--surface); border: 1px solid var(--border); font-family: var(--sans); }
.mood-card img { animation: mfloat 4s ease-in-out infinite; }
.mood-card:nth-child(2n) img { animation-delay: -1.2s; }
.mood-card:nth-child(3n) img { animation-delay: -2.1s; }
@keyframes mfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.mood-card:hover { transform: translateY(-5px); }
.mood-card:hover img { transform: none; animation: mbounce .5s var(--ease); }
@keyframes mbounce { 0%,100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-9px) rotate(-5deg); } 70% { transform: translateY(0) rotate(4deg); } }
.mood-card.active { border-color: color-mix(in srgb, var(--c) 55%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent), var(--sh-sm); }
.mood-card.active figcaption { color: color-mix(in srgb, var(--c) 72%, var(--ink)); }

/* demo: cross-fade pets + caption */
.demo-pets { position: absolute; right: 7%; bottom: 6%; width: 128px; height: 150px; z-index: 2; }
.demo-pet { position: absolute; left: 0; right: auto; top: auto; bottom: 0; width: 100%; height: auto; object-fit: contain; opacity: 0; transition: opacity .45s var(--ease); filter: drop-shadow(0 14px 20px rgba(80,55,25,.3)); }
.demo-pet.show { opacity: 1; }
.demo-cap { transition: opacity .28s ease; }
.demo-cap.fade { opacity: 0; }

.dline { display: block; animation: dlinein .34s var(--ease) both; }
@keyframes dlinein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* story progress bars */
.demo-bars { display: flex; gap: 8px; margin-top: 15px; }
.demo-bar { flex: 1; display: flex; flex-direction: column; gap: 6px; background: none; border: none; padding: 2px 0; cursor: pointer; font-family: var(--sans); }
.bar-track { display: block; height: 4px; border-radius: 999px; background: var(--border); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.demo-bar.done .bar-fill { transform: scaleX(1); }
.demo-bar.active .bar-fill { animation: barfill var(--dur, 2400ms) linear forwards; }
@keyframes barfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo-bars.paused .demo-bar.active .bar-fill { animation-play-state: paused; }
.bar-label { font-size: 11px; color: var(--ink-3); transition: color .2s; white-space: nowrap; }
.demo-bar.active .bar-label { color: var(--accent); font-weight: 600; }
.demo-bar:hover .bar-label { color: var(--ink-2); }
@media (max-width: 600px) { .demo-bars { gap: 5px; } .bar-label { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) {
  .mood-pet, .demo-pet, .demo-cap { transition: none !important; }
  .mood-card img { animation: none !important; }
  .demo-bar.active .bar-fill { animation: none !important; transform: scaleX(1); }
}
