/* Penrose homepage — extends the ElevenLabs editorial language with video-production accents */

html { scroll-behavior: smooth; }

/* App scaffold */
.pn-app { min-height: 100vh; background: var(--el-canvas); color: var(--el-ink); }

/* ---------- Top nav ---------- */
.pn-nav {
  position: sticky; top: 0; z-index: 30;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 32px;
  background: rgba(245, 245, 245, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--el-hairline);
}
.pn-nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--el-font-body);
  font-size: 16px; font-weight: 500; color: var(--el-ink);
  margin-right: 40px;
  cursor: pointer;
}
.pn-nav__logo svg { width: 22px; height: 22px; display: block; }
.pn-nav__menu { display: flex; gap: 24px; flex: 1; }
.pn-nav__menu a {
  font-family: var(--el-font-body); font-size: 14px; font-weight: 500;
  color: var(--el-muted); cursor: pointer; line-height: 1;
  transition: color 120ms ease;
}
.pn-nav__menu a:hover { color: var(--el-ink); }
.pn-nav__menu a.active { color: var(--el-ink); }
.pn-nav__right { display: flex; gap: 12px; align-items: center; }

/* ---------- Section primitives ---------- */
.pn-section { padding: 96px 32px; position: relative; overflow: hidden; }
.pn-section--soft { background: var(--el-canvas-soft); }
.pn-section--dark { background: var(--el-canvas-deep); color: var(--el-on-dark); }
.pn-section--dark h1, .pn-section--dark h2, .pn-section--dark h3, .pn-section--dark h4 { color: #fff; }
.pn-section--dark p { color: var(--el-on-dark-soft); }
.pn-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.pn-orb {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.pn-eyebrow {
  font-family: var(--el-font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted);
  margin-bottom: 16px;
}

.pn-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 48px;
}
.pn-section-head h2 {
  font-family: var(--el-font-display); font-weight: 300;
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04;
  letter-spacing: -1.12px; color: var(--el-ink); margin: 0;
  max-width: 700px;
  text-wrap: balance;
}
.pn-section-head h2 em { font-style: italic; font-weight: 300; }
.pn-section-head .lede {
  font-family: var(--el-font-body); font-size: 16px; line-height: 1.55;
  letter-spacing: 0.16px; color: var(--el-body); max-width: 380px;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Hero ---------- */
.pn-hero { padding: 96px 32px 80px; position: relative; overflow: hidden; }
.pn-hero__container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.pn-hero__grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center;
}
.pn-hero--centered .pn-hero__grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.pn-hero--centered .pn-hero__ctas { justify-content: center; }
.pn-hero--centered .pn-hero__side { display: none; }
.pn-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--el-font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted);
  margin-bottom: 28px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--el-hairline);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.pn-hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--el-success); box-shadow: 0 0 0 4px rgba(22,163,74,0.15); }
.pn-hero__title {
  font-family: var(--el-font-display);
  font-weight: 300;
  font-size: clamp(48px, 6.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -2.4px;
  color: var(--el-ink);
  margin: 0;
  text-wrap: balance;
}
.pn-hero__title em { font-style: italic; font-family: var(--el-font-display); font-weight: 300; }
.pn-hero__sub {
  font-family: var(--el-font-body);
  font-size: 19px; font-weight: 400; line-height: 1.5; letter-spacing: 0.16px;
  color: var(--el-body);
  max-width: 520px;
  margin: 28px 0 36px;
  text-wrap: pretty;
}
.pn-hero--centered .pn-hero__sub { margin-left: auto; margin-right: auto; }
.pn-hero__ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pn-hero__assure {
  display: flex; gap: 18px; align-items: center;
  margin-top: 28px; flex-wrap: wrap;
  font-family: var(--el-font-body); font-size: 13px; color: var(--el-muted);
  letter-spacing: 0.13px;
}
.pn-hero__assure span { display: inline-flex; align-items: center; gap: 6px; }
.pn-hero__assure svg { width: 14px; height: 14px; }

/* ---------- Hero side: Render preview ---------- */
.pn-render-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 24px;
  padding: 14px;
  width: 100%; max-width: 420px;
  box-shadow: 0 16px 48px rgba(12,10,9,0.06), 0 1px 0 rgba(12,10,9,0.02);
  display: flex; flex-direction: column; gap: 14px;
  justify-self: end;
}
.pn-render-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px;
}
.pn-render-card__head-l { display: flex; align-items: center; gap: 10px; }
.pn-render-card__brand {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #0c0a09, #292524);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--el-font-body); font-weight: 600; font-size: 12px;
  letter-spacing: -0.2px;
}
.pn-render-card__brief {
  font-family: var(--el-font-body); font-size: 13px; font-weight: 500; color: var(--el-ink);
}
.pn-render-card__brief small { display: block; color: var(--el-muted); font-weight: 400; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }
.pn-render-card__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--el-font-body); font-size: 11px; font-weight: 600;
  color: var(--el-success); letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(22,163,74,0.08); padding: 4px 8px; border-radius: 9999px;
}
.pn-render-card__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--el-success); }

.pn-render-card__frame {
  position: relative;
  aspect-ratio: 9 / 12;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a4a3a, #4a6b58 40%, #c8a584 100%);
}
.pn-render-card__frame::before {
  /* atmospheric overlay simulating shallow DOF */
  content: ""; position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 60% at 50% 110%, rgba(0,0,0,0.45), transparent 70%),
    radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,0.18), transparent 70%);
}
.pn-render-card__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-render-card__frame-tag {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--el-font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 5px 9px; border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
}
.pn-render-card__frame-tag .rec { width: 6px; height: 6px; border-radius: 50%; background: #ff6262; }
.pn-render-card__frame-caption {
  position: absolute; bottom: 64px; left: 16px; right: 16px;
  z-index: 2;
  font-family: var(--el-font-body); font-weight: 700;
  font-size: 22px; line-height: 1.1; color: #fff;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  text-wrap: balance;
}
.pn-render-card__frame-caption em { font-style: italic; font-weight: 400; color: #fde9d2; }
.pn-render-card__frame-brand {
  position: absolute; bottom: 16px; left: 16px;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--el-font-body); font-size: 12px; font-weight: 500;
  color: #fff;
}
.pn-render-card__frame-brand .mark { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,0.95); color: #0c0a09; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; }
.pn-render-card__frame-cta {
  position: absolute; bottom: 16px; right: 16px;
  z-index: 2;
  font-family: var(--el-font-body); font-size: 11px; font-weight: 600;
  background: #fff; color: #0c0a09;
  padding: 6px 10px; border-radius: 9999px;
}
.pn-render-card__progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  z-index: 2;
  background: rgba(255,255,255,0.18);
}
.pn-render-card__progress::before {
  content: ""; display: block; width: 38%; height: 100%; background: #fff;
}

.pn-render-card__variants {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 4px 4px;
}
.pn-variant {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 120ms ease;
}
.pn-variant.active { border-color: var(--el-ink); }
.pn-variant__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-variant__label {
  position: absolute; bottom: 4px; left: 6px;
  z-index: 1;
  font-family: var(--el-font-body); font-size: 9px; font-weight: 700;
  color: #fff; letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ---------- Marquee / proof strip ---------- */
.pn-proof {
  padding: 44px 32px;
  border-top: 1px solid var(--el-hairline);
  border-bottom: 1px solid var(--el-hairline);
  background: var(--el-canvas);
}
.pn-proof__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 56px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.pn-proof__label {
  font-family: var(--el-font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted);
  width: 100%; text-align: center;
}
.pn-proof__logos { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; align-items: center; }
.pn-proof__logo {
  font-family: var(--el-font-display); font-weight: 300; font-size: 22px; color: var(--el-muted-soft);
  letter-spacing: -0.2px; opacity: 0.85;
  white-space: nowrap;
}

/* ---------- Demo / Studio preview ---------- */
.pn-demo { padding: 96px 32px; position: relative; overflow: hidden; }
.pn-demo__shell {
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(12,10,9,0.06);
}
.pn-demo__topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--el-hairline);
  background: var(--el-canvas-soft);
}
.pn-demo__dots { display: flex; gap: 6px; }
.pn-demo__dots span { width: 10px; height: 10px; border-radius: 50%; background: #d6d3d1; }
.pn-demo__crumb {
  font-family: var(--el-font-body); font-size: 13px; color: var(--el-muted);
  letter-spacing: 0.13px;
}
.pn-demo__crumb strong { color: var(--el-ink); font-weight: 500; }
.pn-demo__topbar-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pn-demo__pill {
  font-family: var(--el-font-body); font-size: 12px; font-weight: 500;
  color: var(--el-muted); padding: 4px 10px; border: 1px solid var(--el-hairline-strong);
  border-radius: 9999px; background: #fff;
}

.pn-demo__body {
  display: grid; grid-template-columns: 320px 1fr;
  min-height: 540px;
}
.pn-demo__sidebar {
  border-right: 1px solid var(--el-hairline);
  padding: 24px;
  background: #fff;
  display: flex; flex-direction: column; gap: 24px;
}
.pn-demo__field-label {
  font-family: var(--el-font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted);
  margin-bottom: 8px;
}
.pn-demo__field {
  font-family: var(--el-font-body); font-size: 14px; color: var(--el-ink);
  padding: 10px 12px;
  background: var(--el-canvas-soft);
  border: 1px solid var(--el-hairline);
  border-radius: 8px;
  line-height: 1.45;
}
.pn-demo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-demo__chip {
  padding: 6px 12px; border-radius: 9999px;
  border: 1px solid var(--el-hairline-strong);
  background: transparent;
  font-family: var(--el-font-body); font-size: 12px; font-weight: 500;
  color: var(--el-ink); cursor: pointer;
  transition: all 120ms ease;
}
.pn-demo__chip:hover { border-color: var(--el-ink); }
.pn-demo__chip.active { background: var(--el-ink); color: #fff; border-color: var(--el-ink); }

.pn-demo__generate {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.pn-demo__generate-btn {
  height: 44px; border: 0; border-radius: 9999px;
  background: var(--el-ink); color: #fff;
  font-family: var(--el-font-body); font-size: 14px; font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 120ms ease;
}
.pn-demo__generate-btn:hover { background: #000; }
.pn-demo__generate-btn .spinner {
  width: 12px; height: 12px; border: 1.5px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: pn-spin 0.8s linear infinite;
}
@keyframes pn-spin { to { transform: rotate(360deg); } }
.pn-demo__hint {
  font-family: var(--el-font-body); font-size: 11px; color: var(--el-muted);
  text-align: center; letter-spacing: 0.5px;
}

.pn-demo__canvas {
  padding: 24px;
  background: var(--el-canvas-soft);
  position: relative;
}
.pn-demo__canvas-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.pn-demo__canvas-title {
  font-family: var(--el-font-body); font-size: 13px; font-weight: 500; color: var(--el-ink);
}
.pn-demo__canvas-title small { color: var(--el-muted); font-weight: 400; margin-left: 6px; }
.pn-demo__canvas-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--el-hairline); border-radius: 9999px; padding: 3px; }
.pn-demo__canvas-tabs button {
  padding: 5px 12px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--el-font-body); font-size: 12px; font-weight: 500; color: var(--el-muted);
  border-radius: 9999px;
}
.pn-demo__canvas-tabs button.active { background: var(--el-ink); color: #fff; }

.pn-demo__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.pn-ad {
  position: relative;
  aspect-ratio: 9/14;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #1c1917;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pn-ad:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.pn-ad__bg { position: absolute; inset: 0; }
.pn-ad__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}
.pn-ad__hook {
  position: absolute; left: 10px; right: 10px; bottom: 38px;
  font-family: var(--el-font-body); font-weight: 700;
  font-size: 14px; line-height: 1.15; color: #fff;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  text-wrap: balance;
}
.pn-ad__meta {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--el-font-body); font-size: 10px; color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}
.pn-ad__channel {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--el-font-body); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.96px;
  background: rgba(255,255,255,0.18); color: #fff;
  padding: 4px 7px; border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.pn-ad__score {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-family: var(--el-font-body); font-size: 10px; font-weight: 600;
  padding: 4px 8px; border-radius: 9999px;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 4px;
}
.pn-ad__score svg { width: 9px; height: 9px; fill: #c8a584; }

/* ---------- Use case (orb) cards ---------- */
.pn-usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pn-usecase {
  position: relative; overflow: hidden;
  background: var(--el-canvas-soft);
  border: 1px solid var(--el-hairline-soft);
  border-radius: 24px;
  padding: 36px 36px 40px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: box-shadow 200ms ease;
}
.pn-usecase:hover { box-shadow: var(--el-shadow-soft); }
.pn-usecase__orb {
  position: absolute; top: -30%; right: -20%;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%; filter: blur(50px); opacity: 0.75;
}
.pn-usecase__tag {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--el-font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-ink);
  background: rgba(255,255,255,0.7); padding: 4px 10px; border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
}
.pn-usecase__title {
  font-family: var(--el-font-display); font-weight: 300; font-size: 32px;
  line-height: 1.05; letter-spacing: -0.4px; color: var(--el-ink);
  position: relative; margin-bottom: 12px;
  text-wrap: balance;
}
.pn-usecase__title em { font-style: italic; }
.pn-usecase__body {
  font-family: var(--el-font-body); font-size: 15px; line-height: 1.55;
  letter-spacing: 0.15px; color: var(--el-body); position: relative; margin: 0;
  max-width: 460px;
  text-wrap: pretty;
}
.pn-usecase__stat {
  position: relative;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--el-hairline);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.pn-usecase__stat-item {
  display: flex; flex-direction: column;
}
.pn-usecase__stat-num {
  font-family: var(--el-font-display); font-weight: 300; font-size: 28px;
  line-height: 1; letter-spacing: -0.6px; color: var(--el-ink);
}
.pn-usecase__stat-num em { font-style: italic; font-size: 18px; opacity: 0.6; margin-left: 2px; }
.pn-usecase__stat-label {
  font-family: var(--el-font-body); font-size: 12px; color: var(--el-muted);
  margin-top: 4px; letter-spacing: 0.12px;
}

/* ---------- Workflow / how it works ---------- */
.pn-workflow { padding: 96px 32px; }
.pn-workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pn-step {
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.pn-step__num {
  font-family: var(--el-font-display); font-weight: 300; font-size: 14px;
  letter-spacing: 0.96px; color: var(--el-muted);
}
.pn-step__num strong { color: var(--el-ink); font-weight: 300; }
.pn-step__title { font-family: var(--el-font-display); font-weight: 300; font-size: 28px; line-height: 1.1; letter-spacing: -0.3px; color: var(--el-ink); }
.pn-step__title em { font-style: italic; }
.pn-step__body { font-family: var(--el-font-body); font-size: 14px; line-height: 1.55; color: var(--el-body); letter-spacing: 0.14px; margin: 0; }
.pn-step__art {
  height: 132px;
  border-radius: 12px;
  background: var(--el-canvas-soft);
  border: 1px solid var(--el-hairline-soft);
  position: relative; overflow: hidden;
  margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.pn-testimonials-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
}
.pn-testimonial {
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 20px;
  padding: 40px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.pn-testimonial--dark {
  background: var(--el-canvas-deep); color: #fff; border: 0;
}
.pn-testimonial__quote {
  font-family: var(--el-font-display);
  font-weight: 300; font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3; letter-spacing: -0.2px;
  color: var(--el-ink); margin: 0 0 32px;
  text-wrap: balance;
}
.pn-testimonial--dark .pn-testimonial__quote { color: #fff; }
.pn-testimonial__quote em { font-style: italic; }
.pn-testimonial__by { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.pn-testimonial__av { width: 40px; height: 40px; border-radius: 50%; }
.pn-testimonial__who { font-family: var(--el-font-body); font-size: 14px; font-weight: 500; color: var(--el-ink); }
.pn-testimonial--dark .pn-testimonial__who { color: #fff; }
.pn-testimonial__role { font-family: var(--el-font-body); font-size: 13px; color: var(--el-muted); margin-top: 1px; }
.pn-testimonial--dark .pn-testimonial__role { color: var(--el-on-dark-soft); }
.pn-testimonial__stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--el-hairline);
}
.pn-testimonial--dark .pn-testimonial__stat-row { border-top-color: rgba(255,255,255,0.1); }
.pn-testimonial__stat { display: flex; flex-direction: column; gap: 4px; }
.pn-testimonial__stat-num { font-family: var(--el-font-display); font-weight: 300; font-size: 36px; line-height: 1; letter-spacing: -0.6px; color: var(--el-ink); }
.pn-testimonial--dark .pn-testimonial__stat-num { color: #fff; }
.pn-testimonial__stat-num em { font-style: italic; font-size: 22px; opacity: 0.6; margin-left: 1px; }
.pn-testimonial__stat-label { font-family: var(--el-font-body); font-size: 12px; color: var(--el-muted); letter-spacing: 0.12px; }

/* ---------- Pricing ---------- */
.pn-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pn-pricing {
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.pn-pricing--featured { background: var(--el-canvas-deep); color: #fff; border: 0; }
.pn-pricing__ribbon {
  position: absolute; top: 0; right: 24px;
  transform: translateY(-50%);
  background: var(--el-gradient-peach);
  color: var(--el-ink);
  font-family: var(--el-font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.96px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 9999px;
}
.pn-pricing__name { font-family: var(--el-font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted); }
.pn-pricing--featured .pn-pricing__name { color: var(--el-on-dark-soft); }
.pn-pricing__price { font-family: var(--el-font-display); font-weight: 300; font-size: 56px; line-height: 1.02; letter-spacing: -1.12px; color: var(--el-ink); }
.pn-pricing--featured .pn-pricing__price { color: #fff; }
.pn-pricing__price small { font-family: var(--el-font-body); font-size: 14px; font-weight: 400; color: var(--el-muted); letter-spacing: 0.14px; margin-left: 6px; }
.pn-pricing--featured .pn-pricing__price small { color: var(--el-on-dark-soft); }
.pn-pricing__desc { font-family: var(--el-font-body); font-size: 14px; line-height: 1.5; letter-spacing: 0.14px; color: var(--el-body); margin: 0; min-height: 42px; }
.pn-pricing--featured .pn-pricing__desc { color: var(--el-on-dark-soft); }
.pn-pricing__list { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pn-pricing__list li { font-family: var(--el-font-body); font-size: 14px; color: var(--el-body); display: flex; gap: 10px; align-items: flex-start; letter-spacing: 0.14px; }
.pn-pricing--featured .pn-pricing__list li { color: #fff; }
.pn-pricing__list li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%230c0a09' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='2.5,7 6,10.5 11.5,4'/></svg>") no-repeat center; }
.pn-pricing--featured .pn-pricing__list li::before { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='2.5,7 6,10.5 11.5,4'/></svg>") no-repeat center; }

.pn-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--el-hairline);
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 48px;
}
.pn-toggle button {
  height: 32px; padding: 0 18px;
  border: 0; background: transparent;
  font-family: var(--el-font-body); font-size: 14px; font-weight: 500;
  color: var(--el-muted); border-radius: 9999px; cursor: pointer;
}
.pn-toggle button.active { background: var(--el-ink); color: #fff; }

/* ---------- FAQ ---------- */
.pn-faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 800px; margin: 0 auto; }
.pn-faq__item {
  border-top: 1px solid var(--el-hairline);
  padding: 28px 0;
  cursor: pointer;
}
.pn-faq__item:last-child { border-bottom: 1px solid var(--el-hairline); }
.pn-faq__q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  font-family: var(--el-font-display); font-weight: 300; font-size: 24px;
  line-height: 1.25; letter-spacing: -0.24px; color: var(--el-ink);
  text-wrap: balance;
}
.pn-faq__plus {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--el-hairline-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--el-ink);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
.pn-faq__plus svg { width: 12px; height: 12px; }
.pn-faq__item--open .pn-faq__plus {
  background: var(--el-ink); color: #fff; transform: rotate(45deg);
}
.pn-faq__a {
  font-family: var(--el-font-body); font-size: 15px; line-height: 1.6;
  color: var(--el-body); letter-spacing: 0.15px;
  max-width: 640px;
  max-height: 0; overflow: hidden;
  transition: max-height 300ms ease, margin 300ms ease, opacity 200ms ease;
  opacity: 0;
}
.pn-faq__item--open .pn-faq__a {
  max-height: 200px;
  margin-top: 14px;
  opacity: 1;
}

/* ---------- CTA Band ---------- */
.pn-cta {
  text-align: center;
  padding: 140px 32px;
  position: relative; overflow: hidden;
  background: var(--el-canvas);
}
.pn-cta h2 {
  font-family: var(--el-font-display); font-weight: 300;
  font-size: clamp(44px, 5.6vw, 72px); line-height: 1.0;
  letter-spacing: -1.92px; color: var(--el-ink);
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto 36px;
  text-wrap: balance;
}
.pn-cta h2 em { font-style: italic; }
.pn-cta__sub {
  position: relative; z-index: 2;
  font-family: var(--el-font-body); font-size: 17px; line-height: 1.55;
  color: var(--el-body); letter-spacing: 0.17px;
  max-width: 560px; margin: 0 auto 36px;
}
.pn-cta__ctas { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.pn-footer {
  background: var(--el-canvas);
  border-top: 1px solid var(--el-hairline);
  padding: 64px 32px 32px;
}
.pn-footer__inner { max-width: 1200px; margin: 0 auto; }
.pn-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr); gap: 32px; margin-bottom: 56px; }
.pn-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--el-font-body); font-weight: 500; font-size: 16px; color: var(--el-ink); margin-bottom: 14px; }
.pn-footer__brand svg { width: 20px; height: 20px; }
.pn-footer__pitch { font-family: var(--el-font-body); font-size: 14px; color: var(--el-body); line-height: 1.55; letter-spacing: 0.14px; max-width: 320px; }
.pn-footer__h { font-family: var(--el-font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.96px; text-transform: uppercase; color: var(--el-muted); margin-bottom: 18px; }
.pn-footer__list { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pn-footer__list a { font-family: var(--el-font-body); font-size: 14px; color: var(--el-body); cursor: pointer; letter-spacing: 0.14px; }
.pn-footer__list a:hover { color: var(--el-ink); }
.pn-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--el-hairline);
  font-family: var(--el-font-body); font-size: 13px; color: var(--el-muted);
  letter-spacing: 0.13px;
  flex-wrap: wrap; gap: 16px;
}

/* Subtle drift animation for hero orbs (very slow, brand-correct) */
@keyframes pn-drift-1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }
@keyframes pn-drift-2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 20px); } }
@keyframes pn-drift-3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, 30px); } }
.pn-orb--drift-1 { animation: pn-drift-1 24s ease-in-out infinite; }
.pn-orb--drift-2 { animation: pn-drift-2 30s ease-in-out infinite; }
.pn-orb--drift-3 { animation: pn-drift-3 22s ease-in-out infinite; }

/* Responsive */
@media (max-width: 980px) {
  .pn-hero__grid { grid-template-columns: 1fr; }
  .pn-hero__side { justify-self: start; }
  .pn-demo__body { grid-template-columns: 1fr; }
  .pn-demo__sidebar { border-right: 0; border-bottom: 1px solid var(--el-hairline); }
  .pn-demo__grid { grid-template-columns: repeat(2, 1fr); }
  .pn-usecase-grid { grid-template-columns: 1fr; }
  .pn-workflow-grid { grid-template-columns: 1fr; }
  .pn-pricing-grid { grid-template-columns: 1fr; }
  .pn-testimonials-grid { grid-template-columns: 1fr; }
  .pn-footer__grid { grid-template-columns: 1fr 1fr; }
  .pn-nav__menu { display: none; }
}
