/* COMPACT DECK storefront */
.cd-entry, .cd-product { --cd-ink: var(--ink,#25374a); --cd-line: #dae5ec; --cd-muted: var(--muted,#596777); color: var(--cd-ink); }
.cd-entry, .cd-product { --cd-inset: clamp(14px, 2.5vw, 30px); }
.cd-entry { padding-block: clamp(14px, 2.8vw, 38px); }
.cd-shelf, .cd-hero { border: 1px solid var(--cd-line); border-radius: 16px; overflow: hidden; }
.cd-banner {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(96px, 36%, 320px);
  grid-template-areas: "label logo" "title logo" "summary logo";
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  gap: 5px clamp(10px, 2vw, 24px);
  padding: var(--cd-inset);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #dfedf3;
  background-image: linear-gradient(90deg,#ffffff88 1px,transparent 1px), linear-gradient(#ffffff88 1px,transparent 1px), linear-gradient(115deg,#edf7fb,#d3e8f0 68%,#f2e8f1);
  background-size: 28px 28px,28px 28px,100% 100%;
}
.cd-banner::before, .cd-banner::after {
  content: "";
  position: absolute;
  left: 79%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid #ffffffbf;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.cd-banner::after { width: 65%; border-style: dashed; }
.cd-label, .cd-crumb { font-size: .84rem; font-weight: 650; letter-spacing: .04em; color: var(--cd-muted); }
.cd-banner .cd-label { grid-area: label; align-self: end; font-size: clamp(.72rem,1.2vw,.82rem); }
.cd-label span { white-space: nowrap; }
.cd-banner :is(h1,h2) { grid-area: title; align-self: start; margin: 0; color: var(--cd-ink); font: 700 clamp(1.3rem,4vw,2.8rem)/1.05 Arial,sans-serif; letter-spacing: -.045em; }
.cd-summary { grid-area: summary; align-self: start; color: var(--cd-muted); font-size: clamp(.86rem,1.3vw,1rem); line-height: 1.55; text-wrap: balance; }
.cd-section p, .cd-features dd { font-size: 1rem; line-height: 1.85; color: var(--cd-muted); }
.cd-art {
  grid-area: logo;
  min-width: 0;
  align-self: center;
  display: grid;
  place-items: center;
  aspect-ratio: 2.1;
}
.cd-art img { width: 92%; height: auto; }
.cd-offer {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap: 12px 24px;
  align-items: center;
  border-top: 1px solid var(--cd-line);
  padding: clamp(12px,1.8vw,20px) var(--cd-inset);
  background: #fff;
}
.cd-entry-price { display: flex; align-items: center; flex-wrap: wrap; gap: .6em; color: #163e50; }
.cd-price-badge { border-radius: 6px; padding: .22em .55em; color: #305c79; background: #e4f3fb; font-size: .9rem; font-weight: 750; }
.cd-price-amount { display: inline-flex; align-items: baseline; gap: .2em; font-weight: 700; white-space: nowrap; }
.cd-entry-price strong, .cd-prices strong { font: 700 clamp(1.6rem,3vw,2.6rem)/1.05 Arial,sans-serif; letter-spacing: -.045em; }
.cd-entry-price strong { font-size: clamp(1.85rem,3.2vw,2.45rem); }
.cd-entry-regular { font-size: .84rem; line-height: 1.5; color: var(--cd-muted); margin-top: .4em; }
.cd-entry-regular span { margin-inline-start: .6em; }
.cd-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(6px,1vw,10px); width: 100%; max-width: 25rem; }
.cd-offer .cd-actions { justify-self: end; }
.cd-button, .cd-link { display: inline-flex; align-items: center; justify-content: center; gap: .8em; font-weight: 700; line-height: 1.5; }
.cd-button { background: var(--cd-ink); color: white; padding: .8em 1.2em; border-radius: 12px; }
.cd-button:hover { background: #28586b; }
.cd-actions .cd-button { min-width: 0; min-height: 44px; padding: .58em .25em; gap: .32em; font-size: clamp(.875rem,1.4vw,.94rem); text-align: center; }
.cd-trial { background: #346784; border: 1px solid #346784; }
.cd-trial:hover { background: #28556e; }
.cd-secondary { background: white; color: #163e50; border: 1px solid #869fa7; }
.cd-secondary:hover { background: #eaf4f4; }
.cd-link { color: #155e75; text-decoration: underline; text-underline-offset: .22em; padding-block: .65em; }
.cd-product { max-width: 960px; padding-block: clamp(18px,3vw,36px) clamp(40px,6vw,78px); }
.cd-crumb { margin-bottom: clamp(12px,1.8vw,20px); }
.cd-crumb a { text-decoration: underline; text-underline-offset: .22em; }
.cd-crumb span { padding-inline: .5em; color: #738c99; }
.cd-hero { grid-template-columns: minmax(0,1fr) clamp(100px, 40%, 360px); grid-template-areas: "label logo" "title logo" "summary logo" "actions logo"; grid-template-rows: 1fr auto auto 1fr; }
.cd-hero > .cd-trial { grid-area: actions; place-self: start; margin-top: 6px; min-height: 44px; padding: .58em 1.2em; font-size: clamp(.875rem,1.4vw,.94rem); }
.cd-section { margin-top: clamp(22px,3.2vw,40px); }
.cd-product h2 { font-size: clamp(1.4rem,2.5vw,2.1rem); line-height: 1.4; margin-bottom: 18px; letter-spacing: -.025em; }
.cd-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px,1.3vw,14px); margin: 14px 0; }
.cd-prices > div { display: flex; flex-direction: column; align-items: center; gap: 7px; border: 1px solid var(--cd-line); padding: clamp(12px,1.6vw,20px); border-radius: 14px; background: #fbfdfe; }
.cd-prices .cd-member-price { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: clamp(12px,3vw,34px); border-color: #b8d9ea; background: linear-gradient(110deg,#e4f5fc,#f0f8fb 62%,#fff1f6); }
.cd-prices dt { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .4em; font-weight: 700; }
.cd-prices dd { margin: auto 0 0; white-space: nowrap; font-size: .82rem; }
.cd-prices .cd-member-price dd { margin: 0; }
.cd-prices strong { font-size: clamp(1.45rem,2.35vw,2.1rem); font-variant-numeric: tabular-nums; }
.cd-prices .cd-member-price strong { color: #284f69; font-size: clamp(1.85rem,3.6vw,3rem); }
.cd-prices small { font-size: .67rem; font-weight: 600; color: #536676; background: #fff; border: 1px solid var(--cd-line); padding: .08em .45em; border-radius: 1em; }
.cd-order { display: flex; gap: 10px; margin-block: 12px 8px; }
.cd-section .cd-price-note { font-size: .84rem; }
.cd-tour .cd-demo { max-width: 26rem; margin: 14px 0 0; }
.cd-detail { border-bottom: 1px solid var(--cd-line); }
.cd-detail summary { padding: 1em .25em; cursor: pointer; font-weight: 700; }
.cd-detail > div { padding: 0 .25em 1em; max-width: 75ch; }
.cd-detail p + p { margin-top: .5em; }
@media(max-width: 720px) {
  .cd-banner { grid-template-areas: "label logo" "title logo" "summary summary"; grid-template-rows: none; }
  .cd-hero { grid-template-areas: "label logo" "title logo" "summary summary" "actions actions"; }
  .cd-entry-regular { font-size: .78rem; }
  .cd-actions { max-width: none; }
  .cd-detail summary { min-height: 44px; }
  .cd-product h2 { font-size: 1.24rem; margin-bottom: 6px; }
  .cd-prices { margin: 10px 0; }
  .cd-prices > div { padding: 12px 6px; }
  .cd-prices dt { font-size: .85rem; }
  .cd-order { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  .cd-order .cd-button { min-height: 44px; padding: .65em .3em; gap: .3em; font-size: .84rem; }
  .cd-detail summary { padding-block: .7em; }
}
@media(max-width: 360px) {
  .cd-banner { grid-template-areas: "label label" "title logo" "summary summary"; }
  .cd-hero { grid-template-areas: "label label" "title logo" "summary summary" "actions actions"; }
  .cd-actions .cd-button span[aria-hidden="true"] { display: none; }
}
