/* business-formation.css -- styles used only on business-formation.html.
   Generated by tools/split-css.js from the original style.css. */


.formation-page-shell {
  --formation-gap: 40px;
}

.formation-page-shell::before {
  background:
    radial-gradient(ellipse at 75% 8%, rgba(8, 102, 255, .32), transparent 30rem),
    radial-gradient(circle at 4% 40%, rgba(0, 156, 255, .12), transparent 24rem),
    linear-gradient(105deg, rgba(0, 12, 38, .18), rgba(0, 0, 0, 0) 45%);
}

.formation-hero {
  width: min(100% - 96px, 1080px);
  min-height: 420px;
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.formation-hero::before {
  content: "";
  position: absolute;
  inset: -18px -40px -14px;
  z-index: -2;
  background:
    radial-gradient(circle at 74% 38%, rgba(0, 116, 255, .22), transparent 18rem),
    linear-gradient(90deg, rgba(1, 7, 22, .9), rgba(1, 7, 22, .34) 55%, rgba(1, 7, 22, .08));
}

.formation-hero h1 {
  margin: 0;
  max-width: 530px;
  font-size: clamp(47px, 4.3vw, 61px);
  line-height: 1.08;
  font-weight: 900;
}

.formation-hero .eyebrow {
  font-size: 22px;
}

.formation-hero .hero-subtitle {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 18px;
}

.formation-hero .mini-proof {
  font-size: 14px;
}

.formation-hero .btn-large {
  font-size: 16px;
}

.formation-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.formation-visual img {
  display: block;
  width: 120%;
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 22px 46px rgba(0, 0, 0, .36));
}

.formation-intro {
  min-height: 104px;
  padding: 22px 30px;
  display: grid;
  grid-template-columns: 70px 1fr 300px;
  gap: 18px;
  align-items: center;
}

.formation-intro h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.formation-intro p {
  margin: 0;
  color: #f2f7ff;
  font-size: 16px;
  line-height: 1.45;
}

.formation-intro .check-list {
  font-size: 15px;
  line-height: 1.85;
}

.formation-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.formation-card {
  min-height: 310px;
  padding: 23px 31px 18px;
  overflow: hidden;
}

.formation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(0, 160, 255, .2), transparent 42%);
  pointer-events: none;
}

.formation-card-head {
  min-height: 90px;
  display: grid;
  grid-template-columns: 56px 1fr 88px;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.formation-card-head h2 {
  margin: 7px 0 8px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.formation-card-head p,
.formation-card-copy {
  margin: 0;
  color: #f2f7ff;
  font-size: 15px;
  line-height: 1.55;
}

.formation-card-copy {
  max-width: 315px;
  margin: -6px 0 22px 72px;
  color: #dce8ff;
}

.flag-circle {
  width: 56px;
  height: 56px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 0 22px rgba(0, 139, 255, .2);
}

.flag-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.us-flag,
.uk-flag {
  background: none;
}

.formation-line-art {
  align-self: end;
  justify-self: end;
  width: 96px;
  height: 112px;
  display: grid;
  place-items: end center;
  color: rgba(37, 141, 255, .75);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(0, 152, 255, .22);
  opacity: .8;
}

.included-title {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.formation-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 17px;
}

.formation-list-grid .check-list {
  font-size: 14px;
  line-height: 1.85;
}

.formation-services .btn.full {
  font-size: 15px;
}

.formation-list-grid .check-list li::before,
.formation-intro .check-list li::before {
  width: 13px;
  height: 13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #13c7ff, #0576ff);
  color: white;
  font-size: 9px;
  line-height: 1;
}

.formation-choose {
  grid-template-columns: repeat(5, 1fr);
  min-height: 138px;
  padding: 24px 20px;
}

.formation-choose article {
  padding: 0 18px;
}

.formation-choose h3 {
  font-size: 15px;
}

.formation-choose p {
  font-size: 13px;
}

.accounting-section h2 {
  margin-bottom: 22px;
  font-size: 28px;
}

.formation-process h2 {
  margin-bottom: 22px;
  font-size: 28px;
}

.formation-process .process-line {
  top: 68px;
}

.formation-process .process-step h3 {
  font-size: 19px;
}

.formation-process .process-step p {
  font-size: 16px;
}

.formation-process .process-icon {
  margin-top: 14px;
}

.formation-cta {
  width: 100%;
  margin-top: 9px;
  margin-bottom: 0;
}

.formation-cta .btn-large {
  font-size: 16px;
}

/* Vertical rhythm between this page's major sections -- one shared gap
   instead of a separate margin tuned per section. The hero previously
   had no bottom margin at all, so it sat flush against formation-intro;
   this is what actually caused the "hero touches the next section" gap. */
.formation-hero,
.formation-intro,
.formation-services,
.accounting-section,
.formation-process,
.stats-band,
.testimonials {
  margin-bottom: var(--formation-gap);
}

/* Client testimonials (copied from index.html's homepage review section) */
.testimonials {
  width: min(100% - 96px, 1080px);
  margin-left: auto;
  margin-right: auto;
}

.video-embed {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(28px, 4vw, 40px);
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 24px rgba(0,0,0,.27);
}

.video-embed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: testimonial-scroll 48s linear infinite;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-card {
  flex: 0 0 340px;
  width: 340px;
  min-height: 190px;
  padding: 20px 24px;
}

.marquee-card .avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.marquee-card p {
  font-size: 14px;
  line-height: 1.55;
}

.marquee-card .stars {
  font-size: 20px;
}

.marquee-card .person strong {
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}

@media (max-width: 980px) {
  .formation-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }
  .formation-hero::before {
    inset: -8px -28px -12px;
  }
  .formation-visual {
    min-height: 0;
    justify-content: center;
    margin-top: 12px;
  }
  .formation-visual img {
    width: min(100%, 480px);
  }
  .formation-intro {
    grid-template-columns: 70px 1fr;
  }
  .formation-intro .check-list {
    grid-column: 2;
  }
  .formation-services {
    grid-template-columns: 1fr;
  }
  .formation-choose {
    grid-template-columns: repeat(2, 1fr);
  }
  .formation-choose article:nth-child(2),
  .formation-choose article:nth-child(4) {
    border-right: 0;
  }
  .formation-choose article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .formation-hero h1 {
    font-size: 43px;
  }
  .formation-visual img {
    width: 100%;
  }
  .formation-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 22px 20px;
  }
  .formation-intro .check-list {
    grid-column: auto;
    text-align: left;
  }
  .formation-card {
    padding: 22px 20px 18px;
  }
  .formation-card-head {
    grid-template-columns: 56px 1fr;
    gap: 13px;
  }
  .formation-card-head h2 {
    font-size: 24px;
  }
  .formation-line-art {
    display: none;
  }
  .formation-card-copy {
    margin-left: 0;
  }
  .formation-list-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .formation-choose {
    grid-template-columns: 1fr;
  }
  .formation-choose article {
    grid-column: auto !important;
    border-right: 0 !important;
  }
  .formation-cta {
    padding-top: 86px;
  }
  .marquee-card {
    flex-basis: 285px;
    width: 285px;
    padding: 18px 20px;
  }
}