@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@88..118,600..900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #05090d;
  --bg-lift: #0a1118;
  --ink: #f4f8ff;
  --muted: #b8c6d8;
  --dim: #8190a3;
  --line: rgba(176, 215, 245, 0.20);
  --line-strong: rgba(176, 215, 245, 0.42);
  --panel: rgba(13, 21, 29, 0.86);
  --panel-strong: rgba(20, 32, 42, 0.94);
  --blue: #75cfff;
  --blue-hot: #35b9ff;
  --green: #7ff2b2;
  --amber: #ffca73;
  --rose: #ff708a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --radius: 26px;
  --shell: min(1180px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Avenir Next", sans-serif;
  background:
    linear-gradient(120deg, rgba(117, 207, 255, 0.16), transparent 24rem),
    linear-gradient(250deg, rgba(127, 242, 178, 0.10), transparent 30rem),
    linear-gradient(145deg, #07111a 0%, #020508 50%, #071019 100%);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(144, 202, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 202, 242, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.ytb-nav,
.ytb-footer,
.ytb-shell {
  width: var(--shell);
  margin: 0 auto;
}

.ytb-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(7, 13, 19, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.ytb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 4px 8px 4px 6px;
  text-decoration: none;
}

.ytb-brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}

.ytb-brand strong,
.eyebrow,
.stat strong,
.step-number,
.schema-label,
.price,
.badge {
  font-family: "Archivo", "IBM Plex Sans", sans-serif;
}

.ytb-brand strong {
  display: block;
  font-size: 1.08rem;
}

.ytb-brand span {
  display: block;
  color: var(--dim);
  font-size: 0.92rem;
  margin-top: 1px;
}

.ytb-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ytb-links a,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ytb-links a:hover,
.pill-button:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: var(--line-strong);
}

.ytb-links a[aria-current="page"],
.pill-button.primary {
  color: #031018;
  border-color: transparent;
  background: linear-gradient(135deg, #a6e4ff, #57bdff);
}

.pill-button.pro {
  color: #06110b;
  border-color: transparent;
  background: linear-gradient(135deg, #a7ffc8, #62dc95);
}

.ytb-shell {
  padding: 70px 0 66px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 54px;
  align-items: center;
  min-height: 72vh;
}

.hero.page-hero {
  min-height: 54vh;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.92rem;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  font-family: "Archivo", "IBM Plex Sans", sans-serif;
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: 7.1rem;
  max-width: 760px;
}

.hero h1 {
  margin-bottom: 22px;
}

h2 {
  font-size: 4.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.12rem;
}

.hero-lede {
  max-width: 720px;
  margin: 0;
  color: #d6e5f5;
  font-size: 1.55rem;
  line-height: 1.48;
}

.hero-note {
  max-width: 620px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 1.03rem;
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-badges,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  font-weight: 900;
}

.badge.free {
  color: #07120d;
  background: var(--green);
  border-color: transparent;
}

.badge.pro {
  color: #071018;
  background: var(--amber);
  border-color: transparent;
}

.hero-media {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.10), rgba(17, 32, 44, 0.64)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 1128 / 792;
  object-fit: cover;
}

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.phone-shot {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.phone-shot:nth-child(2) {
  margin-top: 42px;
}

.phone-shot img {
  border-radius: 22px;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.stat-grid,
.feature-grid,
.tutorial-grid,
.support-grid,
.policy-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 62px;
}

.stat,
.feature-card,
.support-card,
.tutorial-card,
.policy-card,
.schema-card,
.prompt-card,
.pricing-card,
.app-store-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 46%),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.stat {
  padding: 25px;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 3.8rem;
  line-height: 0.92;
}

.stat span {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
}

.section {
  padding: 62px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.support-card,
.tutorial-card,
.policy-card,
.schema-card,
.prompt-card,
.pricing-card,
.app-store-card {
  padding: 30px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-card img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.feature-card p,
.support-card p,
.tutorial-card p,
.policy-card p,
.pricing-card p {
  margin-bottom: 0;
}

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

.value-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.value-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(127, 242, 178, 0.12);
}

.screen-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.screen-strip img {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.pricing-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(127, 242, 178, 0.42);
  background:
    linear-gradient(145deg, rgba(127, 242, 178, 0.13), transparent 44%),
    var(--panel-strong);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 4.8rem;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-family: "IBM Plex Sans", "Avenir Next", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

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

.pricing-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.pricing-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.app-store-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.app-store-card img {
  width: 86px;
  height: 86px;
  border-radius: 24px;
}

.app-store-card p {
  margin: 4px 0 0;
}

.terminal-panel {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #04080c;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.75;
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #d2e9ff;
  font-size: 1rem;
  line-height: 1.58;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

.step-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #021017;
  background: var(--blue);
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 16px;
}

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

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

.schema-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  line-height: 1.55;
}

.schema-label {
  color: var(--blue);
  font-weight: 900;
  min-width: 138px;
}

.passport-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.passport-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(117, 207, 255, 0.12), transparent 52%),
    var(--panel);
}

.passport-step strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #031018;
  background: var(--blue);
  font-family: "Archivo", "IBM Plex Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.passport-step h3 {
  font-size: 1.55rem;
}

.passport-step p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.passport-step.pro strong {
  background: var(--green);
}

.callout-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(127, 242, 178, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(127, 242, 178, 0.12), transparent 58%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.callout-band p {
  margin-bottom: 0;
}

.copy-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #04080c;
  overflow: hidden;
}

.copy-card pre {
  flex: 1;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 18px 18px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #031018;
  background: linear-gradient(135deg, #a6e4ff, #57bdff);
  font: 900 0.98rem "IBM Plex Sans", "Avenir Next", sans-serif;
  cursor: pointer;
}

.copy-button.copied {
  background: linear-gradient(135deg, #a7ffc8, #62dc95);
}

.fine-print {
  color: var(--dim);
  font-size: 0.98rem;
}

.ytb-footer {
  padding: 42px 0 64px;
  color: var(--dim);
}

.ytb-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 1rem;
}

.ytb-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ytb-nav {
    align-items: flex-start;
    border-radius: 30px;
  }

  .hero,
  .section-head,
  .callout-band,
  .support-grid,
  .policy-grid,
  .tutorial-grid,
  .feature-grid,
  .pricing-grid,
  .passport-loop {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.4rem;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .ytb-nav {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }

  .ytb-links {
    justify-content: flex-start;
  }

  .ytb-links a {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.96rem;
  }

  .ytb-shell {
    padding-top: 44px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  .hero-lede {
    font-size: 1.28rem;
  }

  .hero-media {
    padding: 10px;
    border-radius: 28px;
  }

  .phone-showcase,
  .stat-grid,
  .screen-strip,
  .app-store-card {
    grid-template-columns: 1fr;
  }

  .phone-shot:nth-child(2) {
    margin-top: 0;
  }

  .feature-card,
  .support-card,
  .tutorial-card,
  .policy-card,
  .schema-card,
  .prompt-card,
  .pricing-card,
  .app-store-card,
  .passport-step,
  .callout-band {
    padding: 22px;
  }

  .price {
    font-size: 3.7rem;
  }

  .schema-list li {
    display: block;
  }

  .schema-label {
    display: block;
    margin-bottom: 4px;
  }

  .ytb-footer-inner {
    flex-direction: column;
  }
}

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

  .ytb-links a,
  .pill-button {
    transition: none;
  }

  .ytb-links a:hover,
  .pill-button:hover {
    transform: none;
  }
}
