/* October 2026: purchase explanations and owner-approved company benefits. */
.common-home :is(h1, h2, h3, h4, h5, h6, p, .yh-hero__process-step, .yh-craft__contact-description) { text-wrap: balance; }
@media (min-width: 0px) {
  .yh-craft--compact .yh-craft__choice { display: none; }
  .yh-choice-guide { display: block; margin-top: 48px; }
  .yh-choice-guide__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 20px 28px; }
  .yh-choice-guide__size { grid-row: span 2; position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(150px, .85fr); gap: 20px; align-items: center; min-width: 0; min-height: 370px; padding: 36px; border-radius: 24px; background: #efdfc6; overflow: hidden; }
  .yh-choice-guide__copy { min-width: 0; width: 100%; }
  .yh-choice-guide__kicker { display: block; margin-bottom: 18px; color: #15513f; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .yh-choice-guide h4 { margin: 0 0 14px; color: #1d2522; font-size: 23px; font-weight: 500; line-height: 1.3; }
  .yh-choice-guide__size h4 { font-size: 32px; }
  .yh-choice-guide p { margin: 0 0 22px; color: #52605a; font-size: 15px; line-height: 1.65; }
  .yh-choice-guide a { color: #15513f; font-size: 14px; font-weight: 500; text-decoration: none; }
  .yh-choice-guide a span { display: inline-block; margin-left: 8px; }
  .yh-choice-guide .yh-choice-guide__button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 28px; background: #15513f; color: #fffdf8; }
  .yh-choice-guide__note { display: block; margin-top: 14px; color: #52605a; font-size: 12px; }
  .yh-choice-guide__portrait { display: block; width: 100%; height: auto; max-width: 240px; justify-self: center; }
  .yh-choice-guide__small { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 24px; align-items: center; padding: 22px 0 26px; border-bottom: 1px solid #e5ded4; }
  .yh-choice-guide__small svg { width: 84px; height: 100px; transition: transform 180ms ease; }
  .yh-choice-guide__small:hover svg { transform: translateY(-3px); }
  .yh-choice-guide__small p { margin-bottom: 14px; }
  .yh-choice-guide__links { display: flex; gap: 24px; }
  .yh-choice-guide a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .yh-choice-guide a:focus-visible { outline: 2px solid #15513f; outline-offset: 5px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .yh-choice-guide__size { padding: 28px; }
  .yh-choice-guide__size h4 { font-size: 28px; }
  .yh-choice-guide__small { grid-template-columns: 64px minmax(0,1fr); gap: 18px; }
  .yh-choice-guide__small svg { width: 64px; }
  .yh-choice-guide h4 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .yh-choice-guide__small svg { transition: none; } .yh-choice-guide__small:hover svg { transform: none; } }
@media (max-width: 991px) {
  .yh-choice-guide { margin-top: 36px; }
  .yh-choice-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .yh-choice-guide__size { grid-column: 1 / -1; grid-row: auto; min-height: 300px; padding: 28px; }
  .yh-choice-guide__portrait { max-width: 220px; }
  .yh-choice-guide__copy { width: 100%; }
  .yh-choice-guide__small { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
  .yh-choice-guide__small svg { width: 56px; height: 72px; }
  .yh-choice-guide h4 { font-size: 23px; }
  .yh-choice-guide__size h4 { font-size: 30px; }
}
@media (max-width: 599px) {
  .yh-choice-guide { margin-top: 32px; }
  .yh-choice-guide__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .yh-choice-guide__size { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 16px 8px; min-height: 0; padding: 24px; border-radius: 20px; }
  .yh-choice-guide__copy { display: contents; }
  .yh-choice-guide__kicker { grid-column: 1; margin: 0; font-size: 10px; align-self: end; }
  .yh-choice-guide__size h4 { grid-column: 1; margin: 0; font-size: 26px; align-self: start; }
  .yh-choice-guide__portrait { grid-column: 2; grid-row: 1 / 3; position: static; width: 100%; height: auto; transform: none; align-self: center; }
  .yh-choice-guide__size p, .yh-choice-guide__button, .yh-choice-guide__note { grid-column: 1 / -1; margin: 0; }
  .yh-choice-guide__button { justify-content: center; }
  .yh-choice-guide__note { text-align: center; }
  .yh-choice-guide p { font-size: 14px; }
  .yh-choice-guide__small { padding: 26px 0; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; }
  .yh-choice-guide__small h4 { font-size: 22px; }
  .yh-choice-guide__small svg { width: 60px; }
  .yh-choice-guide__links { flex-wrap: wrap; gap: 12px 24px; }
  .yh-choice-guide .yh-craft__policies { gap: 12px 20px; }
}
.yh-hero .yh-hero__process { flex: 0 0 auto; padding: 18px 0; }
.yh-hero__process-title { margin: 0 0 8px; color: #aab5af; font-size: 14px; font-weight: 400; line-height: 1.4; }
.yh-hero .yh-hero__process-list { min-height: 48px; }
.yh-hero .yh-hero__process-step { padding: 10px 0; }
.yh-purchase-hint { position: relative; display: inline-block; vertical-align: super; line-height: 1; }
.yh-hero .yh-purchase-help { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin: -8px -4px -8px 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; line-height: 1; cursor: help; }
.yh-hero .yh-purchase-help:hover, .yh-hero .yh-purchase-help:focus { background: transparent; color: inherit; }
.yh-hero .yh-purchase-help:focus-visible { outline: 1px solid #dfc39b; outline-offset: 1px; border-radius: 3px; }
.yh-purchase-tooltip { position: fixed; z-index: 1100; width: max-content; max-width: min(310px, calc(100vw - 24px)); padding: 12px 16px; border: 1px solid #d9cbb8; border-radius: 10px; background: #fffdf8; color: #24352e; box-shadow: 0 5px 20px #0002; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-transform: none; text-align: left; white-space: normal; }
.yh-purchase-tooltip[hidden] { display: none; }
.yh-hero .yh-benefit-help { display: flex; align-items: center; gap: inherit; width: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: help; }
.yh-hero .yh-benefit-help:hover, .yh-hero .yh-benefit-help:focus { background: transparent; color: inherit; }
.yh-benefit-help .yh-hero__benefit-icon { transition: transform 180ms ease; }
.yh-benefit-help[aria-expanded="true"] .yh-hero__benefit-icon { transform: scale(1.07); }
.yh-hero .yh-benefit-help:focus-visible { outline: 2px solid #15513f; outline-offset: 6px; }
.yh-hero__benefit .yh-purchase-tooltip { animation: yh-benefit-reveal 160ms ease-out; }
@keyframes yh-benefit-reveal { from { opacity: 0; } to { opacity: 1; } }
.yh-hero__process-arrow { animation: yh-purchase-flow 4s ease-in-out infinite; }
.yh-hero__process-arrow:nth-child(4) { animation-delay: .3s; }
.yh-hero__process-arrow:nth-child(6) { animation-delay: .6s; }
.yh-hero__process-arrow:nth-child(8) { animation-delay: .9s; }
@keyframes yh-purchase-flow {
  0%, 8%, 34%, 100% { translate: 0 0; }
  16% { translate: 5px 0; }
  23% { translate: 0 0; }
  28% { translate: 3px 0; }
}
.yh-craft--compact .yh-craft__proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yh-craft--compact .yh-craft__proof { padding: 24px; }
.yh-craft--compact .yh-craft__proof h3 { font-size: 19px; line-height: 1.4; }
.yh-craft--compact .yh-craft__proof-icon { display: block; width: 40px; height: 40px; margin: 0 0 20px; }
.yh-craft__proof-icon img { display: block; width: 100%; height: 100%; }
@media (min-width: 992px) {
  .yh-craft--compact .yh-craft__intro { position: relative; isolation: isolate; padding-right: 280px; }
  .yh-craft--compact .yh-craft__intro::after { content: "20+"; position: absolute; z-index: -1; right: 36px; top: 50%; transform: translateY(-50%); color: #dcc7a8; font-size: clamp(180px, 15vw, 220px); font-weight: 500; line-height: 1; letter-spacing: -.065em; pointer-events: none; }
  .yh-craft--compact .yh-craft__intro[data-company-count]::after { content: attr(data-company-count); }
}
@media (max-width: 991px) {
  .yh-craft--compact .yh-craft__proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .yh-hero .yh-hero__process-list { padding: 4px 0; }
  .yh-hero .yh-hero__process-step { width: 100%; }
  .yh-hero__process-title { text-align: center; }
  .yh-hero .yh-purchase-help { width: 32px; height: 32px; }
  .yh-hero__process-arrow { animation-name: yh-purchase-flow-down; }
  .yh-craft--compact .yh-craft__proofs { grid-template-columns: minmax(0, 1fr); }
}
@keyframes yh-purchase-flow-down {
  0%, 8%, 34%, 100% { translate: 0 0; }
  16% { translate: 0 5px; }
  23% { translate: 0 0; }
  28% { translate: 0 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .yh-hero__process-arrow { animation: none; }
  .yh-benefit-help .yh-hero__benefit-icon { transition: none; }
  .yh-benefit-help[aria-expanded="true"] .yh-hero__benefit-icon { transform: none; }
  .yh-hero__benefit .yh-purchase-tooltip { animation: none; }
}
