/* The two homepages in the Dock look of the inner pages (assets/redesign/sais-dock.css).
   Loads last and restyles in place: no words, sections or motion change here.
   Stays as it was: the shared navy header and footer color, the logo plate, the cobalt
   "Your business" card (one-shape.js draws it), and the Today window, already on Dock. */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap");

:root,
body[data-view="canvas"] {
  --page:#faf9f7; --surface:#fff; --soft:#f4f2ee; --ink:#0b0d10; --muted:#4a525c; --line:#efefef;
  --blue:#1463c9; --blue-hover:#0f4fa6; --wash:rgba(20,99,201,.07); --on-blue:#fff;
  --font:Satoshi,"Helvetica Neue",Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  --shadow:var(--dock-feather);
  --dock-faint:#6a6f77; --dock-line-strong:#e2e1de; --dock-line-faint:#f4f4f3; --dock-edge:rgba(20,99,201,.26);
  --dock-ink-1:#15181d; --dock-ink-2:#1f2329;
  --dock-on-ink:#f3f5f7; --dock-on-ink-2:#a8b0ba; --dock-on-ink-3:#858e99; --dock-rule-on-ink:rgba(255,255,255,.11);
  --dock-feather:0 1px 2px rgba(18,23,34,.04),0 10px 28px -16px rgba(18,23,34,.14);
  --dock-feather-lift:0 1px 2px rgba(18,23,34,.05),0 18px 40px -20px rgba(18,23,34,.22);
  --dock-kicker:700 12px/1.4 var(--mono);
}

/* Headings: one family, heavy and tight. The id outranks every per-section override. */
#main :is(h2,h3) { letter-spacing:-.022em; }
#main h2 { font-weight:800; line-height:1.08; }
#main h3 { font-weight:700; line-height:1.15; }

/* Buttons: pills, blue fill for the main action, white with a hairline for the partner. */
.button { min-height:50px; padding:0 24px; gap:12px; border-radius:48px; font-size:16px; font-weight:500; }
.button span,.canvas-secondary span { font-size:18px; }
.text-link { font-weight:500; }

/* ---------- Hero: same stage and same motion on the cream canvas, closing on ink. ---------- */
.unified-scroll.depth-scene,
.static-home .unified-scroll.depth-scene,
.unified-scroll.depth-scene.is-static {
  --depth-scene-ink:#0b0d10; --depth-scene-accent:#1463c9; --depth-scene-ui:#4a525c; --depth-scene-ui-active:#1463c9;
}
.unified-scroll.depth-scene[data-scene-tone="transition"] {
  --depth-scene-ink:#0b0d10; --depth-scene-accent:#0b0d10; --depth-scene-ui:#0b0d10; --depth-scene-ui-active:#0b0d10;
}
.unified-scroll.depth-scene[data-scene-tone="navy"] {
  --depth-scene-ink:#f3f5f7; --depth-scene-accent:#5aa2ff; --depth-scene-ui:#a8b0ba; --depth-scene-ui-active:#f3f5f7;
}
/* Painting the section too closes the strip that showed under the pinned stage once the header scrolled off. */
.unified-scroll.depth-scene,
:root .unified-scroll.depth-scene .unified-stage { background:color-mix(in srgb,#faf9f7,#0b0d10 calc(var(--depth-navy)*100%)); }
.depth-prefix,.depth-suffix { font-weight:700; letter-spacing:-.032em; }
/* The title holds through the Today card: "We build the" stays put, and only the word and its ending change. */
.unified-scroll.depth-scene .unified-headline { opacity:1; transform:none; transition:none; }
@media (prefers-reduced-motion:no-preference) {
  .unified-scroll.depth-scene:not([data-headline="0"]) .unified-headline.is-current :is(.depth-word-window,.depth-suffix),
  .unified-scroll.depth-scene[data-headline="6"] .unified-headline.is-current .depth-prefix { animation:dock-word-in .34s cubic-bezier(.2,.6,.2,1) both; }
}
@keyframes dock-word-in { from { opacity:0; transform:translateY(10px); } }
/* The card row that matches the title's word lights up with it, so the two read as one idea. */
.unified-scroll[data-phase="today"] .story__row { transition:border-color .2s,box-shadow .2s; }
:is(
  .unified-scroll[data-phase="today"][data-headline="0"] .story__row:nth-child(1),
  .unified-scroll[data-phase="today"][data-headline="1"] .story__row:nth-child(2),
  .unified-scroll[data-phase="today"][data-headline="2"] .story__row:nth-child(3),
  .unified-scroll[data-phase="today"][data-headline="3"] .story__row:nth-child(4),
  .unified-scroll[data-phase="today"][data-headline="4"] .story__row:nth-child(5),
  .unified-scroll[data-phase="today"][data-headline="5"] .story__row:nth-child(6)
) { z-index:1; border-color:var(--blue); box-shadow:0 0 0 2px var(--blue),0 10px 26px -14px rgba(20,99,201,.7); }
:is(
  .unified-scroll[data-phase="today"][data-headline="0"] .story__row:nth-child(1),
  .unified-scroll[data-phase="today"][data-headline="1"] .story__row:nth-child(2),
  .unified-scroll[data-phase="today"][data-headline="2"] .story__row:nth-child(3),
  .unified-scroll[data-phase="today"][data-headline="3"] .story__row:nth-child(4),
  .unified-scroll[data-phase="today"][data-headline="4"] .story__row:nth-child(5),
  .unified-scroll[data-phase="today"][data-headline="5"] .story__row:nth-child(6)
) .story__tag { color:var(--on-blue); background:var(--blue); border-color:var(--blue); }
/* The rows clip to one line, which cut the tails off g, j and y on iPhones. */
.story__row-text :is(b,small) { padding-bottom:.14em; margin-bottom:-.14em; }
.depth-scene .canvas-copy .location { font:var(--dock-kicker); letter-spacing:.16em; color:var(--blue); }
.canvas-call { font-size:12px; }
.canvas-toolbar>p { font-size:12px; }

.canvas-actions .button,.canvas-secondary { min-height:50px; padding:0 24px; gap:12px; border-radius:48px; font-size:16px; font-weight:500; }
.canvas-secondary { border-color:var(--dock-line-strong); box-shadow:var(--dock-feather); color:var(--ink); }
.canvas-secondary:hover { border-color:#d4d3cf; color:var(--ink); box-shadow:var(--dock-feather-lift); }

.business-canvas::before { background:none; }
.depth-scene .canvas-routes .canvas-route-base { stroke:#d4d3cf; }
.depth-scene .canvas-routes .canvas-data-packet { stroke:#1463c9; }
.depth-scene .unified-network .has-logo-hub .canvas-tool>span { background:#fff; border:1px solid var(--line); box-shadow:var(--dock-feather); }
.canvas-tool small { letter-spacing:0; }
.depth-scene .partnership-link { background:var(--dock-edge); }
.depth-scene .partnership-link::after { background:#1463c9; }
.partnership-caption { color:var(--muted); }

.unified-scroll.depth-scene .unified-progress { border-color:color-mix(in srgb,#e2e1de,#1f2329 calc(var(--depth-navy)*100%)); }
:root .unified-scroll.depth-scene .unified-layer-label { color:#0b0d10; }
.unified-scroll.depth-scene .unified-layer-label span { background:#fff; border-color:var(--dock-line-strong); border-radius:48px; box-shadow:var(--dock-feather); }
.unified-scroll.depth-scene .unified-layer-label b { color:#1463c9; }
/* The dark bottom plate would melt into the ink stage without an edge. */
.unified-scroll .story__layer--tools .story__plate { background:var(--dock-ink-2); box-shadow:inset 0 0 0 1px var(--dock-rule-on-ink); }

/* ---------- Under the hero ---------- */
.capabilities { border-block-color:var(--line); }
.capability-buttons { gap:6px; }
.capability-buttons button { padding:8px 14px; border-radius:48px; font-size:14px; font-weight:500; color:var(--muted); }
.capability-buttons button[aria-pressed="true"] { background:#fff; color:var(--ink); box-shadow:0 0 0 1px var(--line),var(--dock-feather); }
.capabilities p { font-size:15px; }
.section-heading>p { max-width:680px; font-size:20px; line-height:1.45; text-wrap:balance; }

/* Work */
.live-proof .live-project { border-color:var(--line); border-radius:16px; box-shadow:var(--dock-feather); }
.live-project-media>span { background:rgba(11,13,16,.8); }
.live-project-content>p { font-size:16px; }
.live-project-content small { font-size:12px; color:var(--dock-faint); }
.live-project-views button,.live-project-scope { padding:7px 13px; border-color:var(--dock-line-strong); border-radius:48px; font-size:13px; font-weight:500; }
.live-project-scope { display:block; width:fit-content; }
.live-project-views button[aria-pressed="true"] { border-color:var(--dock-edge); }
.live-project-link { font-size:14px; font-weight:500; }

/* Offers */
.offer-refresh .offer { border-radius:16px; }
.offer-tag { font:var(--dock-kicker); letter-spacing:.16em; }
.offer-refresh-support .offer-tag { font:var(--dock-kicker); letter-spacing:.16em; color:var(--blue); }
.offer-refresh-feature .offer-tag { font:var(--dock-kicker); letter-spacing:.16em; color:var(--dock-on-ink); }
.offer-refresh .offer-refresh-feature { background:#0b0d10; border-color:#0b0d10; color:var(--dock-on-ink); box-shadow:var(--dock-feather-lift); }
.offer-refresh-feature .offer-copy h3 { color:var(--dock-on-ink); }
.offer-refresh-feature .offer-copy>p:last-child,
.offer-refresh .offer-refresh-feature ul { color:var(--dock-on-ink-2); }
.offer-refresh .offer-refresh-feature li::before { color:var(--dock-on-ink); }
.offer-refresh .offer-refresh-cta { min-height:50px; padding:0 24px; gap:12px; background:#fff; color:#0b0d10; border-radius:48px; font-weight:500; }
.offer-refresh .offer-refresh-cta:hover { background:var(--soft); }
.offer-refresh .offer-refresh-cta:focus-visible { outline-color:#fff; }
.offer-refresh-flow { background:var(--dock-ink-1); border-color:var(--dock-rule-on-ink); border-radius:16px; box-shadow:none; }
.offer-refresh-example { font:var(--dock-kicker); letter-spacing:.16em; color:var(--dock-on-ink-2); }
.offer-refresh-inquiry { background:rgba(255,255,255,.04); border-color:var(--dock-rule-on-ink); border-radius:12px; }
.offer-refresh-inquiry-icon { border-color:var(--dock-rule-on-ink); color:var(--dock-on-ink); }
.offer-refresh-inquiry div>span,.offer-refresh-tool small,.offer-refresh-approval { color:var(--dock-on-ink-2); }
.offer-refresh-inquiry p { color:var(--dock-on-ink); }
.offer-refresh-tool-row::before { background:rgba(255,255,255,.22); }
.offer-refresh-tool>span { background:#fff; border-color:var(--line); border-radius:12px; box-shadow:none; }
.offer-refresh-result { background:#fff; color:#0b0d10; border-color:var(--line); border-radius:12px; }
.offer-refresh-result-icon { background:var(--wash); color:#1463c9; }
.offer-refresh-result strong { font-weight:700; letter-spacing:-.022em; }
.offer-refresh-result p { color:var(--muted); }
.offer-refresh-approval>span { background:var(--dock-on-ink-2); box-shadow:0 0 0 4px rgba(255,255,255,.07); }
.offer-refresh .offer-refresh-support { border-color:var(--line); box-shadow:var(--dock-feather); }
.offer-refresh-support-icon { width:40px; height:40px; border-radius:50%; }
.offer-refresh-support-icon svg { width:22px; height:22px; stroke-width:1.75; }
.offer-refresh-support-detail { border-radius:12px; }
.offer-refresh .offer-refresh-support ul { font-size:15px; }

/* Demo */
.workflow-choice { border-radius:16px; box-shadow:var(--dock-feather); }
.workflow-choice b { font-weight:700; letter-spacing:-.022em; }
.workflow-tool-icon { border-color:var(--line); }
.workflow-choice[aria-pressed="true"] { background:#0b0d10; color:var(--dock-on-ink); border-color:#0b0d10; box-shadow:var(--dock-feather-lift); }
.workflow-choice[aria-pressed="true"] small { color:var(--dock-on-ink-2); }
.workflow-choice[aria-pressed="true"] .workflow-choice-mark { background:#1463c9; border-color:#1463c9; }
.workflow-stage { border-radius:16px; box-shadow:var(--dock-feather); }
.workflow-eyebrow,.workflow-example-label { font:var(--dock-kicker); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.workflow-result { border-color:var(--line); color:#0b0d10; box-shadow:var(--dock-feather); }
.workflow-result-head { border-bottom-color:var(--line); font-weight:700; }
.workflow-status-badge { background:var(--wash); color:#1463c9; border-radius:48px; padding:5px 9px; }
.workflow-date { background:var(--wash); color:#1463c9; border-radius:12px; }
.workflow-appointment p,.workflow-appointment>div+div>span,.workflow-result-foot,.workflow-report>div>span:last-child { color:var(--muted); }
.workflow-appointment svg,.workflow-routine svg { color:#1463c9; }
.workflow-result-foot { background:var(--page); border-top-color:var(--line); }
.workflow-soft-line { background:var(--dock-line-strong); }
.workflow-report>div { border-bottom-color:var(--dock-line-faint); }
.workflow-row-icon { background:var(--wash); color:#1463c9; }
.workflow-routine>div>span { color:var(--dock-faint); }
.workflow-steps { border-radius:12px; }
.workflow-step:first-child { border-radius:11px 0 0 11px; }
.workflow-step:last-child { border-radius:0 11px 11px 0; }
.workflow-stage[data-step="2"] .workflow-result,
.workflow-stage[data-step="3"] .workflow-result { box-shadow:var(--dock-feather-lift),0 0 0 2px var(--dock-edge); }
.workflow-play { border-color:var(--dock-line-strong); border-radius:48px; box-shadow:var(--dock-feather); font-weight:500; }
.workflow-play:hover { border-color:#d4d3cf; box-shadow:var(--dock-feather-lift); }

/* How we work: a full width ink band, like the ink sections on the inner pages. The shadow and
   clip paint the band past the column without adding markup or sideways scroll. */
.process.process-route {
  --process-navy:#0b0d10; --process-white:#f3f5f7; --process-body:#a8b0ba; --process-accent:#f3f5f7; --process-line:var(--dock-rule-on-ink);
  padding:96px 0; margin-block:0; border:0; border-radius:0;
  background:#0b0d10; box-shadow:0 0 0 100vmax #0b0d10; clip-path:inset(0 -100vmax);
}
.process-route .process-route-label { font:var(--dock-kicker); letter-spacing:.16em; }
.process-route-label::before { width:14px; opacity:.65; }
.process-route h2 em { color:var(--dock-on-ink-3); }
.process-route .process-route-intro { font-size:17px; line-height:1.6; }
.process-route .process-route-description { font-size:16px; line-height:1.6; }
.process-route-number { color:var(--dock-on-ink-3); letter-spacing:-.022em; }
.process-route .process-route-sr { font-weight:700; font-size:10px; letter-spacing:.16em; color:var(--dock-on-ink-3); }

/* Straight answers: the inner pages' accordion card. */
.faq { border-top:0; }
.faq>div { align-self:start; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--dock-feather); }
.faq details { border-bottom-color:var(--dock-line-faint); }
.faq details:last-child { border-bottom:0; }
.faq summary { align-items:center; padding:1.05rem 1.25rem; font-size:17px; font-weight:700; letter-spacing:-.022em; }
.faq summary:hover { background:var(--wash); color:var(--blue); }
.faq details p { padding:0 1.25rem 1.25rem; font-size:16px; line-height:1.6; }

/* Last call to action: the inner pages' ink band and panel, the one place the blue corner appears. */
.final-cta {
  --final-band:clamp(40px,7vw,96px);
  margin-block:var(--final-band); padding:clamp(36px,6vw,80px) clamp(24px,5vw,64px);
  text-align:left; color:var(--dock-on-ink-2);
  border:1px solid var(--dock-rule-on-ink); border-radius:24px;
  background:radial-gradient(110% 80% at 100% 0%,rgba(20,99,201,.5) 0%,rgba(20,99,201,0) 58%) no-repeat,var(--dock-ink-1);
  box-shadow:0 0 0 100vmax #0b0d10; clip-path:inset(calc(var(--final-band)*-1) -100vmax calc(var(--final-band)*-1 - 1px));
}
#main .final-cta h2 { font-size:clamp(36px,4.4vw,60px); color:var(--dock-on-ink); }
.final-cta p { font-size:20px; line-height:1.45; color:var(--dock-on-ink-2); }
.final-cta .button { background:#fff; color:#0b0d10; }
.final-cta .button:hover { background:var(--soft); }
.final-cta .button:focus-visible { outline-color:#fff; }

/* Footer: the shared navy stays. Type moves to the inner pages' footer. */
.depth-brand .site-footer .approved-brand-tagline { font-weight:700; letter-spacing:-.022em; color:var(--dock-on-ink); }
.depth-brand .approved-brand-copy>p:not(.approved-brand-tagline) { color:var(--dock-on-ink-2); }
.depth-brand .approved-brand-copy>span { font:var(--dock-kicker); letter-spacing:.16em; text-transform:uppercase; color:var(--dock-on-ink-3); }
.production-footer-links h3 { font:var(--dock-kicker); letter-spacing:.16em; text-transform:uppercase; color:var(--dock-on-ink-3); }
.production-footer-links a { font-size:14px; color:var(--dock-on-ink-2); }
.production-footer-links a:hover { color:var(--dock-on-ink); }

/* Close up view of the work */
dialog { border-radius:16px; box-shadow:var(--dock-feather-lift); }
dialog::backdrop { background:rgba(11,13,16,.6); }
#case-dialog h2 { font-weight:800; line-height:1.08; letter-spacing:-.022em; }
#case-dialog-image { border-radius:12px; }

/* ---------- Roomy screens: small print up to the inner pages' sizes. ---------- */
@media(min-width:1001px) {
  .offer-refresh-practice,.offer-refresh-care { font-size:13px; }
  .offer-refresh-inquiry div>span,.offer-refresh-approval { font-size:13px; }
  .workflow-choice small { font-size:13px; }
  .workflow-stage-top b { font-size:14px; }
  .workflow-mail-head b { font-size:14px; }
  .workflow-mail-head small,.workflow-appointment>div+div>span,.workflow-result-foot,.workflow-chat-prompt { font-size:12px; }
  .workflow-result-head,.workflow-scattered>div,.workflow-routine>div,.workflow-report>div { font-size:13px; }
  .workflow-status-badge,.workflow-date small { font-size:10px; }
  .workflow-report>div>span:last-child { font-size:11px; }
  .workflow-step small { font-size:12px; }
  .workflow-step b { font-size:13px; }
  .workflow-step-number { font-size:11px; }
  .workflow-human p { font-size:14px; }
  .process-route .process-route-outcome { font-size:15px; }
  .process-route .process-route-note { font-size:14px; }
}

/* ---------- Short laptop screens: the hero keeps its tighter controls. ---------- */
@media(max-height:760px) and (min-width:701px) {
  .depth-scene .canvas-actions .button,.depth-scene .canvas-secondary { min-height:40px; padding:0 18px; font-size:13px; }
  .canvas-call { font-size:10px; }
}

/* ---------- Tablet ---------- */
@media(max-width:1120px) {
  .process-route .process-route-intro { font-size:16px; }
}
@media(max-width:1000px) {
  .workflow-choice[aria-pressed="true"] { box-shadow:inset 0 -3px #1463c9; }
  .workflow-status-badge { font-size:9px; padding:4px 8px; }
}
@media(max-width:900px) and (min-width:701px) {
  .canvas-actions .button,.canvas-secondary { font-size:14px; }
}

/* ---------- Phone ---------- */
@media(max-width:700px) {
  :root .unified-scroll.depth-scene .unified-stage { background:color-mix(in srgb,#faf9f7,#0b0d10 calc(var(--depth-navy)*100%)); }
  .depth-scene .canvas-copy .location { font-size:10px; letter-spacing:.14em; }
  .depth-scene .canvas-actions .button,.depth-scene .canvas-secondary { min-height:48px; padding:6px 10px; gap:6px; font-size:13px; }
  .button span,.canvas-secondary span { font-size:15px; }
  .canvas-call { font-size:11px; }
  .depth-scene .unified-network .canvas-tools { border-color:var(--line); background:#fff; box-shadow:var(--dock-feather); }
  .depth-scene .unified-network .canvas-tool>span { border-color:var(--line); box-shadow:none; }
  .depth-scene .unified-network .canvas-core::before { background:linear-gradient(var(--dock-edge),rgba(20,99,201,0)); }
  .depth-scene .unified-progress>div:first-child { border-color:color-mix(in srgb,#e2e1de,#1f2329 calc(var(--depth-navy)*100%)); border-radius:48px; }
  .depth-scene .unified-progress button { border-radius:48px; }
  .depth-scene .unified-progress button[aria-pressed="true"] { background:color-mix(in srgb,#ffffff,#1f2329 calc(var(--depth-navy)*100%)); }
  /* Looser tracking runs wider, so phone headings size down to keep their line breaks. */
  #main :is(.section-heading,.process-route-heading,.faq) h2 { font-size:clamp(28px,8.6vw,38px); }
  .section-heading>p { font-size:17px; }
  .capability-buttons { gap:4px; }
  .capability-buttons button { padding:7px 12px; font-size:14px; }
  .capabilities p { font-size:14px; }
  .offer-refresh .offer-refresh-feature,.offer-refresh .offer-refresh-support { border-radius:16px; }
  .offer-tag,.offer-refresh-support .offer-tag,.offer-refresh-feature .offer-tag { font-size:11px; letter-spacing:.14em; }
  .offer-refresh-example { font-size:11px; letter-spacing:.14em; }
  .offer-refresh .offer-refresh-cta { width:100%; justify-content:center; gap:12px; }
  .offer-refresh .offer-refresh-feature ul,.offer-refresh .offer-refresh-support ul { font-size:14px; }
  .workflow-stage { border-radius:16px; }
  .workflow-choice[aria-pressed="true"] { box-shadow:var(--dock-feather-lift); }
  .workflow-status-badge { font-size:10px; }
  .process.process-route { padding:64px 0; }
  .process-route .process-route-label { font-size:11px; letter-spacing:.14em; }
  .process-route-number { font:700 12px/1.5 var(--mono); letter-spacing:.14em; }
  .process-route .process-route-intro,.process-route .process-route-description { font-size:15px; line-height:1.6; }
  .faq summary { font-size:16px; }
  .faq details p { font-size:15px; }
  #main .final-cta h2 { font-size:clamp(26px,8vw,36px); }
  .final-cta p { font-size:17px; }
  .depth-brand .approved-brand-copy>span { letter-spacing:.14em; }
  .production-footer-links a { font-size:14px; }
}
