:root {
  --ink: #211c1a;
  --muted: #746a64;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --accent: #8b2f2f;
  --accent-dark: #642020;
  --gold: #b38a52;
  --line: rgba(33, 28, 26, .13);
  --shadow: 0 24px 70px rgba(56, 35, 27, .12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 5vw; background: rgba(255,253,249,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(33,28,26,.08); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--accent); font-family: serif; font-size: 20px; box-shadow: 0 8px 20px rgba(139,47,47,.25); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .08em; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.nav-cta { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: transparent; }
.section { padding: 110px max(5vw, calc((100vw - 1180px)/2)); }
.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 8vw; overflow: hidden; background: radial-gradient(circle at 85% 30%, rgba(179,138,82,.14), transparent 33%), linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(48px, 6vw, 82px); line-height: 1.12; letter-spacing: -.04em; }
h1 span { color: var(--accent); }
h2 { margin-bottom: 18px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.25; }
h3 { font-size: 22px; }
.hero-lead, .section-heading > p:last-child, .about-copy > p, .contact-copy > p { max-width: 680px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: #fff; background: var(--accent); box-shadow: 0 12px 30px rgba(139,47,47,.22); }
.primary:hover { background: var(--accent-dark); }
.ghost { border-color: var(--line); background: rgba(255,255,255,.55); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: "•"; margin-right: 8px; color: var(--gold); }
.hero-visual { position: relative; height: 560px; }
.orb { position: absolute; inset: 10% 4% 8% 8%; border-radius: 50%; background: linear-gradient(145deg, #9d3c34, #5d211e); box-shadow: var(--shadow); }
.orb::after { content: "本衡"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.82); font-family: Georgia, "Noto Serif SC", serif; font-size: 72px; letter-spacing: .2em; transform: translateX(.1em); }
.visual-card { position: absolute; z-index: 2; min-width: 170px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.65); border-radius: 18px; background: rgba(255,253,249,.86); backdrop-filter: blur(14px); box-shadow: 0 18px 45px rgba(56,35,27,.13); }
.visual-card span, .visual-card b { display: block; }
.visual-card span { color: var(--accent); font-size: 12px; letter-spacing: .16em; }
.visual-card b { margin-top: 4px; font-size: 18px; }
.card-one { top: 8%; left: 0; }
.card-two { top: 47%; right: -2%; }
.card-three { bottom: 3%; left: 8%; }
.trust-strip { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 18px 5vw; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; font-size: 13px; letter-spacing: .1em; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.section-heading { margin-bottom: 50px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px rgba(56,35,27,.05); }
.number { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { margin: 14px 0; }
.service-card p, .service-card li { color: var(--muted); }
.service-card ul { margin: 22px 0 0; padding-left: 18px; }
.muted-section { background: var(--paper); }
.featured-product { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; margin-bottom: 18px; }
.featured-copy, .featured-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.06); }
.featured-copy h3 { margin-bottom: 18px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(28px, 3vw, 42px); line-height: 1.25; }
.featured-copy p:not(.eyebrow) { color: var(--muted); }
.featured-copy p:last-child { margin-bottom: 0; }
.featured-panel { display: flex; flex-direction: column; justify-content: center; color: #fff; background: linear-gradient(135deg, #7e2929, #263936); }
.featured-panel span { color: #f0d3a8; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.featured-panel strong { display: block; margin-top: 14px; font-family: Georgia, "Noto Serif SC", serif; font-size: 28px; line-height: 1.28; }
.product-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.product-feature { display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.product-feature span { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--accent); font-family: Georgia, serif; font-size: 15px; box-shadow: 0 10px 24px rgba(139,47,47,.18); }
.product-feature strong { font-size: 17px; line-height: 1.35; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.08); }
.project-art { display: grid; place-items: center; height: 260px; }
.project-art span { display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: rgba(255,255,255,.92); font-family: Georgia, serif; font-size: 28px; }
.art-a { background: radial-gradient(circle at 70% 30%, #c69a64, transparent 20%), linear-gradient(135deg, #7e2929, #3d1c1c); }
.art-b { background: radial-gradient(circle at 25% 25%, #ddc7a7, transparent 18%), linear-gradient(135deg, #8b765e, #3e352d); }
.art-c { background: radial-gradient(circle at 70% 65%, #af5a4c, transparent 23%), linear-gradient(135deg, #c29a67, #65412c); }
.art-d { background: radial-gradient(circle at 30% 70%, #d5b87f, transparent 22%), linear-gradient(135deg, #315f63, #263936); }
.project-copy { padding: 28px; }
.project-copy small { color: var(--accent); font-weight: 800; letter-spacing: .12em; }
.project-copy h3 { margin: 8px 0; }
.project-copy p { margin-bottom: 0; color: var(--muted); }
.capability-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.capability-item { min-height: 50px; display: flex; align-items: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 800; box-shadow: 0 10px 28px rgba(56,35,27,.04); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(56,35,27,.05); }
.process-step span { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .15em; }
.process-step h3 { margin: 18px 0 10px; }
.process-step p { margin-bottom: 0; color: var(--muted); }
.about-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; }
.about-copy > p { margin-bottom: 16px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principles div { min-height: 150px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles strong, .principles span { display: block; }
.principles strong { color: var(--accent); font-family: Georgia, "Noto Serif SC", serif; font-size: 30px; }
.principles span { margin-top: 10px; color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(56,35,27,.05); }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.faq-section { background: #fff; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-item { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq-item h3 { margin-bottom: 10px; }
.faq-item p { margin-bottom: 0; color: var(--muted); }
.account-nav { display: flex; }
.account-section { min-height: calc(100vh - 76px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; background: radial-gradient(circle at 82% 24%, rgba(179,138,82,.14), transparent 32%), linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%); }
.account-copy h1 { font-size: clamp(44px, 5vw, 72px); }
.account-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,249,.9); box-shadow: var(--shadow); }
.auth-state h2 { font-size: clamp(28px, 3vw, 42px); }
.auth-state p { color: var(--muted); }
.account-button { width: 100%; margin-top: 16px; }
.bind-form { display: grid; gap: 18px; margin-top: 24px; }
.bind-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.bind-form input { width: 100%; padding: 14px 16px; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fff; }
.bind-form input:focus { border-color: var(--accent); }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.code-row .button { min-width: 132px; }
.auth-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(139,47,47,.18); border-radius: 12px; color: var(--accent); background: rgba(139,47,47,.07); font-size: 14px; }
.account-actions { display: flex; gap: 12px; margin-top: 24px; }
.workspace-section { min-height: calc(100vh - 76px); background: linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%); }
.workspace-heading { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: end; margin-bottom: 34px; }
.workspace-heading h1 { font-size: clamp(44px, 5vw, 72px); }
.membership-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.08); }
.membership-card span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.membership-card strong { display: block; margin: 10px 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 28px; line-height: 1.2; }
.membership-card p { margin-bottom: 0; color: var(--muted); }
.workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.06); }
.ai-panel { background: #241f1c; color: #fff; }
.panel-heading { margin-bottom: 20px; }
.panel-heading span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.ai-panel .panel-heading span { color: #d7af78; }
.panel-heading h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 42px); }
.result-panel > p, .ai-panel p { color: var(--muted); }
.ai-panel p { color: rgba(255,255,255,.68); }
.result-list { display: grid; gap: 12px; margin-top: 18px; }
.result-item { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.ai-panel .result-item { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.result-item span { display: block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.ai-panel .result-item span { color: #d7af78; }
.result-item p { margin: 6px 0 0; color: var(--muted); }
.ai-panel .result-item p { color: rgba(255,255,255,.74); }
.locked-box { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
.locked-box strong { display: block; margin-bottom: 10px; font-size: 22px; }
.locked-box p { margin-bottom: 0; }
.plans-section { margin-top: 34px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.06); }
.compact-heading { margin-bottom: 24px; }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.plan-card span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.plan-card h3 { margin: 10px 0 6px; }
.plan-card strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 34px; }
.plan-card p { color: var(--muted); }
.plan-card .button { width: 100%; }
.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; background: #241f1c; color: #fff; }
.contact-section .eyebrow { color: #d7af78; }
.contact-copy > p, .contact-meta { color: rgba(255,255,255,.65); }
.contact-meta { display: grid; gap: 8px; margin-top: 28px; font-size: 14px; }
.contact-form { display: grid; gap: 18px; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.8); font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; outline: none; background: rgba(255,255,255,.06); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #d7af78; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; }
.consent input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.submit-button { border: 0; }
.form-status { min-height: 24px; margin: 0; color: #f0d3a8; font-size: 14px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 48px 5vw 28px; color: rgba(255,255,255,.65); background: #171412; }
.site-footer strong { color: #fff; }
.site-footer p { margin: 8px 0 0; }
.footer-links { display: flex; gap: 22px; }
.legal { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-consent { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-consent input { width: auto; margin-top: 4px; }
.auth-consent a { color: var(--accent); text-decoration: underline; }
.form-status-light { color: var(--muted); }
.nav-logout { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: transparent; color: inherit; font-size: 14px; cursor: pointer; }
.nav-logout:hover { color: var(--accent); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links a { color: rgba(255,255,255,.65); }
.legal-links a:hover { color: #fff; }
.legal-page { min-height: calc(100vh - 76px); background: linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%); }
.legal-page h1 { font-size: clamp(40px, 5vw, 64px); }
.legal-page .hero-lead { margin-bottom: 0; }
.legal-section { max-width: 780px; margin-top: 40px; }
.legal-section h2 { font-family: Georgia, "Noto Serif SC", serif; font-size: 24px; margin-bottom: 12px; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 20px; }
.account-page { min-height: calc(100vh - 76px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(180deg, #fffdf9 0%, #f7f3ed 100%); }
.account-page h1 { font-size: clamp(40px, 5vw, 64px); }
.account-card { width: min(420px, 100%); margin: 26px 0; }
.account-links { display: flex; justify-content: space-between; gap: 18px; margin-top: 20px; color: var(--accent); font-size: 14px; }
.text-button { padding: 0; border: 0; color: var(--accent); background: transparent; cursor: pointer; }
.sub-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.sub-form h2 { margin: 0; font-size: 26px; }
.account-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 24px; }
.admin-page h1 { font-size: clamp(40px, 5vw, 64px); }
.admin-panel { margin-top: 26px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(56,35,27,.06); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.admin-heading h2 { margin-bottom: 6px; font-size: 30px; }
.admin-heading p { margin: 0; color: var(--muted); }
.inline-form { display: flex; align-items: end; gap: 12px; }
.inline-form label { display: grid; gap: 5px; color: var(--muted); font-size: 13px; }
.inline-form input { width: 150px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.one-time-secret { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; padding: 18px; border: 1px solid rgba(139,47,47,.2); border-radius: 14px; background: rgba(139,47,47,.06); }
.one-time-secret strong { width: 100%; color: var(--accent); }
.one-time-secret code { overflow-wrap: anywhere; font-size: 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
th { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.table-action { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); background: #fff; cursor: pointer; }
.table-action:disabled { opacity: .5; }
@media (max-width: 1180px) {
  .project-grid, .process-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 5vw 24px; background: var(--white); border-bottom: 1px solid var(--line); }
  .account-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 18px; padding: 0; border-bottom: 0; background: transparent; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .nav-cta { border: 0; border-radius: 0; }
  .hero, .featured-product, .workspace-heading, .workspace-grid, .about-section, .account-section, .contact-section, .account-summary-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { height: 440px; }
  .service-grid, .product-feature-grid, .project-grid, .capability-grid, .process-grid, .feature-grid, .faq-list, .plans-grid { grid-template-columns: 1fr; }
  .project-art { height: 220px; }
}
@media (max-width: 560px) {
  .section { padding: 78px 6vw; }
  .site-header { padding: 0 6vw; }
  .brand small { display: none; }
  h1 { font-size: 45px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-visual { height: 360px; }
  .orb::after { font-size: 52px; }
  .visual-card { min-width: 145px; padding: 14px 16px; }
  .visual-card b { font-size: 15px; }
  .trust-strip { flex-wrap: wrap; gap: 10px 14px; }
  .principles { grid-template-columns: 1fr; }
  .code-row { grid-template-columns: 1fr; }
  .account-actions { flex-direction: column; }
  .contact-form { padding: 24px; }
  .admin-heading, .inline-form { align-items: stretch; flex-direction: column; }
  .inline-form input { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .legal { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
