/* Approved header dimensions and shared mobile touch controls. */
.masthead { min-height:75px !important; }
.masthead .brand { width:auto; height:auto; min-height:72px; overflow:visible; }
.masthead .brand img { height:55px; width:auto; aspect-ratio:1102 / 287; max-width:none; }
.nav-inner { display:flex; align-items:stretch; justify-content:center; gap:42px; }
.fv-logo { height:auto; min-height:67px; overflow:visible; }
.mobile-nav-account { display:none; }
@media (max-width:1000px) {
  .site-header { position:relative; z-index:1100; background:white; }
  .masthead { min-height:80px; gap:14px; }
  .masthead .brand { width:auto; height:auto; min-width:0; margin:0; }
  .header-help,.brand-caption { display:none; }
  .menu-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:10px; margin-left:auto; flex-shrink:0; border:0; border-radius:10px; background:transparent; color:#111a70; }
  .menu-toggle .menu-bars { display:grid; gap:5px; width:23px; margin:0; }
  .menu-bars i { display:block; width:23px; height:2px; border-radius:2px; background:currentColor; transition:transform .2s,opacity .2s; }
  .menu-toggle[aria-expanded=true] { background:#f0f3fb; }
  .menu-toggle[aria-expanded=true] i:first-child { transform:translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] i:nth-child(2) { opacity:0; }
  .menu-toggle[aria-expanded=true] i:last-child { transform:translateY(-7px) rotate(-45deg); }
  .primary-nav { display:none; position:absolute; top:100%; left:0; right:0; max-height:calc(100dvh - 124px); overflow-y:auto; overscroll-behavior:contain; background:#fff; border-top:1px solid #e5e9f1; border-bottom:1px solid #e5e9f1; box-shadow:0 16px 24px #0b124f18; }
  .primary-nav.is-open { display:block; }
  .nav-inner { display:flex; flex-direction:column; gap:2px; padding-block:12px; }
  .primary-nav a,.primary-nav a:first-child { width:100%; min-width:0; min-height:44px; display:flex; align-items:center; padding:10px 14px; white-space:normal; font-size:14px; font-weight:600; border-radius:6px; border:0; color:#243453; background:transparent; }
  .primary-nav a:hover,.primary-nav a[aria-current=page] { background:#eff3fc; color:#111a70; box-shadow:inset 3px 0 #111a70; }
  .primary-nav .nav-apply { width:100%; min-height:48px; justify-content:space-between; margin:10px 0; background:#151b76; color:#fff; padding-inline:16px; }
  .mobile-nav-account { display:flex; flex-wrap:wrap; justify-content:space-between; border-top:1px solid #e5e9f1; padding-top:6px; }
  .primary-nav .mobile-nav-account a { width:auto; font-size:12px; gap:7px; padding:8px 4px; }
  .mobile-nav-account svg { width:15px; height:15px; }
}
@media (max-width:360px) {
  .masthead { gap:4px; }
  .masthead .brand img { height:auto; width:calc(100vw - 98px); max-width:211px; }
}
@media (max-width:760px) {
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  .utility-inner { min-height:40px; }
  .utility-inner>span { display:none; }
  .utility-inner>div { width:100%; justify-content:space-between; gap:12px; }
  .utility-inner a,.utility-inner .account-link { display:inline-flex; align-items:center; min-height:44px; font-size:12px; }
  .masthead { min-height:76px; }
  .fv-links a,.fv-links button,.fv-contact a { min-height:44px; display:flex; align-items:center; }
  .fv-base { overflow-wrap:anywhere; }
  .page-breadcrumb { align-items:center; gap:10px; }
  .page-breadcrumb a { min-height:36px; display:inline-flex; align-items:center; }
  .page-faq-item summary { min-height:48px; }
  #faq-search,#community-search { font-size:16px; }
  .faq-search button,.faq-categories button { min-height:44px; }
  .faq-human-help { display:block; padding:20px; }
  .dialog-close,.contact-close { min-width:44px; min-height:44px; }
}
@media (max-width:575.98px) {
  .application-route .site-header { position:sticky; top:0; }
  .application-route .utility-bar { display:none; }
  .application-route .masthead { min-height:72px; }
  .application-route .primary-nav { max-height:calc(100dvh - 72px); }
}

.pricing-hero-points :is(.pricing-point-full,.pricing-point-mobile) { font:inherit; }
.pricing-hero-points .pricing-point-mobile { display:none; }

/* Phone layouts: keep account actions together and the footer easy to scan. */
@media (max-width:760px) {
  :is(.login-page,.signup-page,.recovery-page) .account-submit {
    justify-content:center; gap:10px;
  }
  .fv-three .fv-wrap { width:calc(100% - 40px); }
  .fv-three .fv-ribbon { padding-block:24px; }
  .fv-three .fv-ribbon > .fv-wrap { gap:16px; }
  .fv-three .fv-ribbon h2 { font-size:22px; margin-bottom:10px; }
  .fv-three .fv-ribbon p { line-height:1.65; }
  .fv-three .fv-contact { width:100%; gap:0; }
  .fv-three .fv-contact a { gap:10px; min-height:44px; }
  .fv-three .fv-contact .icon { margin-top:0; }
  .fv-three .fv-light-grid { gap:24px 20px; padding-top:26px; }
  .fv-three .fv-logo { width:248px; min-height:0; height:auto; }
  .fv-three .fv-intro { max-width:none; margin:16px 0; font-size:13px; line-height:1.65; }
  .fv-three .fv-values { flex-direction:row; flex-wrap:wrap; gap:8px 18px; font-size:11px; }
  .fv-three .fv-values span { gap:7px; }
  .fv-three .fv-links { display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:0; }
  .fv-three .fv-links h2 { font-size:14px; margin:0 0 8px; }
  .fv-three .fv-links a { min-height:44px; font-size:12px; line-height:1.45; padding-block:6px; }
  .fv-three .fv-light-grid > .fv-links:last-child {
    grid-column:1 / -1; grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:20px; border-top:1px solid var(--fv-border); padding-top:20px;
  }
  .fv-three .fv-light-grid > .fv-links:last-child h2 { grid-column:1 / -1; }
  .fv-three .fv-base { margin-top:20px; padding-block:16px 24px; gap:8px; }

  /* Three equal badges stay on one row, including narrow 320px phones. */
  .pricing-page .pricing-hero { padding:26px 18px 24px; }
  .pricing-page .pricing-hero h1 { font-size:clamp(28px,7.5vw,32px); letter-spacing:-.8px; }
  .pricing-hero > p { margin:16px auto 20px; line-height:1.65; }
  .pricing-hero-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; align-items:stretch; }
  .pricing-hero-points span {
    min-width:0; flex-direction:column; justify-content:flex-start; gap:7px;
    padding:10px 4px; border-radius:8px; font-size:11px; line-height:1.3; white-space:nowrap;
  }
  .pricing-hero-points .icon { width:18px; height:18px; }
  .pricing-hero-points .pricing-point-full { display:none; }
  .pricing-hero-points .pricing-point-mobile { display:inline; }

  /* Put each paragraph and action across the card, never in a narrow column. */
  .pricing-page :is(.pricing-start,.pricing-reassurance) {
    display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px;
    padding:20px; border-radius:16px; align-items:center;
  }
  .pricing-page :is(.pricing-start,.pricing-reassurance) > div { display:contents; }
  .pricing-page :is(.pricing-start,.pricing-reassurance) h2 { grid-column:2; margin:0; font-size:20px; line-height:1.3; }
  .pricing-page :is(.pricing-start,.pricing-reassurance) p { grid-column:1 / -1; font-size:14px; line-height:1.65; }
  .pricing-page :is(.pricing-start,.pricing-reassurance) > a {
    grid-column:1 / -1; width:100%; min-height:48px; margin:4px 0 0;
    display:flex; justify-content:center; align-items:center; gap:10px;
    padding:12px 16px; border-radius:8px; font-size:14px; text-decoration:none;
  }
  .pricing-page .pricing-start { margin-top:18px; background:#f3f6ff; border:1px solid #dce4f6; }
  .pricing-page .pricing-start h2 { color:#111a70; }
  .pricing-page .pricing-start p { color:#526178; }
  .pricing-page .pricing-start-icon { width:36px; height:36px; color:#17217e; }
  .pricing-page .pricing-start > .button { background:#111a70; color:#fff; }
  .pricing-page .pricing-start > .button:hover { background:#0b124f; }
  .pricing-page .pricing-reassurance { margin-top:28px; }
  .pricing-page .pricing-assurance-icon .icon { width:36px; height:36px; }
  .pricing-page .pricing-reassurance > a { background:#fff; color:#116b50; }
  .pricing-page .pricing-reassurance > a:hover { background:#edf9f1; }
}
@media (max-width:575.98px) {
  :is(.login-page,.signup-page,.recovery-page) > .page-faq { margin-inline:20px; }
  .signup-page > .signup-faq { padding:16px; border-radius:12px; }
}
