/* 真寸 PrintMeTrue — A4 1:1 printable paper goods */

:root {
  --paper: #f2eee3;
  --paper-2: #e9e3d3;
  --sheet: #fdfbf4;
  --ink: #17140f;
  --ink-soft: #5f5749;
  --ink-faint: #8a8272;
  --red: #c74427;
  --red-deep: #a5351d;
  --line: #d7cfbc;
  --line-dark: #b8ae98;
  --green: #3f5b46;

  --serif: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --mm: 3.7795275591px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint paper tooth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

::selection { background: var(--red); color: var(--sheet); }

.wrap {
  width: min(var(--maxw), calc(100% - 72px));
  margin: 0 auto;
}

/* ---------- top ruler band ---------- */

.ruler-band {
  height: 26px;
  border-bottom: 1px solid var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px);
  background-size: 100% 6px, 100% 11px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
}

/* ---------- header ---------- */

.site-head {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(242, 238, 227, .92);
  backdrop-filter: blur(10px);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--red);
}

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.brand-en {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--ink-soft);
  line-height: 1;
  margin-top: 5px;
}

.brand-text { display: flex; flex-direction: column; }

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: .04em;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color .18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right .22s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  background: transparent;
  transition: background .18s, color .18s;
  flex: none;
}

.head-cta:hover { background: var(--ink); color: var(--paper); }
.head-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 48px;
  padding-top: 84px;
  padding-bottom: 92px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--red-deep);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(46px, 5.7vw, 82px);
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0 0 26px;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: -.02em;
  right: -.02em;
  bottom: .1em;
  height: .1em;
  background: var(--red);
  opacity: .28;
  z-index: -1;
}

.hero-sub {
  max-width: 33em;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 34px;
}

.hero-sub strong { color: var(--ink); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  font-size: 15px;
  letter-spacing: .03em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s, color .16s;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 rgba(199, 68, 39, .9);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(199, 68, 39, .9);
}

.btn-primary:active { transform: translate(1px, 1px); box-shadow: 3px 3px 0 rgba(199, 68, 39, .9); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--ink-soft);
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn .arrow { font-family: var(--mono); font-size: 15px; transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg { width: 14px; height: 14px; color: var(--green); flex: none; }

/* hero paper art */

.hero-art {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-stack {
  position: relative;
  width: 300px;
  height: 410px;
  transform: rotate(-5deg);
}

.paper-back,
.paper-front {
  position: absolute;
  inset: 0;
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 10px 14px 30px rgba(23, 20, 15, .14);
}

.paper-back {
  transform: translate(16px, 16px) rotate(3deg);
  background: var(--paper-2);
  border-color: var(--line-dark);
  box-shadow: none;
}

.paper-front {
  padding: 22px 22px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.paper-head {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.paper-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 2px;
  letter-spacing: .06em;
}

.paper-sub {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}

.paper-lines {
  flex: 1;
  margin-top: 14px;
  background-image: repeating-linear-gradient(180deg, transparent 0 17px, #dcd5c4 17px 18px);
  opacity: .9;
}

.paper-ruler {
  margin: 0 -22px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  padding: 6px 0 4px;
}

.paper-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  padding: 8px 0 12px;
}

.stamp {
  position: absolute;
  top: 19%;
  right: 0;
  width: 78px;
  height: 78px;
  border: 2px solid var(--red);
  color: var(--red-deep);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(8deg);
  font-family: var(--mono);
  line-height: 1;
  background: rgba(242, 238, 227, .75);
  z-index: 3;
}

.stamp b { font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.stamp span { display: block; font-size: 7px; letter-spacing: .18em; margin-top: 6px; }

.dim {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.dim::before,
.dim::after {
  content: "";
  position: absolute;
  background: var(--line-dark);
}

.dim-h { bottom: 14px; left: 50%; transform: translateX(-50%); }
.dim-h::before { left: -38px; top: 50%; width: 32px; height: 1px; }
.dim-h::after { right: -38px; top: 50%; width: 32px; height: 1px; }

.dim-v {
  top: 50%;
  left: -14px;
  transform: translateY(-50%) rotate(-90deg);
}
.dim-v::before { left: -38px; top: 50%; width: 32px; height: 1px; }
.dim-v::after { right: -38px; top: 50%; width: 32px; height: 1px; }

/* ---------- ticker ---------- */

.ticker {
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 48s linear infinite;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.ticker-track span { padding: 0 26px; opacity: .72; }
.ticker-track span::before { content: "+"; margin-right: 26px; color: var(--red); opacity: 1; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding: 92px 0; border-bottom: 1px solid var(--line-dark); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow .num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--red);
  font-size: 9px;
  letter-spacing: 0;
  color: var(--red-deep);
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.22;
  margin: 0;
  letter-spacing: .01em;
  font-weight: 700;
}

.section-head p {
  max-width: 30em;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .04em;
  transition: all .16s ease;
}

.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter .count { font-family: var(--mono); font-size: 9px; opacity: .55; margin-left: 6px; }

/* resource grid */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--sheet);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
  border-color: var(--ink);
}

.card.is-hidden { display: none; }

.thumb {
  height: 156px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 18px;
}

.thumb-inner {
  width: 100%;
  height: 100%;
  background: var(--sheet);
  border: 1px solid var(--line-dark);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 9px;
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 21px;
  margin: 0 0 7px;
  font-weight: 700;
  letter-spacing: .03em;
}

.card-body p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.card-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-link .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  transition: background .18s;
}

.card:hover .card-link .rule { background: var(--red); }

/* thumbs */

.t-ruler {
  width: 100%;
  height: 58px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  position: relative;
  margin-top: 30px;
  box-shadow: 3px 4px 0 rgba(23, 20, 15, .08);
}
.t-ruler::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px);
  background-size: 100% 14px, 100% 24px;
  background-position: 0 0, 0 0;
  background-repeat: repeat-x;
  opacity: .85;
}
.t-ruler::after {
  content: "0   1   2   3   4   5";
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 4.2px;
  color: var(--ink-soft);
}

.t-grid {
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(90deg, #cfc6b3 0 1px, transparent 1px 10px),
    repeating-linear-gradient(180deg, #cfc6b3 0 1px, transparent 1px 10px);
}

.t-dots {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, var(--ink-soft) 0 .9px, transparent 1.1px);
  background-size: 12px 12px;
  background-position: 6px 6px;
  opacity: .65;
}

.t-lines {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(180deg, transparent 0 17px, #c8bfab 17px 18px);
}
.t-lines::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #dba393;
}

.t-protractor svg { width: 118px; height: auto; color: var(--ink); }
.t-staff svg { width: 100%; height: auto; color: var(--ink); }

.t-tian svg, .t-mi svg { width: 128px; height: auto; color: #b8452b; }

.t-planner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 6px;
}
.t-planner i {
  display: block;
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--ink);
  background-image: repeating-linear-gradient(180deg, transparent 0 9px, var(--line) 9px 10px);
}

.t-calib { width: 100%; }
.t-calib .bar {
  height: 26px;
  border: 1px solid var(--ink);
  background: #fffdf7;
  position: relative;
  margin-bottom: 14px;
}
.t-calib .bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 6px);
  background-size: 100% 9px;
  background-repeat: repeat-x;
}
.t-calib .bar::after {
  content: "100 mm";
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--ink-soft);
}
.t-calib .ok {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--green);
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

/* ---------- calibration strip ---------- */

.calib {
  background: var(--ink);
  color: var(--paper);
  padding: 74px 0;
  border-bottom: 1px solid var(--ink);
}

.calib .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.calib .eyebrow { color: #e7a08c; }
.calib .eyebrow .num { border-color: #e7a08c; color: #e7a08c; }

.calib h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.28;
  margin: 0 0 18px;
  font-weight: 700;
}

.calib p { color: #cfc6b5; margin: 0 0 12px; max-width: 34em; font-size: 15px; }

.calib a.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  border-bottom: 1px solid #e7a08c;
  padding-bottom: 4px;
  color: #f3b7a6;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.calib a.text-link:hover { color: #fff; border-color: #fff; }

.settings-card {
  border: 1px solid #4a443a;
  padding: 26px 28px;
  background: #201c16;
  font-family: var(--mono);
}

.settings-card .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed #3d382f;
  font-size: 11px;
  letter-spacing: .08em;
}

.settings-card .row:last-child { border-bottom: 0; }
.settings-card .row span { color: #9d9383; }
.settings-card .row b { font-weight: 500; color: var(--paper); letter-spacing: .04em; }
.settings-card .row b.hot { color: #f0a08a; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-dark);
  background: var(--sheet);
}

.step {
  padding: 34px 32px 38px;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child { border-right: 0; }

.step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red-deep);
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}

.step .n::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.step h3 {
  font-family: var(--serif);
  font-size: 23px;
  margin: 0 0 9px;
  font-weight: 700;
  letter-spacing: .03em;
}

.step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.step .glyph {
  position: absolute;
  right: 26px;
  top: 28px;
  font-family: var(--mono);
  font-size: 40px;
  color: var(--line);
  line-height: 1;
  user-select: none;
}

/* ---------- faq ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}

.faq-list { border-top: 1px solid var(--line-dark); }

details {
  border-bottom: 1px solid var(--line-dark);
}

details summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  letter-spacing: .01em;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 300;
  color: var(--red);
  transition: transform .2s;
}

details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details .answer {
  padding: 0 40px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 56em;
}

details .answer p { margin: 0 0 10px; }
details .answer p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: #bdb4a4;
  padding: 56px 0 34px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #37322a;
}

.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand .brand-mark { color: #e0775e; width: 42px; height: 42px; }
.foot-brand .brand-name { color: var(--paper); }
.foot-brand .brand-en { color: #8d8474; }
.foot-brand p { margin: 16px 0 0; font-size: 13px; line-height: 1.7; max-width: 26em; color: #948b7b; }

.foot-col h4 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: #7d7464;
  margin: 6px 0 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.foot-col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: #bdb4a4;
}

.foot-col a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: #7d7464;
  flex-wrap: wrap;
}

.foot-bottom .scale { display: flex; gap: 16px; }
.foot-bottom .scale span::before { content: "—"; margin-right: 6px; color: #c74427; }

/* ---------- print page shell ---------- */

.print-page { background: #ded8ca; }

.print-page .site-head .wrap { height: 66px; }
.print-page .brand-mark { width: 30px; height: 30px; }
.print-page .brand-name { font-size: 20px; }
.print-page .brand-en { font-size: 8px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-left: 10px;
}

.back-link:hover { color: var(--ink); }

.print-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 238, 227, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.print-bar .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.print-title h1 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
}

.print-title p {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

.controls {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}

.control-group { display: flex; flex-direction: column; gap: 6px; }

.control-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.chips { display: flex; border: 1px solid var(--line-dark); background: var(--sheet); }

.chip {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  cursor: pointer;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  transition: background .15s, color .15s;
}

.chip:last-child { border-right: 0; }
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--ink); color: var(--paper); }

.bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-btn {
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: var(--sheet);
  font-size: 13px;
  letter-spacing: .02em;
  transition: background .15s, color .15s;
}

.download-btn:hover { background: var(--ink); color: var(--paper); }

.print-btn {
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red-deep);
  font-size: 14px;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(23, 20, 15, .25);
  transition: transform .15s, box-shadow .15s;
}

.print-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(23, 20, 15, .25); }
.print-btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 rgba(23, 20, 15, .25); }

.preview {
  padding: 52px 24px 80px;
  min-height: 60vh;
  background:
    linear-gradient(180deg, rgba(23,20,15,.04), transparent 120px),
    #ded8ca;
  overflow: hidden;
}

.page-wrap {
  margin: 0 auto 42px;
  position: relative;
  filter: drop-shadow(0 18px 30px rgba(23, 20, 15, .18));
}

.page-wrap:last-child { margin-bottom: 0; }

.sheet {
  width: 210mm;
  height: 297mm;
  background: #fff;
  position: relative;
  overflow: hidden;
  transform-origin: top left;
  color: #111;
  font-family: var(--sans);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.sheet.landscape { width: 297mm; height: 210mm; }
.sheet svg { display: block; overflow: visible; }

.sheet .credit {
  position: absolute;
  right: 8mm;
  bottom: 5.5mm;
  font-family: var(--mono);
  font-size: 6.5pt;
  color: #9a9384;
  letter-spacing: .06em;
}

.sheet .page-tag {
  position: absolute;
  left: 8mm;
  bottom: 5.5mm;
  font-family: var(--mono);
  font-size: 6.5pt;
  color: #9a9384;
  letter-spacing: .06em;
}

.print-hint {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
  background: var(--sheet);
}

.print-hint div {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .05em;
  color: var(--ink-soft);
}

.print-hint div:last-child { border-right: 0; }
.print-hint b { color: var(--ink); font-weight: 600; }
.print-hint .k {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 8px;
  flex: none;
  border-radius: 50%;
}

.print-foot {
  border-top: 1px solid var(--line-dark);
  padding: 28px 0 40px;
  background: #ded8ca;
}

.print-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.print-foot a { border-bottom: 1px solid var(--line-dark); }
.print-foot a:hover { border-color: var(--ink); }

/* ---------- planner sheet ---------- */

.planner {
  position: absolute;
  inset: 8mm 8mm 12mm;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: #111;
}

.planner-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #111;
  padding-bottom: 3mm;
  margin-bottom: 5mm;
}

.planner-head h2 {
  font-family: var(--serif);
  font-size: 26pt;
  margin: 0;
  letter-spacing: .1em;
  line-height: 1;
}

.planner-head .ph-right {
  font-family: var(--mono);
  font-size: 7pt;
  letter-spacing: .1em;
  color: #777;
  text-align: right;
  line-height: 1.8;
}

.planner-head .ph-right b {
  display: inline-block;
  width: 17mm;
  height: 3.2mm;
  border-bottom: 1px solid #bbb;
}

.planner-head .ph-right b.yr { width: 8mm; }

.planner-priorities {
  border: 1px solid #111;
  padding: 3mm 4mm 4mm;
  margin-bottom: 5mm;
}

.planner-priorities h3 {
  font-family: var(--mono);
  font-size: 7.5pt;
  letter-spacing: .16em;
  margin: 0 0 2mm;
  display: flex;
  justify-content: space-between;
  color: #555;
}

.planner-priorities h3 span { letter-spacing: .05em; font-weight: 400; }

.planner-priorities ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4mm;
}

.planner-priorities li {
  display: flex;
  gap: 2.5mm;
  align-items: flex-start;
  font-size: 10pt;
}

.planner-priorities li .box {
  width: 4.5mm;
  height: 4.5mm;
  border: 1px solid #111;
  flex: none;
  margin-top: .6mm;
}

.planner-priorities li .line {
  flex: 1;
  border-bottom: 1px dotted #999;
  height: 4.5mm;
}

.planner-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #111;
  border-right: 0;
  flex: 1;
  min-height: 0;
}

.planner-day {
  border-right: 1px solid #111;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.planner-day h4 {
  font-family: var(--serif);
  font-size: 10pt;
  margin: 0;
  padding: 2mm 0;
  text-align: center;
  border-bottom: 1px solid #111;
  letter-spacing: .12em;
  font-weight: 700;
}

.planner-day h4 em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 5.5pt;
  color: #888;
  letter-spacing: .12em;
  margin-top: 1mm;
}

.planner-day .day-body {
  flex: 1;
  margin: 0 2.5mm;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.day-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.day-lines i {
  flex: 1;
  border-bottom: 0.2mm solid #dcdcdc;
}

.planner-day .day-note {
  border-top: 1px dashed #ccc;
  margin: 0 2.5mm;
  height: 16mm;
}

.planner-bottom {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4mm;
  margin-top: 5mm;
  height: 28mm;
}

.planner-box {
  border: 1px solid #111;
  padding: 2.5mm 3mm;
  position: relative;
}

.planner-box h3 {
  font-family: var(--mono);
  font-size: 7pt;
  letter-spacing: .16em;
  margin: 0 0 2mm;
  color: #555;
  font-weight: 400;
}

.planner-box .rule-lines {
  position: absolute;
  left: 3mm;
  right: 3mm;
  top: 7mm;
  bottom: 2.5mm;
  display: flex;
  flex-direction: column;
}

.planner-box .rule-lines i {
  flex: 1;
  border-bottom: 0.2mm solid #dcdcdc;
}

/* ---------- sheet content ---------- */

.sheet-title {
  position: absolute;
  left: 9mm;
  right: 9mm;
  top: 13mm;
}

.st-kicker {
  font-family: var(--mono);
  font-size: 6.5pt;
  letter-spacing: .18em;
  color: var(--red-deep);
  text-transform: uppercase;
  line-height: 1;
}

.st-title {
  font-family: var(--serif);
  font-size: 24pt;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.15;
  margin: 3mm 0 2mm;
  color: #111;
}

.st-sub {
  margin: 0;
  font-size: 8.5pt;
  letter-spacing: .03em;
  color: var(--ink-soft);
}

.sheet-head {
  position: absolute;
  left: 9mm;
  right: 9mm;
  top: 8mm;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8mm;
}

.sheet-head h2 {
  font-family: var(--serif);
  font-size: 19pt;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
  margin: 2.5mm 0 0;
  color: #111;
}

.sheet-meta {
  font-size: 8pt;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-bottom: 1mm;
}

.sheet-meta i {
  display: inline-block;
  width: 27mm;
  border-bottom: 0.3mm solid #b9b09c;
  height: 3.5mm;
  vertical-align: baseline;
}

.sheet-stamp {
  position: absolute;
  right: 10mm;
  top: 13mm;
  width: 26mm;
  height: 26mm;
  border: 0.7mm solid var(--red);
  color: var(--red-deep);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--mono);
  line-height: 1;
  transform: rotate(3deg);
}

.sheet-stamp b { font-size: 16pt; font-weight: 600; letter-spacing: -.02em; }
.sheet-stamp span { display: block; font-size: 5.5pt; letter-spacing: .18em; margin-top: 2mm; }

.ruler-pos { position: absolute; }
.ruler-pos svg { display: block; }

.sheet-note {
  position: absolute;
  margin: 0;
  font-size: 8.5pt;
  line-height: 1.85;
  color: var(--ink-soft);
}

.sheet-note b { color: #111; font-weight: 600; }

.side-note {
  position: absolute;
  border-left: 0.5mm solid var(--red);
  padding-left: 4mm;
}

.side-kicker {
  font-family: var(--mono);
  font-size: 6pt;
  letter-spacing: .16em;
  color: var(--red-deep);
}

.side-note h3 {
  font-family: var(--serif);
  font-size: 13pt;
  margin: 1.5mm 0 1.5mm;
  letter-spacing: .06em;
}

.side-note p {
  margin: 0;
  font-size: 7.6pt;
  line-height: 1.8;
  color: var(--ink-soft);
}

.tip-row {
  position: absolute;
  left: 9mm;
  right: 9mm;
  bottom: 16mm;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9mm;
  border-top: 0.3mm solid #17140f;
  padding-top: 4.5mm;
}

.tip h4 {
  font-family: var(--mono);
  font-size: 6.5pt;
  letter-spacing: .12em;
  margin: 0 0 2mm;
  color: #111;
  font-weight: 600;
}

.tip p {
  margin: 0;
  font-size: 7.7pt;
  line-height: 1.8;
  color: var(--ink-soft);
}

.paper-label {
  position: absolute;
  left: 9mm;
  top: 4mm;
  font-family: var(--mono);
  font-size: 6pt;
  letter-spacing: .14em;
  color: #9a9384;
}

.strip-no {
  position: absolute;
  font-family: var(--mono);
  font-size: 8pt;
  letter-spacing: .1em;
  color: #b3aa96;
}

.calib-caption {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 8pt;
  letter-spacing: .12em;
  color: var(--ink-soft);
}

.calib-square {
  position: absolute;
  text-align: center;
}

.calib-square span {
  display: block;
  font-family: var(--mono);
  font-size: 7pt;
  letter-spacing: .1em;
  color: var(--ink-faint);
  margin-top: 1mm;
}

.calib-verdict {
  position: absolute;
  left: 0;
  right: 0;
  top: 185mm;
  display: flex;
  justify-content: center;
  gap: 8mm;
  font-size: 8.5pt;
  color: var(--ink-soft);
}

.calib-verdict span {
  border: 0.3mm solid #b9b09c;
  padding: 2.5mm 5mm;
}

.calib-steps {
  position: absolute;
  left: 9mm;
  right: 9mm;
  top: 202mm;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5mm 10mm;
  border-top: 0.4mm solid #17140f;
  padding-top: 5mm;
}

.calib-step { display: flex; gap: 4mm; }

.calib-step .cn {
  flex: none;
  font-family: var(--mono);
  font-size: 10pt;
  color: var(--red-deep);
  line-height: 1.3;
}

.calib-step h4 {
  font-size: 9pt;
  margin: 0 0 1mm;
  letter-spacing: .04em;
}

.calib-step p {
  margin: 0;
  font-size: 7.5pt;
  line-height: 1.75;
  color: var(--ink-soft);
}

.calib-settings {
  position: absolute;
  left: 9mm;
  right: 9mm;
  bottom: 14mm;
  border: 0.35mm solid #17140f;
  padding: 3mm 5mm;
  display: flex;
  align-items: center;
  gap: 6mm;
  font-family: var(--mono);
  font-size: 7.5pt;
  letter-spacing: .04em;
}

.calib-settings span {
  color: var(--red-deep);
  letter-spacing: .14em;
  margin-right: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .wrap { gap: 30px; }
  .hero-art { transform: scale(.9); }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .nav { display: none; }
  .site-head .wrap { height: 68px; }
  .head-cta { margin-left: auto; }
  .print-page .head-cta { display: none; }
  .back-link { white-space: nowrap; margin-left: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 64px; }
  .hero-art { min-height: 420px; order: 2; }
  .hero-copy { order: 1; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .calib .wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .print-hint { grid-template-columns: 1fr; }
  .print-hint div { border-right: 0; border-bottom: 1px solid var(--line); }
  .print-hint div:last-child { border-bottom: 0; }
  .controls { margin-left: 0; width: 100%; }
  .bar-actions { width: 100%; }
  .bar-actions .download-btn,
  .bar-actions .print-btn { flex: 1; justify-content: center; margin-left: 0; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: clamp(38px, 10.5vw, 54px); }
  .hero-actions .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .thumb { height: 170px; }
  .hero-art { transform: scale(.78); min-height: 360px; }
  .stamp { right: -6px; }
  .foot-top { grid-template-columns: 1fr; }
  .preview { padding: 30px 10px 50px; }
  .print-bar .wrap { gap: 14px; }
  .print-title h1 { font-size: 21px; }
  .control-group { width: 100%; }
  .chips { width: 100%; }
  .chip { flex: 1; }
  .bar-actions { width: 100%; }
  .bar-actions .download-btn,
  .bar-actions .print-btn { width: auto; flex: 1; }
  .print-bar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- print ---------- */

@media print {
  body { background: #fff !important; }
  body::before, .ruler-band, .site-head, .print-bar, .preview > .print-hint,
  .print-foot, .page-note { display: none !important; }
  body::before { display: none !important; }

  .preview { padding: 0 !important; background: #fff !important; overflow: visible; display: block; }

  .page-wrap {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    filter: none !important;
  }

  .sheet {
    transform: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    break-after: page;
    page-break-after: always;
  }

  .page-wrap:last-child .sheet { break-after: auto; page-break-after: auto; }
  .sheet.landscape { width: 297mm; height: 210mm; }
}
