:root {
  --bg: #eaf5f0;
  --mint: #d6ebe2;
  --paper: #ffffff;
  --ink: #10332c;
  --muted: #55736a;
  --accent: #f6c445;
  --line: #c8dfd6;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 30px;
}

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #3d6b5d;
}

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(234, 245, 240, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-domain {
  font-size: 11.5px;
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--muted);
}

.topnav a:hover {
  color: var(--ink);
}

.topbar-btn {
  flex: 0 0 auto;
  align-items: center;
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--ink);
  color: #f4fbf7;
  font-size: 14px;
  font-weight: 600;
}

.topbar-btn:not([hidden]) {
  display: inline-flex;
}

.topbar-btn:hover {
  background: #1c4a3f;
}

/* hero */
.hero {
  position: relative;
  padding: 68px 0 92px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--mint);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 24px solid var(--mint);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.hero-lead {
  margin-top: 22px;
  max-width: 34em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  text-wrap: pretty;
}

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

.solid {
  align-items: center;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(246, 196, 69, 0.32);
  transition: transform 0.16s ease;
}

.solid:not([hidden]) {
  display: inline-flex;
}

.solid:hover {
  transform: translateY(-2px);
}

.ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 600;
}

.ghost:hover {
  border-color: var(--ink);
}

.hero-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tag-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(16, 51, 44, 0.06);
}

.tag-card:nth-child(2),
.tag-card:nth-child(3) {
  background: var(--mint);
}

.tag-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}

.tag-name::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.tag-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  text-wrap: pretty;
}

/* section head */
.section-head {
  max-width: 660px;
}

.section-head h2,
.board-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  font-weight: 800;
  text-wrap: pretty;
}

.section-head p:not(.label),
.board-copy > p:not(.label) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* channels */
.channels {
  padding: 14px 0 92px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.panel {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 51, 44, 0.1);
}

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

.panel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.panel h3 {
  font-size: 18px;
  font-weight: 800;
}

.panel > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.panel-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: #2f5b4e;
}

.panel-list li::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* screens */
.screens {
  padding: 78px 0 84px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.screens h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  font-weight: 800;
}

.screens-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.shots {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.shot {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(16, 51, 44, 0.12);
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* flow */
.flow {
  padding: 78px 0;
  background: var(--mint);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 44px;
}

.flow-steps li {
  position: relative;
  padding-top: 30px;
  border-top: 2px dashed rgba(16, 51, 44, 0.22);
}

.step-no {
  position: absolute;
  top: -20px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.flow-steps h3 {
  font-size: 17px;
  font-weight: 800;
}

.flow-steps p {
  margin-top: 8px;
  color: #3c6157;
  font-size: 14.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* compare */
.compare {
  padding: 84px 0 88px;
}

.table-wrap {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.75;
}

.compare-table thead th {
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #2f5b4e;
}

.compare-table tbody th {
  width: 22%;
  font-weight: 800;
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr + tr th,
.compare-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

/* board */
.board {
  padding: 0 0 92px;
}

.board-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  padding: 46px 44px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.board-copy > p:not(.label) {
  max-width: 28em;
}

.board-list {
  display: grid;
  gap: 18px;
}

.board-list li {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.board-list h3 {
  font-size: 15.5px;
  font-weight: 800;
}

.board-list p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-wrap: pretty;
}

/* get */
.get {
  padding: 78px 0 88px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.get-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 0;
}

.get-card {
  flex: 1 1 260px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 38px;
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.get-card:not([hidden]) {
  display: flex;
}

.get-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(16, 51, 44, 0.1);
}

.get-no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7a9a90;
}

.get-channel {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #3d6b5d;
}

.get-name {
  font-size: 19px;
  font-weight: 800;
}

.get-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.get-more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.get-card:hover .get-more {
  color: #b27f00;
}

/* footer */
.footer {
  padding: 56px 0 26px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.footer-name {
  font-size: 16px;
  font-weight: 800;
}

.footer-domain {
  font-size: 13px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

/* 404 */
.error-main {
  padding: 110px 0 130px;
}

.error-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.error-copy h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.error-copy p {
  margin-top: 14px;
  max-width: 34em;
  color: var(--muted);
}

.error-copy .solid {
  margin-top: 28px;
}

.error-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 10px solid var(--mint);
  background: var(--accent);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* detail */
.detail {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.detail-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list h3 {
  font-size: 16px;
  font-weight: 800;
}

.detail-list p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* responsive */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-side {
    max-width: 620px;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .board-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 32px;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 0 20px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 12px;
  }

  .topnav {
    order: 3;
    flex: 1 1 100%;
    gap: 20px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 14px;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .topbar-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 62px;
  }

  .hero h1 {
    font-size: 1.78rem;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-side {
    gap: 12px;
  }

  .tag-card {
    min-height: 0;
    padding: 18px 18px 20px;
  }

  .tag-name {
    font-size: 16px;
  }

  .tag-card p {
    font-size: 13px;
  }

  .channels {
    padding: 6px 0 62px;
  }

  .screens {
    padding: 58px 0 62px;
  }

  .detail {
    padding: 58px 0;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .shots {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .shots::-webkit-scrollbar {
    display: none;
  }

  .shot {
    width: 164px;
  }

  .flow {
    padding: 58px 0;
  }

  .compare {
    padding: 60px 0 64px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
  }

  .board {
    padding: 0 0 64px;
  }

  .board-card {
    padding: 30px 24px;
  }

  .get {
    padding: 58px 0 66px;
  }

  .get-card {
    flex: 1 1 100%;
    padding: 22px 20px;
  }

  .get-more {
    margin-top: 12px;
  }

  .footer-main {
    flex-direction: column;
  }

  .error-main {
    padding: 72px 0 90px;
  }

  .error-grid {
    grid-template-columns: 1fr;
  }

  .error-badge {
    order: -1;
    width: 132px;
    height: 132px;
    font-size: 34px;
  }
}
