/* Theme base styles */





/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

/* Site-wide CSS custom properties.
   Prefix everything with --ef- (Electric Fun) to stay collision-proof in the shared portal. */





:root {
  /* Horizontal gutter: the left/right edge line every full-width element aligns to. */
  --ef-gutter: 5%;

  /* Wrap container widths (.wrap utility — see objects/_wrap.css).
     All four values 1:1 with the live Next.js :root. 72em enforced over the
     theme content-width setting (1440px) — Jon, 2026-08-26; the theme.spacing
     token still governs .content-wrapper / dnd row caps only. */
  --ef-wrap-max-width: 72em;
  --ef-wrap-medium-wide: 60em;
  --ef-wrap-medium: 48em;
  --ef-wrap-small: 32em;

  /* Text measures + sizes from the live :root (2026-07-27) */
  --ef-text-width: 32rem;
  --ef-text-large: 1.25em;
  --ef-text-small: 0.875em;

  /* Error (live :root --error; used by form validation) */
  --ef-error: #F05573;

  /* Border radii — 1:1 from the live :root (see DESIGN-TOKENS.md) */
  --ef-border-radius: 1.4em;
  --ef-border-radius-sm: 1.2em;
  --ef-border-radius-xsm: 0.8em;
  --ef-border-radius-lg: 3em;

  /* Divider + active-state colors (live :root --divider / --active) */
  --ef-divider: #18191B14;
  --ef-active: #0fb;

  /* Link-accent + body-type colors (live --callout-link / --type). Live --type
     is dark-point-60; bumped to the ADA floor 70 per Jon's contrast rule. */
  --ef-callout-link: #2863F6;
  --ef-type: var(--ef-dark-point-70);

  /* Grid gaps — 1:1 from the live :root (HighlightGrid et al.) */
  --ef-grid-gap: 2.4em;
  --ef-grid-gap-sm: 1em;
  --ef-grid-gap-lg: 4em;
  --ef-grid-gap-mobile: 1.8em;

  /* ---- Color tokens (source of truth: fields.json global_colors, mirrored here for plain-CSS use) ---- */
  --ef-dark-point: #18191B;
  --ef-light-point: #FFFFFF;
  --ef-brand-yellow: #FFDD67;
  --ef-brand-purple: #C755F0;
  --ef-gradient-blue-light: #7797FF;
  --ef-gradient-blue-dark: #05288F;
  /* HUAI Blue — the Heads Up: AI Intake orb/glow (Figma "Color Blobs" #355DFF) */
  --ef-huai-blue: #355DFF;
  --ef-black: #000000;

  /* RGB triplets for rgba() composition (BlurredOrb gradients). Names mirror the
     Next.js source vars: --brand-rgb (yellow) and --callout-rgb (purple). */
  --ef-brand-rgb: 255, 221, 103;
  --ef-callout-rgb: 199, 85, 240;
  --ef-huai-rgb: 53, 93, 255;

  /* Opacity variants (named alpha steps from the Figma design system) */
  --ef-dark-point-05: rgba(24, 25, 27, 0.05);
  --ef-dark-point-10: rgba(24, 25, 27, 0.10);
  --ef-dark-point-20: rgba(24, 25, 27, 0.20);
  --ef-dark-point-30: rgba(24, 25, 27, 0.30);
  --ef-dark-point-50: rgba(24, 25, 27, 0.50);
  --ef-dark-point-70: rgba(24, 25, 27, 0.70);
  --ef-light-point-05: rgba(255, 255, 255, 0.05);
  --ef-light-point-10: rgba(255, 255, 255, 0.10);
  --ef-light-point-25: rgba(255, 255, 255, 0.25);
  --ef-light-point-30: rgba(255, 255, 255, 0.30);
  --ef-light-point-50: rgba(255, 255, 255, 0.50);
  --ef-light-point-60: rgba(255, 255, 255, 0.60);
  --ef-light-point-70: rgba(255, 255, 255, 0.70);
  --ef-light-point-80: rgba(255, 255, 255, 0.80);
  --ef-light-point-85: rgba(255, 255, 255, 0.85);

  /* Gradients (Figma: Gradients/Button Gradient 1 & 2) */
  --ef-button-gradient-1: linear-gradient(165.41deg, var(--ef-brand-yellow) 16.05%, var(--ef-brand-purple) 149.82%);
  --ef-button-gradient-2: linear-gradient(137.83deg, var(--ef-gradient-blue-light) 22.41%, var(--ef-gradient-blue-dark) 90.06%);
  /* Gradients/Gradient 1 — the purple→yellow text gradient (used for gradient-text headings/callouts) */
  --ef-gradient-1: linear-gradient(179deg, var(--ef-brand-purple) 25%, var(--ef-brand-yellow) 128%);
  /* Callout Gradient (live CalloutText .dark: strong em) — 90deg purple→yellow */
  --ef-callout-gradient: linear-gradient(90deg, var(--ef-brand-purple), var(--ef-brand-yellow));

  /* Drop shadows (Figma: Drop Shadow Default / Drop Shadow - Large) */
  --ef-shadow-default: 0 0 16px 0 rgba(24, 25, 27, 0.05);
  --ef-shadow-lg: 0 0 70px 8px rgba(152, 156, 163, 0.16);

  /* Responsive base font size (html element): desktop value comes from the body font token. */
  --ef-font-base: 16px;

  /* ---- Type scale ----
     Tokens are AUTHORED in rem in fields.json (body_font stays px — it defines
     the rem root) and emitted verbatim: size ~ size_unit, no unit math ever.
     rem is relative to html's --ef-font-base, so these scale 16/15/14 responsively. */
  --ef-text-h1: 3.75rem;
  --ef-text-h2: 2.5rem;
  --ef-text-h3: 2rem;
  --ef-text-h4: 1.5rem;
  --ef-text-h5: 1.125rem;
  --ef-text-h6: 1.125rem;
  --ef-text-p-base: 1.125rem;
  --ef-text-p-1sm: 1rem;
  --ef-text-p-2sm: 0.875rem;
  --ef-text-title-base: 0.875rem;
  --ef-text-title-1sm: 0.8125rem;
  --ef-text-button: 1.125rem;
  /* Mobile heading ceilings (used in the mobile block below) */
  --ef-text-h2-mobile-max: 2rem;
  --ef-text-form-button: 1.125rem;
}

/* Tablet */
@media (max-width: 1080px) {
  :root {
    --ef-font-base: 16px;

    /* Headings step down at tablet & below (Jon, 2026-07-23, tuned by eye):
       h1 by √φ ≈ 1.272, h2–h6 two notches gentler at φ^⅛ ≈ 1.062 — full φ read too
       small. All floored at body size: without the floor, φ pushes h4–h6
       below body text; scaling only some levels inverts the ramp at the
       boundary (φ'd h3 < unscaled h4). With max(), the ramp stays monotonic
       and the small levels settle at body scale. φ stacks with the
       --ef-font-base drop (both proportional, by design). */
    --ef-text-h1: max(calc(3.75rem / 1.272), var(--ef-text-p-base));
    --ef-text-h2: max(calc(2.5rem / 1.062), var(--ef-text-p-base));
    --ef-text-h3: max(calc(2rem / 1.062), var(--ef-text-p-base));
    --ef-text-h4: max(calc(1.5rem / 1.062), var(--ef-text-p-base));
    --ef-text-h5: max(calc(1.125rem / 1.062), var(--ef-text-p-base));
    --ef-text-h6: max(calc(1.125rem / 1.062), var(--ef-text-p-base));
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --ef-font-base: 15px;

    /* h1 on mobile: the tablet formula (token ÷ √φ, floored at body size)
       capped at 2.6rem — stays responsive to the Figma token, never above
       the cap (Jon 2026-09-04, global). */
    --ef-text-h1: min(max(calc(3.75rem / 1.272), var(--ef-text-p-base)), 2.6rem);

    /* h2 on mobile (Jon 2026-09-04, global): the tablet step applied to the
       mobile ceiling, floored at body size, and never above that ceiling.
       Desktop/tablet unchanged. */
    --ef-text-h2: min(max(calc(var(--ef-text-h2-mobile-max) / 1.062), var(--ef-text-p-base)), var(--ef-text-h2-mobile-max));
  }
}
*, *:before, *:after {
  box-sizing: border-box;
}
/* Figures — zero the browser default (1em 40px margin) entirely (Jon 2026-08-29) */
figure,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Lists — zero the browser defaults entirely (Jon 2026-08-29); list styling
   is contextual (.content block, component rules) */
ul,
ol,
li {
  margin: 0;
  padding: 0;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0 !important;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* Full-bleed guard: 100vw breakout modules (e.g. Hero Slider) include the
   scrollbar width; clip stray horizontal overflow at the root. */
html {
  overflow-x: clip;
}

/* Same guard one level down, on our own element: the page-editor preview
   manages html/body scrolling itself and neutralizes the root clip, which
   turned overhanging elements (e.g. the HUAI orb at left: 80%) into editor
   horizontal scroll. clip (not hidden) pairs with overflow-y: visible, so
   vertical overhangs still show; .body-wrapper carries no transform, so
   fixed page orbs are unaffected. (Jon 2026-08-26) */
.body-wrapper {
  overflow-x: clip;
}

/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

/* Full-bleed opt-out: a module whose root carries .ef-full-bleed takes over from
   its dnd wrappers entirely — the containing section contributes no padding, no
   width cap, no column gutter. The module owns its own spacing and line
   (via .wrap / --ef-gutter). Wins over the theme-overrides spacing rules on
   specificity, so editor-dragged placements neutralize automatically. */

.dnd-section:has(.ef-full-bleed) {
  padding: 0;
}

.dnd-section:has(.ef-full-bleed) > .row-fluid {
  max-width: none;
}

.dnd-section:has(.ef-full-bleed) .dnd-column {
  padding: 0;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}
/* .wrap — global content container, ported from the Next.js Wrap component.
   THE standard inner container for module/section content (replaces content-wrapper).
   Base: centered, capped at --ef-wrap-max-width, 90% wide (the 5% side gutter),
   flex row with space-between. Because .wrap owns the gutter (90% width), the
   full-bleed parent it sits in should NOT also add horizontal gutter padding.
   Modifier class names mirror the original component. */

.wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--ef-wrap-max-width);
  position: relative;
  width: calc(100% - var(--ef-gutter) * 2);
}

/* Full width */
.wrap.wide {
  max-width: 100%;
}

/* Narrower caps */
.wrap.medium-wide-wrap {
  max-width: var(--ef-wrap-medium-wide);
}

.wrap.medium-wrap {
  max-width: var(--ef-wrap-medium);
}

.wrap.small-wrap {
  max-width: var(--ef-wrap-small);
}

/* Stacked/centered content instead of a space-between row */
.wrap.center {
  flex-direction: column;
  justify-content: center;
}

/* Edge-to-edge on mobile (original used a "bigPhone" breakpoint → mapped to our mobile token) */
@media (max-width: 768px) {
  .wrap.mobile-full {
    width: 100%;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* Section vertical rhythm — the default breathing room for every <section>.
   Full-bleed modules render their own <section> root, so this is the site-wide
   rhythm between stacked sections. em-based: compounds with the responsive
   base font (16/15/14), computed 96px / 75px / 56px. */






footer,
section {
  overflow: hidden;
  padding: 6em 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

@media (max-width: 1080px) {
  footer,
  section {
    padding: 5em 0;
  }
}

@media (max-width: 768px) {
  footer,
  section {
    padding: 4em 0;
  }
}

/* Live section density variants */
section.slim {
  padding: 4em 0;
}

section.slim-bottom {
  padding-bottom: 4em;
}
/* hr — themed divider. Light context (default): dark-point-10; dark contexts
   set --ef-hr-color to light-point-10 on their root (see content-cards,
   content-card) and every hr inside adapts automatically — including ones
   marketers place via the WYSIWYG toolbar. */

hr {
  border: none;
  border-top: 1px solid var(--ef-hr-color, var(--ef-dark-point-10));
  margin: 1rem 0;
  width: 100%;
}

/* Dark-context variant (live hr.dark) */
hr.dark {
  --ef-hr-color: var(--ef-light-point-05);
}
/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Live global: a, a > img, .animate { transition: all .2s ease-in-out }
   (Jon 2026-08-28) — covers link color/opacity hovers and the social-icon
   fade; .animate is the live opt-in class for anything else. */
a,
a > img,
.animate {
  transition: all 0.2s ease-in-out;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */


ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules: themed in elements/_hr.css */

/* (Boilerplate "image alt text" img font-size rule removed 2026-08-28: it
   broke every em-sized image — e.g. the footer social icons' height: 2em
   computed against 0.583rem instead of the inherited size.) */
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}


button:not([type=submit]):disabled,
.button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 1rem 1.4rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Utilities
Utility classes (live-site parity: on the source site these are Tailwind
classes, which styled-component rules OVERRIDE — so utilities load BEFORE
components here, and only the !-prefixed utilities carry !important) */

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}
/* gradient-text — ported 1:1 from the site utility (source confirmed by Jon,
   2026-07-27): 45° secondary-accent→brand at 200% size, centered, so the
   visible span is the gradient's middle half.
   .gradient-highlight scopes the same treatment to strong/em pairs inside
   rich text — marketers can't add classes in WYSIWYG, so bold+italic inside a
   .gradient-highlight container renders as gradient text. */
.gradient-text,
.gradient-highlight strong em,
.gradient-highlight em strong {
  background: linear-gradient(45deg, var(--ef-brand-purple), var(--ef-brand-yellow));
  background-size: 200%;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Emphasis style utilities (Jon 2026-09-04) — what strong+em renders as inside
   any container carrying the class: the current text color, the brand
   (purple→yellow) callout gradient, or the HUAI blue gradient. Modules expose
   them as an "Emphasis style" dropdown (callout-text, highlight-grid). */
.emphasis-current strong em,
.emphasis-current em strong {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.emphasis-brand strong em,
.emphasis-brand em strong {
  background: var(--ef-callout-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emphasis-blue strong em,
.emphasis-blue em strong {
  background: linear-gradient(45deg, var(--ef-gradient-blue-light), var(--ef-gradient-blue-dark));
  background-position: 50%;
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Text-size utilities — ported 1:1 from the live site's global classes */
.large {
  font-size: var(--ef-text-large);
}

.small {
  font-size: var(--ef-text-small);
}

/* Title component base — live: label, .title { font-size:.8em; font-weight:800 } */
.title {
  font-size: 0.8em;
  font-weight: 800;
}

.color-light-point {
  color: var(--ef-light-point);
}

/* Body-type color (live .color-type -> var(--type)) */
.color-type {
  color: var(--ef-type);
}

.color-dark-point {
  color: var(--ef-dark-point) !important;
}

/* Live: hN, .hN share sizing — the utilities give any element the heading
   treatment (used where richtext content sits inside a styled div) */

.h1 {
  font-weight: 300; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h1);
  line-height: 1.2;
}

.h2 {
  font-weight: normal; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h2);
  line-height: 1.2;
}

.h3 {
  font-weight: normal; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h3);
  line-height: 1.2;
}

.h4 {
  font-weight: 500; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h4);
  line-height: 1.2;
}

.h5 {
  font-weight: 500; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h5);
  line-height: 1.2;
}

.h6 {
  font-weight: 800; text-decoration: none; font-family: Nunito, sans-serif; font-style: italic;
  font-size: var(--ef-text-h6);
  line-height: 1.2;
}


.color-light-point-70 {
  color: var(--ef-light-point-70);
}

/* Live: h1.small — the compact hero h1 */
h1.small,
.h1.small {
  font-size: max(1.8em, min(2em, 4vw));
}
/* Layout/surface utilities — 1:1 from the live site's utility CSS.
   The escaped \! selectors are Tailwind-style literal "!" class names
   (class="!py-0"); the escaping survives HubSpot's minifier (verified on
   .\!mb-8 in app-callout). */

.bg-light-point {
  background-color: var(--ef-light-point) !important;
}

.no-border-radius-bottom {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.\!py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Not in the live CSS (only -bottom exists there); needed for the middle
   segments of a stacked content-frame run. Flagged to Jon 2026-08-26. */
.no-border-radius {
  border-radius: 0 !important;
}

/* Not found in the live CSS (Tailwind-style stack class); defined here as its
   literal meaning. Flagged to Jon 2026-08-26. */
.z-2 {
  z-index: 2;
}

.w-full {
  width: 100%;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.\!mb-0 {
  margin-bottom: 0 !important;
}

.justify-center {
  justify-content: center;
}

.block {
  display: block;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Live: @media (max-width: 840px) — mapped to the mobile token per Jon's
   two-breakpoints rule. */
.mobile-show {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }

  .mobile-show {
    display: block !important;
  }
}

.flex-col {
  flex-direction: column;
}

.\!items-baseline {
  align-items: baseline !important;
}

.\!pt-0 {
  padding-top: 0 !important;
}

.\!pb-0 {
  padding-bottom: 0 !important;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.\!mb-14 {
  margin-bottom: 3.5rem !important;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

/* Live wrapper for the app page mid-sections: white fading out downward,
   lifted above the orb plane */
.gradient-bg {
  z-index: 3;
  background: linear-gradient(#fff, #fff0);
  position: relative;
}
/* highlight-hover — live utility 1:1: pill underline that grows in on hover.
   .dark variant keeps the same accent (exists in the live CSS for dark
   contexts; identical color today). z-index -1 layers the pill behind the
   link text, so the anchor needs a positioned context — .highlight-hover
   itself is position: relative. */

.highlight-hover {
  position: relative;
}

.highlight-hover:after {
  content: "";
  z-index: -1;
  background-color: #0000;
  border-radius: 100em;
  width: 0;
  height: 6px;
  transition: all 0.2s ease-in-out;
  position: absolute;
  bottom: 4px;
  left: 0;
}

.highlight-hover:hover:after {
  background-color: var(--ef-callout-link);
  width: 100%;
}

.highlight-hover.dark:hover:after {
  background-color: var(--ef-callout-link);
}
/* Tag — 1:1 from the Next.js ui/Tag styled-component (2026-08-28).
   Markup contract:
     <span class="tag [small] [light [alt]] [available] [ghost]">
       [<img class="tag__icon" src="…" alt="…">]
       <span class="title">Text</span>
     </span> */

.tag {
  align-items: center;
  backdrop-filter: blur(1em);
  background-color: var(--ef-divider);
  border-radius: 100em;
  display: inline-flex;
  gap: 0.4em;
  padding: 0.2em 0.8em;
  position: relative;
  width: auto;
}

.tag,
.tag .title {
  color: var(--ef-dark-point);
}

.tag.light {
  background-color: var(--ef-dark-point-30);
}

.tag.light,
.tag.light .title {
  color: var(--ef-light-point);
}

.tag.light.alt {
  background-color: var(--ef-light-point-10);
}

.tag.available:before {
  aspect-ratio: 1/1;
  background-color: var(--ef-active);
  content: "";
  height: 0.5em;
  width: 0.5em;
  border-radius: 100em;
}

.tag.ghost {
  background-color: var(--ef-light-point-05);
  border: 1px solid var(--ef-divider);
}

.tag__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header — stripped to brand tokens + gutter only; real header styles come with the Figma rebuild. */

/* Themeable via CSS vars. Default (the rule): Light Point background, Dark Point text.
   The dark exception is flipped per page by the Header Theme utility module. */
.header {
  --ef-header-bg: #FFFFFF;
  --ef-header-text: #18191B;
  background-color: var(--ef-header-bg);
  color: var(--ef-header-text);
  
  padding: 2em 0;
}

/* Anything inside the header follows the header theme, overriding module-level
   color schemes (needs !important to beat scoped module CSS specificity).
   The menu toggle is bound the same way as the logo — hamburger and X both
   stroke currentColor, so they always match the logo complex text. */
.header .ah-logo-complex,
.header .header__navigation--toggle {
  color: var(--ef-header-text) !important;
}




/* Nav row: menu + CTA on one line (interim until the Figma header rebuild) */
.header__row-2 {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.header__navigation {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.header--toggle,
.header__close--toggle {
  display: none;
}

/* Desktop nav (source HeaderNav) — hidden below the nav break (the tablet
   media block flips .menu--desktop/.menu--mobile). Item color: full header
   text on light; the dark theme overrides --ef-header-nav to light-point-80
   (Page Settings), hover always lands on the full header text. */
.header .menu--mobile {
  display: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.header-nav a {
  color: var(--ef-header-nav, var(--ef-header-text));
  font-size: 0.875em;
  font-weight: 800;
  padding: 0.6em 0;
  transition: color 0.2s ease;
}

.header-nav a:not(.cta) {
  padding-right: 0.6em;
}

.header-nav a:hover {
  color: var(--ef-header-text);
}

/* Mobile panel entrance — panel is a pure FADE (Jon 2026-08-28, superseding
   the source's y -100% slide+fade); items keep the source linkVariants
   (fade down from -20px, 0.3s, staggered). */
@keyframes ef-mobile-nav-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ef-mobile-nav-item-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet & below: hamburger + slide-down panel; nav AND the CTA live behind it.
   The toggle JS (js/main.js) flips .open/.hide/.show — this is the interim
   mobile menu until the Figma header rebuild (Mobile Nav Toggle component). */
@media (max-width: 1080px) {
  .header__navigation {
    display: none;
  }

  
  .header .header__container.wrap {
    position: static;
  }

  .header__navigation.open {
    align-items: flex-start;
    background: var(--ef-header-bg);
    border-top: 1px solid var(--ef-hr-color, var(--ef-dark-point-10));
    box-shadow: 0 3em 7em -4em var(--ef-dark-point);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    left: 0;
    
    padding: 8em var(--ef-gutter, 5%) 4em;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
  }

  /* Inside the panel, use the menu's mobile variant (the module switches at the
     mobile token; we extend the same switch up to the tablet token) */
  .header__navigation .menu--desktop { display: none; }
  .header__navigation .menu--mobile { display: block; width: 100%; }

  
  .header__navigation.open {
    animation: ef-mobile-nav-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  }

  .header__navigation.open .menu--mobile .menu__item--depth-1,
  .header__navigation.open .header__cta {
    animation: ef-mobile-nav-item-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: 0.88s; 
  }

  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(1) { animation-delay: 0.4s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(2) { animation-delay: 0.46s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(3) { animation-delay: 0.52s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(4) { animation-delay: 0.58s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(5) { animation-delay: 0.64s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(6) { animation-delay: 0.7s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(7) { animation-delay: 0.76s; }
  .header__navigation.open .menu--mobile .menu__item--depth-1:nth-child(8) { animation-delay: 0.82s; }

  @media (prefers-reduced-motion: reduce) {
    .header__navigation.open,
    .header__navigation.open .menu--mobile .menu__item--depth-1,
    .header__navigation.open .header__cta,
    .header__navigation--toggle line {
      animation: none;
      transition: none;
    }
  }

  
  .header__navigation .menu--mobile .menu__item--depth-1 {
    border-bottom: 1px solid color-mix(in srgb, var(--ef-header-text) 5%, transparent);
    display: flex;
    font-size: 1.2em;
    padding: 0;
    user-select: none;
  }

  .header__navigation .menu--mobile .menu__item--depth-1 > .menu__link {
    align-items: center;
    color: color-mix(in srgb, var(--ef-header-text) 70%, transparent);
    display: flex;
    font-size: 0.875em;
    font-weight: 800;
    justify-content: space-between;
    padding: 0.6em 0;
    transition: color 0.2s ease;
    width: 100%;
  }

  .header__navigation .menu--mobile .menu__item--depth-1 > .menu__link:hover,
  .header__navigation .menu--mobile .menu__item--depth-1 > .menu__link:focus {
    color: var(--ef-header-text);
  }

  
  .header__navigation .menu--mobile .menu__item--depth-1 > .menu__link::after {
    background: currentColor;
    content: "";
    flex-shrink: 0;
    height: 1em;
    -webkit-mask: url('https://23611777.fs1.hubspotusercontent-na2.net/hubfs/23611777/raw_assets/public/anonymous-health-electricfun/images/icons/chevron-right.svg') center / contain no-repeat;
    mask: url('https://23611777.fs1.hubspotusercontent-na2.net/hubfs/23611777/raw_assets/public/anonymous-health-electricfun/images/icons/chevron-right.svg') center / contain no-repeat;
    width: 1em;
  }

  
  .header__navigation.open .header__cta {
    margin-top: 1em;
    width: 100%;
  }

  .header__navigation.open .header__cta .ef-button {
    width: 100%;
  }

  
  .header__navigation--toggle {
    color: var(--ef-header-text);
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 9;
  }

  .header__navigation--toggle svg {
    display: block;
    height: 2rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.4;
    width: 2rem;
  }

  
  .header__navigation--toggle line {
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .header__navigation--toggle line:nth-child(1) {
    transform-origin: 12px 6px;
  }

  .header__navigation--toggle line:nth-child(3) {
    transform-origin: 12px 18px;
  }

  .header__navigation--toggle.open line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .header__navigation--toggle.open line:nth-child(2) {
    opacity: 0;
  }

  .header__navigation--toggle.open line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header__navigation--toggle.hide {
    display: none;
  }

  .header__close--toggle.show {
    color: var(--ef-header-text);
    cursor: pointer;
    display: block;
    font-size: 1.25rem;
    line-height: 1;
  }

  .header__close--toggle.show::before {
    content: "✕";
  }
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation skipper (functional a11y: visually hidden until keyboard focus) */
.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
}
/* BlurredOrb — ported 1:1 from the Next.js BlurredOrb styled-component.
   Page-level ambient orbs: fixed, orbiting the viewport center; any content
   section with a transparent background floats above them.
   NOTE: the page-level orbs (EF-Page-Settings "Background orbs" toggle) render
   as body::before/::after with these same property values — pseudos attach at
   the document root, immune to the page editor's transformed wrappers. The
   .blurred-orb classes below are kept for future scoped/manually-placed orbs
   (e.g. section-pinned variants); keep both in sync.
   Deviation from source: z-index -1 (source relied on the app shell's stacking;
   here it guarantees orbs paint behind all in-flow content without requiring
   content wrappers to carry z-index). */

@keyframes orb-orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(50vw) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(50vw) rotate(-360deg);
  }
}

.blurred-orb {
  --orb-size: 85vh;
  --orb-duration: 120s;

  animation: orb-orbit var(--orb-duration) linear infinite;
  /* Eased-stop glow — replaces filter: blur(12em) (Jon 2026-08-26): the
     softness is baked into the falloff and the fade ends exactly at the
     element edge (closest-side), so no filter rasterization and no box
     clipping. */
  background: radial-gradient(
    circle closest-side,
    rgba(var(--orb-color), 0.7) 0%,
    rgba(var(--orb-color), 0.35) 45%,
    rgba(var(--orb-color), 0.119) 70%,
    rgba(var(--orb-color), 0) 100%
  );
  border-radius: 50%;
  height: var(--orb-size);
  left: 50%;
  opacity: 0.4;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--orb-size);
  will-change: transform;
  z-index: 0;
}

.blurred-orb.brand {
  --orb-color: var(--ef-brand-rgb);
}

.blurred-orb.purple {
  --orb-color: var(--ef-callout-rgb);
  animation-delay: calc(var(--orb-duration) / -2);
}

/* tertiary (pale blue #EAECF8) — used by App Callout Simple */
.blurred-orb.tertiary {
  --orb-color: 234, 236, 248;
  animation-delay: calc(var(--orb-duration) / -3);
}

/* layer2 duplicate — offset copy for depth */
.blurred-orb.layer-2 {
  animation-delay: -10s;
  opacity: 0.45;
}

/* Static mode (rotation toggle off, the default): no animation, orbs parked at
   the orbit's t=0 positions — brand right of center, purple opposite (half cycle). */
.blurred-orb.static {
  animation: none;
  transform: translate(-50%, -50%) translateX(50vw);
}

.blurred-orb.static.purple {
  transform: translate(-50%, -50%) translateX(-50vw);
}

/* Reduced motion: park rotating orbs the same way */
@media (prefers-reduced-motion: reduce) {
  .blurred-orb {
    animation: none;
    transform: translate(-50%, -50%) translateX(50vw);
  }

  .blurred-orb.purple {
    transform: translate(-50%, -50%) translateX(-50vw);
  }
}

/* Layering contract (updated 2026-07-27 to the live-site model): the global
   section rule (elements/_sections.css) positions EVERY section at z:1 above
   the z:0 page orbs — orbs show through transparent section backgrounds, and
   opaque sections cover them, exactly like the live site. The wrap/dnd-row
   z rules below remain as belt-and-suspenders for non-section content. */
.footer,
.ah-subfooter {
  position: relative;
  z-index: 1;
}

/* Header ALWAYS has the highest z-index on the page (Jon 2026-09-04): its
   overlays — the mobile nav panel, future dropdowns — must paint above any
   section, including ones that lift themselves (z:2 heroes). 100 leaves
   headroom under HubSpot's editor chrome. */
.header {
  position: relative;
  z-index: 100;
}

.wrap {
  z-index: 1;
}

.dnd-section > .row-fluid {
  position: relative;
  z-index: 1;
}

/* …EXCEPT rows hosting a full-bleed module: lifting the row would lift the
   module's background above the orbs too. Full-bleed modules protect their own
   content via .wrap (z:1), so the row stands down and the module's section
   background stays below the orb layer. */
.dnd-section:has(.ef-full-bleed) > .row-fluid {
  position: static;
  z-index: auto;
}
/* EF Button — ported 1:1 from the Figma Button component set (node 14:44).
   API mirrors the Figma props: Size (default | --large | --small), Color (yellow default |
   --light-point | --dark-point | --yellow-pink | --blue), Style (solid default |
   --ghost). Markup contract:
     <a class="ef-button [modifiers]">
       [<span class="ef-button__icon ef-button__icon--left" aria-hidden="true"></span>]
       <span class="ef-button__label">Text</span>
       [<span class="ef-button__icon" aria-hidden="true"></span>]
     </a>
   NO hover states: the design set defines none (Jon, 2026-07-18) — do not add any.
   The icon is exclusively the arrow-right-long SVG exported from the design file,
   applied as a CSS mask so it takes solid colors AND gradient fills exactly like
   the label (left icon = mirrored right). */

.ef-button {
  align-items: center;
  background: var(--ef-brand-yellow);
  border-radius: 1000px;
  color: var(--ef-dark-point);
  display: inline-flex;
  font-family: Nunito, sans-serif;
  font-size: var(--ef-text-p-1sm);
  font-weight: 800;
  gap: 1rem;
  justify-content: center;
  line-height: 1.4;
  padding: 14px 24px;
  text-decoration: none;
  white-space: nowrap;
}

/* Size=Large — P Base Extrabold */
.ef-button--large {
  font-size: var(--ef-text-p-base);
  line-height: 1.5;
  padding: 16px 40px;
}

/* Size=Small — from the Next.js ButtonLink `small` prop (consolidated here,
   Jon 2026-08-28): tighter em padding, small text */
.ef-button--small {
  font-size: var(--ef-text-small);
  padding: 0.5em 1em;
}

/* Color=* , Style=Solid */
.ef-button--light-point {
  background: var(--ef-light-point);
  color: var(--ef-dark-point);
}

.ef-button--dark-point {
  background: var(--ef-dark-point);
  color: var(--ef-light-point);
}

.ef-button--yellow-pink {
  background: var(--ef-button-gradient-1);
  color: var(--ef-dark-point);
}

.ef-button--blue {
  background: var(--ef-button-gradient-2);
  color: var(--ef-light-point);
}

/* Style=Ghost — 2px border; padding compensated by the border width so the
   outer height matches the Solid variants (Figma renders both at equal height) */
.ef-button--ghost {
  background: transparent;
  border: 2px solid var(--ef-brand-yellow);
  color: var(--ef-brand-yellow);
  padding: 12px 22px;
}

.ef-button--ghost.ef-button--large {
  padding: 14px 38px;
}

.ef-button--ghost.ef-button--small {
  padding: calc(0.5em - 2px) calc(1em - 2px);
}

.ef-button--ghost.ef-button--light-point {
  border-color: var(--ef-light-point);
  color: var(--ef-light-point);
}

.ef-button--ghost.ef-button--dark-point {
  border-color: var(--ef-dark-point);
  color: var(--ef-dark-point);
}

/* Gradient ghosts: the 2px border is itself a gradient ring — drawn by a
   masked pseudo-element (transparent interior preserved), label + icon
   through the same gradient */
.ef-button--ghost.ef-button--yellow-pink,
.ef-button--ghost.ef-button--blue {
  border-color: transparent;
  position: relative;
}

.ef-button--ghost.ef-button--yellow-pink::before,
.ef-button--ghost.ef-button--blue::before {
  border-radius: inherit;
  content: "";
  inset: -2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  pointer-events: none;
  position: absolute;
}

.ef-button--ghost.ef-button--yellow-pink::before {
  background: var(--ef-button-gradient-1);
}

.ef-button--ghost.ef-button--blue::before {
  background: var(--ef-button-gradient-2);
}

.ef-button--ghost.ef-button--yellow-pink .ef-button__label {
  background: var(--ef-button-gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ef-button--ghost.ef-button--blue .ef-button__label {
  background: var(--ef-button-gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Icon — arrow-right-long from the design file, masked so it inherits the
   label's fill (currentColor or gradient). 17×11 intrinsic. */
.ef-button__icon {
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
  height: 11px;
  -webkit-mask: url('https://23611777.fs1.hubspotusercontent-na2.net/hubfs/23611777/raw_assets/public/anonymous-health-electricfun/images/icons/arrow-right-long.svg') center / contain no-repeat;
  mask: url('https://23611777.fs1.hubspotusercontent-na2.net/hubfs/23611777/raw_assets/public/anonymous-health-electricfun/images/icons/arrow-right-long.svg') center / contain no-repeat;
  width: 17px;
}

.ef-button__icon--left {
  transform: scaleX(-1);
}

.ef-button--ghost.ef-button--yellow-pink .ef-button__icon {
  background: var(--ef-button-gradient-1);
}

.ef-button--ghost.ef-button--blue .ef-button__icon {
  background: var(--ef-button-gradient-2);
}

/* Layout helper: full-width button (card CTAs etc.) */
.ef-button--full {
  width: 100%;
}

/* Submit buttons — HubSpot renders form submits as <input type="submit"
   class="hs-button"> (newer embeds: <button type="submit">). They carry the
   exact EF Button recipe, Default / Yellow / Solid, declaration-for-declaration
   with .ef-button above (keep the two in sync), plus input-only resets.
   NO hover/focus/active restyle — the design set defines none. The form-prefixed
   selectors out-rank the boilerplate `form input[type=submit]` rule in
   elements/_forms.css; theme-overrides.css button rules exclude submits. */
form input[type="submit"],
form .hs-button,
input[type="submit"],
button[type="submit"],
.hs-button {
  align-items: center;
  appearance: none;
  background: var(--ef-brand-yellow);
  border: none;
  border-radius: 1000px;
  color: var(--ef-dark-point);
  cursor: pointer;
  display: inline-flex;
  font-family: Nunito, sans-serif;
  font-size: var(--ef-text-p-1sm);
  font-weight: 800;
  gap: 1rem;
  justify-content: center;
  line-height: 1.4;
  padding: 14px 24px;
  text-decoration: none;
  white-space: nowrap;
}
/* CalloutText — ported 1:1 from the Next.js CalloutText styled-component
   (source provided 2026-07-27). Markup contract:
     <div class="callout-text [unconstrained|dark|center|no-margin-bottom]">
       <p>…content (richtext p lands here directly)…</p>
     </div>
   Emphasis (bold/italic/gradient) comes from the CONTENT markup, not the
   component: on the live site strong+em inside .dark gets the 90° callout
   gradient; instances can also pair with .gradient-highlight (see
   utilities/_gradient-text.css) to reproduce content-level .gradient-text. */
.callout-text {
  align-items: center;
  display: flex;
  margin-bottom: 3em;
  max-width: var(--ef-text-width);
}

.callout-text.unconstrained {
  max-width: 100%;
}

.callout-text.dark {
  color: var(--ef-light-point-70);
}


.callout-text.dark:not([class*="emphasis-"]) strong em,
.callout-text.dark:not([class*="emphasis-"]) em strong {
  background: var(--ef-callout-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.callout-text.center {
  
  justify-content: center;
  margin-inline: auto;
  text-align: center;
}

.callout-text.no-margin-bottom {
  margin-bottom: 0;
}

.callout-text p {
  font-size: var(--ef-text-large);
  margin-bottom: 0;
}

/* Size modifiers (Jon 2026-09-04) — the heading tokens on the callout
   paragraph, so a module's "Heading style" dropdown picks the level without
   touching the container features (dark, gradient emphasis, measure, center,
   margins). Additive: instances without a size class stay on the base size
   above. */

.callout-text.size-h2 p {
  font-weight: normal; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h2);
  line-height: 1.2;
}

.callout-text.size-h3 p {
  font-weight: normal; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h3);
  line-height: 1.2;
}

.callout-text.size-h4 p {
  font-weight: 500; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h4);
  line-height: 1.2;
}

.callout-text.size-h5 p {
  font-weight: 500; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  font-size: var(--ef-text-h5);
  line-height: 1.2;
}

.callout-text.size-h6 p {
  font-weight: 800; text-decoration: none; font-family: Nunito, sans-serif; font-style: italic;
  font-size: var(--ef-text-h6);
  line-height: 1.2;
}

/* Callout — 1:1 from the Next.js ui/Callout styled-components (2026-08-28).
   Markup contract (class names from the source):
     <div class="callout [dark] [wide]" style="--callout-bg: url('…')">
       <div class="callout-message">
         <p class="title callout-title">…</p>
         [optional content]
         <div class="callout-text [dark|justify-center|…]"><p>…</p></div>
       </div>
       <div class="callout-links">
         [children]
         <a class="ef-button …">…</a>   (source ButtonLink "cta center …")
         <div class="callout__subtext">…</div>
       </div>
     </div>
   The $backgroundImage prop is the --callout-bg custom property (inline style).
   First consumer: the footer's FooterCallouts grid. */




.callout {
  align-items: center;
  border-radius: 2em;
  border: 1px solid var(--ef-light-point-05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 2em;
  position: relative;
  text-align: center;
  width: 100%;
}

.callout:before,
.callout:after {
  content: "";
  height: 102%;
  position: absolute;
  width: 102%;
  bottom: -1%;
  top: -1%;
}

.callout:before {
  background-image: var(--callout-bg, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;
}

.callout.dark,
.callout.dark p {
  color: var(--ef-light-point);
}

/* Full wide configuration */
.callout.wide {
  align-items: center;
  flex-direction: row;
  gap: var(--ef-grid-gap);
  justify-content: space-between;
  text-align: left;
}

.callout.wide .callout-text {
  margin-bottom: 0;
}

.callout.wide .callout-links {
  align-items: center;
  flex-direction: row-reverse;
}

/* NOT WIDE */
.callout:not(.wide) .callout-message {
  height: 100%;
  min-height: 12em;
}

.callout > * {
  position: relative;
  z-index: 1;
}

/* CalloutMessage */
.callout-message {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* CalloutTitle (Title +) */
.callout .callout-title {
  font-size: 0.725em;
  margin-bottom: 1em;
}

/* PrimaryCalloutText (CalloutText +) */
.callout .callout-text {
  margin: auto auto 1.4em;
}

/* CalloutLinks */
.callout-links {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
}

/* Source ButtonLink carries the "center" class; our EF button self-centers
   in the stretch flex column here. */
.callout-links > .ef-button {
  align-self: center;
}

/* Subtext */
.callout__subtext {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  text-align: center;
}

.callout__subtext span {
  opacity: 0.4;
}

.callout__subtext a:not(.cta) {
  opacity: 0.4;
  border-bottom: 1px solid currentColor;
}

.callout__subtext a:not(.cta):hover {
  opacity: 1;
}

/* OptionalContentContainerOne */
.callout__optional-row {
  display: flex;
  align-items: center;
  gap: var(--ef-grid-gap);
}

@media (max-width: 768px) {
  .callout.wide {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .callout.wide .callout-text {
    margin-bottom: 1.4em;
  }

  .callout.wide .callout-links {
    flex-direction: column;
    text-align: center;
  }

  .callout__optional-row {
    flex-direction: column;
    text-align: center;
  }
}
/* AppStores — 1:1 from the Next.js ui AppStores styled-component: the
   Apple / Google Play badge row (badges: images/AppleAppStoreBadge.svg,
   GooglePlayStoreBadge.svg — the live site's own assets). */

.app-stores {
  display: flex;
  align-items: center;
  gap: 1em;
}

/* Responsive badges (Jon 2026-09-04): the live site gets this from Tailwind's
   preflight `img { max-width: 100%; height: auto }`; the theme has no global
   img rule, so the 188px badges overflowed the row on narrow screens. Scoped
   here rather than global so nothing else on the site changes. min-width: 0
   lets the flex anchors shrink; the badge then scales inside them. */
.app-stores a {
  display: inline-flex;
  min-width: 0;
}

.app-stores img {
  height: auto;
  max-width: 100%;
}

/* AppStoreNav — 1:1 from ui/App/AppStoreNav: the hero's badge nav
   (taller badges than the AppStores row, centered on mobile) */




.app-store-nav {
  display: flex;
  gap: 1em;
  position: relative;
}

.app-store-nav a {
  user-select: none;
  display: inline-flex;
}

.app-store-nav a img {
  height: 3.4em;
  width: auto;
}

@media (max-width: 768px) {
  .app-store-nav {
    justify-content: center;
  }
}
/* ClinicianCalloutCard — 1:1 from the Next.js ui/ClinicianCalloutCard
   styled-components (2026-08-28). Markup contract:
     <a class="clinician-card [behavioral-health-team]" href="/team/…">
       <img class="clinician-card__image" src="…" alt="Name">
       <div class="clinician-card__info">
         <p class="clinician-card__name">Name</p>
         <p class="title clinician-card__title">Credentials</p>
       </div>
     </a>
   The source's StatusTag (Tag component) is not ported — the About usage
   passes no statusText; ask Jon for the Tag source when a card needs one.
   The source forces text-transform none on the title (its own "uppercase"
   className loses to the styled !important), so no uppercase here. */




.clinician-card {
  aspect-ratio: 3/4;
  background-color: var(--ef-dark-point);
  border-radius: 2em;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: block;
}

.clinician-card__image {
  -webkit-mask-image: linear-gradient(black 50%, transparent);
  mask-image: linear-gradient(black 50%, transparent);
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  position: absolute;
  width: 100%;
}

.clinician-card__info {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.6em;
  width: 100%;
  z-index: 1;
}

.clinician-card__info p {
  margin: 0;
}

.clinician-card__name {
  font-size: 1.4rem;
  color: var(--ef-light-point);
  margin-bottom: 0;
}

.clinician-card__title {
  color: var(--ef-light-point-60);
  font-size: 0.8rem;
  text-transform: none !important;
}

@media (max-width: 768px) {
  .clinician-card {
    border-radius: 1em;
    min-width: 8em;
  }

  .clinician-card__info {
    padding: 1em;
  }

  .clinician-card__name {
    font-size: 1.25em;
  }
}
/* TeamGrid — 1:1 from the Next.js ui/TeamGrid styled-component (2026-08-28).
   4-up grid of clinician cards (2-up on mobile); .large-grid = 3-up. */




.team-grid {
  display: grid;
  gap: var(--ef-grid-gap-sm);
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
}

.team-grid.large-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .team-grid,
  .team-grid.large-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* Team member detail — 1:1 from the Next.js /team/[slug] page styled
   components (2026-08-28). Consumed by templates/team-member.html. */




/* MemberGrid */
.member-grid {
  display: grid;
  grid-template-columns: 1fr calc(100% / 3);
  width: 100%;
  gap: var(--ef-grid-gap-lg);
}

/* MemberContent — lede paragraph treatment */
.member-content p:first-of-type {
  color: var(--ef-dark-point);
  font-size: var(--ef-text-large);
}

/* MemberImage */
.member-image {
  border-radius: var(--ef-border-radius);
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .member-grid {
    grid-template-columns: 1fr;
    flex-direction: column-reverse;
    display: flex;
    gap: var(--ef-grid-gap-sm);
  }
}
/* ArticleCard — 1:1 from the Next.js ui/ArticleCard styled-components
   (2026-08-28). The whole card is one link. Markup contract:
     <a class="article-card" href="…" [target] title="…">
       <span class="tag small article-card__tag">The Latest</span>
       <img class="article-card__image" src="…" alt="…">
       <div class="article-card__text">
         <p class="title mb-1">byline</p>
         <h2 class="color-light-point mb-2">Title</h2>
         <p class="small mb-4 color-light-point-70">Excerpt</p>
         <span class="ef-button ef-button--ghost ef-button--light-point ef-button--small article-card__button">Read Article</span>
       </div>
     </a>
   Tag: utilities/_tag.css. Button: the EF Button ghost/light-point/small
   variants (ButtonLink consolidated into components/_button.css). */




.article-card {
  display: flex;
  align-items: flex-end;
  background-color: var(--ef-dark-point);
  border-radius: var(--ef-border-radius-xsm);
  height: 100%;
  min-height: 60vh;
  overflow: hidden;
  position: relative;
  padding: 20em 2em 2em;
  width: 100%;
}

.article-card:hover img {
  opacity: 0.6;
}

.article-card__tag {
  background-color: var(--ef-light-point);
  left: 2em;
  position: absolute;
  top: 2em;
  z-index: 1;
}

.article-card__image {
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 86%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;
}


.article-card__text h2 {
  font-size: 1.8em;
  font-weight: 400;
  line-height: 1.4;
}

.article-card__text {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin-top: -8vw;
  position: relative;
  z-index: 1;
}

.article-card .article-card__button {
  border-color: var(--ef-light-point) !important;
  color: var(--ef-light-point) !important;
  gap: 1em;
  pointer-events: none;
  
  border-width: 1px;
  font-size: var(--ef-text-small);
  font-weight: 800;
  padding: 1em 1.4em;
}

.article-card .article-card__button .ef-button__icon {
  height: 1em;
  width: 1em;
}

/* ArticleCardMini — 1:1 from ui/ArticleCardMini. Markup contract:
     <a class="article-card-mini [article-card-mini--no-photo]" href="…">
       <img class="article-card-mini__image" src="…" alt="…">
       <div>
         <p class="title small mb-1 article-card-mini__date">Date</p>
         <p class="color-dark-point mb-1">Title (truncated 60)</p>
         <p class="small mb-2">Excerpt (truncated 100)</p>
         <span class="tag article-card-mini__tag">Category</span>
       </div>
     </a> */
.article-card-mini {
  
  color: var(--ef-type);
  align-items: center;
  display: grid;
  gap: var(--ef-grid-gap-sm);
  grid-template-columns: auto 1fr;
  width: 100%;
}

.article-card-mini--no-photo {
  gap: 0;
  grid-template-columns: 1fr;
}

.article-card-mini__tag {
  font-size: 0.875em;
}

.article-card-mini__date {
  font-size: 0.7em;
  line-height: 1.5;
}

.article-card-mini__image {
  aspect-ratio: 1 / 1;
  border-radius: var(--ef-border-radius-xsm);
  height: 10em;
  object-fit: cover;
  overflow: hidden;
  position: relative;
  width: 10em;
}

@media (max-width: 768px) {
  .article-card {
    padding: 1.4em;
  }

  .article-card__tag {
    top: 1.4em;
    left: 1.4em;
  }

  .article-card-mini,
  .article-card-mini--no-photo {
    align-items: flex-start;
    grid-template-columns: auto 2fr;
  }
}
/* News & Press pages — grids from the Next.js listing (ArticlesWrap /
   ArticleCardStack) and article page (ContentGridWrap / aside), 1:1. */




/* Listing h1 — the live site's fluid h1 rule verbatim (our theme h1 token is
   the Figma hero scale; global re-map still parked with Jon) */
.news-h1 {
  margin-bottom: 1.8rem;
  font-size: max(1.8em, min(2.2em, 4vw));
  line-height: 1.3;
  font-weight: 400;
}

/* ArticlesWrap */
.news-listing__grid {
  display: grid;
  gap: var(--ef-grid-gap);
  grid-template-columns: 1fr 1fr;
}

.news-listing__grid.three-column {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ArticleCardStack */
.news-listing__stack {
  display: flex;
  flex-direction: column;
  gap: var(--ef-grid-gap);
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
}

/* "More" section divider (source hr mb-[4em]) */
.news-listing__more-divider {
  margin-bottom: 4em;
}

/* Imported-body chrome: the blog importer swallowed the live page's own
   date row (hr + styled-components Title div) into each post body, and
   HubSpot's editable-region wrapper injects stored bodies raw — so the strip
   happens here. Native-written posts never match these selectors. */
.content #hs_cos_wrapper_post_body > hr:first-child,
.content #hs_cos_wrapper_post_body > div[class*="Title__"] {
  display: none;
}

/* ContentGridWrap (article) */
.news-article__grid {
  display: grid;
  grid-template-columns: 2fr 20em;
  gap: var(--ef-grid-gap-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .news-listing__grid,
  .news-listing__grid.three-column {
    grid-template-columns: 1fr;
  }

  .news-article__grid {
    grid-template-columns: 1fr;
  }

  .news-article__aside {
    display: none;
  }
}
/* The -8em pull rides under the header; the alert bar must stay above the
   hero like the header does */
.alert-bar {
  position: relative;
  z-index: 2;
}

/* NewsHero — 1:1 from the Next.js NewsHero styled-components (extracted from
   the live SSR CSS, 2026-08-28). Dark band that pulls up under the
   transparent header (-8em), featured image absolute at 0.33 with a bottom
   fade mask, content capped at 60em with the category tag + huge h1. */

.news-hero {
  background-color: var(--ef-dark-point);
  margin-top: -8em;
  overflow: hidden;
  padding: max(10em, 40dvh) 0 4em;
  position: relative;
  width: 100%;
  z-index: 1;
}

.news-hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.33;
  object-position: center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;
}

.news-hero__content {
  max-width: 60em;
  position: relative;
  z-index: 2;
  width: 100%;
  text-wrap: balance;
}

.news-hero__content .categories {
  display: flex;
}

/* h1.huge color-light-point (live: max(2em, min(10vw, 3.2em)), lh 1.3/400) */
.news-hero__heading {
  color: var(--ef-light-point);
  font-size: max(2em, min(10vw, 3.2em));
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
/* ContentFrame — the live site's .content-frame surface, verbatim (radius-lg
   slab, content layer above the page orbs). Reusable: any module emits
   <div class="content-frame …"> and composes the live utility classes
   (bg-light-point, no-border-radius-bottom, !py-0, z-2 — utilities/
   _layout-utilities.css). First consumers: stats-simple; form-card's private
   frame predates this and should migrate here when Jon calls it.
   Full wrapper (outer section + bigPhone behavior) ported 2026-08-29 for the
   Content Page template. */




.content-frame {
  border-radius: var(--ef-border-radius-lg);
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 4em 0;
  position: relative;
}

/* ContentFrameContainer (outer section) */
.content-frame-section {
  padding-top: 3em;
}

/* Content-page title — the live fluid h1 (same values as .news-h1) */
.content-page__title {
  margin-bottom: 1.8rem;
  font-size: max(1.8em, min(2.2em, 4vw));
  line-height: 1.3;
  font-weight: 400;
  width: 100%;
}

@media (max-width: 768px) {
  .content-frame-section {
    padding-top: 1em;
  }

  .content-frame-section > .wrap {
    max-width: 100%;
    width: 100%;
  }

  .content-frame-section .content-frame {
    border-radius: var(--ef-border-radius-sm);
  }
}

/* Fine Print body: the dnd wrappers contribute ZERO spacing (Jon 2026-08-29) —
   rhythm comes from the .content typography alone */
.content-page__body .dnd-section {
  padding: 0;
}

.content-page__body .dnd-section .dnd-column {
  padding: 0;
}
/* StatBlock — 1:1 from the Next.js ui/StatBlock styled-components.
   Markup pattern:
     <div class="stat-block [left] [contained]">
       <div class="stat-block__value-row [stat-block__value-row--small]">
         <svg><use href="#down-arrow|#up-arrow"></use></svg>
         <div class="stat-block__value">35</div>
         <svg><use href="#percent|#close-regular"></use></svg>
         <p>following text</p>
       </div>
       …title + description (consumer-styled)…
     </div>
   Icons come from the theme sprite (partials/svg-sprite.html), filled by its
   #highlight-icon-gradient def. Documented deviations: font-weight 200 (the
   ref's 100 doesn't exist in Nunito — settled at the original port); the
   $small prop is the --small modifier class. */

.stat-block {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-block.left {
  align-items: flex-start;
  text-align: left;
}

.stat-block.contained {
  background-color: var(--ef-light-point-05);
  padding: 2em clamp(1.4em, 10%, 2em);
  border-radius: var(--ef-border-radius);
}

/* ValueText (ref gradient: 45deg secondary-accent -> brand) */
.stat-block__value {
  font-size: clamp(4.2em, 4vw, 4em);
  font-weight: 200;
  line-height: 1.1;
  background: linear-gradient(45deg, var(--ef-brand-purple), var(--ef-brand-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ValueGraphicRow */
.stat-block__value-row {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.4em;
  font-size: 1em;
}

.stat-block__value-row--small {
  gap: 0.48em;
  margin-bottom: 1.12em;
  font-size: 0.8em;
}

.stat-block__value-row svg {
  height: 1em;
  width: 1em;
}

.stat-block__value-row svg,
.stat-block__value-row svg use {
  fill: url(#highlight-icon-gradient);
}

.stat-block__value-row p {
  max-width: 2em;
  text-align: left;
  line-height: 1;
}
/* HighlightBlock — ported 1:1 from the live styled-component (extracted from
   anonymoushealth.com SSR CSS, 2026-07-27). A reusable icon + text box.
   Markup contract:
     <div class="highlight-block [center|minimal|bright|card]">
       <svg aria-hidden="true"><use href="#icon-id"></use></svg>
       <p>Text</p>
     </div>
   Optional title = Title Base token with mb-2 (source: Title className="mb-2").
   Icons fill with url(#highlight-icon-gradient) — the consuming module must
   render the gradient def + symbols (see EF-Highlight-Block's defs block). */
.highlight-block {
  background-color: var(--ef-light-point-05);
  border-radius: 1.4em;
  padding: 2em clamp(1.4em, 10%, 2em);
}

.highlight-block svg {
  display: inline-flex;
  flex-shrink: 0;
  height: 1.5em;
  margin-bottom: clamp(1.4em, 8%, 1.4em);
  width: 1.5em;
}

.highlight-block svg,
.highlight-block svg use,
.highlight-block svg path {
  fill: url(#highlight-icon-gradient);
}

.highlight-block__title {
  font-family: Nunito, sans-serif; font-style: italic; font-weight: 800; text-decoration: none;
  font-size: var(--ef-text-title-base);
  line-height: 1.5;
  margin: 0 0 0.5rem;
}


.highlight-block__text p {
  margin: 0;
}

/* The block's final paragraph never carries a bottom margin, whether it's a
   direct child or the last one inside the richtext wrapper (Jon 2026-09-04) */
.highlight-block p:last-child,
.highlight-block__text:last-child p:last-child {
  margin-bottom: 0;
}

.highlight-block.center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.highlight-block.minimal {
  box-shadow: none;
  padding: 0;
}

.highlight-block.bright {
  background-color: var(--ef-light-point);
  box-shadow: none;
}

.highlight-block.bright p {
  font-size: var(--ef-text-large);
}

.highlight-block.card {
  background-color: var(--ef-light-point);
  box-shadow: 0 0.25em 11em -5em var(--ef-gradient-blue-light);
}
/* HighlightGrid — 1:1 from the Next.js ui/HighlightGrid styled-component.
   Equal columns for however many .highlight-block children it holds
   (grid-auto-flow: column), stacking to rows below bigPhone. */




.highlight-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: var(--ef-grid-gap-mobile);
}

@media (max-width: 768px) {
  .highlight-grid {
    grid-auto-flow: row;
  }
}
/* Content Card — Figma "Content Card" component, shared by the standalone
   EF-Content-Card module and the EF-Content-Cards section so the two can't
   drift. The card body is WYSIWYG: headings/paragraphs/lists inside
   .content-card__body are styled to the card's type tokens.
   Two context schemes via CSS vars: dark context (default — light text on
   translucent light fill) and .content-card--light for light backgrounds. */


.content-card {
  --card-bg: var(--ef-light-point-05);
  --card-border: var(--ef-light-point-05);
  --card-fg: var(--ef-light-point);
  --card-fg-muted: var(--ef-light-point-70);
  --card-divider: var(--ef-light-point-10);
  --ef-hr-color: var(--card-divider);

  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: 2rem;
}

.content-card--light {
  --card-bg: var(--ef-light-point);
  --card-border: var(--ef-dark-point-10);
  --card-fg: var(--ef-dark-point);
  --card-fg-muted: var(--ef-dark-point-70);
  --card-divider: var(--ef-dark-point-10);
  
  box-shadow: 0 4px 80px 0 var(--ef-dark-point-05);
}

/* Eyebrow — Title 1sm token */
.content-card__eyebrow {
  font-family: Nunito, sans-serif; font-style: normal; font-weight: 800; text-decoration: none;
  color: var(--card-fg-muted);
  font-size: var(--ef-text-title-1sm);
  line-height: 1.5;
  margin: 0;
}

/* WYSIWYG body: semantic elements map to the card's type styles */
.content-card__body {
  color: var(--card-fg-muted);
  font-size: var(--ef-text-p-1sm);
  line-height: 1.4;
}

/* Card title style (H 1sm token) for any heading level chosen in the editor */
.content-card__body h2,
.content-card__body h3,
.content-card__body h4 {
  font-weight: 500; text-decoration: none; font-family: Nunito, sans-serif; font-style: normal;
  color: var(--card-fg);
  font-size: var(--ef-text-h4);
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.content-card__body p {
  margin: 0 0 1rem;
}

.content-card__body p:last-child {
  margin-bottom: 0;
}

/* Divider — marketers place an <hr> in the WYSIWYG wherever the line belongs.
   Color comes from the global themed hr (elements/_hr.css) via --ef-hr-color. */
.content-card__body hr {
  margin: 0 0 1rem;
}

/* Item list — P 2sm token */
.content-card__body ul,
.content-card__body ol {
  font-family: Nunito, sans-serif; font-style: normal; font-weight: 500; text-decoration: none;
  color: var(--card-fg-muted);
  font-size: var(--ef-text-p-2sm);
  line-height: 1.5;
  margin: 0;
  padding: 0 0 0 1.3em;
}

.content-card__body li {
  margin-bottom: 0.75rem;
}

.content-card__body li:last-child {
  margin-bottom: 0;
}

/* CTA appearance comes from the EF Button component (components/_button.css);
   this only pins it to the card bottom */
.content-card__cta {
  margin-top: auto;
}
/* Footer — 1:1 from the Next.js Footer styled-components (2026-08-28).
   Vertical rhythm: the global footer/section rule (elements/_sections.css)
   provides padding 6em 0; FooterContainer adds the flex column + grid-gap.
   Pending pieces (phased build, sources to come from Jon): FooterCallouts,
   SocialNav, Verifications. The code-owned subfooter stays separate
   (partials/subfooter.html). */




/* FooterContainer — line-height 1.5 matches the live body inheritance (live
   body is 1.5; our theme token is 1.4 — global reconcile pending Jon). */
.footer {
  line-height: 1.5;
  background-color: var(--ef-dark-point);
  color: var(--ef-light-point);
  display: flex;
  gap: var(--ef-grid-gap);
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Live preflight zeroes p margins; our theme's global p margin inflated the
   nav-group title -> list spacing (group gap alone spaces them, per source).
   The .mb-* utility classes still apply where the source uses them. */
.footer p {
  margin: 0;
}

/* FooterWrap — a .wrap row that also spaces its children */
.footer__wrap {
  gap: var(--ef-grid-gap);
}

/* FooterNav */
.footer__nav {
  display: grid;
  gap: var(--ef-grid-gap);
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

/* FooterNavGroup */
.footer__nav-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1em;
}

/* FooterNavList */
.footer__nav-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.4em;
}

.footer__nav-list a {
  opacity: 0.4;
}

.footer__nav-list a:hover {
  opacity: 1;
}

/* CalloutGrid (FooterCallouts) */
.footer__callout-grid {
  display: grid;
  gap: var(--ef-grid-gap);
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

/* SocialNav */
.social-nav {
  display: flex;
  align-items: center;
  gap: 1.4em;
}

.social-nav a {
  opacity: 0.4;
}

.social-nav a:hover {
  opacity: 1;
}

.social-nav img {
  height: 2em;
  width: auto;
}

/* Verifications */
.verifications {
  display: flex;
  gap: 1em;
}

.verifications img {
  height: 4.5em;
  width: auto;
}

@media (max-width: 768px) {
  .footer__wrap {
    gap: var(--ef-grid-gap-mobile);
  }

  .footer__nav {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__callout-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}