/* Approved Rillet feature. Shared details, distinct Home and Services layouts. */
.featured-story,.featured-story *{box-sizing:border-box}
.featured-story{color:#111;scroll-margin-top:32px;background:#fff;border:1.5px solid #903dff;border-radius:20px;box-shadow:0 5px 0 #ede3ff,0 19px 38px -24px #35233d4d}
.featured-story__masthead{display:flex;align-items:center;margin:0 0 29px}
.featured-story__publisher{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:500;line-height:26px;color:#33353c;margin:0}
.featured-story__publisher img{display:block;width:65px;height:auto}
.featured-story__grid{display:grid;align-items:center;min-width:0}
.featured-story__copy{min-width:0}
.featured-story .featured-story__title{color:#111;line-height:1.23;letter-spacing:-.027em;margin:0 0 23px;font-weight:600}
.featured-story__title-line{display:block;color:inherit}
.featured-story .featured-story__description{font-size:16px;line-height:1.75;font-weight:400;color:#505a64;margin:0;text-wrap:pretty}
.featured-story__actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:28px}
a.featured-story__button{display:inline-flex;align-items:center;justify-content:center;gap:13px;background:#111;color:#fff;border:1px solid #111;border-radius:7px;padding:13px 18px;min-height:49px;font-size:15px;font-weight:500;line-height:1.4;text-decoration:none;transition:background .16s ease}
a.featured-story__button:hover{background:#30343a;border-color:#30343a;color:#fff;text-decoration:none}
a.featured-story__button:focus-visible,a.featured-story__contact:focus-visible{outline:3px solid #295ce0;outline-offset:5px}
.featured-story__button svg,.featured-story__contact svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
a.featured-story__contact{display:inline-flex;align-items:center;gap:10px;color:#295ce0;font-size:15px;font-weight:500;line-height:1.4;min-height:44px;text-decoration:none}
a.featured-story__contact:hover{text-decoration:underline;text-underline-offset:4px}
.close-metric{margin:0;min-width:0;width:100%;text-align:center;transform:translateY(-6px)}
.close-metric figcaption{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:28px;font-weight:600;line-height:1.25;letter-spacing:-.025em;color:#17191d;margin:0 0 32px}
.close-metric__emblem,.close-metric__emblem svg{display:block;width:42px;height:42px}
.close-metric__emblem svg{fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.close-metric__clock-ring{stroke:#903dff}.close-metric__clock-hands{stroke:#3b254f}.close-metric__clock-check{stroke:#295ce0;stroke-width:1.85}
.close-metric__comparison{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);column-gap:12px;align-items:start}
.close-metric__item{display:flex;flex-direction:column;align-items:center;min-width:0;margin:0}
.close-metric__item dt{font-size:15px;font-weight:500;line-height:1.4;color:#41474f;margin:0 0 10px}
.close-metric__item dd{display:flex;flex-direction:column;align-items:center;font-size:48px;font-weight:600;line-height:1.16;letter-spacing:-.05em;white-space:nowrap;margin:0;color:#111;font-variant-numeric:lining-nums tabular-nums}
.close-metric__item--after dd{color:#295ce0}
.close-metric__dots{display:grid;grid-template-columns:repeat(5,6px);gap:5px;justify-content:center;align-content:center;min-height:28px;margin-top:18px}
.close-metric__dots i{display:block;width:6px;height:6px;background:#161616;border-radius:50%}
.close-metric__item--after .close-metric__dots{grid-template-columns:6px}
.close-metric__item--after .close-metric__dots i{background:#295ce0}
.close-metric__arrow{width:28px;height:26px;fill:none;stroke:#464b54;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;align-self:start;margin-top:46px}

/* Home retains the approved B card proportions. */
.featured-story--home.body-section{width:calc(100% - 64px);max-width:1250px;margin:72px auto 64px;padding:38px 44px 42px}
.featured-story--home .featured-story__grid{grid-template-columns:minmax(0,1.48fr) minmax(0,1fr);gap:52px}
.featured-story--home .featured-story__title{font-size:35px}
.featured-story--home + #process.process{border-top:0;margin-top:0;padding-top:0}

/* Services stays compact and comparison-first below the packages. */
.featured-story--services{margin:60px 0 0;padding:30px 32px 34px}
.featured-story--services .featured-story__masthead{margin-bottom:24px}
.featured-story--services .featured-story__grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr);gap:44px}
.featured-story--services .close-metric figcaption{font-size:26px;margin-bottom:30px}
.featured-story--services .close-metric__emblem,.featured-story--services .close-metric__emblem svg{width:38px;height:38px}
.featured-story--services .close-metric__item dd{font-size:40px}
.featured-story--services .close-metric__arrow{margin-top:41px}
.featured-story--services .featured-story__title{font-size:28px;margin-bottom:16px}
.featured-story--services .featured-story__description{font-size:15px;line-height:1.7}
.featured-story--services .featured-story__actions{margin-top:22px}
.featured-story--services + .communication-feature{margin-top:72px}

/* Accounting tools retain the established artwork, order and sizes. */
.system-group.accounting .logo-rillet{width:87px;height:31px}
.system-group.accounting .group-brands{grid-template-rows:34px 34px 40px}
.quickbooks-platform{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;max-width:100%;height:40px}
.quickbooks-platform .logo-quickbooks{width:136px;max-width:100%;height:22px}
.quickbooks-platform span{font-size:11px;line-height:1.1;color:#59636b;letter-spacing:0}

@media(max-width:1100px){
 .featured-story--home.body-section{padding:32px}
 .featured-story--home .featured-story__grid{gap:32px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
 .featured-story--home .featured-story__title{font-size:30px}
 .featured-story--home .close-metric__item dd{font-size:40px}
 .close-metric__comparison{gap:7px}
 .close-metric figcaption{font-size:26px}
 .featured-story--home .close-metric__arrow{margin-top:41px}
 .featured-story--services .featured-story__grid{gap:30px}
 .featured-story--services .featured-story__title{font-size:26px}
 .featured-story--services .close-metric__item dd{font-size:34px}
 .featured-story--services .close-metric__arrow{margin-top:38px}
}
@media(max-width:800px){
 .featured-story{border-radius:16px}
 .featured-story--home.body-section{width:calc(100% - 40px);margin:54px auto 46px;padding:27px 26px 31px}
 .featured-story__masthead,.featured-story--services .featured-story__masthead{margin-bottom:25px}
 .featured-story__publisher{font-size:14px;gap:9px}
 .featured-story__publisher img{width:61px}
 .featured-story--home .featured-story__grid,.featured-story--services .featured-story__grid{grid-template-columns:1fr;gap:33px}
 .featured-story--home .featured-story__title,.featured-story--services .featured-story__title{font-size:29px;line-height:1.25;margin-bottom:20px}
 .featured-story__title-line{display:inline}
 .featured-story .featured-story__description{font-size:15px;line-height:1.7}
 .featured-story__actions,.featured-story--services .featured-story__actions{gap:12px 23px;margin-top:24px}
 a.featured-story__button{font-size:14px;padding:12px 15px}
 a.featured-story__contact{font-size:14px}
 .close-metric{grid-row:2;padding-top:24px;border-top:1px solid #e7e1ed;transform:none}
 .close-metric figcaption,.featured-story--services .close-metric figcaption{font-size:24px;gap:8px;margin-bottom:30px}
 .close-metric__emblem,.close-metric__emblem svg{width:38px;height:38px}
 .close-metric__comparison{grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr);gap:7px}
 .featured-story--home .close-metric__item dd,.featured-story--services .close-metric__item dd{font-size:clamp(27px,8.5vw,36px)}
 .close-metric__item dt{font-size:14px}
 .close-metric__arrow,.featured-story--home .close-metric__arrow,.featured-story--services .close-metric__arrow{width:25px;margin-top:calc(16.6px + clamp(27px,8.5vw,36px) * .58)}
 .close-metric__dots{grid-template-columns:repeat(5,5px);gap:5px;min-height:25px;margin-top:17px}
 .close-metric__dots i{width:5px;height:5px}
 .close-metric__item--after .close-metric__dots{grid-template-columns:5px}
 .featured-story--services{margin-top:44px;padding:27px 24px 31px}
 .featured-story--services .featured-story__copy{grid-row:1}
 .featured-story--services + .communication-feature{margin-top:54px}
}
@media(max-width:480px){
 .system-group.accounting .group-brands{grid-template-rows:30px 30px 40px}
 .system-group.accounting .logo-rillet{width:80px;height:28px}
}
@media(max-width:360px){
 .close-metric figcaption,.featured-story--services .close-metric figcaption{font-size:22px}
 .featured-story--home .featured-story__title,.featured-story--services .featured-story__title{font-size:26px}
 .featured-story--services{padding-left:20px;padding-right:20px}
}
@media(prefers-reduced-motion:reduce){a.featured-story__button{transition:none}}
@media print{
 .featured-story{break-inside:avoid;box-shadow:none;border-color:#bcb2ff}
 .featured-story--home.body-section{width:100%;margin:28px auto;padding:24px}
 .featured-story--home .featured-story__title{font-size:27px}
 .featured-story--home .featured-story__grid{grid-template-columns:1.6fr 1fr;gap:25px}
 .featured-story--services{margin:25px 0;padding:22px}
 .featured-story--services .featured-story__grid{grid-template-columns:.95fr 1.55fr;gap:25px}
 .featured-story--services .featured-story__title{font-size:22px}
 .featured-story .featured-story__description{font-size:11px}
 .featured-story__button,.close-metric__dots{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
