/* 172号卡官网 · 梦龙科技有限公司 — 设计系统 v1
   ink #0A1626 / brand #1657D6 / cyan #12B5C8 / paper #F5F7FA */

:root {
  --ink: #0A1626;
  --ink-2: #1C2C40;
  --muted: #5A6879;
  --muted-2: #8B96A5;
  --line: #E3E8EF;
  --line-2: #EEF1F5;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --brand: #1657D6;
  --brand-d: #1046B0;
  --brand-soft: #E9F0FE;
  --cyan: #12B5C8;
  --cyan-soft: #E3F7F9;
  --green: #0E9F6E;
  --green-soft: #E6F6EF;
  --amber: #B26205;
  --amber-soft: #FDF4E5;
  --radius: 14px;
  --shadow-s: 0 1px 2px rgba(10, 22, 38, .05);
  --shadow-m: 0 10px 26px rgba(10, 22, 38, .07);
  --shadow-l: 0 22px 52px rgba(10, 22, 38, .13);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------------- header ---------------- */
.hd {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; }
.logo-tx { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.logo-sub {
  font-size: 11.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 5px; padding: 2px 7px;
  letter-spacing: .01em; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); transition: background .16s, color .16s; white-space: nowrap;
}
.nav a:hover { background: var(--line-2); }
.nav a.is-active { color: var(--brand); background: var(--brand-soft); }
.hd-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 9px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background .16s, transform .16s;
}
.hd-cta:hover { background: var(--brand); transform: translateY(-1px); }
.burger { display: none; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(22, 87, 214, .22); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(22, 87, 214, .28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; background: #fff; padding: 80px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(22, 87, 214, .13), transparent 70%),
    radial-gradient(700px 420px at 2% 110%, rgba(18, 181, 200, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10, 22, 38, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10, 22, 38, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.display {
  margin: 0 0 20px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.16;
  letter-spacing: -.035em; font-weight: 800;
}
.display em { font-style: normal; color: var(--brand); }
.hero-sub { margin: 0 0 18px; font-size: 18px; font-weight: 700; color: var(--ink-2); }
.lead { margin: 0 0 28px; font-size: 16.5px; line-height: 1.9; color: var(--muted); max-width: 36em; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-meta span { font-size: 13.5px; color: var(--muted-2); }
.hero-meta b { color: var(--ink); font-weight: 700; margin-right: 6px; }

.codecard {
  position: relative; overflow: hidden; border-radius: 20px; padding: 38px 34px 34px;
  background: linear-gradient(160deg, #0D2A5C 0%, #0A1626 58%, #071120 100%);
  color: #fff; box-shadow: var(--shadow-l); text-align: center;
}
.codecard::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(18, 181, 200, .38), transparent 62%);
}
.codecard::after {
  content: ""; position: absolute; width: 380px; height: 380px; left: -170px; bottom: -220px;
  background: radial-gradient(circle, rgba(56, 116, 255, .42), transparent 62%);
}
.codecard > * { position: relative; }
.cc-lab { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cc-code {
  font-family: var(--mono); font-size: clamp(40px, 5.2vw, 58px); font-weight: 800;
  letter-spacing: .1em; margin: 10px 0 6px; color: #fff; line-height: 1.1;
  text-shadow: 0 0 34px rgba(18, 181, 200, .5);
}
.cc-sub { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 24px; }
.codecard ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; text-align: left; }
.codecard li {
  position: relative; padding-left: 22px; font-size: 14px; color: rgba(255, 255, 255, .78);
}
.codecard li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}
.copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 46px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 14.5px; font-weight: 700; transition: background .16s, border-color .16s;
}
.copy:hover { background: rgba(255, 255, 255, .18); }
.copy.is-done { background: rgba(14, 159, 110, .3); border-color: rgba(110, 231, 183, .55); }

/* ---------------- operator band ---------------- */
.opband { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.opband-in { display: flex; align-items: center; gap: 14px; padding: 20px 24px; flex-wrap: wrap; }
.opcap {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-right: 8px;
}
.opcap b { display: block; color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; }
.opchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: #fff;
}
.opchip i {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-style: normal;
  font-size: 11.5px; font-weight: 800;
}
.opchip s { text-decoration: none; color: var(--muted-2); font-weight: 500; font-size: 11.5px; }

/* ---------------- sections ---------------- */
.sec { padding: 86px 0; }
.sec-2 { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 740px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.center .label::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-h {
  margin: 0 0 12px; font-size: clamp(23px, 2.8vw, 32px); line-height: 1.32;
  letter-spacing: -.028em; font-weight: 800;
}
.sec-p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.sec-dark .sec-h { color: #fff; }
.sec-dark .sec-p { color: rgba(255, 255, 255, .66); }
.sec-dark .label { color: #7FB0FF; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 26px 24px; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.stat span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* about grid */
.about-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 54px; align-items: start; }
.prose { color: var(--ink-2); }
.prose p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.92; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 32px 0 12px; font-size: 18px; letter-spacing: -.01em; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; font-size: 15px; line-height: 1.85; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--brand); border-bottom: 1px solid rgba(22, 87, 214, .3); }
.prose a:hover { border-bottom-color: var(--brand); }

.spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-h {
  padding: 16px 20px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  color: var(--muted); background: var(--bg); border-bottom: 1px solid var(--line);
}
.spec dl { margin: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); white-space: nowrap; }
.spec-row dd { margin: 0; font-weight: 700; text-align: right; }

/* cards */
.ggrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guard {
  padding: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.guard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #C9D8F2; }
.guard .ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; font-weight: 800;
}
.guard h3 { margin: 2px 0 8px; font-size: 16.5px; letter-spacing: -.01em; }
.guard p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.82; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 26px 0 0; }
.step::before {
  content: ""; position: absolute; left: 46px; right: 8px; top: 21px; height: 1px;
  background: var(--line); z-index: 0;
}
.step:last-child::before { display: none; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 0 0 6px #fff;
}
.step h3 { margin: 16px 0 8px; font-size: 17px; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.82; }

/* cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  display: grid; grid-template-columns: 1fr; gap: 0; padding: 30px 30px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #C9D8F2; }
.case .tag {
  display: inline-flex; align-self: start; padding: 4px 10px; margin-bottom: 14px;
  border-radius: 6px; background: var(--cyan-soft); color: #0A7C89;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.case h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.015em; }
.case p { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.case dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.case dt { font-size: 12px; color: var(--muted-2); }
.case dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; color: var(--ink); }

/* table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tb { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.tb th, table.tb td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
table.tb th { background: var(--bg); font-size: 13px; color: var(--muted); font-weight: 800; letter-spacing: .02em; }
table.tb tr:last-child td { border-bottom: 0; }
table.tb td b { font-weight: 800; }

/* checklist */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ck; }
.ck { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ck::before {
  counter-increment: ck; content: counter(ck, decimal-leading-zero);
  display: block; margin-bottom: 10px; font-family: var(--mono);
  font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .06em;
}
.ck h3 { margin: 0 0 8px; font-size: 16px; }
.ck p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px;
  transition: border-color .16s, box-shadow .16s;
}
.faq details[open] { border-color: #C9D8F2; box-shadow: var(--shadow-s); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 34px 18px 0;
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 8px; height: 8px;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg); transition: transform .18s; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0; }
.faq .ans { padding: 0 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.faq .ans p { margin: 0 0 10px; }
.faq .ans p:last-child { margin-bottom: 0; }

/* contact */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cbox { padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cbox h3 { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); font-weight: 800; letter-spacing: .06em; }
.cbox .big { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; word-break: break-all; }
.cbox p { margin: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.cbox .copy { background: var(--bg); border-color: var(--line); color: var(--ink); }
.cbox .copy:hover { background: var(--line-2); }
.cbox .copy.is-done { background: var(--green-soft); border-color: #B7E4D1; color: #0A6B4B; }
.cbox .btn { width: 100%; }

/* cta */
.cta {
  position: relative; overflow: hidden; border-radius: 20px; padding: 44px 46px;
  background: linear-gradient(135deg, #0D2A5C 0%, #0A1626 62%, #071120 100%); color: #fff;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -280px;
  background: radial-gradient(circle, rgba(18, 181, 200, .35), transparent 62%);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 10px; font-size: clamp(21px, 2.5vw, 29px); letter-spacing: -.025em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 14.5px; max-width: 44em; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.cta .btn-ghost:hover { border-color: #fff; }
.cta .btn-primary { box-shadow: 0 10px 26px rgba(22, 87, 214, .42); }

/* page head */
.ph {
  position: relative; overflow: hidden; padding: 56px 0 46px; background: #fff;
  border-bottom: 1px solid var(--line-2);
}
.ph::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(22, 87, 214, .1), transparent 65%);
}
.ph .wrap { position: relative; z-index: 1; }
.crumb { font-size: 13px; color: var(--muted-2); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 6px; }
.ph h1 { margin: 0 0 14px; font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.28; font-weight: 800; }
.ph .lead { margin: 0; font-size: 15.5px; max-width: 46em; }

/* article */
.article { max-width: 840px; }
.article h2 { margin: 50px 0 16px; font-size: 23px; letter-spacing: -.02em; line-height: 1.4; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 28px 0 10px; font-size: 17.5px; }
.article p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.article ul, .article ol { margin: 0 0 20px; padding-left: 24px; }
.article li { margin-bottom: 10px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.note {
  margin: 26px 0; padding: 18px 22px; border-radius: 10px; background: var(--amber-soft);
  border: 1px solid #F3E0C2; font-size: 14.5px; color: #6B4708; line-height: 1.85;
}
.note b { color: #4A2C08; }

/* related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel {
  display: block; padding: 20px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; transition: border-color .16s, transform .16s;
}
.rel:hover { border-color: #C9D8F2; transform: translateY(-2px); }
.rel b { display: block; font-size: 15px; margin-bottom: 4px; }
.rel:hover b { color: var(--brand); }
.rel span { font-size: 13px; color: var(--muted); }

/* footer */
.ft { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 34px; }
.ft h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; color: var(--muted-2); font-weight: 800; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft li { font-size: 14px; color: var(--muted); }
.ft a:hover { color: var(--brand); }
.ft p { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; max-width: 40em; }
.ft-legal {
  padding: 22px 0; border-top: 1px solid var(--line-2);
  font-size: 12.5px !important; color: var(--muted-2) !important; max-width: none !important;
}
.ft-btm {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--muted-2);
}

/* mobile bar */
.mbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mbar > * { flex: 1; display: grid; place-items: center; height: 44px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.mbar .m-code { background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); }
.mbar .m-go { background: var(--brand); color: #fff; }
.mbar a:last-child { background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* reveal */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .hero-grid { gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .step:nth-child(2)::before { display: none; }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .hd-in { height: 64px; gap: 12px; }
  .hd-cta { display: none; }
  .burger {
    display: block; margin-left: auto; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 9px; background: #fff;
    position: relative; cursor: pointer;
  }
  .burger i, .burger i::before, .burger i::after {
    position: absolute; left: 50%; width: 18px; height: 1.8px; background: var(--ink);
    border-radius: 2px; transform: translateX(-50%); transition: transform .18s, top .18s, background .18s;
  }
  .burger i { top: 50%; margin-top: -.9px; }
  .burger i::before { content: ""; top: -6px; }
  .burger i::after { content: ""; top: 6px; }
  .burger[aria-expanded="true"] i { background: transparent; }
  .burger[aria-expanded="true"] i::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  .burger[aria-expanded="true"] i::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 64px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow-m);
    visibility: hidden; max-height: 0; overflow: hidden; transition: max-height .22s, visibility .22s;
  }
  .nav.is-open { visibility: visible; max-height: 460px; overflow-y: auto; }
  .nav a { padding: 12px 14px; font-size: 15px; }

  .hero { padding: 52px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .codecard { padding: 30px 24px 26px; }
  .sec { padding: 62px 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ggrid, .cases, .tgrid, .cgrid, .related { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .step { padding: 0; }
  .step::before { display: none; }
  .cta { padding: 32px 24px; }
  .ft { padding-bottom: 86px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mbar { display: flex; }
  .ph { padding: 38px 0 32px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .logo-sub { display: none; }
  .stats { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .case dl { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 8px 16px; }
  .display { letter-spacing: -.03em; }
}
