/* UITG 英语角落地页 B · 夜场刊
   与 A「窗边」对立：不居中、不圆角胶囊、不以插画当主视觉。
   21:00 做刊头数字；线下/线上做对开页；浅绿只作细强调。
   不拉 Google Fonts：国内落地页用系统无衬线，靠版式而不是网字。 */
:root {
  --ink: #171917;
  --muted: #5c635e;
  --bg: #f3f1eb;
  --sheet: #fbfaf6;
  --sage: #6d9a80;
  --sage-ink: #3f6b54;
  --sage-wash: #e7efe8;
  --dusk: #5d6f7c;
  --dusk-wash: #e8eef2;
  --hair: rgba(23, 25, 23, 0.12);
  --max: 1080px;
  --display: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.eb {
  font: 16px/1.65 "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
.eb a { color: var(--sage-ink); }
.eb-display { font-family: var(--display); }

.eb-spine {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 100vh;
  background: linear-gradient(180deg, #c5dccb 0%, #6d9a80 42%, #b7c9d4 100%);
  z-index: 4;
}

.eb-frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px 96px 44px;
}

.eb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--hair);
}
.eb-brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.eb-bar nav a {
  margin-left: 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.eb-bar nav a:hover { color: var(--ink); }

.eb-ab {
  display: flex;
  gap: 4px;
  margin: 14px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.eb-ab a {
  color: var(--muted);
  text-decoration: none;
  padding: 5px 10px;
}
.eb-ab a.is-on {
  color: var(--ink);
  box-shadow: inset 0 -1.5px 0 var(--sage);
}

/* —— Hero：数字刊头 + 文案栏 —— */
.eb-hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 52px;
  border-bottom: 1px solid var(--hair);
}
.eb-hero-mark {
  position: relative;
  padding-top: 6px;
}
.eb-hero-mark time {
  display: block;
  font-family: var(--display);
  font-size: clamp(5.2rem, 13vw, 8.6rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.82;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}
.eb-hero-mark time span {
  display: block;
  font-size: 0.42em;
  letter-spacing: -0.04em;
  opacity: 0.55;
}
.eb-hero-mark p {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eb-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.eb-hero-copy h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 16px;
  background: var(--sage);
}
.eb-k {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-ink);
  font-weight: 600;
}
.eb-hero .lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28em;
  line-height: 1.75;
  text-wrap: pretty;
}

.eb-price {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: baseline;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  max-width: 28em;
}
.eb-price b {
  font-family: var(--display);
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.eb-price b i {
  font-style: normal;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  margin-right: 2px;
  color: var(--muted);
}
.eb-price small {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.eb-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  align-items: center;
}
.eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: #fbfaf6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  border-radius: 0;
}
.eb-btn:hover { background: #2a332e; }
.eb-btn-ghost {
  background: transparent;
  color: var(--ink) !important;
}
.eb-btn-ghost:hover { background: var(--sheet); }
.eb-btn-text {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-left: 6px;
}

/* —— 对开：线下 / 线上 —— */
.eb-board {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--hair);
  border-top: 0;
}
.eb-board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 28px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eb-board-head strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.eb-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.eb-mode {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  min-height: 100%;
}
.eb-mode + .eb-mode {
  border-left: 1px solid var(--hair);
}
.eb-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
}
.eb-mode-off .eb-tag { color: var(--sage-ink); }
.eb-mode-on .eb-tag { color: var(--dusk); }
.eb-mode h2 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  min-height: 1.2em;
}
.eb-mode p {
  margin: 0 0 22px;
  color: var(--muted);
  flex: 1;
  line-height: 1.7;
  text-wrap: pretty;
}
.eb-mode ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}
.eb-mode li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--hair);
}
.eb-mode li:first-child { border-top: 0; }
.eb-mode li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  flex: none;
  background: currentColor;
}
.eb-mode-off li::before { color: var(--sage); }
.eb-mode-on li::before { color: var(--dusk); }
.eb-mode .eb-btn { width: 100%; margin-top: auto; }
.eb-mode-off .eb-btn { background: var(--sage-ink); border-color: var(--sage-ink); }
.eb-mode-off .eb-btn:hover { background: #335846; }
.eb-mode-on .eb-btn { background: var(--dusk); border-color: var(--dusk); }
.eb-mode-on .eb-btn:hover { background: #4a5c68; }
.eb-mode-off { background: linear-gradient(180deg, var(--sage-wash) 0%, var(--sheet) 42%); }
.eb-mode-on { background: linear-gradient(180deg, var(--dusk-wash) 0%, var(--sheet) 42%); }

/* —— 到了会怎样：无卡片，大编号 —— */
.eb-block {
  padding: 64px 0 8px;
  border-bottom: 1px solid var(--hair);
}
.eb-block h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.eb-block .sub {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 32em;
  line-height: 1.75;
  text-wrap: pretty;
}
.eb-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.eb-fact {
  padding-top: 4px;
}
.eb-fact-n {
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 12px;
}
.eb-fact h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.eb-fact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* —— 步骤：横轴 —— */
.eb-join { padding-bottom: 48px; border-bottom: 0; }
.eb-steps {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: eb-step;
}
.eb-steps li {
  counter-increment: eb-step;
  position: relative;
  padding: 0 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.eb-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 36px;
  right: 16px;
  height: 1px;
  background: var(--hair);
}
.eb-steps li::before {
  content: counter(eb-step, decimal-leading-zero);
  display: block;
  position: relative;
  z-index: 1;
  width: 28px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage-ink);
  margin-bottom: 14px;
  background: var(--bg);
}
.eb-steps strong { color: var(--ink); font-weight: 600; }

.eb-foot {
  padding-top: 28px;
  font-size: 0.84rem;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.eb-foot a { color: var(--muted); }
.eb-foot nav a { margin-right: 16px; }

@media (max-width: 820px) {
  .eb-spine { width: 5px; }
  .eb-frame { padding: 0 20px 72px 22px; }
  .eb-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 28px 0 36px;
  }
  .eb-hero-mark { min-height: 0; }
  .eb-hero-mark time { font-size: 4.4rem; }
  .eb-modes, .eb-facts, .eb-steps { grid-template-columns: 1fr; }
  .eb-mode + .eb-mode { border-left: 0; border-top: 1px solid var(--hair); }
  .eb-steps li { padding: 0 0 22px; }
  .eb-steps li:not(:last-child)::after { display: none; }
  .eb-price b { font-size: 2.5rem; }
}
