/* Terms and Conditions page — from jby-terms-and-conditions template */
#jb_body.page-terms {
  --ink:#2f2f39; --paper:#fcfcfd; --section:#f4f6f9; --navy:#41647b; --navy-d:#365466;
  --sand:#bdb19d; --mute:#575760; --line:rgba(0,0,0,0.08); --white:#fff;
  --maxw:1440px; --page-pad:40px;
  --label:#7c7c86; --label-2:#9a9aa2; --idx:#b3b3bb;
  background: var(--paper);
  color: var(--ink);
}
#jb_body.page-terms .progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:200;background:transparent}
#jb_body.page-terms .progress-bar{height:100%;background:var(--navy);width:0%;transition:width 80ms linear}
#jb_body.page-terms .skip{position:absolute;left:-9999px;top:0}
#jb_body.page-terms .skip:focus{left:40px;top:12px;z-index:300;background:#fff;color:var(--ink);padding:10px 16px;
  font-family:'Mesmerize',sans-serif;text-transform:uppercase;font-size:14px}

/* ============ PAGE HEAD ============ */
#jb_body.page-terms main{padding-top:128px}
#jb_body.page-terms .wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--page-pad)}
#jb_body.page-terms .pp-head{padding-top:48px}
#jb_body.page-terms .pp-head h1{font-family:'Mesmerize',sans-serif;font-weight:300;font-size:32px;line-height:48px;letter-spacing:0;
  text-transform:uppercase;color:#111;margin:0}
#jb_body.page-terms .pp-lead{font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:20px;line-height:32px;color:var(--ink);
  margin:14px 0 0;max-width:820px}

/* Meta strip: who / scope / where */

/* Intro panel */
#jb_body.page-terms .pp-intro{padding-top:40px}
#jb_body.page-terms .pp-intro-in{max-width:920px}
#jb_body.page-terms .pp-intro p{font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:17px;line-height:30px;color:var(--mute);margin:0 0 18px}
#jb_body.page-terms .pp-intro p:last-child{margin-bottom:0}
#jb_body.page-terms .pp-intro strong{font-weight:400;color:var(--ink)}

/* ============ DOC BODY: sticky contents + text column ============ */
#jb_body.page-terms .pp-body{display:grid;grid-template-columns:296px 1fr;gap:80px;align-items:start;
  padding-top:64px;padding-bottom:24px}

/* Contents */
#jb_body.page-terms .pp-toc-wrap{position:sticky;top:112px;max-height:calc(100vh - 168px);overflow-y:auto;
  scrollbar-width:thin;overscroll-behavior:contain}
#jb_body.page-terms .pp-toc-wrap::-webkit-scrollbar{width:3px}
#jb_body.page-terms .pp-toc-wrap::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.14);border-radius:3px}
#jb_body.page-terms .pp-toc-h{font-family:'Mesmerize',sans-serif;font-weight:300;font-size:12px;line-height:18px;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--mute);margin:0 0 18px}
#jb_body.page-terms .pp-toc{list-style:none;margin:0;padding:0;counter-reset:toc}
#jb_body.page-terms .pp-toc li{counter-increment:toc}
#jb_body.page-terms .pp-toc a{display:grid;grid-template-columns:14px 1fr;gap:10px;align-items:baseline;padding:9px 0;
  font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:16px;line-height:24px;color:#4c4c57;transition:color .2s}
#jb_body.page-terms .pp-toc a::before{content:counter(toc);font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:16px;
  line-height:24px;color:#6a6a74;font-variant-numeric:tabular-nums;transition:color .2s}
#jb_body.page-terms .pp-toc a:hover{color:#111}
#jb_body.page-terms .pp-toc a:hover::before{color:#111}
#jb_body.page-terms .pp-toc a.on{color:#111;font-weight:400}
#jb_body.page-terms .pp-toc a.on::before{color:#111}

/* Mobile contents (collapsible) */
#jb_body.page-terms .pp-toc-m{display:none}

/* Text column */
#jb_body.page-terms .pp-doc{max-width:780px}
#jb_body.page-terms .pp-sec{scroll-margin-top:124px}
#jb_body.page-terms .pp-sec + .pp-sec{margin-top:64px}
#jb_body.page-terms .pp-sec h2{font-family:'Mesmerize',sans-serif;font-weight:300;font-size:22px;line-height:32px;letter-spacing:0;
  text-transform:uppercase;color:#111;margin:0 0 18px}
#jb_body.page-terms .pp-sec p{font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:17px;line-height:30px;color:#4c4c57;margin:0 0 18px}
#jb_body.page-terms .pp-sec p:last-child{margin-bottom:0}
#jb_body.page-terms .pp-sec a.inl{color:var(--navy);box-shadow:inset 0 -1px 0 rgba(65,100,123,0.35);transition:color .2s, box-shadow .2s}
#jb_body.page-terms .pp-sec a.inl:hover{color:var(--navy-d);box-shadow:inset 0 -1px 0 var(--navy-d)}
#jb_body.page-terms .pp-sec .aside{font-size:16px;line-height:28px;color:#6a6a74}
/* same emphasis weight the Privacy Policy page uses in its intro panel */

/* Labelled sub-blocks (How do we use your information) */
#jb_body.page-terms .pp-defs{margin:26px 0 0;padding:0}
#jb_body.page-terms .pp-def{display:grid;grid-template-columns:180px 1fr;gap:28px;padding:22px 0;align-items:start}
#jb_body.page-terms .pp-def + .pp-def{box-shadow:inset 0 1px 0 var(--line)}
#jb_body.page-terms .pp-def dt{font-family:'Myriad Pro',sans-serif;font-weight:400;font-size:16px;line-height:24px; color:#111;margin:0}
#jb_body.page-terms .pp-def dd{margin:0;font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:17px;line-height:30px;color:#4c4c57}

/* Soft tinted note (no decorative rules) */


/* Commitment list (CAN-SPAM) */
#jb_body.page-terms .pp-checks{display:grid;grid-template-columns:1fr 1fr;gap:18px 48px;margin:26px 0 0;list-style:none;padding:0}
#jb_body.page-terms .pp-checks li{display:grid;grid-template-columns:22px 1fr;gap:14px;align-items:start;
  font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:16px;line-height:26px;color:#4c4c57}
#jb_body.page-terms .pp-checks li svg{width:18px;height:18px;margin-top:4px;color:var(--label-2);flex:none}
#jb_body.page-terms .pp-checks li b{font-weight:400;color:var(--ink)}

/* Contact cards */
#jb_body.page-terms .pp-card{margin:26px 0 0}
#jb_body.page-terms .pp-card-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:34px}
#jb_body.page-terms .pp-card h3{font-family:'Myriad Pro',sans-serif;font-weight:400;font-size:16px;line-height:24px; color:#111;margin:0 0 12px}
#jb_body.page-terms .pp-card .mail{font-family:'Mesmerize',sans-serif;font-weight:300;font-size:16px;line-height:26px;letter-spacing:0;
  color:var(--ink);display:inline-flex;align-items:center;gap:10px;transition:color .2s;word-break:break-word}
#jb_body.page-terms .pp-card .mail svg{width:16px;height:16px;color:var(--label-2);flex:none}
#jb_body.page-terms .pp-card .mail:hover{color:var(--navy)} /* colour only, no move */
#jb_body.page-terms .pp-card .subj{font-family:'Myriad Pro',sans-serif;font-weight:300;font-size:15px;line-height:24px;color:var(--mute);margin:8px 0 0}
#jb_body.page-terms .pp-card address{font-family:'Myriad Pro',sans-serif;font-style:normal;font-weight:400;font-size:16px;line-height:26px;color:var(--ink);margin:0}
#jb_body.page-terms .pp-card address span{display:block}

/* ============ REVEAL ============ */
#jb_body.page-terms .reveal{opacity:0;transform:translate3d(0,40px,0);transition:opacity .6s cubic-bezier(0.22,1,0.36,1),transform .6s cubic-bezier(0.22,1,0.36,1)}
#jb_body.page-terms .reveal.in{opacity:1;transform:translate3d(0,0,0)}
#jb_body.page-terms .reveal.d1{transition-delay:.05s}#jb_body.page-terms .reveal.d2{transition-delay:.1s}#jb_body.page-terms .reveal.d3{transition-delay:.15s}
#jb_body.page-terms .split-words{display:inline-block}
#jb_body.page-terms .split-words .w{display:inline-block;opacity:0;transform:translate3d(0,28px,0);transition:opacity .55s cubic-bezier(0.22,1,0.36,1),transform .55s cubic-bezier(0.22,1,0.36,1)}
#jb_body.page-terms .split-words.in .w{opacity:1;transform:translate3d(0,0,0)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  #jb_body.page-terms .reveal,#jb_body.page-terms .split-words .w{transition:none;opacity:1;transform:none}
}

/* ============ RESPONSIVE ============ */
@media (max-width:1180px){
  #jb_body.page-terms .pp-body{grid-template-columns:250px 1fr;gap:56px}
  #jb_body.page-terms .pp-checks{grid-template-columns:1fr;gap:16px}
}
@media (max-width:980px){
  #jb_body.page-terms .nav{padding:16px 24px}#jb_body.page-terms .nav.scrolled{padding:12px 24px}
  #jb_body.page-terms .nav .cta{display:none}
  #jb_body.page-terms main{padding-top:104px}
  #jb_body.page-terms .wrap{padding:0 24px}
  #jb_body.page-terms .pp-head h1{font-size:26px;line-height:38px}
  #jb_body.page-terms .pp-lead{font-size:18px;line-height:29px}
      #jb_body.page-terms .pp-body{grid-template-columns:1fr;gap:0;padding-top:40px}
  #jb_body.page-terms .pp-toc-wrap{display:none}
  #jb_body.page-terms .pp-toc-m{display:block;margin:0 0 40px;background:var(--section);border-radius:3px;padding:0 22px}
  #jb_body.page-terms .pp-toc-m summary{list-style:none;cursor:pointer;padding:18px 0;font-family:'Mesmerize',sans-serif;font-weight:300;
    font-size:14px;letter-spacing:0.1em;text-transform:uppercase;color:#111;display:flex;align-items:center;justify-content:space-between}
  #jb_body.page-terms .pp-toc-m summary::-webkit-details-marker{display:none}
  #jb_body.page-terms .pp-toc-m summary svg{width:16px;height:16px;color:#6a6a74;transition:transform .25s}
  #jb_body.page-terms .pp-toc-m[open] summary svg{transform:rotate(90deg)}
  #jb_body.page-terms .pp-toc-m .pp-toc{padding-bottom:14px}
  #jb_body.page-terms .pp-sec p,#jb_body.page-terms .pp-def dd{font-size:16px;line-height:28px}
  #jb_body.page-terms .pp-def{grid-template-columns:1fr;gap:6px;padding:18px 0}
  #jb_body.page-terms .pp-card{padding:24px 24px 26px}
  #jb_body.page-terms .pp-card-grid{grid-template-columns:1fr;gap:26px}
  #jb_body.page-terms .expert{padding:56px 24px;min-height:auto;margin-top:72px}
  #jb_body.page-terms .expert h2{font-size:22px;line-height:32px}
  #jb_body.page-terms .foot-grid{grid-template-columns:1fr}
  #jb_body.page-terms .foot-col{padding-top:0}
  #jb_body.page-terms footer{padding:40px 24px 64px}
  #jb_body.page-terms .back-top{display:none}
  #jb_body.page-terms .foot-legal{margin-top:40px}
  #jb_body.page-terms .foot-legal nav{width:100%}
}
@media (max-width:520px){
  #jb_body.page-terms .pp-doc{max-width:none}
}

/* ============ NARROW PHONES ============
   "info@jeffbrownyachts.com" is a single unbreakable token in uppercase Mesmerize (354px at 16px),
   so on a 360px screen it stretches the footer's 1fr track past the viewport and the whole page
   scrolls sideways. One size step down clears it. Same one-line fix applies to the Privacy Policy page. */
@media (max-width:980px){
}
@media (max-width:560px){
  /* info@jeffbrownyachts.com is one unbreakable token in uppercase Mesmerize */
  #jb_body.page-terms .foot-legal nav{flex-direction:column;gap:9px}
  #jb_body.page-terms .foot-legal nav .sep{display:none}
  #jb_body.page-terms .foot-grid{grid-template-columns:minmax(0,1fr)}
  #jb_body.page-terms .foot-col p{font-size:14px;line-height:20px;overflow-wrap:break-word}
}

/* ============ PRINT ============ */
@media print{
  #jb_body.page-terms .nav,#jb_body.page-terms .progress,#jb_body.page-terms .pp-toc-wrap,#jb_body.page-terms .pp-toc-m,#jb_body.page-terms .expert,#jb_body.page-terms footer,#jb_body.page-terms .back-top,#jb_body.page-terms .skip{display:none !important}
  #jb_body.page-terms main{padding-top:0}
  body{background:#fff;font-size:11pt}
  #jb_body.page-terms .wrap{padding:0;max-width:none}
  #jb_body.page-terms .pp-body{display:block;padding-top:0}
  #jb_body.page-terms .pp-doc{max-width:none}
  #jb_body.page-terms .pp-sec{break-inside:avoid}
  #jb_body.page-terms .pp-sec + .pp-sec{margin-top:26px}
  #jb_body.page-terms .pp-card,#jb_body.page-terms .pp-checks li,#jb_body.page-terms .reveal,#jb_body.page-terms .split-words .w{opacity:1 !important;transform:none !important}
  #jb_body.page-terms a[href^="mailto"]::after{content:" (" attr(href) ")";font-size:9pt;color:#666}
}

#jb_body.page-terms main.terms-page {
  padding-top: 0 !important;
}
#jb_body.page-terms .pp-head {
  padding-top: 48px;
}
#jb_body.page-terms .expert {
  margin-top: 96px;
  background: var(--navy);
  color: #fff;
  padding: 0 40px;
  text-align: center;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#jb_body.page-terms .expert h2 {
  font-family: 'Mesmerize', 'Mesmerize-ex-lt', sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 38px;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 12px;
}
#jb_body.page-terms .expert p {
  font-family: 'Myriad Pro', 'Myriad-Pro-Regular', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  max-width: 640px;
}
#jb_body.page-terms .expert .btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: transparent;
  color: #fff;
  font-family: 'Mesmerize', 'Mesmerize-ex-lt', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  border: 0.5px solid #fff;
  text-decoration: none;
  transition: background .25s;
}
#jb_body.page-terms .expert .btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
@media (max-width:980px) {
  #jb_body.page-terms .expert {
    padding: 56px 24px;
    min-height: auto;
    margin-top: 72px;
  }
  #jb_body.page-terms .expert h2 {
    font-size: 22px;
    line-height: 32px;
  }
}

#jb_body.page-terms .pp-sec a,#jb_body.page-terms .pp-checks a,#jb_body.page-terms .pp-intro a{color:var(--navy);box-shadow:inset 0 -1px 0 rgba(65,100,123,0.35);transition:color .2s, box-shadow .2s;text-decoration:none}
#jb_body.page-terms .pp-sec a:hover,#jb_body.page-terms .pp-checks a:hover,#jb_body.page-terms .pp-intro a:hover{color:var(--navy-d);box-shadow:inset 0 -1px 0 var(--navy-d)}
