:root {
  color-scheme: light;
  --background: #fbf7f1;
  --foreground: #111827;
  --muted: #f6f8fc;
  --muted-foreground: #667085;
  --border: #e7ebf3;
  --primary: #d96f4b;
  --primary-hover: #be5939;
  --primary-soft: #fff1eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--foreground);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: radial-gradient(circle at 78% -4%, rgb(245 219 199 / .54), transparent 32%), radial-gradient(circle at 8% 12%, rgb(255 255 255 / .86), transparent 30%), linear-gradient(180deg, #fbf7f1 0%, #f0e8df 56%, #f7f1ea 100%); }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header-wrap { position: fixed; z-index: 20; top: 0; right: 0; left: 0; pointer-events: none; }
.site-header { position: relative; display: flex; width: min(1280px, calc(100% - 32px)); min-height: 64px; align-items: center; gap: 24px; padding: 8px; border: 1px solid transparent; background: transparent; pointer-events: auto; transition: all .7s cubic-bezier(.16, 1, .3, 1); }
.site-header-wrap.is-scrolled .site-header { width: min(832px, calc(100% - 24px)); min-height: 48px; padding: 6px 6px 6px 16px; border-color: rgb(222 216 207 / .84); border-radius: 16px; background: rgb(251 247 241 / .76); box-shadow: 0 2px 16px -6px rgb(0 0 0 / .08); backdrop-filter: blur(24px); }
.brand { display: flex; flex: none; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.site-nav { position: absolute; left: 50%; display: flex; align-items: center; gap: 2px; transform: translateX(-50%); }
.site-nav a, .footer-nav a, .contact-trigger { color: var(--muted-foreground); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.site-nav a { padding: 6px 12px; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-nav a:hover, .contact-trigger:hover { color: var(--foreground); }
.header-actions { display: flex; margin-left: auto; align-items: center; gap: 8px; }
.header-register, .header-login { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; font-size: 12px; font-weight: 500; text-decoration: none; }
.header-register { border: 1px solid var(--border); background: white; }
.header-login { background: var(--primary); color: white; }
.header-login:hover { background: var(--primary-hover); }

.document-page { padding: 132px 0 88px; }
.document-hero { max-width: 900px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(40px, 5vw, 62px); line-height: 1.08; letter-spacing: -.045em; }
.document-lead { max-width: 840px; margin: 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.85; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: #475467; font-size: 12px; }
.document-card { max-width: 920px; padding: 40px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 16px 44px rgb(15 23 42 / .06); }
.document-card section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--border); }
.document-card h2 { margin-bottom: 15px; font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.document-card h3 { margin: 22px 0 10px; font-size: 17px; line-height: 1.4; }
.document-card p, .document-card li, .document-card dd { color: #475467; font-size: 14px; line-height: 1.85; }
.document-card p:last-child { margin-bottom: 0; }
.document-card ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.document-card strong { color: var(--foreground); }
.document-card a { color: var(--primary-hover); font-weight: 700; }
.fact-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact-card { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--muted); }
.fact-card span { display: block; margin-bottom: 8px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fact-card strong { font-size: 15px; line-height: 1.55; }
.company-facts { display: grid; margin: 0; gap: 0; }
.company-facts div { display: grid; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); grid-template-columns: 120px 1fr; }
.company-facts dt { color: var(--muted-foreground); font-size: 13px; font-weight: 600; }
.company-facts dd { margin: 0; color: var(--foreground); font-weight: 700; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--border); border-radius: 10px; background: white; font-size: 14px; font-weight: 700; text-decoration: none; }
.page-button.primary { border-color: var(--primary); background: var(--primary); color: white; }
.page-button:hover { background: var(--primary-soft); }
.page-button.primary:hover { background: var(--primary-hover); }
.page-button:focus-visible, .site-header a:focus-visible, .footer-nav a:focus-visible { outline: 3px solid rgb(217 111 75 / .28); outline-offset: 2px; }

.page-footer { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); color: var(--muted-foreground); }
.page-footer strong { flex: none; color: var(--foreground); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 16px; }
.footer-nav > a { display: inline-flex; min-height: 44px; align-items: center; }
.security-record { gap: 6px; }
.security-record img { width: 16px; height: 16px; object-fit: contain; }
.contact-trigger { display: inline-flex; min-height: 44px; margin: 0; padding: 0; align-items: center; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.contact-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow-y: auto; border: 1px solid var(--border); border-radius: 20px; background: white; color: var(--foreground); box-shadow: 0 28px 80px rgb(15 23 42 / .24); }
.contact-dialog::backdrop { background: rgb(17 24 39 / .44); backdrop-filter: blur(2px); }
body:has(.contact-dialog[open]) { overflow: hidden; }
.contact-dialog-form { display: grid; gap: 22px; padding: 24px; }
.contact-close { position: absolute; top: 24px; right: 24px; display: grid; width: 44px; height: 44px; margin: 0; padding: 0; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: white; cursor: pointer; }
.contact-close:hover { background: var(--muted); }
.contact-close img { width: 16px; height: 16px; }
.contact-header { display: flex; align-items: center; gap: 14px; padding-right: 56px; text-align: left; }
.contact-heading { display: grid; gap: 3px; }
.contact-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.contact-description { margin: 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }
.contact-icon { display: grid; width: 44px; height: 44px; flex: none; place-items: center; border-radius: 12px; background: var(--primary-soft); }
.contact-icon img { width: 20px; height: 20px; }
.contact-body { display: grid; align-items: stretch; gap: 24px; grid-template-columns: minmax(0, 1fr) 202px; }
.contact-details { display: flex; min-width: 0; flex-direction: column; }
.contact-label { margin: 0 0 12px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.contact-scope { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-scope li { color: var(--foreground); font-size: 14px; font-weight: 700; line-height: 1.45; }
.contact-hint { margin: 16px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.65; }
.contact-qr { display: grid; margin: 0; padding: 12px; place-items: center; align-content: center; border: 1px solid var(--border); border-radius: 14px; background: var(--muted); }
.contact-qr img { width: 176px; height: 176px; border-radius: 6px; }
.contact-qr figcaption { margin-top: 8px; color: var(--muted-foreground); font-size: 12px; font-weight: 600; }
.contact-email { display: inline-flex; min-height: 44px; margin-top: auto; align-items: center; gap: 9px; padding: 0 14px; border-radius: 10px; background: var(--primary-soft); color: var(--foreground); font-size: 13px; font-weight: 700; text-decoration: none; }
.contact-email:hover { color: var(--primary-hover); }
.contact-email img { width: 16px; height: 16px; }
.contact-actions { display: flex; justify-content: flex-end; gap: 12px; }
.contact-actions a, .contact-actions button { display: inline-flex; min-width: 104px; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--border); border-radius: 10px; background: white; color: var(--foreground); cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }
.contact-actions a:hover { background: var(--muted); }
.contact-actions .contact-confirm { border-color: var(--primary); background: var(--primary); color: white; }
.contact-actions .contact-confirm:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.contact-trigger:focus-visible, .contact-close:focus-visible, .contact-email:focus-visible, .contact-actions a:focus-visible, .contact-actions button:focus-visible { outline: 3px solid rgb(217 111 75 / .28); outline-offset: 2px; }

@media (max-width: 980px) {
  .site-nav { position: static; display: flex; margin-left: auto; transform: none; }
      .site-nav a:not([href="/blog"]) { display: none; }
      .site-nav a { padding-inline: 6px; }
      .site-header { gap: 8px; }
      .header-actions { margin-left: 0; gap: 4px; }
      .header-register, .header-login { padding-inline: 8px; }
  .site-header { justify-content: space-between; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .document-page { padding: 112px 0 64px; }
  h1 { font-size: clamp(36px, 11vw, 50px); }
  .document-lead { font-size: 15px; }
  .document-card { padding: 26px 20px; border-radius: 16px; }
  .document-card section + section { margin-top: 28px; padding-top: 28px; }
  .fact-grid { grid-template-columns: 1fr; }
  .company-facts div { gap: 8px; grid-template-columns: 1fr; }
  .page-footer { padding: 28px 0; flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .contact-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .contact-dialog-form { gap: 18px; padding: 20px 18px; }
  .contact-close { top: 20px; right: 18px; }
  .contact-title { font-size: 23px; }
  .contact-body { gap: 18px; grid-template-columns: 1fr; }
  .contact-qr { justify-self: center; }
  .contact-email { margin-top: 16px; }
  .contact-actions a, .contact-actions button { min-width: 0; flex: 1; }
}
