/* dsrcloud.io additions on top of dsr.css (digitalsilkroute.com's own stylesheet).
   Only layout the main site has no class for; colours, fonts and radii come from the same tokens. */
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a[data-app] { cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 12px; border-radius: 8px; background: var(--card); color: var(--foreground); }
.skip:focus { left: 8px; }

/* Mobile menu */
.mobile-nav[hidden] { display: none; }

/* Homepage product grid: 3 across on desktop, 2 on tablets, 1 on phones */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
.product-grid .dsr-card-thumbnail img { object-position: top left; }
.bundle-art { background: radial-gradient(120% 90% at 100% 0%, color-mix(in oklch, var(--brand) 14%, transparent), transparent 60%); }

/* Detail page screenshots: big dashboard, second screen, and a phone */
.shot { margin: 0; overflow: hidden; border-radius: 0.75rem; border: 1px solid color-mix(in oklch, var(--foreground) 8%, transparent); background: var(--background); }
.shot img { display: block; width: 100%; height: auto; }
.screens { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 0.62fr); grid-template-areas: "main phone" "second phone"; gap: 16px; align-items: start; }
.screens-main { grid-area: main; }
.screens-second { grid-area: second; }
.screens-phone { grid-area: phone; border-radius: 1.5rem; }
@media (max-width: 767px) {
  .screens { grid-template-columns: 1fr; grid-template-areas: "main" "second" "phone"; }
  .screens-phone { width: 100%; max-width: 280px; justify-self: center; }
}

/* Pricing controls */
.price-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.price-field { display: grid; gap: 6px; }
.price-field select {
  min-height: 44px; min-width: 240px; width: 100%; max-width: 100%; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--input); background: var(--card); color: var(--foreground); font: inherit; font-size: 14px;
}
.price-toggle { display: flex; justify-self: start; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.price-toggle button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted-foreground); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.price-toggle button[aria-pressed="true"] { background: var(--card); color: var(--foreground); box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 10%, transparent); }
.price-toggle em { font-style: normal; font-size: 12px; color: var(--brand); margin-left: 4px; }

/* FAQ */
.faq details + details { border-top: 1px solid color-mix(in oklch, var(--foreground) 7%, transparent); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 32px 20px 0; font-weight: 600; font-size: 15px; color: var(--foreground); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 20px; color: var(--muted-foreground); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 14px; line-height: 1.75; color: var(--muted-foreground); max-width: 62ch; }
