/* 桌遇（DeskMeet）官网。照 2026-10-21 的设计稿：奶油底、柔和的近黑、唯一的强调色是暖橘。
   正文用系统字体（Google Fonts 在国内不稳定）；手写便签用自托管的马善政楷书子集（只含页面上用到的字，见 fonts/README）。 */
@font-face {
  font-family: "DeskHand";
  src: url("/p/aipet/fonts/hand.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #FBF6F1;
  --bg-2: #FFFDFB;
  --card: #FFFFFF;
  --ink: #2A2320;
  --ink-2: #6B6059;
  --mut: #A3968D;
  --line: #EEE3D9;
  --accent: #EE7A46;
  --accent-soft: #FFEDE3;
  --dark: #2A2422;
  --shadow: 0 10px 30px rgba(120, 80, 50, .08);
  --feet: 11.25%;          /* 透明视频里脚底到画面底边的距离（400px 画面里脚在 y=355） */
  --wrap: 1180px;
  --hand: "DeskHand", "KaiTi", "STKaiti", "Kaiti SC", cursive;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.7; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--dark); color: #fff; z-index: 20; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hand { font-family: var(--hand); font-weight: 400; }

/* ---- 顶栏 ---- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 246, 241, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(238, 227, 217, .7); }
.top-inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo img { height: 40px; width: auto; }
.top-links { display: flex; gap: 32px; }
.top-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top-links a:hover { color: var(--ink); }
.top-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 700; color: #fff; background: var(--dark); padding: 9px 20px; border-radius: 999px; }
.top-cta svg { width: 16px; height: 16px; fill: currentColor; }
.top-cta:hover { background: #000; }

/* ---- 按钮 ---- */
.btn-dark, .btn-line, .btn-pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.btn-dark { background: var(--dark); color: #fff; padding: 15px 30px; border-radius: 12px; font-size: 16px; box-shadow: 0 10px 24px rgba(42, 36, 34, .18); }
.btn-dark svg { width: 20px; height: 20px; fill: currentColor; }
.btn-dark:hover { background: #000; }
.btn-line { padding: 14px 26px; border-radius: 12px; border: 1.5px solid #D9CCC1; background: rgba(255, 255, 255, .6); font-size: 16px; }
.btn-line:hover { border-color: var(--ink); }
.btn-pill { margin-top: 28px; padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 15px; }
.btn-pill:hover { background: var(--dark); color: #fff; }

/* ---- 首屏 ---- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 222, 200, .55), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(255, 236, 222, .7), transparent 70%),
    var(--bg); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(32px, 3.7vw, 52px); font-weight: 800; letter-spacing: .01em; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 span { white-space: nowrap; }
.doodle { position: absolute; top: -6px; left: 220px; width: 170px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.lede { margin-top: 22px; font-size: 18px; color: var(--ink-2); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: 13px; color: var(--ink-2); }
.platforms span { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 16px; height: 16px; fill: var(--ink-2); }
.platforms .soon { color: var(--accent); }

.stage { position: relative; }
.monitor { position: relative; max-width: 620px; margin-left: auto; }
.screen { position: relative; aspect-ratio: 16 / 10; border: 12px solid #1F1A18; border-radius: 18px; overflow: hidden; background: #E9DED4; box-shadow: 0 30px 60px rgba(90, 60, 40, .22); }
.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.stand { width: 26%; height: 54px; margin: 0 auto; background: linear-gradient(#DCD3CB, #C9BEB4); clip-path: polygon(38% 0, 62% 0, 66% 78%, 100% 84%, 100% 100%, 0 100%, 0 84%, 34% 78%); }
.widget { position: absolute; top: 6%; right: 4.5%; padding: 8px 14px 9px; border-radius: 12px; background: rgba(60, 44, 36, .32); backdrop-filter: blur(6px); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .18); line-height: 1.2; text-align: right; }
.widget b { display: block; font-size: clamp(20px, 2.6vw, 32px); font-weight: 600; letter-spacing: .02em; }
.widget span { font-size: 11px; opacity: .95; }
.note-screen { position: absolute; top: 24%; left: 7%; padding: 10px 16px 12px; background: #FFFDF8; border-radius: 6px; box-shadow: 0 8px 18px rgba(0, 0, 0, .12); transform: rotate(-8deg); font-size: clamp(14px, 1.5vw, 19px); line-height: 1.35; color: var(--ink); }
.pet { position: absolute; right: 12%; bottom: 9%; width: 52%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(var(--feet)); }
.pet-clip { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.taskbar i { width: 4%; aspect-ratio: 1; border-radius: 4px; background: rgba(42, 36, 34, .22); }
.taskbar .start { background: #4C8BF5; }
.picker { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.pick { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border: 1.5px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .75); cursor: pointer; font-size: 14px; }
.pick img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.pick.on { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }

/* ---- 01 / 02 分区 ---- */
.zone { padding: 72px 0; }
.zone-alt { background: var(--bg-2); }
.zone-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
.eyebrow { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 11px; letter-spacing: .06em; color: var(--mut); }
.eyebrow b { font-size: 26px; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.zone-copy h2 { margin-top: 8px; display: flex; align-items: center; gap: 12px; font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; }
.h-heart { width: 30px; height: 30px; fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.6; }
.zone-copy > p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.zone-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.zone-photo img { width: 100%; height: 320px; object-fit: cover; object-position: 75% 40%; }
.zone-photo figcaption { position: absolute; top: 22%; left: 7%; transform: rotate(-9deg); padding: 10px 18px; background: rgba(255, 253, 248, .92); border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); font-size: 19px; line-height: 1.4; color: var(--ink); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feats li { position: relative; padding: 18px 16px 16px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.feats svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feats h3 { margin-top: 12px; font-size: 15px; }
.feats p { margin-top: 2px; font-size: 12px; color: var(--mut); line-height: 1.5; }
.feats .tag { position: absolute; top: -8px; right: 10px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }

.thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.thumbs li { width: 132px; text-align: center; font-size: 14px; color: var(--ink-2); }
.thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 8px; }
.thumb-add a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; aspect-ratio: 1; border: 2px dashed #E8C9B6; border-radius: 16px; background: var(--accent-soft); text-decoration: none; color: var(--accent); font-weight: 700; font-size: 14px; }
.thumb-add b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 26px; line-height: 1; }
.thumb-add a:hover { background: #FFE2D2; }

/* ---- 03 专属定制 ---- */
.custom-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; counter-reset: step; }
.steps li { position: relative; padding: 22px 22px 24px; border-radius: 20px; background: linear-gradient(160deg, #FFF8F2, #FFF1E7); box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -34px; transform: translateY(-50%); font-size: 24px; color: var(--ink); }
.step-no { color: var(--accent); font-size: 15px; font-weight: 600; }
.steps h3 { margin-top: 4px; font-size: 20px; font-weight: 800; }
.steps li > p:last-child { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.step-art { position: relative; height: 160px; margin: 14px 0 12px; display: flex; align-items: center; justify-content: center; }
.art-photos img { position: absolute; width: 112px; height: 112px; object-fit: cover; border: 5px solid #fff; border-radius: 10px; box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }
.art-photos img:first-child { transform: translate(-30px, -6px) rotate(-9deg); }
.art-photos img:nth-child(2) { transform: translate(26px, 8px) rotate(6deg); }
.art-photos b { position: absolute; right: 18%; bottom: 8%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 24px; line-height: 1; box-shadow: 0 6px 14px rgba(238, 122, 70, .4); }
.art-motion video { height: 100%; width: auto; aspect-ratio: 1; object-fit: contain; }
.spark { position: absolute; width: 16px; height: 16px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .8; }
.spark.s1 { top: 14%; left: 16%; }
.spark.s2 { bottom: 22%; right: 18%; width: 11px; height: 11px; }
.mini { position: relative; overflow: hidden; width: 190px; aspect-ratio: 16 / 10; border: 7px solid #1F1A18; border-radius: 10px; background: url("/p/aipet/img/wallpaper.webp") center / cover; box-shadow: 0 14px 26px rgba(0, 0, 0, .16); }
.mini img { position: absolute; right: 6%; bottom: 0; width: 50%; height: auto; transform: translateY(var(--feet)); }
.mini .hand { position: absolute; top: 12%; left: 8%; padding: 2px 8px; background: #FFFDF8; border-radius: 4px; transform: rotate(-6deg); font-size: 13px; }

.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 44px; }
.plans li { width: 300px; padding: 20px 22px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.plans h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.plans h3 em { padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-style: normal; }
.plans .price { margin-top: 6px; font-size: 28px; font-weight: 800; color: var(--accent); }
.plans .sub { font-size: 13px; color: var(--ink-2); }
.plans .acts { margin-top: 8px; font-size: 12px; color: var(--mut); line-height: 1.6; }
.plans-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--mut); }

/* ---- 底部下载 ---- */
.finale { position: relative; overflow: hidden; padding: 84px 0 64px; text-align: center; }
.finale::before { content: ""; position: absolute; inset: -30px; background: url("/p/aipet/img/banner-pets.webp") center 40% / cover; filter: blur(18px); opacity: .35; }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(251, 246, 241, .55), rgba(251, 246, 241, .85)); }
.finale-inner { position: relative; z-index: 1; }
.finale h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; text-wrap: balance; }
.finale-inner > p { margin-top: 10px; color: var(--ink-2); }
.dl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 30px; }
.dl { display: inline-flex; align-items: center; gap: 14px; min-width: 230px; padding: 13px 28px; border-radius: 14px; text-decoration: none; text-align: left; font-weight: 700; font-size: 17px; line-height: 1.3; }
.dl small { display: block; font-size: 12px; font-weight: 400; opacity: .8; }
.dl svg { width: 30px; height: 30px; fill: currentColor; }
.dl-win { background: var(--dark); color: #fff; box-shadow: 0 12px 26px rgba(42, 36, 34, .2); }
.dl-win:hover { background: #000; }
.dl-mac { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.dl-mac:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 30px; font-size: 13px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border: 1.3px solid var(--ink-2); border-radius: 50%; font-size: 10px; line-height: 1; }
.note-finale { position: absolute; right: 2%; bottom: 18%; transform: rotate(-10deg); font-size: 20px; line-height: 1.4; color: var(--ink); text-align: left; }

/* ---- 问答 / 文档页 ---- */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 20px; color: var(--ink-2); }
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.doc .updated { margin-top: 10px; font-size: 14px; color: var(--mut); }
.doc h2 { font-size: 22px; margin-top: 44px; scroll-margin-top: 90px; }
.doc p, .doc li { color: #4A403A; margin-top: 12px; }
.doc ul { padding-left: 1.3em; list-style: disc; }
.doc a { color: var(--accent); }

/* ---- 页脚 ---- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 40px; font-size: 14px; color: var(--ink-2); background: var(--bg-2); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { height: 34px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot .fine { width: 100%; font-size: 12px; color: var(--mut); }
.foot .fine a { color: inherit; }

/* ---- 窄屏 ---- */
@media (max-width: 1080px) {
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .zone-copy { grid-column: 1 / -1; }
  .custom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .top-links { display: none; }
  .hero { padding-top: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .monitor { margin: 0 auto; }
  .picker { justify-content: center; }
  .doodle { display: none; }
  .zone-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 420px; margin: 0 auto; }
  .steps li:not(:last-child)::after { content: "↓"; top: auto; bottom: -36px; right: 50%; transform: translateX(50%); }
  .note-finale { position: static; transform: none; margin-top: 26px; text-align: center; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top-inner { height: 60px; }
  .logo img { height: 34px; }
  .zone { padding: 52px 0; }
  .zone-photo img { height: 220px; }
  .zone-photo figcaption { font-size: 15px; }
  .thumbs { gap: 10px; }
  .thumbs li { width: calc(50% - 5px); max-width: 160px; }
  .btn-dark, .btn-line { padding: 13px 22px; }
  .dl { width: 100%; }
  .foot-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
