/* Streakit 官网 — 与 App 设计 token v2 同源 (src/app/theme/tokens.ts): 暖中性底 + 青绿 / 火焰橙, Nunito */
:root {
  --bg: #F5F6F3; --card: #FFFFFF; --surface2: #ECEEEA; --text: #13201D; --muted: #5F6F6B; --line: #E3E7E4;
  --primary: #0F9D8A; --cta: #F2662A; --tint: #DDF4EF; --flame-tint: #FFE8DC;
  /* 文字链接专用深青绿: 浅底上对比度 ≥ 4.5 (品牌青绿 #0F9D8A 只有 3.1) */
  --link: #0A6F62;
  --radius: 22px; --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0E0D; --card: #161B1A; --surface2: #202725; --text: #ECF2F0; --muted: #8E9D99; --line: #26302D;
    --primary: #2CCBB3; --cta: #FF8048; --tint: #14302B; --flame-tint: #3A2116;
    --link: #5EE6D0;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 'Nunito', ui-rounded, -apple-system, 'Segoe UI', system-ui, sans-serif; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 56px 72px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; }
.promises { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: 15px; font-weight: 700; }
.promises li { display: inline-flex; align-items: center; gap: 6px; }
.promises li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px; border-radius: 16px; background: var(--text); color: var(--bg); font-weight: 800; text-decoration: none; }
.store small { display: block; font-weight: 600; font-size: 11px; opacity: .75; letter-spacing: .02em; }
.store[aria-disabled="true"] { opacity: .55; cursor: default; }
.soon { margin-top: 12px; color: var(--muted); font-size: 14px; }

.phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 19.5; border-radius: 44px; background: var(--card); box-shadow: 0 30px 60px -24px rgba(11,27,23,.28), 0 0 0 10px var(--surface2); padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; }
.phone .date { color: var(--muted); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.phone .title { font-weight: 800; font-size: 26px; margin: -4px 0 6px; }
.row { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 16px; padding: 10px; }
.row .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; }
.row .nm { flex: 1; font-weight: 800; font-size: 14px; line-height: 1.2; }
.row .nm span { display: block; font-weight: 600; font-size: 11px; color: var(--muted); }
.row .ck { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--line); }
.row .ck.on { border-color: transparent; background-repeat: no-repeat; background-position: center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.phone .head { display: flex; align-items: center; justify-content: space-between; }
.phone .ring { width: 44px; height: 44px; flex: none; }
.phone .tabs { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 11px; font-weight: 700; }
.phone .tabs span:first-child { color: var(--link); }
.phone .fab { align-self: flex-end; width: 46px; height: 46px; border-radius: 16px; background: var(--cta); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; line-height: 1; margin-top: 4px; box-shadow: 0 8px 18px -8px var(--cta); }

/* 功能区: 非对称拼贴 — 左大卡 (连击) 跨两行, 右两小卡 (专注 / 统计); 每张卡放真实界面片段而非图标块 */
.features { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 18px; padding-block: 24px 72px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.feature.big { grid-row: span 2; justify-content: space-between; }
.feature h2 { font-size: 23px; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature.side { flex-direction: row; align-items: center; }
.feature.side > div { flex: 1; }
.mini-list { display: flex; flex-direction: column; gap: 10px; }
.mini-ring { width: 110px; height: 110px; flex: none; }
.mini-heat { display: grid; grid-template-columns: repeat(7, 16px); gap: 5px; flex: none; }
.mini-heat i { width: 16px; height: 16px; border-radius: 5px; background: var(--surface2); }
.mini-heat i.l1 { background: #BFE6DD; } .mini-heat i.l2 { background: #7FD0C0; } .mini-heat i.l3 { background: #34B39D; } .mini-heat i.l4 { background: #0F8C7A; }

.privacy-band { background: var(--tint); border-radius: 28px; padding: 40px; display: flex; gap: 28px; align-items: center; margin-bottom: 72px; }
.privacy-band h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
.privacy-band p { margin: 0; color: var(--muted); }

.doc { max-width: 720px; margin: 0 auto; padding-block: 32px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc .meta { color: var(--muted); font-size: 15px; margin-top: -6px; }
.doc h2 { font-size: 21px; margin: 34px 0 6px; font-weight: 800; }
.doc p { margin: 0 0 12px; }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; margin-top: 24px; }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 28px 48px; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .feature.big { grid-row: auto; }
  .feature.side { flex-direction: column; align-items: flex-start; }
  .privacy-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .nav-links a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .row .ck.on { animation: pop .5s cubic-bezier(.23,1,.32,1) both; }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}
