﻿/* Scene - night amber theme
   palette: ink #071114 / amber #ffb84d / teal #4be0cd
   breakpoints: 1080 / 900 / 760 / 420 */

:root {
  --ink: #071114;
  --ink-2: #0a171a;
  --ink-3: #0e2024;
  --amber: #ffb84d;
  --amber-2: #ff9838;
  --teal: #4be0cd;
  --text: #e9f2f0;
  --dim: #8fa6a4;
  --dim-2: #6f8583;
  --line: rgba(233, 242, 240, 0.13);
  --line-soft: rgba(233, 242, 240, 0.07);
  --radius: 12px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, p, dl, dd, dt { margin: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 36px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: #12100a;
  padding: 10px 16px;
  z-index: 200;
}

.skip:focus { left: 12px; top: 12px; }

/* shared eyebrow label */
.kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 14, 17, 0.94);
  border-bottom-color: var(--line);
}

.header-bar {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dim-2);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 2px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--dim);
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--text); }

.site-nav a.is-active { color: var(--amber); }

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
}

.nav-cta {
  color: #12100a !important;
  background: var(--amber);
  padding: 9px 18px !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--amber-2);
  transform: translateY(-1px);
}

.nav-cta.is-active::after { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 36px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 92px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 15, 18, 0.97) 0%, rgba(6, 15, 18, 0.93) 32%, rgba(6, 15, 18, 0.6) 60%, rgba(6, 15, 18, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 15, 18, 0.62) 0%, rgba(6, 15, 18, 0.18) 34%, rgba(6, 15, 18, 0.72) 78%, var(--ink) 100%),
    url("assets/hero-night.webp");
  background-size: cover, cover, cover;
  background-position: center, center, 62% 10%;
  background-repeat: no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  justify-items: start;
}

.hero-copy { max-width: 540px; }

.hero h1 {
  font-size: clamp(58px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 22px;
}

.hero-sub {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--dim);
  max-width: 470px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: #12100a;
  box-shadow: 0 10px 26px rgba(255, 184, 77, 0.16);
}

.btn-primary:hover {
  background: var(--amber-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 184, 77, 0.24);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: #d5e3e1;
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 184, 77, 0.55);
  color: var(--amber);
}

.hero-meta {
  margin-top: 26px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim-2);
}

.hero-side {
  width: 100%;
  max-width: 520px;
}

.readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.readout-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding-right: 24px;
  border-right: 1px solid var(--line-soft);
}

.readout-row:last-child {
  border-right: 0;
  padding-right: 0;
}

.readout-row span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.readout-row b {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.readout-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--dim-2);
}

/* section base */
.section { padding: 96px 0; }

.head { max-width: 720px; margin-bottom: 54px; }

.head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 14px;
}

.head-sub {
  font-size: 15px;
  color: var(--dim);
  max-width: 620px;
}

.head-center {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.head-center .head-sub { margin: 0 auto; }

/* panel list */
.rows { border-bottom: 1px solid var(--line-soft); }

.row {
  display: grid;
  grid-template-columns: 44px minmax(120px, 210px) minmax(0, 1fr) 26px;
  gap: 26px;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid var(--line-soft);
  transition: border-color 0.25s ease;
}

.row:first-child { border-top-color: var(--line); }

.row:hover { border-top-color: rgba(255, 184, 77, 0.4); }

.row .idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim-2);
  transition: color 0.25s ease;
}

.row h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.row p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.65;
}

.row .mark {
  width: 26px;
  height: 1px;
  background: var(--line);
  justify-self: end;
  transition: background 0.25s ease;
}

.row:hover .idx { color: var(--amber); }
.row:hover h3 { color: var(--amber); }
.row:hover .mark { background: var(--amber); }

/* scene cards */
.section-scenes {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 30%, var(--ink-2) 70%, var(--ink) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  isolation: isolate;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.94);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.card:hover img {
  transform: scale(1.04);
  filter: brightness(0.94) saturate(1);
}

.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 20, 0.66) 0%, rgba(7, 17, 20, 0.06) 28%, rgba(7, 17, 20, 0.1) 52%, rgba(7, 17, 20, 0.45) 72%, rgba(7, 17, 20, 0.72) 100%);
}

.card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 78px 22px 24px;
  background: linear-gradient(180deg, rgba(7, 17, 20, 0) 0%, rgba(7, 17, 20, 0.62) 24%, rgba(7, 17, 20, 0.93) 52%, rgba(7, 17, 20, 0.98) 100%);
}

.card-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #ffd08a;
  margin-bottom: 8px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.card-body h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(233, 242, 240, 0.78);
  margin-bottom: 16px;
}

.meter { display: flex; gap: 5px; }

.meter i {
  display: block;
  width: 26px;
  height: 3px;
  background: rgba(233, 242, 240, 0.22);
  border-radius: 2px;
}

.meter i.on { background: var(--amber); }

/* numbers band */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.band-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.band-item b {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
  flex: 0 0 auto;
}

.band-item span {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
  padding-top: 6px;
  max-width: 230px;
}

/* statement */
.statement { padding: 96px 0 74px; }

.statement-inner {
  border-left: 3px solid var(--amber);
  padding-left: 40px;
}

.statement-text {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.statement-sign {
  font-size: 14px;
  color: var(--dim);
}

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

.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.step-no {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.68;
}

/* download */
.section-download { padding: 34px 0 96px; }

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  padding: 52px;
  border: 1px solid rgba(255, 184, 77, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 184, 77, 0.12) 0%, rgba(255, 184, 77, 0) 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.app-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.app-line img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.app-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-meta {
  font-size: 11.5px;
  color: var(--dim-2);
  margin-top: 2px;
}

.download-main h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download-text {
  font-size: 14.5px;
  color: var(--dim);
  margin-bottom: 28px;
  max-width: 430px;
}

.btn-block {
  width: 100%;
  max-width: 340px;
  padding: 17px 30px;
  font-size: 16px;
}

.download-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--dim-2);
}

.specs-wrap { align-self: center; }

.specs-cap {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--dim-2);
  margin-bottom: 10px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  align-content: center;
  margin: 0;
}

.spec {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
}

.spec:first-child, .spec:nth-child(2) { border-top: 0; padding-top: 4px; }

.spec dt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dim-2);
  margin-bottom: 6px;
}

.spec dd {
  font-size: 15.5px;
  color: var(--text);
}

/* faq */
.faq { border-bottom: 1px solid var(--line-soft); }

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

.faq details:first-child { border-top-color: var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 10px 0;
  position: relative;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  color: var(--amber);
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; }

.faq summary:hover { color: var(--amber); }

.faq details p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.75;
  max-width: 820px;
  padding: 2px 60px 26px 0;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.7fr);
  gap: 40px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-brand p {
  font-size: 12.5px;
  color: var(--dim-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--dim);
}

.footer-links a:hover { color: var(--amber); }

.footer-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim-2);
}

/* responsive */
@media (max-width: 1080px) {
  .download-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .specs { max-width: 520px; }
}

@media (max-width: 900px) {
  .shell { padding: 0 26px; }
  .section { padding: 78px 0; }
  .statement { padding: 78px 0 58px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 26px 22px;
    background: rgba(6, 14, 17, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }
  .site-nav a.is-active::after { display: none; }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: 0 !important;
    padding: 12px 18px !important;
  }
  .nav-toggle { display: flex; }
  .brand-tag { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .band-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .statement-inner { padding-left: 24px; }
  .download-panel { padding: 32px 24px; }
  .hero-layer {
    background-image:
      linear-gradient(180deg, rgba(6, 15, 18, 0.96) 0%, rgba(6, 15, 18, 0.84) 36%, rgba(6, 15, 18, 0.88) 68%, var(--ink) 100%),
      url("assets/hero-night.webp");
    background-size: cover, cover;
    background-position: center, 56% 26%;
  }
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 20px 0;
    align-items: start;
  }
  .row .idx { grid-row: 1 / span 2; padding-top: 3px; }
  .row h3 { grid-column: 2; }
  .row p { grid-column: 2; }
  .row .mark { display: none; }
  .hero { padding: 88px 0 68px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-desc { font-size: 14.5px; margin-bottom: 28px; }
  .btn { padding: 14px 24px; font-size: 14.5px; }
  .download-panel { padding: 28px 20px; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .spec:nth-child(2) { border-top: 1px solid var(--line-soft); padding-top: 18px; }
  .faq details p { padding-right: 12px; }
  .band-item b { font-size: 44px; }
}

@media (max-width: 420px) {
  .shell { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .readout-row { padding-right: 12px; }
  .readout-row b { font-size: 24px; }
  .statement-text { font-size: 24px; }
  .card-body { padding: 64px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
