:root {
  --bg: #0c0e16;
  --surface: #191b23;
  --surface-high: #282a32;
  --surface-glass: rgba(25, 27, 35, 0.72);
  --primary: #bac3ff;
  --secondary: #45d8ed;
  --accent: #83da85;
  --ink: #e1e1ed;
  --ink-muted: #8f909e;
  --line: rgba(255, 255, 255, 0.06);
  --shadow: 0 32px 84px rgba(0, 0, 0, 0.36);
  --width: 1280px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(186, 195, 255, 0.12), transparent 28%),
    radial-gradient(circle at 78% 10%, rgba(69, 216, 237, 0.08), transparent 22%),
    linear-gradient(180deg, #10131d 0%, #0c0e16 38%, #090b12 100%);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

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

button,
input {
  font: inherit;
}

.landing-shell {
  min-height: 100vh;
}

.page-wrap,
.topbar-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--width));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 14, 22, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand,
.topbar-links a,
.button,
.kicker,
.proof-label,
.script-state,
.tag-row span,
.section-head h2,
.detail-meta-label,
.detail-pill,
.episode-topline,
.episode-badge,
.episode-play,
.open-link-button {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar-links a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.topbar-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(25, 27, 35, 0.6);
}

.search-chip span {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.search-chip input {
  width: 180px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-chip input::placeholder {
  color: var(--ink-muted);
}

.icon-chip {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.page-wrap {
  padding: 132px 0 96px;
}

.hero-section {
  margin-bottom: 128px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: end;
}

.hero-copy h1 {
  margin: 0 0 28px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 40px;
  color: var(--ink-muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(186, 195, 255, 0.74) 100%);
  color: var(--bg);
  box-shadow: 0 18px 42px rgba(186, 195, 255, 0.15);
}

.button-text {
  padding: 0;
  min-height: auto;
  border-bottom: 2px solid rgba(69, 216, 237, 0.24);
  border-radius: 0;
  color: var(--secondary);
}

.card {
  background: linear-gradient(180deg, rgba(25, 27, 35, 0.98), rgba(17, 19, 28, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.glass-card {
  background: rgba(25, 27, 35, 0.76);
  backdrop-filter: blur(14px);
}

.card-proof {
  padding: 30px;
  border-left: 4px solid var(--accent);
}

.proof-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-dot,
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.proof-dot {
  background: var(--accent);
}

.card-proof p {
  margin: 0;
  color: var(--ink-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
}

.feature-section,
.content-section {
  margin-bottom: 128px;
}

.feature-stage {
  position: relative;
  display: block;
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(12, 14, 22, 0.08), rgba(12, 14, 22, 0.68)),
    linear-gradient(135deg, rgba(186, 195, 255, 0.16), rgba(69, 216, 237, 0.08)),
    url("/assets/images/openclaw-hero.svg") center/cover no-repeat;
}

.feature-stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(186, 195, 255, 0.92);
  color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

.feature-caption {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 460px;
  padding: 24px;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-caption h2,
.newsletter-copy h2,
.section-head h2,
.detail-copy-block h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.feature-caption h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.feature-caption p,
.platform-card p,
.newsletter-copy p,
.detail-lead,
.detail-summary-card p,
.detail-meta-card strong,
.detail-video-footer,
.resource-card-detail p,
.episode-copy p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.section-line {
  width: 48px;
  height: 2px;
  background: var(--primary);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.episode-card-list {
  overflow: hidden;
}

.episode-card-featured {
  background: linear-gradient(180deg, rgba(40, 42, 50, 0.98), rgba(22, 25, 35, 0.98));
}

.episode-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  padding: 20px;
  background-position: center;
  background-size: cover;
}

.episode-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.04), rgba(12, 14, 22, 0.72));
}

.episode-thumb-01 {
  background:
    linear-gradient(135deg, rgba(186, 195, 255, 0.26), rgba(69, 216, 237, 0.08)),
    url("/assets/images/openclaw-hero.svg") center/cover no-repeat;
}

.episode-thumb-02 {
  background:
    linear-gradient(135deg, rgba(131, 218, 133, 0.16), rgba(69, 216, 237, 0.08)),
    url("/assets/images/openclaw-hero.svg") center/cover no-repeat;
}

.episode-thumb-03 {
  background:
    linear-gradient(135deg, rgba(69, 216, 237, 0.18), rgba(186, 195, 255, 0.08)),
    url("/assets/images/openclaw-hero.svg") center/cover no-repeat;
}

.episode-badge,
.episode-play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.episode-badge {
  background: rgba(12, 14, 22, 0.78);
  color: var(--ink);
}

.episode-play {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: rgba(186, 195, 255, 0.9);
  color: var(--bg);
}

.episode-copy {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.episode-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.episode-copy h3,
.platform-card h3,
.detail-summary-card h3,
.resource-card-detail h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.episode-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.platform-card {
  padding: 30px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(186, 195, 255, 0.08);
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(12, 14, 22, 0.78);
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-card-accent {
  background: linear-gradient(180deg, rgba(40, 42, 50, 0.98), rgba(22, 25, 35, 0.98));
}

.script-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  background: var(--accent);
}

.script-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(12, 14, 22, 0.82);
}

.script-chip code {
  overflow: hidden;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-chip span {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.newsletter {
  position: relative;
  overflow: hidden;
  padding: 52px 56px;
}

.newsletter-glow {
  position: absolute;
  top: -72px;
  right: -52px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(186, 195, 255, 0.07);
  filter: blur(100px);
}

.newsletter-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.newsletter-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.newsletter-copy p {
  margin-bottom: 34px;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 14px;
}

.newsletter-form input {
  flex: 1;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(12, 14, 22, 0.9);
  color: var(--ink);
}

.newsletter-form input::placeholder {
  color: var(--ink-muted);
}

.newsletter-form button {
  min-width: 160px;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
}

.footer-links a {
  color: var(--ink-muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-icons {
  display: flex;
  gap: 12px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.detail-page-wrap {
  padding-top: 144px;
}

.detail-shell .topbar-actions {
  justify-content: flex-end;
}

.detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(69, 216, 237, 0.18);
  background: rgba(69, 216, 237, 0.07);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-hero-section {
  margin-bottom: 112px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: end;
}

.detail-copy-block h1 {
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 0.92;
  color: var(--primary);
  margin-bottom: 22px;
}

.detail-lead {
  max-width: 680px;
  margin-bottom: 34px;
  font-size: 1.08rem;
}

.detail-meta-column {
  display: grid;
  gap: 16px;
}

.detail-meta-card {
  padding: 24px;
}

.detail-meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-meta-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.detail-section {
  margin-bottom: 96px;
}

.detail-video-card {
  padding: 24px;
}

.detail-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 18, 0.95);
}

.detail-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-video-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

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

.detail-summary-card {
  padding: 26px;
}

.resource-card-detail {
  padding: 24px;
  margin-bottom: 18px;
}

.resource-note {
  margin: 18px 0 0;
  color: var(--ink-muted);
  line-height: 1.8;
}

.resource-head-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(11, 14, 24, 0.9);
}

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

.step-shot figcaption {
  padding: 14px 16px 16px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.copy-button {
  min-width: 90px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(69, 216, 237, 0.18);
  border-radius: 12px;
  background: rgba(69, 216, 237, 0.08);
  color: var(--secondary);
  font-weight: 700;
  cursor: pointer;
}

.copy-button.is-copied {
  background: rgba(131, 218, 133, 0.18);
  border-color: rgba(131, 218, 133, 0.25);
  color: var(--accent);
}

.open-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(186, 195, 255, 0.16);
  border-radius: 12px;
  background: rgba(186, 195, 255, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.text-link {
  color: var(--secondary);
}

pre {
  overflow-x: auto;
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 16px;
  background: #0b0e18;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #d8e3ff;
  font-size: 0.92rem;
  line-height: 1.8;
}

pre code {
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 1120px) {
  .editorial-grid,
  .episode-list-grid,
  .platform-grid,
  .detail-grid,
  .detail-summary-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

@media (max-width: 860px) {
  .page-wrap,
  .topbar-inner,
  .footer-inner {
    width: min(calc(100% - 20px), var(--width));
  }

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

  .topbar-links,
  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .search-chip {
    width: 100%;
  }

  .search-chip input {
    width: 100%;
  }

  .feature-stage {
    min-height: 460px;
  }

  .feature-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .newsletter {
    padding: 32px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-wrap {
    padding-top: 210px;
  }

  .detail-page-wrap {
    padding-top: 190px;
  }

  .hero-section,
  .feature-section,
  .content-section,
  .detail-section {
    margin-bottom: 88px;
  }

  .episode-list-grid,
  .platform-grid,
  .detail-summary-grid,
  .step-shot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .episode-actions,
  .detail-video-footer,
  .resource-head-detail {
    align-items: stretch;
  }

  .button,
  .detail-pill,
  .copy-button,
  .open-link-button {
    width: 100%;
  }

  .button-text {
    justify-content: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

