:root {
  --bs-primary: #155e75;
  --bs-secondary: #0f172a;
  --bs-success: #22c55e;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
  --bs-text: #0f172a;
  --bs-muted: #6b7280;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body,
.editor-styles-wrapper {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bs-text);
  background-color: #fff;
}

.editor-styles-wrapper [data-type^="custom/"] {
  max-width: none !important;
}

.editor-styles-wrapper [data-type^="custom/"] > .wp-block {
  max-width: none !important;
  width: 100%;
}

.editor-styles-wrapper .wp-farm-fullbleed {
  left: auto;
  right: auto;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.editor-styles-wrapper [data-type="custom/cards"] .block-editor-inner-blocks,
.editor-styles-wrapper [data-type="custom/benefits"] .block-editor-inner-blocks,
.editor-styles-wrapper [data-type="custom/steps"] .block-editor-inner-blocks,
.editor-styles-wrapper [data-type="custom/post-list"] .block-editor-inner-blocks {
  width: 100%;
}

.editor-styles-wrapper [data-type="custom/cards"] .block-editor-block-list__layout,
.editor-styles-wrapper [data-type="custom/benefits"] .block-editor-block-list__layout,
.editor-styles-wrapper [data-type="custom/steps"] .block-editor-block-list__layout,
.editor-styles-wrapper [data-type="custom/post-list"] .block-editor-block-list__layout {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  row-gap: var(--bs-gutter-y);
}

.editor-styles-wrapper [data-type="custom/cards"] .block-editor-block-list__layout > .block-editor-block-list__block,
.editor-styles-wrapper [data-type="custom/benefits"] .block-editor-block-list__layout > .block-editor-block-list__block,
.editor-styles-wrapper [data-type="custom/steps"] .block-editor-block-list__layout > .block-editor-block-list__block,
.editor-styles-wrapper [data-type="custom/post-list"] .block-editor-block-list__layout > .block-editor-block-list__block {
  width: 100%;
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

@media (min-width: 600px) {
  .editor-styles-wrapper [data-type="custom/cards"] .block-editor-block-list__layout > .block-editor-block-list__block,
  .editor-styles-wrapper [data-type="custom/benefits"] .block-editor-block-list__layout > .block-editor-block-list__block,
  .editor-styles-wrapper [data-type="custom/post-list"] .block-editor-block-list__layout > .block-editor-block-list__block {
    width: 50%;
  }

  .editor-styles-wrapper [data-type="custom/steps"] .block-editor-block-list__layout > .block-editor-block-list__block {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .editor-styles-wrapper [data-type="custom/steps"] .block-editor-block-list__layout > .block-editor-block-list__block {
    width: 33.3333%;
  }
}

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

a {
  color: var(--bs-primary);
  text-decoration: none;
}

a:hover {
  color: #0f4c63;
}

.wp-farm-fullbleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.container.wf-container-narrow {
  max-width: 100%;
}

@media (min-width: 992px) {
  .container.wf-container-narrow {
    max-width: 900px;
  }
}

@media (min-width: 1400px) {
  .container.wf-container-narrow {
    max-width: 960px;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.3333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.6667%;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.3333%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.w-100 {
  width: 100% !important;
}

.d-md-flex {
  display: none !important;
}

.d-md-none {
  display: flex !important;
}

@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }
  .d-md-none {
    display: none !important;
  }
}

.flex-column {
  flex-direction: column !important;
}

.flex-md-row {
  flex-direction: column !important;
}

@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row !important;
  }
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

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

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.text-center {
  text-align: center !important;
}

.text-white {
  color: #fff !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-dark {
  color: var(--bs-dark) !important;
}

.text-muted {
  color: var(--bs-muted) !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-black {
  font-weight: 800 !important;
}

.small {
  font-size: 0.875rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.display-6 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .display-5 {
    font-size: 3rem;
  }
  .display-6 {
    font-size: 2.5rem;
  }
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.08);
}

.shadow-lg {
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.rounded {
  border-radius: 0.75rem !important;
}

.rounded-lg {
  border-radius: 1rem !important;
}

.rounded-pill {
  border-radius: 999px !important;
}

.h-100 {
  height: 100% !important;
}

.border {
  border: 1px solid #e2e8f0 !important;
}

.bg-white {
  background-color: #fff !important;
}

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

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-success {
  background-color: var(--bs-success) !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

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

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.25rem;
  font-size: 1.05rem;
  border-width: 2px;
  border-radius: 0.9rem;
}

.btn-primary {
  background-color: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: #0f4c63;
  border-color: #0f4c63;
}

.btn-light {
  background-color: #fff;
  color: var(--bs-primary);
  border-color: #fff;
}

.btn-light:hover {
  background-color: #f1f5f9;
}

.btn-accent {
  background-color: var(--bs-success);
  color: #fff;
  border-color: var(--bs-success);
}

.btn-accent:hover {
  background-color: #16a34a;
  border-color: #16a34a;
}

.btn-success {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn-success:hover {
  background-color: #1faa52;
  border-color: #1faa52;
}

.btn-warning {
  background-color: #f97316;
  border-color: #f97316;
  color: #fff;
}

.btn-warning:hover {
  background-color: #ea580c;
  border-color: #ea580c;
}

.btn-outline-success {
  color: #16a34a;
  border-color: #25d366;
  background: transparent;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
}

.btn-outline-success:hover {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn-outline-warning {
  color: #ea580c;
  border-color: #f97316;
  background: transparent;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
}

.btn-outline-warning:hover {
  background-color: #f97316;
  border-color: #f97316;
  color: #fff;
}

.btn-outline-light {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: #fff;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.form-control:disabled {
  background: #f1f5f9;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.wf-card .wpcf7 input[type="submit"],
.wf-card .wpcf7 button[type="submit"] {
  display: block;
  width: fit-content;
  min-width: 170px;
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

/* CF7 hidden bookkeeping fields should stay hidden even when CF7 CSS is disabled (unsold mode). */
.wpcf7 .hidden-fields-container,
.wpcf7 fieldset.hidden-fields-container {
  display: none !important;
}

.wf-topbar {
  background: #166534;
}

.wf-topbar .btn {
  font-weight: 800;
}

.wf-topbar-cta {
  padding: 0.65rem 1.15rem;
  border-radius: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wf-topbar .container.d-md-none {
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.wf-topbar-mobile-message {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .wf-topbar-cta {
    padding: 0.75rem 1.35rem;
    border-radius: 0.6rem;
    font-size: 1rem;
  }
}

.wf-modal-backdrop[hidden],
.wf-modal[hidden] {
  display: none !important;
}

body.wf-modal-open {
  overflow: hidden;
}

.wf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 999;
}

.wf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow: auto;
}

.wf-modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2rem 4rem rgba(15, 23, 42, 0.25);
  margin-top: 2rem;
}

.wf-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

.wf-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin: 1.5rem 0 1rem 0;
}

.wf-modal-text {
  margin: 0 0 1rem 0;
  color: #334155;
}

.wf-modal-note {
  margin: 0;
  color: #0f172a;
}

.wf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e2e8f0;
}

.wf-nav-link {
  color: #64748b;
  font-weight: 500;
}

.wf-nav-link:hover {
  color: var(--bs-primary);
}

.wf-contents {
  display: contents;
}

.wf-gradient-primary {
  background: linear-gradient(180deg, #155e75 0%, #1d4ed8 100%);
}

.wf-section {
  padding: 4rem 0;
}

.wf-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bs-primary);
  text-align: center;
}

.wf-subtle-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wf-section-subtitle {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.wf-divider {
  width: 6rem;
  height: 4px;
  border-radius: 999px;
  margin: 1.5rem auto 3rem auto;
  background: linear-gradient(90deg, var(--bs-primary), #1d4ed8);
}

.wf-hero {
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.wf-hero-image {
  position: relative;
  overflow: hidden;
  will-change: background-position;
}

.wf-hero-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wf-hero-image .container {
  position: relative;
  z-index: 1;
}

.wf-hero .container {
  width: 100%;
}

.wf-hero-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.18);
}

.wf-hero-narrow {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.wf-hero .display-5 {
  font-size: 1.8rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .wf-hero .display-5 {
    font-size: 3rem;
  }
}

.wf-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
}

.wf-service-links {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.wf-service-links-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wf-service-links-item:last-child {
  border-bottom: 0;
}

.wf-service-links-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--bs-text);
  font-weight: 600;
}

.wf-service-links-link:hover {
  color: var(--bs-primary);
}

.wf-service-links-arrow {
  color: var(--bs-muted);
  font-weight: 800;
}

.wf-prose {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.wf-prose h4 {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
  color: #155d75;
  margin: 1.4rem 0 0.75rem 0;
}

.wf-legal h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin: 0 0 1.5rem 0;
}

.wf-legal h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2rem 0 0.75rem 0;
}

.wf-legal p {
  margin: 0 0 1rem 0;
}

.wf-legal a {
  text-decoration: underline;
}

.wf-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.wf-card-text {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.wf-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.wf-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #0f172a;
  font-weight: 500;
}

.wf-bullets li::before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
  font-weight: 800;
  margin-top: 0.1rem;
}

.wf-bullets-plain li::before {
  background: transparent;
  color: #16a34a;
}

@media (min-width: 992px) {
  .wf-about-right-inner {
    padding-left: 2.5rem;
  }
}

.wf-band {
  padding: 6rem 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.wf-band .container {
  width: 100%;
}

@media (min-width: 992px) {
  .wf-band .container {
    max-width: 980px;
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

.wf-faq {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.wf-faq-item {
  padding: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
  .wf-faq {
    max-width: calc(72ch + 3rem);
    margin-left: auto;
    margin-right: auto;
  }

  .wf-faq-item {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.wf-faq-item:first-child {
  border-top: none;
}

.wf-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: #64748b;
}

.wf-step {
  position: relative;
  padding: 2.5rem 2rem 2rem 2rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
  text-align: center;
  height: 100%;
}

.wf-step-badge {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 3.25rem;
  width: 3.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bs-primary), #1d4ed8);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0.75rem 1.25rem rgba(15, 23, 42, 0.18);
}

.wf-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  color: #64748b;
  font-size: 0.9rem;
}
