/* Dotty Retro DS · home.css */

/* ─────────────────────────────────────────
   FULL SITE MOCK
   ───────────────────────────────────────── */
.site-real {
  background: #fff;
  min-height: 100vh;
}

.site-section {
  /* 16px gutters + content max = nav bar width */
  max-width: calc(var(--ds-max) + 32px);
  /* 40px between sections (margins collapse); matches prior 20+20 padding gap */
  margin: 40px auto;
  padding: 0 16px;
}
#dotty-hero.site-section {
  /* Same 40px gap under the nav as between sections */
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0 16px;
  /* Softbox zoom can spill into the next section */
  position: relative;
  z-index: 3;
}
#dotty-hero .ds-box-hero > .ds-box-body {
  padding: 65px 40px 70px;
  /* Body is transparent so panel stripes show; round since parent isn’t clipping */
  border-radius: inherit;
  background: transparent;
}
#dotty-hero .ds-box-hero .ds-grid-2 {
  gap: 32px;
  align-items: start;
}
#dotty-hero .ds-eyebrow {
  margin-top: 20px;
}
#dotty-hero .ds-chip-row {
  margin-top: 4px;
  margin-bottom: 8px;
}
#dotty-hero .ds-title-hero {
  font-weight: 700;
}
#dotty-hero .ds-actions {
  margin-bottom: 16px;
}
#dotty-hero .ds-qt {
  margin-top: 48px;
}
/* Hero is chromeless on the white page — no frame, fill, or float */
#dotty-hero .ds-box-hero {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#dotty-hero .ds-softbox-stage {
  min-height: 0;
  padding: 0;
  position: relative;
  z-index: 6;
  /* Room for the scaled projection so neighbors don’t steal the hover */
  isolation: isolate;
}
#dotty-features.site-section {
  margin-bottom: 40px;
}

/* iTunes-style 2×2 feature cards */
.ds-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ds-feature-card {
  display: block;
  padding: 5px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-rule);
  border-radius: 6px;
  box-shadow: var(--ds-shadow);
}

.ds-feature-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 200px;
  background: #f7f7f7;
  border-radius: 3px;
  overflow: hidden;
}

.ds-feature-card-copy {
  min-width: 0;
  padding: 22px 8px 18px 22px;
  align-self: start;
}

.ds-feature-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ds-ink);
}

.ds-feature-card-sub {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: #777;
}

.ds-feature-card-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

.ds-feature-card-media {
  position: relative;
  min-width: 0;
  min-height: 200px;
  align-self: stretch;
  overflow: hidden;
}
.ds-feature-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 800px) {
  .ds-feature-grid {
    grid-template-columns: 1fr;
  }
  .ds-feature-card-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ds-feature-card-copy {
    padding: 18px 18px 8px;
  }
  .ds-feature-card-media {
    min-height: 180px;
  }
}

/* Smaller 3-up tiles under the feature grid */
.ds-feature-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.ds-feature-mini {
  padding: 5px;
  background: #fff;
  border: 1px solid var(--ds-rule);
  border-radius: 6px;
  box-shadow: var(--ds-shadow);
}

.ds-feature-mini-inner {
  padding: 20px 22px 22px;
  background: #f7f7f7;
  border-radius: 3px;
}

.ds-feature-mini-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ds-ink);
}

.ds-feature-mini-sub {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: #777;
}

.ds-feature-mini-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

@media (max-width: 800px) {
  .ds-feature-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* Classic Mac ~2010: gray well inset ~5px so white rim shows */
#dotty-setups .ds-box-hero {
  background: #fff;
  background-image: none;
  border: 1px solid var(--ds-rule);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow);
  padding: 5px;
}
#dotty-setups .ds-box-hero > .ds-box-body {
  background: #f7f7f7;
  border: 0;
  border-radius: calc(var(--ds-radius-lg) - 3px);
  box-shadow: none;
}

#dotty-setups .ds-panel-headline {
  margin-bottom: 36px;
  font-size: 28px;
}

.ds-customer-avatars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 14px;
  padding-top: 8px;
}

.ds-customer-avatar {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
}

.ds-customer-avatar-halo {
  display: block;
  padding: 3px;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
  transition: padding 0.15s ease;
}

.ds-customer-avatar-img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
  transition: width 0.15s ease, height 0.15s ease;
}

.ds-customer-avatar.is-active .ds-customer-avatar-halo {
  padding: 5px;
  background: linear-gradient(to bottom, #9ad4f8, #2f78d0 55%, #1c5fa8);
}
.ds-customer-avatar.is-active .ds-customer-avatar-img {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 0 2px #fff;
}

.ds-customer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px 40px;
  align-items: start;
}

.ds-customer-media {
  min-width: 0;
}

/* Device bezel frame — wallpaper fills the screen hole; Dotty sits as a window on it */
.ds-device-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}

.ds-device-bezel {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.ds-device-desktop {
  position: absolute;
  z-index: 0;
  top: calc(var(--inset-t, 0.1424) * 100%);
  left: calc(var(--inset-l, 0.1267) * 100%);
  width: calc((1 - var(--inset-l, 0.1267) - var(--inset-r, 0.1267)) * 100%);
  height: calc((1 - var(--inset-t, 0.1424) - var(--inset-b, 0.1424)) * 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.2% / 1.8%;
  background-color: #6080a0;
  background-image: var(--ds-desktop-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ds-device-window {
  display: block;
  width: 84%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 5px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.32);
  background: #111;
}

/* Flat on the canvas — no card chrome */
.ds-customer-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8e8e8;
}

/* Bottom image picker (iTunes Browse style) */
.ds-customer-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  margin-top: 22px;
}

.ds-customer-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #6e6e6e;
  font: inherit;
  text-align: center;
}

.ds-customer-pick-halo {
  display: block;
  padding: 4px;
  border-radius: 5px;
  background: transparent;
  line-height: 0;
}

.ds-customer-pick-thumb {
  display: block;
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  background: #ddd;
}

.ds-customer-pick-label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  color: #6e6e6e;
  text-align: center;
}

/* Selection halo — blue vertical gradient, no outer border */
.ds-customer-pick.is-active .ds-customer-pick-halo {
  background: linear-gradient(to bottom, #9ad4f8, #2f78d0 55%, #1c5fa8);
  box-shadow: none;
}
.ds-customer-pick.is-active .ds-customer-pick-thumb {
  box-shadow: 0 0 0 2px #fff;
}
.ds-customer-pick.is-active .ds-customer-pick-label {
  color: #333;
  font-weight: 400;
}

.ds-customer-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.ds-customer-headline {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ds-ink);
  line-height: 1.25;
}

.ds-customer-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ds-ink-muted);
}

.ds-customer.is-fading .ds-device-frame,
.ds-customer.is-fading .ds-customer-copy {
  opacity: 0.35;
  transition: opacity 0.12s ease;
}
.ds-customer .ds-device-frame,
.ds-customer .ds-customer-copy {
  transition: opacity 0.18s ease;
}

@media (max-width: 800px) {
  .ds-customer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ds-customer-pick-thumb {
    width: 64px;
    height: 42px;
  }
}




/* Store panel — white rim + gray inset well */
#dotty-pricing .ds-box-hero {
  background: #fff;
  background-image: none;
  border: 1px solid var(--ds-rule);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow);
  padding: 5px;
}
#dotty-pricing .ds-box-hero > .ds-box-body {
  background: #f7f7f7;
  border: 0;
  border-radius: calc(var(--ds-radius-lg) - 3px);
  box-shadow: none;
}

.ds-panel-headline {
  margin: 4px 0 10px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ds-ink);
}

.ds-panel-sub {
  margin: 0 0 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #777;
}

.ds-pricing-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.ds-pricing-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4px 28px;
}
.ds-pricing-col:first-child {
  padding-left: 4px;
}
.ds-pricing-col:last-child {
  padding-right: 4px;
}
.ds-pricing-col + .ds-pricing-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12.5%;
  height: 75%;
  width: 1px;
  background: #d0d0d0;
}
.ds-pricing-col > .ds-btn-block {
  margin-top: auto;
}
.ds-price {
  margin: 2px 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ds-ink);
  letter-spacing: -0.02em;
}
.ds-price + .ds-section-label {
  margin-top: 4px;
}
.ds-payment-methods {
  margin: 0;
}
.ds-payment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ds-payment-method {
  display: none;
  box-sizing: border-box;
  width: 112px;
  height: 100px;
  padding: 14px 10px 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.ds-payment-method.is-available {
  display: flex;
}
.ds-payment-method svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #555;
}
.ds-payment-name {
  display: block;
  width: 100%;
  font-size: 11px;
  line-height: 1.25;
  color: var(--ds-muted, #888);
}
@media (max-width: 800px) {
  .ds-pricing-cols {
    grid-template-columns: 1fr;
  }
  .ds-pricing-col {
    padding: 18px 4px;
  }
  .ds-pricing-col + .ds-pricing-col::before {
    left: 4px;
    right: 4px;
    top: 0;
    width: auto;
    height: 1px;
  }
}
#dotty-library.site-section {
  margin-top: 48px;
  margin-bottom: 48px;
}
.site-section-inner {
  max-width: var(--ds-max);
  margin: 0 auto;
}
.site-section.wash {
  max-width: none;
  margin: 40px 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.site-section.wash > .site-section-inner {
  padding: 0 16px;
}
.site-section-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--ds-ink-muted);
  margin-bottom: 18px;
  line-height: 1.25;
}
.site-section-title strong {
  font-weight: 700;
  color: var(--ds-ink);
}
.ds-title strong { font-weight: 700; }

/* Library title sits on wood — keep both weights light */
.site-section.site-books-shelf .site-section-title {
  color: rgba(246, 235, 207, 0.72);
  margin-bottom: 28px;
}
.site-section.site-books-shelf .site-section-title strong {
  color: #fff8e8;
}

.ds-faq {
  width: 100%;
}
.ds-faq .ds-box-body {
  padding-top: 8px;
  padding-bottom: 12px;
}
.ds-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 24px 0 40px;
  text-align: left;
}
.ds-faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ds-faq-item:first-child {
  border-top: 0;
}
.ds-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 14px 8px 14px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #f2f2f2;
  position: relative;
}
.ds-faq-q::-webkit-details-marker {
  display: none;
}
/* Classic Mac OS X disclosure triangle */
.ds-faq-q::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #c8c8c8;
  transform: translateY(-50%);
  transition: transform 0.12s ease;
}
.ds-faq-item[open] > .ds-faq-q::before {
  transform: translateY(-50%) rotate(90deg);
}
.ds-faq-a {
  padding: 0 8px 16px 22px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 62em;
  color: #a8a8a8;
}
.ds-faq-a a {
  color: #6eb6ff;
}
.ds-faq-cta-note {
  margin: 0 0 14px;
}
