:root {
  font-family: "Segoe UI", Aptos, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --ink: #17362f;
  --muted: #54675f;
  --canvas: #f7f7f1;
  --surface: #fffefa;
  --line: #dce5da;
  --accent: #e8c681;
  --accent-ink: #654719;
  --deep: #183a32;
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
}
body[data-product="savault"] {
  --ink: #17342e;
  --muted: #50645e;
  --canvas: #f3f7f4;
  --surface: #fcfffd;
  --line: #d5e5da;
  --accent: #9bdec2;
  --accent-ink: #135941;
  --deep: #143b32;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #4da98b; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1220px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(252, 253, 249, .92); }
body[data-product="savault"] .site-header { background: rgba(247, 251, 248, .92); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.studio-brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; white-space: nowrap; font-weight: 760; letter-spacing: -.035em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--deep); color: var(--accent); }
.brand-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.header-nav { display: flex; align-items: center; gap: 24px; font-size: .89rem; font-weight: 650; }
.header-nav a { transition: color .2s; }
.header-nav a:hover, .footer-links a:hover { color: #168160; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch button { min-width: 43px; min-height: 34px; border: 0; border-radius: 999px; padding: 5px 9px; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 750; }
.lang-switch button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 52px; min-height: 640px; padding-block: 70px 90px; }
.hero::after { content: ""; position: absolute; z-index: -1; right: -12vw; top: 9%; width: 54vw; height: 68%; border-radius: 50%; background: radial-gradient(circle, rgba(235, 207, 141, .28), transparent 67%); }
body[data-product="savault"] .hero::after { background: radial-gradient(circle, rgba(118, 218, 168, .23), transparent 67%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #227158; text-transform: uppercase; font-size: .72rem; font-weight: 830; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #47a881; }
.hero h1 { margin: 24px 0 20px; max-width: 630px; font-size: clamp(3.1rem, 5.8vw, 5.9rem); line-height: 1.015; letter-spacing: -.065em; font-weight: 740; }
.hero h1 em { font-style: normal; color: #a07432; }
body[data-product="savault"] .hero h1 em { color: #21835d; }
.hero-lead { max-width: 570px; margin: 0; color: #415b50; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 31px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 12px; padding: 11px 18px; font-size: .91rem; font-weight: 770; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--deep); color: #fff; }
.button-primary:hover { background: #2b5547; }
.button-secondary { border: 1px solid #bfcfc2; background: transparent; color: var(--ink); }
.button-secondary:hover { background: #ecf3ea; }
.availability-inline { display: flex; align-items: flex-start; gap: 11px; max-width: 590px; margin: 26px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.availability-inline::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #c9954c; box-shadow: 0 0 0 4px rgba(201, 149, 76, .14); }
body[data-product="savault"] .availability-inline::before { background: #4dab81; box-shadow: 0 0 0 4px rgba(77, 171, 129, .14); }
.visual-wrap { position: relative; min-width: 0; }
.visual-halo { position: absolute; inset: 2% -1% -1%; border-radius: 39px; transform: rotate(-5deg); background: #ead7ac; }
body[data-product="savault"] .visual-halo { background: #c0e8ce; transform: rotate(5deg); }
.visual { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.52); border-radius: 31px; padding: 22px; background: var(--deep); box-shadow: 0 30px 70px rgba(21, 53, 40, .2); color: #fff; }
.visual-top { display: flex; align-items: center; gap: 7px; min-height: 30px; margin-bottom: 18px; color: #a8d4be; font-size: .76rem; letter-spacing: .07em; }
.visual-top .window-dot { width: 8px; height: 8px; border-radius: 50%; background: #c1dec8; opacity: .66; }
.visual-top .window-dot:nth-child(2) { opacity: .4; }
.visual-top .window-dot:nth-child(3) { opacity: .25; }
.visual-top span:last-child { margin-left: auto; }
.mock-app { min-height: 392px; border-radius: 20px; padding: 24px; background: #f9fbf5; color: var(--ink); }
.mock-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.mock-header strong { font-size: 1.23rem; letter-spacing: -.03em; }
.mock-header small { color: var(--muted); font-size: .7rem; text-align: right; }
.mock-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.mock-summary > div { min-height: 106px; border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: #fff; }
.mock-summary span { display: block; color: #6b7a6e; font-size: .72rem; }
.mock-summary strong { display: block; margin-top: 12px; font-size: 1.08rem; letter-spacing: -.025em; }
.mock-summary > div:first-child { background: #f2e8d2; border-color: #eadab9; }
.mock-rows { margin-top: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mock-row { display: flex; gap: 13px; align-items: center; min-height: 61px; padding: 12px 14px; }
.mock-row + .mock-row { border-top: 1px solid var(--line); }
.mock-icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #e9f2e9; color: #267659; font-size: .9rem; }
.mock-row p { margin: 0; }
.mock-row strong { display: block; font-size: .79rem; }
.mock-row span:last-child { display: block; color: #708073; font-size: .69rem; }
.visual-caption { display: block; margin-top: 15px; color: #a9cbbb; font-size: .71rem; letter-spacing: .04em; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > div { padding: 26px 24px 26px 0; }
.trust-strip > div + div { border-left: 1px solid var(--line); padding-left: 25px; }
.trust-strip strong { display: block; font-size: .83rem; }
.trust-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.section { padding-block: 105px 0; }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: end; margin-bottom: 31px; }
.section-heading h2 { max-width: 430px; margin: 14px 0 0; font-size: clamp(2.25rem, 3.4vw, 3.65rem); line-height: 1.11; letter-spacing: -.052em; }
.section-heading p { max-width: 600px; margin: 0 0 4px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 265px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 22px; padding: 27px; background: var(--surface); }
.feature-index { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #e9f1e7; color: #217457; font-size: .75rem; font-weight: 800; }
.feature-card h3 { margin: 35px 0 8px; font-size: 1.36rem; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.scope-note { margin: 19px 0 0; color: var(--muted); font-size: .82rem; }
.status-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 45px; align-items: center; margin-block: 105px 110px; border-radius: 28px; padding: clamp(30px, 5vw, 66px); background: #e8eee3; }
body[data-product="savault"] .status-section { background: #e1efe5; }
.status-section h2 { margin: 13px 0 0; max-width: 410px; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.12; letter-spacing: -.05em; }
.status-section p { margin: 0 0 21px; color: #3e5a4a; line-height: 1.75; }
.status-section .button { background: #fff; border: 1px solid #c4d6c5; }
.status-section .button:hover { background: #f7fff9; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; font-weight: 650; }
.savault-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 9px; margin: 3px 0 22px; }
.flow-box { min-height: 72px; display: grid; place-items: center; border: 1px solid rgba(165, 221, 190, .34); border-radius: 12px; padding: 9px; background: rgba(222, 248, 231, .1); text-align: center; color: #e7fbec; font-size: .75rem; font-weight: 700; }
.flow-arrow { color: #9bdec2; font-weight: 800; }
.markdown-card { min-height: 265px; overflow: hidden; border: 1px solid rgba(183, 230, 199, .4); border-radius: 17px; background: #eff8ef; color: #24483a; }
.markdown-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 17px; border-bottom: 1px solid #d5e7d7; font-size: .75rem; font-weight: 800; }
.markdown-title span:last-child { color: #588066; font-weight: 600; }
.markdown-card pre { overflow: auto; margin: 0; padding: 18px; font: .84rem/1.7 Consolas, "SFMono-Regular", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.savault-commands { margin-top: 18px; border-radius: 10px; padding: 11px 15px; background: rgba(255,255,255,.1); color: #c4e5d0; font: .77rem/1.55 Consolas, "SFMono-Regular", monospace; }
[data-lang="zh"] .hero h1, html[lang="zh-CN"] .hero h1 { letter-spacing: -.03em; line-height: 1.13; }
@media (max-width: 970px) {
  .hero { gap: 30px; min-height: 0; }
  .hero h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); }
  .header-nav { gap: 13px; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 30px, 1220px); }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 9px; padding-block: 13px; }
  .studio-brand { font-size: .9rem; }
  .header-nav { order: 3; width: 100%; justify-content: space-between; gap: 6px; font-size: .78rem; }
  .lang-switch { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 68px 71px; }
  .hero h1 { max-width: 660px; font-size: clamp(3rem, 10vw, 5.2rem); }
  .visual-wrap { max-width: 600px; width: 100%; margin-inline: auto; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { padding: 17px 0; }
  .trust-strip > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section { padding-top: 77px; }
  .section-heading, .status-section { grid-template-columns: 1fr; gap: 19px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 25px; }
  .feature-card h3 { margin-top: 23px; }
  .status-section { margin-block: 78px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.86rem; }
  .hero-actions .button { width: 100%; }
  .visual { padding: 13px; border-radius: 22px; }
  .mock-app { padding: 16px; min-height: 0; }
  .mock-summary { gap: 8px; }
  .mock-summary > div { padding: 12px; }
  .savault-flow { gap: 4px; }
  .flow-box { min-height: 60px; font-size: .66rem; }
  .markdown-card pre { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 760px) { .hero::after { right: 0; } .visual-halo { inset: 4% 7% -1%; } }
