/* YouTube operations landing — same visual system as the AI chatbot landing. */

body.yth-standalone-landing {
  --yth-ink: #111216;
  --yth-paper: #ffffff;
  --yth-soft: #f4f6f8;
  --yth-lime: #c6f135;
  --yth-lime-dim: rgba(198, 241, 53, 0.18);
  --yth-muted: #5a616c;
  --yth-line: rgba(17, 18, 22, 0.1);
  --yth-radius: 16px;
  --yth-max: min(1120px, 100%);
  --page-gutter: clamp(1.25rem, 3.75vw, 3.25rem);
}

body.yth-standalone-landing .site-wrap::before {
  display: none;
}

body.yth-standalone-landing .site-main {
  padding-top: var(--site-header-offset, 5rem);
}

.yth-land-root {
  --yth-ink: #111216;
  --yth-paper: #ffffff;
  --yth-soft: #f4f6f8;
  --yth-lime: #c6f135;
  --yth-lime-dim: rgba(198, 241, 53, 0.18);
  --yth-muted: #5a616c;
  --yth-line: rgba(17, 18, 22, 0.1);
  --yth-radius: 16px;
  --yth-max: min(1120px, 100%);
  color: var(--yth-ink);
}

.yth-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yth-muted);
  margin-bottom: 0.65rem;
}

.yth-section-inner {
  width: var(--yth-max);
  margin-inline: auto;
}

.yth-land-root h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.25;
  margin-top: 0.35rem;
}

.yth-lead {
  max-width: 42rem;
  color: var(--yth-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 0.75rem;
}

.yth-hero {
  padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--page-gutter) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, #fafbfc 0%, var(--yth-paper) 70%);
}

.yth-hero-grid {
  max-width: min(1200px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.yth-hero-copy h1 {
  font-family: var(--font-heading, "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--yth-ink);
  max-width: 12em;
}

.yth-hero-lead {
  margin-top: 1.1rem;
  max-width: 38rem;
  color: var(--yth-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.yth-hero-price {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--yth-muted);
}

.yth-hero-price mark,
.yth-price-line mark {
  background: var(--yth-lime);
  color: var(--yth-ink);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  font-weight: 700;
}

.yth-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.yth-hero-visual {
  margin: 0;
  border-radius: calc(var(--yth-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--yth-line);
  box-shadow: 0 28px 72px rgba(17, 18, 22, 0.1);
}

.yth-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.yth-proof {
  padding: clamp(2rem, 4vw, 3rem) var(--page-gutter);
  background: var(--yth-paper);
  border-bottom: 1px solid var(--yth-line);
}

.yth-proof h2 {
  max-width: 22em;
}

.yth-proof-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.yth-proof-grid li {
  background: var(--yth-soft);
  border: 1px solid var(--yth-line);
  border-radius: var(--yth-radius);
  padding: 1.25rem;
}

.yth-proof-grid strong,
.yth-why-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--yth-ink);
  font-size: 1.02rem;
}

.yth-proof-grid p,
.yth-why-grid p,
.yth-service-grid p {
  color: var(--yth-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.yth-proof-grid a {
  color: var(--yth-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yth-carousel {
  padding: clamp(2rem, 4vw, 3rem) var(--page-gutter, 1.25rem) clamp(2.25rem, 4vw, 3.25rem);
  background: linear-gradient(180deg, #0f1a12 0%, #1a2e1f 45%, #243828 100%);
  color: #f4f6f8;
  scroll-margin-top: calc(var(--site-header-offset, 5rem) + 0.5rem);
}

.yth-carousel .yth-kicker {
  color: rgba(198, 241, 53, 0.85);
}

.yth-carousel h2 {
  color: #fff;
  max-width: 36rem;
}

.yth-carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: 2rem;
}

.yth-carousel-card {
  position: relative;
  margin: 0;
  border-radius: var(--yth-radius);
  overflow: hidden;
  border: 1px solid rgba(198, 241, 53, 0.22);
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}

.yth-carousel-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
  overflow: hidden;
}

.yth-carousel-open:focus-visible {
  outline: 2px solid var(--yth-lime);
  outline-offset: 2px;
}

.yth-carousel-open img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
  transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
  .yth-carousel-card:hover,
  .yth-carousel-card:focus-within {
    transform: scale(1.035);
    z-index: 2;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
  }

  .yth-carousel-card:hover .yth-carousel-open img,
  .yth-carousel-card:focus-within .yth-carousel-open img {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yth-carousel-card,
  .yth-carousel-open img {
    transition: none;
  }

  .yth-carousel-card:hover,
  .yth-carousel-card:focus-within {
    transform: none;
    box-shadow: none;
  }

  .yth-carousel-card:hover .yth-carousel-open img,
  .yth-carousel-card:focus-within .yth-carousel-open img {
    transform: none;
  }
}

.yth-carousel-card figcaption {
  padding: 0.65rem 0.85rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--yth-lime);
}

/* * { margin:0 } kills UA dialog centering — force viewport center */
.yth-lightbox {
  position: fixed;
  inset: 0;
  width: min(520px, 92vw);
  height: fit-content;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.yth-lightbox::backdrop {
  background: rgba(8, 12, 10, 0.84);
}

.yth-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
  background: #111;
}

.yth-lightbox p {
  margin: 0.65rem 0 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.yth-lightbox-close {
  position: absolute;
  top: -0.2rem;
  right: 0;
  transform: translateY(-120%);
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yth-why {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter, 1.25rem);
  background: var(--yth-soft);
}

.yth-why-grid {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.yth-why-grid li {
  background: var(--yth-paper);
  border: 1px solid var(--yth-line);
  border-radius: var(--yth-radius);
  padding: 1.25rem 1.15rem;
}

.yth-compare {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter, 1.25rem);
  background: var(--yth-paper);
}

.yth-compare-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--yth-line);
  border-radius: var(--yth-radius);
  background: var(--yth-paper);
}

.yth-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.yth-compare-table th,
.yth-compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--yth-line);
}

.yth-compare-table thead th {
  background: var(--yth-soft);
  font-weight: 600;
}

.yth-compare-table tbody th[scope="row"] {
  font-weight: 600;
  width: 16%;
  background: rgba(198, 241, 53, 0.08);
}

.yth-compare-table tbody td:last-child {
  background: rgba(198, 241, 53, 0.06);
}

.yth-services {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter, 1.25rem);
  background: var(--yth-soft);
  scroll-margin-top: calc(var(--site-header-offset, 5rem) + 0.5rem);
}

.yth-service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.yth-service-grid > li {
  background: var(--yth-paper);
  border: 1px solid var(--yth-line);
  border-radius: var(--yth-radius);
  padding: 1.35rem 1.25rem;
}

.yth-service-n {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yth-muted);
  margin-bottom: 0.5rem;
}

.yth-service-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.yth-process {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter, 1.25rem);
  background: var(--yth-paper);
}

.yth-process-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.yth-process-rail li {
  border-top: 3px solid var(--yth-lime);
  padding-top: 1rem;
}

.yth-process-rail span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yth-muted);
  margin-bottom: 0.35rem;
}

.yth-process-rail strong {
  display: block;
  margin-bottom: 0.35rem;
}

.yth-process-rail p {
  font-size: 0.88rem;
  color: var(--yth-muted);
  line-height: 1.55;
}

.yth-faq {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter);
  background: var(--yth-soft);
}

.yth-faq-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.yth-faq-item {
  background: var(--yth-paper);
  border: 1px solid var(--yth-line);
  border-radius: 12px;
  padding: 0.35rem 1rem;
}

.yth-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.65rem 0;
  list-style: none;
  color: var(--yth-ink);
}

.yth-faq-item summary::-webkit-details-marker {
  display: none;
}

.yth-faq-item p {
  padding-bottom: 0.85rem;
  color: var(--yth-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.yth-faq-cta {
  margin-top: 1.75rem;
}

.yth-final-cta {
  padding: clamp(3rem, 6vw, 4.5rem) var(--page-gutter, 1.25rem);
  background: linear-gradient(165deg, var(--yth-lime-dim) 0%, var(--yth-paper) 55%);
}

.yth-final-cta-inner {
  width: var(--yth-max);
  margin-inline: auto;
  text-align: center;
}

.yth-final-cta .yth-lead {
  margin-inline: auto;
}

.yth-price-line {
  margin: 1.25rem auto 1.5rem;
  font-size: 1.05rem;
  color: var(--yth-muted);
}

.yth-final-cta .page-actions {
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .yth-hero-grid,
  .yth-proof-grid,
  .yth-why-grid,
  .yth-service-grid,
  .yth-carousel-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .yth-process-rail {
    grid-template-columns: 1fr;
  }
}
