/* These rules apply only to the three D studies. The adopted homepage is unchanged. */
body.market[data-design-direction]{--study-paper:#f5f4f0;--study-ink:#2c3935;--study-muted:#636b62;--study-line:#d4d7cb;--study-accent:#286e63;--study-soft:#eceee7;background:var(--study-paper);color:var(--study-ink);font-family:"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}
body[data-design-direction] :is(.mh-header,.mh-masthead){background:#fff;border-color:var(--study-line)}
body[data-design-direction] .mh-preview{background:#eeeee9;border-color:#dddcd2;color:#696d60}
body.market[data-design-direction] .mh-masthead{min-height:98px;gap:20px}
body.market[data-design-direction] .mh-header .site-logotype{width:237px;height:79px}
body.market[data-design-direction] .brand .brand-symbol{width:49px;height:49px}
body[data-design-direction] .mh-header-caption{font-size:12px;color:#73786b;padding-left:19px}
body.market[data-design-direction] :is(.mh-masthead>nav a,.mh-compare){color:var(--study-ink)}
body.market[data-design-direction] .mh-hero{background:linear-gradient(110deg,#fff 8%,#faf9f5 60%,#eeeae2);border-color:#d9d9d0;padding-bottom:28px}
body.market[data-design-direction] .mh-hero-inner{min-height:380px}
body.market[data-design-direction] .mh-hero-copy{width:49%;max-width:540px}
body.market[data-design-direction] .mh-hero-copy h1{color:var(--study-ink);font-size:35px!important;line-height:1.55!important;letter-spacing:-.035em!important;margin-bottom:19px!important}
body.market[data-design-direction] .mh-hero-copy h1 em{color:#53695d}
body.market[data-design-direction] .mh-kicker{color:#72725f;font-size:14px;margin-bottom:17px}
body.market[data-design-direction] .mh-description{color:#5c675e;font-size:16px;line-height:1.9;margin-bottom:19px}
body.market[data-design-direction] .mh-hero-link{color:var(--study-accent);border-color:#9aafa3;font-size:14px}
body.market[data-design-direction] .mh-hero-visual img{height:100%;right:0;bottom:0;object-fit:contain}
body[data-design-direction] .finder{grid-template-columns:225px minmax(0,1fr);border:1px solid #babfb0;border-radius:3px;box-shadow:0 6px 18px #3b453208;background:#fff}
body[data-design-direction] .finder-intro{padding:24px 22px;background:#eeeee8;border-color:#d4d7cc}
body.market[data-design-direction] .finder-intro h2{color:var(--study-ink);font-size:20px;line-height:1.65;margin:10px 0 13px}
body[data-design-direction] .finder-eyebrow{color:#6a715e;font-size:13px;letter-spacing:0}
body[data-design-direction] .finder-intro>p{line-height:1.8;color:#686f61}
body[data-design-direction] .finder-progress{gap:9px;margin-top:20px}
body[data-design-direction] .finder-progress li{color:#767b6b;border-color:#cdd1c4}
body[data-design-direction] .finder-progress :is([aria-current=step],[data-complete]){color:var(--study-accent);border-color:var(--study-accent)}
body[data-design-direction] #plan-finder{padding:21px 25px 19px}
body[data-design-direction] .finder-counter{color:#8a806e}
body[data-design-direction] .finder legend{color:var(--study-ink);font-size:19px;margin-bottom:13px}
body[data-design-direction] .finder-choice{border-color:#c5cabc;background:#fff;border-radius:3px;min-height:61px}
body[data-design-direction] .finder-choice:hover{border-color:#718b74;background:#fafbf8}
body[data-design-direction] .finder-choice:has(input:checked){background:#f0f5ee;border-color:#527c63;box-shadow:inset 0 0 0 1px #527c63}
body[data-design-direction] .finder-choice input{accent-color:var(--study-accent)}
body[data-design-direction] .finder-choice strong{color:var(--study-ink);font-size:15px}
body[data-design-direction] .finder-choice small{color:#6e7765;font-size:12px}
body[data-design-direction] .finder-next{background:var(--study-accent);border-color:var(--study-accent);color:white;min-height:46px;border-radius:3px;min-width:160px}
body[data-design-direction] .finder-next:hover{background:#244f43}
body[data-design-direction] :is(.finder-back,.finder-reset,.finder-unknown summary){color:var(--study-accent)}
body[data-design-direction] :is(.finder-hint,.finder-results>p,.finder-unknown>p){font-size:14px;color:var(--study-muted)}
body[data-design-direction] :is(.finder-results,.finder-match){border-color:var(--study-line);background:#fff}
body[data-design-direction] .finder-match>p{font-size:14px}
body[data-design-direction] .discovery-main{padding-top:38px}
body[data-design-direction] .home-rankings{background:transparent;border:0;border-radius:0;margin-top:0;overflow:visible;scroll-margin-top:18px}
body[data-design-direction] .home-rankings>.discovery-heading{padding:0}
body.market[data-design-direction] .discovery-heading h2{font-size:27px;color:var(--study-ink);letter-spacing:-.02em}
body[data-design-direction] .discovery-heading>div>span{color:#80765e;font-size:12px}
body[data-design-direction] .discovery-heading>a{color:var(--study-accent);font-size:14px}
body[data-design-direction] .discovery-tabs{padding:0;border-bottom:1px solid #b8c1b2;gap:0;background:transparent}
body[data-design-direction] .discovery-tabs button{background:transparent;color:#687364;border:0;border-bottom:3px solid transparent;border-radius:0;padding:14px 10px;font-size:15px}
body[data-design-direction] .discovery-tabs [aria-selected=true]{color:var(--study-accent);background:transparent;border-bottom-color:var(--study-accent)}
body[data-design-direction] .discovery-tabs button:hover{background:#eaece4}
body[data-design-direction] .discovery-filters{padding:17px 0;background:transparent;border-color:var(--study-line);gap:20px}
body[data-design-direction] .discovery-filters label{font-size:13px;color:#59634f}
body[data-design-direction] .discovery-filters select{border-color:#bfc8b7;color:var(--study-ink);font-size:14px;height:44px}
body[data-design-direction] #discovery-panel{padding:25px 0 20px}
body[data-design-direction] .discovery-result-heading h3{font-size:20px;color:var(--study-ink)}
body[data-design-direction] :is(.discovery-result-heading p,.discovery-note){font-size:13px;color:var(--study-muted)}
body[data-design-direction] .discovery-card-grid{gap:23px}
body[data-design-direction] .discovery-card{padding:21px 22px;border:1px solid #d6d9cf;border-radius:3px;box-shadow:none;background:#fff}
body[data-design-direction] .discovery-rank{color:#816c4d;border-color:#deded3;margin-bottom:14px}
body[data-design-direction] .discovery-rank>b{font-size:25px}
body[data-design-direction] .discovery-rank>small{color:#777868;font-size:12px}
body[data-design-direction] .discovery-contract{font-size:12px;color:#74775f}
body[data-design-direction] .discovery-card h3{color:var(--study-ink);font-size:22px;letter-spacing:-.02em;line-height:1.55}
body[data-design-direction] .discovery-plan{font-size:14px;color:#676e5d;margin-bottom:15px;line-height:1.8}
body[data-design-direction] .discovery-price{border-top:1px solid #e0e2d8;border-bottom:1px solid #e0e2d8;background:transparent;border-radius:0;padding:13px 0;margin:0 0 14px}
body[data-design-direction] .discovery-price strong{font-size:28px;color:var(--study-ink);line-height:1.5}
body[data-design-direction] .discovery-price>span:first-child{font-size:13px;color:#636c5b}
body[data-design-direction] .discovery-price>span:last-child{font-size:12px;color:#70775f}
body[data-design-direction] .discovery-cash-card .discovery-price strong{font-size:24px}
body[data-design-direction] .discovery-cost-note{font-size:14px;color:#555f4d;line-height:1.85;margin-bottom:20px}
body.market[data-design-direction] .discovery-card-actions>.button{background:white;border:1px solid #658e75;color:var(--study-accent)!important;font-size:14px;min-height:46px;box-shadow:none}
body.market[data-design-direction] .discovery-card-actions>.button:hover{background:#edf4eb}
body[data-design-direction] .discovery-card-actions .compare-add{border:0;background:transparent;color:#5d7156;font-size:13px;padding:8px 0;min-height:44px}
body[data-design-direction] .discovery-card-actions .compare-add[aria-pressed=true]{color:#285f49;text-decoration:underline;text-underline-offset:4px;background:transparent}
body[data-design-direction] .discovery-source{border-color:#e0e2d7;color:#6d7560;font-size:12px}
body[data-design-direction] .discovery-source summary{color:#63765a;font-size:13px}
body[data-design-direction] .discovery-method{background:transparent;border-color:#d2d7c6;padding:16px 0;color:#74765f;font-size:13px}
body[data-design-direction] .discovery-method summary{font-size:14px;color:#596d4e}
body[data-design-direction] .discovery-more{border-color:#83987b;color:var(--study-accent);min-height:46px}
body[data-design-direction] .discovery-empty{background:#fff;border-color:#b8c4af;padding:30px}
body[data-design-direction] .discovery-empty h4{color:var(--study-ink)}
body[data-design-direction] .home-industries{margin-top:46px;padding-top:36px;border-top:1px solid #d4d7c9;scroll-margin-top:18px}
body[data-design-direction] .industry-banner{border-color:#d2d5c9;box-shadow:none;border-radius:3px}
body[data-design-direction] .industry-banner:hover{border-color:#6c8662;box-shadow:none}
body[data-design-direction] .industry-banner strong{color:var(--study-ink);font-size:14px}
body[data-design-direction] .industry-banner small{color:#717863}
body[data-design-direction] .industry-banner b{color:#69835f}
body[data-design-direction] :is(.cp-heading h2,.cp-guides h3,.cp-sidebar h2){color:var(--study-ink)}
body[data-design-direction] :is(.cp-guides>div>a,.cp-sidebar>section){border-color:var(--study-line);box-shadow:none}
body[data-design-direction] .cp-guides small{background:#ecece2;color:#696e58}
body[data-design-direction] footer{background:#e5e7dd;border-color:#d0d6c5}
body.market[data-design-direction] footer :is(a,p,small,.footer-disclosure){color:#465441!important}
body[data-design-direction] :focus-visible{outline:3px solid #ad8052;outline-offset:3px}

/* D2: a smaller opening and aligned comparison rows. */
body.market[data-design-direction=comparison]{--study-paper:#f8f8f6;--study-ink:#303733;--study-accent:#315c52}
body.market[data-design-direction=comparison] .mh-hero-inner{min-height:310px}
body.market[data-design-direction=comparison] .mh-hero-copy h1{font-size:32px!important;line-height:1.5!important;margin-bottom:14px!important}
body.market[data-design-direction=comparison] .mh-kicker{margin-bottom:12px;font-size:13px}
body.market[data-design-direction=comparison] .mh-description{font-size:15px;margin-bottom:14px}
body[data-design-direction=comparison] .finder{grid-template-columns:205px minmax(0,1fr)}
body[data-design-direction=comparison] .finder-intro{padding:20px}
body.market[data-design-direction=comparison] .finder-intro h2{font-size:19px}
body[data-design-direction=comparison] #plan-finder{padding:18px 22px}
body[data-design-direction=comparison] .finder-choice{min-height:56px;padding:9px 12px!important}
body[data-design-direction=comparison] .finder-actions{margin-top:13px}
body[data-design-direction=comparison] .discovery-main{padding-top:32px}
body[data-design-direction=comparison] .discovery-card-grid{grid-template-columns:1fr;gap:0;border-top:2px solid #647261}
body[data-design-direction=comparison] .industry-banner-grid{gap:14px}
body[data-design-direction=comparison] .industry-banner img{aspect-ratio:1.95}
@media(min-width:1061px){
 body[data-design-direction=comparison] .discovery-card{display:grid;grid-template-columns:50px minmax(180px,1.1fr) minmax(150px,.8fr) minmax(195px,1.2fr) 173px;gap:0 22px;border:0;border-bottom:1px solid #cdd2c5;border-radius:0;padding:24px 20px}
 body[data-design-direction=comparison] .discovery-card:nth-child(even){background:#f1f2ec}
 body[data-design-direction=comparison] .discovery-rank{display:contents}
 body[data-design-direction=comparison] .discovery-rank>b{grid-column:1;grid-row:1/3;align-self:start}
 body[data-design-direction=comparison] .discovery-rank>span{grid-column:1;grid-row:1/3;align-self:start;margin-left:21px;padding-top:6px}
 body[data-design-direction=comparison] .discovery-rank:not(:has(>b))>span{margin:0;padding:0;font-size:12px;line-height:1.7}
 body[data-design-direction=comparison] .discovery-rank>small{grid-column:2;grid-row:1;margin:0 0 4px;font-size:12px;line-height:1.7}
 body[data-design-direction=comparison] .discovery-contract{grid-column:2;grid-row:2}
 body[data-design-direction=comparison] .discovery-card h3{grid-column:2;grid-row:3;font-size:20px;margin:5px 0}
 body[data-design-direction=comparison] .discovery-plan{grid-column:2;grid-row:4;font-size:13px;margin:0}
 body[data-design-direction=comparison] .discovery-price{grid-column:3;grid-row:1/5;align-self:start;border:0;margin:0;padding:0 0 0 18px;border-left:1px solid #d9dccf}
 body[data-design-direction=comparison] .discovery-price strong{font-size:28px}
 body[data-design-direction=comparison] .discovery-cash-card .discovery-price strong{font-size:23px}
 body[data-design-direction=comparison] .discovery-cost-note{grid-column:4;grid-row:1/5;font-size:14px;margin:0}
 body[data-design-direction=comparison] .discovery-card-actions{grid-column:5;grid-row:1/5;align-self:start}
 body.market[data-design-direction=comparison] .discovery-card-actions>.button{background:#315c52;color:#fff!important;border-color:#315c52}
 body[data-design-direction=comparison] .discovery-source{grid-column:2/-1;grid-row:5;border:0;padding-top:8px;margin:6px 0 0}
}

/* D3: more presence for the chosen brand, followed by the industry photography. */
body.market[data-design-direction=brand]{--study-paper:#f1eee7;--study-ink:#304c45;--study-accent:#416958;--study-line:#d8d2c5}
body.market[data-design-direction=brand] .mh-masthead{min-height:114px}
body.market[data-design-direction=brand] .mh-header .site-logotype{width:273px;height:91px}
body.market[data-design-direction=brand] .brand .brand-symbol{width:56px;height:56px}
body.market[data-design-direction=brand] .mh-hero{background:linear-gradient(105deg,#faf8f3 14%,#f4f0e7 72%,#e9e0d1)}
body.market[data-design-direction=brand] .mh-hero-inner{min-height:440px}
body.market[data-design-direction=brand] .mh-hero-copy{width:51%;max-width:555px}
body.market[data-design-direction=brand] .mh-hero-copy h1{font-size:39px!important;line-height:1.6!important}
body.market[data-design-direction=brand] .mh-hero-copy h1 em{color:#816b50}
body[data-design-direction=brand] .finder{grid-template-columns:260px minmax(0,1fr);border-color:#bcb4a1}
body[data-design-direction=brand] .finder-intro{padding:26px;background:#e9e5d9}
body.market[data-design-direction=brand] .finder-intro h2{font-size:22px}
body[data-design-direction=brand] .finder-choice{min-height:68px}
body[data-design-direction=brand] .finder-next{background:#426957;border-color:#426957}
body[data-design-direction=brand] .home-industries{margin-top:0;padding-top:0;border:0}
body[data-design-direction=brand] .home-rankings{margin-top:54px;padding-top:35px;border-top:1px solid #ccc6b7}
body[data-design-direction=brand] .discovery-tabs{gap:5px;border-bottom:2px solid #416958}
body[data-design-direction=brand] .discovery-tabs button{background:#e4e2d7;border-radius:3px 3px 0 0}
body[data-design-direction=brand] .discovery-tabs [aria-selected=true]{background:#416958;color:#fff}
body.market[data-design-direction=brand] .discovery-card-actions>.button{background:#416958;border-color:#416958;color:#fff!important}
body[data-design-direction=brand] .discovery-card-grid{gap:25px}
body[data-design-direction=brand] .discovery-card{padding:25px;border-color:#d5cfbf}
body[data-design-direction=brand] .discovery-price strong{font-size:30px}
body[data-design-direction=brand] .industry-banner>span{padding:14px}

@media(max-width:1100px) and (min-width:721px){body.market[data-design-direction] .mh-hero-copy h1{font-size:30px!important}body.market[data-design-direction=comparison] .mh-hero-copy h1{font-size:29px!important}body.market[data-design-direction=brand] .mh-hero-copy h1{font-size:33px!important}}
@media(max-width:1060px){body[data-design-direction] .finder{grid-template-columns:210px minmax(0,1fr)}body[data-design-direction] .discovery-card-grid{grid-template-columns:1fr}body[data-design-direction] .discovery-card{display:grid;grid-template-columns:1.2fr 1fr;column-gap:24px}body[data-design-direction] .discovery-rank{grid-column:1/-1}body[data-design-direction] :is(.discovery-contract,.discovery-card h3,.discovery-plan,.discovery-price){grid-column:1}body[data-design-direction] .discovery-price{grid-row:5}body[data-design-direction] .discovery-cost-note{grid-column:2;grid-row:2/5}body[data-design-direction] .discovery-card-actions{grid-column:2;grid-row:5;align-self:end}body[data-design-direction] .discovery-source{grid-column:1/-1}}
@media(max-width:800px){body[data-design-direction] .finder{grid-template-columns:1fr}body[data-design-direction] .finder-intro{padding:20px 22px}body[data-design-direction] .finder-progress{margin-top:10px}body[data-design-direction] .finder-intro>p{margin-top:6px}body[data-design-direction] .discovery-tabs button{font-size:14px;padding:13px 16px}}
@media(max-width:720px){
 body.market[data-design-direction] .wrap{width:calc(100% - 40px)}
 body.market[data-design-direction] .mh-masthead{min-height:83px;gap:9px}
 body.market[data-design-direction] .mh-header .site-logotype{width:177px;height:59px}
 body.market[data-design-direction] .brand .brand-symbol{width:33px;height:33px}
 body.market[data-design-direction] .mh-hero-inner{min-height:0;padding:28px 0 0}
 body.market[data-design-direction] .mh-hero-copy{width:100%;max-width:none}
 body.market[data-design-direction] .mh-hero-copy h1{font-size:28px!important;line-height:1.65!important}
 body.market[data-design-direction] .mh-description{font-size:16px;line-height:1.85}
 body.market[data-design-direction] .mh-kicker{font-size:13px;letter-spacing:0}
 body.market[data-design-direction] .mh-hero-visual{margin-top:13px;max-height:255px}
 body.market[data-design-direction] .mh-hero-visual img{height:100%;width:auto}
 body[data-design-direction] .finder-intro{display:block;padding:20px}
 body.market[data-design-direction] .finder-intro h2{font-size:21px}
 body[data-design-direction] #plan-finder{padding:21px 18px}
 body[data-design-direction] .finder legend{font-size:18px}
 body[data-design-direction] .finder-choice strong{font-size:14px}
 body[data-design-direction] .finder-choice{min-height:68px;padding:11px!important}
 body[data-design-direction] .finder-choice small{font-size:12px}
 body[data-design-direction] .finder-industry-options .finder-choice{min-height:46px}
 body[data-design-direction] .finder-options{grid-template-columns:1fr}
 body[data-design-direction] .finder-industry-options{grid-template-columns:1fr 1fr}
 body[data-design-direction] .finder-industry-options .finder-choice:first-child{grid-column:1/-1}
 body[data-design-direction] .discovery-main{padding-top:28px}
 body.market[data-design-direction] .discovery-heading h2{font-size:25px}
 body[data-design-direction] .discovery-heading>a{font-size:14px;white-space:normal}
 body[data-design-direction] .discovery-filters{padding:16px 0;gap:12px}
 body[data-design-direction] .discovery-filters select{font-size:16px;height:46px}
 body[data-design-direction] #discovery-panel{padding:23px 0 18px}
 body[data-design-direction] .discovery-card{display:flex;padding:20px}
 body[data-design-direction] .discovery-cost-note{font-size:14px}
 body[data-design-direction] .home-industries{margin-top:34px;padding-top:28px}
 body[data-design-direction=brand] .home-industries{margin-top:0;padding-top:0}
 body[data-design-direction] .home-rankings{margin-top:0}
 body[data-design-direction=brand] .home-rankings{margin-top:36px;padding-top:28px}
 body[data-design-direction] .industry-banner strong{font-size:14px;white-space:normal}
 body[data-design-direction] .industry-banner>span{padding:12px}
 body[data-design-direction] .industry-banner small{font-size:12px}
 body[data-design-direction] .discovery-result-heading{align-items:flex-start;flex-direction:column;gap:6px}
 body[data-design-direction] .discovery-empty{padding:23px 19px}
}
@media(max-width:365px){body.market[data-design-direction] .wrap{width:calc(100% - 32px)}body.market[data-design-direction] .mh-header .site-logotype{width:151px;height:51px}body.market[data-design-direction] .brand .brand-symbol{width:28px;height:28px}body.market[data-design-direction] .mh-hero-copy h1{font-size:24px!important}body[data-design-direction] .finder-industry-options{grid-template-columns:1fr}body[data-design-direction] .finder-industry-options .finder-choice:first-child{grid-column:auto}}

/* Preserve D3 white-text contrast on hover. */
body.market[data-design-direction=brand] .discovery-card-actions>.button:hover{background:#335744;border-color:#335744;color:#fff!important}
