:root {
  --blue: #0d6efd;
  --blue-dark: #0a4db6;
  --ink: #101114;
  --text: #272a30;
  --muted: #697386;
  --line: #dfe6f2;
  --mist: #f4f8ff;
  --panel: rgba(255, 255, 255, 0.78);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Lexend, Inter, ui-sans-serif, system-ui, sans-serif;
}

@font-face {
  font-family: Lexend;
  src: url("/fonts/lexend-latin-500.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500 700;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fbfdff;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

a,
button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 80px);
  border-bottom: 1px solid rgba(16, 17, 20, 0.1);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.nav a {
  color: #17191d;
  font-size: 13px;
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(13, 110, 253, 0.07);
  font-size: 13px;
  font-weight: 600;
}

.menu-button {
  display: none;
  width: 31px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(600px, 1.1fr);
  gap: clamp(42px, 5vw, 82px);
  min-height: 828px;
  padding: 88px clamp(22px, 5vw, 80px) 92px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(245, 240, 233, 0.78), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 86% 16%, rgba(179, 211, 255, 0.72), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 76px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.28), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0 0 24px;
  padding: 0 15px;
  border: 1px solid rgba(13, 110, 253, 0.36);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(13, 110, 253, 0.07);
  font-size: 13px;
  font-weight: 600;
}

.hero h1,
.workflow h2,
.studio-band h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -2.8px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(58px, 6.8vw, 98px);
  line-height: 0.98;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #5f6f89;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(13, 110, 253, 0.28);
}

.button-secondary {
  border: 1px solid rgba(16, 17, 20, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(17, 35, 64, 0.08);
}

.play-dot {
  position: relative;
  width: 25px;
  height: 25px;
  margin-right: 9px;
  border-radius: 50%;
  background: #101114;
}

.play-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 24px;
  margin-top: 36px;
  color: #445066;
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86e4ac;
  box-shadow: 0 0 0 5px rgba(134, 228, 172, 0.17);
}

.product-shell {
  position: relative;
  z-index: 1;
  align-self: center;
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: 8% -8% 5% 8%;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(134, 228, 172, 0.13));
  filter: blur(36px);
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 38px 110px rgba(40, 70, 115, 0.22);
  backdrop-filter: blur(24px);
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 24px 0 26px;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
}

.window-top img {
  width: 122px;
}

.saved-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4e5d72;
  font-size: 13px;
  font-weight: 600;
}

.saved-state span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86e4ac;
}

.app-preview {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  min-height: 560px;
}

.steps {
  padding: 22px;
  border-right: 1px solid rgba(16, 17, 20, 0.08);
  background: rgba(246, 249, 254, 0.7);
}

.step {
  display: grid;
  gap: 5px;
  padding: 15px 14px;
  border-radius: 18px;
  color: #7c8799;
}

.step + .step {
  margin-top: 8px;
}

.step.active {
  color: #10223e;
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 64, 110, 0.08);
}

.step span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.step b {
  font-size: 14px;
  font-weight: 600;
}

.step small {
  font-size: 12px;
}

.builder-panel {
  padding: 28px;
}

.panel-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1.2px;
}

.panel-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.source-grid article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.source-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 11px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0d6efd, #86e4ac) border-box;
  border: 1px solid transparent;
}

.source-icon.link {
  border-radius: 50%;
}

.source-icon.file {
  border-radius: 8px 14px 8px 8px;
}

.source-grid b,
.source-grid small {
  display: block;
}

.source-grid b {
  color: #182033;
  font-size: 14px;
  font-weight: 600;
}

.source-grid small {
  margin-top: 4px;
  color: #7a8495;
  font-size: 12px;
}

.import-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: 18px;
  background: #fff;
}

.import-row label {
  padding-left: 6px;
  color: #5a6678;
  font-size: 12px;
  font-weight: 600;
}

.import-row input {
  min-width: 0;
  height: 40px;
  border: 0;
  color: #1d2638;
  outline: 0;
}

.import-row button {
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
}

.success-line {
  margin: 11px 0 0;
  color: #23824b;
  font-size: 13px;
  font-weight: 600;
}

.episode-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 17px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 24px;
  background: #0f1724;
  color: #fff;
  box-shadow: 0 22px 54px rgba(15, 23, 36, 0.2);
}

.cover {
  display: grid;
  align-content: space-between;
  width: 104px;
  height: 104px;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 18%, rgba(134, 228, 172, 0.38), transparent 38%),
    linear-gradient(145deg, #0d6efd, #092b67);
}

.cover b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.02;
}

.cover small {
  font-size: 11px;
  font-weight: 600;
}

.episode-content h3 {
  margin: 3px 0 7px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

.episode-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.wave-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 17px;
}

.wave-row button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.wave-row button::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--blue);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 58px;
}

.waveform span {
  width: 5px;
  border-radius: 99px;
  background: linear-gradient(180deg, #86e4ac, #67b3ff);
}

.wave-row small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.publish-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(246, 249, 254, 0.82);
}

.publish-strip span,
.publish-strip b {
  color: #5a6678;
  font-size: 13px;
  font-weight: 600;
}

.publish-strip img {
  width: auto;
  max-width: 98px;
  max-height: 26px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

.platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 58px);
  min-height: 130px;
  padding: 28px 22px;
  border-top: 1px solid rgba(16, 17, 20, 0.06);
  border-bottom: 1px solid rgba(16, 17, 20, 0.06);
  background: #fff;
  color: #687386;
  overflow: hidden;
}

.platform-row span:first-child {
  color: #9aa4b3;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.platform-row img {
  width: auto;
  max-width: 132px;
  max-height: 34px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
}

.youtube {
  color: #5d6470;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.workflow {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  padding: 118px clamp(22px, 5vw, 80px);
  background: #f5f8fd;
}

.workflow h2,
.studio-band h2 {
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.05;
}

.workflow-grid {
  display: grid;
  gap: 16px;
}

.workflow-grid article {
  padding: 28px;
  border: 1px solid rgba(16, 17, 20, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(30, 64, 110, 0.07);
}

.workflow-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.workflow-grid h3 {
  margin: 9px 0 10px;
  color: #16191f;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1px;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.studio-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 96px clamp(22px, 5vw, 80px);
  background:
    radial-gradient(circle at 92% 20%, rgba(134, 228, 172, 0.22), transparent 28%),
    #0f1724;
}

.studio-band .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  color: #86e4ac;
  background: rgba(255, 255, 255, 0.06);
}

.studio-band h2 {
  max-width: 760px;
  color: #fff;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-shell {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 68px;
    padding: 0 16px;
  }

  .brand img {
    width: 112px;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid rgba(16, 17, 20, 0.1);
    background: rgba(255, 255, 255, 0.96);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 58px 16px 66px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 51px;
    line-height: 1.02;
    letter-spacing: -2px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-row {
    display: grid;
  }

  .product-shell {
    margin-top: 46px;
  }

  .product-window {
    border-radius: 24px;
  }

  .window-top {
    height: 62px;
    padding: 0 17px;
  }

  .window-top img {
    width: 105px;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }

  .step + .step {
    margin-top: 0;
  }

  .builder-panel {
    padding: 18px;
  }

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

  .import-row {
    grid-template-columns: 1fr;
  }

  .import-row label {
    padding-left: 0;
  }

  .episode-card {
    grid-template-columns: 1fr;
  }

  .cover {
    width: 100%;
    height: 112px;
  }

  .publish-strip {
    flex-wrap: wrap;
  }

  .platform-row {
    justify-content: flex-start;
    gap: 32px;
    overflow-x: auto;
  }

  .platform-row > * {
    flex: 0 0 auto;
  }

  .workflow {
    padding: 72px 16px;
  }

  .workflow h2,
  .studio-band h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .workflow-grid article {
    padding: 22px;
  }

  .studio-band {
    display: grid;
    padding: 72px 16px;
  }
}
