/* 品牌基础在 site.config.mjs；此文件是攻略站唯一的公共样式入口。 */
:root {
  --radius-control: 6px;
  --radius-panel: 10px;
  --radius-button: 6px;
  --tool-bg: #f0e8d7;
  --tool-text: #172d36;
  --tool-muted: #425a61;
  --tool-border: #a4aaa3;
  --tool-danger: #9d2825;
  --accent-soft: color-mix(in srgb, var(--primary) 12%, transparent);
  --app-font-display: Georgia, 'Times New Roman', serif;
  --content-width: 1240px;
  --section-spacing: 100px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--app-font-sans);
  font-size: 16px;
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
  border-radius: var(--radius-control);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a,
button,
input,
select,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.container {
  width: min(var(--content-width), calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 30;
  padding: 12px;
  background: var(--primary);
  color: var(--bg);
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 86px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
  background: var(--bg);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  line-height: 1.05;
}
.brand-mark {
  width: 39px;
  height: 39px;
  color: var(--primary);
}
.brand-name {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.brand-name small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.19em;
  margin-top: 6px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  align-self: stretch;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  position: relative;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--text);
}
.desktop-nav a[aria-current]:after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 0;
  right: 0;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--text);
  width: 44px;
  height: 44px;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.language {
  position: relative;
  flex-shrink: 0;
  font-size: 12px;
}
.language > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.language > summary::-webkit-details-marker {
  display: none;
}
.language > summary .icon {
  width: 16px;
  height: 16px;
}
.language > summary .icon:last-child {
  width: 12px;
  transition: transform 0.15s;
}
.language > summary:hover,
.language[open] > summary {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--accent-soft);
}
.language[open] > summary .icon:last-child {
  transform: rotate(180deg);
}
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 264px;
  max-width: calc(100vw - 32px);
  max-height: min(440px, 70dvh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-menu);
}
.language-heading {
  display: block;
  padding: 8px 10px 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.language-options a {
  padding: 10px;
  min-height: 48px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius-control);
  color: var(--text);
  font-size: 13px;
}
.language-options a:hover {
  background: var(--accent-soft);
}
.language-options a[aria-current] {
  color: var(--primary);
  background: var(--accent-soft);
}
.language-code {
  width: 42px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.language-name {
  flex: 1;
}
.language-options a[aria-current] .language-code {
  color: var(--primary);
}
.language-options a > .icon {
  width: 16px;
  height: 16px;
}
.menu-button {
  display: none;
}
.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 85px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.mobile-nav a {
  display: block;
  padding: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 23px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.utility span:last-child {
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  min-height: 590px;
  padding-block: 22px 42px;
  gap: 36px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin: 24px 0;
}
.hero-lead {
  max-width: 510px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 22px 0;
}
.hero-art {
  margin: 0;
  max-width: 470px;
  position: relative;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-art figcaption {
  text-align: right;
  font-size: 10px;
  color: var(--text-muted);
  position: absolute;
  bottom: 6%;
  right: 10%;
  max-width: 200px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--bg);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-button);
}
.button:hover {
  background: var(--accent-to);
}
.button.secondary {
  background: none;
  color: var(--text);
  border-color: var(--border-strong);
}
.text-link {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.text-link:hover {
  color: var(--primary);
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.section-top h2,
.home-section > h2 {
  font-size: 36px;
  letter-spacing: -0.035em;
  font-weight: 550;
  line-height: 1.2;
  margin: 12px 0 0;
}
.home-section {
  margin-block: var(--section-spacing);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.guide-feature {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  min-height: 365px;
  background: var(--bg-elevated);
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}
.guide-feature:after {
  content: '?';
  position: absolute;
  right: 24px;
  bottom: -40px;
  font:
    290px Georgia,
    serif;
  color: var(--accent-soft);
  line-height: 1;
}
.guide-feature h3 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 500;
  max-width: 320px;
  letter-spacing: -0.03em;
  margin: 50px 0 16px;
}
.guide-feature p {
  max-width: 310px;
  color: var(--text-muted);
  font-size: 14px;
}
.guide-feature .text-link {
  margin-top: 25px;
  position: relative;
  z-index: 1;
}
.card-number {
  font: 11px monospace;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.guide-small {
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 27px;
  display: flex;
  gap: 25px;
  align-items: start;
  transition: background 0.2s;
}
.guide-small:hover,
.guide-feature:hover {
  background: var(--bg-mid);
}
.guide-small h3 {
  font-weight: 550;
  line-height: 1.3;
  font-size: 22px;
  margin: 8px 0;
}
.guide-small p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 9px 0 0;
}
.guide-small > .icon {
  margin-top: auto;
  color: var(--primary);
  align-self: end;
}
.guide-small > div {
  flex: 1;
}
.guide-links {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.guide-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 24px 22px 24px 0;
  font-size: 14px;
}
.guide-links a + a {
  padding-left: 22px;
  border-left: 1px solid var(--border);
}
.guide-links a:hover {
  color: var(--primary);
}
.steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.steps.four {
  grid-template-columns: repeat(2, 1fr);
}
.step-number {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--primary);
  border-radius: 50%;
  font-size: 11px;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.4;
  margin: 0 0 12px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--border-strong);
}
.timeline-item {
  padding: 30px 30px 0 0;
  position: relative;
}
.timeline-item:before {
  content: '';
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}
.timeline-item small {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.timeline-item h3 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  margin: 15px 0;
}
.timeline-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.source-inline {
  font-size: 11px;
  margin-top: 28px;
  color: var(--text-muted);
}
.source-inline a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.split-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-block: 1px solid var(--border);
  gap: 60px;
  padding-block: 36px;
}
.split-content h3 {
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 15px;
}
.split-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}
.faq {
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
}
.faq details[open] summary:after {
  content: '−';
}
.faq details p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 0 24px;
}
.trust-band {
  display: flex;
  align-items: center;
  gap: 45px;
  background: var(--bg-elevated);
  padding: 35px 40px;
  border-left: 2px solid var(--primary);
  margin-block: 70px;
}
.trust-band > div {
  flex: 1;
}
.trust-band h2 {
  font-size: 23px;
  margin: 0 0 8px;
  font-weight: 500;
}
.trust-band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 650px;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 50px 30px;
  margin-top: 90px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-top p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 20px;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  align-items: start;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 23px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  font-size: 10px;
  color: var(--text-muted);
}
.article-header {
  padding-block: 46px 44px;
  max-width: 980px;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 32px;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.article-header h1 {
  font-size: clamp(36px, 4.3vw, 59px);
  line-height: 1.12;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin: 20px 0 25px;
  max-width: 950px;
}
.article-intro {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 830px;
}
.byline {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 11px;
  color: var(--text-muted);
}
.byline > span:first-child {
  color: var(--primary);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 230px;
  gap: 90px;
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: 42px;
}
.article-body {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.article-section {
  margin-bottom: 55px;
  scroll-margin-top: 35px;
}
.article-section h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.article-section p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 18px 0;
}
.article-section p a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-section .steps {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.article-section .step p {
  font-size: 14px;
}
.article-section .faq p {
  font-size: 15px;
  margin: 0 0 24px;
}
.article-section code {
  font-size: 0.9em;
  background: var(--surface-strong);
  padding: 3px 6px;
  border-radius: 3px;
}
.toc {
  position: sticky;
  top: 32px;
  border-left: 1px solid var(--border);
  padding-left: 25px;
}
.toc strong {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.toc ol {
  list-style: none;
  margin: 18px 0 30px;
  padding: 0;
}
.toc a {
  font-size: 12px;
  display: block;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--text-muted);
}
.toc a:hover {
  color: var(--primary);
}
.toc .mini-link {
  color: var(--primary);
  font-size: 11px;
  border-top: 1px solid var(--border);
  padding-top: 25px;
}
.data-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  margin-block: 20px;
}
.data-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.7;
}
.data-table.compact table {
  min-width: 0;
  table-layout: fixed;
}
.data-table.compact th:first-child {
  width: 55%;
}
.data-table.compact td {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.data-table thead th {
  text-align: left;
  padding: 16px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.data-table td {
  padding: 19px 16px;
  vertical-align: top;
  border-top: 1px solid var(--border);
}
.data-table td:first-child {
  font-weight: 500;
  color: var(--primary);
}
.tool-panel {
  background: var(--tool-bg);
  color: var(--tool-text);
  border-radius: var(--radius-panel);
  padding: 32px;
  margin-block: 20px;
  color-scheme: light;
}
.tool-panel .tool-label {
  font: 10px monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tool-muted);
  display: block;
  margin-bottom: 15px;
}
.tool-panel h3 {
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 15px;
  font-weight: 600;
}
.tool-panel p,
.article-section .tool-panel p {
  color: var(--tool-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 10px 0 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-block: 25px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--tool-border);
  background: transparent;
  padding: 10px 12px;
  color: var(--tool-text);
  border-radius: var(--radius-control);
}
.tool-panel .button {
  background: var(--tool-text);
  border-color: var(--tool-text);
  color: var(--tool-bg);
}
.tool-panel :focus-visible {
  outline-color: var(--tool-text);
}
.tool-output {
  border-top: 1px solid var(--tool-border);
  padding-top: 22px;
  margin-top: 25px;
  font-size: 13px;
  min-height: 55px;
}
.tool-output .result {
  font-size: 29px;
  font-weight: 550;
  line-height: 1.4;
  margin: 8px 0 16px;
  letter-spacing: -0.02em;
}
.tool-output .result-meta {
  display: block;
  font-size: 12px;
  margin: 7px 0;
}
.tool-output[data-error='true'] {
  color: #9d2825;
}
.tool-panel .caution {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 0;
}
.sources-block {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 55px;
}
.sources-block h2 {
  font-size: 20px;
  font-weight: 500;
}
.sources-block p {
  font-size: 12px;
  color: var(--text-muted);
}
.sources-block ol {
  padding-left: 20px;
}
.sources-block li {
  margin-block: 13px;
  font-size: 12px;
  color: var(--text-muted);
}
.sources-block a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.related-links {
  border-top: 1px solid var(--border);
  margin-top: 45px;
  padding-top: 30px;
}
.related-links h2 {
  font-size: 22px;
  font-weight: 500;
}
.related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 30px;
}
.related-links a:hover {
  color: var(--primary);
}
.note-list {
  display: grid;
  gap: 22px;
  margin-top: 15px;
}
.note-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  display: grid;
  grid-template-columns: 110px 1fr 28px;
  gap: 28px;
}
.note-card h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin: 6px 0 14px;
}
.note-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.note-card .note-art {
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  min-height: 100px;
  border-radius: var(--radius-control);
}
.note-card .note-art .icon {
  width: 42px;
  height: 42px;
}
.note-card > .icon {
  align-self: center;
}
.note-card:hover {
  background: var(--bg-elevated);
}
dialog {
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  background: var(--bg-elevated);
  color: var(--text);
  width: min(640px, calc(100vw - 32px));
  max-height: 80dvh;
  box-shadow: var(--shadow-dialog);
}
dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(5px);
}
.search-head {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.search-head label {
  flex: 1;
}
.search-head input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  color: var(--text);
  padding: 10px 0;
  font-size: 16px;
}
.search-results {
  padding: 14px 22px 25px;
}
.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 5px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.search-results a:hover {
  color: var(--primary);
}
.search-results p {
  font-size: 14px;
  color: var(--text-muted);
}
.shop-toolbar {
  display: flex;
  gap: 12px;
  margin-block: 24px;
  flex-wrap: wrap;
}
.shop-toolbar input,
.shop-toolbar select {
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  padding: 12px;
  min-height: 46px;
  min-width: 0;
}
.shop-toolbar input {
  flex: 1 1 230px;
}
.shop-toolbar select {
  flex: 0 1 160px;
}
.shop-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-block: 15px;
  line-height: 1.8;
}
.shop-status .status-dot {
  margin-right: 8px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.shop-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  padding: 20px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  gap: 12px;
}
.shop-item small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.shop-item strong {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
.shop-item .price {
  color: var(--primary);
  font-size: 13px;
  margin-top: auto;
}
.shop-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.shop-source {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 610px;
  }
  .hero h1 {
    font-size: 62px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .header-tools {
    margin-left: auto;
  }
  .header-tools {
    gap: 8px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .article-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 200px;
  }
  .hero-art {
    margin-right: -20px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .footer-links {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  :root {
    --section-spacing: 65px;
  }
  .site-header {
    height: 76px;
  }
  .desktop-nav {
    display: none;
  }
  .header-tools {
    margin-left: auto;
    gap: 10px;
  }
  .menu-button {
    display: inline-flex;
  }
  .mobile-nav {
    top: 75px;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-name {
    font-size: 14px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .brand-name small {
    font-size: 8px;
  }

  .container {
    width: calc(100% - 40px);
  }
  .utility {
    padding-block: 20px;
    font-size: 9px;
  }
  .utility span:last-child {
    max-width: 145px;
    text-align: right;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 20px;
    padding-bottom: 30px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 46px;
    max-width: 650px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-art {
    display: none;
    width: min(500px, 100%);
    margin: -15px auto 0;
  }
  .hero-art figcaption {
    bottom: 5%;
  }
  .hero-actions {
    gap: 22px;
  }
  .section-top h2,
  .home-section > h2 {
    font-size: 30px;
  }
  .guide-feature {
    padding: 27px;
  }
  .guide-feature h3 {
    font-size: 28px;
  }
  .guide-small {
    padding: 22px;
    gap: 14px;
  }
  .guide-small h3 {
    font-size: 19px;
  }
  .guide-links a {
    font-size: 12px;
    padding-right: 15px;
  }
  .guide-links a + a {
    padding-left: 15px;
  }
  .steps {
    gap: 22px;
  }
  .step h3 {
    font-size: 16px;
  }
  .step p {
    font-size: 13px;
  }
  .timeline-item {
    padding-right: 20px;
  }
  .timeline-item h3 {
    font-size: 18px;
  }
  .timeline-item p {
    font-size: 12px;
  }
  .split-content {
    gap: 30px;
  }
  .trust-band {
    padding: 28px;
    gap: 20px;
  }
  .trust-band h2 {
    font-size: 20px;
  }
  .trust-band p {
    font-size: 13px;
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .toc {
    position: static;
    order: -1;
    width: 100%;
    padding: 0 0 15px;
    border: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
  }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 16px 0 8px;
  }
  .toc li {
    max-width: 210px;
  }
  .toc a {
    font-size: 11px;
    margin: 0;
  }
  .toc .mini-link {
    display: none;
  }
  .article-header {
    padding-top: 30px;
  }
  .article-header h1 {
    font-size: 44px;
  }
  .article-intro {
    font-size: 18px;
  }
  .article-section h2 {
    font-size: 26px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 18px 25px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .note-card {
    grid-template-columns: 80px 1fr 20px;
    gap: 20px;
    padding: 23px;
  }
  .note-card h2 {
    font-size: 21px;
  }
}
@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-tools {
    gap: 0;
  }
  .brand {
    gap: 8px;
  }
  .brand-name {
    font-size: 12px;
  }
  .brand-name small {
    font-size: 7px;
    letter-spacing: 0.14em;
  }
  .language > summary {
    padding-inline: 8px;
    gap: 5px;
  }
  .language > summary .icon:first-child {
    display: none;
  }

  .icon-button {
    width: 44px;
  }
  .hero h1 {
    font-size: 36px;
    margin-top: 24px;
    margin: 14px 0;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-art {
    margin-top: 5px;
    margin-bottom: -5px;
  }
  .hero-art figcaption {
    font-size: 8px;
  }
  .hero-actions {
    gap: 19px;
    margin-top: 22px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .button {
    font-size: 12px;
    padding-inline: 16px;
  }
  .section-top {
    display: block;
  }
  .section-top .text-link {
    margin-top: 20px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-feature {
    grid-row: auto;
    min-height: 310px;
  }
  .guide-feature h3 {
    margin-top: 38px;
    font-size: 30px;
  }
  .guide-small h3 {
    font-size: 21px;
  }
  .guide-links {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .guide-links a,
  .guide-links a + a {
    padding: 18px 0;
    border-left: 0;
    font-size: 14px;
  }
  .steps,
  .steps.four,
  .article-section .steps {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0 17px;
  }
  .step h3 {
    margin-top: 3px;
    font-size: 17px;
  }
  .step p {
    grid-column: 2;
    font-size: 14px;
  }
  .step-number {
    grid-row: span 2;
  }
  .timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--border-strong);
  }
  .timeline-item {
    padding: 0 0 25px 25px;
  }
  .timeline-item:before {
    left: -4px;
    top: 8px;
  }
  .timeline-item h3 {
    margin-top: 9px;
    font-size: 19px;
  }
  .timeline-item p {
    font-size: 14px;
  }
  .split-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .split-content h3 {
    font-size: 22px;
  }
  .faq summary {
    font-size: 15px;
  }
  .trust-band {
    display: block;
  }
  .trust-band .text-link {
    margin-top: 20px;
  }
  .article-header h1 {
    font-size: 36px;
  }
  .article-intro {
    font-size: 17px;
  }
  .article-section h2 {
    font-size: 24px;
  }
  .article-section p {
    font-size: 15px;
  }
  .tool-panel {
    padding: 23px;
  }
  .tool-panel h3 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tool-output .result {
    font-size: 25px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-item {
    padding: 16px;
  }
  .shop-item strong {
    font-size: 13px;
  }
  .shop-toolbar .button {
    flex: 1;
  }
  .shop-toolbar select {
    flex: 1 1 140px;
  }
  .shop-bottom {
    flex-wrap: wrap;
  }
  .note-card {
    grid-template-columns: 1fr 20px;
  }
  .note-card .note-art {
    display: none;
  }
  .note-card h2 {
    font-size: 23px;
  }
  .toc li {
    max-width: 170px;
  }
  .data-table {
    margin-inline: -2px;
  }
  .data-table table {
    min-width: 560px;
  }
  .breadcrumb {
    line-height: 1.6;
  }
  .footer-links {
    font-size: 12px;
  }

  .hero {
    padding-top: 4px;
  }
  .hero-quicksteps {
    margin-top: 22px;
    padding-top: 18px;
    gap: 14px;
  }
  .hero-quicksteps small {
    font-size: 11px;
  }
  .utility {
    padding-block: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 360px) {
  .brand {
    flex-shrink: 1;
    min-width: 0;
  }
  .header-tools {
    flex-shrink: 0;
  }
  .brand-name {
    min-width: 0;
    font-size: 10px;
  }
  .brand-name small {
    display: none;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
  }
  .header-tools .icon-button {
    width: 44px;
  }
}

.hero-subtitle {
  display: block;
  font-family: var(--app-font-display);
  color: var(--primary);
  font-size: 0.58em;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.hero-quicksteps {
  padding: 22px 0 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 15px;
  max-width: 560px;
}
.hero-quicksteps li {
  display: flex;
  gap: 17px;
  align-items: start;
}
.hero-quicksteps li > span {
  color: var(--primary);
  font: 11px monospace;
  margin-top: 4px;
}
.hero-quicksteps strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
.hero-quicksteps small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}
.support-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
}
.field-error {
  display: block;
  color: var(--tool-danger);
  font-size: 12px;
  margin-top: 8px;
}
.field input[aria-invalid='true'] {
  border-color: var(--tool-danger);
}
.data-table tbody th {
  text-align: left;
  padding: 19px 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.shop-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  border-block: 1px solid var(--border);
  padding: 18px 0;
  margin: 22px 0;
}
.shop-overview strong {
  color: var(--primary);
  font-size: 26px;
  font-weight: 500;
}
.shop-overview span,
.shop-overview time {
  color: var(--text-muted);
  font-size: 12px;
}
.shop-overview time {
  flex-basis: 100%;
}
.saved-catalog {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.saved-catalog summary {
  cursor: pointer;
  padding: 12px 0;
  color: var(--primary);
  font-size: 14px;
}

.guide-figure {
  max-width: 440px;
  margin: 24px 0 12px;
}
.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.guide-figure figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.guide-figure figcaption a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-figure--capture {
  max-width: 100%;
}
