/* Shared discovery pages, with styles scoped away from article and form layouts. */
.discovery-page{color:#202c3c;background:#f5f7f7;font-family:'Segoe UI',Arial,sans-serif;line-height:1.65;margin:0}
.discovery-page *{box-sizing:border-box}.discovery-page a{color:#972c43}.discovery-page [hidden]{display:none!important}
.discovery-header{background:#192238;padding:16px 24px}.discovery-nav{max-width:1140px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.discovery-nav .brand{font-size:1.25rem;font-weight:800;color:#fff;text-decoration:none}.discovery-nav nav{display:flex;gap:18px;flex-wrap:wrap}.discovery-nav nav a{color:#eee;font-size:.9rem;text-decoration:none;padding:5px 0}
.discovery-page .discovery-hero{padding:58px 22px 44px;background:#edf4f1;border-bottom:1px solid #dae5df}.discovery-inner{max-width:1100px;margin:auto}.discovery-kicker{font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#25675c;margin:0 0 12px}.discovery-page h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.13;letter-spacing:-.035em;max-width:850px;margin:0 0 18px}.discovery-lead{font-size:1.08rem;max-width:760px;color:#52606a;margin:0 0 20px}.discovery-main{max-width:1140px;margin:auto;padding:35px 22px 60px}.discovery-main h2{font-size:1.6rem;line-height:1.3;margin:0 0 14px}.discovery-section{margin:0 0 40px;scroll-margin-top:20px}.discovery-section>p{max-width:800px;color:#52606a}.discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.discovery-card{background:#fff;border:1px solid #d9e3e0;border-radius:15px;padding:25px}.discovery-card h3{font-size:1.24rem;line-height:1.3;margin:5px 0 12px;color:#192238}.discovery-card p{color:#52606a;margin:0 0 14px}.discovery-card ol{padding-left:23px;margin:14px 0}.discovery-card li{margin:12px 0}.discovery-card li small{display:block;color:#52606a;line-height:1.6}.discovery-tag{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#28685d}.discovery-card .optional{margin:20px 0 0;padding-top:16px;border-top:1px solid #e3e9e7;font-size:.88rem}.discovery-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.discovery-page a.discovery-button{display:inline-block;background:#982c43;color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:700;min-height:45px}.discovery-page a.discovery-button.secondary{color:#215d53;background:#fff;border:1px solid #b8cec6}.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.download-tile{border:1px solid #d9e3e0;background:#fff;border-radius:11px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.download-tile strong{font-size:1rem;line-height:1.4}.download-tile p{font-size:.88rem;color:#52606a;margin:0 0 8px;flex:1}.download-tile a{font-weight:700}.discovery-note{padding:22px 25px;border-left:4px solid #347767;background:#edf4f1;border-radius:8px}.discovery-note h2{font-size:1.3rem}.discovery-footer{padding:28px 22px;background:#192238;color:#ced7df;font-size:.87rem;text-align:center}.discovery-footer a{color:#ffb9c6;display:inline-block;margin:4px 8px}.discovery-page :focus-visible,.library-controls :focus-visible{outline:3px solid #b96f0b;outline-offset:3px}.skip-link{position:absolute;left:15px;top:-80px;background:#fff;padding:12px;z-index:11000;color:#17213b}.skip-link:focus{top:10px}
/* Homepage */
.home-refreshed .hero-home{text-align:left;background:#edf4f1;color:#192238;padding:52px 24px}.home-hero-inner{max-width:1100px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:45px;align-items:center}.home-refreshed .hero-home h1{font-size:clamp(2.2rem,4.3vw,3.5rem);letter-spacing:-.04em;max-width:650px}.home-refreshed .hero-home p{margin:0 0 23px;max-width:600px;color:#52606a;font-size:1.05rem;opacity:1}.home-refreshed .hero-home .discovery-kicker{font-size:.75rem;color:#28685d;font-weight:800;margin-bottom:14px}.home-refreshed .hero-home .btn{background:#982c43;padding:13px 20px}.home-refreshed .hero-home .btn-ghost{border:1px solid #a6bdb4;color:#215d53;background:white;margin:0;padding:12px 20px}.home-feature{background:#fff;border:1px solid #d0e0d9;border-radius:15px;overflow:hidden;text-decoration:none;box-shadow:0 16px 32px #1922380d;color:#192238}.home-feature img{display:block;width:100%;height:auto}.home-feature div{padding:18px 23px}.home-feature strong{font-size:1.2rem;line-height:1.4;display:block}.home-feature span{display:block;color:#53626c;font-size:.9rem;margin-top:6px}.home-refreshed .trust-bar{background:#fff;border-bottom:1px solid #e3e9e7;color:#33453f;padding:17px 24px}.home-refreshed .trust-item{opacity:1;font-size:.84rem}.home-refreshed .trust-item a{color:#215d53}.home-refreshed .reader-paths{padding:38px 24px;background:#f6f8f7}.home-refreshed .reader-paths-grid a{border-radius:10px;border:1px solid #d8e2df;background:white;color:#213c34}.home-refreshed .latest{padding-top:42px;padding-bottom:36px}.home-refreshed .latest h2{text-align:left;margin-bottom:20px}.home-refreshed .art-grid{gap:22px}.home-refreshed .art-card{border:1px solid #dde4e2;box-shadow:0 3px 12px #19223808}.home-refreshed .art-body{padding:21px}.home-refreshed .art-card h3{font-size:1.08rem}.home-library-link{margin:26px 0 0;text-align:center}.home-library-link a{display:inline-block;padding:12px 23px;background:#192238;color:white;border-radius:8px;font-weight:700;text-decoration:none}.home-refreshed .starter-picks{background:#edf4f1;padding:38px 24px}.home-refreshed .starter-grid article{background:#fff}.home-refreshed .nav-inner{height:auto;min-height:70px;gap:20px;padding:12px 0;flex-wrap:wrap}.home-refreshed header nav{display:flex;gap:18px;flex-wrap:wrap}.home-refreshed header nav a{margin:0;padding:5px 0}.home-refreshed .trust-bar-inner{justify-content:space-between;gap:15px}.home-refreshed .hero-home .home-feature p{font-size:.85rem;margin:8px 0 0}
/* Article library */
.library-controls{display:flex;gap:15px;flex-wrap:wrap;align-items:flex-end;margin:0 0 22px;padding:20px;border:1px solid #d9e3e0;border-radius:12px;background:#fff}.library-controls label{font-size:.85rem;font-weight:700;display:block}.library-controls select{display:block;margin-top:7px;padding:10px 13px;border:1px solid #aabcb5;background:#fff;border-radius:7px;font:inherit;min-height:44px}.library-controls button,.library-more{min-height:44px;border:1px solid #aabcb5;border-radius:7px;background:#fff;padding:10px 17px;font:inherit;cursor:pointer}.library-controls .library-saved{display:flex;gap:8px;align-items:center;padding-bottom:11px}.library-controls input[type=checkbox]{width:18px;height:18px}.library-meta{font-size:.8rem;color:#62736c;margin-top:13px}.library-empty{padding:25px;border:1px solid #d9e3e0;border-radius:10px;background:#fff}.library-more{display:block;margin:22px auto;background:#192238;color:#fff}.library-help{margin:25px 0;padding:20px;background:#edf4f1;border-radius:10px}.library-help a{color:#972c43;font-weight:700}.result-card .tags{margin-top:8px}.library-controls [hidden]{display:none!important}
@media(max-width:700px){.home-hero-inner,.discovery-grid{grid-template-columns:1fr}.home-feature{max-width:500px}.home-refreshed .hero-home{padding:35px 20px}.home-refreshed .hero-home h1{font-size:2.3rem}.home-refreshed .trust-bar-inner{justify-content:flex-start}.download-grid{grid-template-columns:1fr 1fr}.discovery-hero{padding:35px 20px!important}.discovery-card{padding:21px}.library-controls>label{width:100%}.library-controls select{width:100%}}
@media(max-width:420px){.download-grid{grid-template-columns:1fr}.discovery-actions>a{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.home-refreshed *{scroll-behavior:auto!important;transition:none!important}}

/* Search results and retry controls remain usable with keyboard and narrow screens. */
.result-card{overflow-wrap:break-word}.result-card a:focus-visible,.library-more:focus-visible,.library-retry:focus-visible{outline:3px solid #b96f0b;outline-offset:4px}.library-retry{padding:11px 16px;border:1px solid #aabdb4;border-radius:7px;background:#fff;color:#215d53;cursor:pointer;font:inherit;font-weight:600;font-size:.9rem;line-height:1.4;margin-top:14px;min-height:44px}@media(prefers-reduced-motion:reduce){.result-card{transition:none}.result-card:hover{transform:none}}
