﻿:root {
  --mint: #c9f0d2;
  --mint-2: #e6f8e9;
  --ink: #0f2419;
  --cream: #fff9ea;
  --orange: #ff8a3d;
  --orange-deep: #e86f1f;
  --muted: #52695a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mint);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.frame {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

/* Ticker */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--mint);
  border-bottom: 2px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 8px 0;
  animation: marquee 30s linear infinite;
}

.ticker-track span {
  padding-right: 2.4rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mint);
  border-bottom: 2px solid var(--ink);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--cream);
}

.head-nav {
  display: flex;
  gap: 6px;
}

.head-nav a {
  padding: 5px 12px;
  border: 2px solid transparent;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.head-nav a:hover,
.head-nav a.is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mint);
}

.head-btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.head-btn:not([hidden]):hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* Hero */
.hero {
  padding: 62px 0 0;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero h1 {
  margin: 14px 0 30px;
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 .h1-brand {
  display: block;
  margin-bottom: 12px;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 0.2em;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 34px;
  align-items: start;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.hero-intro {
  max-width: 30em;
  font-size: 0.92rem;
  color: #2f4838;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:not([hidden]):hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--mint);
}

.btn-dark:hover {
  background: var(--orange-deep);
  color: var(--cream);
}

.btn-quiet {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
}

.hero-index {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.hero-index span {
  margin-right: 7px;
  color: var(--orange-deep);
}

/* Strip */
.strip {
  margin-top: 42px;
  padding: 30px 0 0;
  border-top: 2px solid var(--ink);
  background: var(--mint-2);
}

.strip-grid {
  width: min(860px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
}

.strip-grid .shot {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--mint);
}

.strip-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}

/* Manual */
.manual {
  padding: 70px 0;
  background: var(--cream);
  border-top: 2px solid var(--ink);
}

.manual-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
}

.manual-head .label {
  grid-column: 1 / -1;
}

.manual-head h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}

.manual-note {
  max-width: 26em;
  font-size: 0.88rem;
  color: var(--muted);
}

.manual-list {
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.manual-row {
  display: grid;
  grid-template-columns: 64px 1fr 110px;
  gap: 24px;
  align-items: start;
  padding: 24px 10px;
  border-bottom: 2px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.manual-row:hover {
  background: var(--ink);
  color: var(--mint);
}

.row-no {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--orange-deep);
  padding-top: 6px;
}

.row-main h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.row-main p {
  max-width: 52em;
  margin-top: 5px;
  font-size: 0.86rem;
  color: var(--muted);
}

.manual-row:hover .row-main p {
  color: rgba(201, 240, 210, 0.72);
}

.row-tag {
  justify-self: end;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 8px;
}

.manual-row:hover .row-tag {
  color: var(--mint);
}

/* Local */
.local {
  padding: 70px 0;
  border-top: 2px solid var(--ink);
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.local-quote blockquote {
  margin: 18px 0 16px;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.local-note {
  max-width: 26em;
  font-size: 0.86rem;
  color: var(--muted);
}

.principles {
  display: grid;
  gap: 12px;
}

.principles article {
  padding: 18px 20px;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.principles span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
}

.principles h3 {
  margin: 6px 0 4px;
  font-size: 1.02rem;
}

.principles p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding: 70px 0;
  background: var(--cream);
  border-top: 2px solid var(--ink);
}

.faq-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 40px;
  align-items: end;
}

.faq-head .label {
  grid-column: 1 / -1;
}

.faq-head h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
}

.faq-note {
  max-width: 22em;
  padding-bottom: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.faq-list {
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 2px solid var(--ink);
}

.faq-item summary {
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 76px) 1fr 36px;
  gap: 20px;
  align-items: center;
  padding: 18px 8px 18px 4px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--mint-2);
}

.faq-no {
  font-family: var(--mono);
  font-size: clamp(2.875rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.faq-item[open] .faq-no {
  color: var(--orange-deep);
}

.faq-q {
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.faq-item summary::after {
  content: "+";
  justify-self: end;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-a {
  padding: 0 8px 26px 100px;
}

.faq-a p {
  max-width: 60em;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #2f4838;
}

/* Scenes */
.scenes {
  background: var(--mint-2);
  border-top: 2px solid var(--ink);
}

.scenes-head {
  padding: 52px 0 26px;
}

.scenes-head h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.scenes-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.scene {
  position: relative;
  min-height: 272px;
  padding: 36px 34px 40px;
  border-left: 2px solid var(--ink);
}

.scene:first-child {
  border-left: 0;
}

.scene-a {
  background: var(--mint);
}

.scene-b {
  background: var(--cream);
}

.scene-c {
  background: var(--orange);
}

.scene::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: var(--ink);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.scene-no {
  font-family: var(--mono);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.scene h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.scene p {
  max-width: 24em;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #2f4838;
}

.scene p + p {
  margin-top: 6px;
}

.scene-c p {
  color: #4a2508;
}

/* Install */
.install {
  padding: 64px 0 70px;
  background: var(--cream);
  border-top: 2px solid var(--ink);
}

.install-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 40px;
  align-items: end;
}

.install-head .label {
  grid-column: 1 / -1;
}

.install-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
}

.install-note {
  max-width: 24em;
  padding-bottom: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border: 2px solid var(--ink);
}

.install-step {
  padding: 22px 20px 26px;
  background: var(--cream);
  border-left: 2px solid var(--ink);
}

.install-step:first-child {
  border-left: 0;
}

.install-no {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--orange-deep);
}

.install-step h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.install-step p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Kinds */
.kinds {
  padding: 52px 0;
  background: var(--ink);
  color: var(--mint);
  border-top: 2px solid var(--ink);
}

.kinds .label {
  color: var(--orange);
}

.kinds-head {
  display: block;
}

.kinds-head h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.kind-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.kind-row li {
  padding: 8px 18px;
  border: 2px solid var(--mint);
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease;
}

.kind-row li:hover {
  background: var(--mint);
  color: var(--ink);
}

.kind-row li:nth-child(3n + 2) {
  border-color: var(--orange);
  color: var(--orange);
}

.kind-row li:nth-child(3n + 2):hover {
  background: var(--orange);
  color: var(--ink);
}

/* Download */
.download {
  padding: 68px 0 60px;
  background: var(--orange);
  border-top: 2px solid var(--ink);
}

.download-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.download-head .label {
  grid-column: 1 / -1;
  color: var(--ink);
}

.download-head h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
}

.download-head > p:last-child {
  max-width: 26em;
  font-size: 0.86rem;
  color: #5c2c0c;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.channel-grid:has(.channel:not([hidden])) {
  margin-top: 32px;
}

.channel:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 20px 18px;
  background: var(--ink);
  color: var(--mint);
  border: 2px solid var(--ink);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.channel:not([hidden]):hover {
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-4px);
}

.channel-no {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.channel:not([hidden]):hover .channel-no {
  color: var(--orange-deep);
}

.channel strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.channel small {
  font-size: 0.72rem;
  color: rgba(201, 240, 210, 0.6);
}

.channel:not([hidden]):hover small {
  color: var(--muted);
}

.channel-arrow {
  margin-top: 14px;
  font-size: 1.3rem;
  color: var(--orange);
}

.channel:not([hidden]):hover .channel-arrow {
  color: var(--orange-deep);
}

/* Footer */
.site-footer {
  padding: 24px 0;
  background: var(--mint);
  border-top: 2px solid var(--ink);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.foot-brand img {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.foot-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-size: 0.9rem;
  font-weight: 900;
}

.foot-brand em {
  font-style: normal;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.foot-nav {
  display: flex;
  gap: 18px;
  font-size: 0.79rem;
  font-weight: 700;
}

.foot-nav a:hover {
  color: var(--orange-deep);
}

.foot-copy {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
}

/* Entrance */
@keyframes slam {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-kicker,
.hero h1,
.hero-row {
  animation: slam 0.78s ease both;
}

.hero h1 {
  animation-delay: 0.06s;
}

.hero-row {
  animation-delay: 0.14s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .hero-kicker,
  .hero h1,
  .hero-row {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-index {
    display: none;
  }

  .local-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .channel:not([hidden]) {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 4px 14px;
  }

  .channel small {
    grid-column: 2;
  }

  .channel-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .head-nav {
    display: none;
  }

  .faq-head,
  .install-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-note,
  .install-note {
    max-width: none;
    padding-bottom: 0;
  }

  .faq-item summary {
    grid-template-columns: 48px 1fr 28px;
    gap: 12px;
    padding: 16px 4px;
  }

  .faq-no {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }

  .faq-a {
    padding: 0 4px 22px 64px;
  }

  .scenes-head {
    padding: 40px 0 22px;
  }

  .scenes-band {
    grid-template-columns: 1fr;
  }

  .scene {
    min-height: 0;
    padding: 28px 26px 32px;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .scene:first-child {
    border-top: 0;
  }

  .scene::after {
    width: 32px;
    height: 32px;
  }

  .install-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-step:nth-child(n + 3) {
    border-top: 2px solid var(--ink);
  }

  .install-step:nth-child(3) {
    border-left: 0;
  }

  .hero-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .manual-head,
  .download-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .manual-row {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .row-tag {
    display: none;
  }

  .row-main h3 {
    font-size: 1.2rem;
  }

  .strip-grid {
    width: calc(100% - 32px);
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .strip-grid .shot {
    flex: 0 0 auto;
    width: min(64%, 200px);
    scroll-snap-align: center;
  }

  .kinds-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .frame {
    width: calc(100% - 32px);
  }

  .head-inner {
    height: 62px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .outline {
    -webkit-text-stroke-width: 1.6px;
  }

  .hero-actions {
    gap: 8px;
  }

  .btn:not([hidden]) {
    height: 42px;
    padding: 0 15px;
    font-size: 0.76rem;
  }

  .strip-grid {
    padding: 8px 8px 12px;
  }

  .manual,
  .local,
  .faq,
  .install,
  .download {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .install-step {
    padding: 18px 14px 22px;
  }

  .install-step h3 {
    margin-top: 14px;
    font-size: 0.92rem;
  }

  .scene {
    padding: 24px 20px 28px;
  }

  .manual-row {
    padding: 20px 4px;
  }

  .local-quote blockquote {
    font-size: 1.6rem;
  }

  .kinds {
    padding: 40px 0;
  }

  .kind-row li {
    padding: 6px 13px;
    font-size: 0.8rem;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .foot-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}
