/* 第1套·根域名：暖橡木档案柜 / Manila file cabinet */
:root {
  --fc-oak: #8b5a2b;
  --fc-oak-mid: #a6723d;
  --fc-oak-deep: #5c3818;
  --fc-oak-edge: #3d2410;
  --fc-manila: #f3e2c1;
  --fc-manila-deep: #e4c894;
  --fc-tab: #d7b57a;
  --fc-ink: #3d2b1f;
  --fc-muted: #6b4f3a;
  --fc-stamp: #c41e3a;
  --fc-stamp-deep: #8e1228;
  --fc-paper: #fff8ea;
  --fc-line: #c9a66b;
  --fc-ok: #2f6a4a;
  --fc-metal: #b8a07a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--fc-oak-deep);
}

body {
  margin: 0;
  color: var(--fc-ink);
  font-family: "Songti SC", "STSong", "SimSun", "宋体", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.88;
  background-color: #7a4e22;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(61, 36, 16, 0.12) 0,
      rgba(61, 36, 16, 0.12) 1px,
      transparent 1px,
      transparent 22px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 232, 190, 0.06) 0,
      rgba(255, 232, 190, 0.06) 2px,
      transparent 2px,
      transparent 18px
    ),
    linear-gradient(180deg, #b07a42 0%, #8b5a2b 38%, #6a401c 100%);
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--fc-stamp);
  text-underline-offset: 3px;
}

p {
  margin: 0 0 0.92em;
}

h1,
h2,
h3 {
  font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-weight: 700;
  line-height: 1.38;
  color: var(--fc-ink);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: 0.03em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.3vw, 25px);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--fc-stamp);
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--fc-stamp-deep);
}

.fc-cabinet {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto 36px;
  background:
    linear-gradient(180deg, #c49256 0%, #9a6736 14%, #8b5a2b 100%);
  border: 10px solid var(--fc-oak-edge);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 3px #d4a86a,
    inset 0 0 0 6px #6b4220,
    0 18px 0 rgba(40, 22, 8, 0.28);
}

.fc-header {
  position: relative;
  padding: 16px 22px 12px;
  background:
    linear-gradient(180deg, #d2a15f 0%, #b07a42 70%, #8f5f2e 100%);
  border-bottom: 8px solid var(--fc-oak-edge);
}

.fc-header::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      #5c3818 0 10px,
      #c4a574 10px 14px,
      #5c3818 14px 24px
    );
}

.fc-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff8ea;
  text-decoration: none;
  font-size: 30px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-shadow: 0 2px 0 #5c3818;
}

.fc-brand:hover {
  color: #fff1d0;
}

.fc-brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.fc-brand-note {
  margin: 0;
  color: #f3e2c1;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.fc-stamp {
  position: relative;
  width: 88px;
  height: 88px;
  flex: none;
  color: var(--fc-stamp);
}

.fc-stamp svg {
  width: 88px;
  height: 88px;
}

.fc-stamp span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(-12deg);
  color: var(--fc-stamp);
}

.fc-drawer {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  min-height: 640px;
}

.fc-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 28px 0 28px 12px;
  background:
    linear-gradient(90deg, #6b4220 0%, #8b5a2b 55%, #7a4b24 100%);
  border-right: 6px solid var(--fc-oak-edge);
}

.fc-nav a {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--fc-ink);
  background: var(--fc-tab);
  border: 2px solid #5c3818;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 14px 12px 14px 18px;
  margin-right: -6px;
  box-shadow: inset 0 2px 0 #f3e2c1;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fc-nav a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--fc-metal);
  box-shadow: inset 0 0 0 1px #5c3818;
}

.fc-nav a:hover {
  background: #f3e2c1;
  color: var(--fc-stamp-deep);
}

.fc-nav a.fc-on,
.fc-nav a[aria-current="page"],
.fc-nav a.is-current {
  background: var(--fc-manila);
  color: var(--fc-stamp);
  font-weight: 700;
  box-shadow:
    inset 4px 0 0 var(--fc-stamp),
    inset 0 2px 0 #fff8ea;
  z-index: 2;
}

.fc-stack {
  padding: 18px 18px 28px;
  background:
    linear-gradient(180deg, #6b4220 0 10px, #5c3818 10px 14px, #4a2e14 14px);
}

.fc-file {
  position: relative;
  background: var(--fc-manila);
  border: 1px solid #c9a66b;
  border-radius: 0 6px 6px 6px;
  padding: 28px 26px 20px;
  margin: 0 0 22px;
  box-shadow:
    0 1px 0 #fff4dc,
    0 10px 0 -6px #e4c894,
    0 18px 0 -12px #d7b57a,
    0 8px 16px rgba(40, 22, 8, 0.18);
}

.fc-file::before {
  content: attr(data-tab);
  position: absolute;
  left: -1px;
  top: -18px;
  background: var(--fc-tab);
  color: var(--fc-ink);
  border: 1px solid #c9a66b;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 3px 16px 2px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.fc-hero {
  background:
    linear-gradient(180deg, #fff8ea 0%, var(--fc-manila) 48%);
}

.fc-kicker {
  margin: 0 0 8px;
  color: var(--fc-muted);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.fc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 6px;
}

.js-dl,
.fc-btn,
.fc-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.js-dl,
.fc-btn {
  background: var(--fc-stamp);
  color: #fff8ea;
  border: 2px solid var(--fc-stamp-deep);
  box-shadow: 0 2px 0 #5c3818;
}

.js-dl:hover,
.fc-btn:hover {
  background: var(--fc-stamp-deep);
  color: #fff;
}

.fc-btn-ghost {
  background: #fff8ea;
  color: var(--fc-stamp-deep);
  border: 2px solid var(--fc-stamp);
}

.fc-btn-ghost:hover {
  background: #f8d7c4;
  color: var(--fc-stamp-deep);
}

.js-dl svg,
.fc-btn svg,
.fc-btn-ghost svg {
  width: 18px;
  height: 18px;
}

.fc-grid-2,
.fc-grid-3,
.fc-grid-4 {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.fc-grid-2 { grid-template-columns: 1fr 1fr; }
.fc-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.fc-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.fc-card,
.fc-quote,
.fc-stat,
.fc-faq {
  background: var(--fc-paper);
  border: 1px solid var(--fc-line);
  padding: 16px 16px 12px;
  box-shadow: inset 0 1px 0 #fff;
}

.fc-card h3,
.fc-faq h3 {
  margin-top: 0;
}

.fc-card p,
.fc-faq p,
.fc-quote p,
.fc-stat p {
  margin-bottom: 0.7em;
}

.fc-card p:last-child,
.fc-faq p:last-child,
.fc-quote p:last-child {
  margin-bottom: 0;
}

.fc-quote footer {
  margin-top: 10px;
  color: var(--fc-muted);
  font-size: 14px;
}

.fc-stat {
  text-align: center;
}

.fc-stat b {
  display: block;
  color: var(--fc-stamp);
  font-size: 26px;
  letter-spacing: 0.04em;
}

.fc-stat span {
  color: var(--fc-muted);
  font-size: 14px;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 16px;
  background: var(--fc-paper);
}

.fc-table th,
.fc-table td {
  border: 1px solid var(--fc-line);
  padding: 10px 12px;
  vertical-align: top;
}

.fc-table th {
  background: #ead4a4;
  color: var(--fc-stamp-deep);
  text-align: left;
}

.fc-cta {
  margin-top: 20px;
  padding: 20px 18px;
  text-align: center;
  background: #fff1d6;
  border: 2px dashed var(--fc-stamp);
}

.fc-cta p {
  margin-bottom: 12px;
}

.fc-notice {
  background: #fff1d6;
  border: 1px dashed var(--fc-stamp);
  color: var(--fc-stamp-deep);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 15px;
}

.fc-clip {
  float: right;
  margin: -8px 0 8px 12px;
}

.fc-foot {
  padding: 22px 20px 28px;
  text-align: center;
  color: #f3e2c1;
  font-size: 14px;
  background:
    linear-gradient(180deg, #6b4220 0%, #4a2e14 100%);
  border-top: 8px solid var(--fc-oak-edge);
}

.fc-foot .fc-safe {
  color: #b7e0c6;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fc-foot p {
  margin: 8px 0;
}

.fc-foot nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.fc-foot nav a {
  color: #f3e2c1;
}

.fc-bolts {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 920px) {
  .fc-drawer {
    grid-template-columns: 1fr;
  }

  .fc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 16px 12px 0;
    border-right: none;
    border-bottom: 6px solid var(--fc-oak-edge);
  }

  .fc-nav a {
    border-right: 2px solid #5c3818;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    margin-right: 0;
    padding: 10px 16px 12px;
  }

  .fc-nav a::before {
    left: 50%;
    top: 8px;
    margin-top: 0;
    margin-left: -4px;
  }

  .fc-grid-2,
  .fc-grid-3,
  .fc-grid-4 {
    grid-template-columns: 1fr;
  }

  .fc-brand {
    font-size: 24px;
    letter-spacing: 0.06em;
  }

  .fc-file {
    padding: 24px 16px 16px;
  }

  .fc-stamp {
    width: 72px;
    height: 72px;
  }

  .fc-stamp svg {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 560px) {
  .fc-cabinet {
    width: calc(100% - 10px);
    margin: 8px auto 20px;
    border-width: 6px;
  }

  h1 {
    font-size: 22px;
  }

  .fc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fc-clip {
    float: none;
    display: block;
    margin: 0 0 10px;
  }

  .fc-table {
    font-size: 14px;
  }
}
