/*
 * Token-driven public theme.
 *
 * Site-wide token stylesheet. Enqueued on every page and post.
 * Values come from :root custom properties written by
 * sc_design_rules_css_vars() — the same controls as SimplyConvert → Design rules.
 *
 * Pattern or page CSS may still override a property locally.
 * Gutenberg Color / Typography on a block wins: token rules skip
 * .has-background, .has-text-color, and .has-custom-font-size.
 */

body,
.sc-blocks-page,
.sc-block,
.editor-styles-wrapper {
  font-family: var(--sc-font);
  color: var(--sc-midnight);
  font-size: var(--sc-body-size);
  font-weight: var(--sc-body-weight);
  line-height: var(--sc-body-lh);
  letter-spacing: var(--sc-body-tracking);
}

.sc-blocks-page,
.sc-hero,
.sc-intro,
.sc-split,
.sc-form-band,
.sc-quote,
.sc-logos,
.sc-section-nav,
.sc-cards,
.sc-split-form,
.sc-rc-hero,
.sc-rc-intro,
.sc-rc-features,
.sc-rc-pricing,
.sc-rc-midcta,
.sc-rc-video,
.sc-rc-close,
.sc-rc-press,
.sc-rc-verify,
.sc-rc-insights,
.sc-rc-quotes,
.sc-rc-circle-banner,
.sc-rc-circle,
.sc-block {
  --wp--style--global--content-size: var(--sc-container-max);
  --wp--style--global--wide-size: var(--sc-container-max);
}

.sc-block {
  padding-top: var(--sc-section-pad);
  padding-bottom: var(--sc-section-pad);
  padding-left: var(--sc-space-6);
  padding-right: var(--sc-space-6);
}

.sc-block:not(.alignfull) {
  max-width: var(--sc-container-max);
}

.sc-block.alignfull,
.sc-block.sc-quote,
.sc-quote,
.sc-block.sc-logos,
.sc-logos,
.sc-hero,
.sc-form-band,
.sc-section-nav,
.sc-rc-hero,
.sc-rc-features,
.sc-rc-video,
.sc-rc-verify,
.sc-rc-quotes,
.sc-rc-circle-banner,
.sc-rc-circle,
.sc-rc-close {
  max-width: none;
  width: 100%;
}

.sc-blocks-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--sc-container-max);
}

.sc-block__title,
.sc-hero__title,
.sc-cta__title,
.sc-card__title,
.sc-split__title,
.sc-intro__title,
.sc-rc-hero__title,
.sc-rc-intro__title,
.sc-rc-intro__headline,
.sc-rc-features__title,
.sc-rc-close__title,
.sc-accordion-item > summary {
  font-family: var(--sc-font);
}

.sc-block__title:not(.has-text-color),
.sc-hero__title:not(.has-text-color),
.sc-cta__title:not(.has-text-color),
.sc-card__title:not(.has-text-color),
.sc-split__title:not(.has-text-color),
.sc-intro__title:not(.has-text-color),
.sc-rc-hero__title:not(.has-text-color),
.sc-rc-intro__title:not(.has-text-color),
.sc-rc-intro__headline:not(.has-text-color),
.sc-rc-features__title:not(.has-text-color),
.sc-rc-close__title:not(.has-text-color),
.sc-accordion-item > summary:not(.has-text-color) {
  color: var(--sc-midnight);
}

.sc-hero__title:not(.has-custom-font-size),
.sc-blocks-page h1:not(.has-custom-font-size),
.sc-rc-hero__title:not(.has-custom-font-size),
.sc-blocks-page .sc-rc-hero__title:not(.has-custom-font-size) {
  font-size: clamp(var(--sc-h1-min), 4.4vw, var(--sc-h1-size));
  font-weight: var(--sc-h1-weight);
  letter-spacing: var(--sc-h1-tracking);
  line-height: var(--sc-h1-lh);
}

.sc-split__title:not(.has-custom-font-size),
.sc-intro__title:not(.has-custom-font-size),
.sc-rc-intro__headline:not(.has-custom-font-size),
.sc-rc-features__title:not(.has-custom-font-size),
.sc-rc-verify__title:not(.has-custom-font-size),
.sc-rc-insights__title:not(.has-custom-font-size),
.sc-rc-close__title:not(.has-custom-font-size),
.sc-blocks-page .sc-rc-close__title:not(.has-custom-font-size),
.sc-blocks-page h2:not(.has-custom-font-size) {
  font-size: clamp(var(--sc-h3-min), 4.4vw, var(--sc-h2-size));
  font-weight: var(--sc-h2-weight);
  letter-spacing: var(--sc-h2-tracking);
  line-height: var(--sc-h2-lh);
}

.sc-block__title:not(.has-custom-font-size),
.sc-card__title:not(.has-custom-font-size),
.sc-rc-feature__title:not(.has-custom-font-size),
.sc-rc-price__title:not(.has-custom-font-size),
.sc-blocks-page h3:not(.has-custom-font-size) {
  font-size: clamp(var(--sc-h3-min), 3vw, var(--sc-h3-size));
  font-weight: var(--sc-h3-weight);
  letter-spacing: var(--sc-h3-tracking);
  line-height: var(--sc-h3-lh);
}

.sc-hero__eyebrow,
.sc-split__label {
  font-size: var(--sc-eyebrow-size);
  font-weight: var(--sc-eyebrow-weight);
  letter-spacing: var(--sc-eyebrow-tracking);
  line-height: var(--sc-eyebrow-lh);
  margin-bottom: var(--sc-rhythm-eyebrow-h2);
}

.sc-block__lede,
.sc-hero__lede,
.sc-hero__lede p,
.sc-intro__body,
.sc-split__body,
.sc-split__body p,
.sc-split__body li,
.sc-card__text,
.sc-cta__body {
  font-size: var(--sc-body-size);
  font-weight: var(--sc-body-weight);
  line-height: var(--sc-body-lh);
  letter-spacing: var(--sc-body-tracking);
  color: var(--sc-midnight);
  max-width: var(--sc-body-measure);
}

.sc-hero,
.sc-form-band,
.sc-rc-hero {
  background: linear-gradient(to bottom right, var(--sc-midnight), var(--sc-bayshore));
}

.sc-rc-close {
  background: linear-gradient(to bottom, #008ea5, #141856);
  margin-bottom: 0;
}

.sc-hero__title:not(.has-text-color),
.sc-hero__lede:not(.has-text-color),
.sc-hero__lede p:not(.has-text-color),
.sc-hero__eyebrow:not(.has-text-color),
.sc-hero .sc-hero__title:not(.has-text-color),
.sc-rc-hero__title:not(.has-text-color),
.sc-rc-close__title:not(.has-text-color),
.sc-blocks-page .sc-rc-hero__title:not(.has-text-color),
.sc-blocks-page .sc-rc-close__title:not(.has-text-color) {
  color: var(--sc-white);
}

.sc-hero__accent {
  color: var(--sc-lake-days);
}

.sc-hero__inner,
.sc-split,
.sc-section-nav__inner {
  max-width: var(--sc-container-max);
}

.sc-hero__inner,
.sc-split {
  gap: var(--sc-gap-split);
}

.sc-intro {
  padding-top: var(--sc-section-pad);
  padding-bottom: var(--sc-space-7);
}

.sc-intro__check {
  color: var(--sc-harvest-orange);
}

.sc-split__label:not(.has-text-color),
.sc-split__title:not(.has-text-color),
.sc-split__body:not(.has-text-color),
.sc-split__body p:not(.has-text-color),
.sc-split__body li:not(.has-text-color),
.sc-split__body h3:not(.has-text-color),
.sc-split__body h4:not(.has-text-color),
.sc-intro__title:not(.has-text-color),
.sc-intro__body:not(.has-text-color) {
  color: var(--sc-midnight);
}

.sc-split__label-accent {
  color: var(--sc-harvest-orange);
}

.sc-split__body li::before,
.sc-rc-record__title::before {
  background-color: var(--sc-harvest-orange);
}

.sc-section-nav {
  top: var(--sc-header-height);
}

.sc-section-nav__inner {
  padding-left: var(--sc-space-6);
  padding-right: var(--sc-space-6);
  border-bottom-color: var(--sc-midnight-12);
}

.sc-section-nav a,
.sc-section-nav a:link,
.sc-section-nav a:visited,
.sc-section-nav a:hover,
.sc-section-nav .wp-block-paragraph a,
.sc-section-nav p a {
  color: var(--sc-midnight) !important;
  font-family: var(--sc-font);
  font-size: var(--sc-body-size);
}

.sc-section-nav a.is-active,
.sc-section-nav a.is-active:visited,
.sc-section-nav a.is-active:hover {
  color: var(--sc-wave-blue) !important;
  border-bottom-color: var(--sc-wave-blue);
}

.sc-split {
  scroll-margin-top: calc(var(--sc-header-height) + 66px);
}

.sc-accordion-item > summary {
  font-family: var(--sc-font);
  font-size: var(--sc-h3-size);
  font-weight: var(--sc-h3-weight);
  color: var(--sc-midnight);
}

.sc-form-band {
  background: var(--sc-midnight);
  color: var(--sc-white);
}

.sc-quote {
  background: var(--sc-frost);
}

.sc-blocks-page .sc-quote .sc-quote__card,
.sc-quote .sc-quote__card.wp-block-group,
.sc-quote .sc-quote__card.has-global-padding {
  box-sizing: border-box;
  width: min(var(--sc-quote-card-max, 860px), 100%);
  max-width: var(--sc-quote-card-max, 860px);
  margin-left: auto;
  margin-right: auto;
}

.sc-quote__text,
.sc-rc-quote__text {
  color: var(--sc-midnight);
  line-height: var(--sc-quote-lh);
}

.sc-logos.is-layout-constrained > figure.sc-logos__graphic,
.sc-logos.is-layout-constrained > .sc-logos__graphic,
.sc-logos .sc-logos__graphic img {
  width: min(100%, var(--sc-logos-graphic-max, 1400px));
  max-width: min(100%, var(--sc-logos-graphic-max, 1400px));
  height: auto;
}

.sc-logos__row {
  gap: var(--sc-logo-gap);
}

.sc-logos__row img {
  max-height: var(--sc-logo-max-h);
}

.sc-blocks-page .sc-btn,
.sc-block .sc-btn,
.wp-block-button.is-style-sc-cta .wp-block-button__link,
.wp-block-button.is-style-sc-cta .wp-element-button,
.sc-blocks-page .wp-block-button.is-style-sc-cta .wp-block-button__link {
  border-radius: var(--sc-btn-radius);
  font-family: var(--sc-font);
  font-weight: var(--sc-btn-weight);
  letter-spacing: var(--sc-btn-tracking);
  padding: var(--sc-btn-lg-pad);
  min-height: var(--sc-min-hit);
  text-transform: none;
}

.sc-blocks-page .sc-btn:not(.has-background),
.sc-block .sc-btn:not(.has-background),
.wp-block-button.is-style-sc-cta:not(.has-background) .wp-block-button__link:not(.has-background) {
  background: var(--sc-harvest-orange);
}

.sc-blocks-page .sc-btn:not(.has-text-color),
.sc-block .sc-btn:not(.has-text-color),
.wp-block-button.is-style-sc-cta:not(.has-text-color) .wp-block-button__link:not(.has-text-color) {
  color: var(--sc-white);
}

.sc-blocks-page .sc-btn:not(.has-custom-font-size),
.wp-block-button.is-style-sc-cta:not(.has-custom-font-size) .wp-block-button__link:not(.has-custom-font-size) {
  font-size: var(--sc-btn-size);
}

.sc-blocks-page .sc-btn:not(.has-background):hover,
.wp-block-button.is-style-sc-cta:not(.has-background) .wp-block-button__link:not(.has-background):hover {
  background: var(--sc-harvest-orange-dark);
  opacity: 1;
}

.wp-block-button.is-style-sc-cta:not(.has-text-color) .wp-block-button__link:not(.has-text-color):hover,
.wp-block-button.is-style-sc-cta:not(.has-text-color) .wp-block-button__link:not(.has-text-color):visited,
.wp-block-button.is-style-sc-cta:not(.has-text-color) .wp-block-button__link:not(.has-text-color):focus {
  color: var(--sc-white);
}

.wp-block-button.is-style-sc-cta-outline:not(.has-background) .wp-block-button__link:not(.has-background),
.wp-block-button.is-style-sc-cta.is-style-sc-cta-outline:not(.has-background) .wp-block-button__link:not(.has-background) {
  background: transparent;
  border: var(--sc-border-width) solid var(--sc-bayshore);
}

.wp-block-button.is-style-sc-cta-outline:not(.has-text-color) .wp-block-button__link:not(.has-text-color),
.wp-block-button.is-style-sc-cta.is-style-sc-cta-outline:not(.has-text-color) .wp-block-button__link:not(.has-text-color) {
  color: var(--sc-bayshore);
}

.sc-rc-features,
.sc-rc-video,
.sc-rc-quotes,
.sc-rc-verify {
  background: var(--sc-frost);
}

.sc-blocks-page .wp-block-group.sc-rc-feature,
.sc-blocks-page .wp-block-group.sc-rc-price,
.sc-rc-feature,
.sc-rc-price {
  padding: var(--sc-card-pad) !important;
  border-radius: var(--sc-radius-container);
  background: var(--sc-white);
  box-shadow: var(--sc-shadow-card);
}

.sc-rc-feature__title,
.sc-rc-report__title,
.sc-rc-press__kicker,
.sc-rc-circle__title,
.sc-rc-quote__role {
  color: var(--sc-wave-blue);
}

.sc-rc-checks li::before {
  background-color: var(--sc-wave-blue);
}

.sc-rc-tabs__tab {
  border-radius: var(--sc-radius-chip);
  border-color: var(--sc-midnight-12);
  color: var(--sc-wave-blue);
  font-family: var(--sc-font);
}

.sc-rc-tabs__tab.is-active,
.sc-rc-tabs__tab[aria-selected="true"] {
  background: var(--sc-wave-blue);
  border-color: var(--sc-wave-blue);
  color: var(--sc-white);
}

.sc-header {
  font-family: var(--sc-font);
}

.sc-header__bar {
  min-height: var(--sc-header-height);
  max-width: var(--sc-container-max);
}

.sc-header__link,
.sc-header__menu a,
.sc-header__mobile a {
  font-family: var(--sc-font);
  color: var(--sc-midnight);
}

.sc-header__logo img {
  width: auto;
  max-width: var(--sc-wordmark-header);
  height: auto;
}

.sc-header .sc-btn--solid,
.sc-header__mobile .sc-btn--solid {
  background: var(--sc-harvest-orange);
  border-radius: var(--sc-btn-radius);
  font-family: var(--sc-font);
  font-size: var(--sc-btn-sm-size);
  font-weight: var(--sc-btn-weight);
  letter-spacing: var(--sc-btn-tracking);
  padding: var(--sc-btn-sm-pad);
  min-height: var(--sc-min-hit);
  text-transform: none;
  box-shadow: none;
}

.sc-header .sc-btn--solid:hover,
.sc-header__mobile .sc-btn--solid:hover {
  background: var(--sc-harvest-orange-dark);
  opacity: 1;
}

.sc-footer {
  font-family: var(--sc-font);
  font-size: var(--sc-body-size);
  line-height: var(--sc-body-lh);
}

.sc-footer__main {
  background: var(--sc-midnight);
}

.sc-footer__legal {
  background: var(--sc-midnight-80);
}

.sc-footer__inner {
  max-width: var(--sc-container-max);
}

.sc-dr-preview-bar {
  box-sizing: border-box;
  padding: 0.65rem 1.25rem;
  background: var(--sc-frost, #f1f6f8);
  border-bottom: 1px solid var(--sc-midnight-12, rgba(0, 43, 69, 0.12));
  color: var(--sc-midnight, #002b45);
  font-family: var(--sc-font);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.sc-dr-preview-bar a {
  color: var(--sc-wave-blue, #1071b7);
  font-weight: 700;
}
