/* ===== 一页纸系列 · sunbaoxin.site ===== */
:root {
  --c-text: #0f172a;
  --c-text-2: #475569;
  --c-text-3: #94a3b8;
  --c-bg: #ffffff;
  --c-bg-cream: #faf7f2;
  --c-accent: #ff6b35;
  --c-accent-2: #f59e0b;
  --c-primary: #1e40af;
  --c-primary-2: #3b82f6;
  --c-line: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #f4f6fb;
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: 32px 16px;
}
.page {
  max-width: 980px;
  margin: 0 auto;
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 56px 56px;
  position: relative;
  overflow: hidden;
}
.page::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-2);
}
.brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}
.tag {
  font-size: 12px;
  color: var(--c-text-3);
  border: 1px solid var(--c-line);
  padding: 4px 10px;
  border-radius: 999px;
}
h1.head {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
h1.head .icon {
  display: inline-block;
  margin-right: 12px;
}
.sub {
  font-size: 17px;
  color: var(--c-text-2);
  font-weight: 500;
  margin-bottom: 6px;
}
.lede {
  font-size: 16px;
  color: var(--c-text-2);
  background: var(--c-bg-cream);
  padding: 14px 18px;
  border-left: 3px solid var(--c-accent);
  border-radius: 6px;
  margin: 18px 0 28px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
h2::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--c-accent);
  border-radius: 2px;
}
ul.clean {
  list-style: none;
  padding-left: 0;
}
ul.clean li {
  padding: 4px 0 4px 18px;
  position: relative;
  color: var(--c-text-2);
}
ul.clean li::before {
  content: "•";
  color: var(--c-accent);
  position: absolute;
  left: 4px;
  font-weight: bold;
}
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.box {
  background: #f8fafc;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.box h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}
.box p, .box li {
  font-size: 14px;
  color: var(--c-text-2);
}
table.t {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
table.t th, table.t td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
table.t th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--c-text);
}
table.t td {
  color: var(--c-text-2);
}
.deliver {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
}
.deliver h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #c2410c;
}
.deliver ul li {
  color: var(--c-text);
}
.story {
  background: var(--c-bg-cream);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: 14px;
  color: var(--c-text-2);
  border-left: 3px solid var(--c-accent-2);
}
.story strong {
  color: var(--c-text);
  display: block;
  margin-bottom: 4px;
}
.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.price .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-accent);
}
.price .num small {
  font-size: 13px;
  color: var(--c-text-3);
  font-weight: 400;
  margin-left: 6px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--c-text-3);
}
.foot a {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 500;
}
.warn {
  font-size: 12px;
  color: var(--c-text-3);
  margin-top: 4px;
  font-style: italic;
}

@media print {
  body { background: #fff; padding: 0; }
  .page { box-shadow: none; border-radius: 0; padding: 32px 40px; max-width: 100%; }
  .cols-2 { gap: 20px; }
}

@media (max-width: 720px) {
  .page { padding: 32px 24px; }
  h1.head { font-size: 28px; }
  .cols-2 { grid-template-columns: 1fr; gap: 16px; }
  .top { flex-direction: column; gap: 10px; }
}