body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
small,
span,
button,
input,
select,
label {
  font-family: "Inter", sans-serif;
}

:root {
  --lg-form-font: "Inter", sans-serif;
  --lg-form-bg: #f2f2f2;
  --lg-form-border: #e1e1e1;
  --lg-form-heading: #292929;
  --lg-form-text: #4b4b4b;
  --lg-form-muted: #5c5c5c;
  --lg-form-input-bg: #fff;
  --lg-form-input-border: #cfcfcf;
  --lg-form-input-border-focus: #0b61c7;
  --lg-form-input-radius: 8px;
  --lg-form-input-height: 55px;
  --lg-form-textarea-min-height: 120px;
  --lg-form-button-bg: #2b9850;
  --lg-form-button-bg-hover: #237b41;
  --lg-form-button-text: #fff;
  --lg-form-button-shadow: #1b5f32;
  --lg-form-button-radius: 4px;
  --lg-form-progress-track: #e7e7e7;
  --lg-form-progress-fill: #2b9850;
  --lg-form-gap: 16px;
  --lg-form-label-size: 16px;
  --lg-form-input-size: 16px;
}

body {
  color: #4b4b4b;
  line-height: 1.6;
}

a {
  color: #0b61c7;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.logo img {
  max-height: 45px;
}

#advertorial {
  padding: 1rem 0;
  background: #fff;
}

#advertorial small {
  color: #646464;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.masthead-shell {
  display: block;
}

#hero {
  --hero-min-height: clamp(240px, 38svh, 340px);
  min-height: var(--hero-min-height);
}

#hero .grid-container,
#hero .grid-x {
  min-height: var(--hero-min-height);
}

.hero-copy {
  padding-bottom: 1.5rem;
}

.padded-multiline {
  display: inline;
  line-height: 1.8;
  font-weight: 700;
  color: #292929;
  background: #fff;
  padding: 0.35rem 0.6rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.grid-container {
  max-width: 980px;
}

#bodyarticle .grid-container {
  background: #fff;
}

.article-content {
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 2rem;
}

.article-byline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0;
}

.article-byline,
.publish-date,
.reading-time {
  font-size: 0.95rem;
  color: #666;
}

.article-byline {
  font-weight: 600;
  color: #2d2d2d;
}

.article-separator {
  color: #b4b4b4;
}

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #666;
  line-height: 1.2;
  white-space: nowrap;
}

.reading-time::before {
  content: "🕒";
  font-size: 0.95em;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.35;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.45em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

p,
li {
  font-size: 1rem;
  line-height: 1.65;
  color: #4b4b4b;
}

.yellow-box {
  background: #faf9b5;
  padding: 1rem;
  margin: 1.5rem 0;
}

.yellow-box h2 {
  margin-top: 0;
}

.highlight-list {
  margin: 0 0 1rem 1.4rem;
}

.lead-form-section {
  background: var(--lg-form-bg);
  border: 1px solid var(--lg-form-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0 0;
}

.lead-form-title {
  display: table;
  margin: 0 auto 0.75rem;
  color: var(--lg-form-heading);
  text-align: center;
  border-bottom: 4px solid var(--lg-form-heading);
}

.lead-form-section > p,
.lead-form-section .form-intro {
  max-width: 50ch;
  margin: 1rem auto;
  text-align: center;
  color: var(--lg-form-text);
}

.custom-form {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--lg-form-font);
  color: var(--lg-form-text);
}

.custom-form .field-group {
  margin-bottom: var(--lg-form-gap);
}

.custom-form .field-group .field-group {
  margin-bottom: 0;
}

.custom-form .field-half {
  display: block;
  width: 100%;
  margin-right: 0;
}

.custom-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--lg-form-label-size);
  font-weight: 600;
  color: var(--lg-form-heading);
}

.custom-form .form-input,
.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form input[type="url"],
.custom-form input[type="number"],
.custom-form input[type="date"],
.custom-form input[type="time"],
.custom-form input[type="datetime-local"],
.custom-form select,
.custom-form textarea {
  margin-bottom: 0;
  width: 100%;
  height: var(--lg-form-input-height);
  padding: 0 16px;
  border: 1px solid var(--lg-form-input-border);
  border-radius: var(--lg-form-input-radius);
  background: var(--lg-form-input-bg);
  color: var(--lg-form-text);
  font-size: var(--lg-form-input-size);
  line-height: 1.2;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.custom-form textarea {
  min-height: var(--lg-form-textarea-min-height);
  padding: 12px 16px;
  resize: vertical;
}

.custom-form .form-input:focus,
.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: var(--lg-form-input-border-focus);
  box-shadow: 0 0 0 3px rgba(11, 97, 199, 0.12);
}

.custom-form select {
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.custom-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}

.custom-form .form-check-input,
.custom-form input[type="checkbox"],
.custom-form input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #333;
  cursor: pointer;
}

.custom-form .form-check-label {
  display: inline;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lg-form-text);
}

.custom-form .form-check-label a {
  color: #167ac6;
  text-decoration: underline;
}

.custom-form .form-button,
.custom-form .step-next,
.custom-form .step-back,
.custom-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: var(--lg-form-button-radius);
  font-family: var(--lg-form-font);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.2s ease;
}

.custom-form .form-button,
.custom-form .step-next,
.custom-form button[type="submit"] {
  background: var(--lg-form-button-bg);
  color: var(--lg-form-button-text);
}

.custom-form .step-back {
  background: #efefef;
  color: #333;
  border: 1px solid #d0d0d0;
}

.custom-form .form-button:hover,
.custom-form .step-next:hover,
.custom-form button[type="submit"]:hover {
  background: var(--lg-form-button-bg-hover);
}

.custom-form .form-button:disabled,
.custom-form .step-next:disabled,
.custom-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-form .form-status {
  margin-top: 12px;
}

#footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  padding: 2rem 0 2.5rem;
}

.footer-links,
.footer-links-preview {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.footer-links a,
.footer-links-preview a,
.footer-links p {
  font-size: 0.8rem;
  line-height: 1;
  color: #333;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Links spacing */
.footer-links a {
  position: relative;
  padding: 0 0.75rem;
}

.footer-links-preview {
  width: 100%;
}

.footer-links a:first-child,
.footer-links-preview a:first-child {
  padding-left: 0;
}

.footer-links a:last-child,
.footer-links-preview a:last-child {
  padding-right: 0;
}

/* Separator bullet */
.footer-links a + a::before,
.footer-links-preview a + a::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  color: inherit;
  opacity: 0.7;
}

/* Mobile layout */
@media (max-width: 767px) {
  .footer-links,
  .footer-links-preview {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-links a,
  .footer-links-preview a {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    text-align: center;
  }

  .footer-links a + a::before,
  .footer-links-preview a + a::before {
    content: none;
  }
}

.disclaimer {
  margin: 0 0 1rem;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.copyright {
  display: block;
  text-align: center;
  color: #727272;
  font-size: 0.9rem;
}

@media screen and (min-width: 64em) {
  #hero {
    --hero-min-height: clamp(320px, 42vh, 500px);
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  p,
  li {
    font-size: 1.1rem;
  }

  .yellow-box {
    padding: 2rem;
    margin: 2rem 0;
  }

  .lead-form-section {
    padding: 2rem;
  }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  #hero {
    --hero-min-height: clamp(280px, 34vw, 400px);
  }
}

@media screen and (max-width: 39.9375em) {
  .logo img {
    max-height: 35px;
  }

  .custom-form .field-half {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .custom-form .form-button,
  .custom-form .step-next,
  .custom-form .step-back,
  .custom-form button[type="submit"] {
    min-height: 52px;
    font-size: 1.1rem;
  }

  #hero {
    --hero-min-height: clamp(220px, 36svh, 300px);
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .article-byline-row {
    gap: 0.2rem 0.35rem;
  }

  .article-meta {
    align-items: flex-start;
  }

  .reading-time {
    width: fit-content;
  }

  .form-wrapper {
    padding: 1.25rem;
  }

  .footer-links-preview {
    flex-direction: column;
    align-items: center;
  }
}
