:root {
  --ink: #10241f;
  --muted: #5e6f69;
  --line: #dce6e1;
  --paper: #f7faf8;
  --white: #ffffff;
  --mint: #dff7ec;
  --green: #0b6b4e;
  --green-dark: #064a38;
  --lime: #c9f15b;
  --shadow: 0 28px 70px rgba(18, 55, 43, 0.12);
}

* {
  box-sizing: border-box;
}

.youtube-surface .header-nav { flex-wrap: wrap; font-size: 14px; }
.youtube-surface .legal-content ol { color: var(--muted); font-size: 16px; line-height: 1.8; padding-left: 22px; margin-top: 0; }
.youtube-surface a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.youtube-surface .legal-highlight a { text-decoration: underline; }
@media (max-width: 640px) {
  .youtube-surface .site-header { flex-wrap: wrap; gap: 18px; }
  .youtube-surface .header-nav > a:not(.nav-cta) { display: inline-block; }
  .youtube-surface .header-nav { width: 100%; gap: 24px; }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px 32px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  gap: 11px;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  border-radius: 9px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.header-nav {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 650;
  gap: 28px;
}

.header-nav a:not(.nav-cta) {
  color: var(--muted);
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.nav-cta {
  background: var(--ink);
  border-radius: 10px;
  color: var(--white);
  padding: 11px 16px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(52px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 650px;
  padding: 74px 32px 100px;
}

.eyebrow {
  align-items: center;
  color: var(--green);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.12em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.status-dot {
  background: var(--green);
  border: 4px solid var(--mint);
  border-radius: 999px;
  height: 13px;
  width: 13px;
}

.hero h1 {
  font-size: clamp(52px, 7.2vw, 94px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
  max-width: 820px;
}

.hero-description {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  margin: 32px 0 0;
  max-width: 690px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 26px;
  justify-content: center;
  padding: 14px 18px;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
}

.trust-row {
  display: flex;
  gap: 0;
  margin: 54px 0 0;
}

.trust-row div {
  border-left: 1px solid var(--line);
  padding: 0 28px;
}

.trust-row div:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-row dt {
  color: #80908b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.trust-row dd {
  font-size: 13px;
  font-weight: 750;
  margin: 0;
}

.pipeline-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.pipeline-panel::before {
  background: var(--lime);
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.panel-topline,
.panel-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.panel-topline {
  border-bottom: 1px solid var(--line);
  padding: 28px;
}

.panel-topline strong,
.panel-kicker {
  display: block;
}

.panel-kicker {
  color: #81908c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.panel-topline strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.live-badge {
  align-items: center;
  background: var(--mint);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  padding: 8px 11px;
}

.live-badge span {
  background: var(--green);
  border-radius: 999px;
  height: 6px;
  width: 6px;
}

.pipeline-list {
  padding: 30px 28px;
}

.pipeline-item {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.pipeline-icon {
  align-items: center;
  background: #eef3f0;
  border-radius: 11px;
  color: #73817c;
  display: flex;
  font-size: 12px;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.pipeline-item.is-complete .pipeline-icon,
.pipeline-item.is-active .pipeline-icon {
  background: var(--green);
  color: var(--white);
}

.pipeline-item strong,
.pipeline-item small {
  display: block;
}

.pipeline-item strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.pipeline-item small {
  color: #7d8b86;
  font-size: 11px;
  margin-top: 4px;
}

.item-state {
  color: #86938f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.is-complete .item-state,
.is-active .item-state {
  color: var(--green);
}

.pipeline-line {
  background: var(--line);
  height: 26px;
  margin: 5px 0 5px 20px;
  width: 1px;
}

.panel-footer {
  background: #f3f7f5;
  color: #72817c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.03em;
  padding: 17px 28px;
  text-transform: uppercase;
}

.features-section,
.workflow-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 110px 32px;
}

.features-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 26px 60px;
  grid-template-columns: 1.4fr 0.6fr;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2px;
}

.section-heading h2,
.workflow-section h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0;
}

.section-heading > p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 250px;
  padding: 28px;
}

.feature-number {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.feature-card h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin: 54px 0 14px;
}

.feature-card p,
.workflow-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.workflow-section {
  align-items: start;
  background: var(--ink);
  border-radius: 26px;
  color: var(--white);
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 96px;
  padding: 76px;
}

.workflow-section .eyebrow {
  color: var(--lime);
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 24px;
  grid-template-columns: 38px 1fr;
  padding: 24px 0;
}

.workflow-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.workflow-steps > li > span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 850;
}

.workflow-steps strong {
  display: block;
  font-size: 16px;
  margin-bottom: 7px;
}

.workflow-steps p {
  color: #aec0b9;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 1240px;
  padding: 48px 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 26px;
}

.copyright {
  grid-column: 1 / -1;
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-page {
  margin: 0 auto;
  max-width: 920px;
  padding: 88px 32px 120px;
}

.legal-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
}

.legal-title h1 {
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.legal-updated {
  color: #788782;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 22px 0 0;
  text-transform: uppercase;
}

.legal-intro {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 34px 0 0;
  max-width: 790px;
}

.legal-highlight {
  background: var(--ink);
  border-left: 6px solid var(--lime);
  border-radius: 14px;
  color: var(--white);
  margin: 52px 0;
  padding: 30px 32px;
}

.legal-highlight > span {
  color: var(--lime);
  display: block;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.legal-highlight p {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.7;
  margin: 0;
}

.legal-content {
  counter-reset: legal-section;
}

.legal-content section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 0.66fr);
  padding: 38px 0;
}

.legal-content section:first-child {
  border-top: 0;
}

.legal-content h2 {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.45;
  margin: 0;
}

.legal-content p,
.legal-content ul {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.legal-content section > :not(h2) {
  grid-column: 2;
}

.legal-content section > h2 + p,
.legal-content section > h2 + ul {
  grid-row: 1;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 9px;
}

.legal-content a {
  color: var(--green);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content code {
  background: var(--mint);
  border-radius: 5px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 5px;
}

.legal-footer {
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .pipeline-panel {
    max-width: 580px;
  }

  .section-heading,
  .workflow-section {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 210px;
  }

  .workflow-section {
    border-radius: 0;
    margin-bottom: 60px;
    padding: 70px 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
  }

  .header-nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 10px 13px;
  }

  .hero,
  .features-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-bottom: 76px;
  }

  .trust-row {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .trust-row div {
    border: 0;
    padding: 0;
  }

  .pipeline-item {
    grid-template-columns: auto 1fr;
  }

  .item-state {
    display: none;
  }

  .panel-footer {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 15px;
  }

  .copyright {
    grid-column: auto;
  }

  .legal-page {
    padding: 62px 20px 86px;
  }

  .legal-intro {
    font-size: 16px;
  }

  .legal-highlight {
    margin: 38px 0;
    padding: 25px 23px;
  }

  .legal-highlight p {
    font-size: 14px;
  }

  .legal-content section {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .legal-content section > :not(h2) {
    grid-column: 1;
  }

  .legal-content section > h2 + p,
  .legal-content section > h2 + ul {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
