/* Shared visual system for the redesigned marketing pages.
   Loaded after page CSS and site-shell.css. */

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 1000;
  transform: translateY(-120%);
  background: #F05001;
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus {
  transform: none;
}

.site-header .header-logo,
.site-header .header-logo-img {
  height: 64px;
  max-width: 210px;
}

.site-footer {
  background: #0E1B2E;
  padding: 56px 24px 32px;
}
.footer-logo-img {
  height: 56px !important;
  width: auto !important;
  max-width: 220px !important;
}
.footer-tagline,
.footer-col-title {
  color: #F5F3F0;
  letter-spacing: 0.04em;
}
.footer-about,
.footer-links a,
.footer-copy,
.footer-legal,
.footer-contact a {
  color: #E4DFD8;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}
.footer-legal,
.footer-about {
  max-width: 36rem;
}

.contact-section .form-label,
.contact-section .contact-body,
.contact-section .form-intro {
  color: #F5F3F0;
}

.contact-section .form-input,
.contact-section textarea.form-input {
  background: #ffffff;
  color: #0E1B2E;
  border: 1px solid #C8C2BA;
  border-radius: 6px;
  font-size: 16px;
}
.footer-top {
  gap: 32px;
}
@media (max-width: 800px) {
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
  .footer-legal {
    text-align: left;
  }
}

.mobile-nav a {
  color: #0E1B2E;
  text-transform: none;
  letter-spacing: 0;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #0E1B2E;
  text-decoration: underline;
}
.mobile-menu-btn:focus-visible,
.ef-btn:focus-visible,
.ef-text-link:focus-visible,
.download-modal-close:focus-visible,
.ef-page summary:focus-visible {
  outline: 2px solid #F05001;
  outline-offset: 3px;
}

body.ef-page {
  background: #F5F3F0;
  color: #0E1B2E;
  overflow-x: hidden;
}

.ef-page main {
  display: block;
}

.ef-wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.ef-wrap--narrow {
  width: min(760px, calc(100% - 48px));
}

.ef-section {
  padding: 80px 0;
}

.ef-section--white {
  background: #ffffff;
}

.ef-hero,
.ef-band {
  background: #0E1B2E;
  color: #F5F3F0;
}

.ef-hero {
  padding: 148px 0 72px;
}

.ef-band {
  padding: 72px 0;
}

.ef-hero h1,
.ef-hero h2,
.ef-band h2,
.ef-hero p,
.ef-band p,
.ef-hero li,
.ef-band li {
  color: #F5F3F0;
}

.ef-hero h1,
.ef-page h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 16em;
}

.ef-page h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.2;
  margin: 0 0 16px;
  text-align: left;
  color: #0E1B2E;
}

.ef-band h2,
.ef-hero h2 {
  color: #F5F3F0;
}

.ef-page h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #0E1B2E;
}

.ef-kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F05001;
}

.ef-hero .ef-kicker {
  color: #FFB088;
}

.ef-lead,
.ef-page .ef-prose p,
.ef-page li {
  font-size: 18px;
  line-height: 1.65;
  max-width: 65ch;
}

.ef-lead {
  margin: 0 0 20px;
}

.ef-note {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 65ch;
}

.ef-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.ef-photo {
  margin: 0;
  background: #16233a;
  border-radius: 12px;
  overflow: hidden;
}

.ef-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ef-photo figcaption {
  padding: 12px 16px 16px;
  color: #E4DFD8;
  font-size: 15px;
  line-height: 1.5;
}

.ef-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

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

.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 2px solid #F05001;
  background: #F05001;
  color: #0E1B2E;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ef-btn:hover,
.site-header .header-nav a.nav-cta-cold:hover,
.site-header.scrolled .header-nav a.nav-cta-cold:hover,
.mobile-nav a.mobile-nav-cta:hover,
.mobile-nav a.mobile-nav-cta:focus,
.download-modal .btn-orange:hover,
.download-modal .pnl-download-btn:hover,
.ef-page .btn-orange:hover {
  background: #FF6A33;
  border-color: #FF6A33;
  color: #0E1B2E;
}

.site-header .header-nav a.nav-cta-cold,
.site-header.scrolled .header-nav a.nav-cta-cold,
.mobile-nav a.mobile-nav-cta,
.download-modal .btn-orange,
.download-modal .pnl-download-btn,
.ef-page .btn-orange {
  background: #F05001;
  color: #0E1B2E;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}

.ef-btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.ef-text-link {
  color: #0E1B2E;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ef-hero .ef-text-link,
.ef-band .ef-text-link {
  color: #F5F3F0;
}

.ef-text-link:hover {
  color: #0E1B2E;
  text-decoration-thickness: 2px;
}

.ef-hero .ef-text-link:hover,
.ef-band .ef-text-link:hover {
  color: #F5F3F0;
}

.ef-quiet {
  margin: 14px 0 0;
  font-size: 16px;
}

.ef-list,
.ef-questions,
.ef-plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ef-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.ef-questions li {
  margin: 0;
  padding: 4px 0 4px 14px;
  border-left: 3px solid #F05001;
  max-width: none;
}

.ef-groups,
.ef-columns,
.ef-tools,
.ef-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ef-columns--2,
.ef-tools--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ef-group h3,
.ef-card h3,
.ef-tool h3 {
  margin-bottom: 10px;
}

.ef-plain li,
.ef-group li,
.ef-card li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  max-width: none;
}

.ef-plain li::before,
.ef-group li::before,
.ef-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F05001;
}

.ef-card,
.ef-tool,
.ef-quote,
.ef-form,
.ef-step {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
}

.ef-band .ef-card,
.ef-section--white .ef-card {
  background: #F5F3F0;
}

.ef-card p,
.ef-tool p,
.ef-step p,
.ef-quote p {
  margin: 0 0 12px;
  max-width: none;
}

.ef-card .ef-btn,
.ef-center .ef-btn {
  margin-top: 8px;
}

.ef-steps {
  display: grid;
  gap: 16px;
}

.ef-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.ef-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F05001;
  color: #0E1B2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ef-tool img,
.ef-preview img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(14, 27, 46, 0.12);
  background: #ffffff;
  margin-bottom: 14px;
}

.ef-quote {
  margin: 0;
}

.ef-quote blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.55;
}

.ef-quote figcaption {
  font-size: 15px;
  color: #3E4A5A;
}

.ef-faq {
  display: grid;
  gap: 12px;
}

.ef-faq details {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 18px;
}

.ef-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0E1B2E;
}

.ef-faq details p {
  margin: 12px 0 0;
}

.ef-center {
  text-align: center;
}

.ef-center p,
.ef-center h2 {
  margin-left: auto;
  margin-right: auto;
}

.ef-center h2 {
  text-align: center;
}

.ef-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 15px;
  color: #0E1B2E;
}

.ef-form .form-field,
.ef-form .ef-field {
  margin-bottom: 18px;
}

.ef-form input,
.ef-form select,
.ef-form textarea,
.download-modal input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #C8C2BA;
  border-radius: 6px;
  background: #ffffff;
  color: #0E1B2E;
  font-size: 16px;
  font-family: var(--font-body);
}

.ef-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ef-form input:focus,
.ef-form select:focus,
.ef-form textarea:focus,
.download-modal input:focus {
  outline: 2px solid #F05001;
  outline-offset: 2px;
  border-color: #F05001;
}

.ef-form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #FDE8E4;
  color: #6E1D12;
  font-weight: 600;
}

.ef-optional {
  font-weight: 500;
  color: #3E4A5A;
}

.ef-compare article {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ef-compare h2 {
  font-size: 24px;
}

.ef-compare dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F05001;
  margin-bottom: 4px;
}

.ef-compare dd {
  margin: 0 0 14px;
  line-height: 1.55;
}

.ef-compare article .ef-btn {
  margin-top: auto;
}

.ef-table-note {
  margin-top: 20px;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.download-modal.is-open {
  display: flex;
}

.download-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 46, 0.62);
}

.download-modal-box {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #ffffff;
  color: #0E1B2E;
  border-radius: 12px;
  padding: 28px 24px 24px;
}

.download-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #0E1B2E;
  font-size: 28px;
  cursor: pointer;
}

.download-modal-title {
  margin: 0 32px 8px 0;
  color: #0E1B2E;
  font-size: 24px;
}

.download-modal-subtitle,
.download-modal-success p {
  color: #0E1B2E;
  max-width: none;
}

.download-modal .form-label,
.download-modal .form-label-light {
  color: #0E1B2E;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.download-modal .btn-orange,
.download-modal .pnl-download-btn,
.ef-page .btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: #F05001;
  color: #0E1B2E;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.download-modal .btn-orange:hover,
.download-modal .pnl-download-btn:hover,
.ef-page .btn-orange:hover {
  background: #FF6A33;
  color: #0E1B2E;
}

.pnl-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .ef-wrap,
  .ef-wrap--narrow {
    width: min(1080px, calc(100% - 32px));
  }

  .ef-section {
    padding: 56px 0;
  }

  .ef-hero {
    padding: 132px 0 48px;
  }

  .ef-split,
  .ef-questions,
  .ef-groups,
  .ef-columns,
  .ef-columns--2,
  .ef-tools,
  .ef-tools--2,
  .ef-compare,
  .ef-step {
    grid-template-columns: 1fr;
  }

  .ef-hero h1,
  .ef-page h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ef-actions,
  .ef-actions--center {
    align-items: stretch;
  }

  .ef-btn {
    width: 100%;
  }
}
