:root {
  --qsr-navy-950: #071c30;
  --qsr-navy-900: #0b243d;
  --qsr-navy-800: #173a57;
  --qsr-blue-700: #245f87;
  --qsr-teal-700: #08756f;
  --qsr-teal-100: #dff4ef;
  --qsr-aqua-silver: #a9d9d5;
  --qsr-orange-700: #f97316;
  --qsr-orange-800: #ea580c;
  --qsr-orange-100: #fff7ed;
  --qsr-ink: #162637;
  --qsr-muted: #5a6b7b;
  --qsr-line: #d8e2ea;
  --qsr-surface: #ffffff;
  --qsr-surface-soft: #f5f8fa;
}

.qsr-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.qsr-bridge {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .36fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(26px, 3.8vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(192, 208, 220, .84);
  border-radius: 20px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, .99) 0 64%, rgba(230, 243, 242, .96) 100%);
  color: var(--qsr-ink);
  box-shadow: 0 18px 44px rgba(7, 28, 48, .13);
}

.proof-grid > .qsr-bridge {
  grid-column: 1 / -1;
  width: 100%;
}

.qsr-bridge::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(26px, 5vw, 72px);
  top: -86px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(8, 117, 111, .15);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(8, 117, 111, .055),
    0 0 0 70px rgba(36, 95, 135, .03);
}

.qsr-bridge__eyebrow {
  margin: 0 0 8px;
  color: var(--qsr-teal-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.qsr-bridge h3 {
  margin: 0;
  color: var(--qsr-navy-900);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 760;
  line-height: 1.46;
  letter-spacing: .01em;
}

.qsr-bridge__lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--qsr-navy-900);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.3rem, 1.8vw, 1.5rem);
  font-weight: 650;
  line-height: 1.7;
}

.qsr-bridge__summary {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.qsr-bridge__summary p {
  margin: 0;
  color: var(--qsr-muted);
  font-size: .86rem;
  font-weight: 560;
  line-height: 1.7;
}

.qsr-bridge__actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.qsr-bridge__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 290px);
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--qsr-navy-800);
  border-radius: 999px;
  background: var(--qsr-navy-900);
  color: #fff;
  font: inherit;
  font-size: .94rem;
  font-weight: 720;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(7, 28, 48, .18);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.qsr-bridge__trigger:hover {
  border-color: var(--qsr-teal-700);
  background: var(--qsr-teal-700);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(7, 28, 48, .22);
}

.qsr-bridge__access-note {
  width: min(100%, 340px);
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(8, 117, 111, .24);
  border-radius: 12px;
  background: rgba(223, 244, 239, .72);
  color: #0d4e49;
  font-size: .82rem;
  font-weight: 680;
  line-height: 1.55;
  text-align: center;
}

.qsr-bridge__access-note span {
  display: block;
  white-space: nowrap;
}

.qsr-nowrap {
  white-space: nowrap;
}

body.qsr-reader-open {
  overflow: hidden;
}

.qsr-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 18, 31, .76);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.qsr-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.qsr-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1160px, 100%);
  height: min(94dvh, 940px);
  overflow: hidden;
  border: 1px solid rgba(214, 226, 235, .95);
  border-radius: 22px;
  background: var(--qsr-surface);
  color: var(--qsr-ink);
  box-shadow: 0 34px 100px rgba(0, 12, 25, .42);
  transform: translateY(14px) scale(.988);
  transition: transform 260ms cubic-bezier(.2, .75, .25, 1);
}

.qsr-modal.is-open .qsr-modal__panel {
  transform: translateY(0) scale(1);
}

.qsr-modal__progress {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: #e9eff4;
}

.qsr-modal__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--qsr-teal-700), var(--qsr-blue-700));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 100ms linear;
}

.qsr-modal__close {
  position: absolute;
  z-index: 9;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c7d5df;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--qsr-navy-900);
  font: inherit;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(7, 28, 48, .12);
}

.qsr-modal__header {
  position: relative;
  padding: 28px clamp(28px, 4.2vw, 52px) 22px;
  padding-right: clamp(78px, 8vw, 96px);
  border-bottom: 1px solid var(--qsr-line);
  background:
    radial-gradient(circle at 92% -20%, rgba(8, 117, 111, .12), transparent 36%),
    linear-gradient(128deg, #fff 0 70%, #f0f7f7 100%);
}

.qsr-modal__header--document {
  padding-top: 24px;
  padding-bottom: 18px;
  background:
    linear-gradient(105deg, #fff 0 74%, #f4f8fa 100%);
}

.qsr-modal__eyebrow {
  margin: 0 0 7px;
  color: var(--qsr-teal-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.qsr-modal__header h2 {
  margin: 0;
  color: var(--qsr-navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .01em;
}

.qsr-modal__intro {
  margin: 8px 0 0;
  color: #44596c;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.7;
}

.qsr-modal__updated {
  display: inline-block;
  margin-left: 8px;
  color: var(--qsr-muted);
  font-size: .76rem;
  font-weight: 600;
}

.qsr-modal__layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 0;
  background: var(--qsr-surface);
}

.qsr-modal__toc {
  min-height: 0;
  padding: 24px 18px;
  overflow-y: auto;
  border-right: 1px solid var(--qsr-line);
  background: var(--qsr-surface-soft);
  scrollbar-width: thin;
  scrollbar-color: #9fb2c1 transparent;
}

.qsr-modal__toc-label {
  margin: 0 10px 12px;
  color: var(--qsr-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.qsr-modal__toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qsr-modal__toc a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 9px;
  color: #3e5365;
  font-size: .8rem;
  font-weight: 680;
  line-height: 1.45;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.qsr-modal__toc a span {
  color: var(--qsr-teal-700);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.qsr-modal__toc a:hover,
.qsr-modal__toc a[aria-current="true"] {
  background: #e2f1ef;
  color: var(--qsr-navy-900);
}

.qsr-modal__article {
  min-height: 0;
  padding: 0 clamp(25px, 4.3vw, 54px) 70px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #849cac #edf2f5;
}

.qsr-modal__article::-webkit-scrollbar {
  width: 12px;
}

.qsr-modal__article::-webkit-scrollbar-track {
  background: #edf2f5;
}

.qsr-modal__article::-webkit-scrollbar-thumb {
  min-height: 52px;
  border: 3px solid #edf2f5;
  border-radius: 999px;
  background: #849cac;
}

.qsr-section {
  padding: clamp(34px, 5vw, 54px) 0;
  border-bottom: 1px solid var(--qsr-line);
  scroll-margin-top: 18px;
}

.qsr-section:last-child {
  border-bottom: 0;
}

.qsr-section__number {
  margin: 0 0 7px;
  color: var(--qsr-teal-700);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.qsr-section h3 {
  margin: 0;
  color: var(--qsr-navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 760;
  line-height: 1.48;
}

.qsr-section h4 {
  margin: 28px 0 8px;
  color: var(--qsr-navy-900);
  font-size: 1rem;
  font-weight: 790;
  line-height: 1.55;
}

.qsr-section p,
.qsr-section li,
.qsr-table th,
.qsr-table td {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.qsr-section p {
  margin: 12px 0 0;
  color: #3c5062;
  font-size: .94rem;
  font-weight: 560;
  line-height: 1.82;
}

.qsr-section__lead {
  max-width: 780px;
  color: #263e52 !important;
  font-size: 1rem !important;
  font-weight: 650 !important;
}

.qsr-document-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.qsr-document-metrics > div {
  min-width: 0;
  padding: 15px 12px 13px;
  border-radius: 8px;
  background: var(--qsr-navy-900);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(7, 28, 48, .12);
}

.qsr-document-metrics dt {
  font-size: .94rem;
  font-weight: 720;
  line-height: 1.4;
}

.qsr-document-metrics dd {
  margin: 4px 0 0;
  color: var(--qsr-aqua-silver);
  font-size: .76rem;
  font-weight: 560;
  line-height: 1.45;
}

.qsr-callout {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--qsr-teal-700);
  border-radius: 0 12px 12px 0;
  background: #eef8f6;
  color: #23483f;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.78;
}

.qsr-callout--blue {
  border-left-color: var(--qsr-blue-700);
  background: #edf4f8;
  color: #173a57;
}

.qsr-callout--paper {
  border-left-color: #c49a42;
  background: #fbf8f1;
  color: #253b4e;
}

.qsr-callout strong {
  display: block;
  color: inherit;
  font-weight: 760;
}

.qsr-callout p {
  margin-top: 7px;
  color: inherit;
  font-size: .9rem;
}

.qsr-document-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.qsr-document-columns--lists > ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding-left: 1.1rem;
}

.qsr-document-columns--lists li {
  color: #3c5062;
  font-size: .86rem;
  font-weight: 560;
  line-height: 1.65;
}

.qsr-document-columns--lists {
  padding: 17px 18px;
  border: 1px solid var(--qsr-line);
  border-radius: 10px;
  background: #fff;
}

.qsr-document-columns--lists > ul {
  margin-top: 0;
}

.qsr-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.qsr-list li {
  position: relative;
  padding-left: 23px;
  color: #3c5062;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.7;
}

.qsr-list li::before {
  content: "✓";
  position: absolute;
  top: .06em;
  left: 0;
  color: var(--qsr-teal-700);
  font-weight: 900;
}

.qsr-list--plain li::before {
  content: "•";
}

.qsr-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--qsr-line);
  border-radius: 12px;
  background: #fff;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #849cac #edf2f5;
}

.qsr-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.qsr-table-wrap::-webkit-scrollbar-track {
  background: #edf2f5;
}

.qsr-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #edf2f5;
  border-radius: 999px;
  background: #849cac;
}

.qsr-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  color: var(--qsr-ink);
  font-size: .82rem;
}

.qsr-table--market th:first-child {
  width: 28%;
}

.qsr-table caption {
  padding: 13px 16px;
  border-bottom: 1px solid var(--qsr-line);
  background: #f7fafc;
  color: var(--qsr-navy-900);
  font-size: .76rem;
  font-weight: 800;
  text-align: left;
}

.qsr-table th,
.qsr-table td {
  padding: 12px 14px;
  border-right: 1px solid #e4ebf0;
  border-bottom: 1px solid #e4ebf0;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.qsr-table th:last-child,
.qsr-table td:last-child {
  border-right: 0;
}

.qsr-table tr:last-child th,
.qsr-table tr:last-child td {
  border-bottom: 0;
}

.qsr-table thead th {
  background: var(--qsr-navy-900);
  color: #fff;
  font-weight: 760;
}

.qsr-table tbody th {
  min-width: 150px;
  background: #f3f7f9;
  color: var(--qsr-navy-900);
  font-weight: 760;
}

.qsr-table__center {
  text-align: center !important;
}

.qsr-note {
  margin-top: 12px !important;
  color: var(--qsr-muted) !important;
  font-size: .76rem !important;
  font-weight: 540 !important;
  line-height: 1.72 !important;
}

.qsr-note--prominent {
  margin-top: 18px !important;
  color: #40576a !important;
  font-size: .84rem !important;
  line-height: 1.78 !important;
}

.qsr-delivery-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: qsr-delivery;
}

.qsr-delivery-steps li {
  position: relative;
  padding: 13px 16px 13px 56px;
  border-bottom: 1px solid var(--qsr-line);
  counter-increment: qsr-delivery;
}

.qsr-delivery-steps li::before {
  content: counter(qsr-delivery);
  position: absolute;
  top: 13px;
  left: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--qsr-navy-900);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}

.qsr-delivery-steps strong {
  display: block;
  color: var(--qsr-navy-900);
  font-size: .9rem;
  font-weight: 760;
  line-height: 1.55;
}

.qsr-delivery-steps p {
  margin-top: 4px;
  font-size: .86rem;
  line-height: 1.7;
}

.qsr-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.qsr-fit {
  padding: 20px;
  border: 1px solid var(--qsr-line);
  border-radius: 13px;
  background: #f1f8f6;
}

.qsr-fit--alternative {
  background: #fff;
}

.qsr-fit h4 {
  margin: 0;
}

.qsr-fit--alternative h4 {
  color: var(--qsr-navy-900);
}

.qsr-section--closing {
  margin: clamp(34px, 5vw, 54px) 0 0;
  padding: clamp(42px, 7vw, 72px) clamp(28px, 5vw, 56px);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(145deg, #071c30 0%, #173a57 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(7, 28, 48, .2);
}

.qsr-section--closing h3 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.qsr-section--closing .qsr-closing__statement {
  margin-top: 8px;
  color: #dbe7ef;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.qsr-closing__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.qsr-closing__links a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.qsr-closing__links a:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}

.qsr-closing__links span {
  color: #aac2d4;
  font-size: .7rem;
  font-weight: 720;
}

.qsr-closing__links strong {
  overflow-wrap: anywhere;
  font-size: .72rem;
  font-weight: 580;
  line-height: 1.5;
}

.qsr-section--closing .qsr-closing__company {
  margin-top: 34px;
  color: #dce7ef;
  font-size: .74rem;
  font-weight: 650;
}

.qsr-section--closing .qsr-closing__note {
  margin-top: 12px;
  color: #a9bdcc;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.75;
}

.qsr-modal__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(250px, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  justify-content: stretch;
  padding: 15px clamp(24px, 4vw, 46px);
  border-top: 1px solid var(--qsr-line);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -10px 28px rgba(7, 28, 48, .08);
}

.qsr-modal__pdf-benefit {
  display: flex;
  grid-column: 2;
  min-width: 0;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 9px;
  margin: 0;
  color: var(--qsr-muted);
  line-height: 1.5;
  white-space: nowrap;
}

.qsr-modal__pdf-benefit strong {
  display: inline;
  flex: 0 0 auto;
  color: var(--qsr-teal-700);
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .025em;
  white-space: nowrap;
}

.qsr-modal__pdf-benefit span {
  min-width: 0;
  color: var(--qsr-muted);
  font-size: .8rem;
  font-weight: 560;
}

.qsr-modal__inquiry {
  display: inline-flex;
  grid-column: 3;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 250px;
  min-height: 54px;
  padding: 12px 26px;
  border: 1px solid var(--qsr-orange-700);
  border-radius: 999px;
  background: var(--qsr-orange-700);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(201, 86, 13, .24);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.qsr-modal__inquiry:hover {
  border-color: var(--qsr-orange-800);
  background: var(--qsr-orange-800);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, .28);
}

@media (max-width: 1024px) {
  .qsr-modal__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 13px 18px;
  }

  .qsr-modal__pdf-benefit {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }

  .qsr-modal__inquiry {
    grid-column: 1;
    justify-self: center;
    width: min(100%, 340px);
    margin-inline: auto;
  }
}

.qsr-bridge__trigger:focus-visible,
.qsr-modal__close:focus-visible,
.qsr-modal__toc a:focus-visible,
.qsr-modal__inquiry:focus-visible {
  outline: 3px solid #f4a340;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .qsr-modal {
    padding: 10px;
  }

  .qsr-modal__panel {
    height: min(96dvh, 940px);
    border-radius: 18px;
  }

  .qsr-modal__header {
    padding: 24px 68px 18px 22px;
  }

  .qsr-document-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qsr-modal__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .qsr-modal__toc {
    padding: 10px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--qsr-line);
    scrollbar-width: thin;
  }

  .qsr-modal__toc-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .qsr-modal__toc ol {
    display: flex;
    gap: 6px;
    width: max-content;
  }

  .qsr-modal__toc a {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .qsr-modal__article {
    padding-right: 22px;
    padding-left: 22px;
  }

}

@media (max-width: 760px) {
  .qsr-bridge {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    border-radius: 16px;
  }

  .qsr-bridge > * {
    min-width: 0;
  }

  .qsr-bridge__actions,
  .qsr-bridge__trigger {
    width: 100%;
  }

  .qsr-bridge__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .qsr-bridge__trigger,
  .qsr-bridge__access-note {
    min-width: 0;
    max-width: 100%;
  }

  .qsr-modal__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .qsr-fit-grid,
  .qsr-document-columns {
    grid-template-columns: 1fr;
  }

  .qsr-closing__links {
    grid-template-columns: 1fr;
  }

  .qsr-table {
    min-width: 590px;
  }
}

@media (max-width: 460px) {
  .qsr-bridge__access-note span {
    white-space: normal;
  }

  .qsr-modal {
    align-items: end;
    padding: 0;
  }

  .qsr-modal__panel {
    width: 100%;
    height: 97dvh;
    border-radius: 18px 18px 0 0;
  }

  .qsr-modal__header {
    padding: 22px 62px 16px 18px;
  }

  .qsr-modal__header h2 {
    font-size: 1.42rem;
  }

  .qsr-modal__intro {
    font-size: .84rem;
  }

  .qsr-modal__updated {
    display: block;
    margin: 4px 0 0;
  }

  .qsr-modal__article {
    padding-right: 17px;
    padding-left: 17px;
  }

  .qsr-section {
    padding: 32px 0;
  }

  .qsr-section--closing {
    margin-top: 32px;
    padding: 40px 22px;
  }

  .qsr-section p {
    font-size: .91rem;
  }

  .qsr-modal__footer {
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  }

  .qsr-modal__pdf-benefit {
    flex-direction: column;
    gap: 3px;
    line-height: 1.45;
    white-space: normal;
  }

  .qsr-modal__pdf-benefit strong {
    font-size: .7rem;
  }

  .qsr-modal__pdf-benefit span {
    font-size: .77rem;
  }

  .qsr-modal__inquiry {
    min-width: 0;
    min-height: 52px;
    font-size: .96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qsr-bridge__trigger,
  .qsr-modal,
  .qsr-modal__panel,
  .qsr-modal__progress span,
  .qsr-modal__toc a,
  .qsr-modal__inquiry {
    scroll-behavior: auto;
    transition: none;
  }

  .qsr-modal__article {
    scroll-behavior: auto;
  }
}
