/* These guides share a type scale with the storefront and use real examples in place of product mockups. */
.cx-page { --cx-ink: #181825; --cx-muted: #565668; --cx-violet: #4136ae; color: var(--cx-ink); }
.cx-page h1, .cx-page h2, .cx-page h3, .cx-page h4, .cx-page p, .cx-page figure, .cx-page blockquote { margin: 0; }
.cx-page h1 { max-width: 12ch; font-size: clamp(3rem,6.3vw,6rem); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.cx-page h2 { font-size: clamp(2rem,3.6vw,3.3rem); letter-spacing: -.055em; }
.cx-page h3 { font-size: clamp(1.25rem,1.9vw,1.8rem); }
.cx-page h4 { font-size: 1rem; letter-spacing: -.015em; font-weight: 690; }
.cx-page h3 small { display: block; margin-top: .35rem; font-size: .86rem; font-weight: 480; letter-spacing: 0; color: var(--cx-muted); }
.cx-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.5rem,6vw,6rem);
}
.cx-copy .lead { margin: 1.15rem 0 1.6rem; max-width: 39ch; }
.cx-page .button { border-radius: 2rem; }
.cx-proof { min-width: 0; border-radius: 1.5rem; }
.cx-transcript {
  display: grid;
  align-content: center;
  min-height: 24rem;
  padding: clamp(1.35rem,3.1vw,3rem);
  color: #fff;
  background: #292347;
  box-shadow: inset 0 0 0 1px #3c3555;
}
.cx-transcript figcaption, .cx-crops figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.cx-transcript figcaption { color: #e2d9ff; font-size: .9rem; font-weight: 610; }
.cx-transcript figcaption span { color: #d8d0e4; font-size: .86rem; font-weight: 450; }
.cx-transcript blockquote { max-width: 30ch; margin-block: 1.45rem; color: white; font-size: clamp(1.3rem,2vw,2.05rem); line-height: 1.24; font-weight: 540; letter-spacing: -.035em; text-wrap: pretty; }
.cx-draft {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .65rem;
  background: white;
  color: #272633;
  border-radius: .95rem;
  max-width: 26rem;
}
.cx-draft img { width: clamp(3.75rem,6vw,5.3rem); aspect-ratio: 1; height: auto; object-fit: cover; border-radius: .56rem; }
.cx-draft div { display: grid; gap: .1rem; }
.cx-draft small { color: #4b367e; font-size: .83rem; font-weight: 620; }
.cx-draft strong { font-size: clamp(1.06rem,1.6vw,1.4rem); letter-spacing: -.034em; }
.cx-draft span, .cx-crops figcaption { font-size: .88rem; }
.cx-gallery { width: 100%; min-width: 0; margin: 0; padding: 0; border: none; background: #eeeaf5; }
.cx-gallery legend {
  float: left;
  width: 100%;
  padding: 1.3rem 1.4rem .35rem;
  font-weight: 640;
  color: #40374e;
}
.cx-samples { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; clear: both; margin-inline: 1.4rem; }
.cx-samples label { display: inline-grid; min-height: 44px; align-items: center; cursor: pointer; }
.cx-samples input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.cx-samples span { display: inline-block; padding: .35rem .8rem; border: 1px solid transparent; border-radius: 2rem; font-size: .87rem; font-weight: 590; color: #4f485c; }
.cx-samples input:checked + span { border-color: #c6bfd7; background: #fff; color: #32244b; }
.cx-samples input:focus-visible + span { outline: 3px solid var(--cx-violet); outline-offset: 2px; }
.cx-crops { position: relative; display: none; padding: 1.5rem 1.4rem 1.2rem; }
.cx-crop-food { display: block; }
.cx-gallery:has(input:checked:not([value="food"])) .cx-crop-food { display: none; }
.cx-gallery:has(input[value="outdoors"]:checked) .cx-crop-outdoors, .cx-gallery:has(input[value="music"]:checked) .cx-crop-music { display: block; }
.cx-wide, .cx-tall { position: relative; overflow: hidden; isolation: isolate; border-radius: .7rem; background: #28232e; }
.cx-wide { width: 85%; aspect-ratio: 16 / 9; }
.cx-tall { position: absolute; top: .8rem; bottom: 2.5rem; right: 1.4rem; aspect-ratio: 9 / 16; border: 3px solid #fff; box-shadow: 0 3px 12px #1710232e; }
.cx-wide img, .cx-tall img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cx-tall img { object-position: 70% center; }
.cx-wide::after, .cx-tall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#100d1bd9,transparent 52%); }
.cx-wide span, .cx-tall span { position: absolute; z-index: 1; bottom: 8%; left: 6%; max-width: 85%; color: white; font-family: Georgia, serif; font-size: clamp(1.45rem,2.8vw,2.6rem); line-height: 1.02; letter-spacing: -.05em; }
.cx-tall span { bottom: 7%; font-size: clamp(1.05rem,1.6vw,1.65rem); }
.cx-crops figcaption { margin-top: .45rem; color: #51485c; }
.cx-directory, .cx-bottom { margin-top: clamp(3.5rem,7.4vw,7rem); }
.cx-directory { scroll-margin-top: 1.2rem; }
.cx-section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1rem 3rem; margin-bottom: 1.7rem; }
.cx-section-head p, .cx-bottom p, .cx-row p { color: var(--cx-muted); }
.cx-section-head p { max-width: 46ch; justify-self: end; }
.cx-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(10rem,.8fr) minmax(0,1.7fr) minmax(7rem,.75fr);
  gap: 1rem clamp(1.25rem,3.9vw,4rem);
  align-items: start;
  padding: clamp(1.45rem,2.7vw,2.4rem) 0;
  border-top: 1px solid #dedee7;
  scroll-margin-top: 1rem;
}
.cx-row:last-child { border-bottom: 1px solid #dedee7; }
.cx-channel { grid-template-columns: minmax(10rem,.8fr) minmax(0,1.45fr) minmax(8rem,.75fr); }
.cx-identity, .cx-identity a { display: flex; align-items: center; gap: .75rem; }
.cx-identity a { min-height: 44px; color: inherit; text-decoration: none; }
.cx-identity a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.cx-product-mark { display: block; flex: none; object-fit: contain; }
.cx-description p, .cx-eligibility p { margin-top: .4rem; font-size: 1rem; line-height: 1.58; }
.cx-doc-link { justify-self: end; min-height: 44px; align-content: start; font-weight: 610; }
.cx-bottom {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 1rem clamp(2rem,5vw,5rem);
  padding: clamp(1.6rem,4vw,3.4rem);
  border-radius: 1.2rem;
  background: #f4f3f9;
}
.cx-bottom h2 { max-width: 17ch; }
.cx-bottom p { margin-block-start: .75rem; }
.cx-bottom > .button { justify-self: end; }
.cx-developer details { border-color: #d8d5e3; }
.cx-developer summary { padding-block: .3rem; }
.cx-developer details p { padding-top: 0; }
.cx-page .cx-attribution { color: #676275; max-width: 88ch; font-size: .82rem; margin-top: 1rem; }
.cx-assistant-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: .85rem 0; padding: 0; list-style: none; }
.cx-assistant-links a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .35rem .85rem; border: 1px solid #dbd9e3; border-radius: 2rem; color: #343144; background: #fff; font-weight: 610; text-decoration: none; }
.cx-assistant-links a:hover { border-color: #8c82c3; color: var(--cx-violet,#4136ae); }
@media (prefers-reduced-motion: no-preference) {
  .cx-samples span, .cx-assistant-links a { transition: background-color .14s ease, border-color .14s ease; }
}
@media (max-width: 54rem) {
  .cx-hero { gap: 1.6rem; }
  .cx-row, .cx-channel { grid-template-columns: minmax(8rem,.9fr) minmax(0,1.5fr); }
  .cx-eligibility, .cx-doc-link { grid-column: 2; justify-self: start; }
  .cx-transcript { min-height: 21rem; }
}
@media (max-width: 43rem) {
  .cx-hero, .cx-section-head, .cx-bottom { grid-template-columns: minmax(0,1fr); }
  .cx-copy .lead { margin-block: .85rem 1.15rem; }
  .cx-hero { gap: 1.7rem; }
  .cx-proof { border-radius: 1rem; }
  .cx-transcript { min-height: 0; }
  .cx-transcript blockquote { margin-block: 1rem; }
  .cx-page h1 { max-width: 14ch; }
  .cx-section-head { gap: .65rem; }
  .cx-section-head p { justify-self: start; }
  .cx-row, .cx-channel { grid-template-columns: minmax(0,1fr); gap: .8rem; }
  .cx-eligibility, .cx-doc-link { grid-column: auto; }
  .cx-doc-link { min-height: auto; padding-block: .3rem; }
  .cx-row h3 small { display: inline; margin-left: .65rem; }
  .cx-row .cx-product-mark { width: 32px; height: 32px; }
  .cx-bottom { align-items: start; }
  .cx-bottom > .button { justify-self: start; }
}
@media (forced-colors: active) {
  .cx-samples input:checked + span { border: 2px solid Highlight; }
}
