/* digital-direct-sales-01   (namespace: ds-)
   Premium direct-sales page for digital products. Cairo only.
   STRUCTURE lives here and in index.html; CONTENT + brand colours come from content/*.json.
   Signature shape: the "arch" (rounded top). Re-theme by changing the four brand tokens. */

@font-face { font-family: "Cairo"; src: url("../assets/fonts/cairo-arabic.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; src: url("../assets/fonts/cairo-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cairo"; src: url("../assets/fonts/cairo-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.ds {
  /* ===== brand tokens (set from content.brand.colors) ===== */
  --ds-primary: #3b2fb5;
  --ds-accent: #ffb020;
  --ds-ink: #14151f;
  --ds-bg: #f6f6fa;

  /* ===== derived (do not edit) ===== */
  --ds-primary-deep: color-mix(in srgb, var(--ds-primary) 70%, #000);
  --ds-tint: color-mix(in srgb, var(--ds-primary) 9%, #fff);
  --ds-tint-2: color-mix(in srgb, var(--ds-primary) 16%, #fff);
  --ds-accent-press: color-mix(in srgb, var(--ds-accent) 78%, #000);
  --ds-accent-soft: color-mix(in srgb, var(--ds-accent) 22%, #fff);
  --ds-muted: color-mix(in srgb, var(--ds-ink) 72%, #fff);
  --ds-line: color-mix(in srgb, var(--ds-ink) 13%, #fff);
  --ds-on-dark-muted: color-mix(in srgb, #fff 74%, var(--ds-primary-deep));
  --ds-ok: #137a4f;
  --ds-bad: #b23a3a;

  --ds-font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --ds-arch: 999px 999px 0 0;
  --ds-pad: 18px;

  margin: 0;
  background: #fff;
  color: var(--ds-ink);
  font-family: var(--ds-font);
  font-size: 1.0625rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px;
}
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; }
.ds a { color: inherit; }
.ds button { font-family: inherit; }
.ds :focus-visible { outline: 3px solid var(--ds-primary); outline-offset: 3px; border-radius: 6px; }
.ds-dark :focus-visible { outline-color: var(--ds-accent); }
.ds [hidden] { display: none !important; }
.ds-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--ds-pad); }
.ds-num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ds-skip { position: absolute; inset-inline-start: 12px; top: -90px; background: var(--ds-ink); color: #fff !important; padding: 10px 18px; z-index: 100; border-radius: 8px; }
.ds-skip:focus { top: 10px; }
.ds-ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.ds-h1, .ds-h2, .ds-h3 { margin: 0; font-weight: 800; text-wrap: balance; }
.ds-h1 { font-size: clamp(2.05rem, 7.6vw, 3.55rem); line-height: 1.26; font-weight: 900; letter-spacing: -.003em; }
.ds-h2 { font-size: clamp(1.7rem, 5.6vw, 2.6rem); line-height: 1.32; }
.ds-h3 { font-size: 1.15rem; line-height: 1.55; font-weight: 700; }
.ds-lead { margin: 0; color: var(--ds-muted); font-size: clamp(1.05rem, 3.1vw, 1.2rem); line-height: 1.95; max-width: 36em; }
.ds-dark .ds-lead { color: var(--ds-on-dark-muted); }
.ds-section { padding-block: 60px; position: relative; }
.ds-section--tint { background: var(--ds-bg); }
.ds-head { margin-bottom: 32px; max-width: 42rem; }
.ds-head .ds-lead { margin-top: 10px; }
.ds-dark { background: var(--ds-primary-deep); color: #fff; }
.ds-dark .ds-h2, .ds-dark .ds-h3 { color: #fff; }

/* ---------- buttons ---------- */
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 28px; border: 2px solid var(--ds-ink); border-radius: 14px; background: var(--ds-accent); color: var(--ds-ink) !important; font-weight: 900; font-size: 1.1rem; line-height: 1.3; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--ds-ink); transition: transform .14s, box-shadow .14s, background-color .14s; }
.ds-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ds-ink); background: color-mix(in srgb, var(--ds-accent) 90%, #fff); }
.ds-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ds-ink); background: var(--ds-accent-press); }
.ds-btn--block { width: 100%; }
.ds-btn--xl { min-height: 62px; font-size: 1.2rem; }
.ds-btn--sm { min-height: 44px; padding: 4px 18px; font-size: .96rem; box-shadow: 0 3px 0 var(--ds-ink); }
.ds-btn--ghost { background: #fff; }
.ds-btn--ghost:hover { background: var(--ds-tint); }
.ds-dark .ds-btn { border-color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.45); }
.ds-link { font-weight: 800; color: var(--ds-primary) !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, var(--ds-primary) 45%, transparent); line-height: 1.8; }
.ds-link:hover { text-decoration-color: currentColor; }
.ds-dark .ds-link { color: #fff !important; text-decoration-color: rgba(255,255,255,.5); }
.ds-cta { display: flex; flex-direction: column; gap: 14px; align-items: stretch; margin-top: 32px; }

/* ---------- announcement + header ---------- */
.ds-ann { background: var(--ds-ink); color: #fff; text-align: center; font-size: .9rem; line-height: 1.6; padding: 7px var(--ds-pad); }
.ds-ann a { color: var(--ds-accent) !important; font-weight: 800; margin-inline-start: 8px; white-space: nowrap; }
.ds-top { background: #fff; border-bottom: 1px solid var(--ds-line); }
.ds-top__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.ds-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.1rem; line-height: 1.2; min-width: 0; }
.ds-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.ds-mono { width: 36px; height: 40px; flex: none; background: var(--ds-primary); color: #fff; display: grid; place-items: end center; border-radius: 999px 999px 8px 8px; font-weight: 900; font-size: 1.05rem; line-height: 1.5; padding-bottom: 2px; }
.ds-nav { display: none; gap: 26px; font-weight: 700; }
.ds-nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.ds-nav a:hover { border-bottom-color: var(--ds-accent); }

/* ---------- hero ---------- */
.ds-hero { background: var(--ds-bg); padding-block: 26px 52px; overflow: hidden; }
.ds-hero__grid { display: grid; gap: 36px; align-items: center; }
.ds-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--ds-tint); color: var(--ds-primary-deep); border-radius: 999px; padding: 2px 16px; font-weight: 800; font-size: .92rem; line-height: 1.9; margin-bottom: 16px; }
.ds-hero .ds-lead { margin-top: 16px; }
.ds-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 6px; font-weight: 700; }
.ds-points li { display: flex; gap: 10px; align-items: flex-start; }
.ds-points .ds-ico { color: var(--ds-ok); margin-top: .3em; }

/* buy bar: the offer, fused with the CTA */
.ds-buy { margin-top: 26px; display: grid; gap: 12px; padding: 12px; background: #fff; border: 2px solid var(--ds-ink); border-radius: 20px; }
.ds-buy__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-inline: 8px; line-height: 1.2; }
.ds-buy__price b { font-size: clamp(2.8rem, 11vw, 3.3rem); font-weight: 900; line-height: 1; direction: ltr; }
.ds-buy__price span { font-weight: 800; font-size: 1.15rem; }
.ds-buy__price small { flex-basis: 100%; color: var(--ds-muted); font-weight: 600; font-size: .9rem; line-height: 1.5; }
.ds-hero__sub { margin: 14px 4px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.ds-buy__note { color: var(--ds-muted); font-weight: 700; font-size: .95rem; line-height: 1.6; }

/* product stage (replaceable: [data-ds-media]) */
.ds-stage { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1 / 1.1; }
.ds-arch { position: absolute; inset: 0; background: var(--ds-primary); border-radius: 999px 999px 26px 26px; overflow: hidden; }
.ds-arch::before, .ds-arch::after { content: ""; position: absolute; inset-inline: 9%; top: 6%; bottom: 0; border: 2px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 999px 999px 0 0; }
.ds-arch::after { inset-inline: 19%; top: 13%; }
.ds-ftags { position: absolute; z-index: 5; inset-inline: 0; top: 7%; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding-inline: 12%; }
.ds-ftag { background: #fff; color: var(--ds-ink); border: 2px solid var(--ds-ink); border-radius: 8px; padding: 0 10px; font-weight: 900; font-size: .78rem; line-height: 1.8; }
.ds-cover { position: absolute; z-index: 3; left: 50%; bottom: 7%; width: 48%; aspect-ratio: 3 / 4.15; translate: -62% 0; rotate: -3deg; background: #fff; border-radius: 6px 12px 12px 6px; box-shadow: 0 22px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; color: var(--ds-ink); }
.ds-cover::before { content: ""; position: absolute; z-index: 0; inset-inline: 14%; bottom: -2%; height: 34%; border: 2px solid color-mix(in srgb, var(--ds-primary) 28%, #fff); border-bottom: 0; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 9px #fff, 0 0 0 11px color-mix(in srgb, var(--ds-primary) 16%, #fff); }
.ds-cover::after { content: ""; position: absolute; inset-block: 0; right: 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0)); }
.ds-cover > img { width: 100%; height: 100%; object-fit: cover; }
.ds-cover__top { background: var(--ds-primary-deep); color: #fff; padding: 9% 9% 8%; border-radius: 0 0 999px 999px; font-weight: 700; font-size: clamp(.5rem, 1.8vw, .74rem); line-height: 1.4; min-height: 27%; display: flex; align-items: flex-start; }
.ds-cover__body { position: relative; z-index: 1; padding: 7% 9% 0; display: grid; gap: 4px; align-content: start; flex: 1; }
.ds-cover__body strong { font-size: clamp(.95rem, 4vw, 1.65rem); font-weight: 900; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ds-cover__body small { font-size: clamp(.5rem, 1.6vw, .72rem); font-weight: 600; color: var(--ds-muted); line-height: 1.4; }
.ds-cover__foot { position: relative; z-index: 1; padding: 0 9% 7%; display: flex; align-items: center; gap: 6px; font-size: clamp(.48rem, 1.5vw, .7rem); font-weight: 800; line-height: 1.3; }
.ds-cover__foot i { width: 14px; height: 16px; border-radius: 999px 999px 3px 3px; background: var(--ds-accent); flex: none; }
.ds-sheet { position: absolute; z-index: 2; left: 50%; bottom: 9%; width: 44%; aspect-ratio: 3 / 4; background: #fff; border-radius: 6px; padding: 5% 6%; display: grid; gap: 6px; align-content: start; box-shadow: 0 16px 30px rgba(0,0,0,.28); }
.ds-sheet--1 { translate: -28% 0; rotate: 6deg; }
.ds-sheet b { font-size: clamp(.5rem, 1.7vw, .72rem); color: var(--ds-primary); font-weight: 800; line-height: 1.4; }
.ds-board { position: absolute; z-index: 4; right: 4%; bottom: 3%; width: 46%; background: #fff; border: 2px solid var(--ds-ink); border-radius: 12px; padding: 5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; rotate: 4deg; box-shadow: -6px 6px 0 var(--ds-ink); }
.ds-ln { display: block; height: 5px; width: var(--w, 100%); background: color-mix(in srgb, var(--ds-ink) 18%, #fff); border-radius: 3px; }
.ds-ln--p { background: var(--ds-primary); }
.ds-ln--a { background: var(--ds-accent); }
.ds-col { background: var(--ds-tint); border-radius: 5px; padding: 8% 7%; display: grid; gap: 5px; align-content: start; }
.ds-col i { display: block; background: #fff; border: 1px solid var(--ds-line); border-radius: 3px; padding: 6%; }

/* one orchestrated entrance: the stage assembles */
.cv-js:not(.ds-ready) .ds-cover { translate: -62% 40px; opacity: 0; }
.cv-js:not(.ds-ready) .ds-sheet { translate: 0 30px; opacity: 0; rotate: 0deg; }
.cv-js:not(.ds-ready) .ds-board { translate: 0 40px; opacity: 0; }
.cv-js:not(.ds-ready) .ds-ftags { opacity: 0; }
.ds-ready .ds-cover, .ds-ready .ds-sheet, .ds-ready .ds-board, .ds-ready .ds-ftags { transition: translate .8s cubic-bezier(.2,.9,.2,1.05), rotate .8s cubic-bezier(.2,.9,.2,1.05), opacity .6s; }
.ds-ready .ds-sheet { transition-delay: .12s; }
.ds-ready .ds-board { transition-delay: .24s; }
.ds-ready .ds-ftags { transition-delay: .4s; }

/* ---------- product (what you get) ---------- */
.ds-product { display: grid; gap: 28px; align-items: start; }
.ds-product__desc { font-size: clamp(1.1rem, 3.2vw, 1.3rem); line-height: 2; margin: 14px 0 0; max-width: 32em; }
.ds-spec { margin: 0; border-top: 2px solid var(--ds-ink); }
.ds-spec > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds-spec dt { font-weight: 800; color: var(--ds-muted); font-size: .95rem; }
.ds-spec dd { margin: 0; font-weight: 700; }

/* ---------- problem ---------- */
.ds-problem { display: grid; gap: 28px; }
.ds-bridge { margin-top: 22px; padding: 18px 20px; background: var(--ds-primary); color: #fff; border-radius: 18px 18px 18px 4px; font-weight: 800; font-size: 1.08rem; line-height: 1.8; }
.ds-pains { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ds-ink); }
.ds-pains li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid var(--ds-line); }
.ds-pains li > i { grid-row: span 2; width: 36px; height: 36px; border: 2px solid var(--ds-bad); border-radius: 50%; display: grid; place-items: center; color: var(--ds-bad); }
.ds-pains li > i::before { content: ""; width: 14px; height: 2.5px; border-radius: 2px; background: currentColor; }
.ds-pains h3 { margin: 0; }
.ds-pains p { margin: 0; color: var(--ds-muted); }

/* ---------- solution / benefits ---------- */
.ds-bens { display: grid; gap: 14px; }
.ds-ben { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 20px; background: #fff; border: 2px solid var(--ds-line); border-radius: 18px; }
.ds-ben__ck { grid-row: span 2; width: 38px; height: 44px; background: var(--ds-tint-2); color: var(--ds-primary-deep); border-radius: 999px 999px 8px 8px; display: grid; place-items: end center; padding-bottom: 8px; }
.ds-ben__ck .ds-ico { width: 18px; height: 18px; }
.ds-ben h3 { margin: 0; }
.ds-ben p { margin: 0; color: var(--ds-muted); }
.ds-ben:first-child { background: var(--ds-primary-deep); border-color: var(--ds-primary-deep); color: #fff; padding: 28px 24px; border-radius: 28px 28px 28px 6px; align-content: end; grid-template-columns: 1fr; }
.ds-ben:first-child .ds-ben__ck { background: var(--ds-accent); color: var(--ds-ink); width: 46px; height: 54px; grid-row: auto; margin-bottom: 18px; padding-bottom: 12px; }
.ds-ben:first-child { position: relative; overflow: hidden; }
.ds-ben:first-child::before, .ds-ben:first-child::after { content: ""; position: absolute; inset-inline-end: 7%; top: 9%; width: 42%; aspect-ratio: 1 / 1.05; border: 2px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 999px 999px 0 0; }
.ds-ben:first-child::after { inset-inline-end: 15%; width: 26%; top: 20%; }
.ds-ben:first-child > * { position: relative; z-index: 1; }
.ds-ben:first-child h3 { color: #fff; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.35; }
.ds-ben:first-child p { color: var(--ds-on-dark-muted); font-size: 1.08rem; }

/* ---------- preview viewer ---------- */
.ds-tabs { display: flex; gap: 6px; padding: 5px; background: rgba(255,255,255,.12); border-radius: 14px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.ds-tabs::-webkit-scrollbar { display: none; }
.ds-tabs button { flex: none; border: 0; background: transparent; color: var(--ds-on-dark-muted); font-weight: 800; font-size: .98rem; line-height: 1.4; padding: 10px 18px; border-radius: 10px; cursor: pointer; }
.ds-tabs button:hover { color: #fff; }
.ds-tabs button[aria-selected="true"] { background: #fff; color: var(--ds-primary-deep); }
.ds-viewer { background: var(--ds-primary); border-radius: 24px; padding: 14px; }
.ds-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font-weight: 700; font-size: .9rem; padding: 2px 6px 12px; line-height: 1.5; }
.ds-nav-btns { display: inline-flex; gap: 6px; }
.ds-nav-btns button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.ds-nav-btns button:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.ds-nav-btns .ds-ico { width: 18px; height: 18px; }
.ds-panel { min-height: 0; display: grid; gap: 14px; align-items: start; }
.ds-panel.is-in { animation: ds-in .3s ease; }
@keyframes ds-in { from { opacity: 0; transform: translateY(8px); } }
.ds-panel > img { width: 100%; border-radius: 14px; display: block; }
.ds-pg { background: #fff; color: var(--ds-ink); border-radius: 14px; padding: 18px; display: grid; gap: 9px; align-content: start; }
.ds-pg__h { margin: 0 0 2px; font-weight: 800; font-size: .98rem; color: var(--ds-primary-deep); line-height: 1.5; }
.ds-callout { background: var(--ds-accent-soft); border-inline-start: 4px solid var(--ds-accent); border-radius: 8px; padding: 10px 12px; display: grid; gap: 7px; }
.ds-chk { display: flex; align-items: center; gap: 8px; }
.ds-chk::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 2px solid color-mix(in srgb, var(--ds-ink) 40%, #fff); flex: none; }
.ds-chk.on::before { background: var(--ds-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--ds-ok); }
.ds-field { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ds-muted); line-height: 1.5; }
.ds-field i { height: 32px; border: 1.5px solid var(--ds-line); border-radius: 8px; background: #fbfbfd; display: block; }
.ds-kan { display: grid; gap: 10px; }
.ds-kan > div { background: var(--ds-tint); border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.ds-kan h4 { margin: 0; font-size: .85rem; font-weight: 800; color: var(--ds-primary-deep); line-height: 1.5; }
.ds-kan i { display: grid; gap: 5px; background: #fff; border: 1px solid var(--ds-line); border-radius: 8px; padding: 9px; }
.ds-ring { width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--ds-ok) 0 72%, var(--ds-tint-2) 0); display: grid; place-items: center; position: relative; font-weight: 900; font-size: .78rem; flex: none; }
.ds-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.ds-ring b { position: relative; direction: ltr; }
.ds-cap { margin: 14px 4px 0; color: #fff; font-weight: 600; line-height: 1.8; min-height: 3.4em; }
.ds-note { margin: 12px 0 0; font-size: .9rem; color: var(--ds-on-dark-muted); }

/* ---------- contents: file shelf ---------- */
.ds-files { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ds-ink); }
.ds-files li { display: grid; grid-template-columns: 70px 1fr; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--ds-line); align-items: start; }
.ds-ft { grid-row: span 2; width: 66px; height: 76px; border-radius: 999px 999px 10px 10px; background: var(--c, var(--ds-tint-2)); border: 2px solid var(--ds-ink); display: grid; place-items: end center; padding-bottom: 10px; font-weight: 900; font-size: .82rem; line-height: 1.3; text-align: center; }
.ds-files li:nth-child(5n+1) { --c: var(--ds-tint-2); }
.ds-files li:nth-child(5n+2) { --c: var(--ds-accent-soft); }
.ds-files li:nth-child(5n+3) { --c: color-mix(in srgb, var(--ds-ok) 20%, #fff); }
.ds-files li:nth-child(5n+4) { --c: color-mix(in srgb, var(--ds-primary) 28%, #fff); }
.ds-files li:nth-child(5n+5) { --c: #fff; }
.ds-files h3 { margin: 0; align-self: end; }
.ds-files p { margin: 0; color: var(--ds-muted); }
.ds-sum { display: flex; flex-direction: column; gap: 14px; padding: 20px; margin-top: 4px; background: var(--ds-ink); color: #fff; border-radius: 0 0 18px 18px; }
.ds-sum b { font-size: 1.15rem; line-height: 1.6; }
.ds-sum .ds-btn { border-color: #fff; box-shadow: 0 4px 0 rgba(255,255,255,.25); }

/* ---------- audience ---------- */
.ds-two { display: grid; gap: 16px; }
.ds-box { padding: 24px 22px; border-radius: 22px; border: 2px dashed var(--ds-line); background: #fff; }
.ds-box--yes { border: 2px solid var(--ds-primary); background: var(--ds-tint); }
.ds-box h3 { margin-bottom: 8px; }
.ds-box ul { list-style: none; margin: 0; padding: 0; }
.ds-box li { display: flex; gap: 12px; padding-block: 11px; border-top: 1px solid color-mix(in srgb, var(--ds-ink) 10%, transparent); line-height: 1.7; }
.ds-box li:first-child { border-top: 0; }
.ds-box .ds-ico { margin-top: .35em; }
.ds-box--yes .ds-ico { color: var(--ds-ok); }
.ds-box:not(.ds-box--yes) .ds-ico { color: var(--ds-bad); }
.ds-box:not(.ds-box--yes) li { color: var(--ds-muted); }

/* ---------- how ---------- */
.ds-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: dss; }
.ds-steps li { counter-increment: dss; display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; padding-bottom: 26px; position: relative; }
.ds-steps li::before { content: counter(dss); grid-row: span 2; width: 52px; height: 60px; border-radius: 999px 999px 10px 10px; background: var(--ds-primary); color: #fff; display: grid; place-items: end center; padding-bottom: 8px; font-weight: 900; font-size: 1.35rem; z-index: 1; line-height: 1.4; }
.ds-steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 25px; top: 62px; bottom: 2px; border-inline-start: 2px dashed color-mix(in srgb, var(--ds-primary) 45%, #fff); }
.ds-steps h3 { margin: 0; align-self: end; }
.ds-steps p { margin: 0; color: var(--ds-muted); }

/* ---------- value ---------- */
.ds-pillars { display: grid; gap: 0; }
.ds-pillars > div { padding: 22px 0; border-top: 3px solid var(--ds-primary); }
.ds-pillars h3 { margin: 0 0 4px; }
.ds-pillars p { margin: 0; color: var(--ds-muted); }

/* ---------- trust ---------- */
.ds-trust { display: grid; gap: 22px; align-items: start; }
.ds-creator { background: #fff; border: 2px solid var(--ds-ink); border-radius: 22px; padding: 22px; }
.ds-creator__who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; line-height: 1.4; }
.ds-creator__who .ds-mono { width: 52px; height: 60px; font-size: 1.4rem; }
.ds-creator__who b { display: block; font-size: 1.1rem; }
.ds-creator__who span { color: var(--ds-muted); font-size: .9rem; font-weight: 600; }
.ds-creator p { margin: 0; color: var(--ds-muted); }
.ds-creator h3 { margin: 0 0 12px; font-size: .95rem; color: var(--ds-muted); font-weight: 800; }
.ds-facts { margin: 0; border-top: 2px solid var(--ds-ink); }
.ds-facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds-facts dt { font-weight: 800; display: flex; gap: 8px; align-items: flex-start; }
.ds-facts dt .ds-ico { color: var(--ds-ok); margin-top: .35em; width: 1em; height: 1em; }
.ds-facts dd { margin: 0; color: var(--ds-muted); }

/* ---------- offer ---------- */
.ds-offer { display: grid; gap: 30px; align-items: center; }
.ds-incl { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ds-incl li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.ds-incl .ds-ico { color: var(--ds-accent); margin-top: .3em; }
.ds-terms { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.25); display: grid; gap: 4px; color: var(--ds-on-dark-muted); font-size: .95rem; }
.ds-ticket { background: #fff; color: var(--ds-ink); border-radius: 26px; padding: 26px 22px; position: relative; box-shadow: 0 26px 50px rgba(0,0,0,.3); }
.ds-ticket__top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 2px dashed var(--ds-line); line-height: 1.4; }
.ds-ticket__top .ds-mono { width: 44px; height: 52px; font-size: 1.2rem; }
.ds-ticket__top b { display: block; font-size: 1.1rem; line-height: 1.5; }
.ds-ticket__top small { color: var(--ds-muted); font-weight: 600; }
.ds-ticket .ds-buy__price { padding: 0; }
.ds-ticket .ds-buy__price b { font-size: clamp(3.6rem, 16vw, 4.8rem); }
.ds-ticket .ds-btn { margin-top: 16px; border-color: var(--ds-ink); box-shadow: 0 4px 0 var(--ds-ink); }
.ds-ticket .ds-link { display: block; text-align: center; margin-top: 14px; color: var(--ds-primary) !important; }
.ds-ticket .ds-small { text-align: center; margin: 12px 0 0; color: var(--ds-muted); font-size: .9rem; }

/* ---------- faq ---------- */
.ds-faq { display: grid; gap: 26px; align-items: start; }
.ds .accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--ds-line); --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ds-primary-deep); --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; }
.ds .accordion-item { border-inline: 0; border-top: 0; background: transparent; }
.ds .accordion-item:first-child { border-top: 2px solid var(--ds-ink); }
.ds .accordion-button { font-family: var(--ds-font); font-weight: 800; font-size: 1.08rem; line-height: 1.6; padding-block: 20px; background: transparent; box-shadow: none; gap: 14px; color: var(--ds-ink); }
.ds .accordion-button:not(.collapsed) { color: var(--ds-primary-deep); box-shadow: none; }
.ds .accordion-button:focus-visible { outline: 3px solid var(--ds-primary); outline-offset: 2px; }
.ds .accordion-body { padding-top: 0; padding-bottom: 22px; color: var(--ds-muted); line-height: 1.95; max-width: 44em; }
.ds-ask { background: var(--ds-tint); border-radius: 22px; padding: 24px 22px; }
.ds-ask p { margin: 4px 0 16px; color: var(--ds-muted); }
.ds-ask .ds-btn + .ds-btn { margin-top: 10px; }

/* ---------- final + footer ---------- */
.ds-final { text-align: center; padding-block: 64px; }
.ds-final .ds-h2 { max-width: 16em; margin-inline: auto; }
.ds-final .ds-lead { margin: 14px auto 28px; }
.ds-foot { background: var(--ds-ink); color: color-mix(in srgb, #fff 70%, var(--ds-ink)); padding-block: 30px; font-size: .9rem; line-height: 1.8; }
.ds-foot p { margin: 0; max-width: 46em; }

/* ---------- sticky + toast ---------- */
.ds-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: 12px; padding: 10px var(--ds-pad) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--ds-ink); transform: translateY(110%); transition: transform .28s; }
.ds-sticky.is-visible { transform: none; }
.ds-sticky__p { line-height: 1.15; flex: none; }
.ds-sticky__p small { display: block; font-size: .74rem; color: var(--ds-muted); font-weight: 700; }
.ds-sticky__p b { font-size: 1.45rem; font-weight: 900; }
.ds-sticky__p span { font-weight: 800; }
.ds-sticky .ds-btn { flex: 1; min-height: 50px; padding-inline: 12px; font-size: 1.02rem; }
.ds-toast { position: fixed; inset-inline: 16px; bottom: 96px; margin-inline: auto; max-width: 420px; z-index: 1040; background: var(--ds-ink); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: .95rem; line-height: 1.7; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ds-toast.is-visible { opacity: 1; }

/* ================= breakpoints ================= */
@media (min-width: 576px) {
  .ds-cta { flex-direction: row; align-items: center; gap: 20px; }
}
@media (min-width: 768px) {
  .ds { --ds-pad: 28px; }
  .ds-section { padding-block: 92px; }
  .ds-bens { grid-template-columns: 1.1fr 1fr; grid-auto-flow: dense; }
  .ds-ben:first-child { grid-row: span 3; min-height: 360px; }
  .ds-two { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ds-pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .ds-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .ds-steps li { display: block; padding: 0; }
  .ds-steps li::before { margin-bottom: 16px; }
  .ds-steps li:not(:last-child)::after { inset-inline-start: 74px; inset-inline-end: -28px; top: 28px; bottom: auto; border-inline-start: 0; border-top: 2px dashed color-mix(in srgb, var(--ds-primary) 45%, #fff); height: 0; }
  .ds-panel { grid-template-columns: 1fr 1fr; }
  .ds-panel--one { grid-template-columns: 1fr; }
  .ds-kan { grid-template-columns: repeat(3, 1fr); }
  .ds-viewer { padding: 22px; }
  .ds-sum { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 26px; }
  .ds-product { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .ds-final { padding-block: 92px; }
  .ds-buy { grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px 12px 12px 14px; }
  .ds-buy .ds-btn { margin: 0; }
  .ds-files li { grid-template-columns: 82px 1fr 1.2fr; align-items: center; }
  .ds-files .ds-ft { grid-row: auto; }
  .ds-files h3 { align-self: center; }
}
@media (min-width: 992px) {
  .ds { padding-bottom: 0; }
  .ds-sticky { display: none; }
  .ds-toast { bottom: 28px; }
  .ds-nav { display: flex; }
  .ds-hero { padding-block: 40px 72px; }
  .ds-hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .ds-problem { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .ds-problem__head { position: sticky; top: 24px; }
  .ds-trust { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .ds-offer { grid-template-columns: 1fr .9fr; gap: 72px; }
  .ds-faq { grid-template-columns: 1.5fr 1fr; gap: 60px; }
  .ds-ask { position: sticky; top: 24px; }
}
@media (max-width: 575.98px) {
  .ds-files li { grid-template-columns: 62px 1fr; }
  .ds-ft { width: 58px; height: 68px; font-size: .76rem; }
  .ds-spec > div, .ds-facts > div { grid-template-columns: 5.2rem 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ds *, .ds *::before, .ds *::after { transition: none !important; animation: none !important; }
  .cv-js:not(.ds-ready) .ds-cover, .cv-js:not(.ds-ready) .ds-sheet, .cv-js:not(.ds-ready) .ds-board, .cv-js:not(.ds-ready) .ds-ftags { opacity: 1; }
}

/* long brand names / button labels on small phones */
.ds-top .ds-btn { white-space: nowrap; flex: none; }
.ds-brand { flex: 1 1 auto; }
@media (max-width: 400px) {
  .ds-top .ds-btn { padding-inline: 12px; font-size: .9rem; }
  .ds-brand { font-size: 1rem; gap: 8px; }
  .ds-brand span:last-child { max-width: 38vw; }
}
