:root{--bg:#f4f2e9;--ink:#19372e;--muted:#53685b;--line:#d5dece}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.8 Tahoma,Arial,sans-serif}header,main{max-width:1320px;margin:auto}header{display:flex;align-items:center;gap:38px;padding:18px 34px;border-bottom:1px solid var(--line)}.logo{width:170px;height:170px;object-fit:contain;border-radius:8px}main{padding:0 34px}h1{font-size:42px;line-height:1.5;margin:0}h2{font-size:23px;margin:0 0 18px;font-weight:600}.eyebrow{font-size:16px;margin:0 0 10px}.lead{font-size:21px;margin:28px 0 34px;max-width:1000px}.panel{background:#fafbf6;border:1px solid var(--line);border-radius:12px;padding:27px}.fields{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}label{font-size:17px;display:block}input,select,button{font:inherit;color:inherit}input[type=number],select{display:block;width:100%;min-width:0;border:1px solid #b9c7b1;border-radius:7px;padding:12px 10px;background:white;min-height:50px;margin-top:9px}input[type=number]{direction:ltr;text-align:left;font:21px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}button{cursor:pointer;border:0;background:var(--ink);color:white;border-radius:7px;padding:12px 18px;font-size:17px}button:disabled{opacity:.4;cursor:not-allowed}input:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid #8fae7d;outline-offset:2px}.info{margin-bottom:0;font-size:18px}.num,bdi{direction:ltr;unicode-bidi:isolate;font-family:Arial,sans-serif;font-variant-numeric:tabular-nums}.section-intro{margin:34px 0 20px}.section-intro h2{margin-bottom:8px}.section-intro p{margin:0;color:var(--muted);font-size:17px}.scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.scenario{border-top:5px solid var(--scenario);padding:23px}.scenario h2{display:flex;align-items:center;gap:12px;margin-bottom:15px}.dot{width:13px;height:13px;border-radius:50%;display:inline-block;background:var(--scenario);flex-shrink:0}.allocation-status{border:1px solid #b5c7a5;background:#edf3e4;border-radius:7px;padding:11px;font-size:16px;line-height:1.9;min-height:57px;margin-bottom:16px}.invalid,.error{background:#fff0e9!important;color:#922e20!important;border-color:#b84b37!important}.error{padding:14px;border-radius:7px;font-size:17px;line-height:1.9}.asset-head,.asset-row{display:grid;grid-template-columns:1fr .82fr 1fr;gap:10px;align-items:center}.asset-head{font-size:15px;color:var(--muted);margin-bottom:8px}.asset-row{margin-bottom:12px;font-size:17px}.asset-row input{margin:0;font-size:20px;padding:10px 8px}.scenario-summary{border-top:1px solid var(--line);padding-top:19px;margin-top:22px}.summary-label{font-size:16px;margin:0}.ending-total{display:block;color:var(--scenario);font-size:31px;line-height:1.6;font-weight:600;text-align:right;overflow-wrap:anywhere;margin:5px 0 16px}.summary-pair{display:flex;justify-content:space-between;gap:8px;font-size:16px;margin:7px 0}.summary-pair bdi{font-size:18px}.asset-balances{border-top:1px solid var(--line);margin-top:16px;padding-top:13px}.asset-balance{display:flex;justify-content:space-between;gap:10px;font-size:16px;margin:6px 0}.scenario.invalid-card .scenario-summary{opacity:.75}.scenario-invalid{color:#922e20;font-size:17px}.chart-panel{margin-top:28px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:15px}.section-heading h2{margin:0}.section-heading>span{font-size:17px;color:var(--muted)}.legend{display:flex;gap:25px;flex-wrap:wrap;font-size:18px;margin:22px 0 10px}.legend span{display:flex;align-items:center;gap:10px}.legend-line{display:inline-block;width:35px;border-top:4px solid var(--color)}.dashed{border-top-style:dashed}.chart-note{font-size:17px;color:var(--muted);line-height:1.9;margin:10px 0 20px}svg{display:block;width:100%;direction:ltr;touch-action:pan-y}svg text{font:18px Arial,sans-serif;fill:#415849}.scrub{display:flex;align-items:center;gap:24px;font-size:17px}.scrub input{flex:1;width:100%;accent-color:var(--ink);min-height:38px;direction:ltr}.year-detail{background:#edf1e3;border-radius:8px;padding:17px;margin-top:16px;font-size:17px;line-height:2}.year-values{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:10px}.year-values strong{display:block;font-weight:500}.table-panel{margin-top:28px}.table-choice{display:flex;align-items:center;gap:12px}.table-choice select{width:auto;margin:0;font-size:17px}.table-scroll{overflow:auto;max-height:470px}table{border-collapse:collapse;width:100%;font-size:17px;white-space:nowrap;text-align:end}caption{text-align:start;font-size:16px;color:var(--muted);padding:8px}th{position:sticky;top:0;background:#edf1e5;font-weight:500}th,td{padding:15px 13px;border-bottom:1px solid var(--line)}td{font-family:Arial,sans-serif;direction:ltr;unicode-bidi:isolate}th:first-child,td:first-child{text-align:start}tbody tr:hover{background:#f0f4e7}.assumptions{display:grid;grid-template-columns:1fr 2fr;gap:45px;padding:48px 0}.assumptions p:not(.eyebrow){font-size:17px;line-height:2;margin:0 0 18px;color:var(--muted)}.formula{white-space:nowrap}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 0 36px;font-size:14px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:1050px){main{padding:0 24px}.fields{grid-template-columns:repeat(3,1fr)}.scenarios{gap:13px}.scenario{padding:17px}.asset-head,.asset-row{gap:6px}.asset-head{font-size:13px}.asset-row{font-size:15px}.asset-row input{font-size:18px}.ending-total{font-size:27px}.summary-pair{flex-wrap:wrap}.year-values{gap:10px}}@media(max-width:760px){header{padding:18px;gap:22px}.logo{width:125px;height:125px}h1{font-size:28px}.eyebrow{font-size:14px}main{padding:0 16px}.lead{font-size:18px;margin:24px 0}.panel{padding:21px}.fields{grid-template-columns:1fr 1fr;gap:16px}.fields label:last-child{grid-column:1/-1}.fields label{font-size:16px}.scenarios{grid-template-columns:1fr;gap:23px}.scenario{padding:23px}.asset-head{font-size:16px}.asset-row{font-size:19px;gap:13px}.asset-row input{font-size:22px}.ending-total{font-size:36px}.summary-pair{font-size:18px}.summary-pair bdi{font-size:20px}.asset-balance{font-size:18px}.legend{gap:14px;font-size:17px}.chart-note{font-size:16px}.year-values{grid-template-columns:1fr}.assumptions{grid-template-columns:1fr;gap:18px;padding:36px 3px}.scrub{gap:10px;font-size:16px}h2{font-size:22px}.section-heading{gap:14px}.table-panel button{font-size:16px;width:100%}.table-choice{font-size:16px}footer{font-size:12px}svg text{font-size:16px}}

/* Personal branding only; calculator layout and behavior are unchanged. */
header>div{flex:1;min-width:0}.brand-slogan{font-size:19px;line-height:1.9;color:var(--muted);margin:12px 0 0;max-width:620px}.founder-portrait{margin:0;flex:0 0 180px;padding:7px;border:1px solid #cbd6c1;border-radius:50%;background:#fafbf6}.founder-portrait img{display:block;width:164px;height:164px;border-radius:50%;object-fit:cover;object-position:50% 43%}@media(max-width:760px){header{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;align-items:center}.logo{justify-self:start}header>div{grid-column:1/-1;grid-row:2}.founder-portrait{grid-column:2;grid-row:1;justify-self:end;padding:5px}.founder-portrait img{width:114px;height:114px}.brand-slogan{font-size:17px;margin-top:10px;max-width:none}}

/* Centered branding with the original Renaissance Human homepage hero. */
header.centered-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:24px 34px 30px}.centered-header .logo{width:112px;height:112px;border-radius:8px}.centered-header>div{flex:none;width:100%;text-align:center}.centered-header .eyebrow{font-size:15px;margin-bottom:8px}.centered-header h1{font-size:36px;line-height:1.6}.centered-header h1 br{display:none}.centered-header h1 br:after{content:" "}.centered-header .brand-slogan{max-width:none;margin:10px auto 0;font-size:21px}.homepage-hero{display:block;width:100%;margin-top:12px;background:#242421;border-radius:12px;overflow:hidden}.homepage-hero img{display:block;width:100%;height:auto;max-height:500px;object-fit:cover;object-position:50% 25%}@media(max-width:760px){header.centered-header{display:flex;padding:22px 16px 24px;gap:15px}.centered-header .logo{width:104px;height:104px}.centered-header h1{font-size:28px;line-height:1.65}.centered-header h1 br{display:block}.centered-header .brand-slogan{font-size:19px}.homepage-hero{margin-top:8px;border-radius:10px}.homepage-hero img{height:auto;max-height:560px;object-fit:cover;object-position:50% 20%}}

/* Homepage-style hero: white copy in the open right side, portrait unobscured. */
header.hero-header{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;direction:rtl;min-height:660px;margin:22px auto 30px;padding:172px 54px 58px;max-width:1252px;border:0;border-radius:14px;overflow:hidden;background:#252622;gap:0}.hero-photo,.hero-shade{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%}.hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:38% 30%}.hero-shade{z-index:-1;background:linear-gradient(to left,rgba(0,0,0,.33),rgba(0,0,0,.12) 48%,transparent 65%)}.hero-logo{position:absolute;top:28px;right:34px;display:block;width:122px;height:122px;border-radius:50%;overflow:hidden;background:#f8f8f6;border:2px solid rgba(255,255,255,.72);box-shadow:0 3px 20px rgba(0,0,0,.15)}.hero-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;transform:scale(1.08)}header.hero-header>.hero-copy{flex:none;width:47%;margin:0 0 0 auto;position:relative;color:white;text-align:center;text-shadow:0 2px 6px rgba(0,0,0,.3)}.hero-copy .eyebrow{color:#eee9de;font-size:17px;letter-spacing:0;margin-bottom:14px}.hero-copy h1{font-size:43px;line-height:1.55;color:#fff;margin:0}.hero-copy .brand-slogan{color:#fff;font-size:24px;line-height:1.8;margin:20px 0}.hero-description{font-size:18px;line-height:2;color:#f4f3ee;margin:0;max-width:510px}.hero-header+main{padding-top:0}@media(min-width:761px) and (max-width:1100px){header.hero-header{margin:16px 24px 28px;min-height:590px;padding:155px 30px 40px}.hero-photo img{object-position:40% center}.hero-copy h1{font-size:35px}.hero-copy .brand-slogan{font-size:21px}.hero-description{font-size:17px}.hero-logo{width:105px;height:105px;top:22px;right:26px}}@media(max-width:760px){header.hero-header{display:flex;flex-direction:column;min-height:0;margin:14px 16px 26px;padding:0;border-radius:12px;overflow:hidden;isolation:isolate;gap:0}.hero-photo{position:relative;inset:auto;height:auto;z-index:0}.hero-photo img{width:100%;height:auto;max-height:none;object-fit:contain}.hero-shade{display:none}.hero-logo{z-index:2;top:16px;right:16px;width:88px;height:88px}.hero-logo img{transform:scale(1.06)}header.hero-header>.hero-copy{width:100%;margin:0;padding:26px 23px 30px;background:#242622;text-align:center;z-index:1}.hero-copy .eyebrow{font-size:15px}.hero-copy h1{font-size:31px;line-height:1.65}.hero-copy .brand-slogan{font-size:22px;margin:16px 0}.hero-description{font-size:17px;line-height:1.95;max-width:none}}

/* Full-bleed hero and a centered logo above its copy. */
header.hero-header{max-width:none;width:100%;margin:0 0 34px;border-radius:0;min-height:690px;padding:54px clamp(30px,6vw,140px) 58px;background:#252622}.hero-photo img{object-position:center top}header.hero-header>.hero-copy{width:46%;max-width:600px;margin:0 0 0 auto}.hero-copy .hero-logo{position:relative;top:auto;right:auto;margin:0 auto 26px;width:116px;height:116px;box-shadow:0 10px 30px rgba(0,0,0,.2)}.panel{box-shadow:0 8px 28px rgba(32,58,38,.035)}input,select,button{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}input[type=number]:focus,select:focus{border-color:#698966;box-shadow:0 0 0 3px rgba(94,128,89,.1)}button:hover:not(:disabled){background:#31523e}.ending-total{font-variant-numeric:tabular-nums;letter-spacing:-.02em}.is-counting{opacity:.82}bdi[aria-busy=true]{text-decoration:underline dotted rgba(81,108,76,.25);text-underline-offset:5px}@media(min-width:761px) and (max-width:1100px){header.hero-header{margin:0 0 30px;padding:36px 28px;min-height:650px}header.hero-header>.hero-copy{width:46%}.hero-copy .hero-logo{width:98px;height:98px;margin-bottom:22px}.hero-copy h1{font-size:34px}}@media(max-width:760px){header.hero-header{width:100%;max-width:none;margin:0 0 26px;padding:0;border-radius:0;min-height:0}.hero-photo img{height:auto;object-fit:contain}.hero-copy .hero-logo{position:relative;top:auto;right:auto;width:104px;height:104px;margin:0 auto 22px}header.hero-header>.hero-copy{width:100%;max-width:none;margin:0;padding:28px 25px 34px}.hero-copy h1{font-size:31px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important;scroll-behavior:auto!important}.is-counting{opacity:1}}

/* Match the original homepage's transparent white hero logo. */
.hero-copy .hero-logo{display:block;width:250px;height:auto;max-width:80%;margin:0 auto 28px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.hero-copy .hero-logo img{display:block;width:100%;height:auto;object-fit:contain;border-radius:0;transform:none}@media(max-width:1100px){.hero-copy .hero-logo{width:230px;height:auto;margin-bottom:24px}}@media(max-width:760px){.hero-copy .hero-logo{width:220px;height:auto;max-width:78%;margin:0 auto 25px}.hero-copy .hero-logo img{transform:none;height:auto}}

/* Bilingual, accessible language switch; physical top right in both languages. */
.language-toggle{position:absolute;top:20px;right:24px;z-index:5;display:flex;direction:ltr;gap:4px;padding:5px;background:rgba(20,25,22,.88);border:1px solid rgba(255,255,255,.28);border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.12)}.language-toggle button{font:15px/1.5 Arial,Tahoma,sans-serif;min-height:42px;padding:8px 13px;display:flex;align-items:center;gap:7px;background:transparent;color:#fff;border-radius:8px}.language-toggle button[aria-pressed=true]{background:#f5f5ec;color:#19372e}.language-toggle button:hover{background:#405247}.language-toggle button[aria-pressed=true]:hover{background:#fff}.language-toggle button:focus-visible{outline:3px solid #d4e993;outline-offset:2px}[dir=ltr] body{font-family:Arial,sans-serif;text-align:left}[dir=ltr] header.hero-header{direction:rtl}[dir=ltr] header.hero-header>.hero-copy{direction:ltr;text-align:left}[dir=ltr] .hero-copy .hero-logo{margin-left:0;margin-right:auto}[dir=ltr] h1{letter-spacing:-.02em}[dir=ltr] .ending-total{text-align:left}[dir=ltr] table{text-align:left}[dir=ltr] .scenario h2,[dir=ltr] .summary-pair,[dir=ltr] .asset-balance,[dir=ltr] .section-heading,[dir=ltr] .legend,[dir=ltr] .fields,[dir=ltr] .scenarios,[dir=ltr] .year-values{direction:ltr}[dir=ltr] .hero-copy .eyebrow{letter-spacing:.12em;font-size:15px}[dir=ltr] .hero-copy .brand-slogan{font-size:25px;line-height:1.5}[dir=ltr] .hero-description{line-height:1.8}[dir=ltr] .asset-head{font-size:14px}header.hero-header{padding-top:100px}@media(max-width:760px){.language-toggle{top:12px;right:12px;gap:2px;padding:4px}.language-toggle button{font-size:14px;min-height:40px;padding:7px 10px}header.hero-header{padding-top:0}[dir=ltr] header.hero-header>.hero-copy{direction:ltr;text-align:left}[dir=ltr] .hero-copy .brand-slogan{font-size:23px}[dir=ltr] .hero-copy h1{font-size:35px}[dir=ltr] .asset-head{font-size:15px}}

/* Center English hero copy only; retain LTR alignment elsewhere. */
[dir=ltr] header.hero-header>.hero-copy{text-align:center}[dir=ltr] .hero-copy .hero-logo{margin-left:auto;margin-right:auto}[dir=ltr] .hero-description{margin-left:auto;margin-right:auto}.tax-note{margin-top:22px;padding:18px 20px;border:1px solid #d4decb;border-radius:10px;background:#f0f4e9;color:#344e3d}.tax-note h3{font-size:17px;line-height:1.7;margin:0 0 8px;font-weight:600}.tax-note p,.tax-note li{font-size:16px;line-height:1.85;margin:7px 0}.tax-note details{margin-top:10px}.tax-note summary{cursor:pointer;font-size:16px;font-weight:600;min-height:35px;padding:5px 0}.tax-note summary:focus-visible{outline:3px solid #8fae7d;outline-offset:3px}.tax-note ul{padding-inline-start:22px;margin:12px 0}.tax-note a{color:#255b42;text-decoration:underline;text-underline-offset:3px}.tax-note .tax-sources{font-size:15px}.tax-note a:focus-visible{outline:3px solid #8fae7d;outline-offset:3px}@media(max-width:760px){[dir=ltr] header.hero-header>.hero-copy{text-align:center}.tax-note{padding:16px}.tax-note p,.tax-note li{font-size:16px}}

/* Readable educational-use and personal-views notice. */
.disclaimer{margin:0 0 30px;padding:26px 30px;background:#eef2e8;border-color:#cbd8c3}.disclaimer h2{font-size:22px;margin:0 0 16px}.disclaimer p{font-size:17px;line-height:1.95;margin:0 0 13px;color:#354c3c}.disclaimer p:last-child{margin-bottom:0}@media(max-width:760px){.disclaimer{padding:22px 20px;margin-bottom:25px}.disclaimer h2{font-size:21px}.disclaimer p{font-size:16px;line-height:2}}
