:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe3ee;
  --soft: #f8fafc;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-soft: #eef2ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --cyan-soft: #ecfeff;
  --amber: #d97706;
  --radius: 16px;
  --shadow: 0 1px 3px #0f172a0a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  border-bottom: 1px solid #e2e8f0;
  background: #fffffff2;
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #4f46e5, #818cf8);
  box-shadow: 0 7px 18px #c7d2fe;
}
.brand-icon svg { width: 21px; }
.brand-title { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.badge { padding: 3px 6px; border-radius: 4px; background: #d1fae5; color: #047857; font-size: 9px; letter-spacing: 0; }
.tagline { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  color: #475569;
  text-decoration: none;
  font-size: 12px;
}
.nav a:hover, .nav a.active { background: #f1f5f9; color: var(--brand); }
.nav svg { width: 15px; }
.nav .button-link { margin-left: 4px; background: var(--brand); color: #fff; }
.nav .button-link:hover { background: var(--brand-dark); color: #fff; }

.privacy { border-bottom: 1px solid #dbeafe; background: linear-gradient(90deg, #eef2ff, var(--cyan-soft), var(--green-soft)); }
.privacy .wrap { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 35px; text-align: center; color: #334155; font-size: 11px; }
.privacy svg { width: 14px; color: var(--green); }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow svg { width: 15px; }
.hero { padding: 74px 0 52px; text-align: center; }
.hero h1 { margin: 18px auto 0; max-width: 790px; color: var(--ink); font-size: clamp(36px, 6vw, 62px); line-height: 1.04; letter-spacing: -.055em; }
.hero p { margin: 20px auto 0; max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #475569; font-size: 11px; }
.chip svg { width: 13px; color: var(--brand); }

.featured { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.feature-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 48px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef2ff 0%, #f5f3ff 54%, #ecfeff 100%);
}
.feature-art::before, .feature-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.feature-art::before { width: 210px; height: 210px; top: -90px; right: -50px; background: #c7d2fe99; }
.feature-art::after { width: 150px; height: 150px; bottom: -70px; left: -40px; background: #a7f3d099; }
.poster { position: relative; width: min(330px, 100%); padding: 24px; border: 1px solid #d9def5; border-radius: 20px; background: #ffffffdd; box-shadow: 0 24px 60px #3730a31c; transform: rotate(-2deg); }
.poster-top { display: flex; align-items: center; justify-content: space-between; }
.poster-label { color: var(--brand); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.poster-dots { display: flex; gap: 4px; }
.poster-dots i { width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; }
.poster h2 { margin: 26px 0 8px; color: var(--ink); font-size: 28px; line-height: 1.08; letter-spacing: -.045em; }
.poster p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.poster-demo { display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: end; margin-top: 28px; }
.poster-lines { display: grid; gap: 8px; }
.poster-lines i { display: block; height: 7px; border-radius: 999px; background: #e2e8f0; }
.poster-lines i:nth-child(2) { width: 78%; }
.poster-lines i:nth-child(3) { width: 54%; background: #818cf8; }
.mini-qr { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; aspect-ratio: 1; padding: 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.mini-qr i { border-radius: 1px; background: #0f172a; }
.mini-qr i:nth-child(3n), .mini-qr i:nth-child(5n) { background: transparent; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 54px; }
.category { color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-copy h2 { margin: 15px 0 0; color: var(--ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.045em; }
.feature-copy p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; color: #94a3b8; font-size: 11px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 13px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; margin-top: 28px; min-height: 42px; padding: 10px 16px; border-radius: 11px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.primary:hover { background: var(--brand-dark); }
.primary svg { width: 15px; transition: transform .15s ease; }
.primary:hover svg { transform: translateX(3px); }

.topics { padding: 64px 0 80px; }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 25px; letter-spacing: -.035em; }
.section-heading p { margin: 10px auto 0; max-width: 590px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.topic { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.topic-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.topic:nth-child(2) .topic-icon { background: var(--green-soft); color: var(--green); }
.topic:nth-child(3) .topic-icon { background: #f0f9ff; color: #0284c7; }
.topic-icon svg { width: 19px; }
.topic h3 { margin: 17px 0 0; color: var(--ink); font-size: 14px; }
.topic p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 34px; color: #94a3b8; font-size: 11px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 12px; }
.article-hero { padding: 52px 0 44px; text-align: center; }
.article-hero h1 { margin: 16px auto 0; max-width: 900px; color: var(--ink); font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -.058em; }
.article-dek { margin: 22px auto 0; max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.article-hero .meta { justify-content: center; }
.lead-visual { position: relative; min-height: 390px; margin-top: 18px; padding: 38px; overflow: hidden; border: 1px solid #d9def5; border-radius: 22px; background: linear-gradient(135deg, #eef2ff, #f8fafc 48%, #ecfdf5); }
.campaign-board { position: relative; display: grid; grid-template-columns: 1fr .78fr; gap: 24px; width: min(760px, 100%); margin: 0 auto; }
.campaign-main, .campaign-side { border: 1px solid #dfe4ef; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px #0f172a12; }
.campaign-main { padding: 28px; text-align: left; }
.campaign-main .tag { display: inline-flex; padding: 5px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.campaign-main h2 { margin: 20px 0 0; color: var(--ink); font-size: 31px; line-height: 1.08; letter-spacing: -.04em; }
.campaign-main p { margin: 10px 0 0; max-width: 330px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.campaign-cta { display: inline-flex; margin-top: 22px; padding: 9px 12px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; }
.campaign-side { display: grid; place-items: center; min-height: 270px; padding: 26px; transform: translateY(34px) rotate(2deg); }
.campaign-side .mini-qr { width: 170px; padding: 15px; gap: 5px; border-radius: 16px; }
.scan-caption { margin-top: 14px; color: #64748b; font-size: 10px; font-weight: 600; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 56px; align-items: start; padding: 62px 0 90px; }
.article { min-width: 0; }
.article p, .article li { color: #475569; font-size: 15px; line-height: 1.85; }
.article p { margin: 16px 0; }
.article > p:first-child { margin-top: 0; color: #334155; font-size: 18px; line-height: 1.8; }
.article h2 { margin: 58px 0 18px; scroll-margin-top: 92px; color: var(--ink); font-size: 30px; line-height: 1.18; letter-spacing: -.04em; }
.article h3 { margin: 34px 0 12px; color: var(--ink); font-size: 19px; letter-spacing: -.025em; }
.article ul, .article ol { margin: 17px 0; padding-left: 22px; }
.article li + li { margin-top: 9px; }
.article strong { color: #1e293b; }
.article a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.toc { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.toc strong { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12px; }
.toc strong svg { width: 15px; color: var(--brand); }
.toc ol { display: grid; gap: 10px; margin: 15px 0 0; padding: 0; list-style: none; counter-reset: section; }
.toc li { counter-increment: section; }
.toc a { display: grid; grid-template-columns: 20px 1fr; color: var(--muted); font-size: 10px; line-height: 1.45; text-decoration: none; }
.toc a::before { content: counter(section, decimal-leading-zero); color: #a5b4fc; font-family: ui-monospace, monospace; }
.toc a:hover { color: var(--brand); }
.callout { margin: 30px 0; padding: 23px 24px; border: 1px solid #c7d2fe; border-radius: 15px; background: var(--brand-soft); }
.callout.green { border-color: #a7f3d0; background: var(--green-soft); }
.callout-title { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 700; }
.callout.green .callout-title { color: #047857; }
.callout-title svg { width: 18px; }
.callout p { margin: 9px 0 0; color: #475569; font-size: 13px; line-height: 1.7; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.formula span { color: var(--ink); font-size: 12px; font-weight: 700; }
.formula i { color: #a5b4fc; font-size: 16px; font-style: normal; }
.use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.use-card { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.use-card span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.use-card span svg { width: 16px; }
.use-card h3 { margin: 13px 0 0; font-size: 14px; }
.use-card p { margin: 7px 0 0; font-size: 11px; line-height: 1.65; }
.table-wrap { margin: 25px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 580px; }
th, td { padding: 13px 15px; border-bottom: 1px solid #edf2f7; text-align: left; vertical-align: top; font-size: 11px; line-height: 1.55; }
th { background: #f8fafc; color: #475569; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
td { color: #64748b; }
td:first-child { color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.checklist { display: grid; gap: 10px; margin: 23px 0; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0; padding: 13px 14px 13px 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 13px; line-height: 1.55; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #d1fae5; color: #047857; font-size: 11px; font-weight: 800; }
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.faq details p { margin: -4px 0 20px; font-size: 13px; }
.article-cta { margin-top: 58px; padding: 32px; border-radius: 18px; background: #0f172a; color: #fff; }
.article-cta h2 { margin: 0; color: #fff; font-size: 26px; }
.article-cta p { margin: 10px 0 0; color: #cbd5e1; font-size: 13px; }
.article-cta .primary { background: #fff; color: #0f172a; }
.article-cta .primary:hover { background: #eef2ff; color: var(--brand-dark); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 10px; }
.footer p { margin: 0 0 5px; }
.footer small { color: #94a3b8; }
.footer-links { display: flex; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--brand); }

@media (max-width: 850px) {
  .featured { grid-template-columns: 1fr; }
  .feature-art { min-height: 360px; }
  .feature-copy { padding: 38px; }
  .topic-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; grid-row: 1; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .wrap, .narrow { width: min(100% - 24px, 1120px); }
  .header { height: 60px; }
  .tagline, .nav a:not(.button-link):not(.active) span { display: none; }
  .nav a { padding: 8px; }
  .nav .button-link { margin-left: 0; }
  .nav .button-link span { display: inline; }
  .hero { padding: 54px 0 38px; }
  .feature-art { min-height: 310px; padding: 26px; }
  .feature-copy { padding: 27px; }
  .poster { padding: 19px; }
  .poster h2 { font-size: 24px; }
  .article-hero { padding: 38px 0 28px; }
  .lead-visual { min-height: 350px; padding: 22px; }
  .campaign-board { grid-template-columns: 1fr; }
  .campaign-side { min-height: 150px; transform: none; }
  .campaign-side .mini-qr { width: 105px; padding: 9px; gap: 3px; }
  .article-layout { gap: 34px; padding-top: 40px; }
  .toc ol { grid-template-columns: 1fr; }
  .article h2 { margin-top: 45px; font-size: 26px; }
  .use-grid { grid-template-columns: 1fr; }
  .formula { grid-template-columns: 1fr; }
  .formula i { transform: rotate(90deg); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
