@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

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

    :root {
      --navy: #173d6b;
      --blue: #2461a6;
      --blue-mid: #3579c4;
      --sky: #ddeaf8;
      --bg: #f3f7fc;
      --surface: #ffffff;
      --text: #1b2a3b;
      --muted: #4b617e;
      --border: #c5d6ea;
      --accent: #d97c1a;
      --success: #18704a;
      --radius: 10px;
      --radius-lg: 16px;
    }

    body {
      font-family: "Open Sans", "Open Sans", system-ui, sans-serif;
      font-size: 16px;
      line-height: 1.67;
      color: var(--text);
      background: var(--bg);
    }

    h1, h2, h3, h4 {
      font-family: "Playfair Display", "Playfair Display", Georgia, serif;
      line-height: 1.22;
      color: var(--navy);
    }

    a { color: var(--blue); text-decoration: underline; }
    a:hover { color: var(--navy); }

    /* ── HEADER ── */
    .site-header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
      position: sticky;
      top: 0;
      z-index: 200;
      box-shadow: 0 1px 4px rgba(23,61,107,0.06);
    }
    .hdr-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .wordmark {
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--navy);
      text-decoration: none;
      letter-spacing: -0.025em;
    }
    .wordmark em { color: var(--blue); font-style: normal; }
    .hdr-end {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }
    .hdr-ad,
    .hdr-badge {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--muted);
      background: var(--sky);
      border: 1px solid var(--border);
      padding: 4px 12px;
      border-radius: 20px;
      white-space: nowrap;
    }

    /* ── PAGE WRAP ── */
    .page-wrap {
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ── HERO ── */
    .hero { padding: 44px 0 36px; }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 44px;
      align-items: start;
    }
    .hero-copy {}
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--sky);
      color: var(--blue);
      font-size: 0.79rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 18px;
      border: 1px solid var(--border);
    }
    .hero-eyebrow::before { content: '●'; color: var(--accent); font-size: 0.55rem; }
    .hero-h1 {
      font-size: clamp(1.7rem, 3.4vw, 2.45rem);
      margin-bottom: 18px;
      color: var(--navy);
      font-weight: 700;
    }
    .hero-lead {
      font-size: 1.02rem;
      color: var(--muted);
      margin-bottom: 26px;
      max-width: 540px;
    }
    .hero-trust-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .trust-pill {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 0.83rem;
      color: var(--muted);
      font-weight: 500;
    }
    .trust-pill .t-icon {
      width: 22px;
      height: 22px;
      background: var(--sky);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      color: var(--blue);
      flex-shrink: 0;
      font-weight: 700;
    }
    .hero-img-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 6px 28px rgba(23,61,107,0.11);
      border: 1px solid var(--border);
    }
    .hero-img-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      display: block;
    }
    .img-caption {
      padding: 13px 16px;
      font-size: 0.8rem;
      color: var(--muted);
      background: var(--sky);
      border-top: 1px solid var(--border);
      line-height: 1.45;
    }

    /* ── CONTENT + SIDEBAR LAYOUT ── */
    .content-wrap {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
      gap: 44px;
      align-items: start;
      padding-bottom: 52px;
      width: 100%;
      max-width: 100%;
    }
    .main-col,
    .sidebar-col {
      min-width: 0;
      max-width: 100%;
    }
    .sidebar-col { position: sticky; top: 80px; }

    /* ── SECTION COMMON ── */
    .sec { margin-bottom: 48px; }
    .sec-label {
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 6px;
    }
    .sec-heading {
      font-size: 1.45rem;
      color: var(--navy);
      margin-bottom: 14px;
    }
    .sec-body {
      color: var(--muted);
      font-size: 0.96rem;
      margin-bottom: 20px;
    }

    /* ── BENEFITS GRID ── */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 4px;
      width: 100%;
      max-width: 100%;
    }
    .benefit-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      min-width: 0;
      overflow-wrap: break-word;
      word-break: break-word;
    }
    .benefit-icon { font-size: 1.35rem; margin-bottom: 10px; display: block; }
    .benefit-title {
      font-family: "Playfair Display", Georgia, serif;
      font-size: 0.97rem;
      color: var(--navy);
      font-weight: 700;
      margin-bottom: 6px;
    }
    .benefit-text { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

    /* ── PROCESS STEPS ── */
    .process-steps { display: flex; flex-direction: column; }
    .process-step { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
    .process-step:last-child { padding-bottom: 0; }
    .step-num-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
    .step-num {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--navy);
      color: #fff;
      font-family: "Playfair Display", Georgia, serif;
      font-weight: 700;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      z-index: 1;
    }
    .step-line {
      width: 2px;
      flex: 1;
      background: var(--border);
      margin-top: 5px;
    }
    .process-step:last-child .step-line { display: none; }
    .step-body { padding-top: 6px; }
    .step-title { font-family: "Playfair Display", Georgia, serif; font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 5px; }
    .step-text { font-size: 0.88rem; color: var(--muted); }

    /* ── COMPARISON TABLE ── */
    .cmp-wrap {
      margin-top: 4px;
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }
    .cmp-table {
      width: 100%;
      max-width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 0.88rem;
      table-layout: fixed;
    }
    .cmp-table thead th {
      background: var(--navy);
      color: #fff;
      font-family: "Playfair Display", Georgia, serif;
      font-size: 0.88rem;
      padding: 13px 15px;
      text-align: center;
      font-weight: 600;
      border-right: 1px solid rgba(255,255,255,0.12);
    }
    .cmp-table thead th:first-child { text-align: left; border-radius: var(--radius) 0 0 0; }
    .cmp-table thead th:last-child { border-radius: 0 var(--radius) 0 0; background: var(--blue); border-right: none; }
    .cmp-table thead th:nth-child(3) { border-right: none; }
    .cmp-table tbody td {
      padding: 11px 15px;
      border-bottom: 1px solid var(--border);
      border-right: 1px solid var(--border);
      vertical-align: middle;
      text-align: center;
      color: var(--muted);
    }
    .cmp-table tbody td:first-child {
      text-align: left;
      font-weight: 500;
      color: var(--navy);
      background: var(--bg);
      border-right: 1px solid var(--border);
    }
    .cmp-table tbody td:last-child {
      background: var(--sky);
      color: var(--navy);
      font-weight: 600;
      border-right: none;
    }
    .cmp-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--radius); border-bottom: none; }
    .cmp-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius) 0; border-bottom: none; }
    .cmp-table tbody tr:last-child td { border-bottom: none; }
    .chk { color: var(--success); font-weight: 700; font-size: 1rem; }
    .xmk { color: #b83232; font-weight: 700; font-size: 1rem; }
    .ntl { color: var(--muted); font-size: 0.84rem; }
    .cmp-note { font-size: 0.78rem; color: var(--muted); margin-top: 10px; font-style: italic; }


    /* ── FORM CARD ── */
    .form-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 36px rgba(23,61,107,0.13);
      border: 1px solid var(--border);
      overflow: hidden;
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }
    .form-card-hdr {
      background: var(--navy);
      color: #fff;
      padding: 20px 22px;
    }
    .form-card-hdr h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; color: #fff; margin-bottom: 6px; }
    .form-card-hdr p { font-size: 0.81rem; color: rgba(255,255,255,0.72); line-height: 1.48; }
    .form-body { padding: 20px 22px; }
    .form-group { margin-bottom: 13px; }
    .form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
    .form-control {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 10px 13px;
      border: 1px solid var(--border);
      border-radius: 7px;
      font-size: 0.88rem;
      color: var(--text);
      background: var(--bg);
      transition: border-color 0.15s, background 0.15s;
      appearance: auto;
      font-family: "Open Sans", system-ui, sans-serif;
    }
    .form-control:focus { outline: none; border-color: var(--blue); background: #fff; }
    .form-control.err { border-color: #b83232; }
    .field-err { font-size: 0.76rem; color: #b83232; margin-top: 3px; min-height: 14px; }
    .consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; }
    .consent-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
    .consent-text {
      font-size: 0.77rem;
      color: var(--muted);
      line-height: 1.52;
      min-width: 0;
      overflow-wrap: break-word;
      word-break: break-word;
    }
    .consent-text a { color: var(--blue); }
    .btn-submit {
      width: 100%;
      background: var(--blue);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      padding: 13px 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-family: "Open Sans", system-ui, sans-serif;
      letter-spacing: 0.01em;
      transition: background 0.15s;
      line-height: 1;
    }
    .btn-submit:hover { background: var(--navy); }
    .form-footnote { font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 9px; }

    /* ── SUCCESS STATE ── */
    .success-state { display: none; padding: 30px 22px; text-align: center; }
    .success-icon {
      width: 58px; height: 58px;
      background: #e5f5ec;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      font-size: 1.7rem;
    }
    .success-state h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.1rem; color: var(--success); margin-bottom: 8px; }
    .success-state p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

    /* ── FOOTER ── */
    .site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 52px 0 28px; }
    .footer-grid {
      max-width: 1120px;
      margin: 0 auto 36px;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 40px;
    }
    .footer-col-title { font-family: "Playfair Display", Georgia, serif; font-size: 0.93rem; color: #fff; margin-bottom: 14px; font-weight: 600; }
    .footer-copy { font-size: 0.81rem; line-height: 1.68; }
    .footer-copy a { color: rgba(255,255,255,0.65); text-decoration: underline; }
    .footer-copy a:hover { color: #fff; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
    .footer-links li a { font-size: 0.83rem; color: rgba(255,255,255,0.65); text-decoration: underline; cursor: pointer; }
    .footer-links li a:hover { color: #fff; }
    .footer-divider { max-width: 1120px; margin: 0 auto 20px; padding: 0 24px; border-top: 1px solid rgba(255,255,255,0.11); padding-top: 20px; }
    .footer-bottom { max-width: 1120px; margin: 0 auto; padding: 0 24px; font-size: 0.77rem; color: rgba(255,255,255,0.46); line-height: 1.65; }
    .footer-legal-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
    .footer-legal-row a { color: rgba(255,255,255,0.5); font-size: 0.77rem; text-decoration: underline; cursor: pointer; }
    .footer-legal-row a:hover { color: #fff; }

    /* ── MODALS ── */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(8,22,44,0.68);
      z-index: 1000;
      align-items: flex-start;
      justify-content: center;
      padding: 52px 16px 32px;
      overflow-y: auto;
    }
    .modal-overlay:target { display: flex; }
    .modal-box {
      background: #fff;
      border-radius: var(--radius-lg);
      max-width: 680px;
      width: 100%;
      padding: 36px 38px;
      position: relative;
      box-shadow: 0 16px 56px rgba(0,0,0,0.22);
    }
    .modal-box h2 { font-size: 1.28rem; color: var(--navy); margin-bottom: 16px; }
    .modal-close {
      position: absolute; top: 16px; right: 18px;
      font-size: 1.5rem; color: var(--muted);
      cursor: pointer; line-height: 1; padding: 2px 6px;
      text-decoration: none;
      background: none;
      border: none;
    }
    .modal-close:hover { color: var(--navy); }
    .modal-body { font-size: 0.87rem; color: var(--muted); line-height: 1.72; }
    .modal-body h3 { font-family: "Playfair Display", Georgia, serif; font-size: 0.99rem; color: var(--navy); margin: 20px 0 7px; }
    .modal-body p { margin-bottom: 11px; }
    .modal-body ul { margin: 6px 0 12px 20px; }
    .modal-body ul li { margin-bottom: 4px; }

    .modal-box.modal-thanks {
      text-align: center;
      padding: 40px 32px 36px;
    }
    .modal-thanks h2 {
      font-size: 1.2rem;
      color: var(--success);
      margin-bottom: 12px;
    }
    .thanks-icon {
      width: 58px;
      height: 58px;
      background: #e5f5ec;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 1.7rem;
      color: var(--success);
      font-weight: 700;
    }
    .thanks-text {
      font-size: 0.9rem;
      color: var(--muted);
      line-height: 1.6;
      margin: 0;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 840px) {
      .hero-grid { grid-template-columns: minmax(0, 1fr); }
      .hero-img-card { max-width: 100%; width: 100%; }
      .content-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
      }
      .sidebar-col { position: static; order: -1; width: 100%; }
      .benefits-grid { grid-template-columns: minmax(0, 1fr); }
      .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    }

@media (max-width: 700px) {
  .cmp-table,
  .cmp-table thead,
  .cmp-table tbody,
  .cmp-table tr {
    display: block;
    width: 100%;
  }
  .cmp-table thead {
    display: none;
  }
  .cmp-table tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
  }
  .cmp-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-right: none;
    text-align: right;
    background: transparent !important;
    font-size: 0.84rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .cmp-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    flex: 1 1 40%;
    min-width: 0;
  }
  .cmp-table tbody td:first-child {
    display: block;
    text-align: left;
    font-weight: 700;
    color: var(--navy);
    background: var(--sky) !important;
    padding: 12px;
  }
  .cmp-table tbody td:first-child::before {
    display: none;
  }
  .cmp-table tbody td:last-child {
    border-bottom: none;
    background: var(--sky) !important;
    font-weight: 600;
    color: var(--navy);
  }
  .cmp-table tbody tr:last-child td:first-child,
  .cmp-table tbody tr:last-child td:last-child {
    border-radius: 0;
  }
}

html, body, main, section, .page-wrap, .hero-grid, .content-wrap, .benefits-grid, .cmp-wrap, .form-card {
  overflow-x: clip;
}

.legal-content {
  word-break: break-word;
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hdr-ad,
  .hdr-badge {
    word-break: break-all;
  }
  .wordmark {
    word-break: break-all;
    min-width: 0;
  }
  .footer-col-title,
  .footer-copy,
  .footer-bottom {
    word-break: break-all;
  }
  .hdr-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .page-wrap { padding: 0 12px; }
  .hdr-inner { padding: 0 12px; }
  .hero { padding: 26px 0 20px; }
  .hero-h1 { font-size: 1.48rem; }
  .content-wrap { gap: 20px; padding-bottom: 32px; }
  .benefits-grid { gap: 10px; }
  .benefit-card { padding: 14px; }
  .benefit-title { font-size: 0.92rem; }
  .benefit-text { font-size: 0.82rem; }
  .form-body { padding: 14px; }
  .form-card-hdr { padding: 14px; }
  .form-card-hdr h3 { font-size: 1rem; }
  .form-control {
    font-size: 16px;
    padding: 10px 12px;
  }
  .btn-submit {
    font-size: 0.9rem;
    padding: 12px 14px;
  }
  .consent-text { font-size: 0.74rem; }
  .sec-heading { font-size: 1.22rem; }
  .modal-box { padding: 26px 16px; }
  .modal-box.modal-thanks { padding: 32px 20px 28px; }
  .footer-grid,
  .footer-divider,
  .footer-bottom { padding-left: 12px; padding-right: 12px; }
}
