:root {
  --bg: #f3f7f5;
  --bg-soft: #e8f2ed;
  --surface: #ffffff;
  --ink: #12201a;
  --muted: #5a6f66;
  --line: rgba(18, 32, 26, 0.08);
  --brand: #0f8a6a;
  --brand-dark: #0a6b52;
  --brand-soft: #d7f3ea;
  --accent: #1aa37c;
  --warn: #c45c26;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 40, 30, 0.08);
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Outfit", sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #c8efe0 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #dcefe8 0%, transparent 50%),
    linear-gradient(180deg, #f7fbf9 0%, var(--bg) 40%, #eef5f1 100%);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 249, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(145deg, #2dd4a8 0%, #0f8a6a 55%, #0a5f48 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(15,138,106,.28);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 6px 7px 8px;
  border: 2px solid #fff;
  border-radius: 4px;
  border-right: none;
  border-bottom: none;
  transform: rotate(-45deg);
  opacity: .9;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 138, 106, .28);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(15, 138, 106, .36); }
.btn-ghost {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-sm { padding: 10px 18px; font-size: .88rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 12ch;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 460px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.stat span { color: var(--muted); font-size: .85rem; }

.hero-side {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  animation: riseIn .8s ease both;
}
.hero-visual {
  position: relative;
  overflow: visible;
}
.hero-art {
  position: relative;
  border-radius: 28px;
  min-height: 380px;
  padding: 36px 28px 48px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.28), transparent 36%),
    linear-gradient(155deg, #1bb589 0%, #0f8a6a 48%, #0a5f48 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-art-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  margin: 0 auto;
  background: #101816;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  transform: rotate(-4deg);
}
.hero-phone-notch {
  width: 86px;
  height: 10px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #1c2823;
}
.hero-phone-screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: linear-gradient(180deg, #d7efe6, #9fd8c4);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(18,32,26,.08), transparent 40%),
    radial-gradient(circle at 30% 35%, #7ecfb4 0%, transparent 42%),
    linear-gradient(180deg, #bfe8d8, #6db89a);
}
.wm-badge,
.wm-corner {
  position: absolute;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.28);
  padding: 4px 8px;
  border-radius: 6px;
}
.wm-badge { top: 18px; left: 14px; }
.wm-corner { right: 14px; bottom: 22px; }
.hero-peel {
  position: absolute;
  inset: 8% -8% -4% 28%;
  background: linear-gradient(135deg, #fff 0%, #f3fbf7 55%, #e7f5ef 100%);
  border-radius: 18px 28px 36px 12px;
  box-shadow: -10px 12px 30px rgba(0,0,0,.18);
  transform: rotate(8deg) skewY(-2deg);
  display: grid;
  place-items: center;
  animation: peelFloat 3.6s ease-in-out infinite;
}
.hero-peel-inner {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.hero-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}
.hero-spark-a { top: 28px; left: 34px; animation: sparkPulse 2.4s ease-in-out infinite; }
.hero-spark-b { right: 42px; bottom: 58px; width: 8px; height: 8px; animation: sparkPulse 2.4s ease-in-out .8s infinite; }

.hero-qr-card {
  position: absolute;
  left: -18px;
  bottom: -22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(15, 42, 30, 0.16);
  max-width: calc(100% - 24px);
}
.hero-qr-img {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.hero-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-scanline {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15,138,106,.85), transparent);
  animation: scanMove 2.2s linear infinite;
  pointer-events: none;
}
.hero-qr-copy { text-align: left; min-width: 0; }
.hero-qr-copy strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 800;
}
.hero-qr-copy > span {
  display: block;
  margin-top: 2px;
  font-size: .82rem;
  color: var(--muted);
}
.hero-qr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.hero-qr-tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 700;
}

.platform-marquee {
  position: relative;
  max-width: var(--container);
  margin: 56px auto 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.platform-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}
.platform-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  color: #2a3b34;
  white-space: nowrap;
}
.platform-marquee-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plat, var(--brand));
  display: inline-block;
}

@keyframes peelFloat {
  0%, 100% { transform: rotate(8deg) skewY(-2deg) translateY(0); }
  50% { transform: rotate(9deg) skewY(-2deg) translateY(-6px); }
}
@keyframes sparkPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}
@keyframes scanMove {
  0% { top: 12%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 86%; opacity: 0; }
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 88px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feature p { color: var(--muted); font-size: .95rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-item {
  padding: 28px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f4faf7);
  border: 1px solid var(--line);
}
.why-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-item p { color: var(--muted); font-size: .92rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15,138,106,.25);
}
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* News */
.news-list {
  display: grid;
  gap: 14px;
}
.news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.news-item:hover {
  border-color: rgba(15,138,106,.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.news-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.news-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .85rem;
}
.news-meta .tag,
.article-meta .tag,
.tag {
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.news-more { color: var(--brand-dark); font-weight: 600; white-space: nowrap; }

/* CTA */
.cta-band {
  margin: 20px 0 40px;
  border-radius: 28px;
  padding: 56px 40px;
  background:
    linear-gradient(135deg, rgba(15,138,106,.95), rgba(10,95,72,.98)),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,.18), transparent 40%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-band p { opacity: .9; max-width: 40ch; }
.qr-box {
  justify-self: end;
  width: min(100%, 240px);
  background: #fff;
  border-radius: 20px;
  display: grid;
  gap: 10px;
  place-items: center;
  color: var(--brand-dark);
  text-align: center;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.qr-box img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
}
.qr-caption {
  display: grid;
  gap: 2px;
  font-size: .88rem;
  line-height: 1.35;
}
.qr-caption strong {
  font-size: .95rem;
  color: var(--ink);
}
.qr-caption span {
  color: var(--muted);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brand);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  padding: 0 22px 18px;
  color: var(--muted);
}

/* Articles pages */
.page-hero {
  padding: 56px 0 28px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.page-hero p { color: var(--muted); }

.article-list {
  display: grid;
  gap: 16px;
  padding-bottom: 72px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.article-card h2 {
  font-size: 1.25rem;
  margin: 10px 0 12px;
  letter-spacing: -0.02em;
}
.article-card p { color: var(--muted); margin-bottom: 14px; }

/* ===== 文章详情（对齐 yesqsy 终稿：1120 / 768+320 / art2） ===== */
.article-detail-page {
  background: #fff !important;
}
.article-detail-page > main {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf8 56%, #ffffff 100%);
}
.article-detail-page .site-header {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(18, 32, 26, .06);
}

.art-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: var(--brand);
  transition: width .12s ease;
  pointer-events: none;
}

.art-shell { min-height: 50vh; }
.art-page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 90px;
  display: grid;
  gap: 10px;
}
.art-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}
.art-breadcrumb a { color: inherit; }
.art-breadcrumb a:hover { color: var(--brand-dark); }
.art-breadcrumb span { color: #cbd5e1; }

.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 768px) 320px;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
  margin-top: 10px;
}
.art-main {
  min-width: 0;
  background: transparent;
}

.art-head { padding: 0 0 30px; }
.art-head h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.art-lead {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: #374151;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.8;
}
.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 22px;
}
.art-meta a,
.art-meta span {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.art-meta a { color: var(--brand); }
.art-meta a:not(:last-child)::after,
.art-meta span:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: #cbd5e1;
  font-weight: 700;
}

.art-body {
  overflow-wrap: anywhere;
  padding: 34px 0 46px;
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
  background: transparent;
}
.art-body > :first-child { margin-top: 0; }
.art-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 2em 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  scroll-margin-top: 88px;
}
.art-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.7em 0 10px;
  color: var(--ink);
  scroll-margin-top: 88px;
}
.art-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 1.5em 0 8px;
  color: var(--ink);
  scroll-margin-top: 88px;
}
.art-body p { margin: 0 0 14px; }
.art-body ul,
.art-body ol { padding-left: 1.4em; margin: 14px 0; }
.art-body li + li { margin-top: 8px; }
.art-body ul li::marker,
.art-body ol li::marker { color: var(--brand); }
.art-body strong,
.art-body b { color: var(--ink); }
.art-body a { color: var(--brand); text-decoration: none; }
.art-body a:hover { text-decoration: underline; }
.art-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
}
.art-body .ai-figure { margin: 18px 0; }
.art-body .ai-figure img { margin: 0; width: 100%; }
.art-body blockquote {
  border: 0;
  background: var(--brand-soft);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0;
  color: #374151;
}
.art-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* 上下篇（对齐 yesqsy art2-prevnext） */
.art2-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0 4px;
}
.art2-prevnext.is-single { grid-template-columns: 1fr; }
.art2-prevnext.is-single .art2-pn-empty { display: none; }
.art2-pn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  min-width: 0;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
a.art2-pn:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(15, 138, 106, .1);
}
.art2-pn-empty {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.art2-pn-next { text-align: right; }
.art2-pn-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.art2-pn-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
a.art2-pn:hover .art2-pn-title { color: var(--brand); }

/* 相关教程侧栏（对齐 yesqsy premium-side） */
.premium-side,
.art-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
  align-self: start;
}
.premium-side-block {
  display: grid;
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.premium-side-block h2 {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.premium-popular-list {
  display: grid;
  gap: 14px;
}
.premium-popular-list a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 64px;
  color: var(--ink);
  text-decoration: none;
}
.premium-popular-list a:hover strong { color: var(--brand-dark); }
.premium-random-thumb {
  display: block;
  width: 96px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  align-self: start;
}
.premium-random-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-side-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,138,106,.22), rgba(10,95,72,.42));
}
.premium-random-body {
  display: grid;
  min-width: 0;
  min-height: 64px;
  align-content: space-between;
  gap: 8px;
}
.premium-popular-list strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 750;
}
.premium-popular-list time {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.art-side-empty { color: var(--muted); font-size: .9rem; margin: 0; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: .9rem;
}
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-bottom: 80px;
}
.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px clamp(20px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.prose h2 { font-size: 1.25rem; margin: 28px 0 12px; }
.prose h3 { font-size: 1.08rem; margin: 22px 0 10px; }
.prose p { margin-bottom: 14px; color: #2a3b34; }
.prose ul, .prose ol { margin: 0 0 16px 1.2em; color: #2a3b34; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose .ai-figure { margin: 18px 0; }
.prose .ai-figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .art-layout { grid-template-columns: 1fr; gap: 30px; }
  .premium-side,
  .art-side { position: static; }
}
@media (max-width: 720px) {
  .art-page {
    width: min(100% - 32px, 1120px);
    padding: 16px 0 66px;
  }
  .art-head { padding: 0 0 22px; }
  .art-head h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .art-body { padding: 26px 0 34px; }
  .art2-prevnext { grid-template-columns: 1fr; }
  .art2-pn-next { text-align: left; }
  .art-meta a:not(:last-child)::after,
  .art-meta span:not(:last-child)::after { margin: 0 8px; }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 64px;
}
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
}
.pagination a:hover, .pagination .current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  padding: 48px 0 36px;
  margin-top: 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 28px;
}
.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.footer-brand p, .footer-meta p { color: var(--muted); font-size: .9rem; }
.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-links strong {
  font-size: .92rem;
  margin-bottom: 4px;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--brand-dark); }

/* Features page */
.features-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.features-hero h1 { max-width: 14ch; }
.features-hero > .container > p { max-width: 52ch; }
.platform-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.platform-block h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.platform-chips span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: #2a3b34;
}
.platform-note {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 8px;
  max-width: 72ch;
}
.spec-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.spec-table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: .88rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: .92rem;
}
.spec-table th {
  background: #f4faf7;
  color: var(--muted);
  font-weight: 700;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; width: 32%; }
.spec-notes {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
  max-width: 860px;
}
.spec-notes strong { color: var(--ink); }
.speed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.speed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
}
.speed-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.speed-card span { color: var(--muted); font-size: .9rem; }
.speed-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 0;
}
.speed-details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
}
.speed-details summary::-webkit-details-marker { display: none; }
.speed-details p {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: .95rem;
}

/* Admin */
.admin-body {
  background: #f0f4f2;
  min-height: 100vh;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-side {
  background: #12201a;
  color: #e7f2ec;
  padding: 28px 18px;
}
.admin-side .brand { color: #fff; margin-bottom: 32px; }
.admin-side a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.78);
  margin-bottom: 6px;
}
.admin-side a:hover, .admin-side a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.admin-main { padding: 28px; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}
.admin-top h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(18,32,26,.04);
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: top;
}
.table th { color: var(--muted); font-weight: 600; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.badge-on { background: var(--brand-soft); color: var(--brand-dark); }
.badge-off { background: #f3e7e0; color: var(--warn); }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 600; font-size: .92rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.form-row textarea { min-height: 280px; resize: vertical; line-height: 1.6; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: .92rem;
}
.alert-success { background: #dff5eb; color: #0a5f48; }
.alert-error { background: #fde8e4; color: #9b2c1a; }
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.login-card h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.login-card .hint { color: var(--muted); margin-bottom: 24px; font-size: .92rem; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand-dark);
}
.stat-card span { color: var(--muted); font-size: .88rem; }
.actions a, .actions button {
  color: var(--brand-dark);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  margin-right: 10px;
}
.actions .danger { color: var(--warn); }

/* Floating QR */
.float-qr {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 10px;
}
.float-qr-toggle {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent), var(--brand-dark));
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 138, 106, .32);
}
.float-qr-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  width: 188px;
}
.float-qr-panel img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.float-qr-panel p {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero-grid, .cta-band, .footer-inner, .admin-shell {
    grid-template-columns: 1fr;
  }
  .feature-grid, .why-grid, .steps, .stats-row, .speed-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .hero-side { justify-self: center; max-width: 460px; }
  .hero-qr-card { left: 12px; bottom: -18px; }
  .hero-art { min-height: 340px; }
  .platform-marquee { margin-top: 48px; }
  .qr-box { justify-self: start; }
  .admin-side { padding: 18px; }
}

@media (max-width: 640px) {
  .feature-grid, .why-grid, .steps, .hero-stats, .stats-row, .speed-grid {
    grid-template-columns: 1fr;
  }
  .news-item { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; padding-bottom: 36px; }
  .hero-qr-card {
    left: 8px;
    right: 8px;
    bottom: -16px;
    max-width: none;
  }
  .hero-qr-img { width: 88px; height: 88px; }
  .hero-phone { width: min(100%, 210px); }
  .section { padding: 64px 0; }
  .admin-main { padding: 16px; }
  .table { display: block; overflow-x: auto; }
}
