:root {
  --fs-font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --fs-font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --fs-font-script: "Courier Prime", "Courier New", monospace;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--fs-font-text) !important;
}

.fs-site-shell,
.fs-site-shell * {
  font-family: inherit;
}

.fs-site-shell h1,
.fs-site-shell h2,
.fs-site-shell h3,
.fs-site-shell .fs-brand-word {
  font-family: var(--fs-font-display) !important;
}

.fs-screenplay-ink,
.fs-screenplay-ink *,
.fs-screenplay-svg text {
  font-family: var(--fs-font-script) !important;
}

.fs-site-shell {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
}

.fs-topbar {
  position: relative;
  z-index: 40;
}

.fs-home-scroll {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overscroll-behavior-y: contain;
  overflow-x: clip;
}

.fs-home {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.fs-home-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 94px 40px 0;
  text-align: center;
}

.fs-home-eyebrow,
.fs-section-eyebrow,
.fs-feature-kicker {
  color: var(--accent, #BA7517);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.65px;
  line-height: 1.2;
  text-transform: uppercase;
}

.fs-home-title {
  max-width: 880px;
  margin: 16px auto 0;
  color: var(--ink, #2C2C2A);
  font-size: clamp(54px, 7.5vw, 88px);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -3.7px;
  line-height: .98;
  text-wrap: balance;
}

.fs-home-title-line {
  display: inline-block;
  white-space: nowrap;
}

.fs-home-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: #2C2C2A;
  background: #FFFEF9;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  cursor: pointer;
}

.fs-home-lede {
  max-width: 720px;
  margin: 27px auto 0;
  color: var(--muted, #888780);
  font-size: clamp(17px, 2.1vw, 21px);
  letter-spacing: -.22px;
  line-height: 1.5;
  text-wrap: balance;
}

.fs-hero-actions {
  text-align: center;
}

.fs-hero-actions .fs-cta-row {
  margin-top: 34px;
}

.fs-landing-cta {
  appearance: none;
  min-width: 158px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 15px/1 "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.12px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 7px 18px rgba(44,44,42,.08);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.fs-landing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.38) inset, 0 12px 25px rgba(44,44,42,.13);
}

.fs-landing-cta:active {
  transform: translateY(0) scale(.985);
}

.fs-landing-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent, #BA7517) 30%, transparent);
  outline-offset: 3px;
}

.fs-landing-cta--primary {
  color: #fff;
  background: var(--accent, #BA7517);
  border-color: color-mix(in srgb, var(--accent, #BA7517) 78%, #2C2C2A);
}

.fs-landing-cta--primary:hover {
  color: #fff;
  background: var(--accent-hover, #D98B20);
}

.fs-landing-cta--secondary {
  color: var(--ink, #2C2C2A);
  background: color-mix(in srgb, var(--surface, #FFFEF9) 90%, transparent);
  border-color: color-mix(in srgb, var(--line, #2C2C2A) 45%, transparent);
}

.fs-landing-cta--secondary:hover {
  color: var(--ink, #2C2C2A);
  border-color: color-mix(in srgb, var(--line, #2C2C2A) 72%, transparent);
  background: var(--surface, #FFFEF9);
}

.fs-hero-plan-cta {
  appearance: none;
  margin-top: 20px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: var(--ink, #2C2C2A);
  font: 650 13px/1.4 "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.04px;
  cursor: pointer;
  transition: color .18s ease, transform .18s cubic-bezier(.2,.8,.2,1);
}

.fs-hero-plan-cta:hover {
  color: var(--accent, #BA7517);
  transform: translateY(-1px);
}

.fs-hero-plan-cta:focus-visible {
  outline: 2px solid var(--accent, #BA7517);
  outline-offset: 4px;
  border-radius: 6px;
}

.fs-hero-audience {
  margin: 8px auto 0;
  color: var(--muted, #888780);
  font-size: 12.5px;
  font-weight: 520;
  letter-spacing: .02px;
}

.fs-hero-stage {
  position: relative;
  width: min(900px, calc(100% - 48px));
  min-height: 430px;
  margin: 62px auto 0;
  isolation: isolate;
}

.fs-hero-stage-frame,
.fs-card-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.fs-hero-stage-frame path,
.fs-card-frame path {
  fill: var(--surface, #FFFEF9);
  stroke: var(--line, #2C2C2A);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.fs-hero-stage-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr);
  gap: 44px;
  align-items: center;
  min-height: 430px;
  padding: 54px 58px 50px;
  text-align: left;
}

.fs-hero-script {
  position: relative;
  min-height: 286px;
}

.fs-hero-script > svg {
  display: block;
  width: 100%;
  height: 286px;
  overflow: visible;
}

.fs-hero-modules {
  display: grid;
  gap: 13px;
}

.fs-hero-module {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 13px;
  color: var(--ink, #2C2C2A);
}

.fs-hero-module-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent, #BA7517);
}

.fs-hero-module-icon svg {
  width: 25px;
  height: 25px;
}

.fs-hero-module strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.1px;
}

.fs-hero-module small {
  display: block;
  margin-top: 3px;
  color: var(--muted, #888780);
  font-size: 11px;
  line-height: 1.35;
}

.fs-hero-module-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #BA7517);
}

.fs-suite-nav {
  display: block;
  max-width: 1000px;
  margin: 34px auto 0;
  padding: 0 28px;
}

.fs-suite-nav-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.fs-suite-nav a {
  padding: 7px 1px;
  border-bottom: 1px solid transparent;
  color: var(--muted, #888780);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08px;
  transition: color .18s ease, border-color .18s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}

.fs-suite-nav a:hover,
.fs-suite-nav a:focus-visible {
  border-bottom-color: var(--accent, #BA7517);
  color: var(--ink, #2C2C2A);
  outline: none;
  transform: translateY(-2px);
}

.fs-suite-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px 38px 0;
}

.fs-section-heading {
  max-width: 790px;
  margin: 0 auto 48px;
  text-align: center;
}

.fs-section-heading h2 {
  margin: 13px 0 0;
  color: var(--ink, #2C2C2A);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 730;
  letter-spacing: -2.6px;
  line-height: 1.02;
  text-wrap: balance;
}

.fs-section-heading p {
  max-width: 670px;
  margin: 18px auto 0;
  color: var(--muted, #888780);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: balance;
}

.fs-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.fs-feature-card {
  position: relative;
  grid-column: span 6;
  min-height: 438px;
  scroll-margin-top: 24px;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease;
}

.fs-feature-card:hover {
  transform: translateY(-3px);
}

.fs-feature-card:target {
  animation: fs-feature-arrival .78s cubic-bezier(.16,1,.3,1) both;
}

.fs-feature-card:target > .fs-card-frame path {
  animation: fs-feature-frame-arrival 1s cubic-bezier(.16,1,.3,1) both;
}

.fs-feature-card--wide {
  grid-column: span 7;
}

.fs-feature-card--narrow {
  grid-column: span 5;
}

.fs-feature-card--third {
  grid-column: span 4;
  min-height: 414px;
}

.fs-feature-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding: 35px 36px 31px;
}

.fs-feature-title {
  margin: 10px 0 0;
  color: var(--ink, #2C2C2A);
  font-size: 29px;
  font-weight: 720;
  letter-spacing: -1px;
  line-height: 1.05;
}

.fs-feature-copy {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted, #888780);
  font-size: 14.5px;
  letter-spacing: -.05px;
  line-height: 1.5;
}

.fs-feature-visual {
  position: relative;
  flex: 1;
  min-height: 236px;
  margin-top: 24px;
}

.fs-feature-visual > svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 236px;
  overflow: visible;
}

.fs-hero-lumiere-note,
.fs-lumiere-message {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}

.fs-hero-stage:hover .fs-hero-lumiere-note {
  transform: translateY(-3px) rotate(-.2deg);
}

#lumiere:hover .fs-lumiere-message--feedback {
  transform: translate(-2px, -2px) rotate(-.18deg);
}

#lumiere:hover .fs-lumiere-message--prompt {
  transform: translate(2px, -3px) rotate(.14deg);
}

.fs-svg-ink {
  fill: none;
  stroke: var(--ink, #2C2C2A);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fs-svg-muted {
  fill: none;
  stroke: var(--muted, #888780);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fs-svg-soft {
  fill: none;
  stroke: var(--soft, #E4E2D8);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fs-svg-accent {
  fill: none;
  stroke: var(--accent, #BA7517);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fs-svg-text {
  fill: var(--ink, #2C2C2A);
  font-family: var(--fs-font-text) !important;
}

.fs-svg-muted-text {
  fill: var(--muted, #888780);
  font-family: var(--fs-font-text) !important;
}

@keyframes fs-feature-arrival {
  0% { transform: translateY(18px) scale(.987); filter: saturate(.8); }
  56% { transform: translateY(-5px) scale(1.004); filter: saturate(1.08); }
  100% { transform: translateY(0) scale(1); filter: saturate(1); }
}

@keyframes fs-feature-frame-arrival {
  0%, 100% { stroke: var(--ink, #2C2C2A); }
  42% { stroke: var(--accent, #BA7517); }
}

.fs-final-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 40px 0;
  text-align: center;
}

.fs-final-cta h2 {
  margin: 0;
  color: var(--ink, #2C2C2A);
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 730;
  letter-spacing: -2.4px;
  line-height: 1.03;
  text-wrap: balance;
}

.fs-final-cta p {
  max-width: 570px;
  margin: 17px auto 0;
  color: var(--muted, #888780);
  font-size: 16.5px;
  line-height: 1.55;
}

.fs-home-footer {
  padding: 78px 24px 44px;
  color: var(--muted, #888780);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .fs-home-hero {
    padding-top: 76px;
  }

  .fs-hero-stage-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px 48px 44px;
  }

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

  .fs-hero-module {
    grid-template-columns: 32px 1fr;
  }

  .fs-hero-module-status {
    display: none;
  }

  .fs-feature-card,
  .fs-feature-card--wide,
  .fs-feature-card--narrow,
  .fs-feature-card--third {
    grid-column: 1 / -1;
  }

  .fs-feature-card-content {
    padding-right: 42px;
    padding-left: 42px;
  }

}

@media (max-width: 700px) {
  .fs-home {
    display: flex;
    flex-direction: column;
  }

  .fs-topbar {
    min-height: 44px;
    height: 44px !important;
    flex-basis: 44px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .fs-brand-mark {
    min-width: 92px;
    flex-basis: 92px;
  }

  .fs-brand-word {
    font-size: 18px;
  }

  .fs-topnav {
    display: none !important;
  }

  .fs-top-actions {
    margin-left: auto;
  }

  .fs-top-actions > div:first-child,
  .fs-top-actions [data-testid="account-avatar"] {
    min-width: 44px;
    min-height: 44px;
  }

  .fs-top-actions > div:first-child {
    justify-content: center;
    padding: 0 !important;
  }

  .fs-top-actions .fs-home-login {
    width: auto;
    min-width: 0;
    height: 32px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11.5px;
    letter-spacing: -.08px;
  }

  .fs-top-actions .fs-home-login::after {
    position: absolute;
    inset: -6px;
    content: "";
  }

  .fs-home-hero {
    order: 1;
    padding: 28px 18px 0;
  }

  .fs-home-eyebrow,
  .fs-home-lede,
  .fs-hero-plan-cta,
  .fs-hero-audience {
    display: none;
  }

  .fs-home-title {
    max-width: 340px;
    margin-top: 0;
    font-size: clamp(43px, 12.8vw, 55px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: .93;
    text-wrap: initial;
  }

  .fs-home-title-line {
    display: block;
  }

  .fs-cta-row {
    gap: 12px !important;
    flex-wrap: wrap;
  }

  .fs-cta-row .fs-landing-cta {
    flex: 1 1 150px;
    width: auto;
    min-width: 0;
    max-width: 240px;
    min-height: 44px;
    padding: 0 19px;
    border-radius: 14px;
    font-size: 14px;
  }

  .fs-hero-actions {
    order: 4;
    padding: 0 18px;
  }

  .fs-hero-actions .fs-cta-row {
    margin-top: 18px;
  }

  .fs-hero-actions .fs-landing-cta--secondary {
    display: inline-flex;
  }

  .fs-hero-stage {
    order: 2;
    width: calc(100% - 22px);
    min-height: 350px;
    margin-top: 22px;
  }

  .fs-hero-stage-content {
    min-height: 350px;
    gap: 10px;
    padding: 22px 18px 20px;
  }

  .fs-hero-script,
  .fs-hero-script > svg {
    min-height: 218px;
    height: 218px;
  }

  .fs-hero-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }

  .fs-hero-module {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 62px;
    padding: 5px 2px;
    text-align: center;
  }

  .fs-hero-module-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto;
  }

  .fs-hero-module-icon svg {
    width: 22px;
    height: 22px;
  }

  .fs-hero-module strong {
    font-size: 11px;
  }

  .fs-hero-module small {
    display: none;
  }

  .fs-suite-nav {
    order: 3;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-top: 18px;
    padding: 0 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-inline: contain;
    scroll-snap-type: none;
  }

  .fs-suite-nav::-webkit-scrollbar {
    display: none;
  }

  .fs-suite-nav-track {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .fs-suite-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
  }

  .fs-suite-section {
    order: 5;
    padding: 24px 16px 0;
  }

  .fs-section-heading {
    display: none;
  }

  .fs-feature-grid {
    gap: 16px;
  }

  .fs-feature-card,
  .fs-feature-card--wide,
  .fs-feature-card--narrow,
  .fs-feature-card--third {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .fs-feature-card-content {
    padding: 31px 27px 28px;
  }

  .fs-feature-title {
    font-size: 27px;
  }

  .fs-feature-visual,
  .fs-feature-visual > svg {
    min-height: 0;
  }

  .fs-feature-visual {
    flex: none;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .fs-feature-visual > svg {
    width: 100%;
    height: auto;
    max-width: none;
    transform: none;
  }

  #editor .fs-feature-visual > svg,
  #analysis .fs-feature-visual > svg {
    aspect-ratio: 620 / 250;
  }

  #lumiere .fs-feature-visual > svg,
  #imagine .fs-feature-visual > svg {
    aspect-ratio: 430 / 250;
  }

  #breakdown .fs-feature-visual > svg,
  #stripboard .fs-feature-visual > svg,
  #shot-list .fs-feature-visual > svg {
    aspect-ratio: 360 / 250;
  }

  #budget .fs-feature-visual > svg,
  #calendar .fs-feature-visual > svg {
    aspect-ratio: 520 / 250;
  }

  .fs-final-cta {
    order: 6;
    padding: 104px 20px 0;
  }

  .fs-home-footer {
    order: 7;
    padding-top: 64px;
  }
}

@media (max-width: 360px) {
  .fs-cta-row {
    flex-direction: column;
  }

  .fs-cta-row .fs-landing-cta {
    flex-basis: auto;
    width: min(100%, 260px);
  }
}

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

  .fs-home *,
  .fs-home *::before,
  .fs-home *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}
