:root {
  --bg: #f6f6f1; --paper: #fbfbf8; --ink: #1b1b19; --dim: #7d7d76; --line: #e2e2da;
  --green: #2f6b4f; --orange: #c8691c; --pet: #e8892b; --red: #b8382e;
  --sel: #f4eee8; --sel-line: #e7b9a0;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code, pre, .mono { font-family: var(--mono); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
h1, h2, h3 { font-family: var(--mono); letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.15; }
h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; }
.sub { color: var(--dim); }
.center { text-align: center; }

nav { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
nav .wrap { display: flex; align-items: center; gap: 26px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 17px var(--mono); }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--dim); font-family: var(--mono); }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 8px; font: 600 14px var(--mono); background: transparent; color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { opacity: .85; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (max-width: 760px) { .nav-links { display: none; } nav .btn { margin-left: auto; } }

/* hero */
.hero { padding: 72px 0 40px; }
.hero p { font-size: 18px; color: #4a4a45; max-width: 640px; margin: 20px auto 0; }
.stage { display: flex; justify-content: center; margin-top: 52px; }

/* watch */
.watch { width: 220px; position: relative; padding: 60px 0; }
.watch .band { position: absolute; left: 50%; transform: translateX(-50%); width: 140px; height: 76px; background: #d9d9d1; border-radius: 18px; }
.watch .band.t { top: 0; } .watch .band.b { bottom: 0; }
.watch .case { position: relative; background: #111; border-radius: 54px; padding: 13px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.watch .crown { position: absolute; right: -8px; top: 70px; width: 9px; height: 40px; border-radius: 4px; background: #333; }
.watch .screen { background: #000; border-radius: 42px; height: 248px; padding: 22px 16px 16px; display: flex; flex-direction: column; color: #fff; }
.w-top { display: flex; justify-content: space-between; font: 12px var(--mono); color: #9a9a93; }
.w-top b { color: var(--pet); font-weight: 600; }
.w-title { font: 700 16px var(--mono); margin: 8px 0 0; }
.w-tool { font: 12px var(--mono); color: var(--pet); }
.w-cmd { font: 11.5px/1.45 var(--mono); color: #d8d8d0; background: #161616; border-radius: 9px; padding: 8px; margin: 8px 0 auto; word-break: break-all; }
.w-btns { display: flex; gap: 8px; margin-top: 10px; }
.w-btns span { flex: 1; height: 38px; border-radius: 19px; display: grid; place-items: center; font: 800 17px var(--mono); }
.w-no { background: #2a1513; color: #ff7a6e; } .w-yes { background: var(--green); color: #fff; }

/* steps */
.step-title { font: 600 16px var(--mono); text-align: center; margin: 0 0 22px; }
.store { display: flex; justify-content: center; margin-bottom: 64px; }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agent { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 12px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; font: 700 15px var(--mono); color: var(--ink); }
.agent:hover { border-color: #cfcfc5; }
.agent.on { background: var(--sel); border-color: var(--sel-line); }
.agent svg { width: 52px; height: 52px; }
.agent.more { justify-content: center; letter-spacing: .3em; font-size: 26px; color: var(--green); cursor: default; }
.cmd-box { margin-top: 18px; border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 18px 20px; }
.cmd-row { display: flex; align-items: center; gap: 12px; }
.cmd-row code { flex: 1; font-size: 15px; overflow-x: auto; white-space: nowrap; }
.cmd-row code::before { content: "$ "; color: var(--dim); }
.cmd-note { color: var(--dim); font-size: 13px; margin-top: 8px; font-family: var(--mono); }
@media (max-width: 640px) { .agents { grid-template-columns: repeat(2, 1fr); } }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature p { color: #4a4a45; margin: 14px 0 0; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 14px; color: #4a4a45; }
.feature li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .art { order: -1; } }

/* phone */
.phone { width: 300px; margin: 0 auto; background: #111; border-radius: 46px; padding: 11px; box-shadow: 0 18px 40px rgba(0,0,0,.16); }
.phone .scr { background: var(--bg); border-radius: 36px; padding: 44px 14px 14px; height: 590px; overflow: hidden; position: relative; }
.p-head { display: flex; justify-content: space-between; align-items: flex-start; }
.p-head h4 { margin: 0; font: 800 26px -apple-system, "PingFang SC", sans-serif; }
.p-head small { font: 10px var(--mono); color: var(--dim); }
.p-btn { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.p-btn svg { width: 20px; height: 20px; }
.pet-card { background: #000; border: 1.5px solid var(--pet); border-radius: 12px; color: #fff; padding: 14px; height: 210px; display: flex; flex-direction: column; margin-top: 14px; }
.pet-card .top { display: flex; justify-content: space-between; font-family: var(--mono); }
.pet-card .top b { font-size: 16px; } .pet-card .top span { font-size: 10px; color: #a8a8a0; }
.pet-card .st { font-size: 11px; color: #ccc; }
.pet-card pre { margin: auto; color: var(--pet); font-size: 13px; line-height: 1.25; font-weight: 600; }
.p-sec { font: 700 14px -apple-system, "PingFang SC", sans-serif; margin: 14px 0 8px; }
.p-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; margin-bottom: 7px; font: 11px var(--mono); display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.p-row b { font-size: 11.5px; } .p-row .t { color: var(--dim); font-size: 9.5px; }
.p-row .ok { margin-left: auto; color: var(--green); font-weight: 700; font-family: -apple-system, sans-serif; }
.p-row .no { margin-left: auto; color: var(--red); font-weight: 700; font-family: -apple-system, sans-serif; }
.p-tabs { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 30px; display: flex; padding: 4px; font-size: 10px; }
.p-tabs span { flex: 1; text-align: center; padding: 8px 0; border-radius: 24px; }
.p-tabs .on { background: #ededE8; color: var(--orange); font-weight: 600; }

/* pets */
.pets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 36px; }
.pet { background: #000; border: 1px solid #000; border-radius: 10px; padding: 14px 6px 10px; text-align: center; cursor: pointer; }
.pet.on, .pet:hover { border-color: var(--pet); }
.pet pre { margin: 0 auto 8px; color: var(--pet); font-size: 11.5px; line-height: 1.25; min-height: 60px; display: inline-block; text-align: left; font-weight: 600; }
.pet div { color: #e8e8e0; font: 600 12px var(--mono); }
.moods { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 6px 12px; font: 13px var(--mono); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--sel); border-color: var(--sel-line); }
@media (max-width: 860px) { .pets { grid-template-columns: repeat(3, 1fr); } }

/* notifications */
.notifs { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }
.notif { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 13px 15px; display: flex; gap: 12px; }
.notif .ic { width: 38px; height: 38px; border-radius: 9px; background: #111; flex: none; display: grid; place-items: center; }
.notif .ic svg { width: 24px; height: 24px; }
.notif b { font-size: 14px; display: block; line-height: 1.4; }
.notif span { font-size: 13px; color: #55554f; line-height: 1.45; display: block; }
.notif time { margin-left: auto; color: var(--dim); font-size: 12px; white-space: nowrap; }
.notif .acts { display: flex; gap: 8px; margin-top: 8px; }
.notif .acts i { font-style: normal; font-size: 12px; padding: 3px 12px; border-radius: 6px; background: #f0f0eb; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 600 15px var(--mono); list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--dim); }
details[open] summary::after { content: "−"; }
details p { color: #4a4a45; margin: 10px 0 0; font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--dim); font: 13px var(--mono); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer .links { margin-left: auto; display: flex; gap: 18px; }
footer a:hover { color: var(--ink); }
