.matching-promotion {
  inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: auto; overscroll-behavior: contain;
  color: var(--text, #202526); background: #fff; font-family: var(--font-body, sans-serif);
}
.matching-promotion:not([open]) { display: none; }
.matching-promotion[open] { animation: matching-promotion-enter 220ms ease-out; }
.matching-promotion::backdrop { background: #fff; }
.matching-promotion.is-closing { opacity: 0; transition: opacity 140ms ease-out; pointer-events: none; }
html:has(.matching-promotion[open]) { overflow: hidden; }
.matching-promotion-shell { max-width: 1440px; min-height: 100%; margin: auto; padding: 36px clamp(32px, 6vw, 88px) 40px; box-sizing: border-box; }
.matching-promotion-brand { display: flex; align-items: center; gap: 10px; width: fit-content; color: #101d40; font-size: 18px; font-weight: 550; letter-spacing: -.035em; }
.matching-promotion-brand img { object-fit: contain; width: 34px; height: 34px; }
.matching-promotion-close { position: fixed; z-index: 2; top: max(28px, env(safe-area-inset-top)); right: max(32px, env(safe-area-inset-right)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; box-shadow: none; background: #f4f5f5; color: #56605e; cursor: pointer; }
.matching-promotion-close:hover { color: #152923; background: #e9eeeb; }
.matching-promotion-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: calc(100svh - 145px); padding-block: 40px; box-sizing: border-box; }
.matching-promotion-copy { position: relative; z-index: 1; max-width: 660px; }
.matching-promotion-copy h2 { margin: 0 0 28px; max-width: 21ch; color: #1c2427; font-size: clamp(40px, 4.05vw, 60px); font-weight: 500; line-height: 1.12; letter-spacing: -.055em; text-wrap: pretty; }
.matching-promotion-copy h2 span { color: #87918e; }
.matching-promotion-copy p { margin: 0 0 20px; max-width: 53ch; font-size: 16px; line-height: 1.75; color: #6a7470; }
.matching-promotion-copy p.matching-promotion-intro { max-width: 49ch; margin-bottom: 24px; }
.matching-promotion-copy strong { font-weight: 500; color: #303e38; }
.matching-promotion-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 32px; }
.matching-promotion-primary { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 0 22px; border-radius: 7px; background: var(--accent, #166365); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 140ms ease; }
.matching-promotion-primary:hover { background: var(--accent-strong, #104c4e); color: #fff; }
.matching-promotion-secondary { min-height: 48px; padding: 8px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: #53635c; font: inherit; font-size: 14px; cursor: pointer; }
.matching-promotion-secondary:hover { background: transparent; color: #1d3228; text-decoration: underline; text-underline-offset: 4px; }
.matching-promotion-copy .matching-promotion-note { margin: 14px 0 0; font-size: 12px; color: #69736e; }
.matching-promotion :focus-visible { outline: 2px solid var(--accent, #166365); outline-offset: 5px; }
.matching-promotion-illustration { align-self: center; width: calc(100% + 60px); margin-left: -16px; }
.matching-promotion-illustration img { display: block; width: 100%; height: auto; }
@keyframes matching-promotion-enter { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1600px) { .matching-promotion-grid { min-height: min(880px, calc(100svh - 145px)); } }
@media (max-width: 1000px) and (min-width: 901px) {
  .matching-promotion-shell { padding-inline: 48px; }
  .matching-promotion-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 0; }
  .matching-promotion-copy h2 { font-size: 44px; }
  .matching-promotion-illustration { width: calc(100% + 40px); margin-left: 0; }
}
@media (max-width: 900px) {
  .matching-promotion-shell { padding: max(22px, env(safe-area-inset-top)) 26px max(28px, env(safe-area-inset-bottom)); }
  .matching-promotion-brand { font-size: 16px; gap: 8px; }
  .matching-promotion-brand img { width: 30px; height: 30px; }
  .matching-promotion-close { top: max(16px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); width: 44px; height: 44px; }
  .matching-promotion-grid { display: flex; flex-direction: column; align-items: stretch; min-height: auto; gap: 0; padding-block: 16px 0; }
  .matching-promotion-copy { width: 100%; margin-inline: auto; }
  .matching-promotion-illustration { order: -1; align-self: center; width: 184px; height: 140px; margin: 0 0 12px; overflow: hidden; }
  .matching-promotion-illustration img { width: 184px; margin-top: -22px; }
  .matching-promotion-copy h2 { max-width: 23ch; margin-bottom: 22px; font-size: clamp(29px, 7.8vw, 42px); line-height: 1.16; letter-spacing: -.045em; }
  .matching-promotion-copy p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
  .matching-promotion-copy p.matching-promotion-intro { margin-bottom: 18px; }
  .matching-promotion-actions { display: grid; gap: 5px; margin-top: 24px; }
  .matching-promotion-primary { width: 100%; box-sizing: border-box; min-height: 50px; }
  .matching-promotion-secondary { min-height: 44px; }
  .matching-promotion-copy .matching-promotion-note { text-align: center; margin-top: 4px; font-size: 12px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .matching-promotion-illustration { width: 136px; height: 90px; margin-bottom: 8px; }
  .matching-promotion-illustration img { width: 136px; margin-top: -24px; }
  .matching-promotion-copy h2 { font-size: clamp(27px, 7.8vw, 36px); }
}
@media (prefers-reduced-motion: reduce) {
  .matching-promotion[open] { animation: none; }
  .matching-promotion.is-closing, .matching-promotion-primary { transition: none; }
}
