/* ============================================================
   MOJINGE STUDIO — ENGLISH SITE
   Shared design tokens + base styles.
   Design DNA inherited from inchstep.cn (accent #E2452A,
   ink #14181F, mood palette) so the English site reads as
   the same studio, not a copy of someone else's product.
   ============================================================ */

:root {
  /* Core neutrals — inherited from the Chinese site */
  --bg: #FFFFFF;
  --bg-soft: #FAFAF9;
  --ink: #14181F;
  --ink-soft: #3A4048;
  --muted: #6B7280;
  --faint: #9AA0AA;
  --accent: #E2452A;
  --accent-deep: #C4371F;
  --line: #EBEDF0;
  --line-soft: #F1F2F4;
  --card: #FFFFFF;

  /* Mood palette — inherited verbatim from dailymark */
  --mood-1: #F87171;  /* rough  */
  --mood-2: #FB923C;  /* low    */
  --mood-3: #FACC15;  /* okay   */
  --mood-4: #2DD4BF;  /* good   */
  --mood-5: #4ADE80;  /* great  */

  --ok: #1D9E75;
  --warn: #BA7517;

  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand .mark { color: var(--accent); }
.brand .sub {
  font-weight: 500;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
@media (max-width: 720px) {
  .site-nav .hide-sm { display: none; }
}

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

.hero {
  padding: 78px 0 62px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 44px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 em { font-style: normal; color: var(--accent); }
.lede {
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { flex: none; }

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

section { padding: 74px 0; }
section.tint { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.sec-head { max-width: 640px; margin-bottom: 42px; }
.sec-head .kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px;
}
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.16;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: 14px;
}
.sec-head p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.62;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  background: var(--card);
}
.step .num {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-weight: 650; margin-bottom: 9px; letter-spacing: -.01em; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- pixel wall demo ---------- */

.wall-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(20, 24, 31, .04);
}
.wall-title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 16px;
}
.wall {
  display: grid;
  grid-template-columns: repeat(53, 1fr);
  gap: 2px;
}
.wall i {
  display: block;
  aspect-ratio: 1;
  border-radius: 1.5px;
  background: var(--line-soft);
}
.wall i.m1 { background: var(--mood-1); }
.wall i.m2 { background: var(--mood-2); }
.wall i.m3 { background: var(--mood-3); }
.wall i.m4 { background: var(--mood-4); }
.wall i.m5 { background: var(--mood-5); }
.legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; font-size: 12.5px; color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i {
  width: 10px; height: 10px; border-radius: 2px; display: inline-block;
}

/* ---------- comparison table ---------- */

.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp th, .cmp td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.cmp thead th {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; background: var(--bg-soft);
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { font-weight: 600; }
.cmp .us { background: rgba(226, 69, 42, .035); }
.cmp .us strong { color: var(--accent); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--faint); }
@media (max-width: 720px) {
  .cmp thead { display: none; }
  .cmp tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .cmp td { display: block; border: none; padding: 5px 18px; }
  .cmp td:first-child { font-size: 12px; text-transform: uppercase;
    letter-spacing: .1em; color: var(--faint); font-weight: 700; }
}

/* ---------- insight quotes ---------- */

.insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .insights { grid-template-columns: 1fr; } }
.insight {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px 22px;
  background: var(--card);
}
.insight .tag {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 10px;
}
.insight p {
  font-size: 16px; line-height: 1.58; color: var(--ink);
}
.insight p b { font-weight: 650; }
.insight .src { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 69, 42, .09);
}
.plan .name {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 6px;
}
.plan.featured .name { color: var(--accent); }
.plan .price {
  font-size: 40px; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.1; margin-bottom: 4px;
}
.plan .price small {
  font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0;
}
.plan .note { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.plan ul { list-style: none; margin-bottom: 24px; }
.plan li {
  font-size: 14.5px; color: var(--ink-soft);
  padding: 7px 0 7px 24px; position: relative; line-height: 1.5;
}
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.plan li.off { color: var(--faint); }
.plan li.off::before {
  border: none; left: 4px; top: 15px; width: 9px; height: 9px;
  background: var(--line); transform: none; border-radius: 50%;
}
.plan .btn { margin-top: auto; }

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

.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer; font-size: 17px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between;
  gap: 20px; align-items: flex-start; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--faint); font-weight: 400; font-size: 24px;
  line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p {
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.65;
  padding-top: 12px; max-width: 68ch;
}

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

.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
.foot-grid {
  display: flex; justify-content: space-between; gap: 30px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col .h {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: 3px;
}
.foot-col a { text-decoration: none; color: var(--ink-soft); }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

/* ---------- legal pages ---------- */

.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 12px;
}
.legal .meta {
  font-size: 14px; color: var(--muted); margin-bottom: 40px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-soft);
}
.legal h2 {
  font-size: 21px; margin: 40px 0 14px; letter-spacing: -.015em;
}
.legal h3 { font-size: 16.5px; margin: 26px 0 10px; font-weight: 650; }
.legal p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 7px; }
.legal a { color: var(--accent); }
.legal .box {
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 18px 20px; margin: 22px 0;
  font-size: 15px; color: var(--ink-soft);
}
