/* EverydayLegal theme styles. Ported from the original design (src/index.css); fade-up reveals only hide content once JavaScript is running. */
/* ---------- Base reset (Tailwind CSS v3.4 Preflight, MIT), the only part of Tailwind the design used ---------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
abbr:where([title]) { text-decoration: underline dotted; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-feature-settings: normal; font-variation-settings: normal; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) { -webkit-appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
dialog { padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden]:where(:not([hidden="until-found"])) { display: none; }

/* ---------- Self-hosted fonts ---------- */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --paper: #F3F0E8;
  --forest: #14332C;
  --ink: #1C1B17;
  --accent: #B0863C;
  --accent-hover: #95702F;
  /* Deep brass, for brass-coloured TEXT on cream (the #B0863C fill tone only
     reaches 2.9:1 against paper, which fails at eyebrow/link sizes). */
  --accent-ink: #7A5A23;
  /* Form control boundary. Hairline (0.12) is decorative only; inputs need
     3:1 against their surface to be perceivable (WCAG 1.4.11). */
  --field-border: #7D8B85;
  /* Deep brick, 6.4:1 on card. Always paired with an icon and text. */
  --error: #A3362B;
  --on-forest: #EFEAD9;
  --muted-cream: #6E6B5E;
  --muted-forest: #A9B3A6;
  --hairline: rgba(20, 51, 44, 0.12);
  --hairline-forest: rgba(239, 234, 217, 0.16);
  --card: #FBFAF5;
  --shadow-soft: 0 20px 60px rgba(20, 51, 44, 0.08);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}
/* ---------- Layout primitives (flexbox only) ---------- */
.el-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}
.el-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.el-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
  scroll-margin-top: 104px;
}
@media (min-width: 700px) {
  .el-section { padding-top: 80px; padding-bottom: 80px; }
}
@media (min-width: 1024px) {
  .el-section { padding-top: 120px; padding-bottom: 120px; }
}
.el-section--cream { background-color: var(--paper); color: var(--ink); }
.el-section--forest {
  background-color: var(--forest);
  color: var(--on-forest);
  background-image: radial-gradient(rgba(239, 234, 217, 0.085) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0;
}
.el-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.el-col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
/* ---------- Type ---------- */
.el-h1 {
  font-weight: 600;
  font-size: clamp(3.25rem, 6.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.el-h2 {
  font-weight: 600;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
/* Inner pages carry longer headlines than the homepage, so they get a slightly
   tighter display scale to stay within two lines. */
.el-h1--page {
  font-size: clamp(2.75rem, 4.4vw, 4rem);
}
/* Closing CTA only — it is the page's final decision point and should out-scale
   the two earlier centred CTA blocks. */
.el-h2--lg {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}
.el-h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0;
}
@media (min-width: 900px) {
  .el-h3 { font-size: 1.5rem; }
}
.el-body { margin: 0; line-height: 1.6; }
.el-muted { color: var(--muted-cream); }
.el-muted-forest { color: var(--muted-forest); }
.el-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  margin: 0;
}
.el-eyebrow > span:first-child { color: var(--accent); }
.el-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* ---------- Buttons ---------- */
.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
/* Press feedback is the most frequent interaction on the page, so it is the
   fastest thing that moves: 120ms, transform only. */
.el-btn:active { transform: scale(0.98); }
.el-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Ink on brass reads 5.3:1; white on brass is only 3.3:1 and fails at this size. */
.el-btn--brass {
  background-color: var(--accent);
  color: var(--ink);
}
.el-btn--brass:hover { background-color: var(--accent-hover); }
.el-btn--outline {
  background-color: transparent;
  color: var(--forest);
  border-color: var(--hairline);
}
.el-btn--outline:hover {
  border-color: var(--forest);
  background-color: rgba(20, 51, 44, 0.04);
}
.el-btn--sm { padding: 12px 22px; font-size: 0.9375rem; }
/* ---------- Cards, chips, links ---------- */
.el-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
  box-sizing: border-box;
}
.el-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background-color: var(--card);
  padding: 10px 20px;
  font-size: 0.9375rem;
  color: var(--muted-cream);
}
/* Each area is an entry point into a request, so the chip behaves like one. */
.el-chip--link {
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-chip--link:hover {
  color: var(--ink);
  border-color: var(--forest);
  transform: translateY(-1px);
}
.el-chip--link:active { transform: translateY(0); }
.el-chip--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.el-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-textlink:hover {
  color: var(--forest);
  border-color: var(--forest);
}
/* The arrow leads the eye toward the destination. Transform only, 160ms. */
.el-textlink svg {
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-textlink:hover svg { transform: translateX(3px); }
.el-textlink:focus-visible,
.el-navlink:focus-visible,
.el-footlink:focus-visible,
.el-faqbtn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.el-footlink {
  color: var(--muted-forest);
  text-decoration: none;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-footlink:hover { color: var(--on-forest); }
.el-hairline { height: 1px; width: 100%; background-color: var(--hairline); }
.el-hairline--forest { background-color: var(--hairline-forest); }
/* ---------- Nav ---------- */
.el-navwrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 0;
}
.el-navpill {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1240px;
  margin-left: 24px;
  margin-right: 24px;
  padding: 10px 12px 10px 24px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: transparent;
  transition: background-color 220ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 220ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-navpill--glass {
  background-color: rgba(243, 240, 232, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft);
}
.el-navlink {
  color: var(--forest);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-navlink:hover {
  color: var(--ink);
  background-color: rgba(20, 51, 44, 0.06);
}
.el-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background-color: var(--card);
  color: var(--forest);
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-iconbtn:hover { background-color: rgba(20, 51, 44, 0.06); }
.el-mobilemenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 1240px;
  margin: 8px 24px 0;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background-color: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  /* Opens from the button that triggered it, not from nowhere. Dismissal is
     instant on purpose: closing a menu should feel like getting out of the way. */
  transform-origin: top center;
  animation: el-menu-in 160ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes el-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* ---------- Media ---------- */
.el-heromedia {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  background-color: #E6E1D3;
  box-shadow: var(--shadow-soft);
}
.el-heromedia img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: el-scale-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Materialise: the image settles into focus instead of only fading. */
@keyframes el-scale-in {
  from { transform: scale(1.04); opacity: 0; filter: blur(8px); }
  to { transform: scale(1); opacity: 1; filter: blur(0); }
}
/* ---------- Accordion ---------- */
.el-faqrow {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--hairline);
}
.el-faqrow:last-child { border-bottom: 1px solid var(--hairline); }
.el-faqbtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.el-faqtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--forest);
  transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
    color 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-faqbtn:hover .el-faqtoggle {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--on-forest);
}
/* The plus rotates 45deg into a cross: one transform, no icon swap. */
.el-faqmark {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-faqmark::before,
.el-faqmark::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 999px;
}
.el-faqmark::before { left: 0; right: 0; top: 6px; height: 2px; }
.el-faqmark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.el-faqbtn[aria-expanded='true'] .el-faqmark { transform: rotate(45deg); }
.el-faqpanel {
  overflow: hidden;
  transition: height 240ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-faqpanel-inner {
  padding-bottom: 28px;
  max-width: 44rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.el-faqpanel[data-open='true'] .el-faqpanel-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 60ms;
}
/* ---------- Nav responsive visibility ---------- */
.el-navlinks { display: none; }
.el-hamburger { display: inline-flex; }
.el-navcta { display: none; }
@media (min-width: 600px) {
  .el-navcta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .el-navlinks { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
  .el-hamburger { display: none; }
}
/* ---------- Responsive flex columns ---------- */
.el-narrow {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.el-hero-text { flex: 1 1 100%; }
.el-hero-media { flex: 1 1 100%; }
@media (min-width: 1024px) {
  .el-hero-text { flex: 0 1 calc(54% - 32px); }
  .el-hero-media { flex: 0 1 calc(46% - 32px); }
}
/* three-up, gap 24px */
.el-col-3 { flex: 1 1 100%; }
@media (min-width: 700px) {
  .el-col-3 { flex: 1 1 calc(50% - 12px); }
}
@media (min-width: 1024px) {
  .el-col-3 { flex: 1 1 calc(33.333% - 16px); }
}
/* four-up wrapping 2x2, gap 40px */
.el-col-4 { flex: 1 1 100%; }
@media (min-width: 700px) {
  .el-col-4 { flex: 1 1 calc(50% - 20px); }
}
/* how it works, gap 48px */
.el-hiw-index { flex: 1 1 100%; }
.el-hiw-steps { flex: 1 1 100%; }
@media (min-width: 1024px) {
  .el-hiw-index {
    flex: 0 1 calc(34% - 24px);
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
  .el-hiw-steps { flex: 0 1 calc(66% - 24px); }
}
/* footer, gap 40px */
.el-foot-brand { flex: 1 1 100%; }
.el-foot-col { flex: 1 1 100%; }
@media (min-width: 700px) {
  .el-foot-brand { flex: 1 1 calc(50% - 20px); }
  .el-foot-col { flex: 1 1 calc(50% - 20px); }
}
@media (min-width: 1024px) {
  .el-foot-brand { flex: 0 1 calc(34% - 30px); }
  .el-foot-col { flex: 1 1 calc(22% - 30px); }
}
/* narrow lead-in beside a wider content column, gap 48px */
.el-aside-lead { flex: 1 1 100%; }
.el-aside-main { flex: 1 1 100%; }
@media (min-width: 1024px) {
  .el-aside-lead { flex: 0 1 calc(34% - 24px); }
  .el-aside-main { flex: 0 1 calc(66% - 24px); }
  .el-aside-lead--sticky {
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
}
/* ---------- Routed page scaffolding ---------- */
.el-skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background-color: var(--forest);
  color: var(--on-forest);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.el-skiplink:focus {
  left: 24px;
  top: 16px;
}
/* Clears the floating nav without the 120px a full section would add. */
.el-pagetop { padding-top: 40px; }
@media (min-width: 700px) {
  .el-pagetop { padding-top: 56px; }
}
@media (min-width: 1024px) {
  .el-pagetop { padding-top: 72px; }
}
/* ---------- Hairline list rows ---------- */
.el-listrows {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  column-gap: 40px;
}
.el-listrow {
  flex: 1 1 100%;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  color: var(--muted-cream);
  font-size: 1.0625rem;
  line-height: 1.5;
}
@media (min-width: 700px) {
  .el-listrow { flex: 1 1 calc(50% - 20px); }
}
.el-listrows--forest .el-listrow {
  border-top-color: var(--hairline-forest);
  color: var(--muted-forest);
}
/* ---------- Caveat panel: unfilled, so it reads quieter than a card ---------- */
.el-caveat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
  box-sizing: border-box;
}
.el-caveat--forest { border-color: var(--hairline-forest); }
/* ---------- Utilities ---------- */
.el-visuallyhidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.el-hide-mobile { display: none; }
@media (min-width: 1024px) {
  .el-hide-mobile { display: flex; }
}
/* ---------- Intake form: one Gravity Forms form, two pages ---------- */
.el-formcard {
  padding: 0;
  gap: 0;
}
.el-formprogress {
  position: sticky;
  top: 88px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  background-color: var(--card);
  border-bottom: 1px solid var(--hairline);
  border-radius: 24px 24px 0 0;
}
@media (min-width: 700px) {
  .el-formprogress { padding: 20px 48px; }
}
.el-progresstrack {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: var(--hairline);
  overflow: hidden;
}
.el-progressfill {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: var(--accent);
  transform-origin: left center;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.el-formbody {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 24px 40px;
}
@media (min-width: 700px) {
  .el-formbody { padding: 40px 48px 48px; }
}
.el-formbody :is(input, textarea, button, a) { scroll-margin-top: 180px; }
.el-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.el-label {
  display: block;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.el-req { font-weight: 400; color: var(--muted-cream); }
.el-help {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted-cream);
}
.el-input {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-input::placeholder { color: var(--muted-cream); }
.el-input:hover { border-color: var(--forest); }
.el-input:focus { outline: none; }
.el-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--forest);
}
textarea.el-input { min-height: 144px; resize: vertical; }
.el-input[aria-invalid='true'] {
  border: 2px solid var(--error);
  padding: 11px 15px;
}
.el-inputprefix { position: relative; display: flex; width: 100%; }
.el-inputprefix > span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.0625rem;
  color: var(--muted-cream);
  pointer-events: none;
}
.el-inputprefix .el-input { padding-left: 40px; }
.el-inputprefix .el-input[aria-invalid='true'] { padding-left: 39px; }
.el-fielderror {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--error);
}
.el-fielderror svg { flex: 0 0 auto; margin-top: 2px; }
/* Option tiles: the whole tile is the label, the native radio stays focusable */
.el-options { display: flex; flex-wrap: wrap; gap: 10px; }
.el-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 100%;
  min-height: 56px;
  box-sizing: border-box;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background-color: transparent;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (min-width: 700px) {
  .el-options--compact .el-option { flex: 1 1 calc(50% - 5px); }
}
.el-option:hover { border-color: var(--field-border); }
.el-option.is-selected {
  border-color: var(--accent);
  background-color: rgba(176, 134, 60, 0.1);
}
.el-options--invalid .el-option { border-color: var(--error); }
.el-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.el-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.el-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2px solid var(--field-border);
  border-radius: 999px;
  background-color: var(--card);
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--accent-ink);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 160ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-option.is-selected .el-radio { border-color: var(--accent-ink); }
.el-option.is-selected .el-radio::after { opacity: 1; transform: scale(1); }
/* File upload */
.el-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  box-sizing: border-box;
  padding: 32px 24px;
  border: 2px dashed var(--field-border);
  border-radius: 14px;
  background-color: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-dropzone:hover { border-color: var(--forest); }
.el-dropzone.is-dragging {
  border-color: var(--accent-ink);
  background-color: rgba(176, 134, 60, 0.1);
}
.el-dropzone.is-invalid { border-color: var(--error); }
.el-linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.el-linkbtn:hover { color: var(--forest); }
.el-linkbtn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.el-filerow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background-color: var(--card);
}
/* Notices, alerts, error summary */
.el-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
}
.el-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border: 1.5px solid var(--forest);
  border-radius: 14px;
  background-color: rgba(176, 134, 60, 0.12);
}
.el-errorsummary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  border: 2px solid var(--error);
  border-radius: 14px;
  background-color: rgba(163, 54, 43, 0.04);
}
.el-errorsummary:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.el-errorsummary a {
  color: var(--error);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.el-errorsummary a:hover { color: var(--ink); }
.el-errorsummary a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.el-formactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}
.el-formactions .el-btn { flex: 1 1 100%; }
@media (min-width: 700px) {
  .el-formactions .el-btn { flex: 0 0 auto; }
}
/* Conditional fields arrive, they don't pop */
.el-reveal { animation: el-reveal 280ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes el-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ---------- Legal documents ---------- */
.el-legalsection { scroll-margin-top: 120px; }
.el-indexlink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  color: var(--muted-cream);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.el-indexlink:hover { color: var(--forest); }
.el-indexlink:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
/* ---------- Fade-up entrance ---------- */
.js [data-animate='fade-up'] {
  opacity: 0;
  transform: translateY(24px);
  /* 700ms as specified, but on an expo-out curve. The built-in ease-out is too
     weak to read as deliberate over that distance. */
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
/* Drop the compositor hint once the element has arrived. */
.js [data-animate='fade-up'].is-inview {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-animate='fade-up'] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .el-heromedia img { animation: none; }
  .el-mobilemenu { animation: none; }
  .el-faqpanel { transition: none; }
  .el-faqpanel-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .el-faqmark { transition: none; }
  .el-textlink svg { transition: none; }
  .el-chip--link { transition: none; }
  .el-reveal { animation: none; }
  .el-progressfill,
  .el-input,
  .el-option,
  .el-radio,
  .el-radio::after,
  .el-dropzone { transition: none; }
  .el-btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= WordPress theme additions ================= */

/* Mobile menu is toggled with the hidden attribute. */
.el-mobilemenu[hidden] { display: none; }
.el-hamburger [hidden] { display: none; }

/* Optional highlighted word in a heading (off unless an editor sets one). */
.el-hl { color: var(--accent-ink); }
.el-section--forest .el-hl { color: var(--accent); }

/* The logged-in admin bar sits above the floating nav. */
.admin-bar .el-navwrap { top: 48px; }
@media (max-width: 782px) { .admin-bar .el-navwrap { top: 62px; } }

/* Legal documents: block editor paragraphs and lists inside numbered sections. */
.el-legalbody p { margin: 0; line-height: 1.6; color: var(--ink); }
.el-legalbody ul,
.el-legalbody ol {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  column-gap: 40px;
}
.el-legalbody li {
  flex: 1 1 100%;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  color: var(--muted-cream);
  font-size: 1.0625rem;
  line-height: 1.5;
}
@media (min-width: 700px) { .el-legalbody li { flex: 1 1 calc(50% - 20px); } }
.el-legalbody h3 { font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--forest); }

/* Default pages and text blocks. */
.el-prose p { margin: 0; line-height: 1.6; color: var(--ink); }
.el-prose h2 { font-weight: 600; font-size: 1.5rem; line-height: 1.35; color: var(--forest); margin-top: 16px; }
.el-prose h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: var(--forest); margin-top: 8px; }
.el-prose ul, .el-prose ol { margin: 0; padding-left: 1.25em; list-style: disc; color: var(--ink); }
.el-prose ol { list-style: decimal; }
.el-prose li + li { margin-top: 6px; }
.el-prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.el-prose a:hover { color: var(--forest); }
.el-prose > * + * { margin-top: 20px; }
.el-prose[style*="flex"] > * + * { margin-top: 0; }
.el-prose--forest p, .el-prose--forest ul, .el-prose--forest ol { color: var(--on-forest); }

/* Footer social links (only rendered when filled in). */
.el-sociallinks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 0; padding: 0; list-style: none; }

/* ---------- Insights (blog) ---------- */
.el-postcard { position: relative; }
.el-postcard-link { color: inherit; text-decoration: none; }
.el-postcard-link::after { content: ''; position: absolute; inset: 0; border-radius: 24px; }
.el-postcard-link:focus-visible { outline: none; }
.el-postcard:has(.el-postcard-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.el-postcard:hover .el-textlink { color: var(--forest); }
.el-postcard:hover .el-textlink svg { transform: translateX(3px); }
.el-postmeta { color: var(--muted-cream); letter-spacing: 0.08em; }
.el-chip--link[aria-current="page"] { color: var(--on-forest); background-color: var(--forest); border-color: var(--forest); }
.el-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.el-postimage { aspect-ratio: 16 / 9; }
.el-postimage img { height: 100%; }
.el-article { display: flex; flex-direction: column; gap: 20px; max-width: 44rem; }
.el-article > * { margin: 0; }
.el-article p, .el-article li { font-size: 1.125rem; line-height: 1.7; color: var(--ink); }
.el-article h2 { font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.25; color: var(--forest); margin-top: 24px; }
.el-article h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: var(--forest); margin-top: 12px; }
.el-article ul, .el-article ol { padding-left: 1.25em; list-style: disc; }
.el-article ol { list-style: decimal; }
.el-article li + li { margin-top: 8px; }
.el-article a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.el-article a:hover { color: var(--forest); }
.el-article blockquote { background-color: var(--card); border: 1px solid var(--hairline); border-left: 4px solid var(--accent); border-radius: 24px; padding: 28px 32px; }
.el-article blockquote p { font-size: 1.1875rem; color: var(--forest); }
.el-article blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.9375rem; color: var(--muted-cream); }
.el-article figure img { border-radius: 24px; }
.el-article figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--muted-cream); }
.el-article hr { border: 0; height: 1px; background-color: var(--hairline); margin: 16px 0; }
@media (prefers-reduced-motion: reduce) { .el-postcard:hover .el-textlink svg { transform: none; } }
@media (min-width: 700px) { .el-postcard { flex: 0 1 calc(50% - 12px); } }
@media (min-width: 1024px) { .el-postcard { flex: 0 1 calc(33.333% - 16px); } }
