/* FullStacks marketing surface (index, /start, /network). Load after /styles.css. */

.studio-home {
  /* Cool ledger desk: not teal-SaaS, not cream/terracotta. */
  --paper: #e8ebf0;
  --paper-2: #dfe4eb;
  --ink: #10141c;
  --muted: #5a6472;
  --line: #c4ccd8;
  --accent: #8a4f12;
  --accent-2: #c47820;
  --accent-ink: #1a1006;
  --hero: #070b12;
  --hero-ink: #e7ecf6;
  --hero-muted: #a7b2c7;
  --panel: #121926;
  --ok: #1f7a4d;
  --danger: #b42318;
  --font: "Sora", "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Georgia", serif;
  --wrap: 76rem; /* 1216 */
  --wrap-wide: 90rem; /* 1440: fills a 1440 viewport with gutters */
  --gutter: clamp(1.5rem, 3.2vw, 2rem); /* match nav inset (~24-32px) */
  --radius: 12px;
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 120, 32, 0.07), transparent 55%),
    linear-gradient(180deg, #eef1f5 0%, var(--paper) 28%, var(--paper) 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.studio-home section { margin-top: 0; }
/* Beat styles.css body > main/footer max-width: var(--max) so marketing is full-bleed. */
.studio-home > main:not(.page),
.studio-home > footer:not(.site-footer),
.studio-home > .fs-foot {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  border-top: 0;
}
.studio-home > main:not(.page) {
  padding-top: 0;
  padding-bottom: 0;
}
.studio-home a { color: inherit; }

.fs-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .fs-wrap { max-width: var(--wrap-wide); }
}

/* --- Top bar --- */
.fs-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: color-mix(in srgb, var(--hero) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fs-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4rem;
}
.fs-brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}
.studio-home a.fs-brand,
.fs-bar a.fs-brand { color: #fff; }
.fs-bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  align-items: center;
}
.fs-bar-nav a {
  color: rgba(231, 236, 246, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.fs-bar-nav a:hover { color: #fff; }
.fs-bar-cta {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
}
.fs-bar-cta:hover { background: rgba(255, 255, 255, 0.1); }

/* --- Hero --- */
.fs-hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  background: var(--hero);
  color: var(--hero-ink);
  overflow: hidden;
  width: 100%;
}
.fs-hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 11.1%, rgba(255, 255, 255, 0.025) 11.1% 11.15%, transparent 11.15%),
    linear-gradient(0deg, transparent 0 16.6%, rgba(255, 255, 255, 0.02) 16.6% 16.65%, transparent 16.65%),
    radial-gradient(ellipse 55% 50% at 88% 18%, rgba(196, 120, 32, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 45% at 12% 88%, rgba(90, 120, 180, 0.12), transparent 55%),
    linear-gradient(155deg, #05070d 0%, #070b12 42%, #101828 100%);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  animation: fs-plane-shift 20s ease-in-out infinite alternate;
}
.fs-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  /* Top/bottom only: never shorthand-reset .fs-wrap side gutters. */
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .fs-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 3.75rem);
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}
.fs-hero-copy {
  max-width: none;
  min-width: 0;
}
.fs-brand-hero {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #fff;
  animation: fs-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fs-hero h1 {
  margin: 0 0 1.1rem;
  max-width: 22ch;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  animation: fs-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
.fs-lead {
  margin: 0 0 1.75rem;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--hero-muted);
  animation: fs-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}
.fs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fs-rise 720ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

/* Product-UI stage (desktop visual anchor) */
.fs-hero-stage {
  display: none;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), transparent 40%),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: fs-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}
@media (min-width: 1024px) {
  .fs-hero-stage { display: block; }
}
.fs-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}
.fs-stage-dots {
  display: flex;
  gap: 0.35rem;
}
.fs-stage-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.fs-stage-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.fs-stage-body { padding: 1.15rem 1.15rem 1.35rem; display: grid; gap: 0.75rem; }
.fs-stage-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.fs-stage-row.is-gate {
  border-color: rgba(196, 120, 32, 0.45);
  background: rgba(196, 120, 32, 0.1);
  animation: fs-gate-pulse 2.8s ease-in-out infinite;
}
.fs-stage-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.fs-stage-row.is-gate .fs-stage-icon {
  background: rgba(196, 120, 32, 0.35);
  color: #ffd9a0;
}
.fs-stage-copy strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}
.fs-stage-copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--hero-muted);
}
.fs-stage-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hero-muted);
  white-space: nowrap;
}
.fs-stage-row.is-gate .fs-stage-badge {
  background: rgba(196, 120, 32, 0.25);
  color: #ffd9a0;
}
.fs-stage-row.is-done .fs-stage-badge {
  background: rgba(62, 207, 142, 0.15);
  color: #7dffc0;
}

@keyframes fs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fs-plane-shift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.03) translate3d(-0.8%, 0.6%, 0); }
}
@keyframes fs-gate-pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(196, 120, 32, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(196, 120, 32, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .fs-brand-hero,
  .fs-hero h1,
  .fs-lead,
  .fs-actions,
  .fs-hero-plane,
  .fs-hero-stage,
  .fs-stage-row.is-gate {
    animation: none;
  }
}

/* --- Buttons --- */
.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.fs-btn:hover { transform: translateY(-1px); }
.fs-btn-solid {
  background: var(--accent-2);
  color: var(--accent-ink);
  border-color: var(--accent-2);
}
.studio-home a.fs-btn-solid,
.studio-home button.fs-btn-solid {
  color: var(--accent-ink);
}
.fs-btn-solid:hover { background: #d4892a; }
.fs-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.studio-home a.fs-btn-ghost { color: #fff; }
.fs-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); }

/* --- Sections --- */
.fs-section {
  width: 100%;
  padding-top: clamp(3.5rem, 7vw, 5.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.75rem);
}
.fs-section-alt {
  background:
    linear-gradient(180deg, rgba(16, 20, 28, 0.03), transparent 40%),
    var(--paper-2);
}
.fs-section-dark {
  background: var(--hero);
  color: var(--hero-ink);
}
.fs-section-dark .fs-intro { color: rgba(231, 236, 246, 0.82); }
.studio-home .fs-section-dark h2,
.fs-section-dark h2 { color: var(--hero-ink); }
.fs-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 18ch;
  color: var(--ink);
}
.fs-section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .fs-section-head {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 2.5rem;
  }
  .fs-section-head .fs-intro { margin-bottom: 0; }
}
.fs-intro {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.fs-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .fs-split { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
}

.fs-plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.fs-plain-list li {
  padding: 0.95rem 0 0.95rem 1.1rem;
  border-left: 3px solid var(--accent-2);
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(196, 120, 32, 0.08), transparent 70%);
}

.fs-services,
.fs-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .fs-services,
  .fs-proof { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; }
}
@media (min-width: 1100px) {
  .fs-services { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .fs-proof { grid-template-columns: repeat(4, 1fr); }
}
.fs-services li,
.fs-proof li {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.fs-services h3,
.fs-proof strong,
.fs-steps h3 {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.fs-services p,
.fs-proof p,
.fs-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.fs-proof-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.fs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .fs-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .fs-steps li {
    display: block;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .fs-step-num { margin-bottom: 0.85rem; }
}
.fs-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.fs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 18%, transparent);
  color: var(--accent);
  font-weight: 700;
}

.fs-pricing {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .fs-pricing { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
}
.fs-pricing-panel {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fs-price-line {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}
.fs-price-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.fs-request {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .fs-request { grid-template-columns: 0.85fr 1.15fr; gap: 3.25rem; }
}
.fs-form {
  display: grid;
  gap: 0.9rem;
}
.fs-form-row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .fs-form-row { grid-template-columns: 1fr 1fr; }
}
.fs-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(231, 236, 246, 0.88);
}
/* Checkbox labels must stay inline: beat the grid above (class+element). */
.fs-form label.start-check,
.studio-home .fs-form label.start-check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  cursor: pointer;
}
.fs-form label.start-check input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--accent-2);
}
.fs-req {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}
.fs-optional {
  font-weight: 500;
  color: rgba(231, 236, 246, 0.5);
}
.fs-form input,
.fs-form textarea,
.fs-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.55);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}
.fs-form input:focus-visible,
.fs-form textarea:focus-visible,
.fs-form select:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.fs-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.35rem;
}
.fs-form-note {
  color: rgba(231, 236, 246, 0.55);
  font-size: 0.9rem;
}
.fs-form-status {
  min-height: 1.4em;
  color: rgba(231, 236, 246, 0.65);
  font-size: 0.95rem;
}
.fs-form-status.is-ok { color: #3ecf8e; }
.fs-form-status.is-err { color: #ff8a96; }

.fs-faq {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}
@media (min-width: 1024px) {
  .fs-faq {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 2rem;
  }
}
.fs-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0 0.95rem;
}
.fs-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 600;
}
.fs-faq details[open] summary::after { content: "-"; }
.fs-faq p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}
.fs-faq a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.fs-foot {
  width: 100%;
  background: #05070d;
  color: #c5d0e6;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.fs-foot-inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .fs-foot-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
.fs-foot .fs-brand,
.studio-home .fs-foot a.fs-brand { color: #fff; }
.fs-foot p { margin: 0.55rem 0 0; max-width: 38ch; color: #c5d0e6; }
.fs-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
}
.fs-foot-links a,
.studio-home .fs-foot-links a {
  color: #d2d7e5;
  text-decoration: none;
  font-weight: 600;
}
.fs-foot-links a:hover,
.studio-home .fs-foot-links a:hover { color: #fff; }

@media (max-width: 720px) {
  .fs-bar-nav a:not(.fs-bar-cta) { display: none; }
  .fs-hero-grid { padding-top: 5.25rem; }
  .fs-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
  }
}
