/* =====================================================================
   SITE DESIGN SYSTEM, board C look (site-wide redesign wave 0, 2026-12-01)
   Loaded by templates/base.html on EVERY page that extends it (the public
   site only: staff, CRM, portal and admin have their own base templates and
   never load this file). Loaded after main.css and before a page's
   {% block extra_head %}, so a page stylesheet can still override it.

   Plain CSS on purpose: the Tailwind bundle is precompiled (UX-087), so new
   utility classes would be silent no-ops. Every rule is opt-in: a selector
   either starts with `.ds-` or is a `--ds-*` token on :root, so a page that
   uses none of these classes renders exactly as before (only the header,
   footer and phone sticky bar in base.html use them by default).

   ---------------------------------------------------------------------
   USAGE (for page work; you should not need to read home.css)
   ---------------------------------------------------------------------
   Page root     <div class="ds-page"> ... </div>  wraps {% block content %}.
                 Ink ground, Inter body, paper text, link + focus defaults.
   Bands         <section class="ds-sec"> dark band (112px / 72px on phones)
                   modifiers: ds-sec--alt (#171715) · ds-sec--deep (#141413)
                   · ds-sec--tight (72px) · ds-sec--flush (no top padding)
                 <section class="ds-sec ds-paper"> paper band (#F4F5F2); every
                   component below flips to its paper colours inside it.
                 <section class="ds-hero"> hero band; children for the glow:
                   <div class="ds-gridwash" aria-hidden="true"></div>
                   <div class="ds-aurora" aria-hidden="true"></div>
                   (ds-aurora--low puts the glow at the bottom)
                 <div class="ds-beamline" aria-hidden="true"></div> animated rule.
   Container     ds-wrap (1200px, 40px / 20px gutters) · ds-wrap--narrow (760px)
   Type          ds-eyebrow (mono, blue) · ds-eyebrow--mute · ds-label (mono, small)
                 ds-h1 · ds-h2 · ds-h2--sm · ds-h3 · ds-shine (gradient word in a
                 heading) · ds-lead (17px body lead) · ds-body · ds-small
                 ds-head (heading block, 56px under) · ds-head--center
                 ds-pill (+ <span class="ds-pulse"></span>) status pill
   CTAs          <a class="ds-btn" href="{{ PRIMARY_CTA_URL }}" target="_blank"
                    rel="noopener" data-track-cta="..." data-track-section="...">
                   primary (gradient border + glow). ds-btn--big · ds-btn--sm
                   · ds-btn--block (full width) · ds-btn--static (no glow pulse)
                 ds-btn-ghost   secondary (outline)
                 ds-link        text link with arrow room (44px tap target)
                 ds-ctarow      button row (stacks on phones)
                 Icon inside a button: <svg aria-hidden="true" width="20" ...>.
   Cards         ds-glass  glass surface, luminous 1px border (no padding)
                 ds-card   glass + padding + column gap (the default card)
                 ds-hud    bracket corners (add to ds-glass / ds-card / ds-price)
                 ds-lift   hover lift + glow (for linked cards)
                 In a ds-paper band, ds-card renders as a paper card with the
                 ink bracket automatically.
   Grids         ds-grid + ds-grid--2 | ds-grid--3 | ds-grid--4 (collapse at
                 1000px / 760px)
   Price card    <article class="ds-price ds-hud"> (ds-price--featured)
                   <h3 class="ds-h3">Name</h3>
                   <p class="ds-price-from"><span class="ds-label">Desde</span>
                     <span class="ds-price-v">$45,000</span>
                     <span class="ds-price-u">MXN + IVA</span></p>
                   <p class="ds-body">...</p>
                   <ul class="ds-checks"><li>...</li></ul>
                   <div class="ds-price-act"><a class="ds-btn ds-btn--block">..</a></div>
   Steps         <ol class="ds-steps"> <li class="ds-step">
                   <span class="ds-step-n" aria-hidden="true">1</span>
                   <h3 class="ds-h3">..</h3><p>..</p></li></ol>
                   (ds-steps--4 for a 4-column row on desktop)
   FAQ           <div class="ds-faq"><details class="ds-faq-item">
                   <summary>Question</summary><div class="ds-faq-a"><p>..</p></div>
                 </details></div>
   CTA band      <section class="ds-cta-band"><div class="ds-aurora ds-aurora--low"
                   aria-hidden="true"></div><div class="ds-wrap ds-cta-band-in">
                   eyebrow + ds-h2 + ds-body + ds-ctarow </div></section>
   Prose         <div class="ds-prose"> raw h2/h3/p/ul/ol/a/blockquote/table/
                 code/hr for legal and blog text (best inside ds-paper +
                 ds-wrap--narrow).
   Forms         <div class="ds-field"><label class="ds-field-label" for="x">..
                 </label><input class="ds-input" id="x"><p class="ds-help">..</p>
                 <p class="ds-error">..</p></div>
                 ds-input · ds-textarea · ds-select · ds-check (label wrapping a
                 checkbox/radio) · submit with ds-btn. aria-invalid="true" turns
                 the field red. Dark by default, paper inside ds-paper.
   Chrome        (base.html only) ds-header, ds-nav-link, ds-lang, ds-menu-btn,
                 ds-drawer, ds-footer, ds-sticky.
   Motion        every animation stops under prefers-reduced-motion.

   Tokens (DevBox brand only): ink #1D1D1B · ink steps #171715 #141413 ·
   paper #F4F5F2 · rule #D6D8D2 · mute #5E625C (paper only) · ink-mute
   #A8ABA4 (on ink, 7.3:1) · blue #2E75B6 · blue-deep #1F5A91 (4.5:1+ on
   paper) · light #8FBDE0 · logo blue #0046DC.
   Contextual tokens (--ds-fg, --ds-fg-2, --ds-fg-3, --ds-accent, --ds-line,
   --ds-focus) are set by .ds-page / .ds-sec and re-set by .ds-paper; use
   them in page CSS so one rule works on both grounds.
   ===================================================================== */

:root {
    --ds-ink: #1D1D1B;
    --ds-ink-2: #171715;
    --ds-ink-3: #141413;
    --ds-paper: #F4F5F2;
    --ds-white: #FFFFFF;
    --ds-rule: #D6D8D2;
    --ds-mute: #5E625C;
    --ds-ink-mute: #A8ABA4;
    --ds-blue: #2E75B6;
    --ds-blue-deep: #1F5A91;
    --ds-blue-light: #8FBDE0;
    --ds-logo-blue: #0046DC;
    --ds-danger: #F2A7A0;
    --ds-danger-paper: #A3261B;
    --ds-font-display: 'Schibsted Grotesk', 'Inter', sans-serif;
    --ds-font-body: 'Inter', system-ui, sans-serif;
    --ds-font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ds-radius: 6px;
    --ds-radius-sm: 2px;
    --ds-wrap: 1200px;
    --ds-gutter: 40px;
    --ds-header-h: 64px;
    --ds-glass-bg: linear-gradient(180deg, rgba(244, 245, 242, .055), rgba(244, 245, 242, .02));
    --ds-glass-line: rgba(143, 189, 224, .18);
    --ds-glow: 0 0 0 1px rgba(143, 189, 224, .14), 0 10px 40px rgba(46, 117, 182, .45);
}
@media (max-width: 760px) {
    :root { --ds-gutter: 20px; }
}

/* contextual colours: dark by default, flipped on paper */
.ds-page, .ds-sec, .ds-hero, .ds-cta-band, .ds-header, .ds-footer, .ds-sticky, .ds-dark {
    --ds-fg: #F4F5F2;
    --ds-fg-2: #D6D8D2;
    --ds-fg-3: #A8ABA4;
    --ds-accent: #8FBDE0;
    --ds-accent-hover: #F4F5F2;
    --ds-line: rgba(143, 189, 224, .18);
    --ds-line-soft: rgba(143, 189, 224, .14);
    --ds-focus: #8FBDE0;
    --ds-field-bg: rgba(244, 245, 242, .04);
    --ds-field-line: rgba(244, 245, 242, .24);
    --ds-error: var(--ds-danger);
}
.ds-paper {
    --ds-fg: #1D1D1B;
    --ds-fg-2: #5E625C;
    --ds-fg-3: #5E625C;
    --ds-accent: #1F5A91;
    --ds-accent-hover: #1D1D1B;
    --ds-line: #D6D8D2;
    --ds-line-soft: #D6D8D2;
    --ds-focus: #1F5A91;
    --ds-field-bg: #FFFFFF;
    --ds-field-line: #B9BDB5;
    --ds-error: var(--ds-danger-paper);
}

/* ---------- page root + focus ---------- */
.ds-page { background: var(--ds-ink); color: var(--ds-fg); font-family: var(--ds-font-body); }
.ds-page a { text-decoration: none; }
.ds-page a:focus-visible, .ds-page button:focus-visible, .ds-page summary:focus-visible,
.ds-header a:focus-visible, .ds-header button:focus-visible,
.ds-footer a:focus-visible, .ds-sticky a:focus-visible {
    outline: 2px solid var(--ds-focus); outline-offset: 3px; border-radius: 2px;
}
.ds-wrap { position: relative; max-width: var(--ds-wrap); margin: 0 auto; padding: 0 var(--ds-gutter); }
.ds-wrap--narrow { max-width: calc(760px + 2 * var(--ds-gutter)); }

/* ---------- type ---------- */
.ds-h1 { margin: 0; font-family: var(--ds-font-display); font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.9rem); line-height: .98; letter-spacing: -.04em; color: var(--ds-fg); text-wrap: balance; }
.ds-h2 { margin: 0; font-family: var(--ds-font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.04; letter-spacing: -.035em; color: var(--ds-fg); text-wrap: balance; }
.ds-h2--sm { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.ds-h3 { margin: 0; font-family: var(--ds-font-display); font-weight: 700; font-size: 22px; line-height: 1.18; letter-spacing: -.02em; color: var(--ds-fg); }
.ds-shine { display: inline-block; color: #8FBDE0; background: linear-gradient(90deg, #8FBDE0 0%, #F4F5F2 50%, #8FBDE0 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: ds-shine 4s linear 1.4s infinite; }
@keyframes ds-shine { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.ds-paper .ds-shine { color: var(--ds-blue-deep); background: none; -webkit-text-fill-color: currentColor; animation: none; }
.ds-eyebrow { margin: 0 0 18px; font-family: var(--ds-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-accent); }
.ds-eyebrow--mute { color: var(--ds-fg-3); margin-bottom: 14px; }
.ds-label { font-family: var(--ds-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-fg-3); }
.ds-lead, .ds-body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ds-fg-2); max-width: 62ch; }
.ds-lead { font-size: 19px; line-height: 1.55; }
.ds-small { font-size: 14px; color: var(--ds-fg-3); }
.ds-head { max-width: 780px; margin-bottom: 56px; }
.ds-head .ds-lead, .ds-head .ds-body { margin-top: 18px; }
.ds-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ds-head--center .ds-lead, .ds-head--center .ds-body { margin-left: auto; margin-right: auto; }
.ds-pill { margin: 0; display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(143, 189, 224, .28); border-radius: 999px; background: rgba(143, 189, 224, .06); font-family: var(--ds-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-accent); }
.ds-paper .ds-pill { border-color: var(--ds-rule); background: var(--ds-white); }
.ds-pulse { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ds-accent); animation: ds-pulse 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ds-pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 189, 224, .8); } 80%, 100% { box-shadow: 0 0 0 10px rgba(143, 189, 224, 0); } }

/* ---------- bands ---------- */
.ds-sec { position: relative; padding: 112px 0; background: var(--ds-ink); color: var(--ds-fg); }
.ds-sec--alt { background: var(--ds-ink-2); }
.ds-sec--deep { background: var(--ds-ink-3); }
.ds-sec--tight { padding: 72px 0; }
.ds-sec--flush { padding-top: 0; }
.ds-paper, .ds-sec.ds-paper { background: var(--ds-paper); color: var(--ds-fg); }
.ds-hero { position: relative; padding: 88px 0 96px; overflow: hidden; overflow: clip; isolation: isolate; background: var(--ds-ink); color: var(--ds-fg); }
.ds-gridwash { position: absolute; inset: 0; background-image: linear-gradient(rgba(244, 245, 242, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 245, 242, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%); pointer-events: none; z-index: -1; }
.ds-aurora { position: absolute; left: 50%; top: -180px; width: 1100px; height: 700px; margin-left: -550px; background: radial-gradient(ellipse at center, rgba(46, 117, 182, .34), transparent 65%); filter: blur(40px); z-index: -1; pointer-events: none; animation: ds-aurora 7s ease-in-out infinite; }
.ds-aurora--low { top: auto; bottom: -260px; width: 1000px; height: 560px; margin-left: -500px; background: radial-gradient(ellipse at center, rgba(46, 117, 182, .42), transparent 65%); }
@keyframes ds-aurora { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.ds-beamline { position: relative; height: 2px; background: rgba(143, 189, 224, .16); clip-path: inset(-16px 0); }
.ds-beamline::after { content: ""; position: absolute; top: 0; left: 0; width: 28%; height: 2px; background: linear-gradient(90deg, transparent, #2E75B6 30%, #8FBDE0 50%, #2E75B6 70%, transparent); filter: drop-shadow(0 0 6px rgba(46, 117, 182, .95)); transform: translateX(-110%); animation: ds-beam 5s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes ds-beam { 0% { transform: translateX(-110%); } 70%, 100% { transform: translateX(460%); } }

/* ---------- CTAs (WhatsApp is the only channel) ---------- */
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--ds-radius-sm); background: linear-gradient(#2E75B6, #2E75B6) padding-box, linear-gradient(180deg, #C4DDF0, #8FBDE0 45%, #2E75B6) border-box; color: #FFFFFF; font-family: var(--ds-font-body); font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; box-shadow: var(--ds-glow); transition: background .25s, transform .25s, box-shadow .25s; animation: ds-glow 2.4s ease-in-out infinite; }
.ds-btn:hover { background: linear-gradient(#1F5A91, #1F5A91) padding-box, linear-gradient(180deg, #C4DDF0, #8FBDE0 45%, #2E75B6) border-box; color: #FFFFFF; transform: translateY(-2px); }
.ds-btn--big { min-height: 56px; padding: 0 32px; font-size: 17px; }
.ds-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.ds-btn--block { display: flex; width: 100%; }
.ds-btn--static, .ds-btn--sm { animation: none; }
.ds-btn--sm { box-shadow: 0 0 0 1px rgba(143, 189, 224, .14), 0 4px 16px rgba(46, 117, 182, .35); }
@keyframes ds-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(143, 189, 224, .14), 0 10px 36px rgba(46, 117, 182, .4); } 50% { box-shadow: 0 0 0 1px rgba(143, 189, 224, .45), 0 14px 60px rgba(46, 117, 182, .7); } }
.ds-paper .ds-btn { box-shadow: 0 8px 24px rgba(46, 117, 182, .28); animation: none; }
.ds-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 1px solid rgba(244, 245, 242, .24); border-radius: var(--ds-radius-sm); background: transparent; color: var(--ds-fg); font-family: var(--ds-font-body); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: border-color .25s, background .25s; }
.ds-btn-ghost:hover { color: var(--ds-fg); border-color: #8FBDE0; background: rgba(143, 189, 224, .08); }
.ds-paper .ds-btn-ghost { border-color: #1D1D1B; }
.ds-paper .ds-btn-ghost:hover { border-color: #1F5A91; background: rgba(46, 117, 182, .06); }
.ds-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ds-accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.ds-link:hover { color: var(--ds-accent-hover); text-decoration: underline; }
.ds-ctarow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- cards ---------- */
.ds-glass { position: relative; background: var(--ds-glass-bg); border: 1px solid var(--ds-glass-line); border-radius: var(--ds-radius); box-shadow: inset 0 1px 0 rgba(244, 245, 242, .07); }
.ds-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--ds-glass-bg); border: 1px solid var(--ds-glass-line); border-radius: var(--ds-radius); box-shadow: inset 0 1px 0 rgba(244, 245, 242, .07); color: var(--ds-fg); }
.ds-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ds-fg-2); }
.ds-paper .ds-card, .ds-paper .ds-glass { background: var(--ds-paper); border-color: var(--ds-rule); box-shadow: none; }
.ds-paper .ds-card--white { background: var(--ds-white); }
.ds-hud::before { content: ""; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px; border-top: 2px solid rgba(244, 245, 242, .6); border-right: 2px solid rgba(244, 245, 242, .6); pointer-events: none; }
.ds-hud::after { content: ""; position: absolute; bottom: -1px; left: -1px; width: 12px; height: 12px; border-bottom: 2px solid #2E75B6; border-left: 2px solid #2E75B6; pointer-events: none; }
.ds-paper .ds-hud::before { border-color: #1D1D1B; }
.ds-lift { transition: border-color .3s, transform .3s, box-shadow .3s; }
.ds-lift:hover { border-color: rgba(143, 189, 224, .62); transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(244, 245, 242, .1), 0 24px 60px rgba(0, 0, 0, .4), 0 0 60px rgba(46, 117, 182, .34); }
.ds-paper .ds-lift:hover { border-color: #2E75B6; box-shadow: 0 20px 48px rgba(29, 29, 27, .12), 0 0 0 1px #2E75B6; }
a.ds-card, a.ds-card:hover { color: var(--ds-fg); }
.ds-grid { display: grid; gap: 20px; }
.ds-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- price card ---------- */
.ds-price { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--ds-glass-bg); border: 1px solid var(--ds-glass-line); border-radius: var(--ds-radius); color: var(--ds-fg); }
.ds-price--featured { border-color: rgba(143, 189, 224, .55); box-shadow: inset 0 1px 0 rgba(244, 245, 242, .1), 0 0 0 1px rgba(46, 117, 182, .22), 0 0 48px rgba(46, 117, 182, .25); }
.ds-price-from { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ds-price-v { font-family: var(--ds-font-display); font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ds-fg); }
.ds-price-u { font-size: 13px; line-height: 1.35; color: var(--ds-fg-2); }
.ds-price > p:not([class]) { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ds-fg-2); }
.ds-price-act { margin-top: auto; padding-top: 6px; }
.ds-paper .ds-price { background: var(--ds-white); border-color: var(--ds-rule); }
.ds-paper .ds-price--featured { border-color: #2E75B6; box-shadow: 0 0 0 1px #2E75B6; }
.ds-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ds-checks li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.5; color: var(--ds-fg-2); }
.ds-checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--ds-accent); border-bottom: 2px solid var(--ds-accent); transform: rotate(-45deg); }

/* ---------- steps ---------- */
.ds-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ds-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-step { position: relative; display: flex; flex-direction: column; gap: 16px; }
.ds-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ds-fg-2); }
.ds-step-n { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid rgba(143, 189, 224, .45); background: var(--ds-ink); box-shadow: 0 0 30px rgba(46, 117, 182, .35); border-radius: var(--ds-radius-sm); font-family: var(--ds-font-display); font-weight: 800; font-size: 24px; color: #F4F5F2; }
.ds-paper .ds-step-n { background: var(--ds-white); border-color: var(--ds-rule); box-shadow: none; color: var(--ds-blue-deep); }

/* ---------- FAQ (native details/summary, works without JS) ---------- */
.ds-faq { border-top: 1px solid var(--ds-line); }
.ds-faq-item { border-bottom: 1px solid var(--ds-line); }
.ds-faq-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer; font-family: var(--ds-font-display); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ds-fg); }
.ds-faq-item > summary::-webkit-details-marker { display: none; }
.ds-faq-item > summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--ds-accent); border-bottom: 2px solid var(--ds-accent); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.ds-faq-item[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.ds-faq-item > summary:hover { color: var(--ds-accent); }
.ds-faq-a { padding: 0 0 22px; max-width: 70ch; }
.ds-faq-a p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--ds-fg-2); }
.ds-faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band (closing ask) ---------- */
.ds-cta-band { position: relative; padding: 128px 0; background: var(--ds-ink-3); color: var(--ds-fg); border-top: 1px solid rgba(143, 189, 224, .14); overflow: hidden; overflow: clip; isolation: isolate; }
.ds-cta-band-in { max-width: calc(860px + 2 * var(--ds-gutter)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ds-cta-band-in .ds-eyebrow { margin: 0; }
.ds-cta-band-in .ds-body { max-width: 600px; font-size: 18px; }
.ds-cta-band-in .ds-ctarow { justify-content: center; }

/* ---------- prose (legal, blog, long text) ---------- */
.ds-prose { color: var(--ds-fg-2); font-size: 17px; line-height: 1.7; max-width: 72ch; }
.ds-prose > * + * { margin-top: 1em; }
.ds-prose h2 { margin: 2.2em 0 .6em; font-family: var(--ds-font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.15; letter-spacing: -.03em; color: var(--ds-fg); }
.ds-prose h3 { margin: 1.8em 0 .5em; font-family: var(--ds-font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; color: var(--ds-fg); }
.ds-prose h2:first-child, .ds-prose h3:first-child { margin-top: 0; }
.ds-prose p, .ds-prose ul, .ds-prose ol { margin-bottom: 0; }
.ds-prose ul, .ds-prose ol { padding-left: 1.4em; }
.ds-prose ul { list-style: disc; }
.ds-prose ol { list-style: decimal; }
.ds-prose li + li { margin-top: .4em; }
.ds-prose li::marker { color: var(--ds-accent); }
.ds-prose strong, .ds-prose b { color: var(--ds-fg); font-weight: 600; }
.ds-prose a { color: var(--ds-accent); text-decoration: underline; text-underline-offset: 3px; }
.ds-prose a:hover { color: var(--ds-accent-hover); }
.ds-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--ds-blue); color: var(--ds-fg); font-style: normal; }
.ds-prose code { padding: .1em .35em; border: 1px solid var(--ds-line); border-radius: 2px; font-family: var(--ds-font-mono); font-size: .88em; }
.ds-prose pre { overflow-x: auto; padding: 16px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); font-family: var(--ds-font-mono); font-size: 14px; }
.ds-prose pre code { padding: 0; border: 0; }
.ds-prose hr { border: 0; border-top: 1px solid var(--ds-line); margin: 2.4em 0; }
.ds-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.ds-prose th, .ds-prose td { padding: 10px 12px; border-bottom: 1px solid var(--ds-line); text-align: left; vertical-align: top; }
.ds-prose th { color: var(--ds-fg); font-weight: 600; }
.ds-prose img { max-width: 100%; height: auto; border-radius: var(--ds-radius); }

/* ---------- forms ---------- */
.ds-field { display: flex; flex-direction: column; gap: 8px; }
.ds-field + .ds-field { margin-top: 20px; }
.ds-field-label { font-size: 14px; font-weight: 600; color: var(--ds-fg); }
.ds-input, .ds-textarea, .ds-select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ds-field-line); border-radius: var(--ds-radius-sm); background: var(--ds-field-bg); color: var(--ds-fg); font-family: var(--ds-font-body); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.ds-textarea { min-height: 132px; resize: vertical; }
.ds-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ds-accent) 50%), linear-gradient(135deg, var(--ds-accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ds-select option { color: #1D1D1B; background: #FFFFFF; }
.ds-input::placeholder, .ds-textarea::placeholder { color: var(--ds-fg-3); opacity: 1; }
.ds-input:hover, .ds-textarea:hover, .ds-select:hover { border-color: var(--ds-accent); }
.ds-input:focus, .ds-textarea:focus, .ds-select:focus { outline: none; border-color: var(--ds-focus); box-shadow: 0 0 0 3px rgba(143, 189, 224, .35); }
.ds-paper .ds-input:focus, .ds-paper .ds-textarea:focus, .ds-paper .ds-select:focus { box-shadow: 0 0 0 3px rgba(31, 90, 145, .25); }
.ds-input[aria-invalid="true"], .ds-textarea[aria-invalid="true"], .ds-select[aria-invalid="true"] { border-color: var(--ds-error); }
.ds-help { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ds-fg-3); }
.ds-error { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--ds-error); }
.ds-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--ds-fg-2); cursor: pointer; }
.ds-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ds-blue); }
.ds-check input:focus-visible { outline: 2px solid var(--ds-focus); outline-offset: 2px; }

/* =====================================================================
   CHROME: header, mobile drawer, footer, phone sticky bar (base.html)
   ===================================================================== */
.ds-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--ds-header-h); background: rgba(20, 20, 19, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(143, 189, 224, .16); color: var(--ds-fg); font-family: var(--ds-font-body); }
/* main.js toggles these on scroll; they paint white (!important) in main.css */
.ds-header.navbar-scrolled, .ds-header.navbar-transparent { background-color: rgba(20, 20, 19, .92) !important; border-bottom-color: rgba(143, 189, 224, .16) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ds-header-in { max-width: var(--ds-wrap); height: 100%; margin: 0 auto; padding: 0 var(--ds-gutter); }
.ds-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--ds-header-h); }
.ds-logo { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.ds-logo img { display: block; height: 22px; width: auto; }
.ds-nav { gap: 28px; }
/* `.ds-header` prefix: main.css's `.navbar-transparent .nav-link` (0,2,0) must not win */
.ds-header .ds-nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #D6D8D2; text-decoration: none; transition: color .2s; }
.ds-header .ds-nav-link:hover { color: #F4F5F2; }
.ds-header .ds-nav-link.is-active { color: #F4F5F2; font-weight: 600; }
.ds-header .ds-nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: #8FBDE0; }
.ds-lang { display: inline-flex; align-items: center; border: 1px solid rgba(244, 245, 242, .2); border-radius: var(--ds-radius-sm); }
.ds-lang button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 10px; border: 0; background: transparent; color: #A8ABA4; font-family: var(--ds-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; cursor: pointer; transition: color .2s, background .2s; }
.ds-lang button + button { border-left: 1px solid rgba(244, 245, 242, .2); }
.ds-lang button:hover { color: #F4F5F2; background: rgba(143, 189, 224, .08); }
.ds-lang button[aria-current="true"] { color: #F4F5F2; background: rgba(143, 189, 224, .14); }
.ds-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; color: #F4F5F2; cursor: pointer; }
.ds-menu-btn:hover { color: #8FBDE0; }
.ds-drawer { margin: 0 calc(-1 * var(--ds-gutter)); padding: 12px var(--ds-gutter) 20px; background: #141413; border-top: 1px solid rgba(143, 189, 224, .16); border-bottom: 1px solid rgba(143, 189, 224, .16); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.ds-drawer-list { display: flex; flex-direction: column; }
.ds-header .ds-drawer .ds-nav-link { min-height: 48px; font-size: 16px; border-bottom: 1px solid rgba(143, 189, 224, .12); }
.ds-header .ds-drawer .ds-nav-link.is-active::after { display: none; }
.ds-header .ds-drawer .ds-nav-link.is-active { color: #8FBDE0; }
.ds-drawer-foot { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.ds-header-spacer { height: var(--ds-header-h); background: var(--ds-ink-3); }
/* the hamburger + drawer are phone/tablet only; `.ds-menu-btn` sets display, so
   re-assert Tailwind's xl:hidden (site.css loads after tailwind.css) */
@media (min-width: 1280px) {
    .ds-menu-btn, .ds-drawer { display: none !important; }
}

.ds-footer { position: relative; background: var(--ds-ink-3); color: var(--ds-fg); border-top: 1px solid rgba(143, 189, 224, .14); font-family: var(--ds-font-body); }
.ds-footer-in { max-width: var(--ds-wrap); margin: 0 auto; padding: 72px var(--ds-gutter) 32px; }
.ds-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.ds-footer-logo { display: block; height: 22px; width: auto; margin-bottom: 18px; }
.ds-footer-about { margin: 0; max-width: 40ch; font-size: 14px; line-height: 1.6; color: #A8ABA4; }
.ds-footer-social { display: flex; gap: 8px; margin-top: 20px; }
.ds-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(244, 245, 242, .16); border-radius: var(--ds-radius-sm); color: #D6D8D2; transition: color .2s, border-color .2s; }
.ds-footer-social a:hover { color: #F4F5F2; border-color: #8FBDE0; }
.ds-footer-h { margin: 0 0 14px; font-family: var(--ds-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8FBDE0; }
.ds-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ds-footer-list a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; color: #D6D8D2; text-decoration: none; transition: color .2s; }
.ds-footer-list a:hover { color: #F4F5F2; text-decoration: underline; }
.ds-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(143, 189, 224, .14); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.ds-footer-bottom p { margin: 0; font-size: 13px; color: #A8ABA4; }
.ds-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ds-footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; color: #D6D8D2; text-decoration: none; }
.ds-footer-bottom a:hover { color: #F4F5F2; text-decoration: underline; }

/* phone sticky WhatsApp bar (base.html; same values the home shipped with) */
@media (max-width: 767px) {
    [data-testid="mobile-sticky-cta"].ds-sticky { background: rgba(20, 20, 19, .96); border-top: 1px solid rgba(143, 189, 224, .24); box-shadow: none; padding-left: 16px; padding-right: 16px; }
    .ds-sticky a { min-height: 52px; border-radius: 2px; background: #2E75B6; font-size: 16px; }
    .ds-sticky a:hover { background: #1F5A91; }
    /* the bar is fixed: pad the footer so its last line is never under the bar */
    .ds-footer--sticky-pad { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .ds-grid--3, .ds-grid--4, .ds-steps, .ds-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ds-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ds-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .ds-sec { padding: 72px 0; }
    .ds-sec--tight { padding: 56px 0; }
    .ds-sec--flush { padding-top: 0; }
    .ds-hero { padding: 40px 0 56px; }
    .ds-h1 { font-size: 2.4rem; line-height: 1; }
    .ds-h2 { font-size: 2rem; }
    .ds-lead { font-size: 17px; line-height: 1.5; }
    .ds-head { margin-bottom: 40px; }
    .ds-ctarow { flex-direction: column; align-items: stretch; }
    .ds-grid--2, .ds-grid--3, .ds-grid--4, .ds-steps, .ds-steps--4 { grid-template-columns: minmax(0, 1fr); }
    .ds-card { padding: 24px; }
    .ds-price { padding: 24px; }
    .ds-cta-band { padding: 88px 0; }
    .ds-prose { font-size: 16px; }
    .ds-footer-in { padding-top: 56px; }
    .ds-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
    .ds-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion: every animation stops, everything stays visible ---------- */
@media (prefers-reduced-motion: reduce) {
    .ds-page *, .ds-page *::before, .ds-page *::after,
    .ds-header *, .ds-footer *, .ds-btn, .ds-shine, .ds-pulse, .ds-aurora, .ds-beamline::after {
        animation: none !important; transition: none !important;
    }
    .ds-lift:hover, .ds-btn:hover { transform: none; }
}
