/* V4 is a bounded detail pass over Codex's tested V3 repair. */
.header-trailing { display: contents; }
.button, .bundle-copy .button, .button-rose { justify-content: center; gap: 0; }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.mega-feature > span { text-decoration: underline; text-underline-offset: 4px; }
.plus-switch {
  background: var(--rose);
  border-color: var(--rose);
  color: #292127;
  gap: 7px;
  border-radius: 2px;
}
.plus-switch:hover { background: #f0cad3; border-color: #f0cad3; }
.plus-switch:focus-visible { outline-color: #75414f; }
.audience-description { color: #292127; font-size: 10px; }
.header-cta .plus-switch { min-height: 36px; }
.mobile-menu > .plus-switch { gap: 9px; font-size: 13px; }
.mobile-menu > .plus-switch > span { font-size: 12px; font-weight: 400; }

/* Real supplier-listed brand assets, not generated/reconstructed marks. */
.brand-strip { border-block: 1px solid #e8e7e2; background: #fafaf8; padding-block: 25px 18px; }
.brand-strip-heading { text-align: center; }
.brand-strip-heading h2 { font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; }
.brand-strip-heading > p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.brand-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; align-items: center; margin-top: 19px; }
.brand-tile { display: flex; justify-content: center; align-items: center; min-height: 75px; background: #fff; padding: 16px 22px; border: 1px solid #efefeb; }
.brand-tile img { width: 100%; max-width: 132px; height: 42px; object-fit: contain; }
.brand-tile:hover { border-color: #b1a38e; }
.brand-strip-note { text-align: center; font-size: 10px; color: var(--muted); margin-top: 13px; }
.process { padding-bottom: 29px; }
.footer-identity { display: flex; align-items: center; gap: 13px; }
.brand-seal { width: 50px; height: 50px; flex: none; border: 1px solid #b6967f; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background: #141616; color: #f7f2ea; font-family: Caslon,Georgia,serif; line-height: .95; font-size: 17px; letter-spacing: -.06em; }
.brand-seal:before { content: ''; position: absolute; inset: 3px; border: 1px solid #b6967f55; border-radius: 50%; }
.brand-seal i { font-style: normal; color: #c6aa95; }
.footer .brand-name { font-size: 30px; }

/* Equal side tracks centre the wordmark on the VIEWPORT, not free space. */
@media(max-width:700px) {
  .header-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    grid-template-rows: 48px minmax(46px,auto);
    gap: 8px 4px;
    align-items: center;
  }
  .mobile-menu-button { grid-column: 1; grid-row: 1; justify-self: start; width: 44px; margin: 0; flex: none; }
  .header-grid > .brand { grid-column: 2; grid-row: 1; justify-self: center; width: max-content; min-width: 0; flex: none; order: 0; }
  .header-grid > .brand .brand-name { font-size: 27px; }
  .header-trailing { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 4px; min-width: max-content; }
  .header-trailing .account-actions, .header-trailing .header-cta { display: flex; flex: none; }
  .header-trailing .account-actions button { width: 44px; min-width: 44px; }
  .header-cta .plus-switch {
    width: auto;
    min-width: 52px;
    min-height: 44px;
    height: auto;
    padding: 10px 8px;
    border-radius: 2px;
    font-size: 11px;
    letter-spacing: .05em;
  }
  .search { grid-column: 1/4; grid-row: 2; width: 100%; flex: none; order: 0; }
  .header-grid.brand-stacked { grid-template-rows: minmax(46px,auto) minmax(46px,auto) minmax(46px,auto); }
  .header-grid.brand-stacked > .brand { grid-column: 1/4; grid-row: 1; }
  .header-grid.brand-stacked .mobile-menu-button { grid-column: 1; grid-row: 2; margin: 0; }
  .header-grid.brand-stacked .header-trailing { grid-column: 2/4; grid-row: 2; }
  .header-grid.brand-stacked .search { grid-row: 3; }
  .brand-strip { padding-block: 23px 17px; }
  .brand-strip-heading h2 { font-size: 11px; letter-spacing: .05em; }
  .brand-strip-heading > p { font-size: 12px; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 15px; }
  .brand-tile { min-height: 65px; padding: 13px 10px; }
  .brand-tile img { height: 33px; max-width: 100%; }
  .brand-strip-note { font-size: 11px; margin-top: 13px; }
  .hero-actions .button { padding-inline: 19px; font-size: 13px; }
  .bundle-controls { align-items: center; }
  .footer .brand-name { font-size: 30px; }
  .footer-identity { gap: 12px; }
}
@media(max-width:374px) {
  .header-grid > .brand .brand-name { font-size: 25px; }
  .hero-actions .button { font-size: 12px; padding-inline: 18px; }
  .brand-tile { padding-inline: 7px; }
}
@media(max-width:280px) {
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-tile { min-height: 65px; }
}

/* Let the footer proposal reflow at enlarged text and narrow page zoom. */
.footer-identity { flex-wrap: wrap; }
.brand-seal { width: max-content; min-width: 50px; height: auto; min-height: 50px; aspect-ratio: 1; padding: 6px; }
.button-rose { border-radius: 2px; }

/* Strip-only refinement: unboxed authentic/reversed marks on existing charcoal. */
.brand-strip { background: var(--charcoal); color: #fff; border: 0; padding-block: 24px 17px; }
.brand-strip > .container { display: grid; grid-template-columns: 245px minmax(0,1fr); column-gap: 30px; align-items: center; }
.brand-strip-heading { text-align: left; }
.brand-strip-heading h2 { font-family: Caslon,Georgia,serif; font-size: 18px; font-weight: 400; letter-spacing: -.015em; text-transform: none; line-height: 1.3; }
.brand-strip-heading > p { font-size: 12px; color: #e2e2df; margin-top: 7px; }
.brand-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 24px; margin: 0; }
.brand-tile { background: transparent; border: 0; min-height: 56px; padding: 0; }
.brand-tile:hover { border: 0; }
.brand-tile:focus-visible { outline-color: #fff; outline-offset: 5px; }
.brand-tile img { object-fit: contain; max-width: 100%; max-height: 52px; width: 115px; height: auto; }
.brand-tile:nth-child(1) img { width: 112px; }
.brand-tile:nth-child(2) img { width: 63px; }
.brand-tile:nth-child(3) img { width: 118px; }
.brand-tile:nth-child(4) img { width: 132px; }
.brand-tile:nth-child(5) img { width: 94px; }
.brand-tile:nth-child(6) img { width: 128px; }
.brand-strip-note { grid-column: 1/3; color: #d1d3d1; font-size: 11px; margin-top: 12px; text-align: center; }
@media(max-width:1100px) and (min-width:701px) {
  .brand-strip > .container { grid-template-columns: 190px minmax(0,1fr); column-gap: 22px; }
  .brand-grid { gap: 18px; }
}
@media(max-width:700px) {
  .brand-strip { padding-block: 26px 22px; }
  .brand-strip > .container { display: block; }
  .brand-strip-heading { text-align: center; }
  .brand-strip-heading h2 { font-size: 21px; max-width: 320px; margin-inline: auto; }
  .brand-strip-heading > p { font-size: 12px; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 24px; margin-top: 25px; }
  .brand-tile { min-height: 56px; padding: 0; }
  .brand-tile img { max-height: 52px; }
  .brand-strip-note { font-size: 11px; line-height: 1.6; margin-top: 22px; }
}
@media(max-width:280px) { .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.brand-strip { padding-block: 20px 15px; }
.brand-tile:nth-child(2) img { width: 58px; }
.brand-tile:nth-child(3) img { width: 150px; }
.brand-tile:nth-child(5) img { width: 86px; }
@media(max-width:700px) {
  .brand-strip { padding-block: 26px 22px; }
  .brand-grid { grid-template-columns: 1fr .85fr 1.15fr; gap: 22px 18px; }
  .brand-tile:nth-child(1) img { width: 96px; }
}
@media(max-width:280px) { .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

