/* Hidden home preview (/home-preview/). Loaded after the homepage's own stylesheets and client-plan.css.
   Only what the homepage has no class for: the two moving strips, the problem list, the comparison table,
   the five-card row and the joins between reused parts. Same tokens: --purple, --deep, --yellow, --paper,
   --ink, --tint, --line, --muted, --gutter. */

/* ---------- Header: the longer booking label beside the five links ---------- */
@media (min-width:901px) and (max-width:1060px){.main-header{gap:14px}.main-header>nav{gap:13px}.main-header .wordmark img{width:160px}.main-header .nav-cta{padding-inline:13px;gap:10px;font-size:12px}}
@media (max-width:720px){.main-header .nav-cta{display:none}}

/* ---------- Hero: the booking block sits under the VSL ---------- */
.hero .dds-home-hero-cta{margin-top:26px}
.hero .dds-home-sound{margin:0 0 12px}
.hero .dds-home-hero-cta .hero-actions{margin-top:20px}
@media (max-width:700px){.hero .dds-home-hero-cta{margin-top:0}}

/* ---------- 4.3 Problem: arrow list with the key phrase underlined ---------- */
.dds-home-problem .credibility-heading{display:block;margin-bottom:0}
.dds-home-arrows{list-style:none;margin:30px 0 0;padding:0;max-width:820px}
.dds-home-arrows li{position:relative;padding:18px 0 18px 42px;border-top:1px solid var(--line);font-size:19px;line-height:1.55;color:var(--ink)}
.dds-home-arrows li:last-child{border-bottom:1px solid var(--line)}
.dds-home-arrows li::before{content:'→';position:absolute;left:2px;top:18px;color:var(--purple);font-weight:700}
.dds-home-mark{text-decoration:underline;text-decoration-color:var(--purple);text-decoration-thickness:2px;text-underline-offset:5px}
.dds-home-problem-close{margin-top:28px;max-width:820px;font-size:23px;line-height:1.35;font-weight:650;letter-spacing:-.025em;color:var(--ink)}
@media (max-width:600px){.dds-home-arrows li{padding:15px 0 15px 34px;font-size:17px}.dds-home-arrows li::before{top:15px}.dds-home-problem-close{font-size:20px}}

/* ---------- 4.4 Trusted by: endless logo strip moving left at 35px/s ----------
   One set = 6 logos x (logo box + gap). Desktop 6 x (150 + 40) = 1140px, 1140 / 35 = 32.571s.
   Phone 6 x (104 + 24) = 768px, 768 / 35 = 21.943s. The track holds two identical sets and moves by one set (-50%). */
.dds-home-logos{margin:26px 0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12.5%,#000 87.5%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12.5%,#000 87.5%,transparent);animation:dds-home-rise 1s cubic-bezier(.44,0,.56,1) 1.2s both}
.dds-home-logos-track{display:flex;width:max-content;animation:dds-home-left 32.571s linear infinite}
.dds-home-logos .logo-strip{display:flex;align-items:center;gap:40px;margin:0;padding-right:40px}
.dds-home-logos .client-logo{flex:0 0 150px;box-sizing:border-box}
@media (max-width:600px){.dds-home-logos{margin:21px 0}.dds-home-logos .logo-strip{gap:24px;padding-right:24px}.dds-home-logos .client-logo{flex-basis:104px}.dds-home-logos-track{animation-duration:21.943s}}

/* ---------- Real wins: the 16 client screenshots moving right at 25px/s, paused on hover and focus ----------
   One set = 16 x (card + gap). Desktop 16 x (240 + 18) = 4128px, 4128 / 25 = 165.12s.
   Phone 16 x (200 + 14) = 3424px, 3424 / 25 = 136.96s. Same edge fade as the thank-you page strips. */
.client-stories>.quote-highlights{margin-top:48px}
.dds-home-wins{margin:40px 0 0;padding:6px 0 12px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.dds-home-wins-track{display:flex;width:max-content;animation:dds-home-right 165.12s linear infinite}
.dds-home-wins:hover .dds-home-wins-track,.dds-home-wins:focus-within .dds-home-wins-track{animation-play-state:paused}
.dds-home-wins-set{display:flex;gap:18px;padding-right:18px}
.dds-home-wins .message-card{flex:0 0 240px;box-sizing:border-box}
@media (max-width:600px){.dds-home-wins-set{gap:14px;padding-right:14px}.dds-home-wins .message-card{flex-basis:200px}.dds-home-wins-track{animation-duration:136.96s}}

@keyframes dds-home-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes dds-home-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes dds-home-rise{from{transform:translateY(24px)}to{transform:translateY(0)}}

/* Reduced motion: both strips stand still and scroll by hand; the repeated set is not shown. */
@media (prefers-reduced-motion:reduce){
  .dds-home-logos,.dds-home-logos-track,.dds-home-wins-track{animation:none}
  .dds-home-logos,.dds-home-wins{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .dds-home-logos .logo-strip[aria-hidden],.dds-home-wins-set[aria-hidden]{display:none}
}

/* ---------- 4.5 What we do: the homepage process cards, five services in a 3 + 2 row ---------- */
.credibility-heading+.process-flow{margin-top:0}
.process-flow>.process-cards:first-child{margin-top:0}
.process-cards.dds-home-five{padding-top:0}
.dds-home-five::before,.dds-home-five>li::before{display:none}
@media (min-width:701px){.dds-home-five{grid-template-columns:repeat(6,minmax(0,1fr))}.dds-home-five>li{grid-column:span 2}.dds-home-five>li:nth-child(n+4){grid-column:span 3}}

/* ---------- 4.6 Results: the client's own words, and the button under the cards ---------- */
.dds-plan-result-card .dds-plan-result-quote{margin:16px 0 0;padding-left:0;border-left:0;max-width:46ch;font-size:16px;line-height:1.6;color:#4d4560}
.dds-home-cta{margin-top:34px}

/* ---------- 4.9 Why DDS: two-column comparison, the DDS column highlighted ---------- */
.dds-home-compare{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.dds-home-compare th,.dds-home-compare td{padding:20px 26px;text-align:left;vertical-align:top;font-size:16px;line-height:1.55;border-top:1px solid var(--line);color:var(--muted)}
.dds-home-compare thead th{border-top:0;padding-block:16px;font-size:15px;font-weight:650;color:var(--ink)}
.dds-home-compare .is-dds{background:var(--tint);color:var(--ink);font-weight:600;border-left:1px solid #d4c9e8}
.dds-home-compare thead .is-dds{background:var(--purple);color:var(--paper);border-left-color:var(--purple)}
@media (max-width:600px){.dds-home-compare th,.dds-home-compare td{padding:14px;font-size:14px}.dds-home-compare thead th{padding-block:13px;font-size:14px}}

/* ---------- 4.11 Ask Umar: the booking button just above the unchanged question section ---------- */
.dds-home-ask-cta{background:var(--tint);padding:56px var(--gutter) 0}
.dds-home-ask-cta+.dds-question{padding-top:40px}
@media (max-width:600px){.dds-home-ask-cta{padding-top:40px}.dds-home-ask-cta .button{width:100%}.dds-home-ask-cta+.dds-question{padding-top:28px}}

/* ---------- Alignment pass (19 Nov): every block shares one set of edges, measured at 1440 and 390 ---------- */
/* Hero: the copy centres on the video; the booking block sits directly under the video on the video's left edge.
   The headline is capped so "Add $20K-$30K+/mo" always stays on one line (its width is 8.77 x the font size). */
@media (min-width:701px){
  .hero{grid-template-areas:"copy media" ". cta";row-gap:26px;align-items:start}
  .hero .hero-media-v2{display:contents}
  .hero .hero-copy-v2{grid-area:copy;align-self:center}
  .hero .hero-vsl{grid-area:media}
  .hero .dds-home-hero-cta{grid-area:cta;margin-top:0;position:relative;z-index:1}
  .hero #hero-heading{font-size:min(4.45vw,62px)}
}
@media (max-width:700px){.hero #hero-heading{font-size:min(10.6vw,calc((100vw - 2 * var(--gutter)) / 9.3))}}
/* Problem: the divider rules run the full container width like every other rule; the text keeps a readable line. */
.dds-home-arrows{max-width:none}
.dds-home-arrows li{padding-right:max(0px,calc(100% - 862px))}
/* What we do: five cards of one width and one height; the row of two is centred under the row of three. */
@media (min-width:701px){
  .dds-home-five{grid-auto-rows:1fr}
  .dds-home-five>li:nth-child(n+4){grid-column:span 2}
  .dds-home-five>li:nth-child(4){grid-column:2 / span 2}
  .dds-home-five>li:nth-child(5){grid-column:4 / span 2}
}
.dds-home-system .credibility-heading p{max-width:372px}
/* How it works: the same space above the heading as the other sections. */
.process-section{padding-top:64px}
@media (max-width:600px){.process-section{padding-top:48px}}
/* Ask Umar: the booking button sits directly above the form panel, on the panel's left edge. */
@media (min-width:901px){
  .dds-home-ask-cta{display:grid;grid-template-columns:.9fr 1.2fr;column-gap:60px;padding-top:64px}
  .dds-home-ask-cta>.button{grid-column:2;justify-self:start}
  .dds-home-ask-cta+.dds-question{padding-top:20px}
}

/* ---------- How it works and What we do: one card system, every part on one level (19 Nov, second pass) ----------
   Same white card, same border, same padding for every step. The step number leads each card; the owner label is a
   pill on the same line. Only the founder's step ("You, with our guidance") gets the yellow pill. No floating
   timeline: an arrow between cards sits exactly on the number line. */
.process-section .process-flow,.dds-home-system .process-flow{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin-top:0}
.process-section .process-cards,.dds-home-system .process-cards{padding-top:0;margin-top:0;gap:20px}
.process-section .process-cards::before,.dds-home-system .process-cards::before{display:none}
.process-section .process-cards>li,.dds-home-system .process-cards>li,
.process-section .process-cards>li.process-record,.process-section .process-cards>li.process-finish{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:30px 30px 32px;box-shadow:0 1px 2px #391c8f0a}
.process-section .process-card-top,.dds-home-system .process-card-top{flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px;min-height:44px}
.process-section .process-number,.dds-home-system .process-number,.process-section .process-finish .process-number{width:auto;height:auto;display:block;border:0;border-radius:0;background:none;font-size:44px;line-height:1;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--purple)}
.process-section .process-owner,.process-section .process-finish .process-owner{display:inline-block;padding:7px 11px;border-radius:999px;background:var(--tint);color:var(--purple);font-size:11px;font-weight:750;letter-spacing:.08em;line-height:1.2;white-space:nowrap}
.process-section .process-record .process-owner{background:var(--yellow);color:var(--ink)}
.process-section .process-cards h4,.dds-home-system .process-cards h4{font-size:28px;line-height:1.15;font-weight:650;letter-spacing:-.03em;color:var(--ink)}
.process-section .process-cards p,.dds-home-system .process-cards p,.process-section .process-finish p{margin-top:12px;max-width:none;font-size:16px;line-height:1.6;color:var(--muted)}
/* The arrow between steps: centred in the gap, centred on the number line (top 37 + half the 30px circle = 52, the number line). */
.process-section .process-cards>li::before,.dds-home-system .process-cards>li::before{display:none}
.process-section .process-cards>li:not(:last-child)::after{content:'→';position:absolute;z-index:2;top:37px;right:-25px;width:30px;height:30px;box-sizing:border-box;display:grid;place-items:center;font-size:15px;font-weight:700;line-height:1;color:var(--purple);background:#fff;border:1px solid var(--line);border-radius:50%;box-shadow:0 2px 6px #391c8f14}
@media (max-width:1000px){
  .process-section .process-cards>li,.dds-home-system .process-cards>li,.process-section .process-cards>li.process-record,.process-section .process-cards>li.process-finish{padding:24px 22px 26px}
  .process-section .process-cards h4,.dds-home-system .process-cards h4{font-size:24px}
  .process-section .process-number,.dds-home-system .process-number{font-size:38px}
  .process-section .process-cards>li:not(:last-child)::after{top:28px;right:-25px}
}
@media (max-width:700px){
  .process-section .process-cards,.dds-home-system .process-cards{gap:28px}
  .process-section .process-card-top,.dds-home-system .process-card-top{margin-bottom:18px}
  .process-section .process-cards>li:not(:last-child)::after{content:'↓';top:auto;right:auto;bottom:-29px;left:26px}
  .process-section .process-cards h4,.dds-home-system .process-cards h4{font-size:26px}
  .process-section .process-cards p,.dds-home-system .process-cards p{font-size:15px}
}
/* What we do has no owner label, so its number stays on the left. */
.dds-home-system .process-card-top{flex-direction:row;justify-content:flex-start}

/* ---------- Why DDS, level pass (19 Nov): two cards side by side, rows locked across both ----------
   The table stays a real table. Spacing between the two columns comes from border-spacing; the negative side margin
   puts both outer edges back on the content edges. The DDS column is the purple card with yellow ticks, the other
   column a white card with crosses. */
.dds-home-compare{width:calc(100% + 40px);margin:0 -20px;table-layout:fixed;border-collapse:separate;border-spacing:20px 0;background:none;border:0;border-radius:0;overflow:visible;filter:drop-shadow(0 24px 34px #391c8f17)}
.dds-home-compare th,.dds-home-compare td{position:relative;padding:21px 30px 21px 70px;vertical-align:middle;text-align:left;font-size:17px;line-height:1.5;background:#fff;color:#4d4560;font-weight:400;border:0;border-top:1px solid var(--line)}
.dds-home-compare td:not(.is-dds),.dds-home-compare th:not(.is-dds){border-left:1px solid var(--line);border-right:1px solid var(--line)}
.dds-home-compare td::before{content:'×';position:absolute;left:28px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--tint);color:var(--purple);font-size:16px;font-weight:800;line-height:1}
.dds-home-compare thead th{padding:22px 30px;font-size:13px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);border-radius:16px 16px 0 0}
.dds-home-compare tbody tr:last-child td{border-bottom:1px solid var(--line);border-radius:0 0 16px 16px}
.dds-home-compare .is-dds{background:var(--purple);color:#fff;font-weight:600;border-left:0;border-top-color:#ffffff26}
.dds-home-compare td.is-dds::before{content:'✓';background:var(--yellow);color:var(--ink);font-size:14px}
.dds-home-compare thead .is-dds{color:var(--yellow);font-size:15px;border-top:0;background:var(--purple)}
.dds-home-compare tbody tr:last-child td.is-dds{border-bottom:0}
@media (max-width:900px){.dds-home-compare th,.dds-home-compare td{padding:18px 20px 18px 58px;font-size:16px}.dds-home-compare td::before{left:20px}.dds-home-compare thead th{padding:18px 20px}}
/* Phone: each row becomes a pair, the other way above the DDS way, each labelled. */
@media (max-width:600px){
  .dds-home-compare{display:block;width:100%;margin:0;filter:none}
  .dds-home-compare thead{display:none}
  .dds-home-compare tbody,.dds-home-compare tr{display:block}
  .dds-home-compare tr{margin-top:14px;filter:drop-shadow(0 18px 26px #391c8f14)}
  .dds-home-compare tr:first-child{margin-top:0}
  .dds-home-compare td{display:block;padding:35px 18px 16px 56px;font-size:15px;border:1px solid var(--line);border-radius:14px 14px 0 0}
  .dds-home-compare td.is-dds{border:0;border-radius:0 0 14px 14px}
  .dds-home-compare tbody tr:last-child td{border-radius:14px 14px 0 0;border-bottom:0}
  .dds-home-compare tbody tr:last-child td.is-dds{border-radius:0 0 14px 14px}
  .dds-home-compare td::after{content:'Other agencies';position:absolute;top:14px;left:56px;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
  .dds-home-compare td.is-dds::after{content:'DDS';color:var(--yellow)}
  .dds-home-compare td::before{left:16px;top:34px;transform:none}
}
/* Sound familiar: each pain sits behind the same 30px tint circle used for the crosses in the comparison. */
.dds-home-arrows li{padding-left:50px}
.dds-home-arrows li::before{left:0;top:18px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--tint);font-size:15px;line-height:1}
@media (max-width:600px){.dds-home-arrows li{padding-left:44px}.dds-home-arrows li::before{top:14px;width:28px;height:28px}}

/* ---------- Phone booking bar: the longer label wraps instead of pushing off screen ---------- */
@media (max-width:700px){.mobile-booking>div{min-width:0}.mobile-booking .button{white-space:normal;text-align:left;line-height:1.3;max-width:56%}}
