/* Reading layout for the funding articles. */
.funding-article {
  --reading-ink: #26384a;
  --reading-rule: #d9d0c2;
  --reading-width: 44rem;
}

.funding-article .guide-body,
.funding-article .sf-section {
  overflow-wrap: break-word;
}

.funding-article .guide-body p,
.funding-article .guide-body li,
.funding-article .sf-section p,
.funding-article .sf-section li {
  color: var(--reading-ink);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.funding-article .guide-body p,
.funding-article .sf-section-intro > p {
  margin-bottom: 1rem;
}

.funding-article .guide-body h2,
.funding-article.new-investor-guide .chapter-heading h2,
.funding-article.new-investor-guide #cash-needed .chapter-heading h2,
.funding-article.new-investor-guide #choose-strategy .chapter-heading h2,
.funding-article.new-investor-guide #gap-funding .chapter-heading h2,
.funding-article.new-investor-guide #experienced-team .chapter-heading h2 {
  max-width: none;
  margin: 0 0 .9rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.16;
  text-wrap: balance;
}

.funding-article .guide-body h3 {
  margin: 1.5rem 0 .5rem;
  line-height: 1.3;
}

.funding-article .guide-body > section + section:not([class]) {
  border-top: 1px solid var(--reading-rule);
  padding-top: clamp(1.6rem, 4vw, 2.6rem);
}

.funding-article.new-investor-guide .guide-body > .guide-chapter {
  display: block;
  max-width: var(--reading-width);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.funding-article.new-investor-guide #choose-strategy .chapter-heading,
.funding-article.new-investor-guide #cash-needed .chapter-copy {
  display: block;
}

.funding-article.new-investor-guide #choose-strategy .chapter-heading,
.funding-article.new-investor-guide #cash-needed .chapter-heading {
  margin-bottom: .9rem;
}

.funding-article.new-investor-guide .chapter-copy p,
.funding-article.new-investor-guide #choose-strategy .chapter-copy > p,
.funding-article.new-investor-guide #experienced-team .chapter-copy li {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.funding-article.new-investor-guide .chapter-copy .guide-action,
.funding-article.new-investor-guide .guide-example,
.funding-article .contents {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: #f8f4eb;
  border: 1px solid var(--reading-rule);
  border-left: 3px solid #a68145;
  border-radius: .45rem;
}

.funding-article.new-investor-guide .guide-example > p,
.funding-article.new-investor-guide .chapter-copy .guide-action p {
  font-size: 1rem;
}

.funding-article .guide-body .guide-field-note p,
.funding-article .sf-section-contrast p {
  color: #eef1f3;
}

.funding-article .guide-body .table-wrap,
.funding-article .sf-section .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.funding-article .guide-body th,
.funding-article .guide-body td,
.funding-article .sf-section th,
.funding-article .sf-section td {
  padding: .75rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.funding-article .sf-seo .sf-section-intro,
.funding-article .sf-faq {
  max-width: var(--reading-width);
}

.funding-article :is(.guide-body, .sf-section) a:not([class]) {
  text-decoration-thickness: .08em;
  text-underline-offset: .17em;
}

.funding-article :is(a, summary, [tabindex]):focus-visible {
  outline: 2px solid #906b32;
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .funding-article.new-investor-guide .strategy-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .funding-article.new-investor-guide .cash-breakdown {
    grid-template-columns: minmax(0, 1fr);
  }
}

.funding-article.new-investor-guide .chapter-heading .chapter-kicker {
  margin: 0 0 .5rem;
  color: #775825;
  font-size: .75rem;
  line-height: 1.35;
}

.funding-article.new-investor-guide .chapter-copy .team-route {
  margin: 1.2rem 0;
  padding: 1rem 1.25rem;
  background: #fffdf8;
  border: 1px solid var(--reading-rule);
  border-radius: .45rem;
}

.funding-article.new-investor-guide .team-route h3 {
  margin-top: 0;
}

.funding-article .contents a {
  line-height: 1.45;
}

.funding-article .contents ol {
  font-size: .9375rem;
}

.funding-article .sf-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.funding-article .guide-body :is(.table-wrap, .sf-table-wrap) {
  background: #fffdf8;
  border: 1px solid var(--reading-rule);
  border-radius: .45rem;
}

.funding-article .guide-body th,
.funding-article .sf-section th {
  background: #eee8dc;
  color: #172b3d;
}

.funding-article .guide-body tr:nth-child(even) td,
.funding-article .sf-section tr:nth-child(even) td {
  background: #f8f4eb;
}

/* White paper, ink typography and a restrained blue-green accent. */
body.funding-article {
  --reading-ink: #26323b;
  --reading-rule: #dce3e5;
  --reading-accent: #215c63;
  color: var(--reading-ink);
  background: #fff;
}

.funding-article .guide-body a:not(.btn),
.funding-article .contents a:not(.btn),
.funding-article .guide-chapters a,
.funding-article .sf-section-intro a {
  color: var(--reading-accent);
}

.funding-article.new-investor-guide .new-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: 0;
  width: auto;
  margin: 0;
  padding: clamp(1.5rem, 5vw, 4rem) 0;
  background: #fff;
  border-bottom: 1px solid var(--reading-rule);
}

.funding-article .new-guide-hero::after {
  content: none;
}

.funding-article .new-guide-hero > img {
  position: static !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  z-index: auto;
}

.funding-article .new-guide-hero h1 {
  color: #182833 !important;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem) !important;
}

.funding-article .new-guide-hero .lede,
.funding-article .new-guide-hero .article-byline,
.funding-article .new-guide-hero .article-byline a {
  color: var(--reading-ink) !important;
}

.funding-article .new-guide-hero .btn {
  background: var(--reading-accent) !important;
  border-color: var(--reading-accent);
  color: #fff !important;
  box-shadow: none;
}

.funding-article .guide-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  border-color: var(--reading-rule);
}

.funding-article .guide-chapters a {
  display: inline-block;
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.funding-article .strategy-cards {
  display: block;
  border-top: 1px solid var(--reading-rule);
}

.funding-article .strategy-card {
  display: block;
  padding: 1rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--reading-rule);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.funding-article .strategy-card > div {
  padding: 0;
}

.funding-article .strategy-card h3 {
  margin-top: 0;
}

.funding-article .strategy-card h3 a {
  text-decoration: underline;
}

.funding-article.new-investor-guide .chapter-copy .team-route {
  padding: 1rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--reading-rule);
  border-radius: 0;
}

.funding-article.new-investor-guide .chapter-copy .guide-action,
.funding-article.new-investor-guide .guide-example,
.funding-article .contents {
  background: #f2f6f6;
  border-color: var(--reading-rule);
  border-left-color: var(--reading-accent);
  border-radius: 0;
}

.funding-article .guide-action strong,
.funding-article .cash-total > span {
  color: var(--reading-accent);
}

.funding-article .cash-total {
  padding: 0;
  background: transparent;
  color: #182833;
}

.funding-article.new-investor-guide .cash-total p {
  color: var(--reading-ink);
}

.funding-article .guide-body th,
.funding-article .sf-section th {
  background: #eaf1f1;
}

.funding-article .guide-body tr:nth-child(even) td,
.funding-article .sf-section tr:nth-child(even) td {
  background: #f5f8f8;
}

.funding-article.startup-clean .sf-card,
.funding-article.startup-clean .sf-proof-strip {
  background: #f2f6f6;
  color: var(--reading-ink);
  border-color: var(--reading-rule);
  border-radius: 0;
  box-shadow: none;
}

.funding-article.startup-clean .sf-card :is(h3, p) {
  color: var(--reading-ink);
}

.funding-article.startup-clean .sf-card-icon {
  display: none;
}

@media (max-width: 760px) {
  .funding-article.new-investor-guide .new-guide-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.funding-article.startup-clean .sf-shell {
  --sf-cream: #fff;
  background: #fff;
}

.funding-article.startup-clean .sf-shell .sf-hero,
.funding-article.startup-clean .sf-shell .sf-hero-copy {
  background: #fff;
  color: #182833;
}

.funding-article.startup-clean .sf-shell .sf-hero :is(h1, em, .sf-hero-lead, .fx-trust, .fx-trust a) {
  color: #182833 !important;
}

.funding-article.startup-clean .sf-shell .sf-hero .sf-eyebrow,
.funding-article.startup-clean .sf-shell .sf-hero .fx-680 b {
  color: var(--reading-accent) !important;
}

.funding-article.startup-clean .sf-shell .sf-hero .fx-680 > span {
  color: var(--reading-ink);
}

.funding-article.startup-clean .sf-shell .sf-hero .fq {
  border-radius: 0;
  box-shadow: none;
}

body.funding-article {
  --reading-accent: #16547a;
  --reading-ink: #24313c;
}

.funding-article .guide-body {
  max-width: 52rem;
}

.investor-editorial.new-investor-guide .guide-body > .guide-chapter {
  max-width: 58rem;
}

.investor-editorial.new-investor-guide .chapter-heading h2 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.035em;
  text-wrap: pretty;
}

.investor-editorial .chapter-lead {
  max-width: 65ch;
}

.investor-editorial .decision-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.investor-editorial .decision-list > div {
  border-top: 1px solid var(--reading-rule);
  padding-top: .85rem;
}

.investor-editorial .decision-list dt {
  font-weight: 700;
  color: #162a39;
}

.investor-editorial .decision-list dd {
  margin: .4rem 0 0;
  line-height: 1.55;
  color: var(--reading-ink);
}

.investor-editorial .guide-detail {
  margin: 1.35rem 0;
  border-block: 1px solid var(--reading-rule);
}

.investor-editorial .guide-detail summary {
  padding: 1rem 0;
  color: var(--reading-accent);
  font-weight: 650;
  cursor: pointer;
}

.investor-editorial .guide-detail > div {
  max-width: 70ch;
  padding-bottom: .6rem;
}

.investor-editorial.new-investor-guide .chapter-copy .guide-action {
  padding: .6rem 0 .6rem 1rem;
  background: transparent;
  border-width: 0 0 0 2px;
}

.investor-editorial.new-investor-guide .guide-example {
  background: #f3f6f8;
  border: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.investor-editorial .cash-breakdown {
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0;
}

.investor-editorial .cash-total strong {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 650;
}

/* Keep the article hero, navigation and feature sections on the same grid. */
.investor-editorial.new-investor-guide .new-guide-hero {
  width: min(76.75rem, calc(100% - 4.5rem));
  margin-inline: auto;
  padding: 1.25rem 0 1.75rem;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.investor-editorial .new-guide-hero > img {
  border-radius: 1.25rem !important;
  aspect-ratio: 3 / 2 !important;
}

.investor-editorial .new-guide-hero h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.65rem) !important;
  margin: 0 0 1rem !important;
}

.investor-editorial .new-guide-hero .lede {
  margin-bottom: .75rem;
}

.investor-editorial .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
}

.investor-editorial .hero-actions > a:not(.btn) {
  color: var(--reading-accent);
  text-underline-offset: .2em;
}

.investor-editorial .guide-chapters {
  padding-block: 1rem;
  margin-bottom: 1.5rem;
}

.investor-editorial.new-investor-guide .guide-body > .guide-chapter {
  box-sizing: border-box;
  width: 100%;
  max-width: 69rem;
  margin: 0 auto clamp(1rem, 2.8vw, 2rem);
  padding: clamp(1.25rem, 4vw, 3.25rem);
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px rgba(23, 48, 68, .08);
}

.investor-editorial.new-investor-guide .guide-body > :is(#cash-needed, #experienced-team) {
  background: #eff5fa;
}

.investor-editorial.new-investor-guide #cash-needed .guide-example {
  background: #fff;
  border-radius: .9rem;
}

.investor-editorial .chapter-copy > :is(p, ol, ul) {
  max-width: 70ch;
}

.investor-editorial.new-investor-guide .guide-body > .guide-mid-cta {
  box-sizing: border-box;
  max-width: 69rem;
  margin-inline: auto;
  background: #122b40;
  color: #fff;
  border-radius: 1.25rem;
}

.investor-editorial.new-investor-guide .guide-mid-cta :is(h2, h3, p) {
  color: #fff;
}

.investor-editorial .guide-mid-cta .btn {
  background: #fff;
  border-color: #fff;
  color: #122b40;
}

@media (max-width: 760px) {
  .investor-editorial.new-investor-guide .new-guide-hero {
    width: calc(100% - 44px);
    grid-template-columns: minmax(0, 1fr);
    padding-block: .75rem 1.25rem;
  }
}

/* Align the supporting sections with the article cards. */
.investor-editorial.new-investor-guide {
  --article-card-width: 69rem;
  --article-card-gap: clamp(1rem, 2.8vw, 2rem);
  --article-card-padding: clamp(1.25rem, 4vw, 3.25rem);
}

.investor-editorial.new-investor-guide .guide-body > :is(
  .guide-field-note, .guide-faq, .article-sources, .guide-cta, .guide-mid-cta
),
.investor-editorial.new-investor-guide .guide-container .new-guide-related {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--article-card-width);
  margin: 0 auto var(--article-card-gap);
  border: 1px solid #dfe7ed;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px rgba(23, 48, 68, .08);
}

.investor-editorial.new-investor-guide .guide-body > :is(.guide-faq, .article-sources, .guide-cta),
.investor-editorial.new-investor-guide .guide-container .new-guide-related {
  padding: var(--article-card-padding);
}

.investor-editorial.new-investor-guide .guide-body > :is(.guide-faq, .article-sources),
.investor-editorial.new-investor-guide .guide-container .new-guide-related {
  background: #fff;
}

.investor-editorial.new-investor-guide .guide-container .new-guide-related {
  width: min(var(--article-card-width), calc(100% - 4.5rem));
}

.investor-editorial.new-investor-guide .guide-body > .guide-field-note {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.investor-editorial.new-investor-guide .guide-body > .guide-cta {
  background: #122b40;
}

.investor-editorial.new-investor-guide .guide-body > .guide-cta :is(h2, p) {
  color: #fff;
}

@media (max-width: 760px) {
  .investor-editorial.new-investor-guide .guide-body > .guide-field-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .investor-editorial.new-investor-guide .guide-container .new-guide-related {
    width: calc(100% - 44px);
  }
}

/* Give dark panels their own text colors so article typography cannot override them. */
.investor-editorial.new-investor-guide .guide-body > :is(.guide-field-note, .guide-mid-cta, .guide-cta) {
  color: #fff;
}

.investor-editorial.new-investor-guide .guide-body > :is(.guide-field-note, .guide-mid-cta, .guide-cta) :is(h2, h3, p, li, .field-caption, .fine, .eyebrow) {
  color: #fff;
}

.investor-editorial.new-investor-guide .guide-body > :is(.guide-field-note, .guide-mid-cta, .guide-cta) a:not(.btn) {
  color: #f5d9a6 !important;
}

.investor-editorial.new-investor-guide .guide-body > :is(.guide-mid-cta, .guide-cta) .btn {
  background: #fff;
  border-color: #fff;
  color: #122b40;
}

.investor-editorial.new-investor-guide .guide-field-note .field-caption,
.investor-editorial.new-investor-guide .guide-cta .fine {
  font-size: .875rem;
  line-height: 1.55;
}

/* Keep content inset wherever the funding guides use a bordered panel. */
.funding-article .guide-body > :is(.guide-cta, .guide-faq, .article-sources) {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.investor-editorial.new-investor-guide .guide-body > .guide-chapter {
  padding: var(--article-card-padding);
}

.investor-editorial .strategy-cards > .strategy-card {
  margin: 0;
  padding-block: 1rem;
}

.investor-editorial .strategy-cards > .strategy-card p {
  margin-bottom: 0;
}

/* Shared funding guide dimensions and card surfaces. */
.funding-article {
  --guide-hero-width: 76.75rem;
  --guide-card-width: 69rem;
  --guide-card-padding: clamp(1.25rem, 4vw, 3.25rem);
  --guide-card-gap: clamp(1rem, 2.8vw, 2rem);
  --guide-card-shadow: 0 12px 32px rgba(23, 48, 68, .08);
}

.aligned-guide #main {
  width: min(var(--guide-hero-width), calc(100% - 4.5rem));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.aligned-guide .aligned-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding: 1.25rem 0 1.75rem;
  border-bottom: 1px solid var(--reading-rule);
}

.aligned-guide .aligned-hero :is(.guide-heading, .guide-hero) {
  margin: 0;
  padding: 0;
}

.aligned-guide .aligned-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  line-height: 1.06;
  text-wrap: balance;
}

.aligned-guide .guide-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1.25rem;
}

.aligned-guide .hero-actions,
.aligned-guide .contents ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.25rem;
}

.aligned-guide .hero-actions .btn {
  background: var(--reading-accent);
  border-color: var(--reading-accent);
  color: #fff;
}

.aligned-guide .hero-actions a:not(.btn) {
  color: var(--reading-accent);
}

.aligned-guide .guide-layout {
  display: block;
}

.aligned-guide .guide-layout .contents {
  position: static;
  margin: 0 auto 1.5rem;
  padding: 1rem 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--reading-rule);
}

.aligned-guide .contents h2 {
  margin: 0;
  font-size: 1.15rem;
}

.aligned-guide .contents ol {
  list-style: none;
  margin: .65rem 0 0;
  padding: 0;
}

.aligned-guide .contents li {
  margin: 0;
}

.aligned-guide .contents .btn {
  display: none;
}

.aligned-guide .guide-body {
  max-width: var(--guide-card-width);
  margin-inline: auto;
}

.aligned-guide .guide-body > section,
.funding-article.startup-clean .sf-shell > :is(.sf-section, .sf-final, .sf-proof-strip) {
  box-sizing: border-box;
  padding: var(--guide-card-padding);
  margin: 0 auto var(--guide-card-gap);
  border: 1px solid #dfe7ed;
  border-radius: 1.25rem;
  box-shadow: var(--guide-card-shadow);
}

.aligned-guide .guide-body > section:not(.guide-cta) {
  background: #fff;
}

.aligned-guide .guide-body > section:nth-of-type(even):not(.guide-cta) {
  background: #eff5fa;
}

.aligned-guide .guide-body section > :is(p, ul, ol) {
  max-width: 70ch;
}

.aligned-guide .guide-body .guide-cta {
  background: #122b40;
}

.aligned-guide .guide-body .guide-cta :is(h2, p, li) {
  color: #fff;
}

.aligned-guide .guide-body .guide-cta .btn {
  background: #fff;
  border-color: #fff;
  color: #122b40;
}

.funding-article.startup-clean .sf-shell > :is(.sf-section, .sf-final, .sf-proof-strip) {
  width: min(var(--guide-card-width), calc(100% - 4.5rem));
}

.funding-article.startup-clean .sf-shell > .sf-proof-strip {
  padding: 0;
  overflow: hidden;
}

.funding-article.startup-clean .sf-shell .sf-hero {
  width: min(var(--guide-hero-width), calc(100% - 4.5rem));
  margin: 0 auto 1.75rem;
}

.funding-article.startup-clean .sf-shell .sf-hero-photo {
  border-radius: 1.25rem;
}

@media (max-width: 760px) {
  .aligned-guide #main,
  .funding-article.startup-clean .sf-shell .sf-hero,
  .funding-article.startup-clean .sf-shell > :is(.sf-section, .sf-final, .sf-proof-strip) {
    width: calc(100% - 44px);
  }

  .aligned-guide .aligned-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
