:root{
  --navy:#183a4a;
  --deep:#163f46;
  --teal:#2f7d78;
  --cream:#f6f1e8;
  --paper:#fffdfa;
  --ink:#27404a;
  --muted:#61737a;
  --line:#d8d2c7;
  --gold:#c99543;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6}
.wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;width:100%;background:var(--navy);border-top:1px solid rgba(255,255,255,.22);border-bottom:1px solid rgba(255,255,255,.18)}
.site-nav{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));width:100%;padding:0 8px;margin:0 auto}
.site-nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:7px 6px;border-left:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none;text-align:center;font-size:.84rem;font-weight:600;line-height:1.15}
.site-nav a:last-child{border-right:1px solid rgba(255,255,255,.14)}
.site-nav a:hover,.site-nav a:focus-visible,.site-nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.035);box-shadow:inset 0 -3px 0 rgba(255,255,255,.48)}
.site-nav a:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
main{min-height:65vh}
main.page{padding:38px 0 58px}
main.page>.wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto}
/* Direct late sections use exactly the same content column as the first section. */
main.page>.guide-section,main.page>.content-section,main.page>.history-section,main.page>.section{width:min(1080px,calc(100% - 48px));margin:0 auto;padding:34px 0;border-top:1px solid var(--line)}
main.page>.guide-section>.wrap,main.page>.content-section>.wrap,main.page>.history-section>.wrap,main.page>.section>.wrap{width:100%;margin:0;padding:0}
main.page>hr,main.page>h1,main.page>h2,main.page>h3,main.page>p,main.page>ul,main.page>ol,main.page>table{width:min(1080px,calc(100% - 48px));margin-left:auto;margin-right:auto}
main.page>ul,main.page>ol{padding-left:1.5rem}
main.page>h1:first-child{margin-top:0}
h1,h2,h3{color:var(--deep);line-height:1.16}h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em;margin:0 0 1rem}h2{font-size:clamp(1.55rem,3vw,2.2rem);letter-spacing:-.025em;margin:1.5rem 0 .8rem}h3{font-size:1.2rem;margin:1.6rem 0 .55rem}
p{margin:.8rem 0}a{color:inherit}main a:not(.button):not(.btn){text-decoration-thickness:1px;text-underline-offset:3px}.lead{font-size:1.08rem}
.hero{padding:58px 0 54px;background:var(--cream)}.hero .wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto}.hero h1{max-width:1000px}.hero p{max-width:940px}.hero-closing{font-size:1.1rem}
.section{padding:48px 0}.section>.wrap{width:min(1080px,calc(100% - 48px));margin-inline:auto}.shade{background:#e9f0ed}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card,.question,.content-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 5px 18px rgba(22,63,70,.05)}.card h2,.card h3,.question h3{margin-top:0}
.guide-section{padding:34px 0;border-top:1px solid var(--line)}.guide-section h2{margin-top:0}
.jump{background:#e7f1ee;padding:24px;border-radius:14px;margin:24px 0}.guide-menu{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.guide-menu a{padding:7px 11px;background:var(--paper);border:1px solid var(--line);border-radius:999px;text-decoration:none}
.note,.warning{margin:22px 0;padding:15px 17px;border-left:4px solid var(--gold);background:#fff8e8}.warning{border-left-color:var(--teal);background:#edf3f1}
.button,button{display:inline-block;border:0;border-radius:999px;padding:12px 19px;background:var(--teal);color:#fff;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.button:hover,button:hover{background:#236764}.button.alt{background:transparent;color:var(--deep);border:1px solid #a9bbb7}
label{display:block;margin:16px 0;font-weight:600;color:var(--deep)}input,textarea,select{display:block;width:100%;margin-top:5px;padding:10px 11px;border:1px solid #aabbb9;border-radius:7px;background:#fff;font:inherit;color:var(--ink)}textarea{min-height:90px}input:focus,textarea:focus,select:focus{outline:2px solid #8cc8c3;border-color:var(--teal)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-grid .full{grid-column:1/-1}.contact-form,.complaints-form-section{max-width:820px}.form-note,.form-message{color:var(--muted)}
.steps li{margin:11px 0}.faq dt{font-weight:700;color:var(--deep);margin-top:22px}.faq dd{margin:5px 0 0}.price{font-size:2rem;font-weight:700;color:var(--teal)}
footer.site-footer{background:var(--navy);color:#dce7e5;border-top:4px solid var(--gold);padding:38px 0}.footer-links{margin:.8rem 0 1rem}.footer-links a{color:#fff;margin-right:16px}.copyright-notice{font-size:.9rem;color:#b8cbcb}
/* Existing interactive page components */
.will-choice{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.will-choice-btn.active{background:var(--deep)}.instruction-form{max-width:920px}.form-step{display:none}.form-step.active{display:block}.progress-wrap{margin:20px 0}.progress-label{display:flex;justify-content:space-between;gap:15px}.progress-bar{height:7px;background:#dce5e1;border-radius:999px;overflow:hidden}.progress-bar span{display:block;height:100%;background:var(--teal);width:0}.check{display:flex;gap:9px;align-items:flex-start;font-weight:400}.check input{width:auto;margin-top:.35rem}
.history-section{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}

.scroll-cue{margin-top:26px}.scroll-cue a{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:700}.scroll-cue-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #a9bbb7;border-radius:50%;font-size:1.2rem}
@media(max-width:1050px){.site-nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:700px){.wrap,main.page>.wrap,main.page>.guide-section,main.page>.content-section,main.page>.history-section,main.page>.section,main.page>hr,main.page>h1,main.page>h2,main.page>h3,main.page>p,main.page>ul,main.page>ol,main.page>table,.hero .wrap,.section>.wrap{width:min(100% - 32px,1080px)}.site-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.site-nav a{min-height:48px;font-size:.9rem}.grid,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}main.page{padding:30px 0 45px}.hero{padding:42px 0}.section{padding:40px 0}}
/* Guided instruction form and contextual help retained from the agreed interface. */
.field-help{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  margin-left:6px;
  padding:0;
  border:1px solid #a9bbb7;
  border-radius:50%;
  background:#fffdfa;
  color:#163f46;
  font:700 .75rem/1 Arial,sans-serif;
  vertical-align:middle;
  cursor:help;
}
.field-help:hover,
.field-help:focus-visible{
  border-color:#c99543;
  outline:2px solid rgba(201,149,67,.35);
  outline-offset:2px;
}
.field-help-tooltip{
  position:absolute;
  z-index:9999;
  width:min(320px,calc(100vw - 24px));
  padding:13px 15px;
  border-radius:10px;
  background:#163f46;
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  font-size:.92rem;
  line-height:1.5;
}

/* ===== GUIDED INSTRUCTION FORM REDESIGN ===== */
.instruction-page{padding-top:2rem;padding-bottom:4rem}
.instruction-intro{max-width:850px;margin:0 auto 1.8rem}
.instruction-intro .lead{font-size:1.15rem}
.will-choice{display:flex;gap:.7rem;max-width:850px;margin:0 auto 1rem;flex-wrap:wrap}
.will-choice-btn{border:1px solid #b7c5c1;background:#fff;padding:.75rem 1.1rem;border-radius:8px;font:inherit;cursor:pointer}
.will-choice-btn.active{background:#163f46;color:#fff;border-color:#163f46}
.instruction-form{max-width:850px;margin:auto;background:#fffdf9;border:1px solid #e1e3df;border-radius:14px;padding:clamp(1rem,3vw,2.2rem);box-shadow:0 5px 18px rgba(0,0,0,.05)}
.progress-wrap{margin-bottom:2rem}.progress-label{display:flex;justify-content:space-between;gap:1rem;font-size:.92rem;color:#50615e;margin-bottom:.55rem}.progress-bar{height:7px;background:#e4e9e7;border-radius:10px;overflow:hidden}.progress-bar span{display:block;height:100%;background:#c99543;width:12.5%;transition:width .25s ease}
.form-step{display:none}.form-step.active{display:block}.form-step h2{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.full{grid-column:1/-1}.instruction-form label{display:block;font-weight:650;margin:.5rem 0}.instruction-form input,.instruction-form select,.instruction-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:.35rem;padding:.75rem;border:1px solid #b8c3c0;border-radius:7px;font:inherit;background:#fff}.instruction-form fieldset{border:0;padding:0;margin:1.25rem 0}.instruction-form legend{font-weight:700;margin-bottom:.5rem}.choices,.stacked-choices{display:flex;gap:1rem;flex-wrap:wrap}.stacked-choices{display:grid;gap:.35rem}.choices label,.stacked-choices label,.confirmation{font-weight:400!important}.choices input,.stacked-choices input,.confirmation input{display:inline-block!important;width:auto!important;margin:0 .35rem 0 0!important}.conditional{display:none;padding:1rem;margin:1rem 0;background:#f4f7f5;border-left:3px solid #c99543;border-radius:5px}.conditional.visible{display:block}.form-navigation{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;border-top:1px solid #e2e5e2;padding-top:1.25rem}.review-summary{background:#f5f7f6;border-radius:8px;padding:1rem;max-height:430px;overflow:auto}.review-summary div{display:grid;grid-template-columns:190px 1fr;gap:1rem;padding:.55rem 0;border-bottom:1px solid #dde4e1}.review-summary strong{text-transform:capitalize}.review-summary span{white-space:pre-wrap}.field-help{display:inline-flex!important;width:20px!important;height:20px!important;margin:0 0 0 .35rem!important;padding:0!important;vertical-align:middle}
@media(max-width:650px){.form-grid{grid-template-columns:1fr}.progress-label{align-items:flex-start;flex-direction:column}.review-summary div{grid-template-columns:1fr;gap:.2rem}.will-choice{display:grid;grid-template-columns:1fr 1fr}.form-navigation .button{flex:1}.instruction-form{padding:1rem}.choices{display:grid;gap:.35rem}}


/* Executor entry limits */
.executor-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.optional{font-weight:400;color:#66716f;font-size:.9em}
@media(max-width:650px){.executor-list{grid-template-columns:1fr}}

/* ===== EXTERNAL GUIDANCE LINKS ===== */
.guide-section a[target="_blank"]{
  text-underline-offset:3px;
}
.guide-section a[target="_blank"]::after{
  content:" ↗";
  font-size:.82em;
  text-decoration:none;
}

/* ===== ROBUST FORM HELP TOOLTIPS ===== */
.field-help{position:relative!important;overflow:visible!important;z-index:20}
.field-help-popup{
  display:none;
  position:absolute;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%);
  width:min(330px,80vw);
  padding:12px 14px;
  border-radius:10px;
  background:#163f46;
  color:#fff;
  font:400 .88rem/1.45 Inter,Segoe UI,Arial,sans-serif;
  text-align:left;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  z-index:10000;
}
.field-help:hover .field-help-popup,
.field-help:focus .field-help-popup,
.field-help:focus-visible .field-help-popup{display:block}
@media(max-width:700px){
  .field-help-popup{
    position:fixed;
    left:12px;
    right:12px;
    bottom:16px;
    width:auto;
    transform:none;
    text-align:left;
  }
}

/* ===== MULTIPLE CHARITY GIFTS ===== */
.charity-row{
  padding:1rem 0;
  margin:1rem 0;
  border-top:1px solid #dfe5e2;
}
.add-charity{margin-top:.75rem}


/* ===== FINAL SINGLE FORM HELP TOOLTIP =====
   One tooltip per help button. The old global tooltip is no longer used. */
.field-help{position:relative!important;overflow:visible!important;z-index:20}
.field-help-popup{
  display:none!important;
  position:absolute;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%);
  width:min(330px,80vw);
  padding:12px 14px;
  border-radius:10px;
  background:#163f46;
  color:#fff;
  font:400 .88rem/1.45 Inter,Segoe UI,Arial,sans-serif;
  text-align:left;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  z-index:10000;
}
.field-help:hover .field-help-popup,
.field-help:focus .field-help-popup,
.field-help:focus-visible .field-help-popup{display:block!important}
@media(max-width:700px){
  .field-help-popup{
    position:fixed;
    left:12px;
    right:12px;
    bottom:16px;
    width:auto;
    transform:none;
  }
}

/* Restored John Donne quotation presentation from the pre-clean-up version. */
/* ===== WISE WILLS / JOHN DONNE FEATURE ===== */
.donne-quote.prominent-quote{
  padding:72px 0;
  background:linear-gradient(135deg,#e7f3ef 0%,#f7f4ee 58%,#f3e7ce 100%);
  border-top:1px solid rgba(201,149,67,.35);
  border-bottom:1px solid rgba(201,149,67,.35);
}
.donne-quote.prominent-quote .wrap{
  max-width:920px;
  position:relative;
}
.donne-quote-mark{
  font-family:Georgia,"Times New Roman",serif;
  font-size:6rem;
  line-height:.7;
  color:#c99543;
  opacity:.75;
  margin-bottom:10px;
}
.donne-quote.prominent-quote blockquote{
  margin:0;
  padding:0 0 0 28px;
  border-left:4px solid #c99543;
}
.donne-quote.prominent-quote blockquote p{
  margin:0 0 22px;
  color:#163f46;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.55rem,3vw,2.35rem);
  line-height:1.35;
  letter-spacing:-.02em;
}
.donne-quote.prominent-quote footer{
  background:none;
  color:#61737a;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-family:Inter,Segoe UI,Arial,sans-serif;
}
.quote-source{
  appearance:none;
  border:1px solid #a9bbb7;
  background:#fffdfa;
  color:#163f46;
  width:24px;
  height:24px;
  border-radius:50%;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:help;
  position:relative;
  font:inherit;
}
.quote-info{font-weight:700;font-size:.8rem;line-height:1}
.quote-tooltip{
  visibility:hidden;
  opacity:0;
  position:absolute;
  left:50%;
  bottom:34px;
  transform:translateX(-50%);
  width:310px;
  background:#163f46;
  color:#fff;
  padding:12px 14px;
  border-radius:10px;
  text-align:left;
  font-size:.86rem;
  line-height:1.45;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
  transition:opacity .15s ease;
  z-index:30;
}
.quote-source:hover .quote-tooltip,
.quote-source:focus .quote-tooltip{
  visibility:visible;
  opacity:1;
}
.quote-source:focus{
  outline:2px solid #c99543;
  outline-offset:2px;
}
@media(max-width:700px){
  .donne-quote.prominent-quote{padding:52px 0}
  .donne-quote.prominent-quote blockquote{padding-left:20px}
  .donne-quote.prominent-quote blockquote p{font-size:1.45rem}
  .donne-quote-mark{font-size:4.8rem}
  .quote-tooltip{
    left:0;
    transform:none;
    width:min(290px,84vw);
  }
}
@media(prefers-reduced-motion:reduce){
  .quote-tooltip{transition:none}
}

/* Restore the original interaction: the author attribution is revealed on hover,
   while the separate information button continues to reveal the source tooltip. */
.donne-quote.prominent-quote .quote-attribution{
  opacity:0;
  visibility:hidden;
  transform:translateY(3px);
  transition:opacity .15s ease, transform .15s ease;
}
.donne-quote.prominent-quote:hover .quote-attribution,
.donne-quote.prominent-quote:focus-within .quote-attribution{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
@media(prefers-reduced-motion:reduce){
  .donne-quote.prominent-quote .quote-attribution{transition:none}
}


/* ===== GUIDANCE PAGE: EXECUTOR HELP HOVER FIX ===== */
/* Override the site's general button styling for the small inline executor help control. */
.info{
  display:inline-flex !important;
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  margin:0 3px !important;
  padding:0 !important;
  vertical-align:middle !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #a9bbb7 !important;
  border-radius:50% !important;
  background:#fffdfa !important;
  color:#163f46 !important;
  font:700 .8rem/1 Inter,Segoe UI,Arial,sans-serif !important;
  position:relative !important;
  cursor:help !important;
}
.info:hover,
.info:focus{
  background:#fffdfa !important;
  color:#163f46 !important;
}
.info .tip{
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  position:absolute;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%);
  width:min(330px,80vw);
  padding:12px 14px;
  border-radius:10px;
  background:#163f46;
  color:#fff;
  font:400 .88rem/1.45 Inter,Segoe UI,Arial,sans-serif;
  text-align:left;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  z-index:10000;
  transition:opacity .15s ease;
}
.info:hover .tip,
.info:focus .tip,
.info:focus-visible .tip{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}
.info:focus{
  outline:2px solid #c99543;
  outline-offset:2px;
}
@media(max-width:700px){
  .info .tip{
    position:fixed;
    left:12px;
    right:12px;
    bottom:16px;
    width:auto;
    transform:none;
  }
}

/* ===== MOBILE HORIZONTAL OVERFLOW SAFEGUARD =====
   Prevent off-screen positioned help and tooltip elements from creating
   sideways page movement on narrow screens. */
html, body{
  max-width:100%;
  overflow-x:clip;
}
@supports not (overflow:clip){
  html, body{overflow-x:hidden;}
}
