/*
Theme Name: WorkDone
Theme URI: https://workdone.ai/
Author: WorkDone Inc.
Description: Block theme for workdone.ai, built from the approved stage 1 preview. Core blocks only.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.4
License: GPLv2 or later
Text Domain: workdone-theme
*/
/* Layout: white canvas, centered 1160px column, sticky header with mega-menu, soft lime-to-cyan ellipse glows behind heroes and the closing band.
   Single light theme by design: RULES.md requires a white background throughout. */
:root {
  --bg: #ffffff;
  --ink: #0e2a2b;        /* headings and body, cyan-biased near black */
  --ink-2: #33504f;      /* secondary text */
  --muted: #557070;      /* captions, notes (AA on white) */
  --line: #d9e7e6;       /* hairlines and card borders */
  --tint: #f3f9f8;       /* quiet card fill */
  --lime: #00c000;       /* brand accent, never body text */
  --cyan: #00c0c0;       /* brand accent, never body text */
  --cyan-ink: #006b6b;   /* text-safe cyan for links */
  --lime-ink: #0a7a14;   /* text-safe green */
  --grad: linear-gradient(100deg, #00c000 0%, #00c0c0 100%);
  --needs: #fff3c4;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 22px; --r-md: 16px; --r-sm: 10px;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 820px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); font-weight: 650; font-weight: 600; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; }
p + p { margin-top: .9em; }
a { color: var(--cyan-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-ink); margin-bottom: .9rem; }



.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--grad); color: var(--ink); font-weight: 650; font-weight: 600; text-decoration: none; padding: .9rem 1.5rem; border-radius: 999px; border: 0; box-shadow: 0 8px 22px -12px rgba(0,150,120,.65); transition: transform .15s, box-shadow .15s; font-size: 1rem; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0,150,120,.75); }
.btn.sm { padding: .6rem 1.05rem; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.textlink { color: var(--cyan-ink); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 2rem; margin-top: 2rem; }
.ctas.center { justify-content: center; }
.cta-main, .cta-alt { display: flex; flex-direction: column; gap: .4rem; }
.ctas.center .cta-main, .ctas.center .cta-alt { align-items: center; }
.cta-alt { padding-top: .85rem; }
.cta-note { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero.has-art .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-copy { max-width: 760px; min-width: 0; }
.hero .lede { font-size: var(--step-1); color: var(--ink-2); margin-top: 1.25rem; max-width: 62ch; }
.hero-art img { width: 100%; height: auto; display: block; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .32; pointer-events: none; }
.b1 { width: 560px; height: 380px; background: radial-gradient(closest-side, var(--cyan), transparent); top: -120px; right: -120px; }
.b2 { width: 460px; height: 320px; background: radial-gradient(closest-side, var(--lime), transparent); bottom: -170px; left: -140px; opacity: .22; }
.b3 { width: 520px; height: 300px; background: radial-gradient(closest-side, var(--cyan), transparent); top: -140px; left: 50%; transform: translateX(-50%); opacity: .25; }

/* sections */
.band { padding-block: clamp(2.75rem, 5.5vw, 4.75rem); }
.band > .wrap > h2, .band > .wrap > .eyebrow + h2 { max-width: 760px; }
.band > .wrap > h2 + p, .band > .wrap > h2 + .grid, .band > .wrap > h2 + .feats, .band > .wrap > h2 + ol, .band > .wrap > h2 + ul { margin-top: 1rem; }
.band .wrap > p { color: var(--ink-2); max-width: 68ch; }
.problem { background: var(--bg); }
.problem h2 { margin-bottom: 1rem; }
.problem p { color: var(--ink-2); font-size: 1.12rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.col-copy { min-width: 0; }
.col-copy h2 { margin-bottom: 1rem; }
.col-copy p { color: var(--ink-2); }
.stack { display: grid; gap: 1rem; min-width: 0; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.card.soft { background: var(--tint); border-color: transparent; }
.card h3 + p { margin-top: .45rem; color: var(--ink-2); }
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.g1 { grid-template-columns: minmax(0, 1fr); }
.pillar { display: flex; flex-direction: column; gap: .7rem; transition: border-color .2s, box-shadow .2s; }
.pillar:hover { border-color: var(--cyan); box-shadow: 0 16px 34px -24px rgba(0,120,120,.5); }
.pillar p { color: var(--ink-2); flex: 1; }
.ico-wrap { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(0,192,0,.14), rgba(0,192,192,.18)); color: var(--cyan-ink); }
.ico-wrap.sm { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.ico { width: 24px; height: 24px; }
.ico.sm { width: 18px; height: 18px; vertical-align: -3px; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.5rem; margin-top: 2rem; }
.feats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.feat h3 { font-size: 1.08rem; }
.feat p { color: var(--ink-2); margin-top: .25rem; font-size: 1rem; }
.feat .textlink { display: inline-block; margin-top: .4rem; font-size: .95rem; }

/* loop */
.loopband { background: linear-gradient(180deg, var(--bg), var(--tint) 30%, var(--tint) 70%, var(--bg)); }
.loop { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; }
.loop::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: var(--grad); opacity: .55; }
.loop > .loop-item { position: relative; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.loop-node { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); color: var(--cyan-ink); }
.loop h3 { font-size: 1.1rem; }
.loop p { color: var(--ink-2); font-size: .98rem; }
.loop-return { margin-top: 1.5rem; color: var(--cyan-ink); font-weight: 600; font-size: .95rem; }

/* steps (true sequences) */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: st; }
.steps > .step { counter-increment: st; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.5rem; position: relative; }
.steps > .step::before { content: counter(st); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-2); margin-top: .4rem; }

/* proof */
.proof { padding-block: 2rem; border-block: 1px solid var(--line); }
.proof-label { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logos { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; }
.logos li { font-weight: 600; color: var(--muted); font-size: 1.02rem; letter-spacing: -.01em; }


/* quotes */
.quotes h2 { margin-bottom: 1.5rem; }
.quote-grid { display: grid; gap: 1.25rem; }
.quote-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.quote.big { padding: clamp(1.75rem, 4vw, 3rem); max-width: 940px; margin-inline: auto; }
.quote.big .qtext { font-size: var(--step-1); }
.qmark { width: 40px; height: 30px; fill: var(--lime); }
.quote .qtext { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.6; flex: 1; }
.quote .figcap { display: flex; align-items: center; gap: .85rem; }
.quote .figcap .who { display: grid; }
.quote .who strong { font-weight: 600; }
.quote .who { color: var(--muted); font-size: .92rem; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: var(--tint); border: 2px solid transparent; background-image: linear-gradient(var(--tint), var(--tint)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }

/* story, callout, faq, docs, text */
.story { padding: clamp(1.5rem, 4vw, 3rem); background: var(--bg); position: relative; overflow: hidden; }
.story::after { content: ""; position: absolute; width: 360px; height: 240px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,192,0,.18), transparent); pointer-events: none; }
.story h2 { margin-bottom: 1rem; max-width: 760px; }
.story-body { max-width: 72ch; color: var(--ink-2); }
.callout { border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--tint); }
.callout h2 { margin-bottom: .8rem; }
.callout > p { color: var(--ink-2); max-width: 70ch; }
.mini { background: var(--bg); border-radius: var(--r-md); padding: 1.25rem; }
.mini p { color: var(--ink-2); margin-top: .35rem; font-size: 1rem; }
.mini .textlink { display: inline-block; margin-top: .5rem; }
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-size: 1.4rem; color: var(--cyan-ink); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.2rem; color: var(--ink-2); }
.defs { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.defs li { border-left: 3px solid var(--cyan); padding: .15rem 0 .15rem 1rem; }
.defs strong { display: block; font-weight: 600; }
.defs span { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.6rem; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--grad); }
.docs { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.doc { display: grid; gap: .3rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); height: 100%; }
.doc:hover { border-color: var(--cyan); }
.doc .doc-text { color: var(--muted); font-size: .95rem; }
.plain { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .8rem; }





/* closing band */
.ctaband { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem); background: var(--bg); border: 1px solid var(--line); }
.ctaband > .blob { position: absolute; z-index: 0; }
.ctaband > :not(.blob) { position: relative; z-index: 1; }
.ctaband h2 { max-width: 780px; margin-inline: auto; }
.ctaband > p { color: var(--ink-2); max-width: 60ch; margin: 1rem auto 0; }
.ctaband .eyebrow { margin-inline: auto; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 3rem 2rem; margin-top: 2rem; font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr); gap: 2.5rem; }
.foot-brand img { width: 156px; height: auto; }
.foot-brand p { color: var(--ink-2); margin-top: .9rem; }
.foot-brand .addr { color: var(--muted); font-size: .9rem; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.foot h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .7rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--cyan-ink); text-decoration: underline; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* responsive */
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .navwrap { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem max(20px, env(safe-area-inset-right, 0px)) 1.5rem max(20px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 110px); overflow-y: auto; }
  .navwrap.open { display: flex; }
  .nav { flex-direction: column; }
  .ng-btn { width: 100%; justify-content: space-between; padding: .8rem .2rem; font-size: 1.05rem; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .5rem; }
  .nav-ctas { flex-direction: column; align-items: stretch; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .hdr-cta { align-items: stretch; text-align: center; }
  .topbar .wrap { position: static; }
  .topbar { position: sticky; }
}
@media (max-width: 900px) {
  .hero.has-art .hero-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .grid.g3, .feats.three, .quote-grid.n3 { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .loop::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #00c000, #00c0c0); }
  .loop > .loop-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1rem; }
  .loop > .loop-item h3 { grid-column: 2; align-self: center; }
  .loop > .loop-item p { grid-column: 2; }
  .loop-node { grid-row: 1 / span 2; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.g2, .feats, .quote-grid.n2 { grid-template-columns: minmax(0, 1fr); }
  .ctas { gap: .9rem; }
  .cta-alt { padding-top: 0; }
  .b1 { width: 340px; height: 260px; }
}

/* fixes after first render check */
.btn, .nav-ctas .textlink { white-space: nowrap; }
.nav-row { gap: 1rem; }
.nav-ctas { gap: .9rem; }
.proof .wrap > p { max-width: none; }
@media (max-width: 1240px) and (min-width: 1061px) { .nav-ctas > .textlink { display: none !important; } }

.story-quote { margin-top: 1.75rem; }
.story-quote .quote { background: var(--tint); border-color: transparent; }
.band[id] { scroll-margin-top: 90px; }
.cta-main, .cta-alt { align-items: flex-start; }
.logos.imgs { gap: 1.4rem 2.6rem; align-items: center; }
.logos .logo img { display: block; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logos .logo:hover img { filter: none; opacity: 1; }
img.avatar.photo { object-fit: cover; padding: 0; background: none; border: 2px solid var(--cyan); }
@media (max-width: 600px) { .logos .logo img { transform: scale(.78); transform-origin: center; max-width: 130px; } .logos.imgs { gap: 1rem 1.6rem; } }

.loopfig { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; margin-top: 2.25rem; }
.loopfig-art { margin: 0; min-width: 0; }
.loop-svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.loop-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.loop-list li, .loop-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.loop-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: 1rem; margin: 0; }
.loop-list h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.loop-list p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .loopfig { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.loop-list .textlink { white-space: nowrap; }

/* ===== WordPress block adaptations ===== */
.logos .lh-30 img { height: 30px; }
.logos .lh-34 img { height: 34px; }
.logos .lh-36 img { height: 36px; }
.logos .lh-42 img { height: 42px; }
.logos .lh-43 img { height: 43px; }
.logos .lh-44 img { height: 44px; }
.logos .lh-48 img { height: 48px; }
.logos .lh-52 img { height: 52px; }
.logos .lh-56 img { height: 56px; }
.loop-list a { white-space: nowrap; }
.loopfig { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; margin-top: 2.25rem; }
.loopfig-art { margin: 0; min-width: 0; }
.loop-svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.loop-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.loop-list li, .loop-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.loop-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: 1rem; margin: 0; }
.loop-list h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.loop-list p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .loopfig { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* core block resets so the preview design holds */
.wp-site-blocks { padding: 0; }
:where(.wp-block-group, .wp-block-image, .wp-block-quote, .wp-block-list) { margin: 0; }
.wp-block-group.wrap { margin-left: auto; margin-right: auto; }
.loop-item p a { color: var(--cyan-ink); font-weight: 600; text-decoration: none; }
.wp-block-image img { display: block; height: auto; max-width: 100%; }
.wp-block-heading { margin: 0; }
.eyebrow + .wp-block-heading { margin-top: 0; }
.band .wrap > .wp-block-heading + p, .band .wrap > .wp-block-heading + .grid, .band .wrap > .wp-block-heading + .feats, .band .wrap > .wp-block-heading + .steps, .band .wrap > .wp-block-heading + .loop, .band .wrap > .wp-block-heading + .wp-block-list { margin-top: 1rem; }
.col-copy > .wp-block-heading { margin-bottom: 1rem; }
.band .wrap > p:not(.eyebrow):not(.proof-label) { color: var(--ink-2); max-width: 68ch; }
.wp-block-buttons { display: flex; gap: 1rem; margin: 0; }
.wp-element-button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--grad); color: var(--ink); font-weight: 600; text-decoration: none; padding: .9rem 1.5rem; border-radius: 999px; border: 0; box-shadow: 0 8px 22px -12px rgba(0,150,120,.65); transition: transform .15s, box-shadow .15s; font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0,150,120,.75); color: var(--ink); }
.nav-ctas .wp-block-button__link { padding: .6rem 1.05rem; font-size: .92rem; }
.textlink a, p.textlink a { color: var(--cyan-ink); font-weight: 600; text-decoration: none; }
.textlink a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feat .textlink, .mini .textlink { margin-top: .4rem; font-size: .95rem; }
.ctas { flex-direction: row; }
.ctas.center { justify-content: center; }
.cta-note { font-size: .85rem; color: var(--muted); font-weight: 500; margin: 0; }
.pillar .cta-note { margin-top: -.3rem; }
.hero .wp-block-heading { font-size: var(--step-4); }
.hero-art img { width: 100%; height: auto; }
.feat { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.feat-copy { min-width: 0; }
.feat .wp-block-heading { font-size: 1.08rem; }
.feat-copy p { color: var(--ink-2); margin-top: .25rem; font-size: 1rem; }
.loop-item .loop-node { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); color: var(--cyan-ink); }
.loop > .loop-item p { color: var(--ink-2); font-size: .98rem; }
.loop { display: grid; }
.steps { display: grid; }
.steps > .step p { color: var(--ink-2); margin-top: .4rem; }
.steps > .step .wp-block-heading { margin-top: 0; }
.quote .qtext { margin: 0; padding: 0; border: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.6; flex: 1; font-style: normal; }
.quote .qtext p { margin: 0; }
.quote .figcap { display: flex; align-items: center; gap: .85rem; }
.quote .avatar { margin: 0; width: 52px; height: 52px; flex: none; }
.quote .avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cyan); }
.quote .who { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.quote .who strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.logos.imgs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.4rem 2.6rem; margin-top: 1rem; }
.logos .logo { margin: 0; }
.logos .logo img { width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logos .logo:hover img { filter: none; opacity: 1; }
ul.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; margin-top: 1rem; }
.proof-label { text-align: center; }
.defs li { list-style: none; }
.doc { display: grid; gap: .3rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.doc:hover { border-color: var(--cyan); }
.doc-title a { color: var(--ink); text-decoration: none; }
.doc-text { color: var(--muted); font-size: .95rem; }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.faq .wp-block-details summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; }
.faq .wp-block-details p { padding: 0 0 1.2rem; color: var(--ink-2); margin: 0; }
.hs-form-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: var(--bg); min-width: 0; }
.ul.plain, .plain { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .8rem; }

.ph-tag { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-ink); }
.hs-form-ph + .hs-form-ph { margin-top: .4rem; color: var(--ink-2); }

/* header and mega-menu on the core Navigation block */
/* The frosted background sits on ::before. A backdrop-filter on .topbar itself would make the header the containing block for the
   Navigation block's fixed full-screen overlay and clip the phone menu to the header height. */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.admin-bar .topbar { top: 32px; }
.nav-row { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { margin: 0; }
.brand img { width: 156px; height: auto; }
.mega-nav { flex: 1; font-size: .98rem; font-weight: 500; }
.mega-nav .wp-block-navigation__container { gap: .25rem; }
.mega-nav .wp-block-navigation-item__content { color: var(--ink); text-decoration: none; padding: .55rem .7rem; border-radius: 10px; }
.mega-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] { background: var(--tint); }
.mega-nav .wp-block-navigation__submenu-container { width: 360px !important; min-width: 360px !important; border: 1px solid var(--line) !important; border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(14,42,43,.28); padding: .5rem !important; background: var(--bg) !important; top: calc(100% + 6px) !important; }
.mega-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: grid !important; gap: .15rem; padding: .7rem .8rem !important; border-radius: var(--r-sm); width: 100%; }
.mega-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--tint); }
.mega-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-weight: 600; }
.mega-nav .wp-block-navigation-item__description { display: block; font-size: .875rem; color: var(--muted); line-height: 1.4; font-weight: 400; }
.nav-ctas { margin-left: auto; }
@media (max-width: 599.98px) { .mega-nav .wp-block-navigation__submenu-container { width: auto !important; min-width: 0 !important; box-shadow: none; border: 0 !important; } }

/* footer */
.foot-col .wp-block-heading { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .7rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-brand .wp-block-image img { width: 156px; }
.foot-bot p { margin: 0; }
.foot-links a { margin-right: .2rem; }

/* ===== 2026-11-19 fixes from the staging audit ===== */

/* Phone header: logo, call-to-action, then the menu button at the right edge. */
.mega-nav .wp-block-navigation__responsive-container-open,
.mega-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; place-items: center; color: var(--ink); border-radius: 10px; }
.mega-nav .wp-block-navigation__container { flex-wrap: nowrap; }
@media (min-width: 600px) and (max-width: 760px) { .brand img { width: 128px; } .mega-nav .wp-block-navigation-item__content { padding: .55rem .4rem; } .nav-ctas .wp-block-button__link { padding: .55rem .8rem; font-size: .84rem; } }
@media (max-width: 599.98px) {
  .nav-row { gap: .5rem; min-height: 64px; }
  .brand img { width: 122px; }
  .nav-ctas { order: 2; margin-left: auto; }
  .nav-ctas .wp-block-button__link { padding: .55rem .8rem; font-size: .84rem; box-shadow: none; }
  .mega-nav { order: 3; flex: 0 0 auto; }
  .mega-nav .wp-block-navigation__responsive-container-open, .mega-nav .is-menu-open .wp-block-navigation__responsive-container-close { display: grid; }
  /* Full-screen phone menu */
  .mega-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--bg); padding: 14px 20px 32px; overflow-y: auto; }
  .mega-nav .is-menu-open .wp-block-navigation__responsive-container-close { top: 0; right: 0; }
  .mega-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; align-items: stretch; }
  .mega-nav .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 1.1rem; }
  .mega-nav .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch; }
  .mega-nav .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { padding: 0 0 .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: none; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; text-align: left; }
  .mega-nav .is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"] { background: none; }
  .mega-nav .is-menu-open .wp-block-navigation__submenu-container { padding: .25rem 0 0 !important; gap: 0; width: 100% !important; top: auto !important; }
  .mega-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .7rem 0 !important; min-height: 44px; font-size: 1.06rem; align-content: center; }
  .mega-nav .is-menu-open .wp-block-navigation-item__description { display: none; }
  .mega-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
}

/* The call-to-action stays a compact button in the header at every width. */
.topbar .nav-ctas { flex-direction: row; align-items: center; border-top: 0; padding-top: 0; }
@media (max-width: 599.98px) { .mega-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item + .wp-block-navigation-item { margin-top: 1.4rem; } }

/* Tablet widths: keep the right-hand dropdowns inside the screen so the page never scrolls sideways. */
@media (min-width: 600px) and (max-width: 900px) {
  .mega-nav .wp-block-navigation__container > .wp-block-navigation-item:not(:first-child) > .wp-block-navigation__submenu-container { left: auto !important; right: 0 !important; }
  .mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) > .wp-block-navigation__submenu-container { right: -120px !important; }
}

/* Testimonials: square headshots, tighter name and title, attribution pinned to the bottom of each card. */
.quote figure.avatar { border: 0; background: none; display: block; }
.quote .figcap .who { display: block; }
.quote .figcap { margin-top: auto; }

/* One left edge: narrow text sections start on the same line as every other section instead of floating in a centered column. */
.band > .wrap.narrow { max-width: 1160px; }
.band > .wrap.narrow > * { max-width: 820px; }
.quote.big { max-width: none; margin-inline: 0; }

/* Paragraph spacing inside sections (WordPress layout styles reset the gap between consecutive paragraphs). */
.wrap > p + p, .story-body > p + p, .col-copy > p + p, .callout > p + p, .hero-copy > p + p { margin-top: .9em; }

/* Customer story with figures: text on the left, two stat tiles on the right, quote underneath. */
.story.has-stats { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.story.has-stats > * { grid-column: 1; }
.story.has-stats > .story-stats { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; gap: 1rem; }
.story.has-stats > .story-quote { grid-column: 1 / -1; }
.stat { background: var(--tint); border-radius: var(--r-md); padding: 1.25rem 1.4rem; }
.stat-num { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.stat .stat-label { margin-top: .3rem; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) {
  .story.has-stats { grid-template-columns: minmax(0, 1fr); }
  .story.has-stats > .story-stats { grid-column: 1; grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
}
@media (max-width: 520px) { .story.has-stats > .story-stats { grid-template-columns: minmax(0, 1fr); } }

/* Corporate Memory hero artwork fills its column. */
.hero.has-art .hero-art img { width: 100%; max-width: 560px; margin-left: auto; }
@media (max-width: 900px) { .hero.has-art .hero-art img { max-width: 420px; margin-inline: auto; } }

/* Footer: three link columns, phone-friendly tap targets, linked phone number. */
.foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-brand .addr a { color: inherit; }
@media (max-width: 900px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col ul { gap: 0; }
  .foot-col li a, .foot-links a { display: inline-block; padding-block: .6rem; }
  .foot-links { gap: 0 1.25rem; }
  .textlink a, .loop-copy p a, .feat-copy p > a, .doc-title a, .wd-form-fallback a, .foot-brand .addr a, .plain a { display: inline-block; padding-block: .55rem; }
}

/* Contact and support details */
.feat-copy a { color: var(--cyan-ink); font-weight: 600; text-decoration: none; }
.feat-copy a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Form area: live form, or contact options when no form is connected yet. */
.wd-form-fallback h3 { margin-bottom: .5rem; }
.wd-form-fallback p { color: var(--ink-2); }
.wd-form-fallback .ticks a { font-weight: 600; text-decoration: none; }
.wd-form-admin-note { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--needs); color: var(--ink); font-size: .9rem; }
.hs-form-wrap .hs-form fieldset { max-width: none; }
.hs-form-wrap .hs-form label { font-weight: 600; font-size: .95rem; }
.hs-form-wrap .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; background: var(--bg); color: var(--ink); }
.hs-form-wrap .hs-form .hs-button { background: var(--grad); color: var(--ink); font-weight: 600; padding: .9rem 1.5rem; border-radius: 999px; border: 0; font-size: 1rem; cursor: pointer; margin-top: .5rem; }

/* 404 page links */
.notfound-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.notfound-links a { display: inline-block; padding-block: .55rem; font-weight: 600; text-decoration: none; }
.foot-links a { margin-right: 0; }

/* Legal pages (Privacy Policy, Terms of Service): readable long-form text. */
.legal { padding-top: clamp(3rem, 6vw, 5rem); }
.legal .wrap > h1 { font-size: var(--step-4); }
.legal .legal-date { margin-top: .9rem; color: var(--muted); font-weight: 500; }
.legal .wrap > h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.legal .wrap > h3 { font-size: 1.12rem; margin-top: 1.6rem; }
.legal .wrap > p:not(.eyebrow):not(.legal-date) { margin-top: .8rem; }
.legal .wp-block-list { margin: .7rem 0 0; padding-left: 1.35rem; display: grid; gap: .4rem; color: var(--ink-2); }
.legal .wp-block-list .wp-block-list { margin-top: .4rem; }

/* Header layout: logo on the left; menus and the call button together on the right. */
@media (min-width: 600px) {
  .mega-nav { flex: 0 1 auto; margin-left: auto; }
  .topbar .nav-ctas { margin-left: .5rem; }
  /* Dropdowns open leftwards from the right-hand menus so they stay on screen. */
  .mega-nav .wp-block-navigation__container > .wp-block-navigation-item:not(:first-child) > .wp-block-navigation__submenu-container { left: auto !important; right: 0 !important; }
}
@media (min-width: 600px) and (max-width: 700px) { .mega-nav .wp-block-navigation__submenu-container { width: 300px !important; min-width: 300px !important; } }
@media (min-width: 900px) { .mega-nav .wp-block-navigation__container { gap: .9rem; } .topbar .nav-ctas { margin-left: 1rem; } }
