/* KeepNest / Clear signal. Original visual system inspired by monid.ai's restraint.
   Brand assets, existing content, billing and data flows stay with KeepNest. */
:root { --Color-bg-page:#fff; --Color-bg-subtle:#f8f8f8; --Color-surface-muted:#fafafa; --Color-text-primary:#17181a; --Color-text-secondary:#66676b; --Color-border:#e9e9eb; --Color-border-strong:#dcdde0; --page-max:1280px; --gutter:clamp(22px,5.5vw,80px); --sec-pad:100px; --footer-ink:#18191b; }
body { background:#fff; }
.site-head { background:rgba(255,255,255,.95); backdrop-filter:blur(12px); border-bottom:1px solid #eeeef0; }
.nav { height:76px; }
.nav-lockup { letter-spacing:-.045em; }
.nav-links { gap:28px; }
.nav-link { font-size:13px; }
.nav-link.is-active { color:#17181a; }
.nav-right .btn { height:38px; font-size:12px; border-radius:7px; }
.btn { border-radius:8px; transition:background .18s,transform .18s,border-color .18s; }
.btn:hover { transform:translateY(-1px); }
.btn--primary { background:#c6322c; box-shadow:0 2px 2px #00000007; }
.btn--lg { height:48px; font-size:14px; padding-inline:24px; }
.btn--secondary { border-color:#dedee2; background:#fff; }
.hero { position:relative; isolation:isolate; padding-top:94px; padding-bottom:30px; gap:16px; }
.hero::before,.hero::after { content:""; position:absolute; z-index:-1; width:270px; height:400px; top:90px; opacity:.24; background-image:radial-gradient(#fa4c4b70 .8px,transparent .8px); background-size:7px 7px; mask-image:linear-gradient(transparent,#000 30%,transparent); pointer-events:none; }
.hero::before { left:-60px; transform:rotate(34deg); }
.hero::after { right:-60px; transform:rotate(-34deg); }
.hero-top { gap:24px; }
.hero-logomark { display:none; }
.hero-badge { background:#fff; border-color:#e8e8eb; color:#6b6c72; height:27px; padding-inline:12px; font:10px/1.2 var(--font-mono); letter-spacing:.055em; }
.hero-badge i { width:5px; height:5px; background:#31846a; }
.hero h1 { max-width:900px; font-size:clamp(48px,6.8vw,88px); line-height:1.04; letter-spacing:-.065em; font-weight:700; text-wrap:balance; }
.hero-sub { max-width:590px; font-size:18px; line-height:1.65; color:#737479; }
.hero-ctas { margin-top:10px; gap:10px; }
.hero .store-note,.cta-panel .store-note { background:transparent; padding:0; color:#777; }
.hero .store-note .tag,.cta-panel .store-note .tag { background:none; color:#6b6c72; padding:0; font-size:11px; height:auto; }
.hero-note { font-size:12px; line-height:1.8; }
.hero-note a { color:#333; }
.kn-signal { max-width:1080px; padding-top:34px; padding-bottom:68px; text-align:center; }
.kn-signal-label { display:flex; align-items:center; justify-content:center; gap:7px; color:#7a7b80; font:10px/1.5 var(--font-mono); letter-spacing:.09em; }
.kn-live-dot { width:5px; height:5px; border-radius:50%; background:#c6322c; }
.kn-topics { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; margin-top:14px; }
.kn-topics button { display:flex; align-items:center; gap:24px; padding:9px 13px; border:1px solid #e5e5e8; border-radius:7px; font-size:12px; background:#fff; transition:background .18s,border-color .18s; }
.kn-topics button span { color:#98999d; }
.kn-topics button:hover,.kn-topics button[aria-pressed="true"] { background:#fff5f4; border-color:#f2b0ad; color:#b12e29; }
.kn-connection { position:relative; height:94px; display:flex; align-items:center; justify-content:center; }
.kn-connection::before { content:""; position:absolute; height:100%; width:1px; background:linear-gradient(#f1b9b6,#f8e4e3); }
.kn-core { z-index:1; background:#fff; padding:9px; border:1px solid #efeded; border-radius:13px; box-shadow:0 5px 15px #31211c0b; }
.kn-core img { width:30px; height:30px; }
.kn-connection i { position:absolute; bottom:0; width:32%; height:27px; border-top:1px solid #efd7d5; }
.kn-connection i:first-child { right:50%; border-radius:100% 0 0 0; }
.kn-connection i:last-child { left:50%; border-radius:0 100% 0 0; }
.kn-reference-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; text-align:left; }
.kn-reference { min-width:0; border:1px solid #e9e9ec; border-radius:9px; padding:19px; background:#fff; transition:opacity .2s,border-color .2s,box-shadow .2s; }
.kn-reference.is-highlighted { border-color:#d7605a; box-shadow:0 6px 20px #c6322c0a; }
.kn-reference.is-muted { opacity:.5; }
.kn-reference-top { display:flex; align-items:center; gap:9px; color:#88898d; font:9px/1.5 var(--font-mono); letter-spacing:.04em; }
.kn-reference-icon { font:20px var(--font-sans); color:#c6322c; }
.kn-reference-check { margin-left:auto; font:12px var(--font-sans); color:#31846a; }
.kn-reference h2 { font-size:15px; line-height:1.5; letter-spacing:-.025em; margin:14px 0 7px; font-weight:600; }
.kn-reference p { font-size:12px; color:#74757b; line-height:1.65; }
.kn-reference-foot { display:flex; justify-content:space-between; align-items:center; margin-top:25px; padding-top:12px; border-top:1px solid #f0f0f1; font-size:10px; color:#727379; }
.kn-demo-caption { font-size:10px; color:#76777b; margin-top:16px; line-height:1.6; }
.mockup-section { max-width:1120px; padding-bottom:85px; }
.demo-video-frame { padding:7px; background:#fafafa; border:1px solid #e6e6e9; border-radius:12px; box-shadow:0 18px 55px #17181a08; overflow:hidden; }
.kn-video-bar { height:33px; display:flex; justify-content:space-between; gap:10px; align-items:center; padding:0 8px 6px; font:10px var(--font-mono); color:#88898d; }
.kn-video-bar>div { display:flex; gap:5px; }
.kn-video-bar i { width:6px; height:6px; background:#dedee2; border-radius:50%; }
.kn-video-bar>span:last-child { color:#515257; }
.demo-video { border:1px solid #ececee; border-radius:6px; }
.section { padding-block:var(--sec-pad); border-top:1px solid #eeeef0; }
.section--surface { background:#fafafa; }
.section--subtle { background:#fff; }
.sec-head { gap:17px; }
.eyebrow { font:10px/1.5 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#7c7d83; }
.sec-h2 { font-size:clamp(32px,4vw,48px); line-height:1.1; letter-spacing:-.05em; max-width:750px; text-wrap:balance; }
.sec-sub { font-size:16px; line-height:1.75; max-width:640px; }
.steps { gap:0; padding-top:45px; }
.step { border:0; border-radius:0; background:transparent!important; padding:22px 28px; border-left:1px solid #e6e6e9; }
.step:first-child { border-left:0; }
.step--featured { box-shadow:none; transform:none; }
.step__num { font:11px var(--font-mono); color:#818289; margin-bottom:14px; }
.step--featured .step__num { color:#c6322c; }
.step__title { font-size:20px; letter-spacing:-.035em; }
.step__body { line-height:1.8; font-size:14px; }
.cap-grid { gap:14px; }
.cap-card { border-radius:9px; padding:28px; min-height:210px; background:#fafafa; border-color:#efeff1; }
.cap-card__icon { width:30px; height:30px; color:#c6322c; }
.cap-card__title { font-size:18px; letter-spacing:-.035em; }
.cap-card__body { font-size:14px; line-height:1.8; }
.priv-grid { gap:0; }
.priv-item { border:0; border-radius:0; background:none; border-left:1px solid #e8e8eb; padding:12px 28px; }
.priv-item:first-child { border-left:0; }
.cta-panel { background:#f7f7f8; border:0; border-radius:10px; padding:72px 28px; }
.cta-panel h2 { font-size:clamp(30px,4vw,48px); line-height:1.1; letter-spacing:-.05em; }
.cta-panel p { font-size:15px; }
.saving-example { border-radius:9px; background:#fff; padding:24px; border-color:#e6e6e9; }
.saving-example__flow { gap:26px; }
.saving-example__flow h3 { letter-spacing:-.025em; }
.seo-home-reference { padding-top:80px; padding-bottom:80px; }
.seo-home-reference h2 { font-size:34px; letter-spacing:-.045em; margin-bottom:20px; }
.seo-home-reference>p { max-width:800px; font-size:14px; }
.seo-home-cases { gap:30px; margin:36px 0; }
.seo-home-cases h3 { font-size:18px; margin-bottom:12px; letter-spacing:-.025em; }
.seo-home-cases p { font-size:13px; }
.site-foot { max-width:none; padding:0; background:#18191b; color:#fff; }
.footer { max-width:1280px; margin:auto; border-radius:0; padding:65px var(--gutter) 28px; background:none; gap:35px; }
.footer-top { gap:55px; }
.footer-brand p { font-size:13px; line-height:1.8; color:#9b9ca2; }
.footer-col a { font-size:12px; line-height:1.7; color:#c3c4c9; }
.footer-col h3 { font:9px var(--font-mono); letter-spacing:.1em; }
.footer-bottom { padding-top:22px; border-color:#36373b; font-size:11px; }
.footer::after { content:"KeepNest"; font-size:clamp(66px,17vw,215px); line-height:.92; font-weight:700; letter-spacing:-.08em; color:#f9f9fa; padding-top:20px; overflow:hidden; }
.page-intro { padding-top:88px; padding-bottom:45px; }
.page-intro h1 { font-size:clamp(42px,5.3vw,68px); line-height:1.08; letter-spacing:-.055em; }
.plans { gap:24px; max-width:1040px; margin-inline:auto; }
.plan { border-radius:12px; padding:34px; background:#fff; border-color:#e4e4e8; }
.plan--pro { background:#fff; border-color:#e7a29f; box-shadow:0 10px 35px #c6322c06; }
.plan__badge { border-radius:5px; font:9px var(--font-mono); letter-spacing:.07em; }
.pro-price-option { background:#fafafa; border-radius:7px; border-color:#ececee; }
.pro-price-option--yearly { background:#fff8f7; border-color:#f0d1cf; }
.web-account-panel { border-radius:8px; box-shadow:none; }
.compare { max-width:1040px; margin-inline:auto; }
.faq-list { border-top:1px solid #e8e8eb; }
.faq-item { border-bottom:1px solid #e8e8eb; }
.faq-item summary { font-size:15px; padding-block:22px; }
.legal-head h1,.seo-intro h1 { font-size:clamp(34px,4.5vw,56px); letter-spacing:-.05em; line-height:1.15; }
.legal,.seo-layout,.seo-intro { max-width:980px; }
.legal-block { gap:15px; }
.legal-block h2 { letter-spacing:-.025em; }
.legal-block p { line-height:1.85; }
.seo-cards .note-card,.note-card { border-radius:9px; box-shadow:none; }
.seo-cards h2 { letter-spacing:-.035em; }
@media(min-width:900px) { .hero h1 { max-width:850px; } .footer-cols { column-gap:32px; } }
@media(max-width:900px) { .hero { padding-top:72px; } .hero::before,.hero::after { width:150px; opacity:.13; } .hero-sub { max-width:540px; } .step,.priv-item { padding:18px; } .footer-top { gap:32px; } }
@media(max-width:640px) {
 :root { --gutter:22px; --sec-pad:64px; }
 .nav { height:66px; }
 .hero { padding-top:58px; padding-bottom:20px; gap:16px; }
 .hero-top { gap:20px; }
 .hero h1 { font-size:46px; line-height:1.07; letter-spacing:-.055em; }
 html[lang="zh-CN"] .hero h1 { font-size:39px; line-height:1.22; letter-spacing:-.045em; }
 .hero-sub { font-size:15px; line-height:1.75; }
 .hero-badge { font-size:9px; }
 .hero-ctas { width:100%; flex-wrap:nowrap; gap:8px; }
 .hero-ctas .btn { min-width:0; flex:1; padding-inline:10px; font-size:12px; }
 .hero-note { font-size:10px; }
 .kn-signal { padding-top:26px; padding-bottom:40px; }
 .kn-topics { gap:6px; }
 .kn-topics button { padding:8px 9px; font-size:10px; gap:8px; }
 .kn-connection { height:70px; }
 .kn-reference-grid { grid-template-columns:1fr; gap:8px; }
 .kn-reference { padding:14px 15px; }
 .kn-reference h2 { margin:8px 0 4px; font-size:14px; }
 .kn-reference-top { font-size:8px; }
 .kn-reference-foot { margin-top:12px; padding-top:8px; }
 .kn-demo-caption { font-size:9px; }
 .mockup-section { padding-bottom:50px; }
 .kn-video-bar { font-size:8px; height:28px; }
 .kn-video-bar>span:last-child { display:none; }
 .sec-h2 { font-size:32px; }
 .sec-sub { font-size:14px; }
 .steps { padding-top:30px; gap:0; }
 .step,.priv-item { padding:22px 0; border-left:0; border-top:1px solid #e6e6e9; }
 .step:first-child,.priv-item:first-child { border-top:0; }
 .step__num { margin-bottom:0; }
 .cap-card { padding:22px; min-height:0; }
 .priv-grid { padding-top:28px; }
 .cta-panel { padding:45px 20px; }
 .cta-panel .hero-ctas { flex-wrap:wrap; }
 .seo-home-reference { padding-block:48px; }
 .seo-home-reference h2 { font-size:28px; }
 .footer { padding-top:42px; gap:26px; }
 .footer-cols { gap:28px 20px; }
 .footer::after { font-size:22vw; padding-top:12px; }
 .page-intro { padding-top:50px; }
 .plan { padding:24px; }
 .seo-cards h2 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .btn,.kn-reference,.kn-topics button { transition:none; } .btn:hover { transform:none; } }
/* Contain decorative dot fields; no horizontal scroll at any viewport. */
.hero { overflow:clip; }
.analytics-consent { left:auto; right:20px; bottom:20px; max-width:430px; width:calc(100% - 40px); flex-direction:column; align-items:stretch; gap:14px; padding:18px; border-radius:10px; box-shadow:0 8px 30px #17181a12; }
.analytics-consent__copy strong { font-size:13px; }
.analytics-consent__copy p { font-size:11px; line-height:1.7; }
.analytics-consent__actions { justify-content:flex-end; }
.analytics-consent__actions button { min-height:34px; font-size:11px; border-radius:6px; }
.footer-brand { max-width:210px; }
.footer-cols { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.footer-col { gap:10px; }
.footer-top { display:grid; grid-template-columns:210px minmax(0,1fr); }
@media(max-width:900px) { .footer-top { grid-template-columns:1fr; } .footer-brand { max-width:330px; } }
@media(max-width:640px) { .footer-cols { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 22px; } .analytics-consent { right:14px; bottom:14px; width:calc(100% - 28px); } }
.kn-headline-accent { color:#c6322c; }
/* Restore a real footer grid over the legacy display:contents recipe. */
.footer-cols { display:grid; }
.footer-col h3 { color:#919298; }
.footer-col>span { color:#bfc0c6; }
.footer-tagline,.footer-note { color:#a6a7ae; }
.footer-brand { grid-column:auto; }
.analytics-settings-link,.analytics-settings-link:hover { color:#bfc0c6; }
