/* ==========================================================================
   QUOYO V2 — INNER PAGES
   Normal scroll, no snap effects
   Used for: partnerships, lab, OYI, design contest, contact,
             wholesale, FAQ, delivery, legal pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   HEADER — SAME AS HOMEPAGE
   -------------------------------------------------------------------------- */
body.quoyo-custom-header-active {
  --qy-header-h: 76px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header {
  background: var(--qy-white) !important;
  border-bottom: none;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__logo-img {
  filter: invert(1);
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__actions {
  height: 100%;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  height: 100%;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list > li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list > li > a,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__action-btn,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__menu-btn {
  color: var(--qy-black);
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list > li > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 0;
  transition: opacity .22s ease;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list > li > a:hover,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .qy-header__nav-list > li.is-open > a {
  opacity: 0.65;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav .sub-menu {
  display: none !important;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__cart-count {
  background: var(--qy-black);
  color: var(--qy-white);
}

/* Mega menu styles needed outside homepage too */
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9997;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel {
  position: fixed;
  top: var(--qy-header-h);
  left: 0;
  width: min(1080px, 86vw);
  height: calc(100dvh - var(--qy-header-h));
  background: #f3f1ed;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  z-index: 9998;
  overflow: hidden;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel.is-open {
  transform: translateX(0);
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner {
  height: 100%;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner .qy-mega-layout {
  display: block;
  height: 100%;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner .qy-mega-col--left {
  width: 280px;
  height: 100%;
  border-right: 0;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner .qy-mega-col--right {
  display: none;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner.has-secondary .qy-mega-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner.has-secondary .qy-mega-col--left {
  width: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel__inner.has-secondary .qy-mega-col--right {
  display: block;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100%;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-col--left {
  padding: 74px 26px 26px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-col--right {
  padding: 74px 24px 24px;
  overflow-y: auto;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l1-link,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l2-link {
  display: block;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l1-link {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  padding: 10px 0;
  opacity: 0.55;
  transition: opacity .2s ease;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l1-link.is-active,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l1-link:hover,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l2-link.is-active,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l2-link:hover {
  opacity: 1;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-footer a,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-stage__primary-link,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-card {
  text-decoration: none;
  color: #000;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-footer a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-stage {
  display: none;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-stage.is-active,
body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-preview.is-active {
  display: block;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-stage__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.48);
  margin-bottom: 18px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bags-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bags-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-l2-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  padding: 4px 0;
  opacity: 0.55;
  transition: opacity .2s ease;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-preview {
  display: none;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-card__img-wrap {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebe8e2;
  margin-bottom: 10px;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-bag-card__title {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

/* spacing is handled by each page wrapper */
body.quoyo-custom-header-active .qy-inner-hero {
  padding-top: calc(var(--qy-header-h) + 64px);
  box-sizing: border-box;
}

/* admin bar */
body.admin-bar.quoyo-custom-header-active .qy-header {
  top: 32px;
}

@media (max-width: 1024px) {
  body.quoyo-custom-header-active:not(.is-qy-home) .qy-header {
    padding: 0 20px;
  }

  body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__nav {
    display: none;
  }

  body.quoyo-custom-header-active:not(.is-qy-home) .qy-header__menu-btn {
    display: inline-flex;
  }

  body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-panel,
  body.quoyo-custom-header-active:not(.is-qy-home) .qy-mega-overlay {
    display: none !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar.quoyo-custom-header-active .qy-header {
    top: 46px;
  }
}

/* --------------------------------------------------------------------------
   INNER PAGE HERO
   -------------------------------------------------------------------------- */
.qy-inner-hero {
  background:  var(--qy-dark-bg);
  position:    relative;
  overflow:    hidden;
  min-height:  clamp(300px, 40vw, 560px);
  display:     flex;
  align-items: flex-end;
  padding:     64px 48px 64px;
  box-sizing:  border-box;
}
.qy-inner-hero__bg {
  position:   absolute;
  inset:      0;
  z-index:    0;
}
.qy-inner-hero__bg img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  object-position: center;
  display:    block;
  filter:     grayscale(20%);
}
.qy-inner-hero__overlay {
  position:   absolute;
  inset:      0;
  z-index:    1;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 100%);
}

.qy-inner-hero__content {
  position: relative;
  z-index:  10;
  max-width: 900px;
}

.qy-inner-hero__label {
  font-family:    var(--font-display);
  font-weight:    600;
  font-size:      10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.5);
  margin-bottom:  16px;
  display:        block;
}

.qy-inner-hero__title {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color:          var(--qy-white);
  line-height:    0.9;
  margin:         0 0 16px;
}

.qy-inner-hero__desc {
  font-family: var(--font-body);
  font-size:   16px;
  color:       rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 300;
  max-width:   600px;
}

/* --------------------------------------------------------------------------
   CONTENT BLOCKS (shared)
   -------------------------------------------------------------------------- */
.qy-content-block {
  padding:    80px 48px;
  max-width:  1280px;
  margin:     0 auto;
}

.qy-content-block--narrow {
  max-width: 800px;
  margin:    0 auto;
  padding:   80px 48px;
}

.qy-content-block__title {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom:  32px;
  line-height:    1;
}

.qy-content-block p {
  font-family: var(--font-body);
  font-size:   15px;
  color:       var(--qy-gray-dark);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}

.qy-content-block h2 {
  font-family:    var(--font-display);
  font-weight:    700;
  font-size:      1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin:         40px 0 16px;
}

.qy-content-block a {
  color:       var(--qy-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   TWO-COLUMN SECTION
   -------------------------------------------------------------------------- */
.qy-two-col {
  display:    grid;
  grid-template-columns: 1fr 1fr;
  gap:        80px;
  align-items: center;
  padding:    80px 48px;
  max-width:  1280px;
  margin:     0 auto;
}

.qy-two-col--reverse .qy-two-col__img { order: 2; }
.qy-two-col--reverse .qy-two-col__text { order: 1; }

.qy-two-col__img {
  aspect-ratio: 4/5;
  overflow:    hidden;
  background:  var(--qy-light);
}
.qy-two-col__img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.qy-two-col__title {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height:    0.9;
  margin-bottom:  24px;
}

.qy-two-col__text p {
  font-family: var(--font-body);
  font-size:   15px;
  color:       var(--qy-gray-dark);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   PROGRAM CARDS (OYI, Partnerships, Design Contest, etc.)
   -------------------------------------------------------------------------- */
.qy-program-cards {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   2px;
  background:            var(--qy-black);
  border:                2px solid var(--qy-black);
  margin:                80px 48px;
}

.qy-program-card {
  background:  var(--qy-white);
  padding:     48px 40px;
}

.qy-program-card__num {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      4rem;
  color:          var(--qy-mid);
  line-height:    1;
  margin-bottom:  24px;
  display:        block;
}

.qy-program-card__title {
  font-family:    var(--font-display);
  font-weight:    700;
  font-size:      1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom:  16px;
}

.qy-program-card__text {
  font-family: var(--font-body);
  font-size:   14px;
  color:       var(--qy-gray-dark);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CONTACT FORM (full page — not modal)
   -------------------------------------------------------------------------- */
.qy-contact-form {
  max-width:  640px;
  padding:    80px 48px;
  margin:     0 auto;
}

.qy-contact-form__title {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom:  8px;
}
.qy-contact-form__sub {
  font-family: var(--font-body);
  font-size:   14px;
  color:       var(--qy-gray-mid);
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.qy-faq-list {
  max-width:  800px;
  margin:     0 auto;
  padding:    0 48px 80px;
}

.qy-faq-item {
  border-bottom: 1px solid var(--qy-mid);
}
.qy-faq-item:first-child { border-top: 1px solid var(--qy-mid); }

.qy-faq-trigger {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  width:           100%;
  padding:         20px 0;
  font-family:     var(--font-display);
  font-weight:     700;
  font-size:       13px;
  letter-spacing:  0.1em;
  text-transform:  uppercase;
  background:      transparent;
  border:          none;
  cursor:          pointer;
  text-align:      left;
  color:           var(--qy-black);
}
.qy-faq-trigger svg { transition: transform 300ms; flex-shrink: 0; }
.qy-faq-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }

.qy-faq-body {
  max-height: 0;
  overflow:   hidden;
  transition: max-height 350ms cubic-bezier(0.4,0,0.2,1), padding 350ms;
  font-family: var(--font-body);
  font-size:  14px;
  color:      var(--qy-gray-dark);
  line-height: 1.7;
}
.qy-faq-body.is-open {
  max-height:     800px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   LEGAL / POLICY PAGES
   -------------------------------------------------------------------------- */
.qy-legal-wrap {
  padding:    calc(var(--qy-header-h) + 64px) 48px 120px;
  max-width:  840px;
  margin:     0 auto;
}

.qy-legal-wrap h1 {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom:  8px;
  line-height:    1;
}
.qy-legal-wrap .qy-legal-date {
  font-family:    var(--font-display);
  font-size:      10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--qy-gray-light);
  margin-bottom:  64px;
  display:        block;
}

.qy-legal-wrap h2 {
  font-family:    var(--font-display);
  font-weight:    700;
  font-size:      1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin:         48px 0 16px;
  border-left:    4px solid var(--qy-black);
  padding-left:   16px;
}
.qy-legal-wrap h3 {
  font-family:    var(--font-display);
  font-weight:    600;
  font-size:      0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin:         32px 0 12px;
}
.qy-legal-wrap p,
.qy-legal-wrap li {
  font-family: var(--font-body);
  font-size:   14px;
  color:       var(--qy-gray-dark);
  line-height: 1.8;
}
.qy-legal-wrap ul,
.qy-legal-wrap ol { padding-left: 20px; margin-bottom: 20px; }
.qy-legal-wrap a { color: var(--qy-black); }

/* --------------------------------------------------------------------------
   404 PAGE
   -------------------------------------------------------------------------- */
.qy-404-wrap {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  min-height:      100vh;
  text-align:      center;
  padding:         0 24px;
  background:      var(--qy-dark-bg);
  color:           var(--qy-white);
}

.qy-404-number {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(8rem, 25vw, 22rem);
  line-height:    0.8;
  color:          rgba(255,255,255,0.06);
  position:       absolute;
  user-select:    none;
  pointer-events: none;
}

.qy-404-content {
  position: relative;
  z-index:  1;
}

.qy-404-label {
  font-family:    var(--font-display);
  font-weight:    600;
  font-size:      10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color:          rgba(255,255,255,0.4);
  margin-bottom:  24px;
  display:        block;
}

.qy-404-title {
  font-family:    var(--font-display);
  font-weight:    900;
  font-size:      clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height:    1;
  margin-bottom:  16px;
}

.qy-404-desc {
  font-family: var(--font-body);
  font-size:   16px;
  color:       rgba(255,255,255,0.6);
  margin-bottom: 48px;
  max-width:   480px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — INNER PAGES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .qy-two-col     { gap: 48px; padding: 64px 32px; }
  .qy-program-cards { margin: 64px 32px; }
  .qy-content-block,
  .qy-content-block--narrow { padding: 64px 32px; }
}

@media (max-width: 768px) {
  .qy-inner-hero { padding: calc(var(--qy-header-h) + 40px) 20px 48px; }
  .qy-two-col { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .qy-two-col--reverse .qy-two-col__img { order: 0; }
  .qy-two-col--reverse .qy-two-col__text { order: 0; }
  .qy-program-cards { grid-template-columns: 1fr; margin: 48px 0; }
  .qy-content-block,
  .qy-content-block--narrow { padding: 48px 20px; }
  .qy-contact-form { padding: 48px 20px; }
  .qy-faq-list { padding: 0 20px 60px; }
  .qy-legal-wrap { padding: calc(var(--qy-header-h) + 40px) 20px 80px; }
}

/* ==========================================================================
   QUOYO — LEGAL / FAQ / TRACK ORDER
   ========================================================================== */

.qy-page--legal {
  --lg-max: 1380px;
  --lg-narrow: 980px;
  --lg-pad: clamp(22px, 4vw, 32px);
  --lg-bg: #f3f3f0;
  --lg-black: #0a0a0a;
  --lg-muted: #5f5f5f;
  --lg-line: rgba(10, 10, 10, 0.18);
  background: var(--lg-bg);
  color: var(--lg-black);
}

/* inner page links */
.qy-page a,
.qy-page a:visited {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.qy-page a:hover,
.qy-page a:focus-visible {
  color: #0a0a0a;
  text-decoration: none;
  outline: none;
}

.qy-page a:active {
  color: #0a0a0a;
}

/* hero */
.qy-legal-hero {
  background: var(--lg-bg);
}

.qy-legal-hero__inner,
.qy-legal-content-wrap {
  max-width: var(--lg-max);
  margin: 0 auto;
  padding-left: var(--lg-pad);
  padding-right: var(--lg-pad);
}

.qy-legal-hero__inner {
  padding-top: clamp(54px, 7vw, 88px);
  padding-bottom: clamp(28px, 3vw, 42px);
}

.qy-legal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
  min-height: clamp(220px, 26vw, 340px);
}

.qy-legal-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--lg-black);
}

.qy-legal-hero__copy {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.02vw, 1.18rem);
  line-height: 1.48;
  text-transform: uppercase;
  color: var(--lg-black);
}

/* content shell */
.qy-legal-content-section {
  padding: 0 0 clamp(80px, 10vw, 130px);
}

.qy-legal-content-wrap {
  max-width: var(--lg-narrow);
}

/* FAQ specific */
.qy-page--faq .qy-legal-hero__inner {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(18px, 2.2vw, 28px);
}

.qy-page--faq .qy-legal-content-wrap {
  max-width: 1080px;
}

.qy-page--faq .qy-legal-content-section {
  padding-top: 0;
}

.qy-faq-list {
  margin-top: 0;
  border-top: 0;
}

.qy-faq-item {
  border-bottom: 1px solid var(--lg-black);
}

.qy-faq-item:first-child {
  border-top: 0;
}

.qy-faq-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--lg-black);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.qy-faq-item__icon {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #4f4f4f;
}

.qy-faq-item__body {
  display: none;
  padding: 0 0 24px;
}

.qy-faq-item.is-open .qy-faq-item__body {
  display: block;
}

.qy-faq-item__body p {
  margin: 0;
  max-width: 70ch;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--lg-black);
}

/* Track Order specific */
.qy-page--track-order .qy-legal-hero__inner {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(18px, 2.2vw, 28px);
}

.qy-page--track-order .qy-legal-content-section {
  padding-top: 0;
}

.qy-page--track-order .qy-track-order-box {
  max-width: 820px;
  padding-top: 0;
  border-top: 0;
}

.qy-track-order-box {
  border-bottom: 1px solid var(--lg-black);
}

.qy-track-order-box__head {
  margin-bottom: 28px;
}

.qy-track-order-box__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lg-muted);
}

.qy-track-order-box__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--lg-black);
}

.qy-track-order-box__text,
.qy-track-order-note p {
  margin: 0;
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--lg-black);
}

.qy-track-order-form {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
}

.qy-track-order-form__group label {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lg-black);
}

.qy-track-order-form__group input {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 16px 0 12px;
  border: 0;
  border-bottom: 2px solid var(--lg-black);
  background: transparent;
  color: var(--lg-black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
}

.qy-track-order-form__group input::placeholder {
  color: #a8a8a8;
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.qy-track-order-form__submit {
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  margin-top: 10px;
  padding: 14px 18px;
  border: 1px solid var(--lg-black);
  background: var(--lg-black);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.qy-track-order-form__submit:hover,
.qy-track-order-form__submit:focus-visible {
  background: transparent;
  color: var(--lg-black);
  outline: none;
}

.qy-track-order-placeholder {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lg-black);
  margin-top: 8px;
}

.qy-track-order-placeholder__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lg-line);
}

.qy-track-order-placeholder__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lg-muted);
}

.qy-track-order-placeholder__value,
.qy-track-order-placeholder__value a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lg-black);
  text-decoration: none;
}

.qy-track-order-note {
  padding-top: 22px;
}

/* mobile */
@media (max-width: 767px) {
  .qy-page--legal {
    --lg-pad: 16px;
  }

  .qy-legal-hero__inner {
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .qy-legal-hero__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .qy-legal-hero__title {
    font-size: clamp(3.2rem, 18vw, 5.8rem);
    line-height: 0.86;
  }

  .qy-legal-hero__copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.42;
  }

  .qy-page--faq .qy-legal-content-wrap,
  .qy-page--track-order .qy-legal-content-wrap {
    max-width: 100%;
  }

  .qy-faq-item__toggle {
    padding: 18px 0;
    font-size: 1rem;
    line-height: 1.18;
  }

  .qy-faq-item__icon {
    font-size: 0.95rem;
  }

  .qy-faq-item__body {
    padding-bottom: 18px;
  }

  .qy-faq-item__body p,
  .qy-track-order-box__text,
  .qy-track-order-note p {
    font-size: 14px;
    line-height: 1.58;
  }

  .qy-track-order-box__head {
    margin-bottom: 22px;
  }

  .qy-track-order-box__title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
    line-height: 0.94;
  }

  .qy-track-order-form {
    gap: 18px;
    margin-bottom: 28px;
  }

  .qy-track-order-form__group input {
    padding: 14px 0 10px;
    font-size: 0.94rem;
  }

  .qy-track-order-form__group input::placeholder {
    font-size: 0.76rem;
    letter-spacing: 0.07em;
  }

  .qy-track-order-form__submit {
    max-width: 100%;
    min-height: 50px;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
  }

  .qy-track-order-placeholder__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .qy-track-order-placeholder__label {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .qy-track-order-placeholder__value,
  .qy-track-order-placeholder__value a {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .qy-track-order-note {
    padding-top: 18px;
  }
}