/* ROXY public pages. Catalog proportions follow the owner's Liberty reference. */
.public-page {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --line: #dedee3;
  --accent: #0071e3;
}
.public-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.public-page * {
  box-sizing: border-box;
}
.public-page [hidden] {
  display: none !important;
}
.public-page h1,
.public-page h2,
.public-page p {
  margin: 0;
}
.public-page button,
.public-page input {
  font-family: inherit;
}
.public-page a {
  color: inherit;
}
.public-page button {
  cursor: pointer;
}
.public-page button:disabled {
  cursor: default;
}
.public-page :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 5px;
}
.public-page .skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 20px;
  background: #fff;
  transform: translateY(-150%);
  border-radius: 10px;
}
.public-page .skip-link:focus {
  transform: none;
}
.public-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f5f5f7e8;
  border-bottom: 1px solid #e6e6eb;
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.public-logo {
  font-weight: 780;
  font-size: 36px;
  letter-spacing: -0.09em;
  line-height: 1;
  text-decoration: none;
}
.header-inner nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.header-inner nav a {
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header-inner nav a[aria-current] {
  font-weight: 650;
}
.header-inner nav a:hover {
  color: var(--accent);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 96px auto 0;
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.5;
  flex-wrap: wrap;
}
.footer-business {
  display: grid;
  gap: 4px;
  align-content: start;
}
.footer-brand {
  font-size: 26px;
  letter-spacing: -0.08em;
  font-weight: 750;
  color: #1d1d1f !important;
  line-height: 1.1;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-links {
  display: flex;
  gap: 8px 22px;
  flex: 1;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  max-width: 850px;
}
.footer-links a,
.footer-links .cookie-footer-button {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.footer-links a:hover,
.footer-links .cookie-footer-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shop-invitation {
  padding-block: 120px;
  background: #f5f5f7;
  border-top: 1px solid #dedee3;
}
.shop-invitation-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: end;
}
.shop-invitation-copy p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 400px;
  color: #6e6e73;
  margin-bottom: 32px;
}
.shop-invitation .button {
  display: inline-flex;
  text-decoration: none;
}
.public-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.3;
  transition:
    background 0.18s,
    transform 0.18s;
}
.public-button:hover {
  background: #38383d;
}
.public-button:active {
  transform: scale(0.98);
}
.legal-page {
  background: #fff;
}
.legal-page .public-header {
  background: #ffffffee;
}
.legal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 88px;
  align-items: start;
  padding-top: 82px;
}
.legal-sidebar {
  position: sticky;
  top: 112px;
}
.legal-heading {
  font-size: 44px;
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 34px !important;
}
.legal-sidebar nav {
  display: grid;
  gap: 6px;
}
.legal-sidebar a {
  display: block;
  text-decoration: none;
  line-height: 1.5;
  font-size: 14px;
  color: #73737a;
  padding: 9px 0;
  max-width: 265px;
}
.legal-sidebar a:hover {
  color: var(--ink);
}
.legal-sidebar a[aria-current] {
  font-weight: 650;
  color: var(--ink);
}
.legal-document {
  min-width: 0;
}
.legal-document-header h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.legal-document-header > p {
  margin: 18px 0 36px;
  color: var(--muted);
  font-size: 14px;
}
.legal-document-body {
  font-size: 16px;
  color: #62626a;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.legal-document-body section {
  padding: 30px 0;
  border-top: 1px solid #e3e3e8;
  scroll-margin-top: 90px;
}
.legal-document-body section h2 {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--ink);
}
.legal-document-body p + p {
  margin-top: 16px;
}
.legal-document-body a:not(.public-button) {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-document-body li {
  margin: 10px 0;
}
.legal-document-body .public-button {
  margin-top: 24px;
}
.legal-document-body section:first-child {
  border-top: 0;
  padding-top: 0;
}
.refund-page {
  background: #f5f5f7;
}
.refund-page .public-header {
  background: #f5f5f7e8;
}
.refund-layout.public-shell {
  width: min(960px, calc(100% - 48px));
  padding-block: 96px;
}
.refund-document > .legal-document-header,
.refund-document > .refund-notice,
.refund-document > .legal-document-body {
  width: min(820px, 100%);
}
.refund-document .legal-document-header h1 {
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 720;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.refund-document .legal-document-header > p {
  margin: 20px 0 56px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.refund-notice {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 22px;
  box-shadow: 0 12px 40px #0000000d;
}
.refund-notice h2 {
  font-size: 30px;
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.refund-notice p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.refund-notice a {
  color: #0066cc;
  text-underline-offset: 3px;
}
.refund-document .legal-document-body {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
.refund-document .legal-document-body section,
.refund-document .legal-document-body section:first-child {
  padding: 48px 0 0;
  border: 0;
}
.refund-document .legal-document-body section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}
.catalog-shell {
  padding: 24px 0 96px;
  min-height: 65vh;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.catalog-header h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.catalog-header {
  margin-bottom: 24px;
}
.catalog-chapters {
  display: grid;
  gap: 64px;
}
.catalog-chapter h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 24px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.program-card {
  display: block;
  min-width: 0;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  border-radius: 16px;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #1d1d1f20;
}
.program-card:active {
  transform: scale(0.985);
}
.program-cover {
  position: relative;
  aspect-ratio: 1/1.42;
  overflow: hidden;
  border-radius: 16px;
  background: #e7e7ed;
  isolation: isolate;
}
.program-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 80px 24px 24px;
  background: linear-gradient(transparent, #151519de);
  color: #fff;
}
.cover-copy strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.03;
}
.cover-copy small {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 550;
}
.cover-copy p {
  font-size: 13px;
  line-height: 1.45;
  margin-top: 12px;
}
.product-page-title {
  font-size: clamp(42px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 680;
  max-width: 930px;
  margin: 24px 0 32px !important;
}
.product-lead {
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.35;
  color: var(--muted);
  max-width: 850px;
  margin-bottom: 42px !important;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  column-gap: 56px;
  row-gap: 34px;
  align-items: start;
}
.product-layout > div:first-child {
  display: contents;
}
.product-art {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  min-height: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}
.product-art > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.product-art .cover-copy strong {
  font-size: clamp(32px, 4.5vw, 62px);
}
.product-story {
  grid-column: 1;
  grid-row: 2;
  font-size: 17px;
  line-height: 1.65;
}
.product-story h2 {
  font-size: 28px;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.product-story ul {
  padding-left: 22px;
}
.checkout-card {
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #e4e4e7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 36px #1d1d1f08;
  padding: 28px;
}
.checkout-card > h2 {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}
.checkout-price {
  font-size: 34px;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 18px 0 !important;
}
.checkout-note {
  color: var(--muted);
  margin-bottom: 22px !important;
}
.checkout-form {
  display: grid;
  gap: 18px;
}
.checkout-form > label {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.checkout-form input[type="email"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c7c7ce;
  background: #fff;
  border-radius: 10px;
  min-height: 48px;
  font-size: 16px;
}
.checkout-form .consent-row {
  display: flex;
  align-items: start;
  gap: 12px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
}
.consent-row input {
  flex: 0 0 20px;
  height: 20px;
  margin: 2px 0;
  accent-color: #1d1d1f;
}
.consent-row a {
  color: #0066cc;
}
.checkout-form button {
  width: 100%;
}
.checkout-error {
  color: #ab2020;
  font-size: 14px;
}
.checkout-form input:disabled {
  background: #f5f5f7;
}
.checkout-form button:disabled {
  background: #e6e6ea;
  color: #6e6e73 !important;
  border-color: #e6e6ea;
}
@media (max-width: 1000px) {
  .legal-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 40px;
  }
  .program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-layout {
    gap: 28px;
  }
  .shop-invitation-grid {
    gap: 40px;
  }
  .shop-invitation-copy p {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .public-shell,
  .site-footer {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 60px;
  }
  .header-inner nav {
    gap: 20px;
  }
  .public-logo {
    font-size: 32px;
  }
  .legal-layout {
    display: block;
    padding-top: 36px;
  }
  .legal-sidebar {
    position: static;
    margin-bottom: 42px;
  }
  .legal-heading {
    font-size: 36px;
    margin-bottom: 20px !important;
  }
  .legal-sidebar nav {
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
  }
  .legal-sidebar a {
    font-size: 13px;
    padding-block: 10px;
    min-height: 44px;
    max-width: none;
  }
  .legal-document-header h1 {
    font-size: 32px;
  }
  .legal-document-body {
    font-size: 15px;
  }
  .legal-document-body section h2 {
    font-size: 23px;
  }
  .refund-layout.public-shell {
    width: calc(100% - 32px);
    padding-block: 24px 80px;
  }
  .refund-document .legal-document-header h1 {
    font-size: 44px;
    line-height: 0.93;
  }
  .refund-document .legal-document-header > p {
    margin: 22px 0 56px;
  }
  .refund-notice h2 {
    font-size: 22px;
  }
  .refund-document .legal-document-body {
    font-size: 16px;
  }
  .refund-document .legal-document-body section h2 {
    font-size: 28px;
  }
  .footer-links {
    justify-content: flex-start;
    flex-basis: 100%;
    gap: 4px 22px;
  }
  .site-footer {
    margin-top: 64px;
    padding-bottom: 30px;
  }
  .shop-invitation {
    padding-block: 72px;
  }
  .shop-invitation-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .catalog-chapters {
    gap: 44px;
  }
  .cover-copy {
    padding: 56px 18px 20px;
  }
  .cover-copy strong {
    font-size: 26px;
  }
  .cover-copy p {
    display: none;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-art {
    aspect-ratio: 1.08;
    align-self: auto;
  }
  .product-story {
    grid-row: 2;
  }
  .checkout-card {
    grid-column: 1;
    grid-row: 3;
  }
  .product-page-title {
    font-size: clamp(42px, 11vw, 70px);
    margin-top: 26px !important;
  }
  .product-lead {
    margin-bottom: 30px !important;
  }
  .checkout-card {
    padding: 24px;
  }
  .product-story {
    margin-bottom: 10px;
  }
}
@media (max-width: 430px) {
  .header-inner { gap: 12px; }
  .header-inner nav { gap: 12px; }
  .header-inner nav a { font-size: 13px; }
  .program-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    max-width: 320px;
  }
  .catalog-header {
    margin-bottom: 28px;
  }
  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    margin-bottom: 32px;
  }
  .legal-sidebar a {
    padding: 8px 0;
  }
  .cover-copy strong {
    font-size: 34px;
  }
  .cover-copy p {
    display: block;
  }
  .product-art .cover-copy strong {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-page * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .public-header,
  .legal-page .public-header {
    background: #fff;
    backdrop-filter: none;
  }
}
@media print {
  .public-header,
  .legal-sidebar,
  .site-footer {
    display: none;
  }
  .legal-layout {
    display: block;
    padding: 0;
    width: 100%;
  }
  .refund-layout.public-shell {
    width: 100%;
    padding: 0;
  }
  .refund-notice {
    box-shadow: none;
  }
  .legal-document-body {
    color: #000;
  }
  .legal-document-body section {
    break-inside: avoid;
  }
}
.legal-layout {
  width: min(1046px, calc(100% - 48px));
}
.catalog-empty {
  color: var(--muted);
  margin-top: 32px !important;
}
.back-to-shop {
  color: var(--accent) !important;
  text-decoration: none;
}
.catalog-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 8px 10px 0 0;
}
.catalog-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e5e5ea;
  color: #515154;
  font-size: 22px;
}
.catalog-controls button:disabled {
  opacity: 0.35;
}
.catalog-controls button:active:not(:disabled) {
  transform: scale(0.94);
}
@media (max-width: 700px) {
  .catalog-chapters,
  .catalog-chapter {
    min-width: 0;
    max-width: 100%;
  }
  .catalog-chapter .program-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(224px, min(78vw, 380px));
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    width: 100%;
    max-width: 100%;
    padding-bottom: 8px;
    scroll-padding-inline: 1px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .program-grid::-webkit-scrollbar {
    display: none;
  }
  .catalog-chapter .program-card {
    scroll-snap-align: start;
    max-width: none;
  }
  .legal-layout {
    width: calc(100% - 40px);
  }
}
.program-cover::after,
.product-art::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: #ffffff1f;
  backdrop-filter: blur(14px) saturate(125%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.45, 0, 0.15, 1);
}
.cover-copy {
  z-index: 1;
  pointer-events: none;
}
.cover-main {
  display: block;
  transition: transform 1s cubic-bezier(0.45, 0, 0.15, 1);
}
.cover-copy p {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  font-size: 16px;
  line-height: 1.35;
  transition:
    max-height 1s cubic-bezier(0.45, 0, 0.15, 1),
    margin-top 1s cubic-bezier(0.45, 0, 0.15, 1),
    opacity 0.9s cubic-bezier(0.45, 0, 0.15, 1);
}
@media (hover: hover) and (pointer: fine) {
  .program-card:hover .program-cover::after,
  .program-card:focus-visible .program-cover::after,
  .product-art:hover::after {
    opacity: 1;
    transition-duration: 0.42s;
  }
  .program-card:hover .cover-main,
  .program-card:focus-visible .cover-main,
  .product-art:hover .cover-main {
    transform: translateY(-4px);
    transition-duration: 0.42s;
  }
  .program-card:hover .cover-copy p,
  .program-card:focus-visible .cover-copy p,
  .product-art:hover .cover-copy p {
    max-height: 5.4em;
    margin-top: 10px;
    opacity: 1;
    transition-duration: 0.42s, 0.42s, 0.36s;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .program-cover::after,
  .product-art::after {
    backdrop-filter: none;
    background: #15151955;
  }
}
@media (prefers-reduced-motion: reduce) {
  .program-cover::after,
  .product-art::after {
    transition: none;
  }
}

.product-example-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border: 1px solid #ffffffa6;
  border-radius: 100px;
  color: #1d1d1f;
  background: #fffffff2;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.25;
}
.checkout-price-label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
