/* quikoop.com 静态网站的样式。页面由 site/build.js 生成，这个文件是手写的。颜色取自 App 的 BrandTeal / BrandCream。 */
:root {
  --bg: #f8ece2;
  --surface: #fffaf5;
  --text: #1f1b18;
  --muted: #6b625b;
  --line: #e6d8cb;
  --brand: #00c3d0;
  --link: #00707a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --surface: #1c1a18;
    --text: #f1ebe5;
    --muted: #a69c93;
    --line: #2e2a27;
    --brand: #00a3ae;
    --link: #4fd5de;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  overflow-wrap: break-word;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
a { color: var(--link); text-underline-offset: 3px; }
header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.langs { display: flex; gap: 14px; font-size: 14px; }
.langs span { color: var(--muted); }
main { padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 19px; line-height: 1.4; margin: 36px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 2px; color: var(--muted); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 20px 0 32px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer p { margin: 0; }

/* ---------- 首页（site/home.js） ---------- */
.home-page {
  --ink: #12303a;
  --tint: #eef6f5;
  --tint-line: #d3e7e5;
  --brand-strong: #00a3ae;
  --brand-soft: #d8f3f4;
  --green: #2fb35a;
  --foot: #0f2430;
  --shadow: 0 18px 50px rgba(18, 48, 58, .12);
  --il-bg: linear-gradient(140deg, #e3f5f4, #f7f1e8);
  background: #fbf7f2;
  font-size: 16px;
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  .home-page {
    --ink: #eef4f3;
    --tint: #141a1b;
    --tint-line: #24302f;
    --brand-strong: #26dce6;
    --brand-soft: #123038;
    --green: #47c96d;
    --foot: #0a1418;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --il-bg: linear-gradient(140deg, #0d2a30, #171513);
    background: var(--bg);
  }
}
.home-page .wrap { max-width: 1120px; padding: 0 20px; }
.home-page h1, .home-page h2, .home-page h3 { color: var(--ink); }
/* 中文标题只在标点处换行，不把一个词拆到两行 */
.home-page h1:lang(zh), .home-page h2:lang(zh) { word-break: keep-all; }
.home-page h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
.home-page h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; }
.home-page h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.home-page .lead { color: var(--muted); font-size: 17px; max-width: 560px; margin-bottom: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--link); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }
.center .lead { margin: 0 auto; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; background: linear-gradient(135deg, #00a3ae, #00808a); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 128, 138, .28); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 128, 138, .36); }
.btn svg { width: 18px; height: 18px; }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* 顶栏 */
.site-head { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.home-page .bar { flex-wrap: nowrap; gap: 20px; }
.sections { display: flex; gap: 26px; font-size: 14px; margin-right: auto; margin-left: 20px; }
.sections a, .home-page .langs a { color: var(--muted); text-decoration: none; }
.sections a:hover, .home-page .langs a:hover { color: var(--link); }
.bar-end { display: flex; align-items: center; gap: 18px; }
.home-page .langs { gap: 10px; font-size: 13px; }

/* 主视觉 */
.hero { padding: 64px 0 72px; background: radial-gradient(900px 500px at 85% 20%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.platform-line { color: var(--muted); font-size: 13px; letter-spacing: .02em; margin-top: 18px; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.radar { position: absolute; inset: 50% auto auto 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); fill: none; stroke: var(--brand); stroke-opacity: .22; stroke-width: 1; }
.badge { position: absolute; left: 0; bottom: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 270px; }
.badge i { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); }
.badge b { display: block; color: var(--ink); font-size: 15px; }
.badge span { color: var(--muted); font-size: 13px; }

/* 手机里的 App 首页 */
.phone { --s-bg: #f4efe6; --s-card: #ffffff; --s-text: #1f1b18; --s-muted: #7a7068; --s-map: #e3f1ef; --s-land: #c6e1dc;
  position: relative; width: 270px; aspect-ratio: 9 / 19; padding: 9px; border-radius: 44px; background: #1b1f22; box-shadow: var(--shadow), inset 0 0 0 2px #3a4045; }
@media (prefers-color-scheme: dark) {
  .phone { --s-bg: #121110; --s-card: #1f1d1b; --s-text: #f1ebe5; --s-muted: #a69c93; --s-map: #1a2426; --s-land: #2b3d3e; }
}
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--s-bg); color: var(--s-text); font-size: 11px; line-height: 1.3; }
.phone-island { position: absolute; z-index: 2; top: 9px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 14px; background: #000; }
.app-head { height: 28%; border-radius: 0 0 26px 26px; background: radial-gradient(circle at 50% 120%, transparent 30%, rgba(255,255,255,.18) 30.5%, transparent 31.5%, transparent 45%, rgba(255,255,255,.14) 45.5%, transparent 46.5%, transparent 60%, rgba(255,255,255,.1) 60.5%, transparent 61.5%), linear-gradient(160deg, #00c3d0, #00a3ae); }
@media (prefers-color-scheme: dark) { .app-head { background-color: #00808a; background-image: radial-gradient(circle at 50% 120%, transparent 30%, rgba(255,255,255,.14) 30.5%, transparent 31.5%, transparent 45%, rgba(255,255,255,.1) 45.5%, transparent 46.5%), linear-gradient(160deg, #00a3ae, #00808a); } }
.app-power { position: relative; width: 58%; aspect-ratio: 1; margin: -26% auto 0; border-radius: 50%; background: var(--s-card); box-shadow: 0 10px 24px rgba(0,0,0,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.app-button { width: 56%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #61db80, #1f8c42); box-shadow: 0 0 0 5px color-mix(in srgb, #61db80 25%, transparent), 0 8px 18px rgba(31, 140, 66, .4); }
.app-button svg { width: 46%; }
.app-power span { font-weight: 600; font-size: 12px; }
.app-pill { display: flex; align-items: center; gap: 5px; margin: 16px 12px 10px; padding: 8px 10px; border-radius: 10px; background: var(--s-card); border: 1px solid color-mix(in srgb, var(--s-muted) 25%, transparent); white-space: nowrap; overflow: hidden; }
.app-pill svg { flex: none; width: 13px; height: 13px; fill: #00a3ae; }
.app-pill i { font-style: normal; color: var(--s-muted); overflow: hidden; text-overflow: ellipsis; }
.app-map { position: relative; margin: 0 12px; height: 25%; border-radius: 14px; background: var(--s-map); overflow: hidden; }
.app-land { position: absolute; inset: 8% 0 auto 8%; width: 95%; fill: var(--s-land); }
.app-pin { position: absolute; left: 28%; top: 46%; width: 12px; height: 12px; border-radius: 50%; background: #29a854; box-shadow: 0 0 0 5px color-mix(in srgb, #29a854 25%, transparent); }
.app-place { position: absolute; left: 38%; top: 28%; padding: 6px 8px; border-radius: 8px; background: var(--s-card); box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.app-place b { display: block; font-size: 10.5px; }
.app-place span { color: var(--s-muted); font-size: 9.5px; }
.app-tabs { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-around; padding: 6px 4px; border-radius: 22px; background: var(--s-card); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.app-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 8px; border-radius: 16px; font-size: 8.5px; font-weight: 600; }
.app-tabs span.on { color: #00a3ae; background: color-mix(in srgb, #00a3ae 12%, transparent); }
.app-tabs svg { width: 15px; height: 15px; fill: currentColor; }
.app-tabs span:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.app-tabs span:nth-child(3) svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* 区块 */
.band { padding: 80px 0; scroll-margin-top: 50px; }
.band.tint { background: var(--tint); border-top: 1px solid var(--tint-line); border-bottom: 1px solid var(--tint-line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.illustration { aspect-ratio: 16 / 9; border-radius: 18px; background: var(--il-bg); border: 1px solid var(--line); overflow: hidden; }
.illustration svg { width: 100%; height: 100%; }
.il-faint { stroke: var(--brand); stroke-opacity: .3; stroke-width: 1.5; }
.il-dash { stroke-dasharray: 6 7; }
.il-strong { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.il-dots, .il-dot-strong { fill: var(--brand); }
.il-dots { opacity: .55; }
.il-tile { fill: #0d2a31; }
.il-mark { stroke: #26dce6; fill: #26dce6; }
.il-node { fill: var(--surface); stroke: var(--brand); stroke-opacity: .5; stroke-width: 1.5; }
.il-bolt { fill: #26dce6; }
.il-pin path { fill: var(--brand); }
.il-pin-hole { fill: var(--surface); }
.il-plane { fill: var(--ink); }
.feature-text { display: flex; gap: 14px; margin-top: 18px; }
.feature-text .icon, .callout .icon, .trial .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: var(--link); background: var(--brand-soft); }
.feature-text p { color: var(--muted); font-size: 15px; margin: 0; }

.how-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { margin: 0; padding: 0 24px; border-left: 1px solid var(--tint-line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps .num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; background: var(--brand-soft); color: var(--link); font-weight: 700; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.how-art { display: flex; justify-content: center; }
.phone-tilt { width: 230px; transform: rotate(6deg); }
.callout { display: flex; gap: 16px; margin-top: 48px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--tint-line); }
.callout b { color: var(--link); }
.callout p { color: var(--muted); font-size: 15px; margin: 4px 0 0; }

.trial { display: flex; align-items: center; gap: 14px; margin: 32px 0 20px; padding: 14px 18px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); }
.trial .icon { background: var(--surface); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { padding: 24px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.plan .price { color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.plan .price b { display: block; color: var(--ink); font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.plan p:last-child { color: var(--muted); font-size: 15px; margin: 0; }
.plan-sub { background: color-mix(in srgb, var(--brand-soft) 70%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.fine { color: var(--muted); font-size: 13px; text-align: center; max-width: 760px; margin: 22px auto 0; }

.platforms-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.platforms-grid .lead { margin-bottom: 24px; }
.platforms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.platforms li { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--tint-line); }
.platforms .icon { width: 40px; height: 40px; color: var(--ink); }
.platforms b { color: var(--ink); font-size: 14px; }
.soon { font-size: 12px; color: var(--link); background: var(--brand-soft); border-radius: 999px; padding: 2px 10px; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq details { background: var(--surface); }
.faq summary { color: var(--ink); }
.faq .more { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* 页脚 */
.site-foot { background: var(--foot); color: #a9bcc2; border-top: 0; padding: 40px 0 28px; }
.site-foot a { color: #dbe8ea; text-decoration: none; }
.site-foot a:hover { color: #26dce6; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.site-foot .brand { color: #fff; }
.site-foot nav { display: flex; gap: 8px 24px; flex-wrap: wrap; margin: 0; }
.mail { display: inline-flex; align-items: center; gap: 8px; }
.mail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.foot-small { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

@media (max-width: 960px) {
  .sections { display: none; }
  .hero-grid, .how-grid, .platforms-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 8px; }
  .how-art { display: none; }
  .features { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-page .wrap { padding: 0 16px; }
  .site-head { position: static; }
  .home-page .bar { flex-wrap: wrap; gap: 10px; }
  .bar-end { width: 100%; justify-content: space-between; }
  .hero { padding: 36px 0 48px; }
  .band { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { padding: 0; border-left: 0; }
  .plans, .platforms { grid-template-columns: repeat(2, 1fr); }
  .badge { left: 50%; transform: translateX(-50%); bottom: 0; width: max-content; max-width: 92%; }
  .radar { width: 420px; height: 420px; }
  .phone { width: 240px; }
}
