/* HandyCub —— 明亮、暖色、有点可爱的精品软件风（负责人 2026-11-02：之前的深色版太压抑） */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --surface-2: #fff4e6;
  --ink: #1f1a17;
  --ink-2: #4a423c;
  --muted: #8a7f76;
  --line: #f1e4d3;
  --brand: #ff8a3d;
  --brand-2: #ffb547;
  --accent: #ff7a2f;
  --accent-ink: #ffffff;
  --sky: #5b8cff;
  --mint: #2bb58c;
  --ok: #1f9d55;
  --err: #d23b3b;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(90, 60, 30, .06), 0 12px 32px rgba(90, 60, 30, .08);
  --shadow-lg: 0 30px 80px rgba(90, 60, 30, .18);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header / footer */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255, 250, 243, .78); border-bottom: 1px solid rgba(241, 228, 211, .8); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
footer { margin-top: 110px; padding: 44px 0 56px; background: #fff3e4; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* type */
h1 { font: 800 clamp(38px, 6vw, 68px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 18px; }
h2 { font: 800 clamp(28px, 3.8vw, 42px)/1.12 var(--display); letter-spacing: -.03em; margin: 0 0 14px; }
h3 { font: 700 19px/1.3 var(--display); margin: 0 0 6px; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); margin: 0 0 30px; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--accent);
  background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grad { background: linear-gradient(100deg, var(--brand) 0%, #ff5e7e 50%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--accent)); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 47, .32); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255, 122, 47, .4); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: default; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* hero */
.hero { position: relative; padding: 80px 0 40px; }
.hero-bg { position: absolute; inset: -80px 0 auto; height: 760px; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-bg i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: 40px; background: #ffd29a; }
.hero-bg i:nth-child(2) { width: 460px; height: 460px; right: -80px; top: 0; background: #b9cdff; }
.hero-bg i:nth-child(3) { width: 380px; height: 380px; left: 40%; top: 280px; background: #ffc2d1; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: 44px; align-items: center; }
.hero-icon { width: 168px; height: 168px; filter: drop-shadow(0 24px 40px rgba(90, 60, 30, .25)); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.meta span::before { content: "✓ "; color: var(--mint); font-weight: 700; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--accent); font-size: 12px; font-weight: 700; vertical-align: middle; }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; font: 800 18px var(--display);
  background: linear-gradient(135deg, var(--c1, var(--brand-2)), var(--c2, var(--accent))); box-shadow: 0 8px 18px rgba(255, 122, 47, .22); }
.app-card { display: flex; gap: 18px; align-items: flex-start; color: inherit; transition: transform .15s ease, box-shadow .2s ease; }
.app-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-card img { width: 64px; height: 64px; flex: none; }
.section { padding: 72px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head .lede { margin: 0 auto; }

/* trust strip */
.strip { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 44px; }
.strip div { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow); }
.strip b { display: block; font: 700 16px/1.3 var(--display); margin-bottom: 4px; }
.strip span { color: var(--ink-2); font-size: 14px; }
.strip div:nth-child(1) b { color: var(--accent); }
.strip div:nth-child(2) b { color: #e2557a; }
.strip div:nth-child(3) b { color: var(--sky); }
.strip div:nth-child(4) b { color: var(--mint); }

/* app showcase rows on the home page */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 32px; margin-top: 28px;
  background: linear-gradient(160deg, #fff 0%, var(--tint, #fff4e6) 100%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.showcase.flip > :first-child { order: 2; }
.showcase h2 { margin-top: 10px; }
.showcase .app-head { display: flex; align-items: center; gap: 14px; }
.showcase .app-head img { width: 56px; height: 56px; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* media: real screenshots / videos in a macOS window frame */
.mac-window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, .06); }
.mac-window .bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #f5f2ee; border-bottom: 1px solid #ece6df; }
.mac-window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mac-window .bar i:nth-child(2) { background: #febc2e; }
.mac-window .bar i:nth-child(3) { background: #28c840; }
.gallery { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; font: 700 16px/1.4 var(--display); }
.gallery figcaption span { display: block; font: 400 14px/1.5 inherit; color: var(--muted); }

/* animated demo scenes (pure CSS, shown until real videos arrive) */
.scene { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #8ec5ff 0%, #b7a6ff 45%, #ffb2c8 100%); }
.scene .win { position: absolute; left: 9%; top: 12%; width: 74%; height: 70%; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(30, 40, 90, .25); overflow: hidden; }
.scene .win::before { content: ""; position: absolute; inset: 0 0 auto; height: 24px; background: #f5f2ee; border-bottom: 1px solid #ece6df; }
.scene .win .dots { position: absolute; top: 8px; left: 10px; display: flex; gap: 5px; z-index: 1; }
.scene .win .dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.scene .win .dots i:nth-child(2) { background: #febc2e; }
.scene .win .dots i:nth-child(3) { background: #28c840; }
.scene .line { position: absolute; left: 8%; height: 8px; border-radius: 6px; background: #ece7f7; }
.scene .tile { position: absolute; border-radius: 8px; background: linear-gradient(135deg, #ffe0b8, #ffc7d5); }
.ks .sel { position: absolute; left: 22%; top: 30%; width: 0; height: 0; border: 2px dashed #2f7cf6; background: rgba(47, 124, 246, .08); animation: ks-sel 6s ease-in-out infinite; }
.ks .bar2 { position: absolute; left: 22%; top: 76%; display: flex; gap: 6px; padding: 6px 8px; border-radius: 10px; background: #1f2430; opacity: 0; transform: translateY(6px); animation: ks-bar 6s ease-in-out infinite; }
.ks .bar2 i { width: 16px; height: 16px; border-radius: 5px; background: #3a4255; }
.ks .bar2 i:nth-child(2) { background: #2f7cf6; }
.ks .arrow { position: absolute; left: 30%; top: 40%; width: 0; height: 4px; background: #ff4d4f; border-radius: 3px; transform-origin: left center; transform: rotate(18deg); animation: ks-arrow 6s ease-in-out infinite; }
.ks .arrow::after { content: ""; position: absolute; right: -6px; top: -5px; border: 7px solid transparent; border-left: 10px solid #ff4d4f; }
.ks .toast { position: absolute; right: 6%; bottom: 7%; padding: 8px 14px; border-radius: 12px; background: #fff; font: 700 13px var(--display); color: #1f1a17; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); opacity: 0; animation: ks-toast 6s ease-in-out infinite; }
@keyframes ks-sel { 0%, 8% { width: 0; height: 0; } 32%, 92% { width: 46%; height: 42%; } 100% { width: 46%; height: 42%; opacity: 0; } }
@keyframes ks-bar { 0%, 34% { opacity: 0; transform: translateY(6px); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ks-arrow { 0%, 46% { width: 0; } 60%, 92% { width: 22%; } 100% { width: 22%; opacity: 0; } }
@keyframes ks-toast { 0%, 66% { opacity: 0; transform: translateY(8px); } 74%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.tc { background: linear-gradient(135deg, #8fe3c6 0%, #9bd4ff 55%, #ffe29a 100%); }
.tc .file { position: absolute; width: 34px; height: 42px; border-radius: 6px; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .12); animation: tc-file 6s ease-in-out infinite; }
.tc .file::after { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 4px; border-radius: 3px; background: var(--c, #2bb58c); box-shadow: 0 8px 0 #e8e8e8, 0 16px 0 #e8e8e8; }
.tc .folder { position: absolute; bottom: 14%; width: 70px; height: 52px; border-radius: 8px; background: #6aa9ff; box-shadow: 0 8px 18px rgba(40, 80, 160, .25); }
.tc .folder::before { content: ""; position: absolute; left: 0; top: -8px; width: 30px; height: 12px; border-radius: 6px 6px 0 0; background: inherit; }
.tc .folder.b { background: #2bb58c; }
.tc .folder.c { background: #ff9f43; }
.tc .gauge { position: absolute; right: 8%; top: 32%; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(#2bb58c var(--p), #e7f3ee 0); animation: tc-gauge 6s ease-in-out infinite; }
.tc .gauge::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 34%; }
@keyframes tc-gauge { 0%, 30% { --p: 82%; } 70%, 100% { --p: 34%; } }
@keyframes tc-file { 0%, 18% { transform: translate(0, 0) rotate(var(--r, 8deg)); opacity: 1; } 55%, 85% { transform: translate(var(--x), var(--y)) scale(.5); opacity: 0; } 100% { transform: translate(0, 0) rotate(var(--r, 8deg)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } .ks .sel { width: 46%; height: 42%; } .ks .bar2, .ks .toast { opacity: 1; transform: none; } .ks .arrow { width: 22%; } }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font: 700 17px/1.4 var(--display); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 12px 0 0; }

/* forms / key */
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input { flex: 1 1 260px; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0 16px; font: 15px var(--mono); }
.field input:focus, .select:focus, .textarea:focus { outline: 3px solid rgba(255, 138, 61, .3); outline-offset: 1px; }
.key { font: 700 clamp(17px, 3vw, 22px)/1.3 var(--mono); letter-spacing: .04em; padding: 20px; text-align: center; border-radius: 16px;
  border: 2px dashed #ffc58f; background: #fff8ef; user-select: all; word-break: break-all; margin: 16px 0; }
.notice { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-top: 14px; }
.notice.err { background: #fdeceb; color: var(--err); }
.notice.ok { background: #e8f7ef; color: #177a44; }
.devices { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.devices .row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.devices .row:first-child { border-top: 0; }
.devices .row .grow { flex: 1; min-width: 0; }
.devices .row .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devices .row .s { font-size: 13px; color: var(--muted); }
.devices .btn { height: 36px; padding: 0 14px; font-size: 14px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--accent)); color: #fff; font: 800 15px/32px var(--display); text-align: center; }
.price { font: 800 34px/1.2 var(--display); letter-spacing: -.02em; }
.hidden { display: none !important; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.lang { display: inline-flex; align-items: center; gap: 8px; }
.lang select, .select, .textarea { font: inherit; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.select, .textarea { display: block; width: 100%; margin-top: 6px; font-size: 15px; padding: 10px 12px; color: var(--ink); }
.textarea { resize: vertical; }

/* tables, shortcuts, articles */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: #fff8ef; font-size: 13px; color: var(--ink-2); font-weight: 700; }
kbd { font: 700 13px var(--mono); padding: 3px 8px; border-radius: 8px; border: 1px solid #f0d9bd; border-bottom-width: 3px; background: #fff; white-space: nowrap; }
.link-list { padding-left: 18px; }
.link-list li { margin: 8px 0; }
.prose h1 { font-size: clamp(32px, 4.6vw, 48px); }
.prose h2 { margin-top: 44px; font-size: clamp(24px, 3vw, 32px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 18px 0; padding: 6px 20px; border-left: 4px solid var(--brand); background: #fff8ef; border-radius: 0 12px 12px 0; color: var(--ink-2); }
.prose code { font: 15px var(--mono); background: #fff3e4; padding: 1px 6px; border-radius: 6px; }
.toc { margin: 22px 0 8px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 15px; box-shadow: var(--shadow); }
.toc ul { margin: 8px 0 0; padding-left: 18px; }
.cta { margin-top: 48px; align-items: center; background: linear-gradient(135deg, #fff, #fff1e1); }

/* legal */
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 38px; }
.legal p, .legal li { color: var(--ink-2); }

@media (max-width: 860px) {
  .hero { padding-top: 44px; }
  .hero-grid, .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase { padding: 28px; }
  .showcase.flip > :first-child { order: 0; }
  .hero-icon { width: 112px; height: 112px; }
  .nav { gap: 14px; font-size: 14px; }
}

/* real screenshots & videos */
.shot { margin: 0; }
.shot > img, .shot > video { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); background: #ddd; }
.shot.desk > img, .shot.desk > video { padding: 5% 6%; border-radius: 18px; box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 90% at 0% 0%, #ffd7a8 0%, transparent 55%), radial-gradient(110% 100% at 100% 10%, #b8c8ff 0%, transparent 55%), radial-gradient(120% 120% at 60% 100%, #ffc1d4 0%, transparent 60%), #f3e9ff; }
.shot figcaption { margin-top: 14px; font: 700 17px/1.4 var(--display); }
.shot figcaption span { display: block; margin-top: 2px; font: 400 15px/1.55 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--muted); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 860px) { .hero-shot { transform: none; } }
.price-line { margin: -12px 0 24px; font-size: 17px; color: var(--ink-2); }
.price-line strong { font: 800 28px/1 var(--display); color: var(--ink); margin-right: 6px; }
