/* Homepage only. Existing tool pages and shared styles are unchanged. */
.home .hero.rc-showcase{padding:48px 0 28px;min-height:0;background:radial-gradient(ellipse at 10% 20%,#dceee9,transparent 48%),radial-gradient(ellipse at 95% 65%,#e0edf5,transparent 44%),#f5f9f8}
.home .hero.rc-showcase::before,.home .hero.rc-showcase::after{display:none}
.home .hero.rc-showcase .rc51-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1.6fr) minmax(0,1fr);align-items:center;gap:24px;width:100%;max-width:1440px;padding:0 32px}
.rc51-copy{grid-column:2;grid-row:1;min-width:0}
.home .rc-showcase h1{font-size:clamp(2rem,3.2vw,3rem);max-width:18ch}
.home .rc-showcase .lede{font-size:1rem;line-height:1.65;margin-top:20px}
.home .rc-showcase .eyebrow{animation:none;font-size:.7rem}
.home .rc-showcase .intent-actions{justify-content:center;gap:8px;margin:22px 0}
.home .rc-showcase .intent-actions a{font-size:.84rem;padding:10px 12px}
.home .rc-showcase .split-teaser{margin:24px auto 0;box-shadow:0 10px 30px -22px #203e4b}
.home .rc-showcase .split-teaser>div:not(.vs){min-width:0;padding:12px 15px}
.home .rc-showcase .split-teaser b{font-size:1.3rem;animation:none}
.home .rc-showcase .split-teaser::after{animation:none;background:#b9d6d0}
.rc51-side{min-width:0;width:100%;text-align:left;align-self:center}
.rc51-left{grid-column:1;grid-row:1}.rc51-right{grid-column:3;grid-row:1}
.rc-showcase [hidden]{display:none!important}
.rc51-card{display:flex;flex-direction:column;overflow:hidden;border-radius:20px;border:1px solid #cbdedb;background:#102c33;color:#fff;text-decoration:none;box-shadow:0 22px 44px -28px #234b55;isolation:isolate}
.rc51-card:hover{color:#fff;box-shadow:0 24px 50px -25px #234b55;border-color:#568b83}
.rc51-card picture{display:block;aspect-ratio:3/2;overflow:hidden;background:#dfe9e6}
.rc51-card img{display:block;width:100%;height:100%;object-fit:cover}
.rc51-card-body{padding:22px 20px 20px;display:flex;flex-direction:column;min-height:250px;background:linear-gradient(145deg,#163b41,#102830)}
.rc51-category{color:#a9dfce;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;line-height:1.4}
.home .rc-showcase .rc51-card h2{font-size:1.35rem;line-height:1.2;letter-spacing:-.025em;margin:12px 0 10px;color:#fff}
.rc51-card p{font-size:.88rem;line-height:1.6;color:#cee0e3;margin:0 0 22px}
.rc51-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;border-top:1px solid #3d5c62;padding-top:12px;margin-top:auto;font-size:.84rem;font-weight:600;color:#fff}
.rc51-cta>span{display:grid;place-items:center;border-radius:50%;background:#d2eee4;color:#14372e;min-width:30px;height:30px;font-size:1.2rem}
.rc51-controls{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:10px;margin-top:4px;flex-wrap:wrap}
.rc51-controls button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c3d7d2;border-radius:50%;min-width:44px;min-height:44px;background:#fff;color:#173b36;cursor:pointer;font:inherit;font-weight:600}
.rc51-controls button:hover{background:#e1f0eb}
.rc51-controls .rc51-toggle{border-radius:24px;padding:8px 18px;min-width:90px;font-size:.82rem}
.rc51-dots{display:flex;align-items:center;gap:0}
.rc51-dots button{border:0;min-width:30px;min-height:44px;background:transparent}
.rc51-dots button span{display:block;width:7px;height:7px;border-radius:10px;background:#789b92}
.rc51-dots button[aria-pressed="true"] span{width:20px;background:#095c4f}
.rc51-count{font:600 .72rem var(--f-mono);color:#47645e;margin-left:2px}
.rc-showcase :is(button,a):focus-visible{outline:3px solid #be7815;outline-offset:4px}
.home .rc-showcase .rc51-note{grid-column:1/-1;margin:-12px 0 0;font-size:.72rem;line-height:1.5;color:#586f69;text-align:center}
.rc51-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.rc51-slide.rc51-enter .rc51-card{animation:rc51-enter .4s ease-out both}
@keyframes rc51-enter{from{opacity:.35;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.home .hero.rc-showcase .rc51-grid{grid-template-columns:repeat(2,minmax(0,360px));justify-content:center;gap:24px;padding:0 24px}.rc51-copy{grid-column:1/-1;grid-row:1}.rc51-left{grid-column:1;grid-row:2}.rc51-right{grid-column:2;grid-row:2}.home .rc-showcase h1{font-size:clamp(2.1rem,5vw,3rem)}.rc51-card-body{min-height:222px}.home .rc-showcase .lede{max-width:62ch}}
@media(max-width:700px){.home .hero.rc-showcase{padding:30px 0 24px}.home .hero.rc-showcase .rc51-grid{gap:20px 12px;padding:0 20px}.rc51-card{border-radius:14px}.rc51-card-body{padding:16px 12px;min-height:265px}.home .rc-showcase .rc51-card h2{font-size:1.1rem;line-height:1.25}.rc51-card p{font-size:.78rem;line-height:1.5;margin-bottom:14px}.rc51-category{font-size:.58rem;letter-spacing:.05em;min-height:26px}.rc51-cta{font-size:.74rem;line-height:1.35}.rc51-cta>span{min-width:24px;height:24px}.rc51-controls{gap:4px}.rc51-count{display:none}.home .rc-showcase .rc51-note{margin:-5px 0 0}.home .rc-showcase .split-teaser{grid-template-columns:1fr auto 1fr}.home .rc-showcase .split-teaser .vs{border:0;padding:0 8px}.home .rc-showcase .split-teaser>div:not(.vs){padding:12px 8px}.home .rc-showcase .split-teaser b{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){.rc51-slide.rc51-enter .rc51-card{animation:none}}
@media print{.home .hero.rc-showcase{background:white;padding:20px 0}.home .hero.rc-showcase .rc51-grid{display:block}.rc51-side,.rc51-controls,.rc51-note{display:none!important}}
/* Reserve the tallest card in each column so changing text never moves the controls. */
.rc51-side{display:grid}
.rc51-slide{grid-area:1 / 1;align-self:stretch}
.rc51-slide .rc51-card{height:100%}
.rc51-slide .rc51-card-body{flex:1}
.rc-showcase .rc51-slide[hidden]{display:block!important;visibility:hidden;pointer-events:none}

/* v52: nine visible selectors, readable on narrow phones. */
.rc51-dots{flex-wrap:nowrap}
.rc51-dots button{min-width:28px}
.rc51-dots button span{display:grid;place-items:center;width:23px;height:23px;background:#e0ebe7;color:#345b51;font-size:.7rem;line-height:1;font-weight:700}
.rc51-dots button[aria-pressed="true"] span{width:23px;background:#095c4f;color:#fff}
.rc51-count{min-width:58px;text-align:center}
@media(max-width:700px){.rc51-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;width:100%;max-width:420px;margin-inline:auto}.rc51-controls [data-action="previous"]{grid-column:1;grid-row:1}.rc51-controls [data-action="next"]{grid-column:3;grid-row:1}.rc51-controls .rc51-toggle{grid-column:2;grid-row:1;justify-self:center}.rc51-dots{grid-column:1/-1;grid-row:2;justify-content:center;width:100%}.rc51-dots button{flex:1;min-width:0;max-width:40px;padding:0}.rc51-count{display:block;grid-column:1/-1;grid-row:3}}
/* v52 homepage art direction: clear photographs, strong hierarchy, quiet motion. */
.home .hero.rc-showcase{padding:60px 0 30px;background:radial-gradient(ellipse at 4% 5%,#174f50 0,transparent 48%),radial-gradient(ellipse at 96% 100%,#123e57 0,transparent 42%),linear-gradient(125deg,#071f26,#123039);border-bottom:1px solid #285259;color:#f5fffc}
.home .hero.rc-showcase .rc51-grid{max-width:1520px;grid-template-columns:minmax(0,1fr) minmax(380px,1.52fr) minmax(0,1fr);gap:28px}
.home .rc-showcase h1{color:#f6fffc;letter-spacing:-.045em;font-size:clamp(2.2rem,3.35vw,3.4rem);line-height:1.07}
.home .rc-showcase .eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #48736e;border-radius:30px;color:#bdeadc;background:#173d3d;letter-spacing:.13em;font-size:.65rem}
.home .rc-showcase .eyebrow::before{content:"";width:6px;height:6px;background:#9bddc6;border-radius:50%}
.home .rc-showcase .lede{color:#d1e1e2;font-size:1.02rem;line-height:1.75;max-width:48ch}
.home .rc-showcase .rc51-copy>p:not(.lede){color:#b8cdce!important;font-size:.78rem!important;line-height:1.65}
.home .rc-showcase .intent-actions a{background:#153a42;border-color:#507075;color:#edf9f7;border-radius:11px;box-shadow:none}
.home .rc-showcase .intent-actions a:first-child{background:#c4eddc;border-color:#c4eddc;color:#0b3c30}
.home .rc-showcase .intent-actions a:hover{background:#2a5357;color:#fff}
.home .rc-showcase .intent-actions a:first-child:hover{background:#d8f9ed;color:#0b3c30}
.home .rc-showcase .split-teaser{border-color:#536e70;background:#e9f2ed;border-radius:14px;box-shadow:none}
.home .rc-showcase .split-teaser .vs{color:#31544d}
.home .rc-showcase .split-teaser::after{display:none}
.rc51-card{border:1px solid #70908c;border-radius:22px;background:#f5faf7;box-shadow:0 24px 60px -32px #000;color:#102f32}
.rc51-card:hover{box-shadow:0 28px 64px -25px #000;border-color:#c4eddc;color:#102f32}
.rc51-card picture{aspect-ratio:4/3;border-bottom:1px solid #cee0d8}
.rc51-card-body{background:linear-gradient(135deg,#fff,#edf5f1);padding:24px;min-height:274px}
.rc51-category{color:#347266;letter-spacing:.1em;font-size:.66rem}
.home .rc-showcase .rc51-card h2{color:#113734;font-size:1.45rem;line-height:1.2;margin:12px 0}
.rc51-card p{color:#456361;font-size:.88rem;line-height:1.65;margin-bottom:22px}
.rc51-cta{border:0;border-radius:10px;background:#0c5b4e;padding:11px 12px;min-height:48px;font-size:.78rem;color:#fff;line-height:1.4}
.rc51-cta>span{background:#2c7969;color:#e3fff2;min-width:27px;height:27px}
.rc51-card:hover .rc51-cta{background:#08493e}
.rc51-controls{background:#173840;border:1px solid #466268;border-radius:18px;padding:10px 16px;justify-self:center;max-width:100%;gap:8px}
.rc51-controls button{background:#244850;border-color:#527376;color:#f1fffb}
.rc51-controls button:hover{background:#376168}
.rc51-controls .rc51-toggle{background:#d2efdf;color:#143e32;border-color:#d2efdf}
.rc51-controls .rc51-toggle:hover{background:#e5f9ec}
.rc51-dots button,.rc51-dots button:hover{background:transparent;border:0}
.rc51-dots button span{background:#31545b;color:#e2f3eb;border-radius:7px}
.rc51-dots button[aria-pressed="true"] span{background:#c4eddc;color:#103d31}
.rc51-count{color:#d3e9e1}
.home .rc-showcase .rc51-note{color:#adcac8;font-size:.72rem;margin:-8px 0 0}
.rc-showcase :is(button,a):focus-visible{outline-color:#ffd386;outline-offset:4px}
.home .pagemeta{border:1px solid #d6e5df;border-radius:16px;padding:18px;background:#fff;box-shadow:0 10px 32px -28px #284e46}
.home .toc-home{border:1px solid #cfdfd9;border-radius:18px;background:linear-gradient(135deg,#fff,#eaf3ef);padding:24px}
.home .trades{gap:18px}.home .trade{border-radius:18px;border:1px solid #cfdfd9;background:linear-gradient(140deg,#fff 50%,#edf6f1);box-shadow:0 12px 26px -24px #285047}
.home .trade .n{font-size:1.13rem}.home .trade .d{font-size:.9rem;line-height:1.6}.home .trade .r{display:inline-block;background:#faf0df;border-radius:7px;padding:3px 7px;margin:4px 0;color:#795016}
.home .article-card,.home .tool-card{border-radius:16px;border-color:#d1e0dc}
@media(min-width:1101px){.rc51-left .rc51-slide.rc51-enter .rc51-card{animation:rc52-left .45s ease-out both}.rc51-right .rc51-slide.rc51-enter .rc51-card{animation:rc52-right .45s ease-out both}}
@keyframes rc52-left{from{opacity:.3;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}
@keyframes rc52-right{from{opacity:.3;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1100px){.home .hero.rc-showcase .rc51-grid{grid-template-columns:repeat(2,minmax(0,360px));gap:26px;justify-content:center}.home .rc-showcase .lede{max-width:60ch}.rc51-card-body{min-height:254px}.rc51-controls{gap:5px;padding:10px}}
@media(max-width:700px){.home .hero.rc-showcase{padding:30px 0 24px}.home .hero.rc-showcase .rc51-grid{grid-template-columns:minmax(0,1fr);gap:24px;padding:0 20px;max-width:540px}.rc51-copy{grid-column:1;grid-row:1}.rc51-left{grid-column:1;grid-row:2}.rc51-right{display:none}.rc51-controls{grid-column:1;grid-row:3;border-radius:16px;padding:10px;box-sizing:border-box}.home .rc-showcase .rc51-note{grid-column:1;grid-row:4;margin:-12px 0 0}.home .rc-showcase h1{font-size:clamp(2.15rem,8.5vw,2.85rem)}.home .rc-showcase .lede{font-size:.98rem;line-height:1.65}.rc51-card picture{aspect-ratio:16/10}.rc51-card-body{padding:22px;min-height:245px}.rc51-category{font-size:.68rem;min-height:0}.home .rc-showcase .rc51-card h2{font-size:1.5rem;line-height:1.2}.rc51-card p{font-size:.92rem;line-height:1.6;margin-bottom:18px}.rc51-cta{font-size:.9rem;min-height:48px;padding:10px 14px}.rc51-controls .rc51-toggle{min-height:44px}.home .pagemeta{padding:15px}.home .toc-home{padding:20px}}
@media(prefers-reduced-motion:reduce){.rc51-left .rc51-slide.rc51-enter .rc51-card,.rc51-right .rc51-slide.rc51-enter .rc51-card{animation:none}}
@media print{.home .hero.rc-showcase{background:white;color:#111}.home .rc-showcase h1{color:#111}.home .rc-showcase .lede,.home .rc-showcase .rc51-copy>p:not(.lede){color:#222!important}}
