:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #f0f4ff;
  --text: #1e2633;
  --muted: #687285;
  --line: #dfe5ef;
  --blue: #4468e8;
  --green: #18a986;
  --orange: #f28c38;
  --red: #e65b6a;
  --shadow: 0 18px 48px rgba(31, 45, 78, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.dark {
  --bg: #111722;
  --surface: #182130;
  --surface-strong: #202b3d;
  --text: #eef3fb;
  --muted: #a6b0c1;
  --line: #2f3b4e;
  --shadow: 0 18px 48px rgba(0, 0, 0, .25);
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1280px, calc(100% - 28px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 28px rgba(68, 104, 232, .28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.desktop-nav a,
.mobile-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--blue);
  background: var(--surface-strong);
}

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

.icon-btn,
.float-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.menu-btn {
  display: none;
}

.ghost-btn,
.primary-btn,
.secondary-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.primary-btn {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(68, 104, 232, .24);
}

.secondary-btn,
.ghost-btn {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.button-link,
.text-link {
  padding: 0;
  color: var(--blue);
  background: transparent;
}

.large {
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
}

.full {
  width: 100%;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.hero {
  padding: 54px 0 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(68, 104, 232, .14), transparent 34%),
    radial-gradient(circle at 84% 6%, rgba(24, 169, 134, .16), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: 34px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: var(--muted);
}

.hero-stats span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-stats strong {
  margin-right: 5px;
  color: var(--text);
}

.hero-visual {
  min-height: 430px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58)),
    linear-gradient(135deg, #dce6ff, #dff9f1 55%, #fff1dd);
  box-shadow: var(--shadow);
}

.dark .hero-visual {
  background:
    linear-gradient(140deg, rgba(24, 33, 48, .9), rgba(24, 33, 48, .7)),
    linear-gradient(135deg, #213364, #1d4e45 55%, #5a3826);
}

.visual-topbar {
  display: flex;
  gap: 7px;
}

.visual-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.visual-panel {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.signal-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  color: #fff;
}

.signal-card b,
.signal-card small {
  display: block;
}

.signal-card small {
  margin-top: 8px;
  opacity: .82;
}

.accent-blue {
  background: linear-gradient(135deg, var(--blue), #7f92ff);
}

.accent-green {
  background: linear-gradient(135deg, var(--green), #53cfb5);
}

.accent-orange {
  background: linear-gradient(135deg, var(--orange), #ffc06f);
}

.visual-chart {
  height: 116px;
  margin-top: 24px;
  padding: 16px;
  display: flex;
  align-items: end;
  gap: 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .52);
}

.dark .visual-chart {
  background: rgba(255, 255, 255, .08);
}

.visual-chart i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: color-mix(in srgb, var(--blue) 72%, white);
}

.quick-band,
.notice-band {
  padding: 24px 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-card,
.side-box,
.product-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 45, 78, .06);
}

.quick-card {
  padding: 18px;
}

.quick-card span {
  display: block;
  color: var(--blue);
  font-weight: 800;
}

.quick-card b {
  display: block;
  margin-top: 8px;
  line-height: 1.6;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  padding: 24px 0 46px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 16px;
}

.section-head h2,
.notice-inner h2 {
  margin: 0;
  font-size: 26px;
}

.product-card {
  padding: 18px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-tag {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--surface-strong);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin: 0;
  font-size: 19px;
}

.product-card p,
.side-box p,
.notice-inner p,
.footer p,
.payment-modal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.risk-note {
  margin-top: 12px !important;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--red) 38%, var(--line));
  border-radius: var(--radius);
  color: color-mix(in srgb, var(--red) 72%, var(--text)) !important;
  background: color-mix(in srgb, var(--red) 9%, var(--surface));
  font-size: 13px;
}

.sale-note {
  margin-top: 12px !important;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--orange) 42%, var(--line));
  border-radius: var(--radius);
  color: color-mix(in srgb, var(--orange) 82%, var(--text)) !important;
  background: color-mix(in srgb, var(--orange) 10%, var(--surface));
  font-size: 13px;
}

.package-details {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.package-details b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.package-details ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  margin-top: auto;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
}

.article-thumb {
  min-height: 104px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(68, 104, 232, .88), rgba(24, 169, 134, .8)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .28) 0 8px, transparent 8px 16px);
}

.article-card:nth-child(2n) .article-thumb {
  background:
    linear-gradient(135deg, rgba(242, 140, 56, .9), rgba(230, 91, 106, .78)),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 28%);
}

.article-body h3 {
  margin: 0;
  font-size: 18px;
}

.article-body p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.side-box {
  padding: 18px;
}

.side-box h3 {
  margin: 0 0 12px;
}

.contact-list,
.rank-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}

.rank-list a:hover {
  color: var(--blue);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-strong);
  font-size: 13px;
}

.notice-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-inner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.detail-hero {
  padding: 50px 0 28px;
  background:
    linear-gradient(135deg, rgba(68, 104, 232, .12), transparent 46%),
    linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom: 1px solid var(--line);
}

.detail-hero-grid,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-copy p,
.detail-price-panel p,
.detail-order-card p,
.plan-row p,
.guide-steps p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-price-panel,
.detail-section,
.detail-order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 45, 78, .06);
}

.detail-price-panel {
  padding: 20px;
}

.detail-price-panel span {
  color: var(--muted);
  font-weight: 700;
}

.detail-price-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 42px;
  line-height: 1;
}

.detail-price-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.detail-layout {
  padding: 28px 0 48px;
}

.detail-main {
  display: grid;
  gap: 16px;
}

.detail-section,
.detail-order-card {
  padding: 20px;
}

.plan-row,
.guide-steps {
  display: grid;
  gap: 12px;
}

.plan-row {
  grid-template-columns: repeat(2, 1fr);
}

.plan-row article,
.guide-steps article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.plan-row article,
.guide-steps article {
  padding: 16px;
}

.plan-row b,
.plan-row span {
  display: block;
}

.plan-row span {
  margin-top: 8px;
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
}

.guide-steps {
  grid-template-columns: repeat(4, 1fr);
}

.guide-steps article > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.guide-steps h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
}

.detail-order-card {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}

.detail-order-card h2 {
  margin: 0;
}

.tutorial-hero {
  background:
    linear-gradient(135deg, rgba(68, 104, 232, .18), transparent 42%),
    linear-gradient(180deg, var(--surface), var(--bg));
}

.tutorial-hero .detail-copy h1 {
  color: var(--text);
}

.simple-nav {
  justify-content: center;
}

.tutorial-layout .detail-main {
  gap: 18px;
}

.lead-text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.notice-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.format-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.format-box b {
  font-size: 16px;
}

.format-box span {
  color: var(--blue);
  font-weight: 900;
}

.tutorial-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 14px;
}

.ordered-tutorial {
  display: grid;
  gap: 18px;
}

.tutorial-step-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.step-title {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.step-title > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.step-title b {
  display: block;
  font-size: 22px;
}

.step-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.tutorial-note-box,
.tutorial-warning {
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.7;
}

.tutorial-note-box {
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line));
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
}

.tutorial-warning {
  color: color-mix(in srgb, var(--red) 76%, var(--text));
  border: 1px solid color-mix(in srgb, var(--red) 36%, var(--line));
  background: color-mix(in srgb, var(--red) 9%, var(--surface));
}

.tutorial-figure {
  margin: 0;
}

.tutorial-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tutorial-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.video-panel,
.tutorial-shots article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.video-panel {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wide-video {
  min-height: 420px;
  margin-top: 10px;
}

.video-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.video-placeholder > span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 30px;
  box-shadow: 0 16px 34px rgba(68, 104, 232, .25);
}

.video-placeholder b {
  font-size: 20px;
}

.video-placeholder p,
.tutorial-shots p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tutorial-shots {
  display: grid;
  gap: 10px;
}

.tutorial-shots article {
  padding: 16px;
}

.tutorial-shots b {
  display: block;
  margin-bottom: 8px;
}

.tutorial-shot-card img {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.auto-card-section {
  padding: 36px 0 44px;
}

.delivery-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.delivery-flow article,
.auto-card-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 45, 78, .06);
}

.delivery-flow article {
  padding: 18px;
}

.delivery-flow span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.delivery-flow h3 {
  margin: 14px 0 8px;
}

.delivery-flow p,
.auto-card-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.auto-card-note {
  margin-top: 14px;
  padding: 18px;
  border-color: color-mix(in srgb, var(--orange) 45%, var(--line));
  background: color-mix(in srgb, var(--orange) 8%, var(--surface));
}

.auto-card-note b {
  display: block;
  margin-bottom: 8px;
}

.footer {
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.float-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  gap: 8px;
}

.modal {
  width: min(460px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(10, 15, 24, .45);
  backdrop-filter: blur(4px);
}

.modal h2 {
  margin: 6px 0 18px;
}

.order-modal {
  width: min(780px, calc(100% - 28px));
}

.payment-modal {
  width: min(680px, calc(100% - 24px));
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-strong);
  cursor: pointer;
}

.search-field,
.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.search-field input,
.auth-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.search-suggestions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.payment-modal .qr-grid {
  gap: 18px;
}

.payment-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.payment-summary span {
  color: var(--muted);
  font-size: 13px;
}

.payment-summary b {
  font-size: 16px;
}

.payment-order-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.payment-order-info div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.payment-order-info span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.payment-order-info b {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.order-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.order-hero span,
.order-section h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.order-hero b {
  display: block;
  font-size: 20px;
}

.order-hero strong {
  color: var(--red);
  font-size: 24px;
  white-space: nowrap;
}

.order-section {
  margin-bottom: 14px;
}

.series-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.series-list span {
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-size: 13px;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tutorial-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tutorial-box > b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.tutorial-box ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutorial-box li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tutorial-box li b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

.order-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.order-price-row span {
  color: var(--muted);
}

.order-price-row b {
  color: var(--red);
  font-size: 20px;
}

.order-details-box {
  margin-bottom: 14px;
}

.order-form {
  margin-bottom: 14px;
}

.qr-card {
  display: grid;
  gap: 8px;
  text-align: center;
}

.fake-qr {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(90deg, transparent 48%, rgba(68, 104, 232, .28) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(24, 169, 134, .28) 48% 52%, transparent 52%),
    var(--surface-strong);
  background-size: 28px 28px;
}

.payment-modal .fake-qr {
  min-height: 260px;
}

.fake-qr.has-image {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: transparent;
}

@media (max-width: 980px) {
  .desktop-nav,
  .ghost-btn,
  .header-actions .primary-btn {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero-grid,
  .content-layout,
  .notice-inner,
  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tutorial-media-grid {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .detail-order-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1200px);
  }

  .header-inner {
    width: min(100% - 18px, 1280px);
  }

  .brand-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding-top: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .delivery-flow {
    grid-template-columns: 1fr;
  }

  .plan-row,
  .guide-steps {
    grid-template-columns: 1fr;
  }

  .order-hero,
  .order-grid,
  .qr-grid,
  .payment-order-info {
    grid-template-columns: 1fr;
  }

  .order-hero {
    display: grid;
  }

  .payment-modal .fake-qr {
    min-height: 230px;
  }

  .article-thumb {
    min-height: 156px;
  }

  .footer-inner {
    display: grid;
  }
}
