/* Longevello: one stylesheet for every page. Built from the approved v5 mockups. */
/* Brand fonts, self-hosted (SIL Open Font Licence). build.py rewrites these url()s to hashed names. */
@font-face{font-family:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/fraunces-latin-opsz-normal.7234ed860a.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces";font-style:italic;font-weight:100 900;font-display:swap;src:url("/assets/fonts/fraunces-latin-opsz-italic.066710ce7e.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url("/assets/fonts/dm-sans-latin-wght-normal.9fea608a94.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Metric-matched local fallbacks, shown until the brand fonts arrive, so the swap barely moves the layout.
   Widths measured in Chrome against Georgia and Arial; ascent and descent from Fraunces (978/255) and DM Sans (992/310). */
@font-face{font-family:"Fraunces Fallback";font-style:normal;src:local("Georgia");size-adjust:101.6%;ascent-override:96.2%;descent-override:25.1%;line-gap-override:0%}
@font-face{font-family:"Fraunces Fallback";font-style:italic;src:local("Georgia Italic"),local("Georgia-Italic");size-adjust:95.5%;ascent-override:102.4%;descent-override:26.7%;line-gap-override:0%}
/* h1s use optical size 144, which is narrower. */
@font-face{font-family:"Fraunces Display Fallback";font-style:normal;src:local("Georgia");size-adjust:84.1%;ascent-override:116.3%;descent-override:30.3%;line-gap-override:0%}
@font-face{font-family:"Fraunces Display Fallback";font-style:italic;src:local("Georgia Italic"),local("Georgia-Italic");size-adjust:79.4%;ascent-override:123.2%;descent-override:32.1%;line-gap-override:0%}
@font-face{font-family:"DM Sans Fallback";font-weight:100 450;src:local("Arial"),local("ArialMT");size-adjust:104.1%;ascent-override:95.3%;descent-override:29.8%;line-gap-override:0%}
@font-face{font-family:"DM Sans Fallback";font-weight:451 550;src:local("Arial"),local("ArialMT");size-adjust:106%;ascent-override:93.6%;descent-override:29.2%;line-gap-override:0%}
@font-face{font-family:"DM Sans Fallback";font-weight:551 650;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:100.2%;ascent-override:99%;descent-override:30.9%;line-gap-override:0%}
@font-face{font-family:"DM Sans Fallback";font-weight:651 1000;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:101.8%;ascent-override:97.4%;descent-override:30.5%;line-gap-override:0%}
:root{
  --cream:#F6F1E9;
  --paper:#FFFCF7;
  --sand:#EADFCB;
  --ink:#1B2420;
  --muted:#4E5A54;
  --forest:#1F4D3A;
  --forest-deep:#163A2C;
  --terracotta:#C2643D;
  --terracotta-text:#A34A26;
  --saffron:#E9A93C;
  --sage:#DCE6D9;
  --line:#E2D8C7;
  --display:"Fraunces", "Fraunces Fallback", Georgia, serif;
  --display-h1:"Fraunces", "Fraunces Display Fallback", Georgia, serif;
  --sans:"DM Sans", "DM Sans Fallback", system-ui, sans-serif;
  --wrap:1240px;
  --r-lg:28px;
  --r-md:20px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55;overflow-x:hidden}
a{color:inherit}
p{margin:0}
img{display:block;max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--terracotta);outline-offset:3px;border-radius:6px}
main:focus{outline:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
@media (min-width:768px){.wrap{padding:0 40px}}
.sr,.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Skip link */
.skip{position:absolute;left:16px;top:-80px;z-index:100;background:var(--forest);color:#fff;padding:12px 20px;border-radius:999px;font-weight:600;text-decoration:none}
.skip:focus{top:12px}

/* Header: one row (simple menu) or two rows (sections menu); a full-screen menu sheet below the breakpoint */
.header{position:relative;z-index:30}
.hdr .row1{display:flex;align-items:center;gap:20px;height:84px}
.logo{font-family:var(--display);font-weight:500;font-size:30px;letter-spacing:-.02em;text-decoration:none;color:var(--forest);display:flex;align-items:baseline;flex:none}
.logo i{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--saffron);margin-left:3px}
.hsearch{position:relative;flex:1;max-width:600px;margin-left:16px;display:none;align-items:center;gap:8px;height:52px;border-radius:999px;background:var(--paper);box-shadow:0 0 0 1px #DCD1BE,0 14px 30px -20px rgba(31,77,58,.35);padding:0 5px 0 20px}
.hsearch:focus-within{box-shadow:0 0 0 2px var(--forest),0 14px 30px -20px rgba(31,77,58,.35)}
.hsearch>.ic{color:#55615B;width:20px;height:20px}
.hsearch input{flex:1;min-width:0;height:100%;border:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);padding:0 4px;text-overflow:ellipsis}
.hsearch input::placeholder{color:#5F6A64}
.hsearch input:focus{outline:none}
.hsearch input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.hsearch button{width:42px;height:42px;border:0;border-radius:50%;background:var(--forest);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none;padding:0}
.hsearch button:hover{background:var(--forest-deep)}
.hsearch button .ic{width:18px;height:18px}
.hlinks{display:none;margin-left:auto}
.hlinks ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px}
.hlinks a{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;font-size:15.5px;font-weight:500;color:var(--ink);white-space:nowrap;border-bottom:1.5px solid transparent}
.hlinks a:hover,.hlinks a[aria-current]{border-color:var(--terracotta)}
.hlinks .ic{width:19px;height:19px;color:var(--forest)}
.tools{display:flex;align-items:center;gap:10px;margin-left:auto}
.icon-btn{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--paper);display:inline-flex;align-items:center;justify-content:center;color:var(--ink);cursor:pointer;text-decoration:none;padding:0}
.icon-btn:hover{background:var(--forest);color:var(--cream);border-color:var(--forest)}
.menu-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px 0 14px;border-radius:999px;border:0;background:var(--forest);color:#fff;font:inherit;font-size:15.5px;font-weight:600;cursor:pointer;text-decoration:none}
.menu-btn:hover{background:var(--forest-deep)}
.menu-btn .ic{width:20px;height:20px}
.nojs-topics{padding:0 18px}
.js .nojs-topics,html:not(.js) .js-menu{display:none}
/* Sections row */
.row2{display:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.row2>ul{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;height:54px;align-items:stretch;position:relative}
.row2>ul>li{display:flex}
.dd-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0 2px;font:inherit;font-size:15.5px;font-weight:500;color:var(--ink);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;cursor:pointer}
.dd-btn .ic{width:15px;height:15px;color:#6A746F;stroke-width:2;transition:transform .2s}
.dd-item.cur>.dd-btn{border-color:var(--line)}
.dd-btn:hover,.dd-item.open>.dd-btn{border-color:var(--terracotta);color:var(--forest)}
.dd-item.open>.dd-btn .ic{transform:rotate(180deg);color:var(--forest)}
.dd{display:none;position:absolute;top:62px;left:0;width:800px;max-width:100%;background:var(--paper);border-radius:28px;box-shadow:0 0 0 1px var(--line),0 40px 70px -30px rgba(27,36,32,.45);padding:30px 34px 26px;grid-template-columns:1.25fr 1fr;gap:34px;z-index:40}
.dd.dd-r{left:auto;right:0}
.dd.one{grid-template-columns:1fr;width:480px}
.dd-item.open .dd,html:not(.js) .dd-item:hover .dd,html:not(.js) .dd-item:focus-within .dd{display:grid}
.dd .lbl{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.dd .desc{margin-top:6px;font-size:15px;color:var(--muted);line-height:1.45}
.dd ul{list-style:none;margin:16px 0 0;padding:0}
.dd .tl li a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:10px 4px;border-top:1px solid var(--line);text-decoration:none;border-radius:0}
.dd .tl li:last-child a{border-bottom:1px solid var(--line)}
.dd .tl a:hover,.dd .tl a:focus-visible{background:var(--cream)}
.dd .tl a[aria-current] .n{color:var(--terracotta-text)}
.dd .tl .n{font-family:var(--display);font-size:21px;letter-spacing:-.01em;line-height:1.2}
.dd .tl .c{font-size:14px;color:var(--muted);white-space:nowrap;display:inline-flex;align-items:center;gap:10px}
.dd .tl .c .ic{width:16px;height:16px;color:var(--forest)}
.dd .ql li a{display:flex;gap:12px;align-items:baseline;padding:10px 0;text-decoration:none;font-size:16px;line-height:1.35;border-top:1px solid var(--line)}
.dd .ql li a::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--saffron);transform:translateY(-1px)}
.dd .ql a:hover span{text-decoration:underline;text-underline-offset:3px}
.dd .ql small{display:block;font-size:13.5px;color:var(--muted);margin-top:2px}
.dd .foot{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:4px}
.dd .foot .hint{font-size:14px;color:var(--muted)}
@media (min-width:1040px){
  .hdr-simple .hsearch,.hdr-simple .hlinks{display:flex}
  .hdr-simple .tools{display:none}
}
@media (min-width:1200px){
  .hdr-sections .hsearch,.hdr-sections .hlinks{display:flex}
  .hdr-sections .row2{display:block}
  .hdr-sections .tools{display:none}
}
@media (max-width:420px){.logo{font-size:26px}.tools{gap:8px}.menu-btn{padding:0 14px 0 12px}}
/* Very narrow screens (320px phones, large text or zoom): the Menu button shows its icon only; the word stays as its
   accessible name. */
@media (max-width:340px){
  .hdr .row1{gap:10px}
  .logo{font-size:24px}
  .menu-btn.js-menu{width:44px;height:44px;padding:0;gap:0;justify-content:center}
  .menu-btn.js-menu .mb-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* Menu sheet (phones and narrow windows) */
.sheet{position:fixed;inset:0;z-index:100;background:var(--paper);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sheet[hidden]{display:none}
body.sheet-open{overflow:hidden}
.sheet-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;height:68px;padding:0 16px 0 20px;border-bottom:1px solid var(--line);background:var(--cream)}
.sheet-top .logo{font-size:26px}
.sheet-close{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px 0 14px;border-radius:999px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font:inherit;font-weight:600;font-size:15.5px;cursor:pointer}
.sheet-close .ic{width:20px;height:20px}
.sheet-body{max-width:640px;margin:0 auto;padding:16px 14px 40px}
.sheet .search{margin-top:0;max-width:none;height:54px;padding-left:18px;box-shadow:0 0 0 1px #DCD1BE}
.sheet .search:focus-within{box-shadow:0 0 0 2px var(--forest)}
.sheet .search button{width:44px;height:44px}
.sheet-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.sheet-quick a{display:flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:999px;font-weight:600;font-size:15.5px;text-decoration:none;background:var(--paper);box-shadow:0 0 0 1px #D9CFBD;color:var(--forest)}
.sheet-quick a.q-az{background:var(--forest);color:#fff;box-shadow:none}
.sheet-quick a.q-az .ic{width:19px;height:19px;color:var(--saffron)}
.m-lbl{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:22px 4px 6px}
.ms-list,.ms-links{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.ms-list>li{border-bottom:1px solid var(--line)}
.ms-btn{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:0 4px 0 10px;border:0;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.ms-btn .ico{width:36px;height:36px;border-radius:50%;background:var(--sage);color:var(--forest);display:inline-flex;align-items:center;justify-content:center;flex:none}
.ms-btn .ico .ic{width:19px;height:19px}
.ms-btn .nm{font-family:var(--display);font-size:19px}
.ms-btn>.ic{margin-left:auto;width:18px;height:18px;color:#6A746F;transition:transform .2s}
.ms-btn[aria-expanded="true"]{color:var(--forest)}
.ms-btn[aria-expanded="true"] .ico{background:var(--forest);color:#fff}
.ms-btn[aria-expanded="true"]>.ic{transform:rotate(180deg);color:var(--forest)}
.ms-topics{padding:0 4px 10px 58px}
.ms-topics a,.ms-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 4px;border-top:1px solid var(--line);text-decoration:none}
.ms-links a{padding:8px 4px 8px 10px;border-top:0;border-bottom:1px solid var(--line)}
.ms-topics a span,.ms-links a span{font-size:16.5px;font-weight:500}
.ms-links a span{font-family:var(--display);font-size:19px;font-weight:400}
.ms-topics small,.ms-links small{font-size:13.5px;color:var(--muted);white-space:nowrap}
.ms-topics a.all{justify-content:flex-start;gap:6px;font-size:14.5px;font-weight:600;color:var(--forest)}
.ms-topics a.all .ic{width:15px;height:15px}
/* Type-ahead suggestions under a search box */
.sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:60;background:var(--paper);border-radius:20px;box-shadow:0 0 0 1px var(--line),0 30px 50px -26px rgba(27,36,32,.5);padding:8px 8px 10px;text-align:start;max-height:70vh;overflow-y:auto}
.sugg[hidden]{display:none}
.sugg .gh{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding:10px 12px 4px}
.sugg [role="option"]{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border-radius:12px;font-size:15.5px;line-height:1.3;color:var(--ink);cursor:pointer}
.sugg [role="option"][aria-selected="true"],.sugg [role="option"]:hover{background:var(--cream)}
.sugg [role="option"]>.ic{width:18px;height:18px;color:var(--forest)}
.sugg small{display:block;font-size:12.5px;color:var(--muted);margin-top:1px}
.sugg b{font-weight:700}
.sugg .sg-tag{display:inline-block;margin-inline-start:8px;padding:2px 9px;border-radius:999px;background:var(--sage);color:var(--forest);font-size:11.5px;font-weight:700;font-style:normal;letter-spacing:.05em;line-height:1.35;vertical-align:1px;white-space:nowrap}
.sugg .all{margin-top:6px;border-top:1px solid var(--line);border-radius:0 0 12px 12px;font-size:14.5px;font-weight:600;color:var(--forest)}
.sugg .all .ic{width:16px;height:16px}
.search{position:relative}

/* Breadcrumb */
.crumb{font-size:14.5px;color:var(--muted)}
.crumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0}
.crumb li{display:inline-flex;align-items:center}
.crumb li+li::before{content:"";width:6px;height:6px;border-right:1.5px solid #8C948F;border-top:1.5px solid #8C948F;transform:rotate(45deg);margin:0 14px 0 10px}
.crumb a{text-decoration:none;color:var(--muted)}
.crumb a:hover{color:var(--forest);text-decoration:underline}
.crumb [aria-current]{color:var(--ink);font-weight:500}

/* Shared bits */
.kicker{display:inline-flex;align-items:center;gap:9px;padding:7px 15px 7px 11px;border-radius:999px;background:var(--sage);color:var(--forest-deep);font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-decoration:none}
.kicker .ic{width:17px;height:17px}
/* A tag that is a link (topic page: all topics; article: its topic; tool: all calculators) reacts like a button. */
a.kicker{cursor:pointer;transition:background-color .15s,color .15s}
a.kicker:hover{background:var(--forest);color:#fff}
a.kicker:active{background:var(--forest-deep);color:#fff}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--forest);color:#fff;text-decoration:none;font-weight:600;font-size:15.5px;padding:14px 22px 14px 24px;border-radius:999px;box-shadow:0 18px 36px -18px rgba(31,77,58,.6)}
.btn:hover{background:var(--forest-deep)}
.btn .ic{width:18px;height:18px}
.btn.ghost{background:var(--paper);color:var(--forest);box-shadow:0 0 0 1px var(--line)}
.btn.ghost:hover{background:var(--sage)}
.more{font-weight:600;font-size:15.5px;text-decoration:none;color:var(--forest);display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding-bottom:4px;border-bottom:1.5px solid var(--forest)}
.more .ic{width:18px;height:18px}
/* A long "Read more: title" link wraps on phones instead of running past the screen edge. */
@media (max-width:639px){.more{white-space:normal;max-width:100%}}
.ph{background-color:var(--sand);background-size:cover;background-position:center;overflow:hidden}
.ph img{width:100%;height:100%;object-fit:cover}
.intro{margin-top:28px;font-family:var(--display);font-style:italic;font-size:clamp(20px,2vw,24px);line-height:1.4;color:var(--muted);max-width:24em}

/* Sections */
.sec{padding:88px 0}
@media (max-width:767px){.sec{padding:64px 0}}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:40px}
.sec-head h2{font-family:var(--display);font-weight:400;font-size:clamp(38px,5vw,60px);letter-spacing:-.03em;line-height:1;margin:0}
.sec-head h2 em{font-style:italic;color:var(--terracotta-text)}
.p-home .sec-head{flex-wrap:nowrap;margin-bottom:36px}
.p-home .sec-head h2{font-size:clamp(38px,5vw,64px)}
.band{background:var(--paper);border-radius:40px 40px 0 0}

/* Shared search box (homepage hero, search page, 404) */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.chip{font-size:14.5px;font-weight:500;text-decoration:none;padding:9px 16px;border-radius:999px;background:var(--sage);color:var(--forest-deep)}
.chip:hover{background:var(--forest);color:#fff}

/* Homepage hero (v6a-dna6) */
body.p-home{background:radial-gradient(900px 520px at 80% 400px,rgba(220,230,217,.55),rgba(246,241,233,0) 70%) no-repeat,var(--cream)}
.hero{position:relative;overflow:hidden;padding:12px 0 0}
/* While the search box is in use, show its suggestions above the next section instead of clipping them */
.hero:focus-within{z-index:5;overflow:visible;overflow-x:clip}
.hero-grid{display:grid;gap:8px;align-items:center}
.hero-grid>*{min-width:0}
.hero-copy{position:relative;z-index:2}
.hero h1{font-family:var(--display-h1);font-weight:400;font-size:clamp(46px,12vw,92px);line-height:.98;letter-spacing:-.035em;margin:0;color:var(--ink);font-variation-settings:"opsz" 144}
.hero h1 em{display:block;font-style:italic;color:var(--terracotta-text);letter-spacing:-.03em}
.hero .sub{margin:24px 0 0;font-size:clamp(17px,1.5vw,19px);line-height:1.55;color:#3A4540;max-width:34em}
.hero .sub b{display:block;margin-top:4px;font-weight:500;color:var(--ink)}
.search{display:flex;align-items:center;border-radius:999px;margin-top:32px;gap:8px;background:var(--paper);height:62px;padding:0 6px 0 24px;max-width:560px;box-shadow:0 22px 44px -20px rgba(31,77,58,.38),0 0 0 1px #DCD1BE}
.search:focus-within{box-shadow:0 22px 44px -20px rgba(31,77,58,.38),0 0 0 2px var(--forest)}
.search .ic{color:#55615B}
.search input{padding:0 6px;height:100%}
.search input::placeholder{color:#5F6A64}
.search button{width:50px;height:50px}
.search button .ic{color:#fff}
.hero .chips{margin-top:20px}
.hero .chip{font-size:15px;padding:10px 18px;background:var(--paper);color:var(--forest-deep);border:1px solid #D9CFBD}
.hero .chip:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.hero-art{position:relative;z-index:1;margin:0 auto;width:100%;max-width:240px}
.dna-img{display:block;width:100%;height:auto}
.trustbar{position:relative;z-index:2;margin-top:8px;border-top:1px solid #DCD1BE}
.trustbar ul{list-style:none;margin:0;padding:18px 0 22px;display:grid;gap:12px}
.trustbar li{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;color:var(--ink)}
.trustbar .ic{width:22px;height:22px;color:var(--forest);stroke-width:1.6}
@media (min-width:600px) and (max-width:959px){.hero-art{max-width:300px}}
@media (min-width:960px){
  .hero{padding:0}
  .hero-grid{grid-template-columns:1.12fr 1fr;gap:24px;height:560px}
  .hero-art{position:static;max-width:none;height:560px;margin:0}
  .hero-art picture{display:contents}
  .dna-img{position:absolute;left:calc(50% + 30px);top:-40px;height:810px;width:auto;max-width:none;-webkit-mask-image:linear-gradient(180deg,transparent 4%,#000 17%,#000 68%,transparent 84%);mask-image:linear-gradient(180deg,transparent 4%,#000 17%,#000 68%,transparent 84%)}
  .trustbar{margin-top:18px}
  .trustbar ul{grid-template-columns:repeat(3,auto);justify-content:space-between;gap:0;padding:24px 0 26px}
  .trustbar li{font-size:16px;padding:0 28px;border-left:1px solid #DCD1BE}
  .trustbar li:first-child{padding-left:0;border-left:0}
  .trustbar li:last-child{padding-right:0}
}
.p-home .why{padding-top:40px}
.hero .chip{display:inline-flex;align-items:center;min-height:42px;box-sizing:border-box}
.hero .chip-all{background:var(--sage);border-color:var(--sage)}
@media (max-width:599px){
  .hero .chips{gap:8px;margin-top:18px}
  .hero .chip{font-size:13.5px;padding:6px 11px;min-height:40px}
}

/* Most searched questions (homepage, below the hero; site.json "mostSearched") */
.topq{padding:24px 0 0}
.topq h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,3.2vw,38px);line-height:1.1;letter-spacing:-.02em;margin:0}
.topq-note{margin:8px 0 0;font-size:14.5px;color:var(--muted)}
.topq-list{list-style:none;margin:20px 0 0;padding:0;display:grid;border-bottom:1px solid var(--line)}
.topq-list li{border-top:1px solid var(--line)}
.topq-list a{display:block;min-height:44px;padding:14px 6px;text-decoration:none;color:var(--ink);border-radius:8px}
.topq-list a:hover{background:var(--paper)}
.topq .rq-l{display:block;margin-bottom:4px;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--terracotta-text)}
.topq .rq-t{display:block;font-family:var(--display);font-size:20px;line-height:1.25;letter-spacing:-.01em;color:var(--forest)}
.topq-list a:hover .rq-t{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
@media (min-width:768px){
  .topq{padding-top:36px}
  .topq-list{grid-template-columns:1fr 1fr;column-gap:48px;border-bottom:0}
  .topq-list li:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
  .topq-list li:nth-child(odd):nth-last-child(1){border-bottom:1px solid var(--line)}
}

/* Why Longevello band */
.why{padding:0 0 72px}
@media (min-width:960px){.why{padding:0 0 96px}}
.why-card{position:relative;overflow:hidden;background:var(--forest);color:#F6F1E9;border-radius:36px;padding:40px 24px;display:grid;gap:32px}
@media (min-width:860px){.why-card{grid-template-columns:1.25fr 1fr;gap:56px;align-items:center;padding:60px 64px;border-radius:44px}}
.why-card::before{content:"";position:absolute;right:-110px;top:-150px;width:300px;height:300px;border-radius:50%;background:var(--saffron);opacity:.14}
.why-card>*{position:relative}
.why .kicker{padding:0;border-radius:0;background:none;gap:10px;font-size:13px;letter-spacing:.14em;color:var(--saffron)}
.why .kicker::before{content:"";width:22px;height:1.5px;background:var(--saffron)}
.why h2{font-family:var(--display);font-weight:400;font-size:clamp(32px,3.6vw,48px);line-height:1.06;letter-spacing:-.025em;margin:16px 0 0;color:#FFFCF7}
.why h2 em{font-style:italic;color:#F2B860}
.why-copy p{margin:20px 0 0;font-size:17px;color:#DCE6D9;max-width:34em}
.why-copy p.why-sign{margin-top:16px;font-family:var(--display);font-style:italic;font-size:clamp(21px,1.9vw,24px);line-height:1.3;letter-spacing:-.01em;color:#F2B860}
.why-sign+.why-link{margin-top:20px}
.why-link{display:inline-flex;align-items:center;gap:8px;margin-top:26px;font-weight:600;font-size:15.5px;color:#FFFCF7;text-decoration:none;padding-bottom:4px;border-bottom:1.5px solid var(--saffron)}
.why-link:hover{color:var(--saffron)}
.why-link .ic{width:18px;height:18px}
.why-points{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.why-points li{display:flex;align-items:center;gap:16px;background:rgba(255,252,247,.07);border:1px solid rgba(220,230,217,.16);border-radius:999px;padding:12px 22px 12px 12px;font-family:var(--display);font-size:21px;letter-spacing:-.01em;color:#FFFCF7}
.why-points .ico{width:46px;height:46px;border-radius:50%;background:var(--saffron);color:var(--forest-deep);display:inline-flex;align-items:center;justify-content:center;flex:none}

/* Image tiles */
.explore{background:var(--paper);border-radius:40px 40px 0 0}
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.tile{position:relative;display:block;border-radius:var(--r-md);overflow:hidden;text-decoration:none;color:#fff;height:190px;background-color:#5C6B60}
.tiles-home .tile{height:200px}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,26,21,0) 30%,rgba(17,26,21,.82) 100%);transition:background .4s ease}
.tile .label{position:absolute;left:18px;right:18px;bottom:16px;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.tile .name{font-family:var(--display);font-weight:500;font-size:21px;line-height:1.1;letter-spacing:-.01em;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.tile .go{width:42px;height:42px;border-radius:50%;background:var(--cream);color:var(--forest);display:none;align-items:center;justify-content:center;flex:none;transition:transform .4s ease,background .3s ease}
.tile:hover img{transform:scale(1.06)}
.tile:hover::after{background:linear-gradient(180deg,rgba(17,26,21,.1) 20%,rgba(17,26,21,.88) 100%)}
.tile:hover .go{background:var(--saffron);color:var(--ink);transform:rotate(-45deg)}
.tile.wide{grid-column:1 / -1;height:220px}
.tiles-home .t1,.tiles-home .t6{grid-column:1 / -1;height:240px}
.tiles-home .t1{height:280px}
@media (min-width:768px){
  .tile .go{display:inline-flex}
  .tile .label{left:26px;right:22px;bottom:22px}
  .tile .name{font-size:28px}
  .tiles-topic{grid-template-columns:repeat(3,1fr);gap:18px}
  .tiles-topic .tile,.tiles-topic .tile.wide{grid-column:auto;height:300px}
  .tiles-home{grid-template-columns:repeat(12,1fr);gap:18px}
  .tiles-home .tile{height:300px}
  .tiles-home .t1{grid-column:span 7;height:420px}
  .tiles-home .t2{grid-column:span 5;height:420px}
  .tiles-home .t3,.tiles-home .t4,.tiles-home .t5,.tiles-home .t6{grid-column:span 6;height:300px}
}
@media (min-width:1100px){
  .tiles-home .t3,.tiles-home .t4,.tiles-home .t5,.tiles-home .t6{grid-column:span 3}
  .tiles-home .t1 .name,.tiles-home .t2 .name{font-size:38px}
}

/* Review cards */
.latest{background:var(--paper)}
.cards{display:grid;gap:44px}
.card{text-decoration:none;color:var(--ink);display:block}
.card .ph{border-radius:var(--r-lg);aspect-ratio:4/3;position:relative;overflow:hidden}
.card .ph img{transition:transform .6s ease}
.card:hover .ph img{transform:scale(1.04)}
.meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}
.topic{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--terracotta-text)}
.read{font-size:14px;color:var(--muted)}
.card h3{font-family:var(--display);font-weight:400;font-size:clamp(24px,2.2vw,29px);line-height:1.14;letter-spacing:-.02em;margin:12px 0 0}
.card:hover h3{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.date{margin-top:10px;font-size:14.5px;color:var(--muted)}
.cards-home .card h3{font-size:clamp(25px,2.3vw,31px);line-height:1.12}
.cards-home .date{margin-top:12px}
.card .date.checked{margin-top:2px}
@media (min-width:860px){
  .cards-home{grid-template-columns:repeat(3,1fr);gap:32px}
  .cards-home .card:nth-child(2){margin-top:64px}
  .cards-home .card .ph{aspect-ratio:4/5}
  .cards-related{grid-template-columns:repeat(3,1fr);gap:32px}
  .cards-related .card:nth-child(2){margin-top:56px}
  .cards-related .card .ph{aspect-ratio:5/4}
}
@media (min-width:640px){.cards-topic{grid-template-columns:repeat(2,1fr);gap:40px 28px}}
@media (min-width:960px){
  .cards-topic{grid-template-columns:repeat(3,1fr);gap:56px 32px;padding-bottom:56px}
  .cards-topic .card:nth-child(3n+2){transform:translateY(56px)}
  .cards-topic .card .ph{aspect-ratio:5/4}
}
/* Type of evidence tags: neutral, factual, not a rating */
.etag{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 9px;border-radius:999px;background:var(--sage);color:var(--forest);font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap}
.etag svg.ic{width:16px;height:16px;stroke-width:1.8}

/* "Being prepared" panel (shown while a list is empty) */
.empty{position:relative;overflow:hidden;background:var(--sage);border-radius:var(--r-lg);padding:32px 26px;display:flex;flex-wrap:wrap;gap:20px 26px;align-items:center}
@media (min-width:768px){.empty{padding:48px 56px;flex-wrap:nowrap}}
.empty::after{content:"";position:absolute;right:-50px;top:-60px;width:190px;height:190px;border-radius:50%;background:rgba(255,252,247,.45)}
.empty>*{position:relative;z-index:1}
.empty .ico{width:64px;height:64px;border-radius:50%;background:var(--paper);color:var(--forest);display:inline-flex;align-items:center;justify-content:center;flex:none}
.empty .ico .ic{width:28px;height:28px}
.empty p{font-family:var(--display);font-weight:400;font-size:clamp(23px,2.5vw,32px);line-height:1.22;letter-spacing:-.015em;max-width:26em}
.empty .more{margin-left:auto}

/* Trust strip */
.trust{background:var(--forest);color:#F3EEE4}
.trust ul{list-style:none;margin:0;padding:30px 0;display:grid;gap:18px}
@media (min-width:860px){.trust ul{grid-template-columns:repeat(3,auto);justify-content:space-between;padding:34px 0}}
.trust li{display:flex;align-items:center;gap:14px;font-family:var(--display);font-size:20px;letter-spacing:-.01em}
.trust .ico{width:44px;height:44px;border-radius:50%;background:rgba(233,169,60,.16);color:var(--saffron);display:inline-flex;align-items:center;justify-content:center;flex:none}
.trust.slim ul{padding:20px 0;display:flex;justify-content:center}
.trust.slim li{gap:12px;font-size:19px}
.trust.slim .ico{width:38px;height:38px}

/* Topic hero */
.t-hero{padding:18px 0 84px}
@media (min-width:960px){.t-hero{padding:22px 0 104px}}
.t-hero-grid{display:grid;gap:44px;align-items:center;margin-top:28px}
.t-hero-grid>*{min-width:0}
@media (min-width:960px){.t-hero-grid{grid-template-columns:1fr 1fr;gap:64px;margin-top:20px;min-height:540px}}
.t-hero h1{font-family:var(--display-h1);font-weight:400;font-size:clamp(68px,11vw,144px);line-height:.95;letter-spacing:-.045em;margin:26px 0 0;color:var(--ink);font-variation-settings:"opsz" 144;display:flex;align-items:baseline;overflow-wrap:break-word}
.t-hero h1.mid{font-size:clamp(54px,7.6vw,108px);line-height:.98}
.t-hero h1.long{font-size:clamp(46px,6.2vw,88px);line-height:1}
.t-hero h1 i{display:inline-block;width:.13em;height:.13em;border-radius:50%;background:var(--saffron);margin-left:.06em;flex:none}
.t-meta{margin-top:34px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px}
.reviewed{display:inline-flex;align-items:center;gap:9px;font-size:15px;color:var(--muted)}
.reviewed .ic{width:19px;height:19px;color:var(--terracotta-text)}
.collage{position:relative;height:420px}
@media (min-width:600px){.collage{height:520px}}
@media (min-width:960px){.collage{height:560px}}
.collage .disc{position:absolute;right:-5%;top:4%;width:56%;aspect-ratio:1;border-radius:50%;background:var(--saffron);opacity:.9}
.c-main{position:absolute;right:0;top:0;width:80%;height:88%;border-radius:220px 220px var(--r-lg) var(--r-lg);background-color:#7FA3B2}
.c-small{position:absolute;left:0;bottom:0;width:44%;height:42%;border-radius:var(--r-lg);border:8px solid var(--cream);background-color:#2A1B3D}
.count{position:absolute;right:18px;bottom:calc(12% + 18px);background:var(--paper);border-radius:999px;padding:10px 18px 10px 12px;display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:600;box-shadow:0 16px 30px -16px rgba(27,36,32,.45)}
.count b{width:34px;height:34px;border-radius:50%;background:var(--forest);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:500;font-size:17px}
.reviews{padding-top:24px}

/* Article hero */
.a-hero{padding:18px 0 0}
.a-head{max-width:920px;margin:44px auto 0;text-align:center}
@media (max-width:767px){.a-head{text-align:left;margin-top:32px}}
.a-head h1{font-family:var(--display-h1);font-weight:400;font-size:clamp(42px,6.2vw,80px);line-height:1.02;letter-spacing:-.035em;margin:24px 0 0;font-variation-settings:"opsz" 144}
.a-head h1 em{font-style:italic;color:var(--terracotta-text)}
.standfirst{margin:24px auto 0;font-family:var(--display);font-style:italic;font-size:clamp(19px,1.9vw,23px);line-height:1.4;color:var(--muted);max-width:30em}
.byline{margin-top:34px;display:inline-flex;align-items:center;gap:14px;text-align:left}
.mark{width:48px;height:48px;border-radius:50%;background:var(--forest);color:var(--cream);font-family:var(--display);font-size:22px;display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none}
.mark::after{content:"";position:absolute;right:2px;bottom:4px;width:10px;height:10px;border-radius:50%;background:var(--saffron);border:2px solid var(--cream)}
.byline p{font-size:15.5px;line-height:1.4}
.byline b{font-weight:600;color:var(--forest)}
.checked-on{margin:12px auto 0;max-width:50em;font-size:14px;line-height:1.5;color:var(--muted)}
.checked-on a{color:var(--forest);font-weight:600;white-space:nowrap}
.dates{margin-top:18px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
@media (max-width:767px){.dates{justify-content:flex-start}}
.dates>span{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:6px 14px 6px 11px}
.dates>.etag{background:var(--sage);border:0;color:var(--forest);font-size:13px;padding:5px 12px 5px 9px}
.dates>span>.ic{width:16px;height:16px;color:var(--terracotta-text)}
.dates>.etag .ic{color:inherit}
.a-photo{position:relative;margin-top:52px}
.a-photo .disc{position:absolute;right:-12px;top:-30px;width:110px;height:110px;border-radius:50%;background:var(--saffron);opacity:.9}
@media (min-width:768px){.a-photo .disc{right:-30px;top:-46px;width:180px;height:180px}}
.a-photo .ph{position:relative;border-radius:var(--r-lg);height:330px;background-color:#B4677F;overflow:hidden}
@media (min-width:768px){.a-photo .ph{height:500px;border-radius:220px var(--r-lg) var(--r-lg) var(--r-lg)}}

/* Key takeaways and Evidence at a glance */
.kt{position:relative;max-width:1060px;margin:-90px auto 0;background:var(--forest);color:#F3EEE4;border-radius:32px;padding:34px 24px;overflow:hidden;box-shadow:0 40px 70px -40px rgba(22,58,44,.7)}
@media (min-width:768px){.kt{margin-top:-130px;padding:52px 56px}}
.kt::before{content:"";position:absolute;right:-90px;top:-110px;width:260px;height:260px;border-radius:50%;background:rgba(233,169,60,.12)}
.kt-grid{position:relative;display:grid;gap:32px}
@media (min-width:900px){.kt-grid{grid-template-columns:1.7fr 1fr;gap:52px;align-items:center}}
.kt .eyebrow{font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--saffron)}
.kt h2{font-family:var(--display);font-weight:400;font-size:clamp(34px,4vw,48px);letter-spacing:-.03em;line-height:1;margin:12px 0 0;color:#FFFCF7}
.kt ol{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:18px;counter-reset:k}
.kt li{display:flex;gap:16px;align-items:flex-start;counter-increment:k;font-size:17px;line-height:1.5;color:#E9E3D6;font-style:italic}
.kt li::before{content:counter(k);line-height:1;flex:none;width:32px;height:32px;border-radius:50%;background:var(--saffron);color:var(--ink);font-family:var(--display);font-style:normal;font-weight:500;font-size:16px;display:inline-flex;align-items:center;justify-content:center;margin-top:-3px}
.glance{background:var(--paper);color:var(--ink);border-radius:var(--r-md);padding:26px 24px 24px;text-align:left}
.glance .lbl{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.glance h3{font-family:var(--display);font-weight:400;font-size:27px;letter-spacing:-.02em;line-height:1.1;margin:8px 0 0}
.glance ul{list-style:none;margin:16px 0 0;padding:0}
.glance li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.35}
.glance li:last-child{border-bottom:1px solid var(--line)}
.kt .glance li{counter-increment:none;font-style:normal;color:var(--ink);font-size:15px;line-height:1.35;gap:14px;align-items:center}
.kt .glance li::before{content:none}
.glance .note{margin-top:14px;font-size:13.5px;color:var(--muted)}
.glance .more{margin-top:14px}
.yn{display:inline-flex;align-items:center;gap:5px;flex:none;padding:3px 11px 3px 7px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.3}
.yn svg.ic{width:15px;height:15px;stroke-width:2.4}
.yn.yes{background:var(--forest);color:#FFFCF7}
.yn.no{background:var(--cream);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.glance-mini{margin-top:72px;background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line);padding:22px 24px 18px}
.prose .glance-mini h2{font-size:24px;margin:0}
.glance-mini ul{list-style:none;margin:12px 0 0;padding:0}
.glance-mini li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid var(--line);font-size:15.5px;line-height:1.35}
.glance-mini .q small{display:block;margin-top:3px;font-size:13.5px;color:var(--muted)}
.glance-mini .note{margin-top:12px;font-size:13.5px;color:var(--muted)}
.prose .glance-mini+section{margin-top:72px}
.prose .tick-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:14px;border-top:1px solid var(--line);font-size:14.5px;line-height:1.4;color:var(--muted)}
.tick-line .yn{font-size:12.5px}
.src-link{font-weight:600;color:var(--forest);text-underline-offset:3px;white-space:nowrap}

/* Article body with sticky contents */
.a-body{padding:88px 0 40px}
@media (max-width:767px){.a-body{padding:56px 0 24px}}
.layout{display:grid;gap:0}
.layout>*{min-width:0}
@media (min-width:1040px){.layout{grid-template-columns:220px minmax(0,640px);gap:96px;justify-content:center}}
.side{display:none}
@media (min-width:1040px){.side{display:block}}
.toc{position:sticky;top:28px}
.toc .lbl{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.toc ol{list-style:none;margin:16px 0 0;padding:0;border-left:2px solid var(--line)}
.toc a{display:block;padding:8px 0 8px 18px;margin-left:-2px;border-left:2px solid transparent;font-size:15px;line-height:1.35;text-decoration:none;color:var(--muted)}
.toc a:hover{color:var(--forest);border-color:var(--forest)}
.toc a[aria-current]{color:var(--forest);border-color:var(--terracotta);font-weight:600}
.toc .top{margin-top:22px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--forest);text-decoration:none}
.toc .top .ic{width:16px;height:16px}
.toc-m{margin-bottom:40px;background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line)}
@media (min-width:1040px){.toc-m{display:none}}
.toc-m summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 18px 16px 22px;font-weight:600}
.toc-m summary::-webkit-details-marker{display:none}
.toc-m .pm{width:34px;height:34px;border-radius:50%;background:var(--sage);color:var(--forest);display:inline-flex;align-items:center;justify-content:center;transition:transform .3s}
.toc-m .pm .ic{width:16px;height:16px}
.toc-m[open] .pm{transform:rotate(180deg)}
.toc-m ol{margin:0;padding:0 22px 18px 44px}
.toc-m li{padding:5px 0}
.toc-m a{color:var(--forest);text-decoration:none}
.prose{font-size:18px;line-height:1.7}
.prose section{scroll-margin-top:24px}
.prose section+section{margin-top:72px}
.num{display:inline-block;font-family:var(--display);font-style:italic;font-size:17px;color:var(--terracotta-text)}
.prose h2{font-family:var(--display);font-weight:400;font-size:clamp(30px,3.4vw,40px);line-height:1.1;letter-spacing:-.025em;margin:8px 0 0}
.prose p{margin-top:18px}
.prose ul:not([class]),.prose ol:not([class]){margin:18px 0 0;padding-left:1.3em}
.prose a:not([class]),.prose a.il{color:var(--forest);font-weight:600;text-underline-offset:3px}
.cite{font-size:.68em;vertical-align:super;line-height:0;text-decoration:none;font-weight:600;font-style:normal;color:var(--forest);margin-left:2px}
.fig{margin:36px 0 0}
.fig .ph{border-radius:var(--r-lg);aspect-ratio:16/9;background-color:#2A1B3D}
.fig figcaption{margin-top:12px;font-size:14.5px;color:var(--muted)}

/* Evidence table */
.tbl{margin-top:28px;background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line);overflow:hidden}
.tbl table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
.tbl caption{text-align:left;padding:20px 22px 6px;font-family:var(--display);font-size:20px;letter-spacing:-.01em}
.tbl th,.tbl td{text-align:left;padding:15px 22px;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl thead th{font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.tbl tbody tr:last-child td{border-bottom:0}
.tbl td:first-child{font-weight:500}
.tbl-note{margin-top:12px;font-size:14.5px;color:var(--muted)}
@media (max-width:640px){
  .tbl table,.tbl tbody,.tbl tr,.tbl td,.tbl caption{display:block}
  .tbl caption{padding-bottom:14px;border-bottom:1px solid var(--line)}
  .tbl thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .tbl tr{padding:14px 20px;border-bottom:1px solid var(--line)}
  .tbl tbody tr:last-child{border-bottom:0}
  .tbl td{padding:4px 0;border:0}
  .tbl td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
}

/* Limits box */
.limits{margin-top:40px;background:#F4DFD3;border-radius:var(--r-lg);padding:30px 26px;position:relative;overflow:hidden}
@media (min-width:768px){.limits{padding:38px 40px}}
.limits::after{z-index:0;content:"";position:absolute;right:-50px;top:-50px;width:150px;height:150px;border-radius:50%;background:rgba(255,252,247,.45)}
.limits .head{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
.limits .ico{width:48px;height:48px;border-radius:50%;background:var(--paper);color:var(--terracotta-text);display:inline-flex;align-items:center;justify-content:center;flex:none}
.limits h2{margin:0;font-size:clamp(25px,2.6vw,30px)}
.limits ul{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px;position:relative;z-index:1}
.limits li{display:flex;gap:12px;align-items:flex-start;font-size:17px}
.limits li::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--terracotta);margin-top:11px}

/* FAQ */
.faq-list{display:grid;gap:12px;margin-top:26px}
.faq-list details{background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line)}
.faq-list details[open]{box-shadow:0 0 0 1.5px var(--forest)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 20px 20px 24px;font-family:var(--display);font-size:20px;line-height:1.3;letter-spacing:-.01em}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list .pm{width:38px;height:38px;border-radius:50%;background:var(--sage);color:var(--forest);display:inline-flex;align-items:center;justify-content:center;flex:none;transition:transform .3s ease,background .3s ease}
.faq-list .pm .ic{width:18px;height:18px}
.faq-list details[open] .pm{transform:rotate(45deg);background:var(--saffron);color:var(--ink)}
.faq-list details p{margin:0;padding:0 24px 22px;font-size:17px}

/* Sources */
.sources{list-style:none;margin:24px 0 0;padding:0;counter-reset:s;display:grid;gap:4px}
.sources li{counter-increment:s;display:block;position:relative;padding:12px 0 12px 46px;border-bottom:1px solid var(--line);font-size:16px;scroll-margin-top:24px}
.sources li::before{content:counter(s);position:absolute;left:0;top:11px;width:30px;height:30px;border-radius:50%;background:var(--sage);color:var(--forest-deep);font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.sources a{color:var(--forest);text-underline-offset:3px;overflow-wrap:anywhere}

/* About this review */
.about-box{margin-top:72px;background:var(--sage);border-radius:var(--r-lg);padding:30px 26px;display:grid;gap:20px}
@media (min-width:640px){.about-box{grid-template-columns:auto 1fr;gap:26px;padding:38px 40px}}
.about-box .mark{width:64px;height:64px;font-size:30px}
.about-box .mark::after{border-color:var(--sage);width:13px;height:13px}
.about-box .lbl{font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--forest)}
.about-box h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,2.8vw,32px);letter-spacing:-.02em;line-height:1.1;margin:8px 0 0}
.about-box p{margin-top:12px;font-size:16.5px}
.about-box .links{margin-top:18px;display:flex;flex-wrap:wrap;gap:12px 24px}
.small{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font-size:14.5px;color:var(--muted);display:grid;gap:6px}
.small p{margin:0}
.small a{color:var(--forest);font-weight:600}
.related{background:var(--paper);border-radius:40px 40px 0 0;padding:88px 0 96px;margin-top:64px}
@media (max-width:767px){.related{padding:64px 0}}

/* Text pages (about, policies, legal, search, 404) */
.p-hero{padding:18px 0 64px}
.p-col{max-width:760px;margin:0 auto}
.p-head{margin-top:40px}
@media (max-width:767px){.p-head{margin-top:30px}}
.p-head h1{font-family:var(--display-h1);font-weight:400;font-size:clamp(46px,7vw,92px);line-height:1;letter-spacing:-.04em;margin:24px 0 0;font-variation-settings:"opsz" 144}
.p-head h1 i{display:inline-block;width:.13em;height:.13em;border-radius:50%;background:var(--saffron);margin-left:.06em}
.p-head .intro{max-width:30em}
.p-head .reviewed{margin-top:26px}
.p-body{background:var(--paper);border-radius:40px 40px 0 0;padding:72px 0 96px}
@media (max-width:767px){.p-body{padding:52px 0 72px}}
.page-prose{font-size:18px;line-height:1.7}
.page-prose>*:first-child{margin-top:0}
.page-prose h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,3.2vw,38px);line-height:1.1;letter-spacing:-.025em;margin:60px 0 0}
.page-prose h3{font-family:var(--display);font-weight:500;font-size:22px;line-height:1.25;letter-spacing:-.01em;margin:34px 0 0}
.page-prose p{margin-top:18px}
.page-prose ul,.page-prose ol{margin:18px 0 0;padding-left:1.3em}
.page-prose li+li{margin-top:8px}
.page-prose li::marker{color:var(--terracotta)}
.page-prose a:not([class]){color:var(--forest);font-weight:600;text-underline-offset:3px}
.page-prose strong{font-weight:600}
.page-prose .note{font-size:15px;color:var(--muted)}
.callout{margin-top:32px;background:var(--sage);border-radius:var(--r-md);padding:24px 28px;font-size:17px}
.callout p:first-child{margin-top:0}
.tag-list{list-style:none!important;padding:0!important;display:grid;gap:14px}
.tag-list li{display:grid;gap:8px;background:var(--cream);border-radius:var(--r-md);padding:18px 22px;margin:0!important}
@media (min-width:640px){.tag-list li{grid-template-columns:200px 1fr;align-items:center;gap:20px}}
.tag-list .etag{justify-self:start}
.q-list{list-style:none!important;padding:0!important;margin-top:20px;border-bottom:1px solid var(--line)}
.q-list li{border-top:1px solid var(--line);padding:12px 0;margin:0!important;display:flex;gap:14px;align-items:baseline}
.q-list li::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--saffron);transform:translateY(-2px)}
.link-row{display:flex;flex-wrap:wrap;gap:14px 28px;margin-top:28px}
.home-answers{display:flex;justify-content:center;margin-top:22px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}

/* Search page */
.s-hero .p-head h1{margin-top:0}
.p-search .search{margin-top:26px;max-width:none}
.sr-count{margin-top:18px;font-size:16px;color:var(--muted)}
.sr-count b{color:var(--ink);font-weight:600}
.dym{margin-top:10px;font-size:17px}
.dym[hidden]{display:none}
.dym a{color:var(--forest);font-weight:600;text-underline-offset:3px}
.s-filter{margin-top:18px}
.pills{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.pills[hidden]{display:none}
.pills .pl{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-right:6px}
.pill{font:inherit;font-size:14.5px;font-weight:500;min-height:44px;padding:8px 16px;border-radius:999px;background:var(--paper);color:var(--forest-deep);border:1px solid #D9CFBD;text-decoration:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer}
.pill:hover{border-color:var(--forest)}
.pill.on{background:var(--forest);color:#fff;border-color:var(--forest)}
.pill em{font-style:normal;font-size:13px;color:var(--muted);font-weight:600}
.pill.on em{color:#DCE6D9}
mark{background:rgba(233,169,60,.32);color:inherit;border-radius:4px;padding:0 2px}
.grp{margin-top:30px}
.grp-h{display:flex;align-items:baseline;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px}
.grp-h h2{font-family:var(--display);font-weight:400;font-size:30px;letter-spacing:-.02em;margin:0}
.grp-h span{font-size:14px;color:var(--muted)}
.rc{display:block;margin-top:12px;background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line);padding:18px 24px 16px;text-decoration:none;color:var(--ink)}
.rc:hover{box-shadow:0 0 0 1.5px var(--forest)}
.rc.tcard{box-shadow:0 0 0 1.5px var(--forest);background:linear-gradient(90deg,var(--sage) 0,var(--sage) 6px,var(--paper) 6px)}
.rc .lab{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--terracotta-text)}
.rc.rc-tool{box-shadow:0 0 0 1.5px var(--forest)}
.rc .lab .rc-tag{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:var(--forest);color:#FFF8EC;letter-spacing:.08em}
.rc .lab .rc-tag .ic{width:14px;height:14px}
.rc .lab .sep{width:5px;height:5px;border-right:1.5px solid #B07A60;border-top:1.5px solid #B07A60;transform:rotate(45deg)}
.rc h3{font-family:var(--display);font-weight:400;font-size:clamp(22px,2.4vw,26px);line-height:1.18;letter-spacing:-.015em;margin:8px 0 0}
.rc:hover h3{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.rc p{margin-top:8px;font-size:16.5px;line-height:1.55;color:#2E3833}
.rc .ft{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.rc .ft .ck{display:inline-flex;align-items:center;gap:8px}
.rc .ft .ck .ic{width:16px;height:16px;color:var(--terracotta-text)}
.rc .ft .rd{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--forest)}
.rc .ft .rd .ic{width:16px;height:16px}
.nores h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,3vw,32px);letter-spacing:-.015em;margin:26px 0 0;line-height:1.2}
.nores .lbl{margin-top:22px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.nores p.more-wrap{margin-top:18px}
.nores .dym{margin-top:8px}
.nores .hint{margin-top:8px;color:var(--muted)}
.s-topics{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.s-topics a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;background:var(--paper);border-radius:14px;box-shadow:0 0 0 1px var(--line);padding:11px 16px;text-decoration:none}
.s-topics a:hover{box-shadow:0 0 0 1.5px var(--forest)}
.s-topics .nm{font-family:var(--display);font-size:19px}
.s-topics small{display:block;font-size:13px;color:var(--muted)}
.s-topics .qc{font-size:13.5px;color:var(--forest);font-weight:600;white-space:nowrap}
.s-fallback{margin-top:24px;font-size:16px;color:var(--muted)}
.s-fallback .more{margin-top:18px}
.js .s-fallback{display:none}

/* Homepage section tiles */
.stiles{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.stiles{grid-template-columns:repeat(2,1fr);gap:18px}}
@media (min-width:1100px){.stiles{grid-template-columns:repeat(4,1fr)}}
.stile{background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line);padding:22px 24px 20px;display:flex;flex-direction:column;text-decoration:none;color:var(--ink);min-height:250px}
.stile .ph{margin:-22px -24px 0;aspect-ratio:16/10;border-radius:var(--r-md) var(--r-md) 0 0;position:relative}
.stile .ph img{transition:transform .6s ease}
@media (max-width:639px){.stile .ph{aspect-ratio:2/1}}
.stile.az:hover .ph img{transform:scale(1.04)}
.stile .ph+.ico{margin-top:-24px;position:relative;box-shadow:0 0 0 4px var(--paper)}
.stile.az .ph+.ico{box-shadow:0 0 0 4px var(--forest)}
.stile .ico{width:48px;height:48px;border-radius:50%;background:var(--sage);color:var(--forest);display:inline-flex;align-items:center;justify-content:center}
.stile h3{font-family:var(--display);font-weight:400;font-size:clamp(24px,2.2vw,28px);line-height:1.1;letter-spacing:-.02em;margin:14px 0 0}
.stile p{margin-top:8px;font-size:15.5px;line-height:1.45;color:var(--muted)}
.stile .tp{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.stile .tp a{display:inline-flex;align-items:center;min-height:40px;font-size:14.5px;font-weight:500;padding:6px 14px;border-radius:999px;background:var(--cream);color:var(--forest-deep);border:1px solid #E3D9C8;text-decoration:none}
.stile .tp a:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.stile .cnt{margin-top:auto;padding-top:18px;font-size:14px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}
.stile .cnt .ic{width:20px;height:20px;color:var(--forest)}
.stile.az{background:var(--forest);color:#FFFCF7;box-shadow:none;position:relative;overflow:hidden}
.stile.az::before{content:"";position:absolute;right:-60px;top:-70px;width:170px;height:170px;border-radius:50%;background:var(--saffron);opacity:.16}
.stile.az>*{position:relative}
.stile.az .ico{background:var(--saffron);color:var(--forest-deep)}
.stile.az p,.stile.az .cnt{color:#DCE6D9}
.stile.az .cnt .ic{color:var(--saffron)}
.stile.az:hover h3{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}

/* Topics A to Z */
.az-hero{padding-bottom:56px}
.letters{display:flex;flex-wrap:wrap;gap:4px;margin-top:30px}
.letters a,.letters span{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-family:var(--display);font-size:19px;text-decoration:none}
.letters a{background:var(--paper);color:var(--forest);box-shadow:0 0 0 1px #D9CFBD;font-weight:500}
.letters a:hover{background:var(--forest);color:#fff}
.letters span{color:#A39B8D}
@media (min-width:1200px){.letters{flex-wrap:nowrap}.letters a,.letters span{width:40px;height:40px}}
.az-filter{margin-top:22px}
.az-band{padding-top:64px}
.azlist{column-gap:48px}
@media (min-width:700px){.azlist{columns:2}}
@media (min-width:1040px){.azlist{columns:3}}
.azg{break-inside:avoid;padding-bottom:28px;scroll-margin-top:24px}
.azg[hidden]{display:none}
.azg h2{font-family:var(--display);font-weight:400;font-size:38px;line-height:1;letter-spacing:-.03em;margin:0 0 10px;color:var(--terracotta-text);display:flex;align-items:baseline}
.azg h2 i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--saffron);margin-left:4px}
.azg ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.azg li[hidden]{display:none}
.azg li a{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:9px 0;border-bottom:1px solid var(--line);text-decoration:none}
.azg li a:hover .nm{text-decoration:underline;text-underline-offset:4px}
.azg .nm{font-family:var(--display);font-size:21px;letter-spacing:-.01em;line-height:1.2}
.azg .sx{display:block;font-family:var(--sans);font-size:13.5px;color:var(--muted);margin-top:2px}
.azg .qc{font-size:14px;color:var(--forest);font-weight:600;white-space:nowrap}
.findit{display:grid;gap:20px 30px;align-items:center;background:var(--sage);border-radius:var(--r-lg);padding:28px 24px;margin-top:40px;position:relative}
@media (max-width:859px){.findit{grid-template-columns:minmax(0,1fr)}}
@media (min-width:860px){.findit{grid-template-columns:auto 1fr;padding:34px 44px}}
.findit h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,3vw,34px);letter-spacing:-.02em;line-height:1.1;margin:0}
.findit p{margin-top:6px;color:var(--forest-deep);font-size:16px}
.findit .search{margin-top:0;max-width:none;height:58px}

/* Footer */
.footer{background:var(--forest-deep);color:#E7E1D5;padding:44px 0 40px;font-size:15px}
.foot-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.footer .logo{color:#F6F1E9;font-size:26px}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 26px}
.footer ul a{text-decoration:none;color:#E7E1D5}
.footer ul a:hover{color:#fff;text-decoration:underline}
.disclaimer{margin:30px 0 0;padding-top:24px;border-top:1px solid rgba(231,225,213,.2);color:#CFC8BA;font-size:14px}

/* Cookie banner (Google Analytics loads only after Accept; site.js). Both buttons look the same on purpose. */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -6px 24px rgba(27,36,32,.10);color:var(--ink)}
.consent[hidden]{display:none}
body.has-consent{padding-bottom:84px}
.consent-in{display:flex;align-items:center;gap:14px 28px;padding-top:14px;padding-bottom:14px}
.consent-text{margin:0;flex:1;font-size:15px;line-height:1.5;color:var(--ink)}
.consent-text a{color:var(--forest);font-weight:600}
.consent-btns{display:flex;gap:10px;flex:none}
.consent-btn{min-width:104px;height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--forest);background:var(--paper);color:var(--forest);font:inherit;font-size:15.5px;font-weight:600;cursor:pointer}
.consent-btn:hover{background:var(--forest);color:#fff}
.consent-btn:focus-visible,.cd-close:focus-visible{outline:3px solid var(--terracotta);outline-offset:2px}
.consent-dlg{width:min(560px,calc(100% - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:26px 28px 22px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--paper);color:var(--ink);box-shadow:0 18px 48px rgba(27,36,32,.22)}
.consent bdi,.consent-dlg bdi{white-space:nowrap}
.consent-dlg::backdrop{background:rgba(22,58,44,.45)}
.cd-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cd-head h2{margin:0;font-family:var(--display);font-size:26px;line-height:1.2;color:var(--forest-deep)}
.cd-close{width:40px;height:40px;flex:none;border-radius:50%;border:1px solid var(--line);background:var(--paper);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.cd-close .ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.cd-close:hover{background:var(--cream)}
.cd-row{margin-top:18px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--cream)}
.cd-top{display:flex;align-items:center;gap:12px}
.cd-name{flex:1;font-weight:600;font-size:16.5px;color:var(--forest-deep)}
.cd-lock{font-size:14px;color:var(--muted)}
.cd-row p{margin:8px 0 0;font-size:15px;line-height:1.55;color:var(--ink)}
.cd-sw{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:50px;height:28px;margin:0;border-radius:999px;background:#B9B2A4;cursor:pointer;transition:background .15s}
.cd-sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s}
.cd-sw:checked{background:var(--forest)}
.cd-sw:checked::after{transform:translateX(22px)}
[dir=rtl] .cd-sw::after{left:auto;right:3px}
[dir=rtl] .cd-sw:checked::after{transform:translateX(-22px)}
.cd-sw:disabled{cursor:not-allowed;opacity:.6}
.cd-sw:focus-visible{outline:3px solid var(--terracotta);outline-offset:2px}
.cd-btns{display:flex;gap:10px;margin-top:20px}
.cd-btns .consent-btn{flex:1}
.cd-privacy{margin:14px 0 0;font-size:15px}
.cd-privacy a{color:var(--forest);font-weight:600}
@media (max-width:640px){body.has-consent{padding-bottom:190px}.consent-dlg{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px 18px 18px}.cd-head h2{font-size:22px}.cd-btns{flex-direction:column}.cd-btns .consent-btn{width:100%;flex:none}.consent-in{flex-direction:column;align-items:stretch;gap:10px;padding-top:12px;padding-bottom:12px}.consent-text{font-size:14.5px}.consent-btns{gap:8px}.consent-btn{flex:1;min-width:0;height:42px}}

/* Supplied guide tables scroll within the article on narrow screens. */
.guide-table{max-width:100%;overflow-x:auto;margin-top:28px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md)}
.guide-table table{width:100%;min-width:580px;border-collapse:collapse;font-size:16px;line-height:1.5}
.guide-table th,.guide-table td{text-align:left;vertical-align:top;padding:15px 18px;border-bottom:1px solid var(--line)}
.guide-table th{font-weight:600;color:var(--forest)}
.guide-table tr:last-child td{border-bottom:0}
.guide-table a,.sources a{overflow-wrap:anywhere}
.prose h3{font-family:var(--display);font-size:24px;line-height:1.25;margin:32px 0 0}
.p-guide .standfirst{max-width:42em;font-family:var(--sans);font-style:normal;font-size:19px;line-height:1.6}
.p-guide .standfirst strong{font-weight:500}
.p-guide .layout{min-width:0}
.p-guide .prose{min-width:0}
.p-guide .sources li{scroll-margin-top:24px}
.search input:focus{outline:none}
.search input::-webkit-search-cancel-button{cursor:pointer}
.search button{border:0;background:var(--forest);color:#fff;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.search button:hover{background:var(--forest-deep)}
.search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:17px;color:var(--ink)}
@media(max-width:599px){.search{padding-left:18px}}

/* Topic overview: article prose between the topic hero and the reviews; sources continue the reviews band. */
.ov{padding:0 0 88px}
@media (max-width:767px){.ov{padding-bottom:64px}}
.ov-body{max-width:720px;margin:0 auto}
.ov .standfirst{margin:0;max-width:none;font-family:var(--sans);font-style:normal;font-size:19px;line-height:1.6}
.ov .standfirst strong{font-weight:500}
.ov .checked-on{margin:16px 0 0;max-width:none}
.ov .dates{justify-content:flex-start}
.ov-head+section{margin-top:64px}
.ov .read-more{margin-top:22px}
.ov-sources{background:var(--paper);padding:0 0 88px}
@media (max-width:767px){.ov-sources{padding-bottom:64px}}
.ov-sources h2{margin:0}

/* Related questions (end of every article) and related topics (foot of topic pages), built from site data */
.a-main{min-width:0}
.rq{margin-top:56px;padding-top:32px;border-top:2px solid var(--forest)}
.rq h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,3vw,32px);line-height:1.15;letter-spacing:-.015em;margin:0}
.rq ul{list-style:none;margin:18px 0 0;padding:0;border-bottom:1px solid var(--line)}
.rq li{border-top:1px solid var(--line)}
.rq li a{display:block;min-height:44px;padding:16px 6px;text-decoration:none;color:var(--ink);border-radius:8px}
.rq li a:hover{background:var(--paper)}
.rq .rq-l{display:block;margin-bottom:4px;font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--terracotta-text)}
.rq .rq-t{display:block;font-family:var(--display);font-size:21px;line-height:1.25;letter-spacing:-.01em;color:var(--forest)}
.rq li a:hover .rq-t{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.rq .rq-a{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:var(--muted)}
.rq .rq-all{margin-top:22px;min-height:44px;white-space:normal;box-sizing:border-box}
.rt{padding:56px 0 72px}
.rt h2{font-family:var(--display);font-weight:400;font-size:clamp(24px,2.6vw,28px);letter-spacing:-.015em;margin:0}
.rt ul{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.rt a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 18px;border-radius:999px;background:var(--paper);box-shadow:0 0 0 1px var(--line);text-decoration:none;color:var(--forest-deep)}
.rt a:hover{box-shadow:0 0 0 1.5px var(--forest)}
.rt .nm{font-family:var(--display);font-size:18px}
.rt .qc{font-size:13.5px;color:var(--muted);font-weight:600}
/* Glossary (/glossary/): letter jump list reuses .letters; one definition list per letter. */
.gl-intro p{margin:0}
.gl-intro p+p{margin-top:12px}
.gl-group{scroll-margin-top:24px}
.gl-group h2{color:var(--terracotta-text)}
.gl-list{margin:14px 0 0;border-top:1px solid var(--line)}
.gl-entry{padding:16px 0;border-bottom:1px solid var(--line);scroll-margin-top:24px}
.gl-entry dt{font-family:var(--display);font-weight:500;font-size:21px;line-height:1.25;letter-spacing:-.01em;color:var(--forest)}
.gl-entry dd{margin:6px 0 0;overflow-wrap:anywhere}
.gl-entry:target{background:var(--paper)}
.p-glossary .sources li{scroll-margin-top:24px}
.gl-more{display:block;margin-top:6px;font-size:16px}
/* Tables with up to three columns fit a phone screen without sideways scrolling inside the box. */
.guide-table table:not(:has(th:nth-child(4))){min-width:0}
@media (max-width:599px){.guide-table th,.guide-table td{padding:12px 14px}}
.inside .inside-n{font-variant-numeric:tabular-nums;min-width:var(--inside-number-width,0ch)}
@media (max-width:359px){.inside .inside-n{min-width:max(2.1ch,var(--inside-number-width,0ch))}}

.index-links{display:flex;flex-wrap:wrap;gap:8px 20px}
.p-home .explore .sec-head{flex-wrap:wrap}
.p-answers [hidden]{display:none}
#answers-empty{margin-top:20px}
.p-answers .letters{flex-wrap:wrap}
.p-answers .letters a[href="#letter-digits"]{width:auto;padding-inline:12px;border-radius:24px}
.p-answers .azg ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));column-gap:36px}
.p-answers .azg li a{height:100%}

/* ---------------------------------------------------------------- Design changes, 28 Nov 2026 */

/* 1. Header: Topics and Answers A to Z as plain links from 1024px (About from 1400px); the Menu button stays. */
.hlinks ul{gap:24px}
@media (min-width:1024px){
  .hdr-sections .hlinks{display:flex}
  .hdr-sections .hlinks .hl-about{display:none}
  .hdr.hdr-sections:not(.hdr-ar) .row1>.calc-pill{margin-left:0}
  [dir=rtl] .hdr-ar.hdr-sections .row1>.calc-pill{margin-right:0}
}
@media (min-width:1200px){
  .hdr-sections .tools{display:flex;margin-left:0}
  [dir=rtl] .hdr-sections .tools{margin-right:0}
  .hdr-sections .tools .s-btn{display:none}
  .hdr-sections .hsearch{max-width:440px}
}
@media (min-width:1400px){.hdr-sections .hlinks .hl-about{display:block}}

/* 2. Topic hero: a smaller photo and the first questions beside the intro. */
.t-hero{padding:14px 0 56px}
.t-hero-grid{gap:28px;margin-top:18px;align-items:start}
@media (min-width:960px){.t-hero{padding:18px 0 72px}.t-hero-grid{grid-template-columns:1fr minmax(0,500px);gap:56px;min-height:0;margin-top:22px}}
.t-hero h1{font-size:clamp(52px,8vw,104px);margin-top:18px}
.t-hero h1.mid{font-size:clamp(46px,6.4vw,88px)}
.t-hero h1.long{font-size:clamp(40px,5.4vw,72px)}
.t-hero .intro{margin-top:20px}
.t-meta{margin-top:24px}
.t-side{background:var(--paper);border-radius:var(--r-lg);box-shadow:0 0 0 1px var(--line),0 24px 50px -36px rgba(27,36,32,.4);overflow:hidden}
.t-photo{position:relative;height:150px}
.t-photo .c-main{position:absolute;inset:0;width:auto;height:auto;border-radius:0}
.t-photo .c-main img{width:100%;height:100%;object-fit:cover}
.t-photo .count{right:14px;bottom:14px;padding:6px 14px 6px 8px;font-size:13.5px}
.t-photo .count b{width:28px;height:28px;font-size:15px}
.qbox{padding:20px 22px 18px}
.qbox-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0}
.qbox-h span{font-family:var(--display);font-size:22px;letter-spacing:-.01em;line-height:1.2;color:var(--ink)}
.qbox-h small{font-size:13.5px;color:var(--muted);white-space:nowrap}
.qbox-list{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--line)}
.qbox-list li{border-bottom:1px solid var(--line)}
.qbox-list a{display:flex;gap:12px;align-items:baseline;padding:10px 2px;min-height:44px;box-sizing:border-box;text-decoration:none;color:var(--forest);font-size:16px;line-height:1.35}
.qbox-list a::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--saffron);transform:translateY(-2px)}
.qbox-list a:hover{text-decoration:underline;text-underline-offset:3px}
.qbox-more{margin-top:14px}
@media (max-width:639px){
  .t-photo{display:none}
  .t-hero h1{font-size:clamp(44px,13vw,60px)}
  .t-hero h1.mid{font-size:clamp(40px,11vw,54px)}
  .t-hero h1.long{font-size:clamp(36px,10vw,48px)}
  .t-hero .intro{font-size:19px;margin-top:14px}
  .t-meta{display:none}
  .qbox{padding:16px 18px 14px}
}

/* 3. Article header: byline and one short line of dates, so the text starts higher. */
.a-head{margin-top:28px}
.a-head h1{margin-top:18px}
.a-head .standfirst{margin-top:18px}
@media (max-width:767px){.a-head{margin-top:20px}}
.a-meta{margin-top:22px;display:inline-flex;align-items:center;gap:12px;text-align:left;max-width:100%}
.a-meta .mark{width:38px;height:38px;font-size:18px}
.a-meta .mark::after{right:0;bottom:2px;width:9px;height:9px}
.a-meta-t{min-width:0}
.a-meta .by{margin:0;font-size:15px;line-height:1.35}
.a-meta .by b{font-weight:600;color:var(--forest)}
.dates.checked-on{display:block;margin:3px 0 0;max-width:none;font-size:13.5px;line-height:1.5;color:var(--muted)}
.dates.checked-on>span{display:inline;background:none;border:0;border-radius:0;padding:0;font-size:inherit;color:inherit}
.dates.checked-on .sep{color:#A39B8D}
.dates.checked-on>.etag{display:inline-flex;vertical-align:middle;margin-inline-start:6px;background:var(--sage);border-radius:999px;padding:2px 10px 2px 7px;color:var(--forest);font-size:12.5px}
.dates.checked-on a{color:var(--forest);font-weight:600;white-space:nowrap}
.ov-head .dates.checked-on{margin-top:14px}
.a-body{padding-top:48px}
@media (max-width:767px){.a-body{padding-top:28px}}
.prose>.part-of{font-size:14.5px;color:var(--muted);margin:0 0 16px}
.toc-m{margin-bottom:28px}

/* 4. Phones: the breadcrumb is one back link to the parent page (the full trail stays from 640px). */
@media (max-width:639px){
  .crumb li{display:none}
  .crumb li:nth-last-child(2){display:inline-flex}
  .crumb li:nth-last-child(2)::before{content:"";width:7px;height:7px;border:0;border-left:1.5px solid var(--forest);border-bottom:1.5px solid var(--forest);transform:rotate(45deg);margin:0 8px 0 3px}
  [dir=rtl] .crumb li:nth-last-child(2)::before{border:0;border-right:1.5px solid var(--forest);border-top:1.5px solid var(--forest);margin:0 3px 0 8px}
  .crumb li:nth-last-child(2) a{color:var(--forest);font-weight:500;display:inline-flex;align-items:center;min-height:32px}
}

/* 5. Answers A to Z: topic filter buttons. */
.tf{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tf[hidden]{display:none}
.tf-btn{font:inherit;font-size:14.5px;font-weight:500;line-height:1.2;min-height:38px;padding:8px 15px;border-radius:999px;border:0;background:var(--paper);color:var(--forest);box-shadow:0 0 0 1px #D9CFBD;cursor:pointer}
.tf-btn:hover{box-shadow:0 0 0 1.5px var(--forest)}
.tf-btn[aria-pressed="true"]{background:var(--forest);color:#fff;box-shadow:none}
[dir=rtl] .tf-btn{font-family:var(--arabic);font-size:15.5px}

/* 6. Home: Popular calculators, under Most searched questions. */
.popcalc{padding:36px 0 8px}
.popcalc-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px}
.popcalc h2{font-family:var(--display);font-weight:400;font-size:clamp(26px,2.8vw,34px);line-height:1.1;letter-spacing:-.02em;margin:0}
.popcalc-list{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:768px){.popcalc-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media (min-width:1100px){.popcalc-list{grid-template-columns:repeat(6,minmax(0,1fr))}}
.popcalc-list a{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;height:100%;box-sizing:border-box;min-height:44px;padding:16px 16px 18px;border-radius:var(--r-md);background:var(--paper);box-shadow:0 0 0 1px var(--line);text-decoration:none;color:var(--forest)}
.popcalc-list a:hover{box-shadow:0 0 0 2px var(--forest);background:#fff}
.popcalc-list .calc-ic{margin:0}
.popcalc-list .cb,.popcalc-list [class*="cb-"]{margin:0}
.pc-t{font-family:var(--display);font-size:18px;line-height:1.25;letter-spacing:-.01em;padding-right:26px}
.popcalc-list a:hover .pc-t{text-decoration:underline;text-underline-offset:3px}
.pc-go{position:absolute;right:12px;bottom:14px;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--forest);color:#fff}
.pc-go .ic{width:14px;height:14px}
[dir=rtl] .pc-t{font-family:var(--arabic);font-weight:600;padding-right:0;padding-left:26px}
[dir=rtl] .pc-go{right:auto;left:12px}
[dir=rtl] .pc-go .ic,[dir=rtl] .popcalc .more .ic{transform:scaleX(-1)}
[dir=rtl] .a-meta,[dir=rtl] .a-meta .by,[dir=rtl] .dates.checked-on,[dir=rtl] .qbox{text-align:right;font-family:var(--arabic)}
[dir=rtl] .qbox-h span{font-family:var(--arabic);font-weight:600}
[dir=rtl] .t-photo .count{right:auto;left:14px}
.dates.checked-on time{white-space:nowrap}
.t-photo .count{display:none}
@media (max-width:767px){.a-meta{align-items:flex-start}.a-meta .mark{width:32px;height:32px;font-size:15px;margin-top:2px}.a-meta .by{font-size:14.5px}.dates.checked-on{font-size:13px}}
@media (max-width:639px){
  .popcalc-list{grid-template-columns:minmax(0,1fr)}
  .popcalc-list a{flex-direction:row;align-items:center;gap:14px;padding:10px 48px 10px 10px}
  .popcalc-list .cb{transform:scale(.78);margin:-7px}
  .pc-go{top:50%;bottom:auto;margin-top:-13px}
  [dir=rtl] .popcalc-list a{padding:10px 10px 10px 48px}
}

/* Calculators promo (site.json "calculatorsPromo"; build.py adds this file to the end of site.css only while it is
   on, so the public build is unchanged while it is off). The header button, its menu panel item, the homepage band. */

/* Header button: from 640px wide it sits in the header row, beside the language link and the search and Menu
   buttons (on wide screens after the links). Narrower, it is the first item of the menu panel instead. */
.calc-pill{display:none;align-items:center;gap:8px;height:46px;padding:0 18px 0 14px;border-radius:999px;background:var(--sage);color:var(--forest-deep);box-shadow:inset 0 0 0 1px rgba(31,77,58,.28);font-size:15.5px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;flex:none}
.calc-pill .ic{width:20px;height:20px;color:var(--forest)}
.calc-pill:hover{background:var(--forest);color:#fff;box-shadow:none}
.calc-pill:hover .ic{color:var(--saffron)}
.calc-pill[aria-current]{background:var(--forest);color:#fff;box-shadow:none}
.calc-pill[aria-current] .ic{color:var(--saffron)}
@media (min-width:640px){
  .calc-pill{display:inline-flex}
  .hdr:not(.hdr-ar) .row1>.calc-pill{margin-left:auto}
  .hdr:not(.hdr-ar) .row1>.calc-pill+.lang-sw,.hdr:not(.hdr-ar) .row1>.calc-pill+.tools,
  .hdr:not(.hdr-ar) .row1>.calc-pill+.lang-sw+.tools{margin-left:0}
  [dir=rtl] .hdr-ar .row1>.calc-pill{margin:0;margin-right:auto}
  [dir=rtl] .hdr-ar .row1>.calc-pill+.lang-sw,[dir=rtl] .hdr-ar .row1>.calc-pill+.lang-sw+.tools{margin:0}
}
@media (min-width:1040px){.hdr.hdr-simple:not(.hdr-ar) .row1>.calc-pill{margin-left:0}}
@media (min-width:1200px){
  .hdr.hdr-sections:not(.hdr-ar) .row1>.calc-pill{margin-left:0}
  [dir=rtl] .hdr-ar .row1>.calc-pill{margin-right:0}
}
[dir=rtl] .calc-pill{padding:0 14px 0 18px;font-family:var(--arabic);font-size:16.5px}

/* Menu panel: the first item, across both columns */
.sheet-quick a.q-calc{grid-column:1 / -1;background:var(--saffron);color:var(--forest-deep);box-shadow:none}
.sheet-quick a.q-calc .ic{width:20px;height:20px;color:var(--forest-deep)}
.sheet-quick a.q-calc:hover{background:#DD9A2C}

/* Homepage band, under the hero */
/* It sits inside the hero (see the phone rules at the end); from 640px wide 1px of padding inside the hero and
   -1px below it keep the card's outline clear of the hero's overflow clipping, so it looks as it did outside. */
@media (min-width:640px){.hero>.wrap>.calc-band{padding-bottom:1px}.hero:has(>.wrap>.calc-band){margin-bottom:-1px}}
.calc-band{padding:28px 0 0}
.calc-card{background:var(--paper);border-radius:var(--r-lg);box-shadow:0 0 0 1px var(--line);padding:26px 20px 24px}
.calc-head h2{font-family:var(--display);font-weight:400;font-size:clamp(28px,3.2vw,38px);line-height:1.1;letter-spacing:-.02em;margin:0;color:var(--ink)}
.calc-head p{margin-top:8px;font-size:16px;color:var(--muted)}
.calc-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px}
.calc-list a{position:relative;display:flex;flex-direction:column;height:100%;min-height:44px;padding:18px 60px 18px 18px;border-radius:var(--r-md);background:var(--cream);box-shadow:0 0 0 1px var(--line);text-decoration:none;color:var(--ink)}
.calc-list a:hover{box-shadow:0 0 0 2px var(--forest);background:#fff}
.calc-ic{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--sage);color:var(--forest);margin-bottom:12px}
.calc-ic .ic{width:21px;height:21px}
.calc-t{display:block;font-family:var(--display);font-size:20px;line-height:1.25;letter-spacing:-.01em;color:var(--forest)}
.calc-a{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:var(--muted)}
.calc-go{position:absolute;right:16px;top:18px;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--forest);color:#fff}
.calc-go .ic{width:16px;height:16px}
.calc-list a:hover .calc-t{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.calc-all{margin-top:20px}
@media (min-width:640px){.calc-list{grid-template-columns:1fr 1fr}}
@media (min-width:768px){.calc-band{padding-top:40px}.calc-card{padding:36px 40px 34px}}
@media (min-width:1100px){.calc-list{grid-template-columns:repeat(4,1fr);gap:16px}}
@media (max-width:639px){.calc-all{display:flex;justify-content:center}}
[dir=rtl] .calc-list a{padding:18px 18px 18px 60px}
[dir=rtl] .calc-go{right:auto;left:16px}
[dir=rtl] .calc-go .ic,[dir=rtl] .calc-all .ic{transform:scaleX(-1)}
[dir=rtl] .calc-head h2,[dir=rtl] .calc-t{font-family:var(--arabic);font-style:normal}
[dir=rtl] .calc-all{font-family:var(--arabic);font-size:16.5px}
@media (max-width:639px){.calc-ic{display:none}.calc-list a{padding-top:16px;padding-bottom:16px}.calc-go{top:14px}}

/* Phones (below 640px): a slim row under the header with one wide Calculators button, so it shows without opening
   the menu (build.py calc_row; left out on the calculators page itself, "current" on a tool page). Not sticky. */
.calc-row{display:none}
@media (max-width:639px){
  .calc-row{display:block;padding:0 0 12px}
  .calc-row-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 52px;border-radius:999px;background:var(--saffron);color:var(--forest-deep);font-size:16px;font-weight:600;line-height:1.2;text-decoration:none}
  .calc-row-btn .ic{width:20px;height:20px;flex:none;color:var(--forest-deep)}
  .calc-row-go{position:absolute;right:6px;top:50%;width:36px;height:36px;margin-top:-18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--forest)}
  .calc-row-btn .calc-row-go .ic{width:17px;height:17px;color:#fff}
  .calc-row-btn:hover{background:#DD9A2C}
  .calc-row-btn[aria-current]{background:var(--forest);color:#fff}
  .calc-row-btn[aria-current]>.ic{color:var(--saffron)}
  .calc-row-btn[aria-current] .calc-row-go{background:var(--saffron)}
  .calc-row-btn[aria-current] .calc-row-go .ic{color:var(--forest-deep)}
  .calc-row-btn[aria-current]:hover{background:var(--forest-deep)}
  [dir=rtl] .calc-row-btn{font-family:var(--arabic);font-size:16.5px}
  [dir=rtl] .calc-row-go{right:auto;left:6px}
  [dir=rtl] .calc-row-go .ic{transform:scaleX(-1)}

  /* Homepage: the band (rendered after the trust bar inside the hero) comes right after the hero text, search box
     and topic chips, before the DNA picture. */
  .hero>.wrap:has(>.calc-band){display:flex;flex-direction:column}
  .hero>.wrap:has(>.calc-band)>.hero-grid{display:contents}
  .hero>.wrap>.calc-band{order:1;padding:24px 0 8px}
  .hero>.wrap:has(>.calc-band) .hero-art{order:2}
  .hero>.wrap:has(>.calc-band)>.trustbar{order:3}
}

/* Calculator badges (site.json "calculatorBadges", a design proposal; build.py adds this file to the end of site.css
   only while it is on, so the public build is unchanged while it is off). A round label on each calculator card on
   /tools/ and in the homepage band, a smaller one beside a tool page's title, and the search box on /tools/. */

/* The badge: a dark green circle with a fine saffron ring; the label size steps down as it gets longer. */
.cb{flex:none;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;
  background:var(--forest);color:#FFF8EC;box-shadow:inset 0 0 0 3px var(--forest),inset 0 0 0 4.5px var(--saffron);
  font-family:var(--sans);font-weight:700;line-height:1.05;text-align:center;letter-spacing:0;font-style:normal;
  text-transform:none;white-space:nowrap}
.cb>span{display:block;padding:0 4px}
.cb.cb-s1{font-size:19px}
.cb.cb-s2{font-size:15.5px}
.cb.cb-s3{font-size:13px}
.cb.cb-s4{font-size:12px}
.cb.cb-2l{font-size:13.5px;line-height:1.08}
[dir=rtl] .cb:not(.cb-lat){font-family:var(--arabic);font-weight:700;line-height:1.2}
[dir=rtl] .cb:not(.cb-lat).cb-s3,[dir=rtl] .cb:not(.cb-lat).cb-s4{font-size:15px}
[dir=rtl] .cb:not(.cb-lat).cb-s2{font-size:17px}

/* /tools/: cards, one column on phones, two from 640px */
.tool-list.cb-cards{display:grid;gap:14px;margin-top:14px;padding:0;border:0}
.tool-list.cb-cards li{border:0;margin:0}
.tool-list.cb-cards li[hidden]{display:none}
.tool-list.cb-cards a{display:flex;align-items:center;gap:16px;height:100%;box-sizing:border-box;padding:18px 16px 18px 18px;
  background:var(--paper);border-radius:var(--r-md);box-shadow:0 0 0 1px var(--line)}
.tool-list.cb-cards a:hover{background:#fff;box-shadow:0 0 0 2px var(--forest)}
.cb-body{flex:1;min-width:0}
.tool-list.cb-cards .tl-t{font-size:21px}
.tool-list.cb-cards .tl-a{font-size:15px}
.cb-go{flex:none;width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:var(--sage);color:var(--forest)}
.cb-go .ic{width:17px;height:17px}
.tool-list.cb-cards a:hover .cb-go{background:var(--forest);color:#fff}
/* Phones: the badge, the title and the arrow on one line, the description across the card below them */
@media (max-width:639px){
  .tool-list.cb-cards a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:14px;row-gap:10px;align-items:center;padding:16px}
  [dir=rtl] .tool-list.cb-cards a{padding:16px}
  .tool-list.cb-cards .cb-body{display:contents}
  .tool-list.cb-cards .cb{grid-column:1;grid-row:1;width:58px;height:58px}
  .tool-list.cb-cards .tl-t{grid-column:2;grid-row:1;font-size:20px}
  .tool-list.cb-cards .cb-go{grid-column:3;grid-row:1}
  .tool-list.cb-cards .tl-a{grid-column:1 / -1;grid-row:2;margin-top:0}
  .tool-list.cb-cards .cb.cb-s1{font-size:17.5px}
  .tool-list.cb-cards .cb.cb-s2{font-size:13.5px}
  .tool-list.cb-cards .cb.cb-s3{font-size:12.5px}
  .tool-list.cb-cards .cb.cb-2l{font-size:12.5px}
}
@media (min-width:640px){
  .tool-list.cb-cards{grid-template-columns:1fr 1fr;gap:16px}
  .tool-list.cb-cards a{flex-wrap:wrap;align-items:flex-start;gap:14px 12px;padding:20px 20px 22px}
  .tool-list.cb-cards .cb{width:72px;height:72px}
  .tool-list.cb-cards .cb.cb-s1{font-size:21px}
  .tool-list.cb-cards .cb.cb-s2{font-size:17px}
  .tool-list.cb-cards .cb.cb-s3{font-size:14px}
  .tool-list.cb-cards .cb.cb-s4{font-size:13px}
  .tool-list.cb-cards .cb.cb-2l{font-size:15px}
  .tool-list.cb-cards .cb-go{margin-left:auto}
  .tool-list.cb-cards .cb-body{order:3;flex:1 1 100%}
  [dir=rtl] .tool-list.cb-cards a{padding:20px 20px 22px}
  [dir=rtl] .tool-list.cb-cards .cb-go{margin-left:0;margin-right:auto}
  [dir=rtl] .tool-list.cb-cards .cb:not(.cb-lat).cb-s2{font-size:18px}
  [dir=rtl] .tool-list.cb-cards .cb:not(.cb-lat).cb-s3{font-size:16px}
}
[dir=rtl] .page-prose .tool-list.cb-cards,[dir=rtl] .tool-list.cb-cards{padding:0}
[dir=rtl] .tool-list.cb-cards a{padding:18px 18px 18px 16px}
[dir=rtl] .cb-go .ic{transform:scaleX(-1)}

/* Search box above the cards (shown by calc-search/tools-search.js; with JavaScript off the full list shows) */
.tsearch{margin:18px 0 0}
.tsearch[hidden],.tsearch-none[hidden],.tsearch-clear[hidden]{display:none}
.tsearch label{display:block;font-weight:600;font-size:16px;color:var(--ink);margin-bottom:8px}
.tsearch-box{display:flex;align-items:center;gap:8px;max-width:520px;height:54px;padding:0 5px 0 18px;border-radius:999px;
  background:var(--paper);box-shadow:0 0 0 1px #CFC3AE}
.tsearch-box:focus-within{box-shadow:0 0 0 2px var(--forest)}
.tsearch-box>.ic{width:20px;height:20px;color:#55615B}
.tsearch input{flex:1;min-width:0;height:100%;border:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);padding:0 4px}
.tsearch input::placeholder{color:#5F6A64}
.tsearch input:focus{outline:none}
.tsearch input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.tsearch-clear{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--sage);color:var(--forest);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tsearch-clear:hover{background:var(--forest);color:#fff}
.tsearch-clear .ic{width:18px;height:18px}
.tsearch-count{margin:8px 0 0;font-size:14.5px;color:var(--muted)}
.tsearch-none{margin:16px 0 0;padding:18px 20px;border-radius:var(--r-md);background:var(--paper);box-shadow:0 0 0 1px var(--line);font-size:16px}
.tsearch-all{display:inline;margin:0;padding:6px 2px;border:0;background:none;font:inherit;font-weight:600;color:var(--forest);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer}
[dir=rtl] .tsearch-box{padding:0 18px 0 5px}
[dir=rtl] .tsearch label,[dir=rtl] .tsearch input,[dir=rtl] .tsearch-none,[dir=rtl] .tsearch-all{font-family:var(--arabic)}

/* Homepage band: the badge in place of the calculator icon; on phones it sits beside the title */
.cb-band .cb{width:60px;height:60px;margin-bottom:12px}
.cb-band .cb.cb-s1{font-size:17px}
.cb-band .cb.cb-s2{font-size:14px}
.cb-band .cb.cb-s3{font-size:12px}
.cb-band .cb.cb-s4{font-size:11px}
.cb-band .cb.cb-2l{font-size:12px}
[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s2,[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s3,[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s4{font-size:13px}
@media (max-width:639px){[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s2,[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s3,[dir=rtl] .cb-band .cb:not(.cb-lat).cb-s4{font-size:12.5px}}
@media (max-width:639px){
  .cb-band a{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:10px;align-items:center}
  .cb-band .cb{grid-column:1;grid-row:1;margin:0;width:54px;height:54px}
  .cb-band .calc-t{grid-column:2;grid-row:1}
  .cb-band .calc-a{grid-column:1 / -1;grid-row:2;margin-top:0}
  .cb-band .calc-go{top:16px;margin-top:0}
}

/* Tool page: a smaller badge at the end of the title line */
.cb.cb-h{float:right;width:60px;height:60px;margin:6px 0 10px 16px}
[dir=rtl] .cb.cb-h{float:left;margin:6px 16px 10px 0}
.cb.cb-h.cb-s1{font-size:17px}
.cb.cb-h.cb-s2{font-size:14px}
.cb.cb-h.cb-s3{font-size:12px}
.cb.cb-h.cb-s4{font-size:10.5px}
.cb.cb-h.cb-2l{font-size:12.5px}
@media (min-width:768px){.cb.cb-h{width:76px;height:76px;margin-top:14px}.cb.cb-h.cb-s1{font-size:21px}.cb.cb-h.cb-s2{font-size:17px}
  .cb.cb-h.cb-s3{font-size:14px}.cb.cb-h.cb-s4{font-size:12.5px}.cb.cb-h.cb-2l{font-size:15px}}

/* Drop-down list under the /tools/ search box (calc-search/tools-search.js): the look of the site search type-ahead
   (site.css .sugg), with a small round badge in place of the icon. */
.tsearch-box{position:relative}
.tsugg{top:calc(100% + 6px);max-height:min(60vh,420px)}
.tsugg [role="option"]{gap:12px;padding:8px 10px}
.tsugg small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cb.cb-sg{width:42px;height:42px;box-shadow:inset 0 0 0 2px var(--forest),inset 0 0 0 3px var(--saffron)}
.cb.cb-sg>span{padding:0 2px}
.cb.cb-sg.cb-s1{font-size:13.5px}
.cb.cb-sg.cb-s2{font-size:11px}
.cb.cb-sg.cb-s3{font-size:9.5px}
.cb.cb-sg.cb-s4{font-size:9px}
.cb.cb-sg.cb-2l{font-size:9.5px}
[dir=rtl] .cb.cb-sg:not(.cb-lat),[dir=rtl] .cb.cb-sg:not(.cb-lat).cb-s2,[dir=rtl] .cb.cb-sg:not(.cb-lat).cb-s3,
[dir=rtl] .cb.cb-sg:not(.cb-lat).cb-s4{font-size:11px}
/* Homepage hero layouts "a" and "b" (site.json "heroVariant"; build.py adds this file to the end of site.css only
   while one of them is on, so the build is unchanged on "current"). The DNA picture is a large, calm picture behind
   the hero; the text sits on its clear side. No animation. */

.hero.hv{position:relative;overflow:hidden;padding:0}
/* While the search box is in use, show its suggestions above the next section instead of clipping them */
.hero.hv:focus-within{z-index:5;overflow:visible;overflow-x:clip}
.hv-art{position:absolute;inset:0;z-index:0;pointer-events:none}
.hv-art picture{display:contents}
.hv .dna-img{position:absolute;width:auto;max-width:none}
.hv>.wrap{position:relative;z-index:1}
.hv-copy{position:relative}
.hv .search{max-width:560px}

/* The one Calculators button (variant a): the header button's style, secondary to the search box */
.hero .hv-calc{display:inline-flex;margin-top:16px;height:48px}

/* Phones and tablets: the DNA large at the top, beside and behind the headline, faded so the text stays clear */
@media (max-width:959px){
  .hv .dna-img{top:-8px;right:-78px;height:370px;opacity:.72;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 8%,#000 40%,transparent 80%);mask-image:linear-gradient(180deg,transparent 0%,#000 8%,#000 40%,transparent 80%)}
  /* a soft cream halo keeps each letter clear where it crosses the picture */
  .hv h1,.hv .sub{text-shadow:0 0 1px var(--cream),0 0 2px var(--cream),0 0 4px var(--cream),0 0 9px var(--cream),0 0 18px var(--cream)}
  .hv-copy{padding:26px 0 8px}
  .hv-b .hv-copy{padding-bottom:30px}
  .inside{padding-top:0}
  .hv h1{max-width:9em}
  .hv .sub{max-width:21em}
  .hv-a .trustbar,.inside .trustbar{margin-top:20px}
}
@media (min-width:600px) and (max-width:959px){.hv .dna-img{right:-20px;height:480px}}

/* Desktop: the hero is the picture; DNA on the clear right, text on the left */
@media (min-width:960px){
  .hero.hv{background:radial-gradient(46% 62% at 76% 44%,#E3EBE2 0%,rgba(227,235,226,0) 100%)}
  .hv .dna-img{left:calc(50% - 20px);top:-100px;height:900px;
    -webkit-mask-image:linear-gradient(180deg,transparent 11%,#000 24%,#000 66%,transparent 81%);mask-image:linear-gradient(180deg,transparent 11%,#000 24%,#000 66%,transparent 81%)}
  .hv-copy{max-width:640px;padding:50px 0 34px}
  .hv-b .hv-copy{padding:76px 0 96px}
  /* b: a shorter hero, so the picture is a little smaller and fades out before the strip below */
  .hv-b .dna-img{top:-70px;height:800px;left:calc(50% + 10px);
    -webkit-mask-image:linear-gradient(180deg,transparent 8%,#000 21%,#000 62%,transparent 77%);mask-image:linear-gradient(180deg,transparent 8%,#000 21%,#000 62%,transparent 77%)}
  .hv-a .trustbar{margin-top:0}
}
@media (min-width:1280px){.hv-a .dna-img{left:50%}}

/* Variant b: "What is inside", directly under the hero */
.inside{padding:8px 0 4px}
.inside-h{margin:0;font-size:13.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.inside-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.inside-list a{position:relative;display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:baseline;min-height:44px;padding:16px 60px 16px 20px;border-radius:var(--r-md);background:var(--paper);box-shadow:0 0 0 1px var(--line);text-decoration:none;color:var(--ink)}
.inside-list a:hover{box-shadow:0 0 0 2px var(--forest)}
.inside-n{grid-row:1 / span 2;font-family:var(--display);font-size:38px;line-height:1;letter-spacing:-.02em;color:var(--forest)}
.inside-t{font-size:17px;font-weight:600;color:var(--ink)}
.inside-a{font-size:15px;line-height:1.45;color:var(--muted)}
.inside-go{position:absolute;right:16px;top:50%;margin-top:-16px;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--forest);color:#fff}
.inside-go .ic{width:16px;height:16px}
.inside-list a:hover .inside-t{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.inside .chips{margin-top:22px}
.inside .chip{display:inline-flex;align-items:center;min-height:42px;box-sizing:border-box;font-size:15px;padding:10px 18px;background:var(--paper);color:var(--forest-deep);border:1px solid #D9CFBD}
.inside .chip:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.inside .chip-all{background:var(--sage);border-color:var(--sage)}
@media (max-width:420px){.inside .chips{gap:8px}.inside .chip{font-size:13.5px;padding:6px 11px;min-height:40px}}
/* Phones: three small tiles in one row (number and name); the short line shows from 760px wide */
@media (max-width:759px){
  .inside-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .inside-list a{display:flex;flex-direction:column;align-items:flex-start;padding:14px 10px 13px 12px;min-height:0}
  .inside-n{font-size:32px}
  .inside-t{margin-top:4px;font-size:14.5px;line-height:1.25}
  .inside-a,.inside-go{display:none}
  [dir=rtl] .inside-list a{padding:14px 12px 13px 10px}
}
/* Very narrow phones: one short row each */
@media (max-width:359px){
  .inside-list{grid-template-columns:1fr}
  .inside-list a{flex-direction:row;align-items:baseline;gap:12px;padding:10px 14px}
  .inside-n{font-size:28px;min-width:2.1ch}
  .inside-t{margin-top:0}
  [dir=rtl] .inside-list a{padding:10px 14px}
}
@media (min-width:760px){.inside-list{grid-template-columns:repeat(3,1fr);gap:16px}}
@media (min-width:960px){
  .inside{padding:0 0 4px;margin-top:-56px;position:relative;z-index:2}
  .inside .trustbar{margin-top:22px}
}

/* Right to left: the picture moves to the other side (the photo itself is not mirrored) */
@media (max-width:959px){[dir=rtl] .hv .dna-img{right:auto;left:-100px}}
@media (min-width:600px) and (max-width:959px){[dir=rtl] .hv .dna-img{left:-20px}}
@media (min-width:960px){
  [dir=rtl] .hero.hv{background:radial-gradient(46% 62% at 24% 44%,#E3EBE2 0%,rgba(227,235,226,0) 100%)}
  [dir=rtl] .hv .dna-img{left:auto;right:calc(50% - 20px)}
}
@media (min-width:1280px){[dir=rtl] .hv-a .dna-img{right:50%}}
@media (min-width:960px){[dir=rtl] .hv-b .dna-img{left:auto;right:calc(50% + 10px)}}
[dir=rtl] .hero .hv-calc{padding:0 14px 0 18px}
[dir=rtl] .inside-list a{padding:16px 20px 16px 60px}
[dir=rtl] .inside-go{right:auto;left:16px}
[dir=rtl] .inside-go .ic{transform:scaleX(-1)}
[dir=rtl] .inside-h{letter-spacing:0;text-transform:none;font-family:var(--arabic);font-size:15px}
[dir=rtl] .inside-t{font-family:var(--arabic)}
[dir=rtl] .inside-n{font-family:var(--sans)}
