/* photoidkit — 视觉层按 Figma 稿 tokens 复刻（doc/design/2026-10-29/figma-export/tokens.json） */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --navy: #101F32;
  --navy-2: #17283C;
  --text: #1A2430;
  --text-2: #46545F;
  --muted: #57656F;
  --teal: #007F78;
  --teal-dark: #006B65;
  --teal-pale: #EAF5F3;
  --surface: #F3F5F6;
  --surface-alt: #EEF1F3;
  --rule: #D5DDE2;
  --guide: #B7C4CE;
  --amber: #B45309;
  --amber-pale: #FDF3E3;
  --green: #2E8B57;
  --radius: 8px;
  --container: 1200px;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0 0 16px; line-height: 1.15; }
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 22px; font-family: var(--sans); font-weight: 600; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 16px; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.lede { font-size: 19px; color: var(--text-2); max-width: 640px; }
.micro { font-size: 13px; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--white);
  font-size: 15px; font-weight: 600; padding: 14px 24px;
  border: 1px solid var(--teal); border-radius: var(--radius);
  cursor: pointer; min-height: 44px; text-decoration: none;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--guide); outline-offset: 2px; }
.btn .arr { font-weight: 400; }
.btn-ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-pale); color: var(--teal-dark); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--surface); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--surface-alt);
}
.site-nav .container { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 25px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--teal-dark); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 64px 0 40px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 24px; border-bottom: 1px solid var(--navy-2); }
.site-footer .brand { color: var(--white); }
.site-footer .tagline { font-family: var(--serif); font-style: italic; color: var(--guide); font-size: 18px; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--guide); font-size: 13px; }
.site-footer a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: 110px 0; border-bottom: 1px solid var(--surface-alt); }
.hero-grid { display: grid; grid-template-columns: 45% 55%; gap: 48px; align-items: center; }
.hero .actions { margin: 32px 0 12px; }
.hero .micro { max-width: 460px; }
.format-study {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px; display: grid; grid-template-columns: 1fr 180px; gap: 24px;
}
.format-study .fs-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); grid-column: 1 / -1; }
.format-study .fs-dim { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 16px; }
.format-study .fs-dim .num { font-family: var(--serif); font-size: 86px; color: var(--navy); line-height: 1; }
.format-study .fs-dim .unit { color: var(--text-2); font-size: 15px; }
.photo-stage { position: relative; background: var(--white); border: 2px solid var(--teal); }
.photo-stage img { display: block; width: 100%; }
.crop-guides { position: absolute; inset: 0; pointer-events: none; }
.head-bracket { position: absolute; left: -2px; top: 15%; height: 50%; width: 6px; background: var(--teal); }
.head-chip {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 4px;
}
.fs-stats { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.fs-stats .v { font-family: var(--serif); font-size: 28px; color: var(--teal); }
.fs-stats .k { font-size: 12px; color: var(--text-2); }
.fs-foot { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 13px; color: var(--text-2); }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--surface-alt); border-bottom: 1px solid var(--surface-alt); padding: 22px 0; }
.trustbar .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trustbar .item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }

/* 打勾/警告图标共用 */
.ic { flex: none; }
.check-circle { color: var(--green); }
.warn-tri { color: var(--amber); }

/* ---------- Steps ---------- */
.steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 8px 32px 8px 0; border-left: 1px solid var(--rule); padding-left: 28px; }
.step:first-child { border-left: none; padding-left: 0; }
.step .num { font-family: var(--serif); font-size: 44px; color: var(--teal); display: block; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- 国家矩阵 ---------- */
.band { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.country-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.country-card {
  background: var(--white); border: 1px solid var(--rule);
  padding: 18px 16px; border-radius: var(--radius);
  display: block; color: var(--text); min-height: 44px;
}
.country-card:hover { border-color: var(--teal); text-decoration: none; }
.country-card .nm { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; color: var(--navy); }
.country-card .nm .arr { color: var(--teal); font-weight: 400; }
.country-card .dim { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ---------- 引用块 ---------- */
.quote-strip .container { display: grid; grid-template-columns: 35% 65%; gap: 40px; align-items: center; }
.quote-strip blockquote {
  margin: 0; font-family: var(--serif); font-size: 24px; color: var(--navy);
  border-left: 3px solid var(--teal); padding-left: 24px;
}
.quote-strip cite { display: block; font-family: var(--sans); font-size: 13px; font-style: normal; color: var(--muted); margin-top: 12px; }

/* ---------- 定价 ---------- */
.free-banner {
  background: var(--teal-pale); border-radius: var(--radius);
  padding: 18px 24px; font-size: 15px; color: var(--navy); margin-bottom: 32px;
}
.free-banner strong { color: var(--teal-dark); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; }
.price-card.dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.price-card .plan { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 20px; }
.price-card.dark .plan { color: var(--guide); }
.price-card .amount { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--navy); }
.price-card.dark .amount { color: var(--white); }
.price-card .per { font-size: 15px; color: var(--text-2); margin-left: 8px; }
.price-card ul { list-style: none; margin: 24px 0; padding: 0; }
.price-card li { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--surface-alt); font-size: 15px; }
.price-card.dark li { border-top-color: var(--navy-2); }
.price-card .btn { width: 100%; justify-content: center; }
.price-card.dark .micro { color: var(--guide); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 35% 65%; gap: 48px; }
.faq details { border-bottom: 1px solid var(--surface-alt); padding: 22px 0; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 18px; color: var(--navy);
  display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '–'; font-size: 22px; color: var(--teal); flex: none; }
.faq details:not([open]) summary::after { content: '+'; }
.faq summary:focus-visible { outline: 3px solid var(--guide); outline-offset: 2px; border-radius: 4px; }
.faq .a { padding-top: 12px; color: var(--text-2); font-size: 15px; }

/* ---------- 面包屑/规格页 ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.page-head { padding: 28px 0 56px; border-bottom: 1px solid var(--surface-alt); }
.page-head .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.spec-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.chip {
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--text);
  background: var(--white); min-height: 36px;
}

.spec-split { display: grid; grid-template-columns: 60% 40%; gap: 40px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th {
  background: var(--navy); color: var(--white); text-align: left;
  font-size: 13px; font-weight: 600; padding: 14px 18px;
}
.spec-table td { padding: 16px 18px; border-bottom: 1px solid var(--surface-alt); font-size: 15px; }
.spec-table tr:nth-child(even) td { background: #FAFBFB; }
.spec-table td:first-child { color: var(--text-2); width: 32%; }
.spec-table td strong { color: var(--navy); }
.note-box { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; font-size: 14px; color: var(--text-2); }
.note-box strong { color: var(--navy); display: block; margin-bottom: 6px; }

.alert-band {
  background: var(--teal-pale); border-radius: var(--radius);
  padding: 20px 24px; margin: 28px 0; font-size: 15px;
  display: flex; gap: 14px; align-items: flex-start;
}
.alert-band strong { color: var(--navy); }

/* 尺寸示意图卡 */
.dim-card { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.dim-card .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.dim-card .big { font-family: var(--serif); font-size: 63px; color: var(--navy); line-height: 1.1; }
.dim-card .big small { font-size: 25px; color: var(--text-2); }
.dim-card .stat { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); margin-top: 18px; padding-top: 14px; font-size: 14px; }
.dim-card .stat b { color: var(--teal); }

/* ---------- 深蓝引用带 ---------- */
.citation-band { background: var(--navy); color: var(--white); }
.citation-band .container { display: grid; grid-template-columns: 40% 60%; gap: 48px; align-items: center; }
.citation-band .eyebrow { color: var(--guide); }
.citation-band h2 { color: var(--white); font-size: 28px; }
.citation-band blockquote { font-family: var(--serif); font-size: 30px; margin: 0 0 16px; }
.citation-band p { color: var(--guide); font-size: 15px; }
.citation-band a { color: #7FD1C8; }

/* ---------- 拒绝原因卡 ---------- */
.reject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.reject-card { border-top: 1px solid var(--rule); padding-top: 22px; }
.reject-card h3 { margin: 12px 0 8px; }
.reject-card p { font-size: 14px; color: var(--text-2); }
.reject-card .fix { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 14px 0 6px; }

/* ---------- 国家切换 chips ---------- */
.switcher { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.switcher .chip { border-radius: 999px; padding: 10px 20px; min-height: 44px; display: inline-flex; align-items: center; }
.switcher .chip:hover { border-color: var(--teal); text-decoration: none; }
.switcher-label { font-weight: 600; color: var(--navy); margin-right: 8px; }

/* ---------- 工具页工作台 ---------- */
.workspace { display: grid; grid-template-columns: 57% 43%; gap: 32px; align-items: start; }
.dropzone {
  border: 2px dashed var(--teal); border-radius: var(--radius);
  background: var(--teal-pale); padding: 40px 24px; text-align: center; cursor: pointer;
}
.dropzone:focus-visible { outline: 3px solid var(--guide); outline-offset: 2px; }
.dropzone .ttl { font-weight: 600; font-size: 17px; color: var(--navy); margin-top: 10px; }
.dropzone .sub { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.dropzone input[type=file] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.preview-card { background: var(--surface); border-radius: var(--radius); margin-top: 20px; padding: 22px; }
.preview-card .pc-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.preview-card .pc-head .free { color: var(--teal); font-weight: 700; }
.preview-stage { position: relative; background: var(--white); border: 1px solid var(--rule); overflow: hidden; }
.preview-stage canvas { display: block; width: 100%; }
.preview-stage .measure-x {
  position: absolute; top: 6px; left: 0; right: 0; text-align: center;
  font-size: 12px; color: var(--teal); font-weight: 600;
}
.report-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.report-card h2 { font-size: 22px; font-family: var(--sans); font-weight: 700; }
.report-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.check-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--surface-alt); font-size: 15px; }
.check-row .lbl { flex: 1; }
.check-row .lbl b { display: block; font-size: 15px; }
.check-row .lbl span { font-size: 13px; color: var(--muted); }
.check-row .st { font-weight: 700; font-size: 13px; text-transform: lowercase; }
.check-row .st.pass { color: var(--teal); }
.check-row .st.warn { color: var(--amber); }
.check-row .st.fail { color: #B3352B; }
.check-row .st.idle { color: var(--muted); }
.check-row .ic.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--guide); flex: none; }
.alert-inline { background: var(--surface); border-left: 4px solid var(--navy); padding: 16px 18px; margin-top: 16px; font-size: 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.alert-inline b { display: block; margin-bottom: 4px; color: var(--navy); }

.rules-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; margin-top: 24px; }
.rules-card .eyebrow { color: var(--guide); margin-bottom: 12px; }
.rules-card blockquote { font-family: var(--serif); font-size: 21px; margin: 0 0 16px; }
.rules-card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.rules-card li { padding: 6px 0; font-size: 14px; }
.rules-card a { color: #7FD1C8; font-size: 13px; }

/* ---------- 打印区 ---------- */
.print-split { display: grid; grid-template-columns: 55% 45%; gap: 40px; align-items: center; }
.sheet-mock { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 16px; max-width: 420px; }
.sheet-mock .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-mock .ph { aspect-ratio: 1; background: var(--surface-alt); border: 1px dashed var(--guide); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.sheet-mock .cap { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.price-big { font-family: var(--serif); font-size: 48px; color: var(--navy); }

/* ---------- 付费墙卡 ---------- */
.paywall { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px; }
.paywall .eyebrow { color: var(--guide); }
.paywall h2 { color: var(--white); font-size: 34px; }
.paywall p.sub { color: var(--guide); font-size: 14px; }
.paywall ul { list-style: none; margin: 20px 0; padding: 0; }
.paywall li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--navy-2); font-size: 15px; }
.paywall .warn-line { background: var(--navy-2); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; color: var(--guide); margin: 18px 0; }
.paywall .warn-line b { color: var(--white); display: block; margin-bottom: 4px; }
.paywall .btn { width: 100%; justify-content: center; }
.paywall .fine { color: var(--guide); margin-top: 12px; }

/* ---------- 文章/内容页 ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose p, .prose li { font-size: 16px; color: var(--text); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th { text-align: left; background: var(--navy); color: var(--white); padding: 12px 14px; font-size: 13px; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--surface-alt); }
.byline { font-size: 13px; color: var(--muted); margin: 12px 0 28px; }
.byline a { color: var(--text-2); }

.related { margin-top: 64px; border-top: 1px solid var(--surface-alt); padding-top: 32px; }
.related .switcher { margin-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero-grid, .workspace, .spec-split, .print-split, .citation-band .container,
  .quote-strip .container, .faq-grid, .pricing-grid, .format-study { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .reject-grid { grid-template-columns: 1fr; }
  .step { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 20px; }
  .nav-links { display: none; }
  .page-head .row, .steps-head, .section-head { flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 0; }
  .format-study .fs-dim .num { font-size: 60px; }
}

@media print {
  .site-nav, .site-footer, .btn, .dropzone, .paywall, .related { display: none; }
  section { padding: 24px 0; }
}
