:root {
  --bg: #f5f7ff;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #21325c;
  --muted: #6d79a2;
  --line: rgba(215, 224, 250, 0.9);
  --accent: #526cff;
  --accent-soft: rgba(82, 108, 255, 0.1);
  --shadow: 0 16px 40px rgba(82, 104, 170, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(122, 150, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

a:hover {
  color: var(--accent);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}

.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 640px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero-desc {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: filter 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1.5px solid var(--line);
}

.hero-avatar {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow,
.widget-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 32px 0;
}

.page-layout {
  align-items: start;
}

.content-column,
.sidebar,
.article {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h1,
.section-head h2 {
  margin: 0;
}

.section-head a,
.text-link {
  color: var(--accent);
  font-weight: 700;
}

.archive-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  padding: 28px 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(131, 220, 255, 0.26), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244, 247, 255, 0.96));
  border: 1px solid rgba(215, 224, 250, 0.95);
  box-shadow: 0 16px 40px rgba(82, 104, 170, 0.08);
}

.archive-hero-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(82, 108, 255, 0.08);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.post-card,
.widget,
.article,
.article-ad {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.post-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.post-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 24, 96, 0.98), rgba(38, 67, 181, 0.92) 44%, rgba(132, 82, 255, 0.82)),
    radial-gradient(circle at 70% 26%, rgba(112, 255, 255, 0.34), rgba(255,255,255,0) 18%);
}

.post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.post-card:hover .post-cover img {
  transform: scale(1.035);
}

.post-cover-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(13, 24, 96, 0.98), rgba(38, 67, 181, 0.92) 44%, rgba(132, 82, 255, 0.82)),
    radial-gradient(circle at 70% 26%, rgba(112, 255, 255, 0.34), rgba(255,255,255,0) 18%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.post-source {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(82, 108, 255, 0.1);
  color: var(--accent);
}

.post-summary {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 10px;
}

.post-meta span,
.article-meta span {
  color: var(--accent);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.post-tags span,
.post-tags a,
.tag-cloud a,
.term-grid a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.post-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
}

.post-read-hint {
  color: #8a97b8;
  font-size: 0.88rem;
  font-weight: 700;
}

.post-read-more {
  color: var(--accent);
  font-weight: 800;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(82, 104, 170, 0.12);
  border-color: rgba(174, 191, 255, 0.95);
}

.sidebar {
  display: grid;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.widget {
  padding: 20px;
  background: rgba(255,255,255,0.92);
}

.widget h2 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.service-widget {
  border-color: rgba(174, 191, 255, 0.95);
}

.service-card {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 16px;
  border-radius: 14px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  color: inherit;
}

.service-card--primary {
  background: linear-gradient(135deg, rgba(22, 39, 130, 0.98), rgba(72, 108, 255, 0.96) 56%, rgba(139, 88, 255, 0.88));
  color: #fff;
}

.service-card--secondary {
  background: linear-gradient(135deg, rgba(33, 50, 92, 0.98), rgba(67, 93, 204, 0.96));
  color: #fff;
}

.service-card strong {
  display: block;
  font-size: 0.97rem;
}

.service-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

.service-card em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 700;
}

.ad-widget {
  border-color: rgba(15, 118, 110, 0.28);
}

.ad-card {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #fff;
}

.ad-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.compact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compact-list a {
  color: var(--muted);
  transition: color 0.18s ease;
}

.compact-list a:hover {
  color: var(--accent);
}

.tag-cloud,
.term-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.term-grid {
  margin-top: 18px;
}

.article {
  padding: min(6vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(131, 220, 255, 0.14), transparent 18%),
    rgba(255,255,255,0.94);
}

.article h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.article-body {
  margin-top: 28px;
  font-size: 1.05rem;
}

.article-tags {
  margin-top: 18px;
}

.article-body h2 {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-body p,
.article-body ul {
  color: #374151;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35rem;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(82, 108, 255, 0.06);
  border-radius: 0 16px 16px 0;
  color: #405176;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 14px;
}

.article-body p:has(img) {
  margin: 24px 0;
}

.article-body figure {
  margin: 28px 0;
}

.article-body figure img {
  margin: 0 auto;
}

.article-body pre,
.article-body table {
  max-width: 100%;
  overflow-x: auto;
}

/* Social proof */
.social-proof {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Landing pages */
.landing-layout {
  max-width: 860px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.landing-hero {
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.landing-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.landing-hero p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.landing-section {
  margin-bottom: 48px;
}

.landing-section-title {
  margin: 0 0 24px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.97rem;
}

.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 800;
}

.steps-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.97rem;
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.landing-cta h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.landing-cta p {
  margin: 0 0 24px;
  color: var(--muted);
}

.landing-cta a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-ad {
  margin-top: 34px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(244,247,255,0.96), rgba(234, 240, 255, 0.92));
  border: 1px solid rgba(215, 224, 250, 0.95);
}

.article-ad h2 {
  margin: 6px 0;
}

.article-ad p {
  margin: 0 0 12px;
  color: var(--muted);
}

.article-ad a {
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
}

.footer-inner {
  padding: 26px 0;
  font-size: 0.92rem;
}

.footer-inner p {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
  }

  .archive-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: none;
  }

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

  .hero-avatar {
    width: 88px;
    height: 88px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

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

  .post-list {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .post-list {
    grid-template-columns: 1fr;
  }
}

/* MarkWave homepage */
.landing-hero {
  position: relative;
  overflow: hidden;
  text-align: left;
  margin-bottom: 0;
  padding: 86px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 46px 46px;
}

.landing-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg));
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 64px;
  align-items: center;
}

.landing-copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #07111f;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-lead {
  max-width: 580px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

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

.btn {
  border-radius: 8px;
}

.btn-primary {
  background: #07111f;
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: #fff;
}

.system-map {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 22%, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 20% 76%, rgba(34, 197, 94, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 84px 62px 74px;
  border: 1px dashed rgba(15, 23, 42, 0.17);
  border-radius: 999px;
  transform: rotate(-10deg);
}

.system-map::after {
  inset: 116px 110px 112px;
  border-color: rgba(20, 184, 166, 0.3);
  transform: rotate(19deg);
}

.system-map-topline {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-core,
.system-node {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.system-core {
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 240px;
  padding: 18px;
  transform: translate(-50%, -50%);
}

.system-core img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.system-core strong,
.system-node strong {
  display: block;
  color: #07111f;
  font-size: 1rem;
  line-height: 1.35;
}

.system-core span,
.system-node small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.system-node {
  width: 190px;
  padding: 16px;
}

.node-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: #ecfeff;
  color: #0369a1;
  font-size: 0.76rem;
  font-weight: 900;
}

.node-content {
  top: 82px;
  left: 34px;
}

.node-agent {
  top: 92px;
  right: 34px;
}

.node-flow {
  bottom: 56px;
  left: 54px;
}

.node-convert {
  right: 42px;
  bottom: 72px;
}

.loop-section,
.path-section,
.knowledge-section,
.final-cta {
  padding: 82px 0;
}

.section-head-stack {
  display: block;
  margin-bottom: 30px;
}

.section-head-stack h2,
.path-intro h2,
.knowledge-copy h2,
.final-cta h2 {
  margin: 0 0 14px;
  color: #07111f;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head-stack p,
.path-intro p,
.knowledge-copy p,
.final-cta p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.loop-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.loop-step {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.loop-step:last-child {
  border-right: none;
}

.loop-step span,
.path-card-index {
  color: #0891b2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.loop-step h3,
.path-card h3 {
  margin: 42px 0 12px;
  color: #07111f;
  font-size: 1.2rem;
  line-height: 1.35;
}

.loop-step p,
.path-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.7;
}

.path-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-grid,
.knowledge-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.path-list {
  display: grid;
  gap: 14px;
}

.path-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(180px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.path-card:first-child {
  border-top: 1px solid var(--line);
}

.path-card h3 {
  margin: 0;
}

.path-card a,
.knowledge-copy a {
  color: #0f766e;
  font-weight: 800;
}

.knowledge-list {
  display: grid;
  gap: 12px;
}

.knowledge-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.knowledge-item:first-child {
  border-top: 1px solid var(--line);
}

.knowledge-item time {
  color: #0891b2;
  font-size: 0.86rem;
  font-weight: 800;
}

.knowledge-item span {
  color: #07111f;
  font-weight: 750;
  line-height: 1.45;
}

.final-cta {
  padding-top: 40px;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.9), rgba(236, 254, 255, 0.9)),
    #fff;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

@media (max-width: 960px) {
  .landing-hero-inner,
  .path-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .system-map {
    min-height: 500px;
  }

  .loop-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loop-step:nth-child(2) {
    border-right: none;
  }

  .loop-step:nth-child(3),
  .loop-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .path-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .path-card p,
  .path-card a {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .landing-hero,
  .loop-section,
  .path-section,
  .knowledge-section,
  .final-cta {
    padding: 56px 0;
  }

  .landing-copy h1 {
    font-size: 2.65rem;
  }

  .system-map {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 58px 14px 14px;
  }

  .system-map::before,
  .system-map::after {
    display: none;
  }

  .system-core,
  .system-node {
    position: static;
    width: auto;
    transform: none;
  }

  .loop-rail {
    grid-template-columns: 1fr;
  }

  .loop-step {
    min-height: auto;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .loop-step:first-child {
    border-top: none;
  }

  .loop-step h3 {
    margin-top: 28px;
  }

  .path-card,
  .knowledge-item,
  .final-cta-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .path-card p,
  .path-card a {
    grid-column: auto;
  }

  .final-cta-inner {
    padding: 28px;
  }
}
