/* 大黑AI速报 · 介绍站 —— 编辑部报纸版面 V2
   米白纸底 + 墨色 + 主题橙；标题思源宋体；手机样机全部代码绘制 */

:root {
  --paper: #f6f3ea;
  --paper-deep: #efeadb;
  --card: #fffdf8;
  --ink: #16130e;
  --ink-soft: #3f3b33;
  --muted: #7a7364;
  --line: #ddd6c6;
  --orange: #ff6b00;
  --orange-deep: #e85d04;
  --seal: #c73e1d;
  --feishu-blue: #3370ff;
  --serif: 'Noto Serif SC', 'Songti SC', SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'SF Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;
  --shadow: 0 22px 48px rgba(22, 19, 14, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 纸张噪点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .masthead, .nav, .footer { position: relative; z-index: 1; }

img { max-width: 100%; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
}

h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: 1px; line-height: 1.25; }
h3 { font-size: 27px; font-weight: 900; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
}

.section { padding: 96px 0; }
.section-paper { background: var(--paper-deep); }

.section-head { max-width: 680px; margin-bottom: 54px; }

.section-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--orange-deep);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 16px; }

/* ---------- 顶部阅读进度 ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange);
  z-index: 99;
}

/* ---------- 刊头 ---------- */

.masthead {
  background: var(--ink);
  color: rgba(246, 243, 234, .85);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
}

.masthead-inner { display: flex; justify-content: space-between; padding: 7px 0; }

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 234, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }

.brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand em { font-style: normal; color: var(--orange-deep); }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--orange-deep); text-decoration: none; }
.nav-links a.active { color: var(--orange-deep); border-bottom-color: var(--orange); }
.nav-github { font-family: var(--mono); font-size: 13px !important; }

.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- 头版 ---------- */

.front { position: relative; padding: 64px 0 72px; overflow: hidden; }

.front-mark {
  position: absolute;
  right: -3%;
  bottom: -6%;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(180px, 26vw, 380px);
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(22, 19, 14, .08);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.front-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.front-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
}

.front-date {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  margin-bottom: 26px;
}

.front-date b { color: var(--orange-deep); }

.front-title {
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 2px;
  color: var(--ink);
}

.front-title .line { display: block; overflow: hidden; padding: .04em 0; }

.front-title .line > span {
  display: inline-block;
  transform: translateY(118%);
  animation: lineUp .9s cubic-bezier(.22, .9, .24, 1) forwards;
}

.front-title .line:nth-child(2) > span { animation-delay: .13s; }
.front-title .line:nth-child(3) > span { animation-delay: .26s; }

.front-title em { font-style: normal; color: var(--orange); }

@keyframes lineUp { to { transform: translateY(0); } }

.front-deck { max-width: 520px; margin-top: 24px; font-size: 16.5px; }

.front-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: transform .16s, box-shadow .16s, background .16s, color .16s, border-color .16s;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; box-shadow: 0 12px 26px rgba(22, 19, 14, .25); }

.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); box-shadow: 0 12px 26px rgba(255, 107, 0, .3); }

.btn-line-dark { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-line-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-copy {
  background: var(--paper);
  border: 1.5px dashed var(--orange-deep);
  color: var(--orange-deep);
  width: 100%;
}
.btn-copy:hover { background: #fff; }

/* ---------- 手机样机（代码绘制） ---------- */

.phone {
  width: 100%;
  max-width: 272px;
  margin: 0 auto;
  border: 8px solid var(--ink);
  border-radius: 40px;
  background: #fff;
  overflow: hidden;
  box-shadow: 22px 26px 0 rgba(22, 19, 14, .08), var(--shadow);
}

.p-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}

.p-icons { display: flex; gap: 6px; align-items: center; }
.p-sig { font-style: normal; font-size: 8px; letter-spacing: -1px; color: var(--ink); }

.p-batt {
  width: 19px;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 2.5px;
  position: relative;
  display: inline-block;
}

.p-batt::before {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  background: var(--ink);
}

.p-batt::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: var(--ink);
  border-radius: 0 1px 1px 0;
}

.p-screen { height: 462px; overflow: hidden; background: #fff; position: relative; }

.phone img { display: block; width: 100%; }

.vertical-note {
  position: absolute;
  left: -4px;
  top: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.vn-check {
  font-style: normal;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(255, 107, 0, .32);
}

.vn-text {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 10px;
  color: var(--ink);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

.seal {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 58px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--seal);
  border-radius: 10px;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px rgba(199, 62, 29, .35), inset 0 0 0 2px rgba(255, 255, 255, .9);
  user-select: none;
}

.seal i { font-style: normal; font-size: 13px; line-height: 1; color: #fff; }

.seal b { font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.05; color: #fff; }

/* ---------- WxPusher 排版卡片 ---------- */

.mock-wx { font-family: var(--sans); }

.mwx-head {
  border-top: 5px solid var(--orange);
  border-bottom: 2px solid var(--ink);
  padding: 16px 16px 14px;
  background: var(--paper);
}

.m-kicker {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 8px;
}

.mwx-head h4 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--ink);
  line-height: 1.2;
}

.m-meta {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

.m-body { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }

.m-label {
  color: var(--orange-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.m-sum { font-size: 12.5px; font-weight: 600; color: #242321; line-height: 1.75; }

.m-cat {
  margin: 14px 0 10px;
  padding: 9px 0 5px 10px;
  border-left: 4px solid var(--ink);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 14.5px;
  color: var(--ink);
}

.m-cat em { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 10px; color: var(--muted); }

.m-ref { font-family: var(--mono); font-size: 9px; color: var(--orange-deep); font-weight: 700; letter-spacing: .5px; }

.m-body h5 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  margin: 6px 0 7px;
}

.m-txt { font-size: 12px; line-height: 1.75; color: var(--ink-soft); }

.m-link { font-size: 11px; color: var(--orange-deep); word-break: break-all; margin: 4px 0 8px; }

.m-src { font-size: 10px; color: var(--muted); }
.m-src b { color: var(--orange-deep); }
.m-src span { font-family: var(--mono); font-size: 9px; }

.mwx-btn {
  display: block;
  margin: 12px 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 10px;
  letter-spacing: 1px;
}

/* ---------- QQ 纯文本 ---------- */

.mock-qq { display: flex; flex-direction: column; height: 100%; background: #f2f2f4; }

.mqq-chat { flex: 1; padding: 14px 12px; }

.mqq-row { display: flex; gap: 9px; align-items: flex-start; }

.mqq-avatar {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffb066, var(--orange-deep));
  display: grid;
  place-items: center;
  font-size: 16px;
}

.mqq-bubble {
  flex: 1;
  background: #fff;
  border-radius: 3px 12px 12px 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.mqq-name { font-size: 10px; color: #9a9a9a; margin-bottom: 5px; }

.mqq-text {
  font-size: 11.5px;
  line-height: 1.72;
  color: #232323;
}

.mqq-text p { margin-bottom: 8px; }
.mqq-text p:last-child { margin-bottom: 0; }
.mqq-text b { color: var(--ink); }

.mqq-input {
  margin: 8px 10px 12px;
  background: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 11px;
  color: #b3b3b3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

/* ---------- 飞书消息卡片 ---------- */

.mock-fs { height: 100%; background: #f0f1f5; padding: 14px 12px; }

.mfs-row { display: flex; gap: 9px; align-items: flex-start; }

.mfs-avatar {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: #16a34a;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.mfs-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.mfs-head {
  background: #fdf1e3;
  color: var(--orange-deep);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 13px;
  padding: 11px 13px;
  line-height: 1.4;
}

.mfs-body { padding: 11px 13px 6px; }

.mfs-cat {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 12.5px;
  color: var(--ink);
  margin: 10px 0 7px;
}

.mfs-t { font-size: 12px; font-weight: 800; color: var(--ink); line-height: 1.5; margin-bottom: 3px; }

.mfs-d { font-size: 11px; color: #4a4a4a; line-height: 1.65; margin-bottom: 3px; }

.mfs-a { font-size: 11px; color: var(--feishu-blue); margin-bottom: 6px; }

.mfs-btn {
  margin: 8px 13px 12px;
  background: var(--feishu-blue);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 6px;
}

/* ---------- 快讯跑马灯 ---------- */

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 2px solid var(--ink);
}

.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 13px 15px 13px 30px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.ticker-set i { color: var(--orange); font-style: normal; }

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

/* ---------- 数据条 ---------- */

.stats { background: var(--orange); padding: 34px 0; }

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  color: var(--ink);
}

.stat span { font-size: 13px; color: rgba(255, 255, 255, .92); }

/* ---------- 订阅：整齐三列 ---------- */

.subs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 10px;
  align-items: stretch;
}

.sub {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}

.sub:hover { box-shadow: var(--shadow); }

.sub-no {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--orange-deep);
}

.sub h3 { margin: 8px 0 12px; font-size: 24px; }

.sub > p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.stamp {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1.15;
  padding: 10px;
  background: #fff;
  border: 1.5px dashed var(--muted);
  transform: rotate(-2.5deg);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sub:nth-child(2) .stamp { transform: rotate(2deg); }
.sub:hover .stamp { transform: rotate(0) scale(1.02); }

.stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sub-note { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-top: auto; }

.sub .btn-copy { margin-top: 18px; }

/* ---------- 推送效果：三台样机 ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 46px;
  align-items: start;
}

.shot { margin: 0; }

.shot .phone { transition: transform .3s ease; }

.shot:hover .phone { transform: translateY(-6px); }

.shots figcaption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* ---------- 印刷流程时间线 ---------- */

.timeline {
  list-style: none;
  position: relative;
  margin: 52px 0 72px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--orange), var(--line));
}

.t-step { display: flex; gap: 26px; padding: 16px 0; position: relative; }

.t-num {
  flex: 0 0 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-deep);
  position: relative;
  z-index: 1;
}

.t-step h3 { font-size: 21px; margin-bottom: 5px; }
.t-step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 本报承诺 ---------- */

.promise { border-top: 3px double var(--ink); padding-top: 34px; }

.promise-title { font-size: 22px; margin-bottom: 22px; }

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 64px;
}

.promise-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }

.promise-item h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.promise-item h4::before { content: "■ "; color: var(--orange); font-size: 11px; }
.promise-item p { font-size: 14px; color: var(--muted); }

/* ---------- 开发者（黑版） ---------- */

.dev { background: var(--ink); color: rgba(246, 243, 234, .82); }

.dev h2 { color: #fff; }
.dev .section-no { color: var(--orange); }
.dev .section-head p { color: rgba(246, 243, 234, .75); }

.dev-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 40px; }

.dev-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.dev-points li {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 18px 20px;
}

.dev-points strong { display: block; font-family: var(--serif); font-size: 16.5px; color: #fff; margin-bottom: 4px; }
.dev-points span { font-size: 13.5px; color: rgba(246, 243, 234, .62); }

/* ---------- 读者来信 ---------- */

.letters .container { max-width: 820px; }

.letters details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 24px;
  margin-top: 16px;
  transition: border-color .2s;
}

.letters details[open] { border-color: var(--orange); }

.letters summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

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

.letters summary i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-deep);
}

.letters details[open] summary { color: var(--orange-deep); }
.letters details p { margin-top: 12px; font-size: 14.5px; border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(246, 243, 234, .62);
  padding: 52px 0;
  text-align: center;
  font-size: 13.5px;
  border-top: 4px solid var(--orange);
}

.footer-mast {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.footer a { color: rgba(246, 243, 234, .85); }
.footer p { margin: 5px 0; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 4px;
  border-left: 4px solid var(--orange);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 90;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动显现 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .9, .24, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .front-title .line > span { transform: none; animation: none; }
  .ticker-track { animation: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .front-grid { grid-template-columns: 1fr; gap: 44px; }
  .front-visual { order: -1; }
  .phone { max-width: 240px; }
  .vertical-note { display: none; }
  .front-mark { font-size: 300px; }
  .subs { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .shots { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .dev-points { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(22, 19, 14, .12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6%; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--orange); }
  .nav-burger { display: block; }
  .section { padding: 68px 0; }
  .masthead-mid { display: none; }
  .p-screen { height: 430px; }
}
