/* Cutcrow website. Light, airy, one warm yellow accent; Geist for everything, Geist Mono for timecodes. */

:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface-2: #f1f1f1;
  --line: #ebebeb;
  --line-2: #dedede;
  --text: #171717;
  --text-2: #4d4d4d;
  --muted: #6b6b6b;
  --faint: #9a9a9a;
  --accent: #ffc21a;
  --accent-hover: #ffcd42;
  --accent-ink: #1c1400;
  --accent-text: #8a6200;
  --accent-tint: #fff8e1;
  --accent-tint-2: #ffefb3;
  --accent-line: #f2d77f;
  --dark: #0f0f0f;
  --dark-2: #191919;
  --dark-line: #2a2a2a;
  --radius: 8px;
  --radius-lg: 14px;
  --font: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier New", monospace;
  --container: 1184px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
::selection {
  background: var(--accent-tint-2);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.mono {
  font-family: var(--mono);
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.soft {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.skip:focus {
  left: 8px;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font: 500 15px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  background: var(--accent-hover);
}
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover {
  background: #2b2b2b;
}
.btn-outline {
  background: #fff;
  border-color: var(--line-2);
  color: var(--text);
}
.btn-outline:hover {
  border-color: #c4c4c4;
}
.btn-soft {
  background: #fff;
  border-color: var(--accent-line);
  color: var(--accent-text);
}
.btn-soft:hover {
  background: var(--accent-tint);
}
.btn-ghost-dark {
  background: transparent;
  border-color: #3a3a3a;
  color: #f2f2f2;
}
.btn-ghost-dark:hover {
  background: #232323;
}

/* ------------------------------------------------------------------ header: a floating pill */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin-top: 12px;
  padding: 0 16px;
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.nav.away {
  transform: translateY(calc(-100% - 16px));
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1080px;
  height: 60px;
  margin: 0 auto;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(250, 250, 249, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.25s,
    background 0.25s;
}
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px -14px rgba(0, 0, 0, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav-plain {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}
.nav-plain:hover {
  color: var(--accent-text);
}
.nav-cta {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--accent-hover);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.mobile-menu {
  max-width: 1080px;
  margin: 8px auto 0;
  padding: 8px 20px 18px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.25);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu > a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.mobile-menu-actions .btn {
  border-radius: 999px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 112px 0 40px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  background-image:
    linear-gradient(to right, #f0f0f0 1px, transparent 1px),
    linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}
.hero-grid i {
  position: absolute;
  width: 45px;
  height: 45px;
  background: var(--accent-tint-2);
  opacity: 0;
  animation: blink var(--d, 7s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0;
  }
  45%,
  60% {
    opacity: var(--o, 0.55);
  }
}
.hero .container {
  position: relative;
}
.hero-title {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.04;
  font-weight: 460;
  letter-spacing: -0.042em;
  max-width: 900px;
}
.hero-sub {
  margin-top: 26px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-2);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* the editor mock-up */
.mock {
  position: relative;
  margin-top: 72px;
  border-radius: var(--radius-lg);
  background: #0e0e0e;
  border: 1px solid #262626;
  color: #e8e8e8;
  font-size: 12px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 80px -30px rgba(255, 170, 30, 0.45),
    0 50px 120px -60px rgba(255, 120, 40, 0.5),
    0 0 0 1px rgba(255, 194, 26, 0.12);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #222;
  background: #0b0b0b;
}
.mock-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.mock-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: #171717;
  border: 1px solid #242424;
}
.mock-tabs b,
.mock-tabs i {
  font-style: normal;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
}
.mock-tabs b {
  background: #2c2c2c;
}
.mock-tabs i {
  color: #8b8b8b;
}
.mock-export {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 6px;
  padding: 5px 12px;
}
.mock-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 290px;
  height: 400px;
}
.mock-media,
.mock-agent {
  background: #0b0b0b;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.mock-media {
  border-right: 1px solid #1f1f1f;
}
.mock-agent {
  border-left: 1px solid #1f1f1f;
}
.mock-label {
  font-weight: 600;
  color: #bdbdbd;
  margin-bottom: 2px;
}
.mock-clip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mock-clip img {
  width: 54px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex: none;
}
.mock-clip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cfcfcf;
}
.mock-stage {
  display: flex;
  flex-direction: column;
  padding: 18px 22px 12px;
  gap: 12px;
  min-width: 0;
  background: #090909;
}
.mock-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.mock-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mock-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.mock-transport {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9a9a9a;
}
.mock-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f2f2f2;
  position: relative;
  flex: none;
}
.mock-play::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  border-left: 8px solid #111;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.mock-scrub {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #262626;
  overflow: hidden;
}
.mock-scrub i {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--accent);
  animation: scrub 12s linear infinite;
}
@keyframes scrub {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.mock-agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1f1f1f;
}
.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-left: auto;
}
.mock-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.mock-user {
  align-self: flex-end;
  max-width: 92%;
  background: #262626;
  border-radius: 12px 12px 3px 12px;
  padding: 8px 10px;
  line-height: 1.4;
}
.mock-step,
.mock-reply {
  opacity: 0;
  animation: appear 12s ease infinite;
}
.mock-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b4b4b4;
}
.mock-step i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.mock-reply {
  color: #e8e8e8;
  line-height: 1.45;
}
.s1 {
  animation-delay: 0.8s;
}
.s2 {
  animation-delay: 1.8s;
}
.s3 {
  animation-delay: 2.8s;
}
.s4 {
  animation-delay: 3.8s;
}
.s5 {
  animation-delay: 4.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  6%,
  88% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
.mock-input {
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 9px 10px;
  color: #777;
}
.mock-timeline {
  position: relative;
  border-top: 1px solid #1f1f1f;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0b0b0b;
}
.mock-track {
  position: relative;
  height: 26px;
  margin-left: 60px;
}
.t-label {
  position: absolute;
  left: -60px;
  top: 5px;
  color: #8a8a8a;
}
.mock-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--l);
  width: var(--w);
  border-radius: 4px;
}
.mock-track .c1 {
  background: linear-gradient(90deg, #3f5f85, #4b6f99);
}
.mock-track .c2 {
  background: linear-gradient(90deg, #4c6b5a, #5c7d69);
}
.mock-track .c3 {
  background: linear-gradient(90deg, #7a5638, #8e6542);
}
.mock-track .c4 {
  background: linear-gradient(90deg, #55497a, #63578b);
}
.mock-track .tx {
  background: rgba(255, 194, 26, 0.22);
  border: 1px solid rgba(255, 194, 26, 0.6);
  top: 4px;
  bottom: 4px;
}
.mock-track .au {
  background: repeating-linear-gradient(90deg, rgba(74, 222, 128, 0.5) 0 2px, rgba(74, 222, 128, 0.15) 2px 4px);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.mock-playhead {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 74px;
  width: 2px;
  background: var(--accent);
  animation: playhead 12s linear infinite;
}
@keyframes playhead {
  from {
    left: 74px;
  }
  to {
    left: calc(74px + (100% - 88px) * 0.83);
  }
}

/* works with */
.works {
  margin-top: 88px;
}
.works-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 20px;
}
.works-top b {
  font-weight: 500;
  color: var(--text);
}
.works-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.lock {
  width: 12px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  margin-top: 4px;
  flex: none;
}
.lock::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -6px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.works-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.works-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 84px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.works-grid li + li {
  border-left: 1px solid var(--line);
}

/* ------------------------------------------------------------------ sections */
.section {
  padding: 128px 0;
}
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
}
.split-head h2,
.faq-head h2,
.cta h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  font-weight: 460;
  letter-spacing: -0.04em;
}
.split-head p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 460px;
  justify-self: end;
}

/* examples */
.ad {
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.ad + .ad {
  margin-top: 24px;
}
.ad-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The small line under the ad (sized like the h6 it used to be). */
.ad-note {
  font-size: 0.67em;
  font-weight: 700;
  margin-block: 2.33em;
}
.prompts {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.prompt-card {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prompt-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.prompt-card:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.prompt-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-tint);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}
.prompt-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.prompt-card p {
  color: var(--muted);
  font-size: 16px;
}
.byo {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  background: var(--dark-2);
  color: #f2f2f2;
  border-radius: 8px;
}
.byo-icons {
  display: flex;
  align-items: center;
}
.byo-icons span {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 2px solid var(--dark-2);
  background: #f4efe9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.byo-icons span + span {
  margin-left: -10px;
  background: #fff;
}
.byo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.byo-text b {
  font-weight: 500;
}
.byo-text span {
  color: #a8a8a8;
  font-size: 14.5px;
}

/* features: a pinned story. The track is tall; its stage sticks while the panels change. */
.features {
  padding-bottom: 0;
}
.feat-track {
  position: relative;
  height: calc(100vh + var(--n) * 50vh);
}
.feat-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
}
.feat {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  width: 100%;
}
.feat-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  color: var(--faint);
  font-size: 14px;
}
.feat-num {
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.feat-progress {
  height: 2px;
  background: var(--line);
  border-radius: 1px;
  margin: 14px 0 10px;
  overflow: hidden;
}
.feat-progress i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--accent);
}
.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feat-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  color: var(--faint);
  transition: color 0.25s;
}
.feat-list li b {
  font-weight: 500;
  font-size: 15.5px;
  color: inherit;
}
.feat-list li span {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  transition:
    max-height 0.4s ease,
    opacity 0.3s,
    margin 0.3s;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.25s;
}
.feat-list li:hover,
.feat-list li.near {
  color: var(--text-2);
}
.feat-list li.on {
  color: var(--text);
}
.feat-list li.on::before {
  background: var(--accent);
}
.feat-list li.on span {
  max-height: 120px;
  opacity: 1;
  margin-top: 6px;
}

/* the panels: stacked; the active one is in place, earlier ones went up, later ones wait below */
.feat-panels {
  position: relative;
  height: min(580px, calc(100vh - 150px));
}
.panel {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  opacity: 0;
  transform: translateY(56px) scale(0.97);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
  pointer-events: none;
}
.panel.before {
  transform: translateY(-56px) scale(0.97);
}
.panel.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.panel-cap {
  display: none;
}
.g-amber {
  background: linear-gradient(150deg, #3b2307, #b56a12 55%, #ffcf6b);
}
.g-violet {
  background: linear-gradient(150deg, #1b1340, #5a3fc0 60%, #c6b6ff);
}
.g-teal {
  background: linear-gradient(150deg, #06302d, #13806f 58%, #9be7d6);
}
.g-rose {
  background: linear-gradient(150deg, #3a0f1d, #b4436a 58%, #f8bfd0);
}
.g-blue {
  background: linear-gradient(150deg, #071a3a, #1c5fc4 58%, #a7cbff);
}
.g-indigo {
  background: linear-gradient(150deg, #10102e, #3d3a9e 58%, #b3b0ff);
}
.g-green {
  background: linear-gradient(150deg, #0d2610, #3f7d2c 58%, #cfe7a1);
}
.g-slate {
  background: linear-gradient(150deg, #101418, #3f4a57 58%, #c9d3dc);
}

/* parts that animate in, one after another, each time a panel becomes active */
.panel .a {
  opacity: 0;
  transform: translateY(10px);
}
.panel.on .a {
  animation: rise-in 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) var(--d, 0s) forwards;
}
@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* the app window inside a panel */
.win {
  width: min(100%, 680px);
  max-height: 100%;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ececec;
  font-size: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 12.5px;
  color: #d8d8d8;
}
.win-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-left: auto;
}
.win-tc {
  margin-left: auto;
  font: 500 12px var(--mono);
  color: var(--accent);
}
.win-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #bbb;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 2px 9px;
}
.win-pill .lock {
  margin-top: 3px;
  width: 9px;
  height: 7px;
}
.win-pill .lock::before {
  width: 6px;
  height: 6px;
  top: -5px;
  left: 1.5px;
}
.win-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 0 · chat */
.c-user {
  align-self: flex-end;
  max-width: 82%;
  background: #2b2b2b;
  border-radius: 12px 12px 3px 12px;
  padding: 9px 12px;
  line-height: 1.4;
}
.c-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bdbdbd;
}
.c-step i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.c-step em {
  margin-left: auto;
  font: normal 500 11.5px var(--mono);
  color: var(--accent);
}
.c-reply {
  line-height: 1.5;
  color: #f2f2f2;
  padding: 2px 0 4px;
}
.c-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #333;
  border-radius: 11px;
  padding: 9px 9px 9px 12px;
  color: #7c7c7c;
  margin-top: 4px;
}
.c-input b {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent);
}

/* 1 · timeline */
.tl {
  position: relative;
  gap: 8px;
  padding-left: 76px;
}
.tl-ruler {
  display: flex;
  justify-content: space-between;
  font: 11px var(--mono);
  color: #777;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tl-row {
  position: relative;
  height: 48px;
}
.tl-row label {
  position: absolute;
  left: -62px;
  top: 12px;
  font-size: 12px;
  color: #8c8c8c;
}
.tl-lane {
  position: absolute;
  inset: 0;
}
.tl-lane i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--l);
  width: var(--w);
  border-radius: 5px;
}
.panel .tl-lane i.a {
  transform: translateX(24px);
}
.tl-lane .clip {
  background: var(--c);
}
.tl-lane .clip.sel {
  box-shadow: 0 0 0 2px var(--accent);
}
.panel.on .tl-lane .clip.sel {
  animation:
    rise-in 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) var(--d) forwards,
    trim 2.6s ease-in-out 1.4s infinite;
}
@keyframes trim {
  0%,
  100% {
    width: var(--w);
  }
  50% {
    width: calc(var(--w) - 6%);
  }
}
.tl-lane .txt {
  top: 10px;
  bottom: 10px;
  background: rgba(255, 194, 26, 0.25);
  border: 1px solid rgba(255, 194, 26, 0.7);
}
.tl-lane .aud {
  background: repeating-linear-gradient(90deg, rgba(74, 222, 128, 0.55) 0 2px, rgba(74, 222, 128, 0.15) 2px 4px);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.tl-play {
  position: absolute;
  top: 42px;
  bottom: 14px;
  left: 76px;
  width: 2px;
  background: var(--accent);
  opacity: 0;
}
.tl-play::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.panel.on .tl-play {
  opacity: 1;
  animation: play 7s linear 1.2s infinite;
}
@keyframes play {
  from {
    left: 76px;
  }
  to {
    left: calc(100% - 18px);
  }
}

/* 2 · change cards */
.cc {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #bdbdbd;
}
.cc-top b {
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
}
.cc-top .cc-undo {
  background: var(--accent);
  color: #111;
}
.panel.on .cc-undo {
  animation: nudge 2.4s ease-in-out 1.2s infinite;
}
@keyframes nudge {
  0%,
  70%,
  100% {
    transform: none;
  }
  80% {
    transform: scale(0.92);
  }
  90% {
    transform: scale(1.04);
  }
}
.cc-items {
  font-size: 13.5px;
  color: #f2f2f2;
}
.cc.undone {
  opacity: 0.55;
}
.panel.on .cc.undone {
  animation: rise-in-dim 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) var(--d) forwards;
}
@keyframes rise-in-dim {
  to {
    opacity: 0.55;
    transform: none;
  }
}
.cc.undone .cc-items {
  color: #9a9a9a;
}

/* 3 · transcript */
.tr p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #e6e6e6;
}
.tr time {
  font: 11.5px var(--mono);
  color: #7d7d7d;
  margin-right: 8px;
}
.tr .cut {
  text-decoration: none;
  background: linear-gradient(#f87171, #f87171) no-repeat 0 58% / 0 2px;
  transition: none;
}
.panel.on .tr .cut {
  animation: strike 0.5s ease var(--d) forwards;
}
@keyframes strike {
  to {
    background-size: 100% 2px;
    color: #8a8a8a;
  }
}
.tr .hit {
  background: transparent;
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}
.panel.on .tr .hit {
  animation: highlight 0.5s ease var(--d) forwards;
}
@keyframes highlight {
  to {
    background: var(--accent);
    color: #111;
  }
}
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 46px;
  margin-top: 6px;
}
.wave i {
  flex: 1;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.55);
  height: var(--h);
}
.wave i.gap {
  background: rgba(248, 113, 113, 0.75);
}
.panel.on .wave i.gap {
  animation: drop 0.5s ease 2.1s forwards;
}
@keyframes drop {
  to {
    opacity: 0.12;
    height: 3px;
  }
}

/* 4 · shorts */
.shorts {
  flex-direction: row;
  align-items: center;
  gap: 22px;
  min-height: 300px;
}
.morph {
  position: relative;
  flex: none;
  height: 290px;
  width: 516px;
  max-width: 64%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a3a55, #0e1626);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel.on .morph {
  animation: to-vertical 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
}
@keyframes to-vertical-small {
  to {
    width: 124px;
  }
}
@keyframes to-vertical {
  to {
    width: 163px;
  }
}
.morph-subject {
  width: 90px;
  height: 150px;
  margin-top: 70px;
  border-radius: 45px 45px 10px 10px;
  background: linear-gradient(#f1c9a8, #c58e6a 30%, #2c3e66 31%, #1d2a49);
}
.morph-cap {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 700;
  font-size: 12px;
  color: #111;
  background: var(--accent);
  border-radius: 4px;
  padding: 2px 6px;
  opacity: 0;
}
.panel.on .morph-cap {
  animation: rise-in 0.4s ease 1.6s forwards;
}
.short-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.short-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4d4d4;
  white-space: nowrap;
}
.short-list i {
  width: 22px;
  height: 38px;
  border-radius: 4px;
  background: linear-gradient(#3a4c6e, #1a2540);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex: none;
}

/* 5 · animations */
.stage {
  position: relative;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: #0b0b1e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}
.o1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #ffd86b, #ff8a3d);
  left: 12%;
  top: 18%;
}
.o2 {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #b3a8ff, #5b4ce0);
  right: 16%;
  top: 14%;
}
.o3 {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 30% 30%, #8ff0d6, #13806f);
  right: 30%;
  bottom: 12%;
}
.panel.on .o1 {
  animation: float 5s ease-in-out infinite;
}
.panel.on .o2 {
  animation: float 4s ease-in-out -1.5s infinite reverse;
}
.panel.on .o3 {
  animation: float 3.4s ease-in-out -0.8s infinite;
}
@keyframes float {
  50% {
    transform: translate(18px, -14px) scale(1.08);
  }
}
.anim-title {
  position: relative;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  display: flex;
  gap: 12px;
}
.anim-title b {
  font-weight: inherit;
  opacity: 0;
  transform: translateY(26px) rotate(4deg);
}
.panel.on .anim-title b {
  animation: word-in 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}
.panel.on .anim-title b + b {
  animation-delay: 0.18s;
  color: var(--accent);
}
@keyframes word-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.render {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdbdbd;
  white-space: nowrap;
}
.render-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.render-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
.panel.on .render-bar i {
  animation: fill 3.6s ease-in-out 0.8s infinite;
}
@keyframes fill {
  0% {
    width: 0;
  }
  80%,
  100% {
    width: 100%;
  }
}

/* 6 · skills */
.sk-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #353535;
  border-radius: 9px;
  padding: 8px 11px;
  color: #eee;
}
.sk-icon {
  width: 11px;
  height: 11px;
  border: 2px solid #8c8c8c;
  border-radius: 50%;
  position: relative;
}
.sk-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 2px;
  background: #8c8c8c;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
}
.sk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 2px;
}
.sk-row div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sk-row b {
  font-weight: 500;
}
.sk-row div span {
  font-size: 12px;
  color: #8f8f8f;
}
.sk-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 10px;
  background: var(--accent);
  color: #111;
  flex: none;
}
.sk-btn {
  display: grid;
}
.sk-btn span {
  grid-area: 1 / 1;
  transition: opacity 0.3s;
}
.sk-btn span + span {
  opacity: 0;
}
.panel.on .sk-btn {
  animation: installed 0.01s linear 1.1s forwards;
}
.panel.on .sk-btn span:first-child {
  animation: hide 0.3s ease 1.1s forwards;
}
.panel.on .sk-btn span + span {
  animation: show 0.3s ease 1.1s forwards;
}
@keyframes installed {
  to {
    background: #2d2d2d;
    color: #bdbdbd;
  }
}
@keyframes hide {
  to {
    opacity: 0;
  }
}
@keyframes show {
  to {
    opacity: 1;
  }
}
.sk-cmd {
  margin-top: 4px;
  font: 12.5px var(--mono);
  color: var(--accent);
  border: 1px dashed rgba(255, 194, 26, 0.4);
  border-radius: 9px;
  padding: 9px 11px;
}

/* 7 · export */
.ex-shapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ex-shapes span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 12px;
}
.ex-shapes span i {
  border: 1.5px solid #666;
  border-radius: 3px;
  height: 32px;
}
.ex-shapes span.on {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 194, 26, 0.08);
}
.ex-shapes span.on i {
  border-color: var(--accent);
}
.ex-res {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
}
.ex-res span {
  padding: 5px 13px;
  border-radius: 7px;
  color: #aaa;
}
.ex-res span.on {
  background: var(--accent);
  color: #111;
  font-weight: 600;
}
.ex-go {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ex-go b {
  font: 500 12px var(--mono);
  color: #bdbdbd;
}
.ex-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.ex-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
.panel.on .ex-bar i {
  animation: fill 3.2s ease-in-out 1s infinite;
}

/* 8 · private */
.private {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.pv-files {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}
.pv-files span {
  font: 12.5px var(--mono);
  color: #dcdcdc;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}
.pv-cloud {
  width: 170px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: #f87171;
}
.pv-cloud b {
  color: #fff;
  font-weight: 600;
  margin-top: 4px;
}
.pv-cloud span {
  color: #9a9a9a;
  font-size: 12px;
}

/* testimonials */
.t-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.t-card {
  position: relative;
  border: 1px solid var(--line);
}
.t-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.t-tabs button {
  height: 56px;
  border: none;
  background: transparent;
  font: 500 14.5px var(--font);
  color: var(--faint);
  cursor: pointer;
  position: relative;
  transition:
    color 0.2s,
    background 0.2s;
}
.t-tabs button + button {
  border-left: 1px solid var(--line);
}
.t-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--text);
}
.t-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.t-slides {
  position: relative;
  min-height: 360px;
}
.t-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: 1fr auto;
  gap: 24px 56px;
  padding: 48px 48px 44px 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s;
}
.t-slide.on {
  position: relative;
  opacity: 1;
  visibility: visible;
}
.t-slide blockquote {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 620px;
}
.t-slide mark {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.t-slide figcaption {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.t-slide figcaption b {
  font-weight: 500;
}
.t-slide figcaption span {
  color: var(--muted);
  font-size: 14px;
}
.t-slide video {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: var(--surface-2);
}
.corner {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent);
}
.corner.tl {
  left: 10px;
  top: 66px;
}
.corner.tr {
  right: 10px;
  top: 66px;
}
.corner.bl {
  left: 10px;
  bottom: 10px;
}
.corner.br {
  right: 10px;
  bottom: 10px;
}

/* pricing */
.pricing {
  background: var(--surface);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-note {
  color: var(--muted);
  font-size: 15px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 20px;
}
.price b {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price span {
  color: var(--muted);
}
.plan ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  color: var(--text-2);
}
.plan li {
  position: relative;
  padding-left: 26px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}
.plan li b {
  font-weight: 500;
  color: var(--text);
}
.plan-main {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  background: var(--accent-tint-2);
  color: var(--accent-text);
  padding: 2px 9px;
  border-radius: 999px;
}
.plan-info {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-2);
}
.plan-text {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 15px;
}
.plan-info ul {
  margin-top: 16px;
}

/* call to action */
/* faq: questions as an accordion; the heading stays put beside them while they scroll */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq-head {
  position: sticky;
  top: 120px;
}
.faq-head p {
  margin-top: 20px;
  max-width: 340px;
  font-size: 17px;
  color: var(--text-2);
}
.faq-head a,
.faq-a a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
/* A plus in a circle that turns into a cross when open. */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat,
    var(--surface);
  transition:
    transform 0.25s ease,
    background-color 0.2s;
}
.faq-item summary:hover::after {
  background-color: var(--surface-2);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent-tint-2);
}
.faq-a {
  padding: 0 52px 24px 0;
  color: var(--text-2);
  line-height: 1.65;
}
.faq-a p + p {
  margin-top: 12px;
}
/* Browsers that can animate to height: auto slide the answer open; others just show it. */
@supports (interpolate-size: allow-keywords) {
  .faq-item {
    interpolate-size: allow-keywords;
  }
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.3s ease,
      content-visibility 0.3s allow-discrete;
  }
  .faq-item[open]::details-content {
    height: auto;
  }
}

.cta-wrap {
  padding-bottom: 120px;
}
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  padding: 96px 24px 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta p {
  color: #8f8f8f;
  font-size: 14px;
}

/* footer */
.footer {
  background: var(--dark);
  color: #d4d4d4;
  padding: 64px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-line);
}
.brand-light {
  color: #fff;
}
.socials {
  display: flex;
  gap: 18px;
}
.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}
.ph-badge img {
  display: block;
  width: 250px;
  height: 54px;
}
.socials a {
  color: #9a9a9a;
  transition: color 0.15s;
}
.socials a:hover {
  color: #fff;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 44px 0 56px;
}
.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.footer-cols a {
  font-size: 14.5px;
  color: #b3b3b3;
  transition: color 0.15s;
}
.footer-cols a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
  font-size: 13.5px;
  color: #8a8a8a;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a:hover {
  color: #fff;
}
.footer-fine {
  flex-basis: 100%;
  font-size: 12.5px;
  color: #666;
}

/* legal pages (privacy.html, terms.html) */
.legal-page {
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: 120px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}
.legal-page h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 460;
  letter-spacing: -0.04em;
  color: var(--text);
}
.legal-page .legal-date {
  margin: 12px 0 40px;
  color: var(--faint);
  font-size: 15px;
}
.legal-page h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-page h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.legal-page p {
  margin: 0 0 16px;
}
.legal-page ul,
.legal-page ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal-page li {
  margin-bottom: 6px;
}
.legal-page b {
  font-weight: 600;
  color: var(--text);
}
.legal-page a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-table {
  overflow-x: auto;
  margin: 0 0 16px;
}
.legal-table table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
}
.legal-table th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}
.legal-page h2[id],
.legal-page h3[id] {
  scroll-margin-top: 96px;
}
/* 404.html */
.not-found {
  min-height: 52vh;
}
.not-found h1 {
  margin-bottom: 16px;
}
.not-found .btn {
  margin-top: 12px;
  color: var(--accent-ink);
  text-decoration: none;
}
.legal-page code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .mock-body {
    grid-template-columns: 0 minmax(0, 1fr) 270px;
  }
  .mock-media {
    display: none;
  }
  .feat {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .nav-links,
  .nav-plain {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-inner {
    height: 56px;
    padding: 0 7px 0 16px;
  }
  .nav-cta {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding-top: 72px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .mock-body {
    grid-template-columns: minmax(0, 1fr);
    height: 300px;
  }
  .mock-agent {
    display: none;
  }
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
  .works-grid li:nth-child(3) {
    border-left: none;
  }
  .works-grid li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 88px 0;
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .faq-head {
    position: static;
  }
  .faq-a {
    padding-right: 8px;
  }
  .split-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }
  .split-head p {
    justify-self: start;
  }
  .prompts {
    grid-template-columns: 1fr;
  }
  .prompt-card {
    padding: 28px 24px;
  }
  .prompt-card:nth-child(odd) {
    border-right: none;
  }
  .prompt-card + .prompt-card {
    border-top: 1px solid var(--line);
  }
  .byo {
    flex-direction: column;
    align-items: flex-start;
  }
  .feat-track {
    height: auto;
  }
  .feat-sticky {
    position: static;
    height: auto;
    padding-top: 0;
    display: block;
  }
  .feat {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat-panels,
  .panel,
  .win {
    min-width: 0;
  }
  .feat-side {
    display: none;
  }
  .feat-panels {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 88px;
  }
  .panel {
    position: relative;
    inset: auto;
    min-height: 360px;
    padding: 18px;
  }
  .panel.before {
    transform: translateY(56px) scale(0.97);
  }
  .panel-cap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 22px;
  }
  .panel-cap b {
    font-weight: 500;
    font-size: 18px;
  }
  .panel-cap span {
    color: var(--muted);
    font-size: 15px;
  }
  .shorts,
  .private {
    flex-direction: column;
    align-items: stretch;
  }
  .morph {
    width: 100%;
    height: 220px;
    align-self: center;
  }
  .panel.on .morph {
    animation-name: to-vertical-small;
  }
  .pv-cloud {
    width: auto;
  }
  .ex-shapes {
    grid-template-columns: 1fr 1fr;
  }
  .t-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .t-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .t-tabs button:nth-child(3) {
    border-left: none;
  }
  .t-tabs button:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .t-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 32px 24px;
  }
  .t-slide video {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
    max-height: 260px;
  }
  .corner.tl,
  .corner.tr {
    top: 122px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-right {
    width: 100%;
    justify-content: space-between;
  }
  .hero-title br,
  .split-head h2 br,
  .cta h2 br {
    display: none;
  }
  .hero-title .soft,
  .split-head h2 .soft {
    display: inline;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .works-top {
    font-size: 15px;
  }
  .works-grid li {
    font-size: 16px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel {
    transition: opacity 0.2s;
    transform: none !important;
  }
  .panel .a,
  .panel.on .a {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
  .hero-grid i,
  .mock-scrub i,
  .mock-playhead {
    animation: none;
  }
  .mock-step,
  .mock-reply {
    animation: none;
    opacity: 1;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq-item summary::after,
  .faq-item::details-content {
    transition: none;
  }
}
