:root {
  --paper: #f2f5f3;
  --surface: #ffffff;
  --surface-2: #e9efec;
  --ink: #12211d;
  --ink-2: #33443e;
  --muted: #67746f;
  --muted-2: #93a09b;
  --line: #dce4df;
  --line-strong: #c7d2cc;
  --accent: #0e8e69;
  --accent-deep: #07634a;
  --accent-bright: #5ee6b6;
  --accent-soft: #dff7ee;
  --signal: #efad42;
  --danger: #d75d49;
  --shadow-sm: 0 1px 2px rgba(18, 33, 29, .04);
  --shadow-md: 0 18px 45px -24px rgba(18, 33, 29, .28), 0 2px 8px rgba(18, 33, 29, .04);
  --shadow-lg: 0 36px 80px -28px rgba(18, 33, 29, .4);
  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(.2, .7, .25, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.locked { overflow: hidden; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: none; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--accent-bright); color: var(--ink); }

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: 3px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #f7fbf9;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .033) 1px, transparent 1px);
  background-size: 54px 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(24px, calc((100% - 1240px) / 2));
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(94, 230, 182, .42);
  border-radius: 10px;
  background:
    linear-gradient(rgba(94, 230, 182, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 230, 182, .035) 1px, transparent 1px),
    #10261f;
  background-size: 7px 7px;
  box-shadow:
    inset 0 0 0 4px rgba(94, 230, 182, .025),
    0 9px 24px -15px rgba(94, 230, 182, .8);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 6px;
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-cap,
.brand-pins,
.brand-chip { transform-box: fill-box; transform-origin: center; }

.brand-cap {
  transition: transform .3s var(--ease), opacity .25s;
}

.brand-cap path,
.brand-cap circle {
  stroke: #e9f7f1;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-cap path:first-child {
  fill: rgba(94, 230, 182, .13);
}

.brand-cap path:nth-child(3) {
  stroke: var(--signal);
}

.brand-cap circle {
  fill: var(--signal);
  stroke: none;
}

.brand-pins {
  opacity: .7;
  transition: opacity .25s, transform .3s var(--ease);
}

.brand-pins path {
  stroke: var(--accent-bright);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.brand-chip path {
  stroke: #d8eee5;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-chip path:first-child {
  fill: rgba(94, 230, 182, .045);
}

.brand-chip rect {
  fill: rgba(94, 230, 182, .12);
  stroke: var(--accent-bright);
  stroke-width: 1.1;
}

.brand-chip path:last-child {
  stroke: rgba(94, 230, 182, .75);
  stroke-width: 1;
}

.brand-node {
  fill: var(--signal);
  filter: drop-shadow(0 0 3px rgba(239, 173, 66, .8));
  transform-box: fill-box;
  transform-origin: center;
  animation: brandNode 2.8s ease-in-out infinite;
}

.brand:hover .brand-cap { transform: translateY(-1.5px); }
.brand:hover .brand-pins { opacity: 1; transform: scaleX(1.04); }
.brand:hover .brand-logo { filter: drop-shadow(0 0 6px rgba(94, 230, 182, .16)); }

@keyframes brandNode {
  0%, 100% { opacity: .72; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1); }
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-wordmark { color: #f8fbfa; font-size: 16px; font-weight: 650; line-height: 1.3; }
.brand-meta {
  margin-top: 2px;
  color: #7f928b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8.8px;
  line-height: 1.3;
  letter-spacing: .105em;
}

.hero-top-actions { display: flex; align-items: center; gap: 12px; }

.live-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9b9b3;
  font-size: 12px;
  white-space: nowrap;
}

.live-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(94, 230, 182, .1);
  animation: signalPulse 2.4s ease-in-out infinite;
}

.brand-contact {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  color: #d7e2de;
  background: rgba(255, 255, 255, .045);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s;
}

.brand-contact .contact-prefix { margin-right: 5px; color: #a6b6b0; }
.brand-contact .contact-value { color: #eef6f3; }

.brand-contact:hover {
  border-color: rgba(94, 230, 182, .5);
  background: rgba(94, 230, 182, .08);
  color: #fff;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: 64px;
  padding: 66px 0 54px;
  min-width: 0;
}

.hero-copy { min-width: 0; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #91a39d;
  font-size: 12px;
  letter-spacing: .05em;
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-bright);
}

.hero-kicker span {
  color: var(--accent-bright);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .12em;
}

.hero-kicker b { font-weight: 500; }

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fbfdfc;
  font-size: 54px;
  font-weight: 780;
  line-height: 1.13;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 16px 0 0;
  color: #b6c5c0;
  font-size: 16px;
  line-height: 1.65;
}

.hero-desc {
  max-width: 640px;
  margin: 15px 0 0;
  color: #8fa19b;
  font-size: 14px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cta-main,
.cta-sub,
.cta-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 650;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}

.cta-main {
  padding: 0 21px;
  background: var(--accent-bright);
  color: var(--ink);
  box-shadow: 0 10px 28px -18px rgba(94, 230, 182, .9);
}

.cta-main::after {
  content: "↘";
  font-size: 16px;
  transition: transform .2s var(--ease);
}

.cta-main:hover {
  background: #85f1cb;
  transform: translateY(-2px);
}

.cta-main:hover::after { transform: translate(2px, 2px); }

.cta-sub {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
  color: #d8e3df;
}

.cta-sub svg { width: 16px; height: 16px; fill: currentColor; }
.cta-sub:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .07); color: #fff; transform: translateY(-2px); }

.cta-quiet {
  min-height: 38px;
  padding: 0 8px;
  color: #94a69f;
  font-weight: 500;
}

.cta-quiet:hover { color: var(--accent-bright); }

.trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #879993;
  font-size: 11.5px;
}

.trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trustbar span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.trustbar b {
  color: #dbe6e2;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
}

.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, .75fr);
  gap: 9px;
  width: 100%;
  max-width: 100%;
  height: 382px;
  min-width: 0;
  overflow: hidden;
}

.showcase-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
  min-height: 0;
}

.showcase-item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: #24342f;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.showcase-item:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease), filter .3s var(--ease);
}

.showcase-item:hover img { transform: scale(1.045); filter: saturate(1.08); }

.showcase-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 11, .94) 0%, rgba(5, 14, 11, .26) 52%, rgba(5, 14, 11, .04) 100%);
}

.showcase-label {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.showcase-label small {
  color: var(--accent-bright);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.showcase-label strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showcase-side .showcase-label { left: 12px; right: 12px; bottom: 11px; }
.showcase-side .showcase-label strong { font-size: 12.5px; line-height: 1.4; }

.showcase-open {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 5px;
  background: rgba(6, 16, 13, .36);
  color: #f3f8f6;
  font-size: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, background .2s;
  backdrop-filter: blur(8px);
}

.showcase-open i { font-style: normal; }
.showcase-item:hover .showcase-open { opacity: 1; transform: none; background: rgba(6, 16, 13, .72); }
.showcase-side .showcase-open { display: none; }

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.stat {
  min-width: 0;
  padding: 19px 4px 21px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat:not(:first-child) { padding-left: 28px; }
.stat:last-child { border-right: 0; }

.stat b {
  display: block;
  overflow: hidden;
  color: #eff7f4;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: #7f928b;
  font-size: 10.5px;
  letter-spacing: .08em;
}

/* Catalog controls */
.catalog {
  padding: 76px 0 64px;
  scroll-margin-top: 16px;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
}

.section-eyebrow span { color: var(--accent); }

.catalog-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
}

.catalog-note {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: right;
}

.search-dock {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.toolbar { display: flex; gap: 10px; }

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fbfa;
  transition: border-color .2s var(--ease), box-shadow .2s, background .2s;
}

.search:hover { border-color: var(--line-strong); }
.search:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(14, 142, 105, .1); }

.search svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: var(--muted-2);
  transition: fill .2s;
}

.search:focus-within svg { fill: var(--accent); }

.search input {
  width: 100%;
  min-width: 0;
  padding: 11px 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
}

.search input::placeholder { color: #9ca8a3; }
.search input::-webkit-search-cancel-button { display: none; }

.search-clear {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
}

.search-clear:hover { background: #dbe4df; color: var(--ink); }

.sortbox {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f9fbfa;
  color: var(--muted);
  font-size: 11.5px;
}

.sortbox:hover { border-color: var(--line-strong); }

.sortbox select {
  min-width: 102px;
  padding: 10px 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}

.filters {
  display: grid;
  gap: 9px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.filter-row { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }

.filter-label {
  flex: none;
  width: 38px;
  padding-top: 6px;
  color: var(--muted-2);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .06em;
}

.chips { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 6px; min-width: 0; }

.chip {
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #53635d;
  font-size: 11.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s, transform .16s;
}

.chip i {
  margin-left: 4px;
  color: #9ba7a2;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  font-style: normal;
}

.chip:hover { border-color: #a9c9bd; color: var(--accent-deep); transform: translateY(-1px); }
.chip:active { transform: none; }

.chip.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chip.on i { color: var(--accent-bright); }

.chip.more {
  border-style: dashed;
  background: transparent;
  color: var(--muted);
}

.chip.more::before { content: "+"; margin-right: 4px; }

.reset-row { padding-left: 50px; }

.reset {
  min-height: 28px;
  padding: 2px 9px;
  border: 1px solid #e7c7c0;
  border-radius: 6px;
  background: #fffafa;
  color: #a94d3d;
  font-size: 11px;
  cursor: pointer;
}

.reset:hover { border-color: var(--danger); color: var(--danger); }

.resultbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 30px 0 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.resultbar b {
  color: var(--ink);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 500;
}

.hint { color: var(--muted-2); font-size: 11.5px; }

/* Project cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: inherit;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}

.card:hover {
  border-color: #adc7bd;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card:active { transform: translateY(-2px); }

.js .card { opacity: 0; }
.js .card.in { animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 28ms); }

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .5) 38%, transparent 52%),
    #e5ece8;
  background-size: 200% 100%;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s;
}

.thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #71827b;
  background:
    linear-gradient(135deg, rgba(14, 142, 105, .06), transparent 56%),
    repeating-linear-gradient(135deg, #e8eeeb 0 8px, #f3f6f4 8px 16px);
  font-size: 11px;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .2s;
}

.thumb img.image-error { display: none; }
.thumb.image-error .thumb-fallback { opacity: 1; }

.js .thumb img { opacity: 0; }
.js .thumb img.loaded { opacity: 1; }
.card:hover .thumb img { transform: scale(1.045); filter: saturate(1.06); }

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 16, .48), transparent 52%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.thumb::before {
  content: "查看项目 ↗";
  position: absolute;
  z-index: 2;
  left: 11px;
  bottom: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 5px;
  background: rgba(8, 20, 16, .58);
  color: #fff;
  font-size: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .24s, transform .24s;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.card:hover .thumb::after,
.card:hover .thumb::before { opacity: 1; }
.card:hover .thumb::before { transform: none; }

.tag-id,
.tag-plat,
.tag-dur {
  position: absolute;
  z-index: 3;
  border-radius: 5px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  line-height: 1.3;
  backdrop-filter: blur(7px);
}

.tag-id {
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  background: rgba(9, 22, 17, .68);
  color: #f7fbf9;
  letter-spacing: .04em;
}

.tag-plat {
  top: 9px;
  right: 9px;
  padding: 4px 7px;
  background: rgba(239, 248, 244, .9);
  color: var(--accent-deep);
  font-weight: 600;
}

.tag-dur {
  right: 9px;
  bottom: 9px;
  padding: 3px 6px;
  background: rgba(9, 22, 17, .7);
  color: #fff;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 14px 14px 15px;
}

.card-name {
  display: -webkit-box;
  min-height: 43px;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.52;
  transition: color .2s;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card:hover .card-name { color: var(--accent-deep); }

.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }

.pill {
  padding: 2px 6px;
  border: 1px solid #e1e7e4;
  border-radius: 4px;
  background: #f7f9f8;
  color: #65756e;
  font-size: 10px;
  line-height: 1.4;
}

.pill.cat {
  border-color: #cce9de;
  background: #effaf6;
  color: var(--accent-deep);
}

.empty {
  margin: 0;
  padding: 70px 0;
  color: var(--muted);
  text-align: center;
}

.load-more { display: flex; justify-content: center; margin-top: 30px; }

#more {
  min-height: 42px;
  padding: 0 25px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

#more:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }

/* Editorial content sections */
.band {
  padding-top: 78px;
  padding-bottom: 78px;
  border-top: 1px solid var(--line);
}

#service,
#faq {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}

.band-head { min-width: 0; }

.band h2 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  font-weight: 720;
  line-height: 1.36;
  letter-spacing: 0;
}

.band h2::before {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
}

#service .band h2::before { content: "02 / WORKFLOW"; }
#faq .band h2::before { content: "03 / FAQ"; }

.band-sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: 19px 0 24px;
  border-top: 1px solid var(--line-strong);
}

.step-no {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.steps h3 {
  margin: 9px 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.faq { display: grid; }

.faq details {
  border-top: 1px solid var(--line-strong);
  background: transparent;
}

.faq details:last-child { border-bottom: 1px solid var(--line-strong); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--muted-2);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 400;
  transition: transform .2s, color .2s;
}

.faq details[open] summary { color: var(--accent-deep); }
.faq details[open] summary::after { color: var(--accent); transform: rotate(45deg); }

.faq p {
  margin: -3px 35px 17px 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
  animation: fadeUp .24s var(--ease) both;
}

.contact-band { padding-top: 20px; padding-bottom: 78px; border-top: 0; }

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 36px 38px;
  border: 1px solid #28443a;
  border-radius: 11px;
  background-color: #142a23;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 38px 38px;
  box-shadow: 0 24px 60px -34px rgba(18, 33, 29, .6);
}

.contact-card::before {
  content: "04 / CONTACT";
  position: absolute;
  top: 14px;
  right: 17px;
  color: rgba(255, 255, 255, .2);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: .1em;
}

.contact-card h2 {
  margin: 0;
  color: #f7fbf9;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-card p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #93a59e;
  font-size: 12px;
}

.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }

.contact-num {
  margin-right: 6px;
  color: var(--accent-bright);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, background .2s, color .2s;
}

.btn:hover { border-color: #aac7bb; color: var(--accent-deep); transform: translateY(-1px); }

.btn.primary {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  color: var(--ink);
}

.btn.primary:hover { border-color: #8af1ce; background: #8af1ce; color: var(--ink); }

.contact-card .btn:not(.primary) {
  border-color: rgba(255, 255, 255, .19);
  background: rgba(255, 255, 255, .05);
  color: #d8e3df;
}

.contact-card .btn:not(.primary):hover { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* Footer */
.footer {
  padding: 42px 0 38px;
  background: var(--ink);
  color: #e9f1ee;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr;
  gap: 44px;
}

.footer h3 {
  margin: 0 0 10px;
  color: #f6faf8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.footer p {
  margin: 0 0 7px;
  color: #85978f;
  font-size: 11.5px;
  line-height: 1.75;
}

.footer a { color: #aebeb8; }
.footer a:hover { color: var(--accent-bright); }

.contact-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }

.contact-line b {
  color: var(--accent-bright);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
}

.copy {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 4px;
  background: transparent;
  color: #aab9b3;
  font-size: 10px;
  cursor: pointer;
}

.copy:hover { border-color: rgba(94, 230, 182, .5); color: var(--accent-bright); }

.copyright {
  margin-top: 30px !important;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #63766e !important;
  font-size: 10.5px !important;
}

.footer-legal {
  display: flex;
  justify-content: center;
  margin: 10px 0 0 !important;
  text-align: center;
}

.footer-legal a {
  color: #7f928a;
  font-size: 10.5px;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Detail modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 12, .7);
  backdrop-filter: blur(6px);
  animation: fadeIn .2s var(--ease);
}

.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  max-height: min(90vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: popIn .28s var(--ease);
}

.modal.closing { animation: fadeOut .14s ease forwards; }
.modal.closing .modal-panel { animation: popOut .14s ease forwards; }

.modal-close {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 6px;
  background: rgba(10, 20, 16, .66);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}

.modal-close:hover { background: rgba(10, 20, 16, .9); transform: rotate(8deg); }

.modal-scroll { overflow: auto; overscroll-behavior: contain; }

.modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  background: #f8faf9;
}

.modal-nav button {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink-2);
  font-size: 11px;
  cursor: pointer;
}

.modal-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-deep); }
.modal-nav button:disabled { opacity: .38; cursor: not-allowed; }

#modalPos {
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.m-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

.m-cover { position: relative; min-height: 270px; background: #dfe7e3; }

.m-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 20, 16, .16), transparent 52%);
}

.m-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 27px 24px 22px;
}

.m-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.m-id b {
  padding: 2px 7px;
  border: 1px solid #cce8de;
  border-radius: 5px;
  background: #effaf6;
  color: var(--accent-deep);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .03em;
}

.m-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 720;
  line-height: 1.45;
  letter-spacing: 0;
}

.m-title { margin: -3px 0 0; color: var(--muted); font-size: 11.5px; }

.m-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--muted-2);
  font-size: 11px;
}

.m-meta b { color: var(--ink-2); font-weight: 600; }
.m-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.m-actions .btn { min-height: 35px; }
.btn.ghost { border-style: dashed; color: var(--muted); }

.m-sections {
  display: grid;
  gap: 22px;
  padding: 7px 24px 27px;
}

.m-sec h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
}

.m-sec h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

.player {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: #0b1411;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player-embed iframe {
  z-index: 1;
  background: #0b1411;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}

.player-embed.loaded iframe {
  opacity: 1;
  pointer-events: auto;
}

.player > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-lazy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 20, 16, .48), rgba(8, 20, 16, .12));
  pointer-events: none;
}

.player-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 7px;
  background: rgba(9, 22, 17, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s;
}

.player-play i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent-bright);
}

.player-play:hover {
  border-color: var(--accent-bright);
  background: rgba(9, 22, 17, .92);
  transform: translate(-50%, -50%) scale(1.02);
}

.player-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 13px;
  color: rgba(255, 255, 255, .72);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: .1em;
}

.player.playing::after,
.player.playing .player-play,
.player.playing .player-badge { display: none; }

.feat-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.feat-list li {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
  background: #fbfcfb;
}

.feat-list b { color: var(--accent-deep); font-size: 11.5px; }
.feat-list span { color: var(--ink-2); font-size: 12.5px; }

.desc-raw {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.desc-raw p { margin: 0 0 7px; color: var(--ink-2); font-size: 12.5px; }
.desc-raw p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

.contact-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 15px;
  padding: 14px 15px;
  border: 1px solid #cfe8de;
  border-radius: 7px;
  background: #eff9f5;
}

.contact-box .num {
  color: var(--accent-deep);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}

.contact-box .lbl { color: var(--muted); font-size: 11px; }
.contact-box .btn { min-height: 32px; }

/* Floating UI */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 90;
  max-width: calc(100% - 32px);
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: rgba(18, 33, 29, .96);
  color: #fff;
  font-size: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .2s, transform .2s;
}

.toast:not([hidden]) { opacity: 1; transform: translateX(-50%); }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink-2);
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  backdrop-filter: blur(8px);
  transition: opacity .22s, transform .22s, border-color .2s, color .2s;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent-deep); }

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 65;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 14px;
  border: 1px solid #2d443b;
  border-radius: 9px;
  background: rgba(18, 33, 29, .97);
  box-shadow: 0 18px 40px -18px rgba(18, 33, 29, .8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s, transform .25s;
  backdrop-filter: blur(12px);
}

.mobile-cta.show { opacity: 1; pointer-events: auto; transform: none; }
.mc-text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.35; }
.mc-text b {
  color: var(--accent-bright);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 500;
}
.mc-text span { color: #8fa19a; font-size: 9.5px; }
.mobile-cta .btn { min-height: 36px; flex: none; }

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

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes popIn {
  from { opacity: 0; transform: translateY(10px) scale(.988); }
  to { opacity: 1; transform: none; }
}
@keyframes popOut {
  to { opacity: 0; transform: translateY(7px) scale(.992); }
}
@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(94, 230, 182, .08); }
  50% { box-shadow: 0 0 0 7px rgba(94, 230, 182, .02); }
}

@media (max-width: 1220px) {
  .hero h1 { font-size: 46px; }
}

@media (max-width: 1080px) {
  .hero-main { gap: 38px; }
  .hero-showcase { height: 348px; }
  .hero-kicker { flex-wrap: wrap; gap: 8px 11px; }
}

@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 52px 0 42px;
  }

  .hero h1 { max-width: none; font-size: 49px; }
  .hero-showcase { height: 340px; grid-template-columns: 1.55fr .85fr; }
  .stats { margin-top: 2px; }
  .stat b { font-size: 20px; }
  .stat:not(:first-child) { padding-left: 18px; }

  #service,
  #faq { grid-template-columns: 1fr; gap: 25px; }

  .band-sub { max-width: 560px; }
  .m-head { grid-template-columns: 1fr; }
  .m-cover { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .hero-top { min-height: 70px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 7px; font-size: 17px; }
  .brand-wordmark { font-size: 14.5px; }
  .brand-meta { display: none; }
  .live-note { display: none; }
  .hero-top-actions { min-width: 0; }
  .brand-contact { min-height: 32px; max-width: 142px; overflow: hidden; padding: 0 10px; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
  .brand-contact .contact-prefix { display: none; }

  .hero-main { gap: 25px; padding: 38px 0 25px; }
  .hero-kicker { margin-bottom: 15px; font-size: 10.5px; }
  .hero-kicker::before { width: 14px; }
  .hero-kicker span { font-size: 9px; }
  .hero h1 { font-size: 35px; line-height: 1.2; }
  .hero-subtitle { margin-top: 12px; font-size: 12.5px; }
  .hero-desc { margin-top: 11px; font-size: 12.5px; line-height: 1.75; }
  .hero-cta { gap: 8px; margin-top: 22px; }
  .cta-main,
  .cta-sub { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
  .cta-quiet { flex: 1 0 100%; min-height: 28px; justify-content: flex-start; font-size: 11.5px; }
  .trustbar { gap: 6px 13px; margin-top: 20px; padding-top: 15px; font-size: 10.5px; }

  .hero-showcase { height: 204px; grid-template-columns: minmax(0, 1.45fr) minmax(0, .62fr); gap: 6px; }
  .showcase-stack { gap: 6px; }
  .showcase-label { left: 11px; right: 11px; bottom: 11px; }
  .showcase-label strong { font-size: 13px; }
  .showcase-side .showcase-label strong { font-size: 10px; }
  .showcase-open { display: none; }

  .stat { padding: 12px 4px 13px; }
  .stat:not(:first-child) { padding-left: 8px; }
  .stat b { font-size: 12px; }
  .stat span { overflow: hidden; margin-top: 2px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .catalog { padding: 44px 0 44px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 17px; }
  .catalog-heading h2 { font-size: 31px; }
  .catalog-note { max-width: none; margin: 0; text-align: left; font-size: 11.5px; }
  .search-dock { padding: 11px; }
  .toolbar { flex-wrap: wrap; gap: 7px; }
  .search { flex-basis: 100%; }
  .sortbox { width: 100%; justify-content: space-between; }
  .sortbox select { flex: 1; }
  .filters { gap: 8px; margin-top: 10px; padding-top: 10px; }
  .filter-row { gap: 7px; }
  .filter-label { width: 29px; padding-top: 6px; font-size: 9px; }
  .chips {
    flex-wrap: nowrap;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; align-self: flex-start; min-height: 40px; padding: 6px 10px; font-size: 11px; }
  .reset-row { padding-left: 36px; }
  .resultbar { align-items: flex-start; row-gap: 4px; margin: 22px 0 12px; }
  #resultCount { flex: 1 0 100%; white-space: nowrap; }
  .hint { display: block; flex: 1 0 100%; font-size: 10.5px; }
  .copy { min-height: 32px; padding: 5px 9px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 8px; }
  .card-body { gap: 8px; padding: 10px; }
  .card-name { min-height: 38px; font-size: 12px; line-height: 1.58; }
  .tag-id,
  .tag-plat { top: 6px; font-size: 8px; }
  .tag-id { left: 6px; padding: 3px 5px; }
  .tag-plat { right: 6px; max-width: calc(100% - 60px); overflow: hidden; padding: 3px 5px; text-overflow: ellipsis; white-space: nowrap; }
  .tag-dur { right: 6px; bottom: 6px; font-size: 8px; }
  .pill { padding: 1px 4px; font-size: 8.5px; }

  .band { padding-top: 48px; padding-bottom: 48px; }
  .band h2 { font-size: 23px; }
  .steps { gap: 0 20px; }
  .steps li { padding: 15px 0 19px; }
  .steps h3 { font-size: 14px; }
  .steps p { font-size: 11px; }
  .faq summary { padding: 14px 1px; font-size: 12px; }
  .faq p { margin-right: 20px; font-size: 11.5px; }

  .contact-band { padding-top: 4px; padding-bottom: 48px; }
  .contact-card { align-items: flex-start; flex-direction: column; gap: 19px; padding: 27px 20px 21px; border-radius: 9px; }
  .contact-card h2 { max-width: 290px; font-size: 21px; }
  .contact-card p { font-size: 11px; }
  .contact-actions { width: 100%; gap: 7px; }
  .contact-num { flex: 1 0 100%; margin: 0 0 3px; font-size: 18px; }
  .contact-actions .btn { flex: 1 1 auto; }

  .footer { padding: 34px 0 93px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .copyright { margin-top: 23px !important; }

  .modal { padding: 0; }
  .modal-panel { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
  .m-info { padding: 20px 16px 17px; }
  .m-info h2 { font-size: 19px; }
  .m-sections { padding: 5px 16px 22px; }
  .feat-list li { grid-template-columns: 1fr; gap: 3px; padding: 9px 10px; }

  .mobile-cta { display: flex; }
  .to-top { right: 14px; bottom: 79px; }

  body { padding-bottom: 68px; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 22px); }
  .brand-contact { max-width: 122px; }
  .brand-contact .contact-prefix { display: none; }
  .hero h1 { font-size: 31px; }
  .hero-showcase { height: 196px; }
  .grid { gap: 8px; }
  .card-name { font-size: 11.5px; }
  .mobile-cta { left: 8px; right: 8px; }
}

.seo-index .band-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 24px;
}

.seo-index > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid var(--line-strong);
}

.seo-index > summary::-webkit-details-marker { display: none; }
.seo-index > summary .summary-title { display: flex; align-items: baseline; gap: 16px; }
.seo-index > summary h2 { margin: 0; }
.seo-index > summary h2::before { display: none; }
.seo-index > summary .summary-count {
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}
.seo-index > summary::after {
  content: "+ 展开";
  flex: none;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
}
.seo-index[open] > summary::after { content: "− 收起"; }
.seo-index[open] > summary { border-bottom-color: transparent; }
.seo-index > .seo-index-body { padding-top: 20px; }

.seo-index-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.seo-project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.seo-project-list li { min-width: 0; border-bottom: 1px solid var(--line); }

.seo-project-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: baseline;
  padding: 11px 2px;
  color: var(--ink-2);
  transition: color .18s, background .18s;
}

.seo-project-list a:hover { color: var(--accent-deep); background: rgba(14, 142, 105, .045); }
.seo-project-list span { color: var(--accent); font: 10px/1.4 "Cascadia Mono", "SFMono-Regular", Consolas, monospace; }
.seo-project-list b { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.seo-project-list small { color: var(--muted-2); font-size: 9.5px; }

@media (max-width: 1000px) {
  .seo-project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .seo-index .band-head { grid-template-columns: 1fr; gap: 10px; }
  .seo-project-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .js .card,
  .js .thumb img { opacity: 1 !important; }
}
