:root {
  --font-sans: "Market Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-size-display-1: 46px;
  --font-size-display-2: 36px;
  --font-size-display-3: 30px;
  --font-size-title-1: 24px;
  --font-size-title-2: 20px;
  --font-size-title-3: 16px;
  --font-size-body: 14px;
  --font-size-caption: 12px;
  --font-size-signal: 10px;
  --line-height-display-1: 56px;
  --line-height-display-2: 46px;
  --line-height-display-3: 40px;
  --line-height-title-1: 32px;
  --line-height-title-2: 28px;
  --line-height-title-3: 24px;
  --line-height-body: 20px;
  --line-height-caption: 16px;
  --line-height-signal: 12px;
  --weight-regular: 400;
  --weight-bold: 700;
  --ebay-logo-height: 48px;
  --line: #d9c5ac;
  --text: #191919;
  --muted: #707070;
  --bg: #ffffff;
  --surface: #f2e1c2;
  --nav: #736e66;
  --nav-text: #f2e1c2;
  --primary: #8c2c16;
  --accent: #d9c5ac;
  --entrance-speed: 0.9s;
  --checkout-placeholder-h: 32px;
}

@media (min-width: 990px) {
  .home-v2-menu-drawer > a:hover .home-v2-hover-text::before,
  .home-v2-submenu-panel:hover > summary .home-v2-hover-text::before,
  .home-v2-submenu-drawer a:hover .home-v2-hover-text::before,
  .home-v2-hero-rightnav a:hover .home-v2-hover-text::before {
    transform: translateY(-112%);
  }

  .home-v2-menu-drawer > a:hover .home-v2-hover-text::after,
  .home-v2-submenu-panel:hover > summary .home-v2-hover-text::after,
  .home-v2-submenu-drawer a:hover .home-v2-hover-text::after,
  .home-v2-hero-rightnav a:hover .home-v2-hover-text::after {
    transform: translateY(0%);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  font-style: normal;
  font-weight: var(--weight-regular);
  line-height: var(--line-height-body);
  color: var(--text);
  background: var(--bg);
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

body.home-layout {
  isolation: isolate;
  background: #ffffff;
}

body.home-layout::before {
  content: none;
}

body.home-layout::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(246, 243, 239, 0.78));
  opacity: 1;
  z-index: 1;
  animation: none;
}

.video-mix-layer {
  display: none;
}

.mix-video {
  --video-shift-x: -40px;
  --cinema-bar: 24px;
  --video-end-top: 16%;
  position: absolute;
  right: 10px;
  top: 115%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border-left: var(--cinema-bar) solid rgba(0, 0, 0, 0.336);
  border-right: var(--cinema-bar) solid rgba(0, 0, 0, 0.336);
  opacity: 0;
  filter: grayscale(0.08) contrast(1.05);
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.12);
  transform: translateX(var(--video-shift-x)) scale(0.5);
  animation: videoPresence 20s linear infinite;
  /* Side-crop + cinematic edge blend */
  clip-path: inset(0 17% 0 17% round 14px);
  -webkit-mask-image: none;
  mask-image: none;
}

.mix-video.v1,
.mix-video.v2,
.mix-video.v3,
.mix-video.v4 {
  width: min(31.5vw, 558px);
}

.mix-video.v1 {
  animation-delay: 0s;
}

.mix-video.v2 {
  animation-delay: 4s;
}

.mix-video.v3 {
  animation-delay: 8s;
}

.mix-video.v4 {
  animation-delay: 12s;
}

body.measurement-layout {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.rules-help-layout {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(circle at top left, rgba(255, 241, 229, 0.72), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: block;
  background: #f2e1c2;
  color: var(--text);
  border-bottom: 1px solid #d9c5ac;
}

.top-strip {
  height: 32px;
  background: #8c2c16;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #736e66;
}

.top-strip a {
  color: #fffaf2;
  text-decoration: none;
  font-size: var(--font-size-caption);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-caption);
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-link {
  display: inline-flex;
}

.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(140, 111, 97, 0.34);
  border-radius: 10px;
  background: rgba(246, 238, 229, 0.96);
  color: #7c4d38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 24px rgba(64, 42, 32, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  z-index: 50;
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  background: rgba(250, 244, 238, 0.98);
  border-color: rgba(124, 77, 56, 0.38);
  color: #6e422f;
  transform: translateY(-1px);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-main {
  min-height: 64px;
  background: #f2e1c2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 4px;
  border-bottom: 1px solid #d9c5ac;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #736e66;
  border-radius: 10px;
  background: #f2e1c2;
  padding: 9px 8px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #4b444b;
  border-radius: 99px;
  display: block;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.mobile-pattern-switch {
  display: none;
}

.search-box {
  display: flex;
  align-items: center;
  border: 2px solid #d9c5ac;
  border-radius: 999px;
  background: #f2e1c2;
  overflow: hidden;
  min-width: min(46vw, 520px);
}

.search-box input {
  border: 0;
  outline: none;
  padding: 11px 14px;
  min-width: min(40vw, 460px);
  font-size: var(--font-size-title-3);
  line-height: var(--line-height-title-3);
  background: transparent;
}

.search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-left: 2px solid #d9c5ac;
  border-radius: 999px;
  background: #d9c5ac;
  color: #383338;
  min-width: 74px;
  height: 44px;
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  font-weight: var(--weight-bold);
  padding: 0 8px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid #d9c5ac;
  color: #4b444b;
  text-decoration: none;
  background: #f2e1c2;
  font-weight: var(--weight-bold);
}

.nav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
  flex: 0 0 18px;
}

.nav-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-link .nav-ico svg {
  stroke-width: 2.9;
}

.home-layout .top-strip,
.home-layout .site-header,
.home-layout .content,
.home-layout .site-footer {
  position: relative;
  z-index: 3;
}

body:not(.home-layout) .site-footer {
  display: none !important;
}

.home-layout .patterns-header {
  z-index: 40;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.home-layout .patterns-header .site-nav {
  z-index: 60;
  background: transparent;
  box-shadow: none;
}

.home-layout .patterns-header-main,
.home-layout .patterns-toolbar,
.home-layout .patterns-header .site-nav,
.home-layout .site-nav,
.home-layout .header-main {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-layout .patterns-menu-toggle,
.home-layout .patterns-icon-link,
.home-layout .patterns-toolbar .cart-link {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-layout .content {
  max-width: none;
  margin: 0;
  width: 100%;
  padding: 0;
}

@media (min-width: 961px) {
  .top-strip {
    padding: 0 40px;
  }

  .patterns-menu-toggle {
    display: none !important;
  }

  .patterns-header .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
  }

  .site-nav {
    justify-content: space-between;
    gap: clamp(8px, 1.3vw, 22px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav a {
    border-right: 0;
    padding: 16px 10px;
  }

  .mobile-pattern-switch {
    display: none !important;
  }

  .mobile-pattern-switch a {
    animation: none !important;
  }
}

@media (min-width: 1200px) {
  body.home-layout::before {
    background-size: 70% auto;
    filter: contrast(1.2);
    opacity: 0.92;
  }

  .top-strip,
  .site-header,
  .content,
  .site-footer {
    width: min(1320px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
  }

  .home-layout .content {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .measurement-layout .page.measurement-page {
    width: min(1320px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
  }

}

.home-layout .home-v2-video-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--ebay-logo-height);
  overflow: visible;
  pointer-events: auto;
  cursor: pointer;
}

.brand-logo {
  --logo-scale: 1;
  height: var(--ebay-logo-height);
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  transform: none;
  transform-origin: left center;
  margin-top: 0;
  margin-right: clamp(18px, 2vw, 28px);
  pointer-events: none;
  cursor: default;
}

.brand-fallback {
  font-weight: var(--weight-bold);
  font-size: var(--font-size-title-1);
  color: #4b444b;
  letter-spacing: 0.01em;
  line-height: 1;
  display: none;
  pointer-events: none;
  cursor: default;
}

.brand-logo[src=""],
.brand-logo:not([src]) {
  display: none;
}

.brand-logo[src=""] + .brand-fallback,
.brand-logo:not([src]) + .brand-fallback {
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #736e66;
  border-top: 1px solid #4b444b;
  border-bottom: 1px solid #4b444b;
  padding-left: 12px;
}

.site-nav a {
  color: #fffaf2;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 0;
  font-size: var(--font-size-caption);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-caption);
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  text-transform: uppercase;
  border-right: 0;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary);
  color: #fffaf2;
  border-right-color: transparent;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  background: transparent;
}

.patterns-layout .content {
  padding-left: 0;
  padding-right: 0;
}

.patterns-header {
  background: #f7f3ec;
}

.patterns-header-main {
  justify-content: center;
  min-height: 116px;
  padding-top: 10px;
  padding-bottom: 8px;
  border-bottom: 0;
  box-shadow:
    0 14px 32px rgba(75, 68, 75, 0.06),
    0 4px 12px rgba(75, 68, 75, 0.025);
  position: relative;
  z-index: 1;
}

.patterns-header-main .brand {
  width: fit-content;
  min-width: 0;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0;
}

.patterns-header-main .brand-logo {
  transform-origin: center center;
  margin-right: 0;
}

.patterns-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 14px;
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #efe7da;
  border-bottom: 1px solid #d9c5ac;
}

.patterns-toolbar.has-back-link {
  justify-content: flex-start;
}

.patterns-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(115, 110, 102, 0.26);
  margin-right: auto;
  margin-left: 0;
}

.patterns-toolbar.has-back-link .patterns-menu-toggle {
  margin-right: 0;
}

.patterns-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2px 0;
  background: var(--primary);
  border-radius: 999px;
}

.patterns-toolbar-actions {
  display: flex;
  align-items: center;
  order: 1;
  margin-left: auto;
  gap: 8px;
}

.patterns-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(115, 110, 102, 0.26);
  border-radius: 12px;
  background: #ffffff;
  color: #4b444b;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.patterns-toolbar .cart-link {
  gap: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--primary);
}

.patterns-toolbar .cart-link > span:not(.nav-ico):not(.cart-count-badge) {
  display: none;
}

.cart-link .cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 3px;
  right: 7px;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: none;
  z-index: 3;
  pointer-events: none;
}

.cart-link .cart-count-badge[hidden] {
  display: none;
}

.patterns-toolbar .cart-link .nav-ico {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.toolbar-page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 42px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(154, 64, 37, 0.18);
  border-radius: 999px;
  background: #fffaf3;
  color: #8f4a2d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(154, 64, 37, 0.08);
  cursor: pointer;
}

.toolbar-page-link .nav-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.toolbar-auth-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: -1;
  flex: 0 1 auto;
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #736e66;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-auth-status.is-signed-in {
  flex: 0 0 28px;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 9999px !important;
  background: #003f9e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: default;
  overflow: visible;
}

.toolbar-auth-status.is-signed-in::before {
  content: none;
}

.toolbar-auth-logout {
  order: -1;
  height: 30px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.toolbar-auth-logout:hover,
.toolbar-auth-logout:focus {
  text-decoration: underline;
}

.auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-dialog[hidden] {
  display: none;
}

.auth-dialog-open {
  overflow: hidden;
}

.auth-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(32, 33, 36, 0.38);
  cursor: default;
}

.auth-dialog-panel {
  position: relative;
  width: min(100%, 760px);
  min-height: 390px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #ffffff;
  color: #202124;
  box-shadow: 0 22px 70px rgba(32, 33, 36, 0.22);
}

.auth-dialog-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.auth-dialog-close:hover,
.auth-dialog-close:focus {
  background: #f1f3f4;
}

.auth-dialog-product {
  margin: 0 0 20px;
  color: #3c4043;
  font-size: 13px;
  font-weight: 600;
}

.auth-dialog-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  padding: 0;
  border-radius: 9999px;
  background: #185abc;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.auth-dialog-avatar[hidden] {
  display: none;
}

.auth-dialog-panel h2 {
  margin: 0;
  color: #202124;
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.auth-dialog-lead {
  margin: 12px 0 0;
  color: #202124;
  font-size: 16px;
  line-height: 1.45;
}

.auth-dialog-note {
  margin: 8px 0 0;
  color: #5f6368;
  font-size: 13px;
  line-height: 1.45;
}

.auth-dialog-status {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #f8fafd;
}

.auth-dialog-status strong {
  color: #202124;
  font-size: 13px;
  font-weight: 600;
}

.auth-dialog-status span {
  color: #5f6368;
  font-size: 12px;
  line-height: 1.35;
}

.auth-dialog-form {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.auth-dialog-create-card {
  display: grid;
  gap: 12px;
}

.auth-dialog-create-card[hidden],
.auth-dialog-form[hidden] {
  display: none;
}

.auth-signout-panel {
  width: min(100%, 420px);
  min-height: 0;
  padding: 28px;
  border-radius: 24px;
}

.auth-signout-panel h2 {
  font-size: 28px;
}

.auth-signout-avatar {
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  aspect-ratio: 1 / 1 !important;
  margin-bottom: 14px;
  padding: 0 !important;
  border-radius: 9999px !important;
  background: #003f9e;
  font-size: 20px;
}

.auth-signout-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.patterns-icon-link .nav-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.patterns-search-toggle {
  display: none !important;
}

.patterns-header .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 12;
  flex-direction: column;
  width: 100%;
  padding-left: 0;
  box-shadow: 0 12px 28px rgba(75, 68, 75, 0.12);
}

.patterns-header .site-nav a {
  padding: 12px 14px;
  font-size: 12px;
}

.patterns-header.nav-open .site-nav {
  display: flex;
}

@media (min-width: 961px) {
  .patterns-toolbar > .patterns-menu-toggle {
    display: none !important;
  }

  .patterns-header .site-nav,
  .patterns-header.nav-open .site-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    width: 100%;
    box-shadow: none;
  }

  .patterns-header .site-nav a {
    padding: 16px 14px;
    font-size: 13px;
  }
}

/* Keep Measurements header visually locked to the Ready Patterns reference */
.measurement-layout .patterns-header {
  background: #f7f3ec;
}

.measurement-layout .patterns-header-main {
  justify-content: center;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 8px;
  border-bottom: 0;
  box-shadow:
    0 14px 32px rgba(75, 68, 75, 0.06),
    0 4px 12px rgba(75, 68, 75, 0.025);
}

.measurement-layout .patterns-header-main .brand {
  width: fit-content;
  min-width: 0;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 0;
}

.measurement-layout .patterns-header-main .brand-logo {
  transform-origin: center center;
  margin-right: 0;
}

.measurement-layout .patterns-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #efe7da;
  border-bottom: 1px solid #d9c5ac;
}

.measurement-layout .patterns-toolbar.has-back-link {
  justify-content: flex-start;
}

.measurement-layout .patterns-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: 0;
  margin-right: auto;
}

.measurement-layout .patterns-toolbar.has-back-link .patterns-menu-toggle {
  margin-right: 0;
}

.measurement-layout .patterns-toolbar-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
}

.measurement-layout .patterns-icon-link {
  width: 42px;
  height: 42px;
  min-height: 42px;
}

.measurement-layout .patterns-header .site-nav {
  top: 100%;
  left: 0;
  right: 0;
  z-index: 12;
}

@media (max-width: 960px) {
  .patterns-header-main {
    min-height: 92px;
    padding: 8px 12px 6px !important;
  }

  .patterns-header-main .brand {
    width: 100%;
    justify-content: center;
    padding-top: 0;
  }

  .patterns-header-main .brand-logo {
    --logo-scale: 1;
    height: clamp(58px, 12vw, 78px);
    margin-top: 0;
  }

  .patterns-toolbar {
    padding: 8px 10px;
    gap: 10px;
  }

  .patterns-menu-toggle,
  .patterns-icon-link {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 10px;
  }
}

@media (min-width: 1200px) {
  .patterns-layout .content {
    width: min(1320px, calc(100% - 80px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero {
  background: #f2e1c2;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.hero h1 {
  margin: 0 0 8px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.home-left .hero-actions .btn {
  font-size: 0.8rem;
  line-height: 1.05;
}

.home-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - 190px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #f2e9d9;
  opacity: 1;
  transform: none;
  animation: none;
}

.home-overlay-content {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.home-main.home-main-single {
  grid-template-columns: 1fr;
  max-width: min(700px, 50vw);
  width: 100%;
  margin-left: 0;
  transform: none;
  background: rgba(248, 241, 231, 0.92);
  backdrop-filter: none;
}

.home-left {
  padding: 36px 20px 36px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  position: relative;
}

.home-left .home-kicker,
.home-left h1,
.home-left p,
.home-left .hero-actions {
  transition: none;
}

.home-left .home-kicker,
.home-left h1,
.home-left p,
.home-left .hero-actions {
  transform: translateY(var(--copy-shift-y, 0));
}

.home-left.is-animating .home-kicker {
  animation: copyRiseKicker 760ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.home-left.is-animating h1 {
  animation: copyRiseTitle 920ms cubic-bezier(0.22, 0.61, 0.36, 1) 80ms both;
}

.home-left.is-animating p {
  animation: copyRiseBody 980ms cubic-bezier(0.22, 0.61, 0.36, 1) 150ms both;
}

.home-left.is-animating .hero-actions {
  animation: copyButtonsIn 760ms cubic-bezier(0.22, 0.61, 0.36, 1) 240ms both;
}

.home-left.layout-0 .home-kicker,
.home-left.layout-0 h1,
.home-left.layout-0 p,
.home-left.layout-0 .hero-actions {
  --copy-shift-y: -36px;
}

.home-left.layout-1 .home-kicker {
  --copy-shift-y: 36px;
}

.home-left.layout-1 h1 {
  --copy-shift-y: 36px;
}

.home-left.layout-1 p {
  --copy-shift-y: 36px;
}

.home-left.layout-1 .hero-actions {
  --copy-shift-y: 36px;
}

.home-left.layout-2 .home-kicker {
  --copy-shift-y: 0;
}

.home-left.layout-2 h1 {
  --copy-shift-y: 0;
}

.home-left.layout-2 p {
  --copy-shift-y: 0;
}

.home-left.layout-2 .hero-actions {
  --copy-shift-y: 0;
}

.home-left.layout-3 .home-kicker {
  --copy-shift-y: -36px;
}

.home-left.layout-3 h1 {
  --copy-shift-y: -36px;
}

.home-left.layout-3 p {
  --copy-shift-y: -36px;
}

.home-left.layout-3 .hero-actions {
  --copy-shift-y: -36px;
}

.home-left::before,
.home-left::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(140, 44, 22, 0.42);
}

.home-left::before {
  width: 220px;
  height: 220px;
  left: -80px;
  top: -90px;
}

.home-left::after {
  width: 280px;
  height: 280px;
  right: -140px;
  bottom: -130px;
}

.home-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c2c16;
  font-weight: 700;
  opacity: 1;
}

.home-left h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: #4b444b;
}

.home-left p {
  margin: 0;
  color: #736e66;
  max-width: 520px;
}

.home-conversion-shell {
  width: min(980px, calc(100vw - 72px));
  margin-left: 0;
  padding: 22px 28px 24px;
  border: 1px solid rgba(217, 197, 172, 0.68);
  border-radius: 26px;
  background: rgba(248, 241, 231, 0.9);
  box-shadow:
    0 28px 60px rgba(75, 68, 75, 0.12),
    0 8px 24px rgba(75, 68, 75, 0.06);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 16px;
}

.home-v1-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 56px;
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 9;
}

.home-video-hero {
  width: 100%;
  min-height: calc(100svh - 112px);
  max-height: calc(100svh - 112px);
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(48, 40, 38, 0.08);
  display: block;
}

.home-video-hero video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.home-hero-v1,
.home-featured-ready,
.home-paths-v1,
.home-story-band,
.home-final-cta {
  border: 1px solid rgba(48, 40, 38, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 24px 44px rgba(31, 26, 23, 0.08),
    0 8px 18px rgba(31, 26, 23, 0.04);
  backdrop-filter: blur(8px);
}

.home-hero-v1 {
  width: min(1240px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.home-hero-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 10px 6px 10px 2px;
}

.home-hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #302826;
}

.home-hero-lead {
  margin: 0;
  max-width: 42ch;
  color: #5e564f;
  font-size: 17px;
  line-height: 1.55;
}

.home-hero-actions,
.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.home-hero-actions .btn,
.home-final-actions .btn {
  min-height: 44px !important;
  height: auto !important;
  padding: 12px 16px;
  font-weight: 700;
}

.home-hero-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.hero-video-card {
  display: grid;
  gap: 12px;
  border-radius: 24px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(244, 229, 211, 0.95)),
    #fffaf3;
  border: 1px solid rgba(140, 44, 22, 0.1);
}

.hero-video-frame {
  position: relative;
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: #d9c5ac;
}

.hero-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-video-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: #5c4d45;
  font-size: 12px;
}

.hero-video-caption span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8c2c16;
}

.hero-video-caption strong {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.hero-mini-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}

.hero-mini-product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(48, 40, 38, 0.08);
  background: rgba(250, 250, 249, 0.96);
}

.hero-mini-product img {
  width: 88px;
  height: 120px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f3f2f0);
}

.hero-mini-product p,
.ready-spotlight-copy p {
  margin: 0 0 4px;
  color: #8c2c16;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-mini-product h2,
.ready-spotlight-copy h3,
.story-panel h2,
.home-final-cta h2,
.section-heading h2 {
  margin: 0;
  color: #302826;
}

.hero-mini-product h2 {
  font-size: 18px;
  line-height: 1.02;
}

.hero-mini-product span,
.ready-spotlight-copy span {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: #4b444b;
}

.home-hook-ribbon {
  width: min(1240px, calc(100vw - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hook-pill {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(48, 40, 38, 0.08);
  color: #3e342d;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  font-weight: 700;
}

.home-featured-ready,
.home-paths-v1 {
  width: min(1240px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 26px 28px 28px;
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: #655d56;
  font-size: 15px;
  line-height: 1.5;
}

.ready-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ready-spotlight-card {
  display: grid;
  grid-template-rows: 280px auto;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(249, 249, 248, 0.96);
  border: 1px solid rgba(48, 40, 38, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ready-spotlight-card:hover,
.ready-spotlight-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(75, 68, 75, 0.09);
}

.ready-spotlight-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f2f1ee);
}

.ready-spotlight-copy h3 {
  font-size: 20px;
  line-height: 1.05;
}

.home-story-band {
  width: min(1240px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 26px 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 20px;
  align-items: start;
}

.story-panel {
  display: grid;
  gap: 8px;
}

.story-panel h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-steps article {
  min-height: 190px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(249, 249, 248, 0.96);
  border: 1px solid rgba(48, 40, 38, 0.08);
  display: grid;
  align-content: start;
  gap: 10px;
}

.story-steps span {
  color: #8c2c16;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-steps h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.04;
  color: #302826;
}

.story-steps p {
  margin: 0;
  color: #645c56;
  font-size: 14px;
  line-height: 1.52;
}

.home-final-cta {
  width: min(1240px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.home-final-cta h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.home-conversion-copy {
  display: grid;
  gap: 8px;
  max-width: 700px;
}

.home-conversion-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4.35vw, 56px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #3b3430;
}

.home-conversion-lead {
  margin: 0;
  max-width: 640px;
  color: #5f5852;
  font-size: 15px;
  line-height: 1.45;
}

.home-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(48, 40, 38, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #4d4036;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-free-chart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 1px;
  color: #6b625b;
  font-size: 12px;
}

.home-free-chart span {
  color: #8c2c16;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-free-chart a {
  color: #3d352f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(140, 44, 22, 0.34);
  text-underline-offset: 4px;
}

.home-free-chart a:hover,
.home-free-chart a:focus-visible {
  color: #8c2c16;
}

.home-path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.home-path-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch;
  gap: 14px;
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.home-path-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 70%);
  pointer-events: none;
}

.home-path-card-primary {
  border: 1px solid rgba(140, 44, 22, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(246, 230, 212, 0.94)),
    #fff8ef;
  box-shadow: 0 18px 40px rgba(140, 44, 22, 0.1);
}

.home-path-card-secondary {
  border: 1px solid rgba(115, 110, 102, 0.14);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 14px 28px rgba(75, 68, 75, 0.06);
}

.home-path-card-course {
  border: 1px solid rgba(46, 94, 65, 0.18);
  background:
    linear-gradient(160deg, rgba(250, 255, 247, 0.96), rgba(239, 246, 232, 0.9)),
    #fbfff7;
  box-shadow: 0 16px 32px rgba(46, 94, 65, 0.08);
}

.home-path-kicker {
  margin: 0;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-path-card h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.04;
  color: #3b3430;
}

.home-path-body {
  margin: 0;
  color: #5f5852;
  font-size: 14px;
  line-height: 1.55;
}

.home-path-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.home-path-list li {
  color: #4d4641;
  font-size: 13px;
  line-height: 1.5;
}

.home-path-actions {
  align-self: end;
  margin-top: 4px;
}

.home-path-actions .btn {
  width: 100%;
  height: auto !important;
  min-height: 48px !important;
  padding: 11px 14px;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.home-path-btn-primary {
  font-weight: 800;
}

.home-path-btn-secondary {
  border-color: rgba(140, 44, 22, 0.24);
}

.home-path-btn-course {
  border-color: rgba(46, 94, 65, 0.24);
}

.home-right {
  border-left: 1px solid rgba(115, 110, 102, 0.35);
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 197, 172, 0.22), transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(242, 225, 194, 0.2), transparent 38%),
    linear-gradient(180deg, #f2e1c2, #d9c5ac 52%, #f2e1c2);
  display: grid;
  place-items: center;
  padding: 14px;
}

.model-svg {
  width: min(440px, 100%);
  height: min(620px, 100%);
  border: 1px solid rgba(115, 110, 102, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(242, 225, 194, 0.96), rgba(217, 197, 172, 0.94)),
    repeating-linear-gradient(
      12deg,
      rgba(103, 89, 97, 0.03) 0,
      rgba(103, 89, 97, 0.03) 2px,
      transparent 2px,
      transparent 11px
    );
  padding: 12px;
}

.portrait-static {
  width: min(500px, 100%);
  height: min(690px, 100%);
}

.portrait-line {
  fill: none;
  stroke: #101010;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.80;
}

.portrait-line.dense {
  stroke-width: 1.85;
  opacity: 0.95;
}

.portrait-line.hair {
  stroke-width: 2;
  opacity: 0.96;
}

.portrait-line.outfit {
  stroke-width: 2.1;
  opacity: 0.96;
}

.portrait-group {
  animation: sceneIn var(--entrance-speed) ease-out both;
}

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

.rules-help-head {
  display: grid;
  gap: 10px;
}

.rules-help-page {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: calc(var(--home-v2-shell-offset, 132px) + 28px) 0 96px;
}

.rules-help-head h1 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #2d2527;
}

.rules-help-intro {
  margin: 0;
  max-width: 56ch;
  color: #6b6461;
  font-size: 14px;
  line-height: 1.7;
}

.rules-help-focus-note {
  margin: 0;
  color: #8a5e5a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.course-cart-modal-open {
  overflow: hidden;
}

.course-cart-toast {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(24, 20, 17, 0.46);
  backdrop-filter: blur(14px);
}

.course-cart-toast[hidden] {
  display: none !important;
}

.course-cart-modal-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(140, 44, 22, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.99), rgba(244, 236, 225, 0.96));
  box-shadow:
    0 42px 90px rgba(26, 19, 14, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.course-cart-modal-video-shell {
  position: relative;
  z-index: 0;
  width: 100%;
  height: min(42vw, 300px, 34vh);
  overflow: hidden;
  border: 1px solid rgba(69, 60, 52, 0.22);
  background: #111;
  box-shadow: 0 22px 48px rgba(28, 22, 17, 0.16);
}

.course-cart-modal-video,
.course-cart-modal-mux-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.course-cart-modal-video[hidden],
.course-cart-modal-mux-player[hidden] {
  display: none !important;
}

.course-cart-toast-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.course-cart-modal-kicker {
  margin: 0;
  color: #8c2c16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-cart-toast-copy strong {
  color: #3e3732;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.05;
}

.course-cart-toast-copy p {
  margin: 0;
  color: #5f5852;
  font-size: 16px;
  line-height: 1.45;
}

.course-cart-modal-info {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(140, 44, 22, 0.1);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 16px 34px rgba(36, 26, 18, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.course-cart-modal-package-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.course-cart-modal-price-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.course-cart-modal-package-head span {
  color: #3f3934;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-cart-modal-package-head strong {
  color: #4b444b;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.course-cart-modal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4b444b;
  cursor: pointer;
  box-shadow: none;
}

.course-cart-modal-add svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-cart-modal-add:hover,
.course-cart-modal-add:focus-visible {
  background: transparent;
  outline: none;
}

.course-cart-modal-add.is-access-ready {
  border-color: rgba(43, 118, 82, 0.22);
  background: rgba(238, 247, 241, 0.9);
  color: #2b7652;
}

.course-cart-modal-add.is-access-ready:hover,
.course-cart-modal-add.is-access-ready:focus-visible {
  background: rgba(43, 118, 82, 0.12);
}

.course-cart-modal-add:disabled,
.course-cart-modal-add.is-in-cart {
  cursor: default;
  opacity: 0.36;
}

.course-cart-modal-info p {
  margin: 0;
  color: #5f5852;
  font-size: 15px;
  line-height: 1.45;
}

.course-cart-modal-info ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #4f4741;
  font-size: 14px;
  line-height: 1.4;
}

.course-cart-modal-alt {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid rgba(115, 110, 102, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.course-cart-modal-alt[hidden] {
  display: none !important;
}

.course-cart-modal-mini-kicker {
  margin: 0;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-cart-modal-alt p {
  margin: 0;
  color: #625a54;
  font-size: 14px;
  line-height: 1.45;
}

.course-cart-modal-alt ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: #5b534d;
  font-size: 13px;
  line-height: 1.35;
}

.course-cart-modal-alt .course-cart-modal-package-head span {
  font-size: 13px;
  letter-spacing: 0.07em;
}

.course-cart-modal-alt .course-cart-modal-package-head strong {
  font-size: 18px;
}

.course-cart-modal-alt .course-cart-modal-add {
  width: 24px;
  height: 24px;
}

.course-cart-modal-alt .course-cart-modal-add svg {
  width: 15px;
  height: 15px;
}

.course-cart-modal-rules {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
  color: #736b65;
  font-size: 13px;
  line-height: 1.4;
}

.course-cart-modal-rules p {
  margin: 0;
}

.course-cart-modal-rules-link {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(140, 44, 22, 0.18);
  color: #8c2c16;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.course-cart-modal-rules-link:hover,
.course-cart-modal-rules-link:focus {
  background: rgba(140, 44, 22, 0.08);
}

.course-cart-toast-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.course-cart-toast-link {
  margin-top: 0;
}

.course-cart-toast-close {
  border: 0;
  background: transparent;
  color: #8c2c16;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.course-cart-modal-close {
  justify-self: end;
  margin-bottom: -6px;
}

.course-cart-modal-secondary {
  min-height: 38px;
  padding: 0 8px;
}

.auth-layout .content {
  width: min(760px, calc(100% - 28px));
}

.auth-page {
  padding-top: 46px;
  padding-bottom: 48px;
}

.auth-shell {
  display: grid;
  gap: 14px;
}

.auth-compact-shell {
  min-height: clamp(420px, 58vh, 560px);
  align-items: center;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}

.auth-card,
.auth-status-card,
.auth-gate-card {
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.99), rgba(252, 248, 242, 0.96));
}

.auth-compact-card {
  width: 100%;
  min-height: 380px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid #dadce0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: none;
}

.auth-account-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #185abc;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.auth-account-initial[hidden] {
  display: none;
}

.auth-product-name {
  margin: 0 0 18px;
  color: #3c4043;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.auth-compact-card h1 {
  margin: 0;
  color: #202124;
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.auth-compact-lead {
  margin: 12px 0 0;
  color: #202124;
  font-size: 16px;
  line-height: 1.45;
}

.auth-compact-note {
  margin: 8px 0 0;
  max-width: 36ch;
  color: #5f6368;
  font-size: 13px;
  line-height: 1.45;
}

.auth-compact-status {
  display: grid;
  gap: 3px;
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #f8fafd;
}

.auth-compact-status span {
  color: #202124;
  font-size: 13px;
  font-weight: 600;
}

.auth-compact-status small {
  color: #5f6368;
  font-size: 12px;
  line-height: 1.35;
}

.auth-card {
  align-content: start;
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field span {
  color: #3c4043;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #ffffff;
  color: #202124;
  padding: 0 14px;
  font: inherit;
}

.auth-field input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 1px #1a73e8;
  outline: none;
}

.auth-submit,
.auth-signout-btn {
  margin-top: 6px;
}

.auth-submit {
  width: auto;
  min-width: 96px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: #0b57d0;
  border-color: #0b57d0;
  color: #ffffff;
}

.auth-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
}

.auth-create-toggle {
  border: 0;
  background: transparent;
  color: #0b57d0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
}

.auth-create-toggle:hover,
.auth-create-toggle:focus {
  text-decoration: underline;
}

.auth-compact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.auth-gate-card .course-step-inline-links {
  padding-top: 4px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f2e1c2;
  padding: 16px;
}

.rules-help-page .cards {
  margin-top: 24px;
  gap: 16px;
}

.rules-help-page .card {
  border: 1px solid rgba(115, 110, 102, 0.12);
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.96);
  box-shadow: 0 18px 48px rgba(75, 68, 75, 0.06);
  padding: 22px;
}

.rules-help-page .card h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b6b67;
}

.rules-help-page .card p {
  color: #655f5c;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .rules-help-page {
    width: min(100%, calc(100vw - 24px));
    padding-top: calc(var(--home-v2-shell-offset, 132px) + 20px);
    padding-bottom: 72px;
  }
}

@media (max-width: 640px) {
  .rules-help-intro,
  .rules-help-page .card p {
    font-size: 12px;
    line-height: 1.65;
  }

  .rules-help-page .card {
    border-radius: 16px;
    padding: 18px;
  }
}

.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.ready-patterns-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.ready-patterns-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c2c16;
}

.ready-patterns-intro h1 {
  margin: 0;
}

.ready-patterns-summary {
  margin: 0;
  max-width: 760px;
  color: #736e66;
}

.ready-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  align-items: start;
}

.ready-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.ready-card-media {
  display: block;
  text-decoration: none;
}

.ready-card-image {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  display: block;
  background: #f4ede2;
}

.ready-card-copy {
  display: grid;
  gap: 4px;
}

.ready-card-price {
  margin: 0;
  color: #202124;
  font-size: 0.98rem;
  font-weight: 700;
}

.ready-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.ready-card-title a {
  color: #2b2b2b;
  text-decoration: none;
}

.ready-card-title a:hover {
  color: #8c2c16;
}

.ready-card-note {
  margin: 0;
  color: #736e66;
  font-size: 0.82rem;
  line-height: 1.35;
}

.ready-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 138px;
  min-height: 36px;
  padding: 8px 14px;
  margin-top: 6px;
  border: 1px solid rgba(140, 44, 22, 0.18);
  background: #fff8ef;
  color: #8c2c16;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.ready-card-action:hover {
  background: #f5e7d7;
}

.course-page {
  display: grid;
  gap: 22px;
  padding-bottom: 32px;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 20px;
  align-items: center;
  padding-top: 2px;
}

.course-hero-copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.course-hero-copy h1,
.course-block-head h2,
.course-info-card h2,
.course-final-copy h2,
.course-offer-title {
  margin: 0;
  color: #352f2b;
}

.course-hero-subheadline {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  color: #413934;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.course-hero-figure,
.course-step-meta {
  min-height: 248px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(246, 234, 220, 0.92));
}

.course-hero-figure {
  display: grid;
  place-items: center;
  padding: 16px;
}

.course-face-illustration {
  width: min(100%, 220px);
  height: auto;
  stroke: #8c2c16;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.88;
}

.course-block {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(115, 110, 102, 0.16);
}

.course-preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
}

.course-preview-player-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 236, 225, 0.92));
}

.course-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4ede5;
  border: 1px solid rgba(115, 110, 102, 0.12);
  aspect-ratio: 16 / 9;
}

.course-preview-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #f8f3ec;
}

.course-mux-player {
  width: 100%;
  height: 100%;
  display: block;
}

.course-preview-caption {
  margin: 0;
  color: #5f5852;
  line-height: 1.56;
}

.course-access-card,
.course-policy-card,
.course-library-card,
.course-lock-card {
  min-height: 100%;
}

.course-access-grid,
.course-policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-library-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.my-courses-layout .course-library-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  justify-content: start;
}

.my-courses-layout .course-library-card.is-unlocked {
  border-color: rgba(40, 128, 52, 0.28);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(239, 248, 241, 0.86));
}

.my-courses-layout .course-library-card.is-locked {
  opacity: 0.82;
}

.my-courses-layout .my-lessons-info-panel {
  margin-top: 12px;
}

.my-courses-layout .my-lessons-info-panel .course-hero-copy h1 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.my-courses-layout .my-lessons-info-panel .course-hero-subheadline {
  font-size: clamp(16px, 1.5vw, 20px);
}

.my-lessons-primary-action {
  background: #191919;
  color: #ffffff;
}

.my-lessons-primary-action:hover {
  background: #363636;
  color: #ffffff;
}

.course-block-head {
  display: grid;
  gap: 6px;
}

.course-grid-back {
  justify-self: start;
  cursor: pointer;
}

.course-grid-back[hidden] {
  display: none !important;
}

.course-step-grid,
.course-detail-grid {
  display: grid;
  gap: 16px;
}

.course-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.course-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-step-card {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 236, 225, 0.92));
  text-decoration: none;
  color: inherit;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.course-step-card.is-published {
  border-color: rgba(140, 44, 22, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 254, 252, 1), rgba(253, 249, 244, 0.98));
  box-shadow:
    0 12px 28px rgba(64, 45, 29, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.course-step-card:hover {
  border-color: rgba(140, 44, 22, 0.24);
  background: linear-gradient(180deg, rgba(255, 254, 252, 1), rgba(252, 247, 240, 0.98));
  transform: translateY(-1px);
}

.course-step-card.is-selected {
  border-color: rgba(140, 44, 22, 0.32);
  background: linear-gradient(180deg, rgba(255, 254, 252, 1), rgba(252, 247, 240, 0.98));
}

.course-step-grid.has-focused-card {
  grid-template-columns: minmax(0, 1fr);
}

.course-step-grid.has-focused-card .course-step-card:not(.is-selected) {
  display: none;
}

.course-step-grid.has-focused-card .course-step-card.is-selected {
  grid-column: 1 / -1;
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  gap: 18px;
  padding: 20px;
  box-shadow:
    0 26px 58px rgba(53, 38, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.course-step-grid.has-focused-card .course-step-card.is-selected .course-card-preview {
  display: none;
}

.course-step-grid.has-focused-card .course-step-card.is-selected .course-card-detail {
  order: 4;
  gap: 12px;
  padding-top: 0;
  border-top: 0;
}

.course-step-grid.has-focused-card .course-step-card.is-selected .course-card-detail-video-shell {
  width: min(50%, 560px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(140, 44, 22, 0.12);
  box-shadow: 0 10px 22px rgba(26, 20, 15, 0.1);
}

.course-step-grid.has-focused-card .course-step-card.is-selected .course-card-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-step-pill {
  margin: 0;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-step-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(140, 44, 22, 0.14);
  color: #8c2c16;
  background: rgba(255, 255, 255, 0.68);
}

.course-step-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-step-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  color: #38322e;
}

.course-card-product-note {
  max-width: 28ch;
  color: #4a3830;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.course-card-preview {
  display: grid;
  gap: 6px;
}

.course-card-preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff4f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card-preview-screen {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(10, 10, 10, 0.98)),
    #111;
  overflow: hidden;
  transition:
    box-shadow 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.course-step-card.is-published .course-card-preview-screen {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(20, 20, 20, 0.12);
}

.course-step-card.is-preview-playing .course-card-preview-screen {
  border-color: rgba(140, 44, 22, 0.22);
  transform: translateY(-3px);
  box-shadow:
    0 30px 54px rgba(30, 22, 16, 0.24),
    0 10px 18px rgba(140, 44, 22, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.course-step-card.is-preview-playing {
  z-index: 2;
  border-color: rgba(140, 44, 22, 0.34);
  box-shadow:
    0 30px 58px rgba(64, 45, 29, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.course-card-preview-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: rgba(217, 197, 172, 0.96);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.36);
  animation: courseStatusRise 900ms cubic-bezier(0.18, 0.8, 0.18, 1) both;
}

.course-card-preview-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.06), transparent 0 28%),
    linear-gradient(180deg, rgba(36, 36, 36, 0.9), rgba(10, 10, 10, 0.98)),
    #111;
}

.course-card-preview-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.course-card-preview-placeholder::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.course-card-preview-coming-soon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 247, 238, 0.86);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.36);
  animation: courseStatusRise 980ms cubic-bezier(0.18, 0.8, 0.18, 1) both;
}

@keyframes courseStatusRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.course-card-preview-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111;
}

.course-card-preview-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 244, 0.92);
  cursor: pointer;
}

.course-card-preview-play svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 244, 0.72);
  border-radius: 999px;
  background: rgba(26, 20, 15, 0.34);
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.course-card-preview-play:hover svg,
.course-card-preview-play:focus-visible svg {
  transform: scale(1.08);
  background: rgba(26, 20, 15, 0.52);
}

.course-card-preview-pause-icon {
  display: none;
}

.course-step-card.is-preview-playing .course-card-preview-play {
  width: 46px;
  height: 46px;
}

.course-step-card.is-preview-playing .course-card-preview-play .course-card-preview-play-icon {
  display: none;
}

.course-step-card.is-preview-playing .course-card-preview-play .course-card-preview-pause-icon {
  display: block;
  width: 36px;
  height: 36px;
  padding: 9px;
  opacity: 0.88;
}

.course-card-offers {
  display: grid;
  gap: 6px;
}

.course-card-detail-offers {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-inline: auto;
}

.course-card-inline-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin-top: 4px;
  margin-inline: 0;
  gap: 6px;
}

.course-card-detail-offers .course-card-offer-row {
  flex: 1 1 0;
  min-width: 0;
}

.course-card-inline-offers .course-card-offer-row {
  min-width: 0;
  min-height: 84px;
  padding: 10px 10px;
  gap: 6px;
  overflow: hidden;
}

.course-card-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(247, 238, 226, 0.9)),
    rgba(255, 255, 255, 0.68);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow:
    0 10px 24px rgba(36, 26, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.course-card-offer-row:hover,
.course-card-offer-row:focus-visible {
  border-color: rgba(140, 44, 22, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 231, 0.94)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 14px 28px rgba(36, 26, 18, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.course-card-offer-row:focus-visible {
  outline: 1px solid rgba(140, 44, 22, 0.45);
  outline-offset: 3px;
}

.course-card-offer-row.is-access-open {
  border-color: rgba(44, 118, 82, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 241, 0.94)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 44px rgba(29, 78, 54, 0.1),
    0 8px 18px rgba(44, 118, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.course-card-offer-row.is-access-open .course-card-offer-name,
.course-card-offer-row.is-access-open .course-card-offer-price,
.course-card-offer-row.is-access-open .course-card-add {
  color: #2b7652;
}

.course-card-offer-row.is-access-open .course-card-offer-copy small {
  color: #4f685a;
}

.course-card-inline-offers .course-card-offer-row.is-access-open {
  align-items: center;
  min-height: 102px;
}

.course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-copy {
  grid-template-rows: auto auto auto;
  gap: 6px;
}

.course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-price {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-copy small {
  white-space: nowrap;
}

.course-step-card.is-published .course-card-offer-row {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(140, 44, 22, 0.08);
}

.course-step-card.is-published .course-card-offer-row.is-access-open {
  border-color: rgba(44, 118, 82, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 241, 0.94)),
    rgba(255, 255, 255, 0.82);
}

.course-card-offer-copy {
  display: grid;
  gap: 3px;
}

.course-card-offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.course-card-inline-offers .course-card-offer-copy {
  grid-template-rows: auto auto auto;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  gap: 4px;
}

.course-card-offer-name {
  color: #433c37;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card-inline-offers .course-card-offer-name,
.course-card-inline-offers .course-card-offer-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-card-inline-offers .course-card-offer-name {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.course-card-offer-name-split {
  display: grid;
  align-content: start;
  gap: 1px;
  max-width: none;
}

.course-card-offer-name-split span {
  display: block;
  white-space: nowrap;
}

.course-card-offer-price {
  color: #4b444b;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.course-card-inline-offers .course-card-offer-price {
  font-size: 16px;
}

.course-card-offer-copy small {
  color: #6a625b;
  font-size: 11px;
  line-height: 1.2;
}

.course-card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4b444b;
  min-width: 24px;
  min-height: 24px;
  box-shadow: none;
  cursor: pointer;
  opacity: 1;
}

.course-card-add:disabled {
  cursor: default;
  opacity: 0.5;
}

.course-card-add:hover {
  background: transparent;
  color: #2f2a2f;
}

.course-card-add:focus-visible {
  outline: 1px solid rgba(75, 68, 75, 0.3);
  outline-offset: 2px;
}

.course-card-add svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-card-inline-offers .course-card-add {
  min-width: 24px;
  min-height: 24px;
}

.course-card-inline-offers .course-card-add svg {
  width: 15px;
  height: 15px;
}

.course-card-watch {
  margin-top: auto;
  font-size: 11px;
}

.course-card-summary-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.course-card-summary-actions .course-card-watch {
  margin-top: 0;
  min-height: 32px;
  padding: 7px 8px;
  font-size: 0.72rem;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.course-step-card.is-coming-soon {
  cursor: default;
}

.course-step-card.is-coming-soon:hover {
  transform: none;
}

.course-step-card.is-coming-soon {
  opacity: 0.96;
}

.course-step-card.is-coming-soon .course-card-preview-screen {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(13, 13, 13, 1));
}

.course-step-card.is-coming-soon h3,
.course-step-card.is-coming-soon p {
  color: #4b444b;
}

.course-card-coming-soon-note {
  color: #6a645d;
  font-size: 12px;
  line-height: 1.4;
}

.course-card-detail[hidden] {
  display: none !important;
}

.course-card-detail {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(115, 110, 102, 0.14);
}

.course-card-detail-video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.course-card-detail-video-shell::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

.course-card-detail-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #111;
}

.course-card-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}

.course-card-detail-actions .ready-card-action {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  margin-top: 0;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

.course-card-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.course-card-detail-block {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(115, 110, 102, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

.course-step-card.is-published .course-card-detail-block {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(140, 44, 22, 0.08);
}

.course-card-detail-block h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  color: #38322e;
}

.course-card-detail-price {
  margin: 0;
  color: #4b444b;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.course-card-detail-block .course-support-copy,
.course-card-detail-block .course-list {
  font-size: 12px;
  line-height: 1.4;
}

.course-card-detail-block .course-list {
  padding-left: 16px;
}

.course-lesson-detail-panels[hidden] {
  display: none !important;
}

.course-lesson-detail-panels {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding-top: 2px;
}

.course-card-preview-screen::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.course-card-preview-center {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card-preview-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.72);
}

.course-step-card p,
.course-final-copy p,
.course-support-copy,
.course-step-meta-copy {
  margin: 0;
  color: #5f5852;
  line-height: 1.58;
}

.course-step-footer {
  margin-top: auto;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-positioning {
  padding-top: 6px;
}

.course-quote {
  margin: 0;
  max-width: 760px;
  padding-left: 18px;
  border-left: 2px solid rgba(140, 44, 22, 0.25);
  color: #39332f;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.36;
}

.course-info-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(244, 236, 225, 0.92));
}

.course-card-link {
  text-decoration: none;
  color: inherit;
}

.course-card-link:hover {
  border-color: rgba(140, 44, 22, 0.24);
}

.course-offer-product {
  align-content: start;
}

.course-offer-price {
  margin: 0;
  color: #4b444b;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.course-offer-product .btn {
  width: 100%;
  justify-content: center;
}

.course-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.course-list li {
  color: #47413d;
  line-height: 1.5;
}

.course-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(242, 228, 209, 0.94));
}

.course-final-copy {
  display: grid;
  gap: 8px;
  max-width: 700px;
}

.course-step-hero {
  align-items: stretch;
}

.course-step-meta {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.course-offer-card {
  gap: 12px;
}

.course-offer-title {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.08;
}

.course-compact-list {
  gap: 8px;
  padding-left: 16px;
}

.course-product-grid .course-outcome-card {
  grid-column: 1 / -1;
}

.course-step-meta-label {
  margin: 0;
  color: #8c2c16;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-step-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.course-cta-actions {
  padding-top: 0;
  justify-content: flex-end;
}

.course-step-inline-links .ready-card-action {
  min-width: 0;
}

.course-watch-layout .course-watch-shell {
  align-items: start;
}

.course-layout .content {
  width: min(1080px, calc(100% - 28px));
  margin-inline: auto;
}

.course-layout-v2 .course-legacy-header {
  display: none !important;
}

body.has-home-v2-shell,
.course-layout-v2 {
  background: #fbfaf7;
}

body.has-home-v2-shell .site-header,
.course-layout-v2 .course-legacy-header {
  display: none !important;
}

body.has-home-v2-shell .home-v2-page-shell,
.course-layout-v2 .home-v2-page-shell--course {
  position: relative;
  z-index: 80;
}

body.has-home-v2-shell .home-v2-hero-announcement,
.course-layout-v2 .home-v2-hero-announcement {
  background: rgba(244, 220, 226, 0.94);
  color: rgba(68, 43, 51, 0.9);
}

body.has-home-v2-shell .home-v2-hero-topbar,
.course-layout-v2 .home-v2-hero-topbar {
  color: rgba(34, 29, 28, 0.96);
}

body.patterns-layout .home-v2-hero-topbar {
  color: rgba(34, 29, 28, 0.96);
}

body.has-home-v2-shell.is-shell-scrolled .home-v2-hero-topbar,
.course-layout-v2.is-shell-scrolled .home-v2-hero-topbar {
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(35, 26, 26, 0.06);
}

body.patterns-layout.has-home-v2-shell.is-shell-scrolled .home-v2-hero-announcement {
  background: rgba(244, 220, 226, 0.94);
  color: rgba(68, 43, 51, 0.9);
}

body.patterns-layout .home-v2-hero-announcement {
  background: rgba(244, 220, 226, 0.94);
  color: rgba(68, 43, 51, 0.9);
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-announcement {
  background: transparent;
  color: rgba(68, 43, 51, 0.9);
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-topbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: rgba(34, 29, 28, 0.96);
}

body.has-home-v2-shell .home-v2-hero-leftnav a,
body.has-home-v2-shell .home-v2-menu-panel summary,
body.has-home-v2-shell .home-v2-menu-drawer a,
body.has-home-v2-shell .home-v2-submenu-drawer a,
body.has-home-v2-shell .home-v2-hero-rightnav a,
body.patterns-layout .home-v2-hero-leftnav a,
body.patterns-layout .home-v2-menu-panel summary,
body.patterns-layout .home-v2-menu-drawer a,
body.patterns-layout .home-v2-submenu-drawer a,
body.patterns-layout .home-v2-hero-rightnav a,
.course-layout-v2 .home-v2-hero-leftnav a,
.course-layout-v2 .home-v2-menu-panel summary,
.course-layout-v2 .home-v2-menu-drawer a,
.course-layout-v2 .home-v2-submenu-drawer a,
.course-layout-v2 .home-v2-hero-rightnav a {
  color: rgba(34, 29, 28, 0.96);
  text-shadow: none;
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-leftnav a,
body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-menu-panel summary,
body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-menu-drawer a,
body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-submenu-drawer a,
body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-rightnav a {
  color: rgba(34, 29, 28, 0.96);
  text-shadow: none;
}

body.has-home-v2-shell .home-v2-hover-text,
body.patterns-layout .home-v2-hover-text,
.course-layout-v2 .home-v2-hover-text {
  text-shadow: none;
  background-image: linear-gradient(rgba(34, 29, 28, 0.38), rgba(34, 29, 28, 0.38));
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hover-text {
  text-shadow: none;
  background-image: linear-gradient(rgba(34, 29, 28, 0.38), rgba(34, 29, 28, 0.38));
}

body.has-home-v2-shell .home-v2-hover-text::before,
body.has-home-v2-shell .home-v2-hover-text::after,
body.patterns-layout .home-v2-hover-text::before,
body.patterns-layout .home-v2-hover-text::after,
.course-layout-v2 .home-v2-hover-text::before,
.course-layout-v2 .home-v2-hover-text::after {
  color: rgba(34, 29, 28, 0.96);
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hover-text::before,
body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hover-text::after {
  color: rgba(34, 29, 28, 0.96);
}

body.has-home-v2-shell .home-v2-hero-sep,
body.patterns-layout .home-v2-hero-sep,
.course-layout-v2 .home-v2-hero-sep {
  background: rgba(34, 29, 28, 0.22);
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-sep {
  background: rgba(34, 29, 28, 0.22);
}

body.has-home-v2-shell .home-v2-hero-brand-logo,
body.patterns-layout .home-v2-hero-brand-logo,
.course-layout-v2 .home-v2-hero-brand-logo {
  filter: brightness(0) saturate(100%) contrast(1.02);
  opacity: 0.94;
}

body.patterns-layout.has-home-v2-shell.is-patterns-media-zone .home-v2-hero-brand-logo {
  filter: brightness(0) saturate(100%) contrast(1.02);
  opacity: 0.94;
}

body.has-home-v2-shell main,
.course-layout-v2 .course-page {
  padding-top: 118px;
}

.course-layout-v2 .course-hero {
  padding-top: 10px;
}

.course-layout .ready-patterns-kicker,
.course-layout .course-step-meta-label,
.course-layout .course-step-pill,
.course-layout .course-step-footer {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.course-page {
  gap: 14px;
  padding-bottom: 20px;
}

.course-hero {
  grid-template-columns: 1fr;
  gap: 14px;
}

.course-hero-copy {
  gap: 8px;
  max-width: 640px;
}

.course-hero-copy h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.course-hero-subheadline {
  max-width: 24ch;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
}

.course-hero-copy .ready-patterns-summary,
.course-layout .course-support-copy,
.course-layout .course-step-meta-copy,
.course-layout .course-preview-caption,
.course-layout .course-final-copy p {
  font-size: 13px;
  line-height: 1.5;
}

.course-hero-actions {
  gap: 8px;
  padding-top: 2px;
}

.course-hero-figure,
.course-step-meta {
  min-height: 0;
  padding: 14px;
}

.course-hero-figure {
  display: none;
}

.course-face-illustration {
  width: min(100%, 140px);
  opacity: 0.75;
}

.course-block {
  gap: 10px;
  padding-top: 12px;
}

.course-preview-shell {
  gap: 12px;
}

.course-preview-player-card,
.course-info-card,
.course-final-cta,
.course-step-card {
  gap: 10px;
  padding: 14px;
}

.course-block-head {
  gap: 4px;
}

.course-block-head h2,
.course-info-card h2,
.course-final-copy h2,
.course-offer-title,
.course-step-card h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.15;
}

.course-step-grid,
.course-detail-grid,
.course-offer-grid {
  gap: 12px;
}

.course-step-card {
  min-height: 0;
}

.course-step-card p,
.course-list li {
  font-size: 13px;
  line-height: 1.45;
}

.course-list {
  gap: 6px;
  padding-left: 16px;
}

.course-offer-price {
  font-size: clamp(20px, 2.4vw, 30px);
}

.course-product-grid .course-outcome-card {
  grid-column: auto;
}

.course-step-page .course-step-meta {
  display: none;
}

.course-layout .course-positioning,
.course-layout .course-access-grid,
.course-layout section[aria-label="Course explanation"],
.course-layout .course-final-cta[aria-label="Start the course"] {
  display: none;
}

.course-step-page .course-final-cta[aria-label="Lesson support"] {
  display: none;
}

@media (max-width: 960px) {
  .ready-catalog-grid {
    gap: 16px 12px;
  }

  .placeholder-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .course-hero,
  .course-preview-shell,
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .course-step-grid,
  .course-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-step-mobile-extra {
    display: none;
  }

  .course-layout .content {
    width: min(100%, calc(100% - 20px));
  }

  .course-hero {
    gap: 10px;
  }

  .course-hero-figure {
    display: none;
  }

  .course-hero-copy h1 {
    font-size: 28px;
  }

  .course-hero-subheadline {
    max-width: none;
    font-size: 17px;
  }

  .course-preview-player-card,
  .course-info-card,
  .course-final-cta,
  .course-step-card {
    padding: 12px;
  }

  .course-access-grid,
  .course-policy-grid,
  .course-offer-grid {
    grid-template-columns: 1fr;
  }

  .course-card-detail-grid {
    grid-template-columns: 1fr;
  }

  .course-step-grid.has-focused-card .course-step-card.is-selected .course-card-detail-grid {
    grid-template-columns: 1fr;
  }

  .course-step-grid.has-focused-card .course-step-card.is-selected .course-card-detail-video-shell {
    width: 100%;
    max-width: none;
  }

  .course-card-inline-offers {
    gap: 8px;
  }

  .course-card-inline-offers .course-card-offer-row,
  .course-card-inline-offers .course-card-offer-row.is-access-open {
    min-height: 124px;
    padding: 12px 10px;
    gap: 8px;
    overflow: visible;
  }

  .course-card-inline-offers .course-card-offer-copy,
  .course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-copy {
    grid-template-rows: auto auto auto;
    gap: 6px;
    overflow: visible;
  }

  .course-card-inline-offers .course-card-offer-name,
  .course-card-inline-offers .course-card-offer-copy small,
  .course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-copy small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .course-card-inline-offers .course-card-offer-name {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.08em;
  }

  .course-card-offer-name-split span {
    white-space: normal;
  }

  .course-card-inline-offers .course-card-offer-price,
  .course-card-inline-offers .course-card-offer-row.is-access-open .course-card-offer-price {
    font-size: 18px;
    line-height: 1.05;
    white-space: normal;
  }

  .course-card-inline-offers .course-card-offer-copy small {
    font-size: 11px;
    line-height: 1.2;
  }

  .course-card-inline-offers .course-card-add {
    flex: 0 0 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .course-cta-actions {
    justify-content: flex-start;
  }
}

.card-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.page-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  min-width: 28px;
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid #736e66;
  border-radius: 0;
  background: #f2e1c2;
  color: #4b444b;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.page-btn:hover:not(:disabled),
.page-btn.active {
  background: #736e66;
  color: #fffaf2;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.placeholder-card {
  min-height: 480px;
  border: 0;
  border-radius: 0;
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 0;
  overflow: hidden;
}

.placeholder-top {
  position: relative;
  width: 100%;
  height: 390px;
  background-color: #d93025;
  background-image: url("assets/ready-patterns/images/SculpingPanelFlaredSkirtPattern/etek-alt.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image-link {
  display: block;
  text-decoration: none;
}

.placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 180px;
  background: #ffffff;
  opacity: 0.6;
  background-image: url("assets/ready-patterns/images/SculpingPanelFlaredSkirtPattern/etek-ust.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.placeholder-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.placeholder-row {
  flex: 1;
}

.placeholder-row.row-1 {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px 4px;
}

.placeholder-row.row-2 {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px 6px;
}

.placeholder-row.row-3 {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px 8px;
  margin-top: auto;
}

.cta-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.product-head {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.product-headline {
  display: grid;
  gap: 4px;
  text-align: center;
}

.product-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c2c16;
}

.product-id {
  margin: 0;
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.product-blurb {
  margin: 0;
  color: #736e66;
  font-size: 0.82rem;
  text-align: center;
}

.product-price {
  margin: 0;
  color: #202124;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 30px;
  padding: 6px 12px;
  background: #736e66;
  color: #fffaf2;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0;
}

.product-cta:hover {
  background: #5f5b55;
}

.product-cta.apple-cta {
  background: #111111;
  color: #ffffff;
}

.product-cta.apple-cta:hover {
  background: #000000;
}

.ready-patterns-empty {
  grid-column: 1 / -1;
  border: 1px solid #d7cab4;
  background: #fffaf2;
  padding: 18px;
}

.ready-patterns-empty h2,
.ready-patterns-empty p {
  margin: 0;
}

.ready-patterns-empty p {
  margin-top: 8px;
  color: #736e66;
}

.apple-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  margin-right: 6px;
}

.apple-icon svg {
  width: 100%;
  height: 100%;
}

.checkout-shell {
  display: grid;
  gap: 12px;
}

.checkout-card {
  border: 1px solid var(--line);
  background: #f2e1c2;
  padding: 14px;
}

.checkout-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.checkout-product {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  align-items: start;
}

.checkout-product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.checkout-product-meta p {
  margin: 0 0 8px;
}

.usa-form {
  display: grid;
  gap: 10px;
}

.usa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.usa-form label {
  display: grid;
  gap: 4px;
}

.usa-form label span {
  font-size: 12px;
  font-weight: 700;
  color: #4b444b;
}

.usa-note textarea {
  min-height: 82px;
  resize: vertical;
}

.checkout-final .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-lock-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8c2c16;
}

.checkout-stage-base {
  width: 100%;
  min-height: calc(100vh - 220px);
  background: none;
  display: grid;
  grid-template-rows: 480px 1fr;
  gap: 0;
  padding: 0;
}

.checkout-layout .content {
  width: min(1360px, calc(100vw - 48px));
  margin: 0 auto;
  padding: calc(var(--home-v2-shell-offset, 132px) + 28px) 0 96px;
}

.checkout-layout {
  background:
    radial-gradient(circle at top left, rgba(255, 241, 229, 0.72), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.checkout-content {
  display: grid;
  gap: 22px;
}

.co-page-intro {
  display: grid;
  gap: 10px;
  width: min(640px, 100%);
}

.co-page-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a5e5a;
}

.co-page-intro h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #2e2627;
}

.co-page-lead {
  margin: 0;
  max-width: 54ch;
  font-size: 13px;
  line-height: 1.65;
  color: #6c6562;
}

.co-page-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.co-page-point {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(138, 94, 90, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7d5f5c;
}

.co-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.96fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.co-main,
.co-middle,
.co-right {
  display: grid;
  gap: 16px;
  align-content: start;
}

.co-right {
  position: static;
  align-self: start;
}

.co-cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  overflow-x: auto;
}

.co-cart-items li {
  color: #4b444b;
  font-size: 13px;
}

.co-cart-head,
.co-cart-row {
  display: grid;
  grid-template-columns: 72px 56px 1fr 94px 88px;
  align-items: center;
  gap: 8px;
  min-width: 460px;
}

.co-cart-head {
  font-size: 11px;
  font-weight: 700;
  color: #736e66;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(115, 110, 102, 0.2);
  padding-bottom: 6px;
}

.co-cart-row {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(115, 110, 102, 0.2);
}

.co-cart-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(115, 110, 102, 0.28);
  border-radius: 6px;
}

.co-cart-remove {
  border: 1px solid rgba(115, 110, 102, 0.35);
  background: #fffaf2;
  color: #8c2c16;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.co-cart-price,
.co-cart-qty,
.co-cart-line-total {
  margin: 0;
  font-size: 13px;
  color: #4b444b;
}

.co-cart-qty-controls {
  display: inline-grid;
  grid-template-columns: 28px minmax(18px, auto) 28px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.co-cart-qty-btn {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid rgba(115, 110, 102, 0.35);
  border-radius: 6px;
  background: #fffaf2;
  color: #8c2c16;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.co-cart-head span:nth-child(4),
.co-cart-qty-controls,
.co-cart-qty {
  justify-self: center;
}

.co-cart-qty {
  min-width: 2ch;
  font-weight: 700;
  text-align: center;
}

.co-cart-line-total {
  font-weight: 700;
}

.co-cart-total {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(115, 110, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #4b444b;
}

.co-cart-empty {
  color: #736e66 !important;
}

.co-card {
  border: 1px solid rgba(115, 110, 102, 0.12);
  background: rgba(255, 251, 246, 0.94);
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(75, 68, 75, 0.06);
}

.co-stage-card {
  background: rgba(255, 253, 248, 0.98);
}

.co-card h2 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b6b67;
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.co-grid label {
  display: grid;
  gap: 4px;
}

.co-grid label span {
  font-size: 10px;
  font-weight: 700;
  color: #8d7d77;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.co-col-full {
  grid-column: 1 / -1;
}

.checkout-layout input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.checkout-layout select {
  min-height: var(--checkout-placeholder-h);
  padding: 0 14px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #2f2a2b;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.checkout-layout input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.checkout-layout select:focus {
  outline: none;
  border-color: rgba(140, 44, 22, 0.35);
  box-shadow: 0 0 0 4px rgba(140, 44, 22, 0.08);
  background: #ffffff;
}

.co-pay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.co-pay-option {
  position: relative;
  display: block;
}

.co-pay-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.co-pay-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid rgba(115, 110, 102, 0.35);
  border-radius: 10px;
  background: #fffaf2;
  color: #4b444b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.co-wallet-label,
.co-pay-chip > span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  min-width: 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.co-pay-option input:checked + .co-pay-chip {
  box-shadow: 0 0 0 1px rgba(75, 68, 75, 0.18) inset;
}

.co-pay-chip:hover {
  border-color: rgba(75, 68, 75, 0.55);
}

.co-wallet-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.co-wallet-mark svg {
  width: 19px;
  height: 22px;
  max-width: 19px;
  max-height: 22px;
  fill: currentColor;
  stroke: none;
}

.co-paypal-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  width: auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.co-paypal-logo span:first-child {
  color: #003087;
}

.co-paypal-logo span:last-child {
  color: #009cde;
}

.co-google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.co-google-g span {
  background: conic-gradient(from -35deg, #4285f4 0 24%, #34a853 24% 44%, #fbbc05 44% 68%, #ea4335 68% 84%, #4285f4 84% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.co-pay-option input[value="card"] + .co-pay-chip {
  color: #1a237e;
}

.co-pay-option input[value="card"]:checked + .co-pay-chip {
  border-color: #1a237e;
  background: rgba(26, 35, 126, 0.08);
}

.co-pay-option input[value="apple"] + .co-pay-chip {
  color: #111111;
}

.co-pay-option input[value="apple"]:checked + .co-pay-chip {
  border-color: #111111;
  background: rgba(17, 17, 17, 0.08);
}

.co-pay-option input[value="google"] + .co-pay-chip {
  color: #202124;
}

.co-pay-option input[value="google"]:checked + .co-pay-chip {
  border-color: #1a73e8;
  background: rgba(26, 115, 232, 0.1);
}

.co-pay-option input[value="paypal"] + .co-pay-chip {
  color: #003087;
}

.co-pay-option input[value="paypal"]:checked + .co-pay-chip {
  border-color: #003087;
  background: rgba(0, 48, 135, 0.1);
}

.co-pay-note {
  margin: 2px 0 10px;
  color: #736e66;
  font-size: 12px;
  line-height: 1.6;
}

.co-pay-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 2px 0 12px;
}

.co-pay-badges .co-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: none;
}

.co-brand-visa {
  color: #1434cb;
  font-size: 22px;
  font-style: italic;
  text-transform: uppercase;
}

.co-brand-mastercard {
  gap: 6px;
  background: transparent;
  color: #231f20;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.co-brand-mastercard-mark {
  width: 32px;
  height: 20px;
  flex: 0 0 32px;
  display: block;
}

.co-brand-amex {
  background: transparent;
  color: #2e77bb;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.co-brand-google-pay {
  gap: 4px;
  color: #202124;
  font-size: 21px;
  font-weight: 500 !important;
  letter-spacing: -0.04em !important;
}

.co-brand-google-pay .co-google-g {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.co-card-fields .co-disabled {
  opacity: 0.45;
}

.co-summary .co-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(115, 110, 102, 0.2);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.co-summary .co-item img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  border: 1px solid rgba(115, 110, 102, 0.2);
  border-radius: 12px;
  background: #ffffff;
}

.co-summary .co-item p {
  margin: 4px 0 0;
  color: #736e66;
  font-size: 12px;
  line-height: 1.55;
}

.co-lines p,
.co-total {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.co-lines p {
  font-size: 12px;
  color: #736e66;
}

.co-total {
  border-top: 1px solid rgba(115, 110, 102, 0.2);
  margin-top: 10px;
  padding-top: 12px;
  font-size: 16px;
  color: #2f2a2b;
}

.co-consent {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 11px;
  color: #736e66;
}

.co-place-order {
  margin-top: 14px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  background: #7f3324;
  color: #fffdf9;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(127, 51, 36, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.co-place-order:hover,
.co-place-order:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(127, 51, 36, 0.22);
  background: #723021;
}

.co-place-order-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.co-place-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
}

.co-safe-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #736e66;
  line-height: 1.6;
}

.co-measure-summary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(115, 110, 102, 0.2);
}

.co-measure-summary h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #4b444b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.co-measure-summary p {
  margin: 0 0 5px;
  font-size: 12px;
  color: #4b444b;
}

.co-measure-summary ul {
  margin: 8px 0 0;
  padding-left: 16px;
  max-height: 140px;
  overflow: auto;
}

.co-measure-summary li {
  margin: 0 0 4px;
  font-size: 12px;
  color: #736e66;
}

.rpi-stack {
  display: grid;
  gap: 12px;
}

.rpi-block {
  border: 1px solid rgba(115, 110, 102, 0.2);
  border-radius: 12px;
  background: #fffaf2;
  padding: 14px;
}

.rpi-block h1,
.rpi-block h2 {
  margin: 0 0 10px;
  color: #4b444b;
}

.rpi-block h1 {
  font-size: 24px;
}

.rpi-block h2 {
  font-size: 18px;
}

.rpi-meta {
  margin: 0 0 6px;
  font-size: 13px;
}

.rpi-description {
  margin: 0 0 10px;
  color: #736e66;
  font-size: 13px;
}

.rpi-image-wrap img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border: 1px solid #d9c5ac;
  border-radius: 10px;
}

.rpi-table-wrap {
  overflow: auto;
}

.rpi-actions-inline,
.rpi-final-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rpi-tips {
  margin: 0;
  padding-left: 18px;
  color: #4b444b;
  font-size: 13px;
  line-height: 1.45;
}

.rpi-mobile-actions {
  display: none;
}

@media (max-width: 960px) {
  .ready-item-layout .checkout-stage-base {
    display: block;
    background: transparent;
    min-height: 0;
    padding: 0;
  }

  .ready-item-layout .split-top,
  .ready-item-layout .split-bottom {
    display: block;
    height: auto;
    background: transparent;
  }

  .ready-item-layout .top-left,
  .ready-item-layout .top-right,
  .ready-item-layout .bottom-upper,
  .ready-item-layout .bottom-lower {
    width: 100%;
    height: auto;
    border: 1px solid rgba(115, 110, 102, 0.2);
    border-radius: 10px;
    background: #fffaf2;
    margin-bottom: 10px;
  }

  .ready-item-layout .top-left {
    display: block;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .ready-item-layout .top-left-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
  }

  .ready-item-layout .top-left-product-panel {
    border: 0;
    height: 480px;
  }

  .ready-item-layout .top-left-product-panel img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    background: #fffaf2;
  }

  .ready-item-layout .mini-box {
    width: 54px;
    height: 78px;
    border: 1px solid rgba(255, 250, 242, 0.8);
    background: rgba(255, 250, 242, 0.14);
  }

  .ready-item-layout .top-right {
    padding: 0;
    margin-left: 0;
  }

  .ready-item-layout .table-box {
    border: 1px solid rgba(115, 110, 102, 0.2);
    margin: 0 0 10px;
  }

  .ready-item-layout .table-box:last-of-type {
    margin-bottom: 0;
  }

  .ready-item-layout .rpi-selector-panel {
    margin: 10px 10px 10px;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .ready-item-layout .rpi-selector-title {
    font-size: 11px !important;
  }

  .ready-item-layout .rpi-mobile-actions {
    display: none;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .ready-item-layout .bottom-upper {
    display: block;
    padding: 10px;
  }

  .ready-item-layout .bottom-upper-action {
    margin-top: 10px;
    justify-content: flex-start;
  }

  .ready-item-layout .bottom-upper-action .btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 0 14px;
  }

  .ready-item-layout .bottom-lower {
    justify-content: flex-start;
    padding: 10px;
  }
}

@media (max-width: 960px) {
  .checkout-layout .content {
    width: min(100%, calc(100vw - 24px));
    padding-top: calc(var(--home-v2-shell-offset, 132px) + 20px);
    padding-bottom: 72px;
  }

  .checkout-content {
    gap: 20px;
  }

  .co-page-intro {
    gap: 10px;
  }

  .checkout-layout .co-pay-list {
    grid-template-columns: 1fr;
  }

  .checkout-layout .co-shell {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .checkout-layout .co-right {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    position: static;
  }

  .checkout-layout .co-middle {
    grid-column: auto;
    grid-row: auto;
    order: 2;
  }

  .checkout-layout .co-main {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
  }

  .checkout-layout .co-main .co-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .co-page-lead {
    font-size: 12px;
    line-height: 1.6;
  }

  .co-page-points {
    gap: 8px;
  }

  .co-page-point {
    min-height: 32px;
    padding: 0 11px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .co-card {
    padding: 16px;
    border-radius: 16px;
  }

  .checkout-layout .co-shell {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .co-summary .co-item {
    grid-template-columns: 72px 1fr;
  }

  .co-summary .co-item img {
    height: 98px;
  }

  .co-summary .co-item p,
  .co-lines p,
  .co-safe-note,
  .co-consent {
    font-size: 11px;
  }

  .co-cart-head {
    display: none;
  }

  .co-cart-row {
    grid-template-columns: 64px 1fr auto;
    grid-template-areas:
      "thumb price subtotal"
      "thumb qty subtotal"
      "remove remove remove";
    min-width: 0;
    gap: 6px 10px;
    padding: 10px 0;
    align-items: center;
  }

  .co-cart-thumb {
    grid-area: thumb;
    width: 64px;
    height: 88px;
    object-fit: contain;
    background: #fff;
  }

  .co-cart-price {
    grid-area: price;
    font-size: 14px;
  }

  .co-cart-qty-controls {
    grid-area: qty;
    justify-self: start;
    grid-template-columns: 24px minmax(18px, auto) 24px;
    gap: 6px;
  }

  .co-cart-qty-btn {
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    font-size: 14px;
    border-radius: 5px;
  }

  .co-cart-line-total {
    grid-area: subtotal;
    justify-self: end;
    font-size: 15px;
  }

  .co-cart-remove {
    grid-area: remove;
    width: auto;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 0 10px;
    justify-self: start;
    font-size: 11px;
    border-radius: 999px;
  }
}

.split-top {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  height: 480px;
  background: none;
}

.top-left {
  background: none;
  width: 420px;
  height: 480px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  gap: 0;
}

.top-left-product-panel {
  flex: 1;
  height: 100%;
  background: #f2e1c2;
  border: 1px solid #736e66;
  overflow: hidden;
}

.top-left-product-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fffaf2;
  display: block;
}

.top-left-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mini-box {
  width: 80px;
  height: 120px;
  background: #d9c5ac;
  overflow: hidden;
  border: 1px solid rgba(115, 110, 102, 0.2);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mini-box.is-active {
  border-color: #8c2c16;
  box-shadow: inset 0 0 0 1px rgba(140, 44, 22, 0.18);
}

.mini-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 180ms ease;
  transform: scale(1);
}

.mini-thumb:hover {
  transform: scale(1.08);
}

.top-right {
  background: none;
  min-height: 480px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  margin-left: 20px;
}

.table-box {
  border: 1px solid rgba(255, 255, 255, 0.32);
  overflow: auto;
}

.table-box-2 {
  background: rgba(255, 255, 255, 0.08);
}

.rpi-selector-panel {
  border: 1px solid rgba(140, 44, 22, 0.18);
  border-radius: 14px;
  background: #fff8ef;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.rpi-selector-title {
  margin: 0 0 10px !important;
  color: #6a3525 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffaf2;
  color: #2d2d2d;
  font-size: 12px;
}

.size-table th,
.size-table td {
  border: 1px solid #d9c5ac;
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
}

.size-table thead th {
  background: #f2e1c2;
  font-weight: 700;
}

.split-bottom {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.bottom-upper {
  background: none;
  padding: 12px;
  overflow: auto;
}

.bottom-lower {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
}

.ready-item-layout .bottom-lower {
  align-items: flex-start;
  justify-content: flex-start;
  overflow: auto;
}

.ready-item-layout .checkout-stage-base {
  grid-template-rows: 480px auto;
}

.ready-item-layout .split-bottom {
  grid-template-rows: auto auto;
  align-content: start;
}

.ready-item-layout .bottom-upper {
  height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.ready-item-layout .bottom-upper-copy {
  min-width: 0;
}

.ready-item-layout .bottom-upper-action {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(140, 44, 22, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.98), rgba(246, 238, 226, 0.94)),
    #fffaf4;
  box-shadow:
    0 28px 58px rgba(36, 26, 18, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rpi-action-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(140, 44, 22, 0.12);
  margin-bottom: 4px;
}

.rpi-action-head p,
.rpi-action-head span {
  margin: 0;
}

.rpi-action-head p {
  color: #2f2924;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rpi-action-head span {
  color: #6e665f;
  font-size: 12px;
  line-height: 1.45;
}

.ready-item-layout .bottom-upper-action .btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  min-height: 48px;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.ready-item-layout .bottom-upper-action .js-buy-now {
  background: #171717;
  border-color: #171717;
  color: #ffffff;
}

.ready-item-layout .bottom-upper-action .js-buy-now:hover,
.ready-item-layout .bottom-upper-action .js-buy-now:focus-visible {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.ready-item-layout .bottom-upper-action .js-buy-now.is-apple-selected {
  box-shadow:
    0 0 0 2px rgba(17, 17, 17, 0.24) inset,
    0 16px 30px rgba(17, 17, 17, 0.16);
}

.ready-item-layout .bottom-upper-action .js-review-cart {
  background: transparent;
  color: #8c2c16;
  box-shadow: none;
}

.ready-item-layout .bottom-upper-action .add-cart-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.ready-item-layout .bottom-upper-action .add-cart-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ready-item-layout .bottom-upper-action .apple-pay-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.ready-item-layout .bottom-upper-action .apple-pay-ico svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.size-guide-note {
  color: #000000;
  font-size: 12px;
  line-height: 1.55;
  max-width: 100%;
}

.size-guide-note h3 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.size-guide-note p {
  margin: 0 0 10px;
}

.size-guide-note h4 {
  margin: 14px 0 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #000000;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 8px;
}

.bottom-upper h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.bottom-upper p {
  margin: 0 0 6px;
  font-size: 13px;
  color: #2d2d2d;
}

.rpi-kicker {
  margin: 0 0 8px !important;
  color: #8c2c16 !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rpi-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.rpi-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(140, 44, 22, 0.14);
  border-radius: 999px;
  background: #fff8ef;
  color: #6a3525;
  font-size: 12px;
  font-weight: 700;
}

.rpi-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.rpi-meta-grid p {
  margin: 0 !important;
  min-height: 60px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 12px;
  background: #fffaf2;
  padding: 10px 12px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.rpi-meta-grid strong {
  color: #736e66;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rpi-description {
  margin-bottom: 12px !important;
  max-width: 720px;
  font-size: 14px !important;
  line-height: 1.55;
}

.rpi-highlight-list {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.rpi-highlight-list li {
  color: #3b3430;
  font-size: 13px;
  line-height: 1.45;
}

.rpi-required-selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 8px;
}

.rpi-required-selectors label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #4b444b;
}

.rpi-required-selectors select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(115, 110, 102, 0.45);
  border-radius: 8px;
  background: #fffaf2;
  color: #2d2d2d;
  font-size: 13px;
  padding: 6px 10px;
}

.rpi-selection-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8c2c16 !important;
}

.rpi-action-note {
  grid-column: 1 / -1;
  margin: 4px 0 0 !important;
  max-width: none;
  color: #736e66 !important;
  font-size: 12px !important;
  line-height: 1.45;
}

@media (min-width: 961px) {
  .ready-item-layout .bottom-upper-action {
    min-width: 0;
  }

  .ready-item-layout .bottom-upper-action .btn {
    width: 100%;
    justify-content: center;
    padding: 0 18px;
  }
}

@media (max-width: 960px) {
  .rpi-meta-grid {
    grid-template-columns: 1fr;
  }

  .rpi-required-selectors {
    grid-template-columns: 1fr;
  }

  .placeholder-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .placeholder-card {
    --card-w: min(92vw, 340px);
    width: var(--card-w);
    min-height: calc(var(--card-w) * 480 / 319) !important;
  }

  .placeholder-top {
    height: calc(var(--card-w) * 390 / 319) !important;
  }
}

.pfp-subtitle {
  margin: 0 0 10px;
  color: #736e66;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pfp-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pfp-title-copy {
  min-width: 0;
}

.pfp-title-copy h1 {
  margin-bottom: 6px;
}

.pfp-guide-intro {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.pfp-guide-lower {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
}

.pfp-guide-bubble {
  position: relative;
  max-width: 210px;
  padding: 10px 12px;
  border: 1px solid rgba(153, 98, 62, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8eee3 100%);
  color: #8f4a2d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 14px 30px rgba(143, 74, 45, 0.08);
}

.pfp-guide-bubble::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #f9f0e6;
  border-right: 1px solid rgba(153, 98, 62, 0.22);
  border-bottom: 1px solid rgba(153, 98, 62, 0.22);
  transform: rotate(45deg);
}

.pfp-guide-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 14px;
}

.pfp-guide-choice {
  appearance: none;
  border: 1px solid rgba(153, 98, 62, 0.24);
  border-radius: 999px;
  background: #fffdf8;
  color: #8f4a2d;
  min-width: 50px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(143, 74, 45, 0.06);
}

.pfp-guide-choice.is-yes {
  background: #9a4025;
  border-color: #9a4025;
  color: #fff9f2;
}

.pfp-guide-hand {
  position: fixed;
  z-index: 8;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition:
    left 1.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 1.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.38s ease,
    transform 0.38s ease;
  filter:
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.pfp-guide-hand.is-visible {
  opacity: 0.5;
  transform: translate(-50%, -50%) scale(1);
}

.pfp-guide-hand.is-fading {
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.pfp-guide-hand.is-gliding {
  transition:
    left 2.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 2.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.38s ease,
    transform 0.38s ease;
}

.pfp-guide-hand.is-cta-gliding {
  transition:
    left 3.85s cubic-bezier(0.18, 0.68, 0.22, 1),
    top 3.85s cubic-bezier(0.18, 0.68, 0.22, 1),
    opacity 0.52s ease,
    transform 0.52s ease;
}

.pfp-guide-hand-img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(0.82);
  transform-origin: center;
}

.pfp-guide-hand.is-clicking {
  transform: translate(-50%, -44%) scale(0.9);
}

.pfp-guide-hand-tap {
  position: absolute;
  top: 4px;
  left: 39px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(154, 64, 37, 0.44);
  background:
    radial-gradient(circle, rgba(154, 64, 37, 0.68) 0%, rgba(154, 64, 37, 0.3) 38%, rgba(154, 64, 37, 0.03) 74%);
  box-shadow:
    0 0 0 0 rgba(154, 64, 37, 0.28),
    0 10px 18px rgba(154, 64, 37, 0.16);
  opacity: 0;
  pointer-events: none;
}

.pfp-guide-hand-tap::before,
.pfp-guide-hand-tap::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 2px solid rgba(154, 64, 37, 0.52);
  opacity: 0;
  box-shadow:
    0 0 0 0 rgba(154, 64, 37, 0.24),
    0 0 22px rgba(154, 64, 37, 0.12);
}

.pfp-guide-hand.is-clicking .pfp-guide-hand-tap {
  animation: pfpGuideTapPulse 0.84s cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.pfp-guide-hand.is-clicking .pfp-guide-hand-tap::before {
  animation: pfpGuideTapWave 1.02s ease-out 1;
}

.pfp-guide-hand.is-clicking .pfp-guide-hand-tap::after {
  animation: pfpGuideTapWave 1.02s ease-out 0.16s 1 both;
}

.pfp-guide-hand.is-clicking .pfp-guide-hand-img {
  animation: pfpGuideFingerPress 0.84s cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.pfp-guide-hand.is-cta-clicking .pfp-guide-hand-tap {
  animation: pfpGuideTapPulse 1.12s cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.pfp-guide-hand.is-cta-clicking .pfp-guide-hand-tap::before {
  animation: pfpGuideTapWave 1.22s ease-out 1;
}

.pfp-guide-hand.is-cta-clicking .pfp-guide-hand-tap::after {
  animation: pfpGuideTapWave 1.22s ease-out 0.22s 1 both;
}

.pfp-guide-hand.is-cta-clicking .pfp-guide-hand-img {
  animation: pfpGuideFingerPress 1.12s cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.pfp-thinking-face {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-top: -8px;
  opacity: 1;
  filter: saturate(1.08) contrast(1.09) drop-shadow(0 12px 22px rgba(98, 74, 52, 0.16));
}

@media (max-width: 640px) {
  .pfp-title-row {
    gap: 10px;
  }

  .pfp-guide-intro {
    gap: 6px;
  }

  .pfp-guide-lower {
    gap: 6px;
    align-items: center;
  }

  .pfp-guide-bubble {
    max-width: 156px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 11px;
  }

  .pfp-guide-actions {
    gap: 6px;
    padding-bottom: 8px;
  }

  .pfp-guide-choice {
    min-width: 42px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .pfp-guide-hand {
    width: 72px;
    height: 72px;
  }

  .pfp-guide-bubble::after {
    right: 14px;
    bottom: -7px;
    width: 12px;
    height: 12px;
  }

  .pfp-thinking-face {
    width: 66px;
    height: 66px;
    margin-top: 0;
  }
}

@keyframes pfpGuideTapPulse {
  0% {
    opacity: 0;
    transform: scale(0.18);
    box-shadow:
      0 0 0 0 rgba(154, 64, 37, 0.32),
      0 0 0 0 rgba(154, 64, 37, 0.14);
  }

  16% {
    opacity: 1;
    transform: scale(0.98);
    box-shadow:
      0 0 0 6px rgba(154, 64, 37, 0.22),
      0 8px 18px rgba(154, 64, 37, 0.16);
  }

  40% {
    opacity: 0.96;
    transform: scale(0.92);
    box-shadow:
      0 0 0 10px rgba(154, 64, 37, 0.14),
      0 8px 18px rgba(154, 64, 37, 0.1);
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
    box-shadow:
      0 0 0 18px rgba(154, 64, 37, 0),
      0 0 0 0 rgba(154, 64, 37, 0);
  }
}

@keyframes pfpGuideTapWave {
  0% {
    opacity: 0;
    transform: scale(0.36);
    box-shadow:
      0 0 0 12px rgba(154, 64, 37, 0),
      0 0 24px rgba(154, 64, 37, 0);
  }

  22% {
    opacity: 0.92;
    transform: scale(1.02);
    box-shadow:
      0 0 0 6px rgba(154, 64, 37, 0.18),
      0 0 20px rgba(154, 64, 37, 0.16);
  }

  100% {
    opacity: 0;
    transform: scale(2.35);
    box-shadow:
      0 0 0 18px rgba(154, 64, 37, 0),
      0 0 24px rgba(154, 64, 37, 0);
  }
}

@keyframes pfpGuideFingerPress {
  0%,
  100% {
    transform: scale(0.82) translateY(0);
  }

  24% {
    transform: scale(0.8) translateY(5px);
  }

  52% {
    transform: scale(0.81) translateY(1px);
  }
}

.pfp-picker {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.pfp-mini-card {
  border: 1px solid rgba(75, 68, 75, 0.18);
  border-radius: 0;
  background: rgba(255, 252, 247, 0.82);
  color: #4b444b;
  min-height: 80px;
  padding: 8px;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 5px;
}

.pfp-mini-card img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(75, 68, 75, 0.12);
  border-radius: 0;
}

.pfp-mini-card strong {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pfp-mini-card span {
  font-size: 10px;
  color: #736e66;
  line-height: 1.35;
}

.pfp-mini-card:hover {
  background: rgba(255, 252, 247, 0.96);
}

.pfp-mini-card.is-active {
  border-color: rgba(75, 68, 75, 0.52);
  box-shadow: 0 0 0 1px rgba(75, 68, 75, 0.18);
  background: rgba(255, 252, 247, 0.98);
}

.pfp-cards {
  grid-template-columns: 1fr;
}

#pfp-detail-wrap {
  display: none;
}

#pfp-detail-wrap.is-open {
  display: grid;
}

.pfp-card {
  display: grid;
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
  transform-origin: top center;
}

.pfp-card.is-entering {
  animation: pfpDetailCardIn 780ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.pfp-card.is-entering .pfp-head,
.pfp-card.is-entering .pfp-gallery,
.pfp-card.is-entering .pfp-description,
.pfp-card.is-entering .pfp-package-row,
.pfp-card.is-entering .pfp-pricing,
.pfp-card.is-entering .pfp-cta {
  opacity: 0;
  transform: translateY(12px);
  animation: pfpDetailSectionIn 620ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.pfp-card.is-entering .pfp-head {
  animation-delay: 60ms;
}

.pfp-card.is-entering .pfp-gallery {
  animation-delay: 140ms;
}

.pfp-card.is-entering .pfp-description {
  animation-delay: 220ms;
}

.pfp-card.is-entering .pfp-package-row {
  animation-delay: 300ms;
}

.pfp-card.is-entering .pfp-pricing {
  animation-delay: 380ms;
}

.pfp-card.is-entering .pfp-cta {
  animation-delay: 460ms;
}

.pfp-head h2 {
  margin: 0;
}

.pfp-head-copy {
  min-width: 0;
}

.pfp-head.is-sleeve {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.pfp-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: #736e66;
}

.pfp-quick-cta {
  justify-self: end;
  align-self: start;
  width: min(220px, 100%);
  border: 1px solid rgba(115, 110, 102, 0.22);
  border-radius: 6px;
  background: rgba(255, 252, 247, 0.9);
  padding: 7px;
  display: grid;
  gap: 6px;
}

.pfp-quick-btn {
  font-size: 11px;
  padding: 6px 10px;
  text-align: center;
}

.pfp-gallery {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 8px;
}

.pfp-shot {
  margin: 0;
  border: 1px dashed #736e66;
  border-radius: 10px;
  min-height: 96px;
  padding: 8px;
  background: #fefcf7;
  display: grid;
  align-content: start;
  gap: 5px;
}

.pfp-shot img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #d9c5ac;
  background: #fff;
  object-fit: contain;
}

.pfp-shot figcaption {
  font-size: 12px;
  font-weight: 700;
  color: #4b444b;
}

.pfp-shot p {
  margin: 0;
  font-size: 11px;
  color: #736e66;
  line-height: 1.3;
}

.pfp-description {
  margin: 0;
  color: #4b444b;
  line-height: 1.4;
}

.pfp-sleeve-extra {
  border: 1px solid #d9c5ac;
  border-radius: 10px;
  background: #fdfaf4;
  padding: 6px;
  display: grid;
  gap: 5px;
}

.pfp-sleeve-embedded {
  margin: 8px 0 6px;
}

.pfp-shot-main.is-sleeve-main {
  border-color: var(--primary);
  background: #fdfaf4;
  box-shadow: inset 0 0 0 1px rgba(140, 44, 22, 0.18);
}

.pfp-shot-main.is-sleeve-main > img {
  width: 100%;
  max-width: 260px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 240px;
  object-fit: contain;
  object-position: center center;
  transition:
    opacity 0.18s ease,
    transform 0.35s ease,
    margin-bottom 0.35s ease;
  transform-origin: center top;
}

.pfp-shot-main.is-sleeve-main > img.is-swapping {
  opacity: 0.7;
}

.pfp-shot-main.is-sleeve-main > img.is-preview-large {
  transform: scale(1.5);
  margin-bottom: 0;
}

.pfp-shot-main.is-sleeve-main {
  overflow: visible;
}

.pfp-sleeve-embedded .pfp-sleeve-assets {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 901px) {
  .pfp-sleeve-embedded .pfp-sleeve-assets {
    width: 100%;
    align-items: stretch;
  }

  .pfp-sleeve-embedded .pfp-sleeve-asset {
    width: 100%;
    min-width: 0;
    align-content: start;
  }
}

.pfp-sleeve-extra h3 {
  margin: 0;
  font-size: 16px;
  color: #4b444b;
}

.pfp-sleeve-extra p {
  margin: 0;
  font-size: 12px;
  color: #736e66;
}

.pfp-sleeve-topline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  width: 100%;
}

.pfp-sleeve-extra ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 3px;
}

.pfp-sleeve-assets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.pfp-sleeve-asset {
  margin: 0;
  border: 1px solid #d9c5ac;
  border-radius: 8px;
  padding: 3px;
  background: #fefcf7;
  display: grid;
  gap: 4px;
  overflow: hidden;
}

.pfp-sleeve-switch {
  cursor: pointer;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.pfp-sleeve-switch:hover,
.pfp-sleeve-switch:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(140, 44, 22, 0.14);
  background: #fdf9f2;
  outline: none;
}

.pfp-sleeve-switch.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(140, 44, 22, 0.2);
  z-index: 2;
}

.pfp-sleeve-asset img {
  width: 100%;
  max-height: 66px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d9c5ac;
  border-radius: 6px;
}


.pfp-sleeve-asset figcaption {
  font-size: 9px;
  color: #736e66;
}

.pfp-armhole-mini-form {
  display: grid;
  gap: 6px;
}

.pfp-armhole-mini-form label {
  display: grid;
  gap: 3px;
}

.pfp-armhole-mini-form label span {
  font-size: 10px;
  color: #4b444b;
  line-height: 1.2;
}

.pfp-armhole-mini-form input {
  width: 100%;
  font-size: 11px;
  border: 1px solid #d9c5ac;
  border-radius: 6px;
  background: #fff;
  padding: 4px 6px;
  color: #4b444b;
}

.pfp-sleeve-extra li {
  font-size: 13px;
  color: #4b444b;
}

.pfp-upload {
  display: grid;
  gap: 6px;
}

.pfp-upload-embedded {
  margin-top: 6px;
}

.pfp-top-measurement-ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: #4b444b;
}

.pfp-top-measurement-ack input[type="checkbox"] {
  margin-top: 2px;
}

.pfp-upload span {
  font-size: 11px;
  color: #8c2c16;
  font-weight: 700;
}

.pfp-upload input[type="file"] {
  font-size: 10px;
  border: 1px dashed #736e66;
  border-radius: 8px;
  padding: 4px 6px;
  background: #fefcf7;
  width: 100%;
}

.pfp-upload-file-status {
  margin: 0;
  font-size: 10px !important;
  color: #8c2c16 !important;
  line-height: 1.3;
}

.pfp-sleeve-cta-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8c2c16;
}

.pfp-sleeve-cta-hint.is-ok {
  color: #4b444b;
}

.pfp-cta .btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.pfp-keyword {
  color: var(--primary);
  font-weight: 700;
}

.pfp-keyword.has-tooltip {
  position: relative;
  cursor: help;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
}

.pfp-keyword.has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: min(360px, 78vw);
  padding: 8px 10px;
  border: 1px solid rgba(115, 110, 102, 0.4);
  border-radius: 10px;
  background: #fefbf6;
  color: #4b444b;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 25;
}

.pfp-keyword.has-tooltip:hover::after,
.pfp-keyword.has-tooltip:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pfp-package-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pfp-package-btn {
  padding: 6px 10px;
  border: 1px solid rgba(75, 68, 75, 0.24);
  border-radius: 0;
  background: transparent;
  color: #4b444b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
}

.pfp-package-btn.is-active {
  background: rgba(75, 68, 75, 0.05);
  border-color: rgba(75, 68, 75, 0.52);
  color: #2f2a2f;
}

.pfp-pricing {
  border: 1px solid #d9c5ac;
  border-radius: 10px;
  background: #fdfaf4;
  padding: 10px;
}

.pfp-price {
  font-size: 28px;
  color: #8c2c16;
  line-height: 1;
  display: inline-block;
  margin-bottom: 6px;
}

.pfp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pfp-cta .btn,
.pfp-quick-btn {
  min-height: 34px;
  height: 34px;
  padding: 0 12px;
  border-radius: 0;
  border: 1px solid rgba(75, 68, 75, 0.24);
  background: transparent;
  color: #4b444b;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}

.pfp-cta .btn:hover,
.pfp-quick-btn:hover,
.pfp-cta .btn:focus-visible,
.pfp-quick-btn:focus-visible {
  opacity: 1;
  border-color: rgba(75, 68, 75, 0.46);
  background: rgba(255, 252, 247, 0.65);
}

.pfp-cta .btn-outline {
  background: transparent;
  color: rgba(75, 68, 75, 0.88);
  border-color: rgba(75, 68, 75, 0.18);
}

.pfp-pricing p {
  margin: 0;
  font-size: 13px;
  color: #736e66;
}

.pfp-package-note {
  color: #8c2c16 !important;
  font-weight: 700;
}

.pfp-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@keyframes pfpDetailCardIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes pfpDetailSectionIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-content {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: calc(var(--home-v2-shell-offset, 132px) + 28px) 0 96px;
  display: grid;
  gap: 28px;
}

.contact-hero {
  display: grid;
  gap: 10px;
  width: min(620px, 100%);
}

.contact-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a5e5a;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #2d2527;
}

.contact-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6b6461;
  max-width: 56ch;
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
}

.contact-rail {
  display: grid;
  gap: 16px;
}

.contact-panel {
  border: 1px solid rgba(115, 110, 102, 0.12);
  border-radius: 22px;
  background: rgba(255, 251, 246, 0.96);
  box-shadow: 0 18px 48px rgba(75, 68, 75, 0.06);
  padding: 22px;
}

.contact-panel-soft {
  background: rgba(255, 248, 242, 0.98);
}

.contact-panel h2 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b6b67;
}

.contact-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6461;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: #51494a;
}

.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(140, 44, 22, 0.45);
  transform: translateY(-50%);
}

.contact-form-panel {
  display: grid;
  gap: 20px;
}

.contact-form-head {
  display: grid;
  gap: 8px;
}

.contact-form-head p {
  max-width: 54ch;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.contact-form-grid label {
  display: grid;
  gap: 5px;
}

.contact-form-grid label span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d7d77;
}

.contact-col-full,
.contact-email-hint {
  grid-column: 1 / -1;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(115, 110, 102, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: #2f2a2b;
}

.contact-form-grid textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
  outline: none;
  border-color: rgba(140, 44, 22, 0.35);
  box-shadow: 0 0 0 4px rgba(140, 44, 22, 0.08);
  background: #ffffff;
}

.contact-email-hint {
  min-height: 16px;
  margin: -2px 0 0;
  font-size: 12px;
  color: #736e66;
}

.contact-email-hint.is-ok {
  color: #2e7d32;
}

.contact-email-hint.is-error {
  color: #8c2c16;
}

.contact-form-actions {
  display: grid;
  gap: 10px;
  align-items: start;
}

.contact-send-btn {
  min-height: 48px;
  width: fit-content;
  min-width: 220px;
  border-radius: 999px;
  background: #7f3324;
  color: #fffdf9;
  border: 0;
  box-shadow: 0 18px 38px rgba(127, 51, 36, 0.18);
}

.contact-send-btn:hover,
.contact-send-btn:focus-visible {
  background: #723021;
}

.contact-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #736e66;
}

@media (max-width: 960px) {
  .contact-content {
    width: min(100%, calc(100vw - 24px));
    padding-top: calc(var(--home-v2-shell-offset, 132px) + 20px);
    padding-bottom: 72px;
    gap: 20px;
  }

  .contact-stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .contact-panel {
    border-radius: 16px;
    padding: 18px;
  }

  .contact-lead,
  .contact-panel p,
  .contact-list li,
  .contact-note {
    font-size: 12px;
    line-height: 1.65;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-send-btn {
    width: 100%;
    min-width: 0;
  }
}

.btn,
button {
  padding: 9px 12px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn,
.product-cta,
.pfp-package-btn,
.co-cart-remove {
  min-height: var(--checkout-placeholder-h);
  height: var(--checkout-placeholder-h);
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: #d9c5ac;
  color: #4b444b;
  border-color: #8c2c16;
}

/* Unified button height across all pages, synced to checkout placeholder height */
.btn,
.product-cta,
.co-cart-remove,
.co-pay-chip,
.cart-link,
.search-box button,
.mobile-pattern-switch a,
.ready-item-layout .bottom-upper-action .btn {
  height: var(--checkout-placeholder-h) !important;
  min-height: var(--checkout-placeholder-h) !important;
}

button:hover,
.btn:hover {
  opacity: 0.93;
}

#pfp-detail-card.pfp-card {
  gap: 16px;
}

#pfp-detail-card .pfp-package-row {
  gap: 8px;
}

#pfp-detail-card .pfp-package-btn,
#pfp-detail-card .pfp-cta .btn,
#pfp-detail-card .pfp-quick-btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(75, 68, 75, 0.24) !important;
  background: transparent !important;
  color: #4b444b !important;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

#pfp-detail-card .pfp-package-btn.is-active {
  border-color: rgba(75, 68, 75, 0.62) !important;
  background: rgba(75, 68, 75, 0.05) !important;
  color: #2f2a2f !important;
}

#pfp-detail-card .pfp-cta .btn:hover,
#pfp-detail-card .pfp-quick-btn:hover,
#pfp-detail-card .pfp-package-btn:hover,
#pfp-detail-card .pfp-cta .btn:focus-visible,
#pfp-detail-card .pfp-quick-btn:focus-visible,
#pfp-detail-card .pfp-package-btn:focus-visible {
  opacity: 1 !important;
  border-color: rgba(75, 68, 75, 0.46) !important;
  background: rgba(255, 252, 247, 0.65) !important;
}

#pfp-detail-card .pfp-cta .btn-outline {
  background: transparent !important;
  color: rgba(75, 68, 75, 0.88) !important;
  border-color: rgba(75, 68, 75, 0.18) !important;
}

.pfp-mini-card {
  border-radius: 0;
  border-color: rgba(75, 68, 75, 0.18);
  background: rgba(255, 252, 247, 0.8);
}

.pfp-mini-card strong {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pfp-mini-card span {
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .ready-item-layout .bottom-upper {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible;
  }

  .ready-item-layout .bottom-upper-copy,
  .ready-item-layout .bottom-upper-action {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto;
  }

  .ready-item-layout .bottom-upper-copy {
    order: 2;
  }

  .ready-item-layout .bottom-upper-action {
    order: 1;
    position: relative;
    top: auto;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }

  .ready-item-layout .bottom-upper-action .btn {
    width: 100%;
    justify-content: center;
  }

  .rpi-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .rpi-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .rpi-meta-grid p {
    min-height: 0;
  }

  .rpi-action-note,
  .rpi-description,
  .rpi-highlight-list li,
  .bottom-upper p {
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 960px) {
  .patterns-toolbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .patterns-toolbar.has-back-link {
    justify-content: flex-start !important;
  }

  .patterns-toolbar > .patterns-menu-toggle {
    order: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 6px 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 3px !important;
  }

  .patterns-toolbar.has-back-link > .patterns-menu-toggle {
    margin-right: 0 !important;
  }

  .patterns-toolbar > .patterns-menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    background: var(--primary) !important;
    border-radius: 999px !important;
  }

  .patterns-toolbar > .patterns-toolbar-actions {
    order: 1 !important;
    margin-left: auto !important;
    gap: 10px !important;
  }

  .patterns-toolbar > .patterns-toolbar-actions > .cart-link.patterns-icon-link {
    order: 0 !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 6px 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--primary) !important;
    box-shadow: none !important;
  }

  .patterns-toolbar > .patterns-toolbar-actions > .cart-link.patterns-icon-link .nav-ico {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  .patterns-toolbar > .patterns-toolbar-actions > .patterns-search-toggle {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .patterns-toolbar > .patterns-toolbar-actions > .patterns-search-toggle {
    order: 1 !important;
  }

  .toolbar-page-link {
    height: 34px !important;
    padding: 0 10px 0 8px !important;
    gap: 6px !important;
    font-size: 12px !important;
    box-shadow: none !important;
  }

  .toolbar-page-link .nav-ico {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
  }

  .toolbar-auth-status {
    height: 30px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    box-shadow: none !important;
  }

  .toolbar-auth-status.is-signed-in {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9999px !important;
    padding: 0 !important;
    font-size: 13px !important;
  }

  .toolbar-auth-logout {
    height: 30px !important;
    padding: 0 2px !important;
    font-size: 10px !important;
  }
}

.site-footer {
  margin-top: 18px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #d9c5ac;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.page.measurement-page {
  min-height: 0;
  max-height: none;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 28px;
  padding: 34px 28px 48px;
  background:
    radial-gradient(circle at top left, rgba(250, 242, 233, 0.9), transparent 42%),
    #f5f1ea;
}

.measurement-layout .site-footer {
  margin-top: 0;
  padding: 22px 28px 34px;
  color: rgba(32, 29, 28, 0.64);
  background: #f5f1ea;
}

.measurement-layout #copy-result,
.measurement-layout label[for="result-json"],
.measurement-layout #result-json {
  display: none !important;
}

.left,
.right {
  padding: 0;
  min-height: 0;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  overflow: hidden;
}

.measurement-page h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #201d1c;
}

.measurement-page-kicker {
  margin: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 29, 28, 0.58);
}

.measurement-intro-card,
.measurement-workspace,
.measurement-avatar-stage {
  border: 1px solid rgba(32, 29, 28, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px rgba(18, 14, 12, 0.06);
  backdrop-filter: blur(16px);
}

.measurement-intro-card {
  display: grid;
  gap: 16px;
  padding: 28px 30px;
}

.measurement-reference-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(32, 29, 28, 0.08);
  background: linear-gradient(180deg, rgba(252, 248, 242, 0.96), rgba(248, 242, 233, 0.9));
  box-shadow: 0 14px 30px rgba(18, 14, 12, 0.05);
}

.measurement-reference-copy {
  display: grid;
  gap: 8px;
}

.measurement-reference-copy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #201d1c;
}

.measurement-reference-copy p {
  margin: 0;
  color: rgba(32, 29, 28, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.measurement-controls {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.measurement-workspace {
  display: grid;
  gap: 16px;
  padding: 22px;
  min-height: 0;
}

.measurement-avatar-stage {
  position: sticky;
  top: 124px;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  min-height: 0;
}

.measurement-avatar-copy {
  display: grid;
  gap: 8px;
}

.measurement-avatar-copy strong {
  color: #201d1c;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.measurement-avatar-frame {
  min-height: 640px;
  border: 1px solid rgba(32, 29, 28, 0.08);
  background: linear-gradient(180deg, rgba(247, 243, 236, 0.96), rgba(239, 234, 226, 0.92));
  overflow: hidden;
}

.hint {
  margin: 0;
  color: rgba(32, 29, 28, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.size-chart-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(32, 29, 28, 0.08);
  background: #fbf7f0;
  box-shadow: 0 12px 24px rgba(18, 14, 12, 0.04);
}

.size-chart-download strong {
  display: block;
  margin-top: 1px;
  color: #26211f;
  font-size: 14px;
  line-height: 1.15;
}

.size-chart-download-kicker {
  margin: 0 !important;
  color: rgba(32, 29, 28, 0.56) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.size-chart-download-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.size-chart-download-primary {
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(126, 69, 59, 0.14);
  background: rgba(126, 69, 59, 0.9);
  box-shadow: 0 10px 18px rgba(18, 14, 12, 0.06);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.size-chart-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(126, 69, 59, 0.14);
  color: rgba(80, 47, 43, 0.94);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 16px rgba(18, 14, 12, 0.04);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.size-chart-open-link:hover {
  background: rgba(255, 255, 255, 0.9);
}

.measurement-flow-guide {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(32, 29, 28, 0.08);
  border-radius: 0;
  background: rgba(251, 247, 240, 0.94);
  box-shadow: 0 10px 24px rgba(18, 14, 12, 0.04);
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    max-height 420ms ease,
    padding 420ms ease,
    margin 420ms ease,
    border-width 420ms ease,
    box-shadow 420ms ease;
}

.measurement-layout .left .measurement-flow-guide {
  overflow: hidden;
  max-height: 188px;
  transform-origin: top center;
}

.measurement-layout .left.measurement-guide-collapsed .measurement-flow-guide {
  max-height: 0;
  opacity: 0;
  transform: translateY(-14px);
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 0;
  box-shadow: none;
  pointer-events: none;
}

.measurement-layout .left.measurement-guide-collapsed .form-grid {
  animation: measurementFormLift 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.measurement-flow-kicker {
  margin: 0;
  color: rgba(32, 29, 28, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.measurement-flow-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #201d1c;
}

.measurement-flow-summary {
  margin: 0;
  color: rgba(32, 29, 28, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.measurement-flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.measurement-flow-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(32, 29, 28, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(32, 29, 28, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.measurement-flow-step.is-current {
  background: rgba(32, 29, 28, 0.08);
  border-color: rgba(32, 29, 28, 0.18);
}

.measurement-flow-step.is-done {
  background: rgba(74, 124, 89, 0.12);
  border-color: rgba(74, 124, 89, 0.24);
  color: #2f5c3a;
}

.unit-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.unit-row label {
  font-weight: 600;
  color: #201d1c;
}

.unit-row select {
  width: 110px;
}

.mode-row {
  display: flex;
  gap: 6px;
}

.mode-row-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mode-clear-btn {
  display: none;
  padding: 9px 14px;
  border: 1px solid rgba(32, 29, 28, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #201d1c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.mode-clear-btn:hover {
  background: #f6f1e8;
  border-color: rgba(32, 29, 28, 0.18);
}

.mode-btn {
  padding: 9px 14px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #201d1c;
  border: 1px solid rgba(32, 29, 28, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.mode-btn:hover {
  background: #f6f1e8;
  border-color: rgba(32, 29, 28, 0.18);
  color: #201d1c;
}

.mode-btn:active {
  transform: translateY(1px);
}

.mode-btn.active {
  background: #201d1c;
  border-color: #201d1c;
  color: #fffdfa;
  box-shadow: 0 0 0 2px rgba(32, 29, 28, 0.08);
}

.mode-btn.hidden {
  display: none !important;
}

.mode-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.form-grid.single-group {
  grid-template-columns: minmax(0, 1fr);
}

.form-grid.group-top .form-box,
.form-grid.group-bottom .form-box {
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.form-grid.group-top .form-box.locked,
.form-grid.group-bottom .form-box.locked {
  transform: scale(0.9);
  transform-origin: top center;
  opacity: 0.58;
}

.form-grid.group-top #top-box,
.form-grid.group-bottom #bottom-box {
  box-shadow: 0 0 0 2px rgba(140, 44, 22, 0.16);
}

.form-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(32, 29, 28, 0.08);
  border-radius: 0;
  background: #fbf7f0;
  align-content: start;
  min-height: 0;
}

.form-box h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #201d1c;
}

.form-box.locked {
  opacity: 0.45;
  background: #efebe4;
  border-style: dashed;
}

.form-box.hidden {
  display: none !important;
}

.form-box.locked h2::after {
  content: " (Locked)";
  font-size: 12px;
  color: #a9a6a0;
  font-weight: 500;
}

.fields {
  display: grid;
  gap: 10px 10px;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: start;
  min-height: 0;
}

.fields.no-scroll {
  overflow: visible;
}

.field-row {
  display: grid;
  gap: 4px;
}

.field-row label {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(32, 29, 28, 0.78);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(32, 29, 28, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 12px;
}

input:disabled {
  background: #ece6db;
  color: #736e66;
  cursor: not-allowed;
}

.actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.completion-panel {
  display: grid;
  border: 1px solid rgba(32, 29, 28, 0.08);
  border-radius: 0;
  padding: 14px 16px;
  background: #fbf7f0;
  gap: 8px;
}

.completion-head {
  font-size: 12px;
  color: #201d1c;
}

.completion-track {
  height: 8px;
  border-radius: 999px;
  background: #e7dfd3;
  overflow: hidden;
}

.completion-fill {
  height: 100%;
  width: 0;
  background: #201d1c;
  border-radius: 999px;
  transition: width 260ms ease;
}

.completion-hint {
  margin: 0;
  font-size: 12px;
  color: rgba(32, 29, 28, 0.58);
}

.fields input.is-missing {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.16);
  background: #fff6f6;
}

.actions button {
  padding: 11px 14px;
  font-size: 12px;
  border-radius: 999px;
}

#save-values:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#avatar {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#result-json {
  min-height: 72px;
  max-height: 72px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  body.measurement-layout {
    padding-bottom: 42vh;
  }

  body.measurement-layout .mobile-pattern-switch {
    display: none !important;
  }

  body.home-layout::before {
    background-position: 50% 60%;
  }

  .video-mix-layer {
    width: 62vw;
    right: 0;
    overflow: visible;
    padding-right: 6px;
  }

  .mix-video {
    --video-shift-x: -8px;
    --cinema-bar: 10px;
    clip-path: inset(0 12% 0 12% round 12px);
  }

  .mix-video.v1,
  .mix-video.v2,
  .mix-video.v3,
  .mix-video.v4 {
    width: min(56vw, 260px);
  }

  .site-header {
    position: static;
  }

  .patterns-header {
    position: relative;
    z-index: 40;
  }

  .patterns-header .site-nav {
    top: 100%;
    z-index: 60;
  }

  .measurement-layout .patterns-header {
    position: relative;
    z-index: 40;
  }

  .measurement-layout .patterns-header-main {
    min-height: 60px;
    padding: 8px 12px 6px !important;
  }

  .measurement-layout .patterns-header-main .brand {
    width: 100%;
    justify-content: center;
    padding-top: 0;
  }

  .measurement-layout .patterns-header-main .brand-logo {
    --logo-scale: 1;
    margin-top: 0;
  }

  .measurement-layout .patterns-toolbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .measurement-layout .patterns-toolbar.has-back-link {
    justify-content: flex-start !important;
  }

  .measurement-layout .patterns-toolbar > .patterns-menu-toggle {
    order: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .measurement-layout .patterns-toolbar.has-back-link > .patterns-menu-toggle {
    margin-right: 0 !important;
  }

  .measurement-layout .patterns-toolbar > .patterns-toolbar-actions {
    order: 1 !important;
    margin-left: auto !important;
  }

  .measurement-layout .patterns-header .site-nav {
    top: 100%;
    z-index: 60;
  }

  .home-layout .patterns-header {
    position: relative;
    z-index: 40;
  }

  .home-layout .patterns-header .site-nav {
    z-index: 60;
  }

  .top-strip {
    justify-content: space-between;
    height: 18px;
    padding: 0 8px;
  }

  .top-strip a {
    font-size: 11px;
  }

  .social-link {
    display: inline-flex;
  }

  .header-main {
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
    padding: 7px;
    position: relative;
  }

  .brand-logo {
    --logo-scale: 1;
    height: clamp(58px, 12vw, 78px);
    transform: none;
    transform-origin: center center;
    margin-top: 0;
    margin-right: 0;
    animation: none;
    pointer-events: none;
  }

  .brand {
    order: 1;
    width: 100%;
    justify-content: center;
    padding-top: 2px;
    animation: mobileBrandIntro 680ms ease-out both;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
    position: static;
    z-index: 5;
    order: 2;
    align-self: center;
    margin: 0 6px 0 0;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 6px 5px;
    gap: 3px;
  }

  .header-tools {
    display: contents;
  }

  .mobile-pattern-switch {
    order: 6;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-pattern-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #736e66;
    border-radius: 10px;
    background: #f2e1c2;
    color: #4b444b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
  }

  .mobile-pattern-switch a:nth-child(1):not(:hover):not(:active):not(:focus-visible) {
    animation: ctaNeonBlink 5s linear infinite;
    animation-delay: 0s;
  }

  .mobile-pattern-switch a:nth-child(2):not(:hover):not(:active):not(:focus-visible) {
    animation: ctaNeonBlink 5s linear infinite;
    animation-delay: 2.5s;
  }

  .mobile-pattern-switch a:hover,
  .mobile-pattern-switch a:active {
    background: #d9c5ac !important;
    color: #4b444b !important;
    border-color: #736e66 !important;
    animation: none !important;
  }

  .mobile-pattern-switch a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    animation: none !important;
  }

  .mobile-pattern-switch .switch-note {
    display: none;
  }

  .mobile-pattern-switch.pfp-guidance {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mobile-pattern-switch.pfp-guidance a {
    animation: none !important;
    background: var(--primary);
    color: #fffaf2;
    border-color: var(--primary);
    font-family: inherit;
    font-style: normal;
    letter-spacing: 0;
    font-size: 14px;
    line-height: 1.15;
  }

  .mobile-pattern-switch.pfp-guidance a .lead-in {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-style: italic;
    letter-spacing: 0.01em;
    font-size: 15px;
    line-height: 1.2;
    margin-right: 2ch;
  }

  .mobile-pattern-switch.pfp-guidance a .core-label {
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-pattern-switch.pfp-guidance .switch-note {
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #736e66;
    text-align: left;
  }

  .mobile-pattern-switch.ready-guidance {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mobile-pattern-switch.ready-guidance a {
    animation: none !important;
    background: var(--primary);
    color: #fffaf2;
    border-color: var(--primary);
  }

  .mobile-pattern-switch.ready-guidance a .lead-in {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-style: italic;
    letter-spacing: 0.01em;
    font-size: 15px;
    line-height: 1.2;
    margin-right: 2ch;
  }

  .mobile-pattern-switch.ready-guidance a .core-label {
    font-family: inherit;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-pattern-switch.ready-guidance .switch-note {
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: #736e66;
    text-align: left;
  }

  .mode-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .completion-panel {
    display: grid;
  }

  .search-box {
    display: flex;
    order: 3;
    width: auto;
    flex: 1;
    min-width: 0;
    min-height: 24px;
  }

  .search-box input {
    min-width: 0;
    width: 100%;
    font-size: 12px;
    height: 24px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .search-box button {
    min-width: 44px;
    height: 24px;
    font-size: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .cart-link {
    order: 4;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-left: 0;
    justify-content: center;
    min-height: 30px;
    border: 1px solid #736e66;
    border-radius: 10px;
    background: #f2e1c2;
    padding: 6px 5px;
    gap: 0;
  }

  .cart-link .nav-ico {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .cart-link > span:not(.nav-ico):not(.cart-count-badge) {
    display: none;
  }

  .cart-link .cart-count-badge {
    top: 0;
    right: 3px;
    min-width: 0;
    height: auto;
    padding: 0;
    font-size: 9px;
    line-height: 1;
    box-shadow: none;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-left: 0;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 11px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .pfp-gallery {
    grid-template-columns: 1fr;
  }

  .pfp-quick-cta {
    justify-self: stretch;
    width: 100%;
  }

  .pfp-head.is-sleeve {
    grid-template-columns: 1fr;
  }

  .pfp-picker {
    grid-template-columns: 1fr 1fr;
  }

  .pfp-sleeve-assets {
    grid-template-columns: 1fr;
  }

  .pfp-sleeve-embedded .pfp-sleeve-assets {
    grid-template-columns: 1fr 1fr;
  }

  .pfp-sleeve-topline {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-overlay-content {
    justify-content: flex-start;
    align-items: flex-start;
    min-height: auto;
    padding-top: 6px;
  }

  .home-layout .video-mix-layer {
    display: none;
  }

  .home-v1-shell {
    width: 100%;
    max-width: none;
    padding: 0 0 26px;
    gap: 16px;
  }

  .home-video-hero {
    min-height: calc(100svh - 92px);
    max-height: calc(100svh - 92px);
    background: #ffffff;
  }

  .home-hero-v1,
  .home-featured-ready,
  .home-paths-v1,
  .home-story-band,
  .home-final-cta {
    border-radius: 16px;
  }

  .home-hero-v1 {
    width: min(100%, calc(100vw - 16px));
    margin: 0 auto;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-hero-copy {
    gap: 8px;
    padding: 2px;
  }

  .home-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(28px, 9vw, 38px);
    line-height: 0.94;
  }

  .home-hero-lead {
    max-width: 32ch;
    font-size: 12px;
    line-height: 1.42;
  }

  .home-hero-actions,
  .home-final-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-hero-actions .btn,
  .home-final-actions .btn {
    width: 100%;
    min-height: 38px !important;
    padding: 10px 12px;
    font-size: 12px;
  }

  .home-hero-media {
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .hero-video-card {
    padding: 10px;
    border-radius: 16px;
    gap: 8px;
  }

  .hero-video-frame {
    min-height: 360px;
    border-radius: 12px;
  }

  .hero-video-caption {
    display: grid;
    gap: 3px;
  }

  .hero-video-caption strong {
    text-align: left;
  }

  .hero-mini-rail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-mini-product {
    grid-template-columns: 68px 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
  }

  .hero-mini-product img {
    width: 68px;
    height: 92px;
    border-radius: 10px;
  }

  .hero-mini-product h2 {
    font-size: 15px;
  }

  .home-hook-ribbon {
    width: min(100%, calc(100vw - 16px));
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hook-pill {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.35;
  }

  .home-featured-ready,
  .home-paths-v1 {
    width: min(100%, calc(100vw - 16px));
    margin: 0 auto;
    padding: 14px 12px 16px;
    gap: 12px;
  }

  .section-heading {
    gap: 6px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 0.98;
  }

  .section-heading p {
    font-size: 12px;
    line-height: 1.42;
  }

  .ready-spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ready-spotlight-card {
    grid-template-rows: 180px auto;
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .ready-spotlight-card img {
    border-radius: 12px;
  }

  .ready-spotlight-copy h3 {
    font-size: 15px;
  }

  .ready-spotlight-copy p {
    font-size: 8px;
  }

  .home-story-band {
    width: min(100%, calc(100vw - 16px));
    margin: 0 auto;
    padding: 14px 12px 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-panel h2,
  .home-final-cta h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 0.98;
  }

  .story-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .story-steps article {
    min-height: auto;
    padding: 12px;
    border-radius: 14px;
    gap: 7px;
  }

  .story-steps h3 {
    font-size: 18px;
  }

  .story-steps p {
    font-size: 12px;
    line-height: 1.42;
  }

  .home-final-cta {
    width: min(100%, calc(100vw - 16px));
    margin: 0 auto;
    padding: 14px 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-conversion-shell {
    width: min(100%, calc(100vw - 18px));
    margin-left: 0;
    min-height: calc(100svh - 168px);
    padding: 9px 10px 10px;
    border-radius: 14px;
    gap: 7px;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: 0 14px 28px rgba(75, 68, 75, 0.08);
  }

  .home-conversion-copy {
    gap: 4px;
    max-width: none;
    text-align: left;
    justify-items: start;
  }

  .home-conversion-copy h1 {
    max-width: 11ch;
    font-size: clamp(23px, 6.5vw, 29px);
    line-height: 0.94;
  }

  .home-conversion-lead {
    max-width: 34ch;
    font-size: 11px;
    line-height: 1.32;
  }

  .home-proof-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
  }

  .home-proof-strip span {
    justify-content: center;
    min-height: 20px;
    padding: 3px 5px;
    font-size: 8px;
    letter-spacing: 0.025em;
    text-align: center;
  }

  .home-free-chart {
    gap: 5px 9px;
    font-size: 10px;
    line-height: 1.2;
  }

  .home-free-chart span {
    width: 100%;
    font-size: 8px;
  }

  .home-path-grid {
    grid-template-columns: 1fr;
    align-content: stretch;
    gap: 10px;
  }

  .home-path-card {
    grid-template-rows: auto auto auto;
    gap: 7px;
    min-height: 118px;
    padding: 12px 12px 13px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(75, 68, 75, 0.06);
  }

  .home-path-card::before {
    display: none;
  }

  .home-path-kicker {
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .home-path-card h2 {
    font-size: 18px;
    line-height: 0.98;
  }

  .home-path-body {
    font-size: 11px;
    line-height: 1.34;
  }

  .home-path-list {
    display: none;
  }

  .home-path-actions .btn {
    height: auto !important;
    min-height: 34px !important;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
  }

  .page.measurement-page {
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 16px 30px;
  }

  .left {
    border-right: 0;
    height: auto;
    overflow: visible;
    padding-top: 0;
  }

  .measurement-intro-card,
  .measurement-workspace {
    padding-left: 18px;
    padding-right: 18px;
  }

  .measurement-reference-card {
    padding: 14px 14px 12px;
  }

  .measurement-reference-copy h2 {
    font-size: 18px;
  }

  .size-chart-download {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px;
  }

  .size-chart-download-actions {
    width: 100%;
    justify-content: space-between;
  }

  .size-chart-download-primary {
    flex: 1;
    justify-content: center;
  }

  .form-grid {
    gap: 6px;
  }

  .form-box h2 {
    font-size: 20px;
  }

  .field-row {
    display: grid;
    gap: 4px;
  }

  body.measurement-layout .right {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    height: min(39vh, 340px);
    z-index: 34;
    border-top: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    pointer-events: auto;
  }

  .measurement-avatar-stage {
    position: relative;
    top: auto;
    height: 100%;
    gap: 10px;
    padding: 14px;
  }

  .measurement-avatar-copy strong {
    font-size: 14px;
  }

  .measurement-avatar-frame {
    min-height: 0;
    flex: 1;
  }

  body.measurement-layout #avatar {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .home-main {
    grid-template-columns: 1fr;
  }

  .home-right {
    min-height: 360px;
    border-left: 0;
    border-top: 1px solid rgba(209, 137, 168, 0.35);
  }

  .home-main.home-main-single {
    margin-left: 0;
    transform: none;
  }

}

@keyframes sceneIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes measurementFormLift {
  0% {
    opacity: 0.72;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes videoPresence {
  0% {
    opacity: 0;
    top: 115%;
    transform: translateX(var(--video-shift-x)) scale(0.5);
  }
  6% {
    opacity: 0.45;
    top: 84%;
    transform: translateX(var(--video-shift-x)) scale(0.72);
  }
  25% {
    opacity: 1;
    top: 48%;
    transform: translateX(var(--video-shift-x)) scale(1);
  }
  50% {
    opacity: 0;
    top: var(--video-end-top);
    transform: translateX(var(--video-shift-x)) scale(0.5);
  }
  100% {
    opacity: 0;
    top: var(--video-end-top);
    transform: translateX(var(--video-shift-x)) scale(0.5);
  }
}

@keyframes mobileBrandIntro {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoBreath {
  0%,
  100% {
    transform: scale(var(--logo-scale));
  }
  50% {
    transform: scale(calc(var(--logo-scale) * 1.035));
  }
}

@keyframes copyRiseKicker {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(calc(var(--copy-shift-y, 0px) + 10px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0.2px 0 rgba(0, 0, 0, 0.28);
    transform: translateY(var(--copy-shift-y, 0px));
  }
}

@keyframes copyRiseTitle {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(calc(var(--copy-shift-y, 0px) + 14px)) scale(0.99);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0.3px 0 rgba(0, 0, 0, 0.32);
    transform: translateY(var(--copy-shift-y, 0px)) scale(1);
  }
}

@keyframes copyRiseBody {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(calc(var(--copy-shift-y, 0px) + 12px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0.2px 0 rgba(0, 0, 0, 0.22);
    transform: translateY(var(--copy-shift-y, 0px));
  }
}

@keyframes copyButtonsIn {
  0% {
    opacity: 0;
    transform: translateY(calc(var(--copy-shift-y, 0px) + 10px)) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(var(--copy-shift-y, 0px)) scale(1);
  }
}

@keyframes ctaPulse {
  0%,
  90%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(140, 44, 22, 0);
    background: #f2e1c2;
    color: #4b444b;
    border-color: #736e66;
  }
  94% {
    transform: scale(1.025);
    box-shadow: 0 0 0 6px rgba(140, 44, 22, 0.16);
    background: #8c2c16;
    color: #fffaf2;
    border-color: #8c2c16;
  }
  95% {
    transform: scale(1.01);
    box-shadow: 0 0 0 2px rgba(140, 44, 22, 0.08);
    background: #8c2c16;
    color: #fffaf2;
    border-color: #8c2c16;
  }
}

@keyframes ctaNeonBlink {
  0%,
  78%,
  100% {
    background: #f2e1c2;
    color: #4b444b;
    border-color: #736e66;
    box-shadow: 0 0 0 rgba(140, 44, 22, 0);
  }
  8%,
  14% {
    background: #8c2c16;
    color: #fffaf2;
    border-color: #8c2c16;
    box-shadow:
      0 0 8px rgba(140, 44, 22, 0.68),
      0 0 18px rgba(140, 44, 22, 0.5),
      0 0 28px rgba(140, 44, 22, 0.3);
  }
  16% {
    background: #f2e1c2;
    color: #4b444b;
    border-color: #736e66;
    box-shadow: 0 0 0 rgba(140, 44, 22, 0);
  }
  18%,
  24% {
    background: #8c2c16;
    color: #fffaf2;
    border-color: #8c2c16;
    box-shadow:
      0 0 6px rgba(140, 44, 22, 0.62),
      0 0 14px rgba(140, 44, 22, 0.44),
      0 0 22px rgba(140, 44, 22, 0.26);
  }
}

.orders-layout .content {
  max-width: 1180px;
}

.orders-shell {
  display: grid;
  gap: 14px;
}

.orders-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.orders-toolbar h1 {
  margin: 0 0 4px;
}

.orders-hint {
  margin: 0;
  color: #736e66;
}

.orders-status {
  border: 1px solid #d4c7b1;
  background: #fffbf4;
  border-radius: 12px;
  padding: 10px 12px;
  color: #4b444b;
}

.orders-list {
  display: grid;
  gap: 12px;
}

.orders-card {
  border: 1px solid #d7cab4;
  border-radius: 14px;
  background: #fffdf8;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(75, 68, 75, 0.06);
}

.orders-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.orders-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.orders-card-head p {
  margin: 4px 0 0;
  color: #736e66;
}

.orders-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.orders-badge {
  border: 1px solid #d5c8b3;
  background: #f8f1e6;
  color: #5e4f43;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.orders-meta {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.orders-meta p {
  margin: 0;
}

.orders-toggle {
  margin-top: 10px;
}

.orders-items {
  margin-top: 12px;
}

.orders-items-wrap {
  overflow-x: auto;
}

.orders-items-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.orders-items-table th,
.orders-items-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #eadfce;
  vertical-align: top;
}

.orders-items-table th {
  color: #5a5157;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.orders-items-table td small {
  display: block;
  margin-top: 3px;
  color: #736e66;
}

.orders-item-measure-toggle {
  padding: 6px 10px;
  font-size: 0.8rem;
}

.orders-measure-panel {
  margin-top: 8px;
}

.orders-measure-wrap {
  border: 1px solid #e3d7c4;
  background: #fffaf2;
  border-radius: 8px;
  max-height: 260px;
  overflow: auto;
}

.orders-measure-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.orders-measure-table th,
.orders-measure-table td {
  text-align: left;
  padding: 7px 9px;
  border-bottom: 1px solid #e9ddcc;
  vertical-align: top;
  font-size: 0.75rem;
}

.orders-measure-table th {
  color: #5a5157;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.orders-empty,
.orders-items-empty {
  margin: 0;
  color: #736e66;
}

@media (max-width: 860px) {
  .orders-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-toolbar .btn {
    width: 100%;
  }

  .orders-meta {
    grid-template-columns: 1fr;
  }
}

.orders-measure-meta {
  margin: 0 0 6px;
  color: #736e66;
  font-size: 0.78rem;
}

.orders-measure-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.orders-print-root {
  display: none;
}

@media print {
  body > * {
    display: none !important;
  }

  #orders-print-root {
    display: block !important;
    position: static;
    padding: 0;
    margin: 0;
    color: #111;
    font-family: Arial, sans-serif;
  }

  #orders-print-root h1 {
    margin: 0 0 8px;
    font-size: 20px;
  }

  #orders-print-root p {
    margin: 0 0 6px;
    font-size: 13px;
  }

  #orders-print-root .orders-print-table .orders-measure-wrap {
    border: 1px solid #ccc;
    max-height: none;
    overflow: visible;
    margin-top: 10px;
  }

  #orders-print-root .orders-print-table .orders-measure-table th,
  #orders-print-root .orders-print-table .orders-measure-table td {
    font-size: 12px;
    border-color: #ccc;
  }
}

/* Global square-corner pass requested across the site */
:where(
  a,
  button,
  input,
  select,
  textarea,
  video,
  img,
  iframe,
  fieldset,
  form,
  label,
  section,
  article,
  aside,
  header,
  footer,
  nav,
  main,
  div,
  ul,
  ol,
  li,
  table,
  th,
  td,
  [class],
  [id]
) {
  border-radius: 0 !important;
}

:where(
  a,
  button,
  input,
  select,
  textarea,
  video,
  img,
  iframe,
  fieldset,
  form,
  label,
  section,
  article,
  aside,
  header,
  footer,
  nav,
  main,
  div,
  ul,
  ol,
  li,
  table,
  th,
  td,
  [class],
  [id]
)::before,
:where(
  a,
  button,
  input,
  select,
  textarea,
  video,
  img,
  iframe,
  fieldset,
  form,
  label,
  section,
  article,
  aside,
  header,
  footer,
  nav,
  main,
  div,
  ul,
  ol,
  li,
  table,
  th,
  td,
  [class],
  [id]
)::after {
  border-radius: 0 !important;
}

.mix-video {
  clip-path: inset(0 17% 0 17%) !important;
}

@media (max-width: 960px) {
  .mix-video {
    clip-path: inset(0 12% 0 12%) !important;
  }
}

.ready-patterns-proposal-layout {
  --proposal-text: #191919;
  --proposal-muted: #707070;
  --proposal-border: #e5e5e5;
  --proposal-soft: #f7f4ec;
  --proposal-page: #fcfbf8;
  background: var(--proposal-page);
  color: var(--proposal-text);
}

.ready-proposal-page {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 64px;
}

.ready-proposal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 18px;
  color: var(--proposal-muted);
  font-size: 11px;
  line-height: var(--line-height-caption);
}

.ready-proposal-breadcrumb a {
  color: var(--proposal-muted);
  text-decoration: none;
}

.ready-proposal-breadcrumb a:hover {
  color: var(--proposal-text);
  text-decoration: underline;
}

.ready-proposal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 22px;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--proposal-border);
}

.ready-proposal-hero-copy {
  display: grid;
  gap: 8px;
}

.ready-proposal-kicker {
  margin: 0 0 4px;
  color: var(--proposal-muted);
  font-size: 11px;
  line-height: var(--line-height-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ready-proposal-hero h1 {
  margin: 0;
  color: var(--proposal-text);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.ready-proposal-hero-lead {
  margin: 0;
  max-width: 26ch;
  color: rgba(31, 28, 27, 0.76);
  font-size: 15px;
  line-height: 1.48;
}

.ready-proposal-hero-meta {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.ready-proposal-hero p {
  margin: 0;
  max-width: 420px;
  color: var(--proposal-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ready-proposal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ready-proposal-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 28, 27, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(31, 28, 27, 0.72);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ready-proposal-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.52fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0 0;
}

.ready-proposal-intro-copy {
  display: grid;
  gap: 6px;
}

.ready-proposal-section-kicker {
  margin: 0;
  color: var(--proposal-muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ready-proposal-intro h2 {
  margin: 0;
  color: var(--proposal-text);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 28ch;
}

.ready-proposal-intro-note {
  margin: 0;
  max-width: 40ch;
  color: rgba(31, 28, 27, 0.64);
  font-size: 14px;
  line-height: 1.6;
}

.ready-proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 22px;
}

.ready-proposal-card {
  display: grid;
  gap: 0;
  min-width: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ready-proposal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(18, 14, 12, 0.06);
}

.ready-proposal-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f4f1ea;
  color: inherit;
  text-decoration: none;
}

.ready-proposal-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 0.74 / 1.22;
  object-fit: contain;
  object-position: center center;
  transition: transform 320ms ease, opacity 220ms ease;
}

.ready-proposal-card-media span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(25, 25, 25, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--proposal-text);
  font-size: var(--font-size-caption);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-caption);
}

.ready-proposal-card:not(.is-muted) .ready-proposal-card-media:hover img {
  transform: scale(1.012);
}

.ready-proposal-card.is-muted .ready-proposal-card-media {
  min-height: 0;
  aspect-ratio: 3 / 4.18;
  background:
    linear-gradient(145deg, rgba(244, 237, 226, 0.96), rgba(231, 226, 216, 0.92)),
    #f3eee6;
}

.ready-proposal-card.is-muted .ready-proposal-card-media::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(63, 57, 50, 0.12);
}

.ready-proposal-card.is-muted .ready-proposal-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.58), transparent 24%),
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.22) 46% 48%, transparent 48% 100%);
  opacity: 0.8;
}

.ready-proposal-coming-soon-art {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 14%;
  height: 24%;
  border: 1px solid rgba(63, 57, 50, 0.14);
  background: rgba(255, 255, 255, 0.22);
}

.ready-proposal-card.is-muted .ready-proposal-card-copy {
  display: none;
}

.ready-proposal-card-copy {
  display: grid;
  gap: 7px;
  padding: 18px 18px 18px;
  background: #f5f0e4;
  border-top: 1px solid rgba(25, 25, 25, 0.06);
}

.ready-proposal-card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
}

.ready-proposal-card-category {
  margin: 0;
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ready-proposal-card-price {
  margin: 0;
  color: #1f1f1f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ready-proposal-card h2 {
  margin: 0;
  color: var(--proposal-text);
  font-size: 16px;
  font-weight: var(--weight-regular);
  line-height: 1.42;
  letter-spacing: 0;
}

.ready-proposal-card h2 a {
  color: inherit;
  text-decoration: none;
}

.ready-proposal-card h2 a:hover {
  text-decoration: none;
}

.ready-product-peek {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 24px;
}

.ready-product-peek[hidden] {
  display: none;
}

.ready-product-peek-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 25, 25, 0.5);
  cursor: default;
}

.ready-product-peek-card {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  outline: none;
  animation: readyPeekRise 220ms ease-out both;
}

.ready-product-peek-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--proposal-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ready-product-peek-close:hover {
  color: var(--proposal-text);
}

.ready-product-peek-body,
.ready-product-peek-open {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 300px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ready-product-peek-body {
  cursor: default;
}

.ready-product-peek-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 360px;
  background: #f2e1c2;
  border-right: 1px solid rgba(115, 110, 102, 0.16);
}

.ready-product-peek-image-button {
  display: block;
  width: 100%;
  min-height: 360px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.ready-product-peek-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  height: 100%;
  background: #fffaf2;
  overflow: hidden;
}

.ready-product-peek-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  display: block;
}

.ready-product-peek-thumbs {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 72px;
  background: rgba(255, 250, 242, 0.62);
}

.ready-product-peek-thumb {
  width: 72px;
  height: 108px;
  padding: 0;
  border: 1px solid rgba(115, 110, 102, 0.2);
  border-width: 0 0 1px 1px;
  background: rgba(255, 250, 242, 0.72);
  cursor: pointer;
  overflow: hidden;
}

.ready-product-peek-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}

.ready-product-peek-thumb:hover img,
.ready-product-peek-thumb:focus-visible img {
  transform: scale(1.06);
}

.ready-product-peek-thumb.is-active {
  border-color: rgba(140, 44, 22, 0.62);
  box-shadow: inset 0 0 0 1px rgba(140, 44, 22, 0.28);
}

.ready-product-peek-copy {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 46px 56px 42px 38px;
}

.ready-product-peek-eyebrow {
  color: var(--proposal-muted);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ready-product-peek-title {
  margin: 0;
  color: var(--proposal-text);
  font-size: var(--font-size-title-1);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-title-1);
  letter-spacing: -0.02em;
}

.ready-product-peek-meta {
  color: var(--proposal-text);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.ready-product-peek-description {
  max-width: 360px;
  color: var(--proposal-muted);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.ready-product-peek-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

.ready-product-peek-facts span {
  padding: 5px 9px;
  border: 1px solid var(--proposal-border);
  background: #ffffff;
  color: var(--proposal-muted);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
}

.ready-product-peek-field {
  display: grid;
  gap: 5px;
  max-width: 360px;
  color: var(--proposal-text);
  font-size: var(--font-size-caption);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-caption);
}

.ready-product-peek-field select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--proposal-border);
  background: #ffffff;
  color: var(--proposal-text);
  font-size: var(--font-size-body);
  font-weight: var(--weight-regular);
  line-height: var(--line-height-body);
}

.ready-product-peek-price {
  color: var(--proposal-text);
  font-size: var(--font-size-body);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-body);
}

.ready-product-peek-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.ready-product-peek-cart,
.ready-product-peek-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: var(--weight-bold);
  line-height: var(--line-height-body);
}

.ready-product-peek-cart {
  border: 1px solid var(--proposal-text);
  background: var(--proposal-text);
  color: #ffffff;
}

.ready-product-peek-cart:hover,
.ready-product-peek-cart:focus {
  background: #363636;
  outline: none;
}

.ready-product-peek-link {
  width: fit-content;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--proposal-text);
  padding-left: 0;
  padding-right: 0;
  cursor: pointer;
}

.ready-product-peek-open:hover .ready-product-peek-link,
.ready-product-peek-link:hover,
.ready-product-peek-link:focus {
  color: #707070;
  outline: none;
}

.ready-product-peek-status {
  min-height: var(--line-height-caption);
  color: #288034;
  font-size: var(--font-size-caption);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-caption);
}

body.ready-product-peek-is-open {
  overflow: hidden;
}

@keyframes readyPeekRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .course-cart-modal-card {
    gap: 12px;
    padding: 14px;
  }

  .course-cart-modal-video-shell {
    height: min(46vw, 220px, 28vh);
  }

  .course-cart-modal-rules {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .course-cart-modal-rules-link {
    width: 100%;
  }

  .ready-proposal-page {
    width: min(100% - 24px, 900px);
    padding-top: 10px;
  }

  .ready-proposal-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .ready-proposal-hero-lead {
    max-width: 32ch;
    font-size: 14px;
  }

  .ready-proposal-hero h1 {
    font-size: 34px;
    line-height: 0.98;
  }

  .ready-proposal-hero p {
    max-width: 300px;
    font-size: 13px;
  }

  .ready-proposal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
    margin-top: 14px;
  }

  .ready-proposal-intro {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 12px;
  }

  .ready-product-peek {
    align-items: center;
    padding: 16px;
  }

  .ready-product-peek-card {
    width: min(86vw, 390px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ready-product-peek-open {
    grid-template-columns: 1fr;
    min-height: 188px;
  }

  .ready-product-peek-body {
    grid-template-columns: 1fr;
    min-height: 188px;
  }

  .ready-product-peek-gallery {
    grid-template-columns: minmax(0, 1fr) 56px;
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(115, 110, 102, 0.16);
  }

  .ready-product-peek-image-button {
    min-height: 220px;
  }

  .ready-product-peek-image-wrap,
  .ready-product-peek-image {
    min-height: 220px;
    max-height: 220px;
  }

  .ready-product-peek-thumbs {
    flex-direction: column;
    width: 56px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fffaf2;
  }

  .ready-product-peek-thumb {
    flex: 0 0 74px;
    width: 56px;
    height: 74px;
    border-width: 0 0 1px 1px;
  }

  .ready-product-peek-copy {
    align-content: start;
    gap: 7px;
    padding: 16px 18px 18px;
  }

  .ready-product-peek-description {
    display: block;
    max-width: none;
    font-size: 12px;
    line-height: 1.35;
  }

  .ready-product-peek-facts {
    gap: 4px;
  }

  .ready-product-peek-facts span {
    padding: 3px 6px;
  }

  .ready-product-peek-actions {
    gap: 6px;
    margin-top: 4px;
  }

  .ready-product-peek-cart,
  .ready-product-peek-link {
    min-height: 30px;
    padding: 0 10px;
  }

  .ready-product-peek-link {
    padding-left: 0;
    padding-right: 0;
  }

  .ready-product-peek-title {
    font-size: var(--font-size-title-3);
    line-height: var(--line-height-title-3);
  }

.ready-product-peek-close {
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.82);
}
}

@media (max-width: 640px) {
  .ready-proposal-page {
    width: min(100% - 18px, 520px);
    padding-top: 8px;
  }

  .ready-proposal-hero {
    gap: 8px;
    padding: 12px 0 10px;
  }

  .ready-proposal-hero h1 {
    font-size: 32px;
  }

  .ready-proposal-hero p {
    max-width: none;
    font-size: 13px;
    line-height: 1.5;
  }

  .ready-proposal-hero-lead {
    font-size: 13px;
  }

  .ready-proposal-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 12px;
  }

  .ready-proposal-facts {
    gap: 6px;
  }

  .ready-proposal-facts span {
    font-size: 10px;
  }

  .ready-proposal-card-copy {
    padding: 14px 16px 15px;
  }

  .ready-proposal-card-category,
  .ready-proposal-card-price {
    font-size: 13px;
  }

  .ready-proposal-card h2 {
    font-size: 15px;
    line-height: 1.34;
  }
}

/* Home v2 scaffold */
.home-v2 {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 0;
  position: relative;
  z-index: 9;
  background: #fff;
}

.home-v2-video-stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 112px);
  max-height: calc(100svh - 112px);
  overflow: hidden;
  background: #fff;
}

.home-v2-video-stage video {
  width: 100%;
  height: 100%;
  display: block;
}

.home-v2-video-base {
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

.home-v3-footer {
  position: relative;
  z-index: 2;
  background: #f7edf0;
  border-top: 1px solid rgba(90, 54, 58, 0.12);
}

.home-v3-footer-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px 8px;
  color: rgba(90, 54, 58, 0.9);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.home-v3-footer-topline span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-v3-footer-inner {
  width: min(1480px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 36px 0 26px;
}

.home-v3-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 34px;
}

.home-v3-footer-brand-logo {
  display: block;
  width: clamp(150px, 14vw, 230px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) contrast(1.02);
  opacity: 0.94;
}

.home-v3-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.7fr);
  gap: 80px;
  align-items: start;
}

.home-v3-footer-newsletter h2,
.home-v3-footer-panel summary {
  margin: 0 0 18px;
  color: rgba(136, 67, 81, 0.96);
  font-family: "Tenor Sans", serif;
  font-size: clamp(16px, 1.25vw, 26px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-v3-footer-panel {
  display: block;
}

.home-v3-footer-panel summary {
  display: block;
  list-style: none;
  cursor: default;
}

.home-v3-footer-panel summary::-webkit-details-marker {
  display: none;
}

.home-v3-footer-panel-body {
  display: grid;
  gap: 12px;
}

.home-v3-footer-newsletter p {
  margin: 0 0 28px;
  max-width: 32ch;
  color: rgba(116, 76, 83, 0.94);
  font-size: clamp(14px, 0.98vw, 18px);
  line-height: 1.5;
  font-style: italic;
}

.home-v3-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.home-v3-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(136, 67, 81, 0.96);
  text-decoration: none;
}

.home-v3-footer-reference-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.home-v3-footer-reference-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 14px;
  border: 1px solid rgba(136, 67, 81, 0.22);
  color: rgba(86, 41, 50, 0.92);
  background: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(18, 14, 12, 0.04);
}

.home-v3-footer-reference-link--primary {
  background: rgba(136, 67, 81, 0.88);
  border-color: rgba(136, 67, 81, 0.18);
  color: rgba(255, 250, 248, 0.98);
}

.home-v3-footer-reference-link:hover {
  background: rgba(255, 255, 255, 0.82);
}

.home-v3-footer-reference-link--primary:hover {
  background: rgba(136, 67, 81, 0.94);
}

.home-v3-footer-social a[aria-label="Instagram"] {
  color: #e1306c;
}

.home-v3-footer-social a[aria-label="Facebook"] {
  color: #1877f2;
}

.home-v3-footer-social a:hover {
  opacity: 0.74;
}

.home-v3-footer-social svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
}

.home-v3-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 60px;
}

.home-v3-footer-panel-body a {
  display: inline-flex;
  align-items: center;
  color: rgba(116, 76, 83, 0.94);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  font-style: italic;
}

.home-v3-footer-panel-body a:hover {
  opacity: 0.74;
}

.home-v3-footer-legal {
  margin-top: 48px;
  color: rgba(136, 67, 81, 0.8);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.home-v2-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.home-v2-hero-slider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: clamp(140px, 20vh, 228px);
  z-index: 4;
  pointer-events: none;
  display: none;
}

.home-v2-hero-slider-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.96) 7%, rgba(0, 0, 0, 0.96) 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.96) 7%, rgba(0, 0, 0, 0.96) 93%, transparent 100%);
}

.home-v2-hero-slider-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  height: 100%;
  padding: 0 18px;
  animation: homeV2HeroMarquee 28s linear infinite;
  will-change: transform;
}

.home-v2-hero-slider-card {
  width: min(28vw, 320px);
  min-width: 260px;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: rgba(250, 244, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: rgba(34, 29, 28, 0.96);
  pointer-events: auto;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(19, 12, 14, 0.16);
}

.home-v2-hero-slider-media {
  position: relative;
  overflow: hidden;
  background: rgba(250, 248, 246, 0.96);
}

.home-v2-hero-slider-media img,
.home-v2-hero-slider-media video {
  width: 100%;
  height: 100%;
  display: block;
}

.home-v2-hero-slider-media video {
  object-fit: cover;
}

.home-v2-hero-slider-media img {
  object-fit: contain;
  object-position: center bottom;
  padding: 10px 12px 0;
  background: rgba(250, 248, 246, 0.96);
}

.home-v2-hero-slider-copy {
  display: grid;
  gap: 8px;
  padding: 14px 16px 15px;
  background: rgba(247, 239, 241, 0.98);
}

.home-v2-hero-slider-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(118, 74, 84, 0.92);
}

.home-v2-hero-slider-copy strong {
  font-size: 15px;
  line-height: 1.28;
  font-weight: 500;
  color: rgba(34, 29, 28, 0.96);
}

@keyframes homeV2HeroMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.home-v2-hero-announcement {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 40px;
  padding: 10px 18px 8px;
  text-align: center;
  font-family: inherit;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(68, 43, 51, 0.9);
  background: rgba(244, 220, 226, 0.9);
  text-shadow: none;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.32s ease, background-color 0.32s ease;
}

.home-v2-hero-announcement--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 40;
  opacity: var(--home-v2-header-opacity, 1);
  transform: translateY(calc((1 - var(--home-v2-header-opacity, 1)) * -8px));
  transition: color 0.32s ease, background-color 0.32s ease, opacity 0.22s linear, transform 0.22s linear;
}

.home-v2-hero-announcement span {
  text-decoration: none;
}

.home-v2-hero-topbar {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  transition: color 0.32s ease;
}

.home-v2-hero-topbar--sticky {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 39;
  opacity: var(--home-v2-header-opacity, 1);
  transform: translateY(calc((1 - var(--home-v2-header-opacity, 1)) * -10px));
  transition: color 0.32s ease, opacity 0.22s linear, transform 0.22s linear;
}

.home-v2-hero-leftnav,
.home-v2-hero-rightnav {
  display: flex;
  align-items: center;
  gap: 28px;
  pointer-events: auto;
  min-height: 32px;
}

.home-v2-hero-leftnav {
  justify-self: start;
  position: relative;
  z-index: 2;
  gap: 18px;
}

.home-v2-hero-rightnav {
  justify-self: end;
  gap: 10px;
}

.home-v2-hero-leftnav a,
.home-v2-menu-panel summary,
.home-v2-hero-rightnav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  transition: color 0.32s ease, text-shadow 0.32s ease;
}

.home-v2-menu-panel {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.home-v2-menu-panel summary {
  list-style: none;
  cursor: pointer;
}

.home-v2-menu-panel summary::-webkit-details-marker {
  display: none;
}

.home-v2-menu-drawer {
  position: static;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  background: transparent;
  color: inherit;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.home-v2-menu-drawer a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  transition: opacity 0.28s ease, color 0.32s ease, text-shadow 0.32s ease;
}

.home-v2-menu-drawer a:hover {
  background: transparent;
  color: #fff;
  padding-left: 0;
  opacity: 0.78;
}

.home-v2-hover-text {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  padding-bottom: 12px;
  white-space: nowrap;
  color: transparent;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: left calc(100% - 0px);
  transition: background-image 0.32s ease, text-shadow 0.32s ease;
}

.home-v2-hover-text::before,
.home-v2-hover-text::after {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  color: #fff;
  transition: transform 0.56s cubic-bezier(0.2, 0.75, 0.2, 1), color 0.32s ease;
  will-change: transform;
}

.home-v2-hover-text::before {
  transform: translateY(0%);
}

.home-v2-hover-text::after {
  transform: translateY(112%);
}

.home-v2-mobile-only-link {
  display: none !important;
}

.home-v2-submenu-panel {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.home-v2-submenu-panel[open] {
  z-index: 45;
}

.home-v2-submenu-panel::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 30px;
}

.home-v2-submenu-panel summary {
  list-style: none;
  cursor: pointer;
}

.home-v2-submenu-panel summary::-webkit-details-marker {
  display: none;
}

.home-v2-submenu-panel summary a {
  pointer-events: auto;
}

.home-v2-submenu-drawer {
  position: absolute;
  top: calc(100% + 22px);
  left: 0;
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 0;
  background: transparent;
  color: inherit;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  z-index: 46;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.22s ease,
    transform 0.32s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s linear 0.22s;
}

.home-v2-submenu-panel[open] .home-v2-submenu-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.26s ease,
    transform 0.38s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s linear 0s;
}

.home-v2-submenu-panel.is-closing .home-v2-submenu-drawer {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.26s cubic-bezier(0.4, 0.12, 0.48, 0.88),
    visibility 0s linear 0s;
}

.home-v2-submenu-drawer a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.32s ease, opacity 0.28s ease, text-shadow 0.32s ease;
}

.home-v2-submenu-drawer a:hover {
  background: transparent;
  color: #fff;
  opacity: 0.78;
}

.home-v2-submenu-drawer .home-v2-hover-text {
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82));
}

.home-v2-submenu-drawer .home-v2-hover-text::before,
.home-v2-submenu-drawer .home-v2-hover-text::after,
.home-v2-mobile-only-link .home-v2-hover-text::before,
.home-v2-mobile-only-link .home-v2-hover-text::after {
  color: #fff;
}

.home-v2-utility-link {
  white-space: nowrap;
}

.home-v2-hero-rightnav .cart-link.home-v2-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2-hero-rightnav .home-v2-utility-link--bag > span:not(.hero-cart-count):not(.cart-count-badge) {
  display: inline-flex;
}

.home-v2-hero-rightnav .home-v2-utility-link--bag .cart-count-badge {
  top: -6px;
  right: -3px;
}

.home-v2-hero-rightnav .home-v2-utility-link--bag .hero-cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.home-v2-utility-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 16px;
  opacity: 0.98;
}

.home-v2-utility-link--user .home-v2-utility-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.home-v2-utility-link--bag .home-v2-utility-icon {
  color: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.9;
}

.home-v2-utility-link--bag .home-v2-utility-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.home-v2-hero-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.64);
  transition: background-color 0.32s ease;
}

.home-v2-hero-brand {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  pointer-events: auto;
}

.home-v2-hero-brand-logo {
  display: block;
  width: clamp(150px, 14vw, 230px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) contrast(1.08) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.12));
  opacity: 1;
  transition: filter 0.32s ease, opacity 0.32s ease;
}

.home-v2-preview-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70svh;
  z-index: 30;
  padding: 96px 30px 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scaleY(0.96);
  transform-origin: top center;
  transition: opacity 0.45s ease, transform 0.58s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-v2-preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 244, 0.98);
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.home-v2-preview-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.home-v2-preview-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 52px));
  height: 100%;
  margin: 0 auto;
  padding: 24px;
}

.home-v2-preview-blank {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    rgba(252, 250, 247, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.home-v2-preview-home,
.home-v2-preview-ready-patterns,
.home-v2-preview-course,
.home-v2-preview-pfp {
  position: absolute;
  inset: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 70%);
  gap: 24px;
  height: auto;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-v2-preview-home-copy,
.home-v2-preview-ready-copy,
.home-v2-preview-course-copy,
.home-v2-preview-pfp-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 8px 0 6px;
  color: #201d1c;
}

.home-v2-preview-home-kicker,
.home-v2-preview-ready-kicker,
.home-v2-preview-course-kicker,
.home-v2-preview-pfp-kicker {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 29, 28, 0.64);
}

.home-v2-preview-home-copy h2,
.home-v2-preview-ready-copy h2,
.home-v2-preview-course-copy h2,
.home-v2-preview-pfp-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: rgba(32, 29, 28, 0.96);
}

.home-v2-preview-home-copy p,
.home-v2-preview-ready-copy p,
.home-v2-preview-course-copy p,
.home-v2-preview-pfp-copy p {
  margin: 0;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(32, 29, 28, 0.72);
}

.home-v2-preview-home-link,
.home-v2-preview-ready-link,
.home-v2-preview-course-link,
.home-v2-preview-pfp-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding-bottom: 4px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 29, 28, 0.96);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 29, 28, 0.28);
}

.home-v2-preview-home-grid,
.home-v2-preview-ready-grid,
.home-v2-preview-course-grid,
.home-v2-preview-pfp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.home-v2-preview-product {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  color: #1f1c1b;
  text-decoration: none;
}

.home-v2-preview-product-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #f1eee8;
}

.home-v2-preview-product-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.home-v2-preview-product-slide.is-active {
  opacity: 1;
}

.home-v2-preview-product-slide img,
.home-v2-preview-product-slide video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  object-position: center center;
}

.home-v2-preview-product-copy {
  display: grid;
  gap: 10px;
  padding: 16px 16px 18px;
  background: #f7f3e8;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.home-v2-preview-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-v2-preview-product-meta span {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 28, 27, 0.92);
}

.home-v2-preview-product-copy strong {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(31, 28, 27, 0.96);
}

.home-v2-preview-panel[data-preview="ready-patterns"] .home-v2-preview-ready-patterns {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-v2-preview-panel[data-preview="home"] .home-v2-preview-home {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-v2-preview-panel[data-preview="course"] .home-v2-preview-course {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-v2-preview-panel[data-preview="pfp"] .home-v2-preview-pfp,
.home-v2-preview-panel[data-preview="measurements"] .home-v2-preview-pfp {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.is-preview-open .home-v2-hero-topbar {
  color: rgba(34, 29, 28, 0.96);
}

body.is-preview-open .home-v2-hero-leftnav a,
body.is-preview-open .home-v2-menu-panel summary,
body.is-preview-open .home-v2-menu-drawer a,
body.is-preview-open .home-v2-submenu-drawer a,
body.is-preview-open .home-v2-hero-rightnav a {
  color: rgba(34, 29, 28, 0.96);
  text-shadow: none;
}

body.is-preview-open .home-v2-hover-text {
  text-shadow: none;
  background-image: linear-gradient(rgba(34, 29, 28, 0.38), rgba(34, 29, 28, 0.38));
}

body.is-preview-open .home-v2-hover-text::before,
body.is-preview-open .home-v2-hover-text::after {
  color: rgba(34, 29, 28, 0.96);
}

body.is-preview-open .home-v2-hero-sep {
  background: rgba(34, 29, 28, 0.22);
}

body.is-preview-open .home-v2-hero-brand-logo {
  filter: brightness(0) saturate(100%) contrast(1.02);
  opacity: 0.94;
}

body.is-footer-focus .home-v2-hero-announcement,
body.is-footer-focus .home-v2-hero-topbar {
  pointer-events: none;
}

body.is-footer-focus .home-v2-hero-announcement--sticky,
body.is-footer-focus .home-v2-hero-topbar--sticky {
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(-14px) !important;
}

body.has-home-v2-shell > *:not(.home-v2-page-shell) {
  transition: filter 240ms ease, opacity 240ms ease, transform 240ms ease;
}

.course-layout-v2 > *:not(.home-v2-page-shell--course) {
  transition: filter 240ms ease, opacity 240ms ease, transform 240ms ease;
}

body.has-home-v2-shell.is-preview-open > *:not(.home-v2-page-shell) {
  filter: blur(7px);
  opacity: 0.72;
  transform: scale(0.995);
}

.course-layout-v2.is-preview-open > *:not(.home-v2-page-shell--course) {
  filter: blur(7px);
  opacity: 0.72;
  transform: scale(0.995);
}

body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) > *:not(.home-v2-page-shell) {
  filter: none;
  opacity: 1;
  transform: none;
}

.course-layout-v2.is-mobile-menu-open > *:not(.home-v2-page-shell--course) {
  filter: none;
  opacity: 1;
  transform: none;
}

.home-v2-compare {
  width: 100%;
  padding: 28px 0 18px;
  background: #fff;
}

.home-v2-compare-head,
.home-v2-compare-grid {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

.home-v2-compare-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.home-v2-compare-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #202020;
}

.home-v2-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-v2-compare-card {
  display: grid;
  gap: 10px;
}

.home-v2-compare-meta {
  display: grid;
  gap: 4px;
}

.home-v2-compare-tag {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.home-v2-compare-meta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4f4f4f;
}

.home-v2-demo-stage {
  position: relative;
  min-height: 38vw;
  max-height: 540px;
  overflow: hidden;
  background: #f1f1f1;
}

.home-v2-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.home-v2-hero-overlay--demo .home-v2-hero-topbar {
  top: 46px;
  padding: 0 24px;
}

.home-v2-hero-overlay--demo .home-v2-hero-leftnav,
.home-v2-hero-overlay--demo .home-v2-hero-rightnav {
  gap: 16px;
}

.home-v2-hero-overlay--demo .home-v2-hero-leftnav a,
.home-v2-hero-overlay--demo .home-v2-menu-panel summary,
.home-v2-hero-overlay--demo .home-v2-hero-rightnav a {
  font-size: 10px;
}

.home-v2-hero-overlay--demo .home-v2-menu-drawer {
  gap: 14px;
  min-width: 0;
  padding: 0;
}

.home-v2-menu-panel > summary {
  display: none;
}

.home-v2-hero-overlay--demo .home-v2-menu-drawer a {
  font-size: 10px;
  padding: 0;
}

.home-v2-hero-overlay--demo .home-v2-submenu-drawer {
  top: calc(100% + 10px);
  min-width: 170px;
  padding: 10px 0;
}

.home-v2-hero-overlay--demo .home-v2-submenu-drawer a {
  padding: 8px 14px;
  font-size: 9px;
}

.home-v2-hero-overlay--demo .home-v2-hero-announcement {
  min-height: 34px;
  padding: 9px 14px 8px;
  font-size: 8px;
}

.home-v2-hero-overlay--demo .home-v2-utility-icon {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}

.home-v2-hero-overlay--demo .home-v2-hero-brand-logo {
  width: clamp(128px, 13vw, 194px);
}

.home-v2-meshki-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}

.home-v2-meshki-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 18px 8px;
  text-align: center;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244, 220, 226, 0.9);
  color: rgba(255, 255, 255, 0.92);
  pointer-events: auto;
}

.home-v2-meshki-bar {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
}

.home-v2-meshki-leftnav,
.home-v2-meshki-rightnav {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.home-v2-meshki-leftnav {
  justify-self: start;
  flex-wrap: wrap;
}

.home-v2-meshki-rightnav {
  justify-self: end;
  gap: 12px;
}

.home-v2-meshki-leftnav a,
.home-v2-meshki-rightnav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
}

.home-v2-meshki-rightnav a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-v2-meshki-rightnav svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.home-v2-meshki-brand {
  justify-self: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.home-v2-meshki-brand-logo {
  display: block;
  width: clamp(104px, 9vw, 150px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.home-v2-scaffold {
  width: 100%;
  padding: 32px 0 56px;
  background: #fff;
}

.home-v2-frame,
.home-v2-grid {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}

.home-v2-frame {
  display: grid;
  gap: 12px;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(35, 35, 35, 0.12);
}

.home-v2-label,
.home-v2-card span {
  margin: 0;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.home-v2-frame h1,
.home-v2-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #202020;
}

.home-v2-frame p,
.home-v2-card p {
  margin: 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.6;
  color: #4f4f4f;
}

.home-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 28px;
}

.home-v2-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(35, 35, 35, 0.1);
  background: #fff;
}

.home-v2-card h2 {
  font-size: clamp(24px, 3vw, 36px);
}

@media (max-width: 989px) {
  .home-v2-video-stage {
    min-height: calc(100svh - 92px);
    max-height: calc(100svh - 92px);
  }

  .home-v2-hero-slider {
    display: block;
    bottom: 16px;
    height: clamp(112px, 19svh, 168px);
  }

  .home-v2-hero-slider-track {
    gap: 12px;
    padding: 0 12px;
    animation-duration: 24s;
  }

  .home-v2-hero-slider-card {
    width: 56vw;
    min-width: 210px;
  }

  .home-v2-hero-slider-media img {
    padding: 8px 10px 0;
  }

  .home-v2-hero-slider-copy {
    gap: 6px;
    padding: 11px 12px 12px;
  }

  .home-v2-hero-slider-meta {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .home-v2-hero-slider-copy strong {
    font-size: 12px;
    line-height: 1.22;
  }

  .home-v2-hero-topbar {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    top: 44px;
    padding: 0 16px;
  }

  .home-v2-hero-topbar--sticky {
    top: 38px;
  }

  .home-v2-hero-announcement {
    min-height: 38px;
    padding: 10px 12px 8px;
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .home-v2-hero-leftnav,
  .home-v2-hero-rightnav {
    gap: 10px;
  }

  .home-v2-hero-leftnav a,
  .home-v2-menu-panel summary,
  .home-v2-hero-rightnav a {
    font-size: 10px;
    letter-spacing: 0.14em;
    gap: 4px;
  }

  .home-v2-menu-drawer {
    position: static;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    background: transparent;
    color: inherit;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }

  .home-v2-menu-drawer a {
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.11em;
    font-weight: 500;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.12);
  }

  .home-v2-mobile-only-link {
    display: none !important;
  }

  .home-v2-hover-text {
    padding-bottom: 10px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82));
  }

  .home-v2-hover-text::before,
  .home-v2-hover-text::after {
    transition: transform 0.56s cubic-bezier(0.2, 0.75, 0.2, 1);
    color: #fff;
  }

  .home-v2-menu-drawer a:hover {
    background: transparent;
    color: #fff;
    padding-left: 0;
    opacity: 0.78;
  }

  .home-v2-menu-panel > summary {
    display: inline-flex;
  }

  .home-v2-menu-panel[open] > summary {
    display: none;
  }

  .home-v2-menu-panel[open] .home-v2-menu-drawer {
    position: fixed;
    top: 88px;
    left: 50%;
    display: grid;
    gap: 10px;
    align-items: start;
    justify-items: center;
    padding: 10px 14px 12px;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 18px rgba(24, 16, 14, 0.16));
    z-index: 52;
  }

  .home-v2-menu-panel[open] .home-v2-menu-drawer > a,
  .home-v2-menu-panel[open] .home-v2-menu-drawer > .home-v2-submenu-panel {
    display: block;
    width: max-content;
    text-align: center;
  }

  .home-v2-submenu-panel {
    display: inline-flex;
    align-items: center;
  }

  .home-v2-submenu-panel summary a {
    display: inline-flex;
    padding: 0;
    color: #fff;
    font-weight: 500;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.12);
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .home-v2-submenu-drawer {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 0;
    padding: 10px 0 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }

  .home-v2-submenu-drawer a {
    padding: 0;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.16),
      0 6px 14px rgba(0, 0, 0, 0.12);
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-drawer a,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-panel summary a,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-drawer a,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-drawer a,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-panel summary a,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-drawer a {
    color: #111 !important;
    -webkit-text-stroke: 0;
    text-shadow: 0 6px 14px rgba(255, 255, 255, 0.32);
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-drawer .home-v2-hover-text,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-panel .home-v2-hover-text,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-drawer .home-v2-hover-text,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-drawer .home-v2-hover-text,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-panel .home-v2-hover-text,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-drawer .home-v2-hover-text {
    color: #111 !important;
    overflow: visible;
    height: auto;
    text-shadow: 0 6px 14px rgba(255, 255, 255, 0.32);
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-drawer .home-v2-hover-text::before,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-drawer .home-v2-hover-text::after,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-panel .home-v2-hover-text::before,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-panel .home-v2-hover-text::after,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-drawer .home-v2-hover-text::before,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-submenu-drawer .home-v2-hover-text::after,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-drawer .home-v2-hover-text::before,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-drawer .home-v2-hover-text::after,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-panel .home-v2-hover-text::before,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-panel .home-v2-hover-text::after,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-drawer .home-v2-hover-text::before,
  .course-layout-v2.is-mobile-menu-open .home-v2-submenu-drawer .home-v2-hover-text::after {
    content: none;
    transition: none;
    transform: none !important;
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-hover-text::before,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-hover-text::after,
  .course-layout-v2.is-mobile-menu-open .home-v2-hover-text::before,
  .course-layout-v2.is-mobile-menu-open .home-v2-hover-text::after {
    color: #111 !important;
    -webkit-text-stroke: 0;
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-hover-text,
  .course-layout-v2.is-mobile-menu-open .home-v2-hover-text {
    background-image: linear-gradient(rgba(17, 17, 17, 0.52), rgba(17, 17, 17, 0.52));
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-panel[open] .home-v2-menu-drawer,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-panel[open] .home-v2-menu-drawer {
    position: fixed;
    top: 52px;
    left: 50%;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0 12px;
    width: max-content;
    max-width: calc(100vw - 20px);
    padding: 0;
    transform: translate(-50%, 0);
    filter: none;
    z-index: 52;
    opacity: 1;
    pointer-events: auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    transition:
      opacity 340ms cubic-bezier(0.18, 0.78, 0.18, 1),
      transform 420ms cubic-bezier(0.18, 0.78, 0.18, 1);
    animation: homeV2MobileMenuReveal 420ms cubic-bezier(0.16, 0.82, 0.18, 1) both;
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-panel[open] .home-v2-menu-drawer::-webkit-scrollbar,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-panel[open] .home-v2-menu-drawer::-webkit-scrollbar {
    display: none;
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-panel.is-closing .home-v2-menu-drawer,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-panel.is-closing .home-v2-menu-drawer {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    animation: none;
  }

  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-panel[open] .home-v2-menu-drawer > a,
  body.has-home-v2-shell.is-mobile-menu-open:not(.home-layout) .home-v2-menu-panel[open] .home-v2-menu-drawer > .home-v2-submenu-panel,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-panel[open] .home-v2-menu-drawer > a,
  .course-layout-v2.is-mobile-menu-open .home-v2-menu-panel[open] .home-v2-menu-drawer > .home-v2-submenu-panel {
    display: inline-flex;
    width: auto;
    text-align: center;
    flex: 0 0 auto;
  }

  @keyframes homeV2MobileMenuReveal {
    0% {
      opacity: 0;
      transform: translate(-50%, -6px);
    }

    100% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  .home-v2-submenu-drawer a:hover {
    background: transparent;
    color: #fff;
  }

  .home-v2-submenu-drawer .home-v2-hover-text {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82));
  }

  .home-v2-menu-panel[open] .home-v2-menu-drawer .home-v2-hover-text,
  .home-v2-menu-panel[open] .home-v2-submenu-drawer .home-v2-hover-text,
  .home-v2-menu-panel[open] .home-v2-submenu-panel .home-v2-hover-text {
    transition: none;
    background-image: none;
  }

  .home-v2-menu-panel[open] .home-v2-menu-drawer .home-v2-hover-text::before,
  .home-v2-menu-panel[open] .home-v2-menu-drawer .home-v2-hover-text::after,
  .home-v2-menu-panel[open] .home-v2-submenu-drawer .home-v2-hover-text::before,
  .home-v2-menu-panel[open] .home-v2-submenu-drawer .home-v2-hover-text::after,
  .home-v2-menu-panel[open] .home-v2-submenu-panel .home-v2-hover-text::before,
  .home-v2-menu-panel[open] .home-v2-submenu-panel .home-v2-hover-text::after {
    transition: none;
    transform: none !important;
  }

  .home-v2-menu-drawer a:active .home-v2-hover-text::before,
  .home-v2-menu-drawer a:focus-visible .home-v2-hover-text::before,
  .home-v2-submenu-panel:active > summary .home-v2-hover-text::before,
  .home-v2-submenu-panel:focus-within > summary .home-v2-hover-text::before,
  .home-v2-submenu-drawer a:active .home-v2-hover-text::before,
  .home-v2-submenu-drawer a:focus-visible .home-v2-hover-text::before,
  .home-v2-hero-rightnav a:active .home-v2-hover-text::before,
  .home-v2-hero-rightnav a:focus-visible .home-v2-hover-text::before {
    transform: translateY(-112%);
  }

  .home-v2-menu-drawer a:active .home-v2-hover-text::after,
  .home-v2-menu-drawer a:focus-visible .home-v2-hover-text::after,
  .home-v2-submenu-panel:active > summary .home-v2-hover-text::after,
  .home-v2-submenu-panel:focus-within > summary .home-v2-hover-text::after,
  .home-v2-submenu-drawer a:active .home-v2-hover-text::after,
  .home-v2-submenu-drawer a:focus-visible .home-v2-hover-text::after,
  .home-v2-hero-rightnav a:active .home-v2-hover-text::after,
  .home-v2-hero-rightnav a:focus-visible .home-v2-hover-text::after {
    transform: translateY(0%);
  }

  .home-v2-hero-rightnav a span {
    display: none;
  }

  .home-v2-hero-rightnav .home-v2-utility-link--bag .hero-cart-count {
    display: inline-flex !important;
  }

  .home-v2-hero-rightnav .home-v2-utility-link--bag > span:not(.hero-cart-count):not(.cart-count-badge) {
    display: none !important;
  }

  .home-v2-hero-rightnav .home-v2-utility-link--bag {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    flex: 0 0 15px;
    gap: 0;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .home-v2-hero-rightnav .home-v2-utility-link--bag .cart-count-badge {
    display: none !important;
  }

  .home-v2-hero-rightnav .home-v2-utility-link--bag .hero-cart-count {
    top: -4px;
    right: -5px;
    font-size: 10px;
  }

  .home-v2-utility-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .home-v2-hero-brand-logo {
    width: clamp(118px, 30vw, 168px);
  }

  .home-v2-hero-sep {
    height: 12px;
  }

  .home-v3-footer-topline {
    min-height: 38px;
    padding: 9px 12px 7px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .home-v3-footer-inner {
    width: min(100%, calc(100vw - 24px));
    padding: 24px 0 18px;
  }

  .home-v3-footer-brand {
    margin-bottom: 22px;
  }

  .home-v3-footer-brand-logo {
    width: clamp(124px, 34vw, 168px);
  }

  .home-v3-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-v3-footer-newsletter h2,
  .home-v3-footer-panel summary {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .home-v3-footer-newsletter p {
    margin-bottom: 18px;
    font-size: 14px;
  }


  .home-v3-footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-v3-footer-panel {
    border-top: 1px solid rgba(136, 67, 81, 0.14);
    padding: 12px 0;
  }

  .home-v3-footer-panel:last-child {
    border-bottom: 1px solid rgba(136, 67, 81, 0.14);
  }

  .home-v3-footer-panel summary {
    position: relative;
    margin: 0;
    padding-right: 18px;
    cursor: pointer;
  }

  .home-v3-footer-panel summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: rgba(136, 67, 81, 0.76);
    font-size: 15px;
    line-height: 1;
  }

  .home-v3-footer-panel[open] summary::after {
    content: "−";
  }

  .home-v3-footer-panel-body {
    gap: 10px;
    padding-top: 12px;
  }

  .home-v3-footer-panel-body a {
    font-size: 13px;
  }

  .home-v3-footer-social {
    margin-top: 20px;
    gap: 16px;
    justify-content: center;
  }

  .home-v3-footer-social svg {
    width: 22px;
    height: 22px;
  }

  .home-v3-footer-legal {
    margin-top: 30px;
    font-size: 11px;
  }

  .home-v2-compare {
    padding: 18px 0 10px;
  }

  .home-v2-preview-panel {
    display: none;
  }

  .home-v2-compare-head,
  .home-v2-compare-grid {
    width: min(100%, calc(100vw - 16px));
  }

  .home-v2-compare-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-v2-demo-stage {
    min-height: 56vw;
    max-height: none;
  }

  .home-v2-meshki-topline {
    padding: 8px 12px 6px;
    font-size: 8px;
  }

  .home-v2-meshki-bar {
    top: 34px;
    padding: 0 12px;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .home-v2-meshki-leftnav {
    gap: 8px;
  }

  .home-v2-meshki-leftnav a,
  .home-v2-meshki-rightnav a {
    font-size: 8px;
  }

  .home-v2-meshki-brand {
    grid-column: 1 / -1;
    justify-self: center;
    order: -1;
    margin-bottom: 10px;
  }

  .home-v2-meshki-brand-logo {
    width: clamp(88px, 24vw, 128px);
  }

  .home-v2-meshki-rightnav {
    gap: 8px;
  }

  .home-v2-scaffold {
    padding: 18px 0 28px;
  }

  .home-v2-frame,
  .home-v2-grid {
    width: min(100%, calc(100vw - 16px));
  }

  .home-v2-frame {
    gap: 10px;
    padding-bottom: 18px;
  }

  .home-v2-frame h1 {
    font-size: clamp(28px, 9vw, 46px);
  }

  .home-v2-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 18px;
  }

  .home-v2-card {
    min-height: 0;
    padding: 18px;
  }

  .home-v2-card h2 {
    font-size: 24px;
  }

  .home-v2-frame p,
  .home-v2-card p {
    font-size: 14px;
    line-height: 1.5;
  }
}
