@layer reset, base, layout, components;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure, ul, ol { margin: 0; }
  img { display: block; max-width: 100%; }
  button, input { font: inherit; }
}
@layer base {
  :root { color-scheme: light; --paper: #f7f8f1; --white: #fff; --ink: #17362b; --muted: #58675e; --green: #2f5e46; --line: #dce2d7; --lime: #e4eccd; --dark: #16382b; --radius: 28px; }
  html { scroll-behavior: smooth; scroll-padding-top: 105px; }
  body { background: var(--paper); color: var(--ink); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
  :lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid #947c2b; outline-offset: 5px; border-radius: 4px; }
  ::selection { background: #dbe7bc; color: #153728; }
  h1, h2, h3 { font-weight: 570; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
  h1 { font-size: clamp(46px, 6.3vw, 85px); }
  h2 { font-size: clamp(34px, 4vw, 54px); }
  h3 { font-size: 23px; letter-spacing: -.025em; }
  p { text-wrap: pretty; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
}
@layer layout {
  .wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
  .site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(247,248,241,.91); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .nav-inner { min-height: 83px; display: flex; align-items: center; gap: 36px; }
  .wordmark { font-size: 21px; font-weight: 650; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
  .brand-icon { width: 34px; height: 34px; border-radius: 9px; }
  .nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
  .nav-links a { font-size: 14px; text-decoration: none; padding-block: 12px; }
  .nav-links a:hover, .nav-links [aria-current] { text-decoration: underline; }
  .language { font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid #ced7c9; border-radius: 100px; padding: 7px 13px; white-space: nowrap; }
  .hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 72px; padding: 78px 0 65px; }
  .hero h1 { margin: 23px 0; max-width: 640px; }
  .hero-copy > p { max-width: 490px; font-size: 19px; color: var(--muted); }
  .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 19px; }
  .hero-visual { position: relative; }
  .photo-stage { position: relative; border-radius: 32px; overflow: hidden; background: #e8ece5; aspect-ratio: .92; box-shadow: 0 25px 80px -55px #17362b; }
  .photo-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; }
  .viewfinder { position: absolute; inset: 20% 16% 14%; border: 1.5px dashed rgba(47,94,70,.8); border-radius: 15px; pointer-events: none; }
  .frame-label { position: absolute; bottom: 21px; left: 21px; right: 21px; border: 1px solid rgba(255,255,255,.8); background: rgba(247,248,241,.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .frame-label span { display: block; font-size: 12px; color: var(--muted); }
  .frame-label strong { font-size: 14px; font-weight: 600; }
  .frame-label .crosshair { flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid var(--green); border-radius: 50%; position: relative; }
  .crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--green); }
  .crosshair::before { width: 1px; height: 35px; left: 12px; top: -5px; }
  .crosshair::after { width: 35px; height: 1px; left: -5px; top: 12px; }
  .visual-caption { font-size: 11px; color: var(--muted); margin-top: 11px; line-height: 1.5; }
  .intro-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 105px; }
  .intro-item { padding: 25px 25px 25px 0; }
  .intro-item + .intro-item { padding-left: 35px; border-left: 1px solid var(--line); }
  .intro-item b { font-weight: 550; font-size: 15px; display: block; }
  .intro-item span { font-size: 13px; color: var(--muted); }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
  .section-heading h2 { max-width: 680px; margin-top: 15px; }
  .section-heading > p { max-width: 300px; color: var(--muted); font-size: 15px; }
  .workflow { padding-bottom: 110px; }
  .workflow-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .step { border-top: 1px solid #aebfa6; padding-top: 20px; }
  .step .number { font-size: 12px; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 42px; }
  .step h3 { margin-bottom: 16px; }
  .step p { font-size: 15px; color: var(--muted); }
  .dark-section { background: var(--dark); color: #f4f8eb; padding-block: 88px; }
  .dark-section .eyebrow { color: #c0d59f; }
  .detail-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 100px; }
  .detail-copy h2 { margin: 18px 0 24px; }
  .detail-copy > p { color: #becfc0; font-size: 16px; }
  .feature-list { list-style: none; padding: 0; margin: 33px 0 0; }
  .feature-list li { border-top: 1px solid #3e5949; padding: 18px 0; }
  .feature-list b { font-weight: 550; font-size: 16px; display: block; }
  .feature-list span { color: #becfc0; font-size: 14px; display: block; margin-top: 4px; }
  .screenshot-figure { max-width: 322px; margin-inline: auto; }
  .phone-frame { border: 7px solid #0e251c; border-radius: 46px; overflow: hidden; box-shadow: 0 30px 80px -40px #000; background: var(--paper); }
  .phone-frame img { width: 100%; height: auto; }
  .screenshot-figure figcaption { color: #b4c7b9; font-size: 11px; margin-top: 17px; line-height: 1.5; }
  .editing { padding-block: 105px; }
  .edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .edit-card { padding: 35px; border-radius: var(--radius); background: #edf0e4; }
  .edit-card:nth-child(2) { background: #e6ecdf; }
  .edit-card .small-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
  .edit-card h3 { font-size: 30px; margin: 15px 0 18px; }
  .edit-card p { font-size: 15px; color: var(--muted); }
  .settings-list { list-style: none; padding: 0; margin-top: 28px; }
  .settings-list li { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d2dbc9; gap: 16px; padding-block: 13px; font-size: 14px; }
  .control-tag { border: 1px solid #becbb3; border-radius: 100px; padding: 2px 10px; font-size: 10px; white-space: nowrap; color: var(--green); }
  .data-section { border-top: 1px solid var(--line); padding: 20px 0 100px; }
  .data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-top: 48px; }
  .data-grid h2 { margin: 16px 0 24px; }
  .data-grid p { color: var(--muted); }
  .data-notes { list-style: none; padding: 0; }
  .data-notes li { padding: 0 0 20px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
  .data-notes h3 { font-size: 19px; margin-bottom: 8px; }
  .data-notes p { font-size: 14px; }
  .closing { padding: 50px; border-radius: 32px; background: var(--lime); margin-bottom: 90px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .closing h2 { font-size: 36px; margin: 13px 0; }
  .closing p { color: var(--muted); font-size: 14px; }
  .site-footer { border-top: 1px solid var(--line); padding-block: 38px; }
  .footer-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 13px; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 11px; margin-top: 28px; }
  .document-header { padding: 70px 0 48px; border-bottom: 1px solid var(--line); }
  .document-header h1 { font-size: clamp(42px,5.2vw,68px); margin: 17px 0 24px; }
  .document-header p { max-width: 770px; color: var(--muted); font-size: 19px; }
  .document-header .date { font-size: 12px; margin-top: 25px; }
  .document-grid { display: grid; grid-template-columns: 230px minmax(0,740px); gap: 75px; padding-block: 55px 100px; }
  .toc { position: sticky; top: 112px; align-self: start; }
  .toc > p { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
  .toc ol { padding-left: 18px; color: var(--muted); font-size: 13px; }
  .toc li { padding-bottom: 10px; }
  .toc a { text-decoration: none; }
  .toc a:hover { text-decoration: underline; }
  .prose section { margin-bottom: 44px; }
  .prose h2 { font-size: 28px; margin-bottom: 19px; letter-spacing: -.025em; }
  .prose h3 { font-size: 19px; margin: 24px 0 13px; }
  .prose p, .prose li { font-size: 15px; color: #43544a; }
  .prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: 15px; }
  .prose ul, .prose ol { padding-left: 22px; }
  .prose li + li { margin-top: 9px; }
  .prose strong { color: var(--ink); font-weight: 600; }
  .prose .callout { padding: 22px 25px; background: #e9eedf; border-radius: 20px; margin: 25px 0; }
  .license-text { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line); padding: 25px; border-radius: 18px; color: #43544a; }
  .contact-box { border: 1px solid #bacab0; border-radius: 22px; padding: 25px; margin-top: 25px; }
  .contact-box a { overflow-wrap: anywhere; }
  .chooser { min-height: 72vh; display: flex; align-items: center; max-width: 800px; padding-block: 80px; }
  .chooser h1 { font-size: clamp(44px,6vw,75px); margin: 24px 0; }
  .chooser p { color: var(--muted); }
  @media (max-width: 1000px) {
    .hero { gap: 35px; }
    .detail-grid, .data-grid { gap: 55px; }
    .document-grid { grid-template-columns: 180px minmax(0,1fr); gap: 45px; }
    .nav-links { gap: 22px; }
  }
  @media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .nav-inner { min-height: 72px; gap: 14px; flex-wrap: wrap; padding-block: 15px 10px; }
    .wordmark { font-size: 20px; }
    .language { margin-left: auto; order: 1; }
    .nav-links { order: 2; width: 100%; justify-content: space-between; margin: 0; gap: 12px; }
    .nav-links a { font-size: 12px; padding: 3px 0; }
    .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 43px 35px; }
    .hero h1 { margin: 20px 0; font-size: clamp(47px,11.7vw,70px); max-width: 580px; }
    .hero-copy > p { font-size: 17px; }
    .photo-stage { max-height: 560px; aspect-ratio: 1.1; }
    .intro-band { grid-template-columns: 1fr; margin-bottom: 65px; }
    .intro-item, .intro-item + .intro-item { border-left: 0; padding: 15px 0; display: flex; justify-content: space-between; gap: 15px; }
    .intro-item + .intro-item { border-top: 1px solid var(--line); }
    .intro-item b, .intro-item span { font-size: 12px; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-heading > p { max-width: 480px; margin-top: 22px; }
    .workflow { padding-bottom: 65px; }
    .workflow-grid { grid-template-columns: 1fr; gap: 30px; }
    .step .number { margin-bottom: 18px; }
    .step h3 { font-size: 25px; }
    .dark-section { padding-block: 58px; }
    .detail-grid, .data-grid, .edit-grid { grid-template-columns: 1fr; gap: 40px; }
    .screenshot-figure { max-width: 290px; }
    .editing { padding-block: 65px; }
    .edit-card { padding: 27px; }
    .data-section { padding-bottom: 40px; }
    .data-grid { padding-top: 35px; }
    .closing { padding: 30px; display: block; margin-bottom: 55px; }
    .closing h2 { font-size: 31px; }
    .closing .button { margin-top: 25px; }
    .footer-top, .footer-bottom { display: block; }
    .footer-links { margin-top: 25px; }
    .footer-bottom > :last-child { margin-top: 8px; }
    .document-header { padding: 43px 0 32px; }
    .document-header p { font-size: 16px; }
    .document-grid { display: block; padding-block: 32px 50px; }
    .toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 35px; }
    .toc ol { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; }
    .toc li { padding: 0; }
    .prose h2 { font-size: 25px; }
  }
}
@layer components {
  .eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; color: var(--green); }
  :lang(zh-Hans) .eyebrow { letter-spacing: .16em; }
  .status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
  .status::before { content: ""; width: 6px; height: 6px; background: #72925f; border-radius: 50%; }
  .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 100px; background: var(--green); color: #fff; text-decoration: none; padding: 11px 24px; font-size: 14px; font-weight: 550; gap: 20px; }
  .button::after { content: "↗"; }
  .button:hover { background: #224d37; text-decoration: none; }
  .button.secondary { background: transparent; border: 1px solid #b5c3ac; color: var(--ink); }
  .button.secondary:hover { background: #e8edde; }
  .text-link { font-size: 13px; font-weight: 550; display: inline-block; margin-top: 20px; }
  .skip-link { position: absolute; left: 15px; top: -100px; background: var(--dark); color: #fff; padding: 10px 20px; z-index: 30; }
  .skip-link:focus { top: 10px; }
}
