/* Æ Flowstate product page — extends site.css */

.fs-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-flowstate {
  --fs-pad-x: clamp(1.5rem, 5vw, 4rem);
  --fs-pad-y: clamp(4rem, 12vh, 8rem);
  --fs-inner: min(var(--max-w), 100%);
}

.page-flowstate #waitlist,
.page-flowstate #contact {
  scroll-margin-top: var(--topbar-h);
}

/* --- Hero --- */
.fs-hero {
  padding: calc(var(--topbar-h) + clamp(3rem, 10vh, 5rem)) var(--fs-pad-x) clamp(3rem, 8vh, 4.5rem);
  background: var(--gray-900);
}

.fs-hero__inner {
  max-width: var(--fs-inner);
  margin: 0 auto;
}

.fs-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 14ch;
}

.fs-hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray-200);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.fs-hero__status {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

/* --- Body sections (dark) --- */
.fs-section {
  padding: var(--fs-pad-y) var(--fs-pad-x);
  background: var(--gray-900);
}

.fs-section--compact {
  padding-top: 0;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.fs-inner {
  max-width: var(--fs-inner);
  margin: 0 auto;
}

.fs-intro {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-200);
  max-width: 42rem;
}

.fs-audience {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 36rem;
}

/* --- UI mockup --- */
.fs-mockup {
  padding-top: clamp(1rem, 4vh, 2rem);
  padding-bottom: clamp(4rem, 12vh, 7rem);
}

.fs-mockup__frame {
  max-width: min(100%, 56rem);
  margin-left: clamp(0rem, 4vw, 3rem);
  margin-right: auto;
}

.fs-mockup__img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- Waitlist --- */
.fs-waitlist {
  padding: var(--fs-pad-y) var(--fs-pad-x);
  background: var(--gray-100);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.fs-waitlist__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 2rem;
  max-width: 24rem;
}

.fs-waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 28rem;
  margin-bottom: 0.75rem;
}

.fs-waitlist-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 52px;
  padding: 0 1.25rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  outline: none;
}

.fs-waitlist-form input[type="email"]::placeholder {
  color: var(--gray-500);
}

.fs-waitlist-form input[type="email"]:focus {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--black);
}

.fs-waitlist-form button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 1.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  cursor: pointer;
  transition: opacity 0.2s;
}

.fs-waitlist-form button:hover {
  opacity: 0.85;
}

.fs-waitlist__fine {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.fs-waitlist__success {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--black);
  max-width: 28rem;
}

.fs-waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .fs-mockup__frame {
    margin-left: auto;
    margin-right: auto;
  }

  .fs-waitlist-form {
    flex-direction: column;
    max-width: none;
  }

  .fs-waitlist-form input[type="email"],
  .fs-waitlist-form button {
    width: 100%;
  }
}
