:root {
  --ink: #1c1915;
  --ink-soft: #5e584e;
  --paper: #f4f0e8;
  --paper-2: #fffdf8;
  --line: rgba(28, 25, 21, 0.12);
  --green: #0e6b4c;
  --green-deep: #083528;
  --green-darker: #06281e;
  --leaf: #e7f3ec;
  --gold: #f0b45a;
  --gold-ink: #2a1608;
  --shadow: 0 22px 50px rgba(8, 53, 40, 0.12);
  --radius: 22px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 {
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.35rem); }
h2 { margin: 0 0 0.75rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }

p { margin: 0 0 0.9rem; }

a { color: var(--green); }

a:hover { color: #0a5340; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--gold-ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #06281e;
  color: #f6f3ec;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover { color: white; }

.mark { width: 32px; height: 32px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav a:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.nav a[aria-current="page"] {
  background: rgba(240, 180, 90, 0.18);
  color: var(--gold);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.kicker-dark { color: var(--green); }

.hero {
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(240, 180, 90, 0.28), transparent 58%),
    radial-gradient(680px 480px at 0% 100%, rgba(94, 186, 146, 0.18), transparent 55%),
    linear-gradient(180deg, #083528 0%, #0c4a36 100%);
  color: #f6f3ec;
  padding: 4.2rem 0 3.5rem;
}

.hero h1 { max-width: 8em; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.lede {
  max-width: 38rem;
  color: #d7ebe2;
  font-size: 1.15rem;
}

.hero .lede { color: #d7ebe2; }

.page-hero .lede { color: var(--ink-soft); }

.fine {
  margin: 1rem 0 0;
  color: #c5ddd2;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-primary:hover { background: #ffc56e; color: var(--gold-ink); }

.btn-ghost {
  color: #f6f3ec;
  border-color: rgba(246, 243, 236, 0.4);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.btn-secondary {
  color: var(--green-deep);
  border-color: rgba(14, 107, 76, 0.35);
  background: transparent;
}

.btn-secondary:hover { background: white; color: var(--green-deep); }

.stage-wrap { max-width: 540px; margin-inline: auto; width: 100%; }

.stage {
  position: relative;
  height: 460px;
}

.monitor {
  position: absolute;
  top: 10px;
  right: 0;
  width: 86%;
  background: #10241c;
  border-radius: 26px;
  padding: 14px 14px 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.monitor-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  color: #d7ebe2;
  font-size: 0.82rem;
}

.monitor-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35584a;
}

.monitor-top strong {
  margin-left: auto;
  font-weight: 700;
}

.monitor-screen {
  margin-top: 10px;
  height: 300px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7f3ea, #efe4d2);
  display: grid;
  place-items: center;
}

.mini {
  width: 168px;
  background: #fffdf8;
  border-radius: 18px;
  padding: 12px 12px 10px;
  box-shadow: 0 10px 24px rgba(28, 25, 21, 0.08);
}

.mini p {
  margin: 8px 0;
  color: var(--green-deep);
  font-weight: 700;
}

.mini-status {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.mini-status i {
  width: 34px;
  height: 6px;
  margin-top: 4px;
  border-radius: 99px;
  background: #e4efe8;
}

.shots {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 36px 36px;
  gap: 6px;
}

.shots em {
  display: block;
  min-height: 0;
  border-radius: 10px;
  background: linear-gradient(160deg, #7dcea5, #0e6b4c);
}

.shots em:first-child { grid-row: 1 / span 2; }

.shots em.warm { background: linear-gradient(160deg, #f0b45a, #c4511a); }

.shots em.cool { background: linear-gradient(160deg, #d7ebe2, #7aa898); }

.mini-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.mini-nav i {
  width: 22px;
  height: 6px;
  border-radius: 99px;
  background: #d7ebe2;
}

.phone {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 196px;
  background: #1a1814;
  border-radius: 28px;
  padding: 16px 10px 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(240, 180, 90, 0.35);
  animation: float 4.8s ease-in-out infinite alternate;
}

.ear {
  width: 54px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 99px;
  background: #3a342c;
}

.phone-mini { width: auto; }

.stage-note {
  margin: 0.4rem 0 0;
  color: #d7ebe2;
  font-size: 0.95rem;
}

.section { padding: 4.5rem 0; }

.band { background: var(--leaf); }

.section-head { max-width: 40rem; margin-bottom: 1.8rem; }

.section-head h2, .split h2 { max-width: 16em; }

.split {
  display: grid;
  gap: 1.5rem 3rem;
}

.prose p:last-child, .card p:last-child { margin-bottom: 0; }

.platform-grid, .ability-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--paper-2);
  border: 1px solid rgba(14, 107, 76, 0.12);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.card svg, .ability-grid svg { width: 48px; height: 48px; color: var(--green); margin-bottom: 0.8rem; }

.card p, .ability-grid p, .feature-block p, .limit-panel li, .prose-page p, .prose-page li {
  color: var(--ink-soft);
}

.ability-grid article {
  padding: 1.15rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.more { margin: 1.6rem 0 0; }

.more a:not(.btn) { font-weight: 700; }

.step-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step-row li {
  counter-increment: step;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 4.6rem;
  position: relative;
  border: 1px solid rgba(14, 107, 76, 0.1);
}

.step-row li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  font-weight: 700;
}

.step-row p { margin: 0; color: var(--ink-soft); }

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.link-list a {
  display: block;
  background: var(--paper-2);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
}

.link-list a:hover { border-color: rgba(14, 107, 76, 0.45); }

.page-hero {
  padding: 3.2rem 0 1rem;
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(14, 107, 76, 0.09), transparent 60%),
    var(--paper);
}

.page-hero h1 { max-width: none; }

.crumbs { margin: 0 0 1.2rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: #b5ad9f; }

.crumbs a { color: var(--ink-soft); text-decoration: none; }

.crumbs a:hover { color: var(--green); }

.feature-list { display: grid; gap: 0.3rem; }

.feature-block {
  display: grid;
  gap: 0.4rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.feature-block h2 { font-size: 1.45rem; }

.sheet-wrap {
  overflow: auto;
  background: var(--paper-2);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.sheet th, .sheet td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.sheet thead th { background: #dff0e7; }

.sheet tbody th { width: 28%; font-weight: 700; }

.sheet tr:last-child th, .sheet tr:last-child td { border-bottom: 0; }

.limit-panel {
  background: var(--paper-2);
  border-radius: 28px;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
}

.limit-panel ul, .prose-page ul { margin: 0 0 1rem; padding-left: 1.15rem; }

.prose-page { max-width: 44rem; }

h2, h3, [id] { scroll-margin-top: 5.5rem; }

.prose-page h2 { margin-top: 2.4rem; }

.prose-page h2:first-child { margin-top: 0; }

.guide-steps {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  counter-reset: guide;
}

.guide-steps > li {
  counter-increment: guide;
  position: relative;
  padding: 0 0 0.4rem 4.3rem;
  margin: 0 0 1.4rem;
}

.guide-steps > li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  font-weight: 700;
}

.guide-steps h3 { font-size: 1.25rem; padding-top: 0.35rem; }

.ui {
  display: inline-block;
  padding: 0.02em 0.45em;
  border-radius: 7px;
  background: var(--leaf);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.92em;
  border: 1px solid rgba(14, 107, 76, 0.16);
  overflow-wrap: anywhere;
}

.callout {
  margin: 0.4rem 0 1.4rem;
  padding: 1rem 1.1rem;
  background: #fff8ef;
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
}

.callout p:last-child { margin-bottom: 0; }

.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; }

details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.95rem 1.15rem 0.35rem;
  scroll-margin-top: 5.5rem;
}

summary {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 700;
  padding-bottom: 0.7rem;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.45rem;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

details[open] summary::before {
  margin-top: 0.55rem;
  transform: rotate(45deg);
}

details p { color: var(--ink-soft); }

details[open] { padding-bottom: 0.8rem; }

.site-footer {
  background: var(--green-darker);
  color: #d5e6dc;
  padding: 3rem 0 1.4rem;
}

.site-footer a { color: #f6f3ec; text-decoration: none; }

.site-footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-label {
  margin: 0 0 0.3rem;
  color: var(--gold);
  font-weight: 700;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b7cfc4;
  font-size: 0.92rem;
}

.footer-base p { margin: 0; }

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (max-width: 720px) {
  .stage { height: 390px; }
  .monitor-screen { height: 230px; }
  .phone { width: 148px; bottom: 8px; }
  .mini { width: 132px; }
  .hero h1, .page-hero h1 { max-width: none; }
}

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .split { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .ability-grid { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .step-row { grid-template-columns: repeat(3, 1fr); }
  .feature-block { grid-template-columns: 14rem 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.9fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
}
