/* =====================================================================
   Solicitors & Law Firms page (Raw HTML flex-content block)
   Loaded only when the block's HTML contains data-css="solicitors"
   (see nemark_raw_html_stylesheet() in inc/scripts.php).
   Everything is scoped to <main id="top"> so it can't affect the
   site header, footer or any other page.
   ===================================================================== */

/* ============ 0 BASE ============ */
#top{
  --navy:#091933;--navy-2:#0f2343;--navy-3:#1a3360;
  --mint:#7cc9a8;--mint-deep:#2b7a5c;--mint-wash:#ebf6f1;
  --blue:#2fa2d4;--blue-deep:#1d6f97;--blue-wash:#eaf5fb;
  --g1:#6ae0b1;--g2:#4eb9ea;--grad:linear-gradient(90deg,var(--g1),var(--g2));
  --paper:#f4f6f9;--white:#fff;--line:#dbe3ec;--line-2:#c9d4e1;--line-d:rgba(255,255,255,.14);
  --ink:#091933;--muted:#47556e;--on-n:#e9eff7;--on-n-m:#b3c0d2;
  --note:#fff3c4;--note-ink:#5b4400;
  --f:"Titillium Web","Segoe UI",Arial,sans-serif;
  --wrap:1180px;--gl:max(20px,env(safe-area-inset-left,0px));--gr:max(20px,env(safe-area-inset-right,0px));
  --hh:68px;
  display:block;background:var(--white);color:var(--ink);font:400 18px/1.62 var(--f);-webkit-font-smoothing:antialiased;overflow-x:clip
}
@media (prefers-reduced-motion:reduce){#top *,#top *::before,#top *::after{transition:none!important;animation:none!important}}

/* Theme's #wrapper has overflow:hidden, which stops position:sticky working (the
   "sticky-col" in the problems section). overflow:clip looks identical but allows it. */
#wrapper:has(#top){overflow:clip}

/* Element resets: undo style.css defaults to match the standalone file */
:where(#top) img,:where(#top) svg{max-width:100%}
:where(#top) a{color:var(--blue-deep);text-underline-offset:3px}
:where(#top) :focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
:where(#top) h1,:where(#top) h2,:where(#top) h3,:where(#top) h4{display:block;font-family:var(--f);font-weight:700;line-height:1.1;margin:0;letter-spacing:-.01em;text-wrap:balance}
:where(#top) h2{font-size:1.5em}
:where(#top) h3{font-size:1.17em}
:where(#top) h4{font-size:1em}
/* theme's global ".h2" class adds a bottom margin and line-height */
#top .h2{margin-bottom:0;line-height:1.1}
:where(#top) p,:where(#top) ul,:where(#top) ol,:where(#top) dl,:where(#top) dd,:where(#top) figure,:where(#top) blockquote{margin:0}
:where(#top) blockquote{border-left:0;padding-left:0}
:where(#top) ul,:where(#top) ol,:where(#top) ul ul,:where(#top) ul ol,:where(#top) ol ul,:where(#top) ol ol{padding:0;list-style:none}

:where(#top) .wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--gl);padding-right:var(--gr)}
:where(#top) .vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Prototype-only content: review notes, items pending client approval, flags and the
   demo-form notice are hidden (same as the file's client-preview mode) */
:where(#top) .rn,:where(#top) .pending,:where(#top) .flag,:where(#top) .demo{display:none}

/* type scale */
:where(#top) .num{display:flex;align-items:center;gap:12px;font:600 .8rem/1 var(--f);letter-spacing:.16em;text-transform:uppercase;color:var(--mint-deep)}
:where(#top) .num b{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:700;letter-spacing:.06em}
:where(#top) .num::after{content:"";height:1px;flex:0 0 48px;background:var(--line-2)}
:where(#top) .dark .num{color:var(--g1)}:where(#top) .dark .num b{color:#fff}:where(#top) .dark .num::after{background:var(--line-d)}
:where(#top) .h2{font-size:clamp(1.9rem,3.3vw,2.85rem);font-weight:700;margin-top:14px}
:where(#top) .h2-sm{font-size:clamp(1.55rem,2.4vw,2.05rem);font-weight:700}
:where(#top) .lede{font-size:1.16rem;line-height:1.58;color:var(--muted);max-width:62ch;margin-top:16px}
:where(#top) .dark .lede{color:var(--on-n-m)}
:where(#top) .sec{padding-block:clamp(64px,8vw,104px)}
:where(#top) .sec + .sec.rule{border-top:1px solid var(--line)}
:where(#top) .dark{background:var(--navy);color:var(--on-n)}
:where(#top) .dark a{color:#8fd3f0}
:where(#top) .paper{background:var(--paper)}

/* buttons */
:where(#top) .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:10px;font:700 1.02rem/1 var(--f);text-decoration:none;cursor:pointer;border:0;transition:filter .15s,transform .15s}
:where(#top) .btn-p{background:var(--grad);color:var(--navy)}
:where(#top) .btn-p:hover{filter:brightness(1.05);transform:translateY(-1px)}
:where(#top) .btn-s{min-height:42px;padding:0 16px;font-size:.93rem}
:where(#top) .btn-q{background:transparent;color:var(--navy);border:2px solid var(--navy)}
:where(#top) .btn-q:hover{background:var(--navy);color:#fff}
:where(#top) .dark .btn-q{color:#fff;border-color:rgba(255,255,255,.5)}
:where(#top) .dark .btn-q:hover{background:#fff;color:var(--navy)}
:where(#top) .arrow{font-weight:700;text-decoration:none;display:inline-flex;gap:8px;align-items:center}
:where(#top) .arrow::after{content:"→";transition:transform .15s}
:where(#top) .arrow:hover::after{transform:translateX(3px)}
:where(#top) .quiet-cta{margin-top:30px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;font-size:1rem;color:var(--muted)}
:where(#top) .dark .quiet-cta{color:var(--on-n-m)}


/* ============ HERO ============ */
:where(#top) .hero{background:var(--paper);position:relative;overflow:hidden}
:where(#top) .hero::before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:var(--grad)}
:where(#top) .hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:64px;align-items:center;padding-block:clamp(48px,6vw,84px) clamp(48px,6vw,76px)}
:where(#top) .kicker{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font:600 .82rem/1.3 var(--f);letter-spacing:.14em;text-transform:uppercase;color:var(--mint-deep)}
:where(#top) .kicker span{color:var(--muted);letter-spacing:.06em;text-transform:none;font-size:.95rem;font-weight:600}
:where(#top) .hero h1{margin-top:18px;font-size:clamp(2.35rem,4.7vw,4.15rem);font-weight:700;line-height:1.03;letter-spacing:-.018em}
:where(#top) .hero h1 .amp{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;padding-inline:.04em}
:where(#top) .promise{margin-top:18px;font-size:clamp(1.35rem,2.2vw,1.75rem);font-weight:600;line-height:1.25;color:var(--navy)}
:where(#top) .answer{margin-top:16px;color:var(--muted);font-size:1.08rem;max-width:58ch}
:where(#top) .hero-cta{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
:where(#top) .tel-link{display:flex;flex-direction:column;text-decoration:none;color:var(--navy);font-weight:700;font-size:1.2rem;font-variant-numeric:tabular-nums;line-height:1.15}
:where(#top) .tel-link small{font-weight:600;font-size:.82rem;color:var(--muted)}
:where(#top) .greview{display:inline-flex;align-items:center;gap:8px;font-size:.95rem;color:var(--muted);font-weight:600;margin-top:22px;text-decoration:none;padding:6px 12px 6px 10px;border:1px solid var(--line);border-radius:999px;background:#fff}
:where(#top) .greview:hover{border-color:var(--line-2);color:var(--ink)}
:where(#top) .greview b{color:var(--navy);font-size:1.02rem}
:where(#top) .greview .stars{color:#e3a008;letter-spacing:1px}

/* hero panel: Problem → Diagnosis → Next action */
:where(#top) .fnote{background:var(--navy);color:var(--on-n);border-radius:16px;padding:24px 26px 10px;box-shadow:0 30px 60px -30px rgba(9,25,51,.55)}
:where(#top) .fnote-h{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font:700 .74rem/1.2 var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--on-n-m);padding-bottom:12px;border-bottom:1px solid var(--line-d)}
:where(#top) .fnote-h em{font-style:normal;color:var(--g1)}
:where(#top) .pdn li{display:grid;grid-template-columns:104px 1fr;gap:14px;padding:16px 0;border-bottom:1px dashed var(--line-d);position:relative}
:where(#top) .pdn li:last-child{border-bottom:0}
:where(#top) .pk{font:700 .72rem/1.6 var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--on-n-m);display:flex;align-items:flex-start;gap:8px}
:where(#top) .pk::before{content:"";flex:none;width:8px;height:8px;margin-top:.45em;border-radius:50%;border:1.5px solid var(--on-n-m)}
:where(#top) .pdn p{font-size:.98rem;line-height:1.45;color:var(--on-n-m)}
:where(#top) .pdn .pq{font-size:1.06rem;color:#fff;font-weight:600}
:where(#top) .pdn .nx .pk{color:var(--g1)}
:where(#top) .pdn .nx .pk::before{background:var(--grad);border:0}
:where(#top) .pdn .nx p{color:#fff}

/* proof strip */
:where(#top) .facts{background:var(--white);border-bottom:1px solid var(--line)}
:where(#top) .facts ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
:where(#top) .facts li{padding:24px 22px 24px 0;display:flex;flex-direction:column;gap:2px}
:where(#top) .facts li + li{padding-left:22px;border-left:1px solid var(--line)}
:where(#top) .facts b{font-size:1.32rem;font-weight:700;line-height:1.2}
:where(#top) .facts span{font-size:.93rem;color:var(--muted);line-height:1.4}

/* ============ SYMPTOMS LEDGER ============ */
:where(#top) .two{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:start}
:where(#top) .ledger{border-top:2px solid var(--navy)}
:where(#top) .ledger li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;padding:20px 0;border-bottom:1px solid var(--line)}
:where(#top) .ledger q{quotes:"“" "”";font-size:1.12rem;font-weight:600;line-height:1.38;color:var(--navy)}
:where(#top) .ledger p{font-size:.98rem;color:var(--muted);line-height:1.55}
:where(#top) .ledger p strong{color:var(--ink);font-weight:600}
:where(#top) .ledger-h{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;font:700 .74rem/1 var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding-bottom:12px}
:where(#top) .sticky-col{position:sticky;top:calc(var(--hh) + 32px)}

/* ============ SOFTWARE STACK (signature) ============ */
:where(#top) .sw-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:56px;align-items:end}
:where(#top) .sw-names{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
:where(#top) .sw-names span{border:1px solid var(--line-d);border-radius:999px;padding:6px 14px;font-weight:600;font-size:.95rem;color:#fff}
:where(#top) .sw-names span.o{color:var(--on-n-m);border-style:dashed}
:where(#top) .stack{margin-top:52px;display:grid;gap:12px}
:where(#top) .k-n{background:var(--grad)}:where(#top) .k-v{border:1.5px dashed var(--on-n-m)}:where(#top) .k-j{background:linear-gradient(90deg,var(--g1) 50%,transparent 50%);border:1.5px dashed var(--on-n-m)}
:where(#top) .layer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) 230px;grid-template-areas:"h p w";gap:24px;align-items:center;padding:20px 24px;border-radius:12px;background:var(--navy-2);border:1px solid var(--line-d);position:relative}
:where(#top) .layer h3{grid-area:h;font-size:1.14rem;font-weight:700;color:#fff}
:where(#top) .layer h3 small{display:block;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--on-n-m);font-weight:600;margin-bottom:4px}
:where(#top) .layer p{grid-area:p;font-size:.95rem;color:var(--on-n-m);line-height:1.5}
:where(#top) .who{grid-area:w;justify-self:end;display:inline-flex;align-items:center;white-space:nowrap;font:700 .84rem/1 var(--f);padding:8px 12px;border-radius:999px}
:where(#top) .w-n{background:var(--grad);color:var(--navy)}
:where(#top) .w-j{background:linear-gradient(var(--navy-3),var(--navy-3)) padding-box,var(--grad) border-box;border:1.5px solid transparent;color:#fff}
:where(#top) .w-v{border:1.5px dashed rgba(255,255,255,.45);color:#fff}
:where(#top) .layer.vendor{background:transparent;border:1.5px dashed rgba(255,255,255,.32)}
:where(#top) .layer.join{background:linear-gradient(var(--navy-3),var(--navy-3)) padding-box,var(--grad) border-box;border:2px solid transparent}
:where(#top) .layer.join .tagj{position:absolute;top:-11px;left:22px;background:var(--grad);color:var(--navy);font:700 .7rem/1 var(--f);letter-spacing:.1em;text-transform:uppercase;padding:5px 9px;border-radius:5px}
:where(#top) .wdw{margin-top:56px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line-d)}
:where(#top) .wdw > div{padding:26px 26px 6px 0}
:where(#top) .wdw > div + div{padding-left:26px;border-left:1px solid var(--line-d)}
:where(#top) .wdw h3{font-size:1.06rem;font-weight:700;color:#fff;display:flex;align-items:center;gap:10px}
:where(#top) .wdw h3 i{width:12px;height:12px;border-radius:3px;flex:none}
:where(#top) .wdw ul{margin-top:12px;display:grid;gap:8px}
:where(#top) .wdw li{font-size:.96rem;color:var(--on-n-m);padding-left:16px;position:relative;line-height:1.45}
:where(#top) .wdw li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--on-n-m)}

/* ============ CASE STUDY ============ */
:where(#top) .case{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:56px;align-items:end}
:where(#top) .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
:where(#top) .chips span{background:#fff;border:1px solid var(--line);border-radius:6px;padding:5px 10px;font-size:.86rem;font-weight:600;color:var(--navy)}
:where(#top) .cq{background:var(--navy);color:#fff;border-radius:16px;padding:30px 30px 26px}
:where(#top) .cq blockquote,:where(#top) .cq .cq-res{font-size:clamp(1.5rem,2.4vw,1.95rem);font-weight:600;line-height:1.2}
:where(#top) .cq blockquote::before,:where(#top) .cq .cq-res::before{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--grad);margin-bottom:18px}
:where(#top) .cq figcaption{margin-top:12px;font-size:.9rem;color:var(--on-n-m)}
:where(#top) .cq .arrow{margin-top:20px;color:var(--g1)}
:where(#top) .flow{margin-top:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
:where(#top) .flow > li{padding:26px 26px 24px;position:relative}
:where(#top) .flow > li + li{border-left:1px solid var(--line)}
:where(#top) .flow > li + li::before{content:"→";position:absolute;left:-15px;top:24px;width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-weight:700;color:var(--blue-deep);z-index:1}
:where(#top) .flow h3{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
:where(#top) .flow ul{margin-top:14px;display:grid;gap:9px}
:where(#top) .flow ul li{font-size:.97rem;line-height:1.45;padding-left:18px;position:relative}
:where(#top) .flow ul li::before{content:"–";position:absolute;left:0;color:var(--muted)}
:where(#top) .flow .after{background:var(--mint-wash)}
:where(#top) .flow .after h3{color:var(--mint-deep)}
:where(#top) .flow .after ul li::before{content:"✓";color:var(--mint-deep);font-weight:700}
:where(#top) .flow .result{margin-top:14px;padding:14px 16px;background:#fff;border-radius:10px;border-left:3px solid var(--mint-deep);font-size:1.02rem;line-height:1.45;color:var(--navy)}
:where(#top) .flow .result b{font-weight:700}
:where(#top) .flow-foot{margin-top:12px;font-size:.84rem;color:var(--muted)}

/* ============ SERVICES ============ */
:where(#top) .svc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;margin-top:40px;border-top:2px solid var(--navy)}
:where(#top) .svc > div{padding:22px 0;border-bottom:1px solid var(--line)}
:where(#top) .svc h3{font-size:1.12rem;font-weight:700}
:where(#top) .svc p{margin-top:6px;font-size:.98rem;color:var(--muted)}
:where(#top) .svc a{font-size:.92rem;margin-top:8px}

/* ============ RESPONSE ============ */
:where(#top) .resp{background:var(--mint-wash)}
:where(#top) .resp-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center}
:where(#top) .resp ul.pts{margin-top:24px;display:grid;gap:12px}
:where(#top) .resp ul.pts li{padding-left:30px;position:relative;font-size:1.02rem}
:where(#top) .resp ul.pts li::before{content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:50%;background:var(--grad)}
:where(#top) .perf{background:var(--navy);color:var(--on-n);border-radius:18px;padding:34px 34px 28px;box-shadow:0 30px 60px -32px rgba(9,25,51,.6)}
:where(#top) .perf h3{font:700 .8rem/1.2 var(--f);letter-spacing:.14em;text-transform:uppercase;color:var(--g1)}
:where(#top) .perf-stats{margin-top:8px}
:where(#top) .perf-stats li{display:grid;grid-template-columns:minmax(0,1fr);padding:18px 0;border-bottom:1px solid var(--line-d)}
:where(#top) .perf-stats b{font-size:clamp(2.6rem,4.6vw,3.6rem);font-weight:700;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;width:max-content;max-width:100%}
:where(#top) .perf-stats span{margin-top:6px;font-size:1rem;color:#fff;font-weight:600}
:where(#top) .perf-note{margin-top:16px;font-size:.84rem;line-height:1.5;color:var(--on-n-m)}

/* ============ SECURITY ============ */
:where(#top) .sec-list{margin-top:40px;display:grid;gap:0;border-top:2px solid var(--navy)}
:where(#top) .sec-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:40px;padding:24px 0;border-bottom:1px solid var(--line)}
:where(#top) .sec-row h3{font-size:1.16rem;font-weight:700}
:where(#top) .sec-row h3 small{display:block;font-size:.84rem;font-weight:600;color:var(--muted);margin-top:4px;letter-spacing:0}
:where(#top) .sec-row p{color:var(--muted);font-size:1rem}
:where(#top) .sec-row p + p{margin-top:8px}
:where(#top) .honest{margin-top:34px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:start;background:var(--paper);border-radius:12px;padding:22px 24px}
:where(#top) .honest .ic{width:40px;height:40px;border-radius:10px;background:var(--navy);display:grid;place-items:center;color:var(--g1);font-weight:700}
:where(#top) .honest p{font-size:1rem;color:var(--muted)}
:where(#top) .honest strong{color:var(--ink)}

/* ============ NATIONAL ============ */
:where(#top) .nat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
:where(#top) .split{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;margin-top:32px}
:where(#top) .split > div{padding:22px}
:where(#top) .split > div + div{border-left:1px solid var(--line)}
:where(#top) .split h3{font-size:1rem;font-weight:700;display:flex;justify-content:space-between;gap:8px;align-items:baseline}
:where(#top) .split h3 span{font-size:.78rem;font-weight:600;color:var(--muted);letter-spacing:.04em}
:where(#top) .split ul{margin-top:12px;display:grid;gap:7px}
:where(#top) .split li{font-size:.95rem;color:var(--muted);line-height:1.4}
:where(#top) .split .rem{background:var(--blue-wash)}
:where(#top) .ex{margin-top:26px;padding:22px 24px;border-radius:12px;background:var(--navy);color:var(--on-n)}
:where(#top) .ex h3{font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--g1)}
:where(#top) .ex p{margin-top:8px;font-size:1.04rem;line-height:1.5;color:#fff}
:where(#top) .ex-figs{display:flex;gap:28px;margin-top:14px;flex-wrap:wrap}
:where(#top) .ex-figs div{display:flex;flex-direction:column}
:where(#top) .ex-figs b{font-size:1.6rem;font-weight:700;line-height:1}
:where(#top) .ex-figs span{font-size:.82rem;color:var(--on-n-m);margin-top:4px}
:where(#top) .mo{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
:where(#top) .mo article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px}
:where(#top) .mo .yr{font:700 .74rem/1 var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
:where(#top) .mo h4{font-size:1.14rem;font-weight:700;margin-top:8px}
:where(#top) .mo p{margin-top:8px;font-size:.98rem;color:var(--muted)}
:where(#top) .mo .arrow{margin-top:10px;font-size:.94rem}
:where(#top) .tq-s{border-left:3px solid var(--mint);padding:4px 0 4px 20px}
:where(#top) .tq-s blockquote{font-size:1.08rem;font-weight:600;color:var(--navy);line-height:1.45}
:where(#top) .tq-s figcaption{margin-top:8px;font-size:.88rem;color:var(--muted)}

/* ============ SWITCHING ============ */
:where(#top) .tl{margin-top:44px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;position:relative;counter-reset:t}
:where(#top) .tl::before{content:"";position:absolute;left:0;right:0;top:19px;height:2px;background:var(--line)}
:where(#top) .tl li{counter-increment:t;position:relative;padding:0 18px 0 0}
:where(#top) .tl li::before{content:counter(t);position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid var(--navy);font-weight:700;color:var(--navy)}
:where(#top) .tl li:last-child::before{background:var(--navy);color:#fff}
:where(#top) .tl h3{margin-top:16px;font-size:1.06rem;font-weight:700}
:where(#top) .tl p{margin-top:6px;font-size:.95rem;color:var(--muted);line-height:1.5}
:where(#top) .fit{margin-top:48px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
:where(#top) .fit ul{grid-template-columns:1fr 1fr;column-gap:32px}
:where(#top) .fit > div{border-radius:12px;padding:22px 24px;background:var(--paper)}
:where(#top) .fit h3{font-size:1.06rem;font-weight:700}
:where(#top) .fit p,:where(#top) .fit li{font-size:.98rem;color:var(--muted)}
:where(#top) .fit ul{margin-top:10px;display:grid;gap:6px}
:where(#top) .fit li{padding-left:20px;position:relative}
:where(#top) .fit li::before{content:"✓";position:absolute;left:0;color:var(--mint-deep);font-weight:700}

/* ============ FAQ ============ */
:where(#top) .faq-grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:56px;align-items:start}
:where(#top) .faq details{border-bottom:1px solid var(--line)}
:where(#top) .faq details:first-child{border-top:2px solid var(--navy)}
:where(#top) .faq summary{list-style:none;cursor:pointer;padding:20px 40px 20px 0;font-size:1.1rem;font-weight:700;position:relative;line-height:1.35}
:where(#top) .faq summary::-webkit-details-marker{display:none}
:where(#top) .faq summary::after{content:"+";position:absolute;right:4px;top:16px;font-size:1.5rem;font-weight:400;color:var(--blue-deep)}
:where(#top) .faq details[open] summary::after{content:"−"}
:where(#top) .faq .a{padding:0 0 22px;color:var(--muted);font-size:1.01rem;max-width:68ch}
:where(#top) .faq .a p + p,:where(#top) .faq .a p + ul{margin-top:10px}
:where(#top) .faq .a ul{list-style:disc;padding-left:20px}

/* ============ ENQUIRY ============ */
:where(#top) .enq-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"intro form" "next form";column-gap:64px;row-gap:0;align-items:start}
:where(#top) .enq-intro{grid-area:intro}:where(#top) .enq-form{grid-area:form}:where(#top) .enq-next{grid-area:next}
:where(#top) .enq-next .next{margin-top:34px}
:where(#top) .enq h2{font-size:clamp(2rem,3.6vw,3rem);font-weight:700;margin-top:14px;color:#fff}
:where(#top) .next{counter-reset:n;display:grid;gap:0}
:where(#top) .next li{counter-increment:n;display:grid;grid-template-columns:44px 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--line-d)}
:where(#top) .next li::before{content:counter(n);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--grad);color:var(--navy);font-weight:700}
:where(#top) .next b{display:block;color:#fff;font-weight:600}
:where(#top) .next span{font-size:.96rem;color:var(--on-n-m)}
:where(#top) .contact{margin-top:28px;display:grid;gap:6px;font-size:.98rem;color:var(--on-n-m)}
:where(#top) .contact a{color:#fff;font-weight:700;font-size:1.35rem;text-decoration:none;font-variant-numeric:tabular-nums}
:where(#top) .form{background:#fff;color:var(--ink);border-radius:16px;padding:32px;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
:where(#top) .demo{background:var(--note);color:var(--note-ink);font-size:.84rem;font-weight:600;border-radius:8px;padding:8px 12px;margin-bottom:18px}
:where(#top) .form h3{font-size:1.45rem;font-weight:700}
:where(#top) .form .sub{margin-top:6px;font-size:.97rem;color:var(--muted)}
:where(#top) .fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 16px;margin-top:22px}
:where(#top) .f{display:flex;flex-direction:column;gap:6px}
:where(#top) .f.full{grid-column:1/-1}
:where(#top) .f label{font-weight:600;font-size:.94rem}
:where(#top) .f label span{font-weight:400;color:var(--muted)}
:where(#top) .f input,:where(#top) .f select,:where(#top) .f textarea{font:400 1rem var(--f);color:var(--ink);border:1.5px solid var(--line-2);border-radius:9px;padding:12px 13px;background:#fff;min-height:48px;width:100%}
:where(#top) .f textarea{min-height:104px;resize:vertical}
:where(#top) .f input:focus,:where(#top) .f select:focus,:where(#top) .f textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,162,212,.22)}
:where(#top) .f [aria-invalid="true"]{border-color:#b42318}
:where(#top) .err{color:#b42318;font-size:.86rem;font-weight:600}
:where(#top) .more-f{border:1px solid var(--line);border-radius:10px;padding:0 14px}
:where(#top) .more-f > summary{list-style:none;cursor:pointer;padding:13px 0;font-weight:600;font-size:.94rem;color:var(--blue-deep);display:flex;justify-content:space-between;gap:8px}
:where(#top) .more-f > summary b{font-weight:600}
:where(#top) .more-f > summary span{font-weight:400;color:var(--muted)}
:where(#top) .more-f > summary::-webkit-details-marker{display:none}
:where(#top) .more-f > summary::after{content:"+";font-size:1.2rem;line-height:1}
:where(#top) .more-f[open] > summary::after{content:"−"}
:where(#top) .more-in{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;padding:4px 0 16px}
:where(#top) .pv a{color:var(--blue-deep)}
:where(#top) .chk{grid-column:1/-1;display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:var(--muted)}
:where(#top) .chk input{width:20px;height:20px;margin-top:2px;flex:none}
:where(#top) .form .btn{width:100%;margin-top:22px}
:where(#top) .pv{margin-top:12px;font-size:.86rem;color:var(--muted);text-align:center}
:where(#top) .done{margin-top:16px;background:var(--mint-wash);border-radius:10px;padding:14px 16px;font-size:.95rem}
:where(#top) .done b{display:block}


/* ============ RESPONSIVE ============ */
@media (max-width:1000px){
  :where(#top) .facts ul{grid-template-columns:1fr 1fr}
  :where(#top) .facts li{padding:18px 14px 18px 0}
  :where(#top) .facts li + li{padding-left:0;border-left:0}
  :where(#top) .facts li:nth-child(2n){padding-left:14px;border-left:1px solid var(--line)}
  :where(#top) .facts li:nth-child(n+3){border-top:1px solid var(--line)}
  :where(#top) .hero-grid,:where(#top) .two,:where(#top) .sw-head,:where(#top) .case,:where(#top) .resp-grid,:where(#top) .nat,:where(#top) .faq-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  :where(#top) .enq-grid{grid-template-columns:1fr;grid-template-areas:"intro" "form" "next";row-gap:32px}
  :where(#top) .flow{grid-template-columns:1fr}
  :where(#top) .flow > li + li{border-left:0;border-top:1px solid var(--line)}
  :where(#top) .flow > li + li::before{content:"↓";left:24px;top:-15px}
  :where(#top) .sticky-col{position:static}
  :where(#top) .layer{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h w" "p p";gap:10px 16px}
  :where(#top) .layer .who{align-self:start}
  :where(#top) .tl{grid-template-columns:1fr;gap:0}
  :where(#top) .tl::before{left:19px;right:auto;top:0;bottom:0;width:2px;height:auto}
  :where(#top) .tl li{display:grid;grid-template-columns:40px 1fr;column-gap:18px;padding:0 0 22px}
  :where(#top) .tl li::before{grid-row:1/3}
  :where(#top) .tl h3{margin-top:8px}
}
@media (max-width:760px){
  #top{font-size:17px}
  :where(#top) .facts b{font-size:1.12rem}
  :where(#top) .ledger-h{display:none}
  :where(#top) .ledger li{grid-template-columns:1fr;gap:8px}
  :where(#top) .layer{padding:18px 16px}
  :where(#top) .layer.join{padding-top:24px}
  :where(#top) .who{font-size:.76rem;padding:6px 10px;white-space:normal;text-align:center}
  :where(#top) .pdn li{grid-template-columns:1fr;gap:4px;padding:13px 0}
  :where(#top) .more-in{grid-template-columns:1fr}
  :where(#top) .perf{padding:26px 22px 22px}
  :where(#top) .wdw{grid-template-columns:1fr}
  :where(#top) .wdw > div + div{padding-left:0;border-left:0;border-top:1px solid var(--line-d)}
  :where(#top) .svc{grid-template-columns:1fr}
  :where(#top) .sec-row{grid-template-columns:1fr;gap:8px}
  :where(#top) .split{grid-template-columns:1fr}
  :where(#top) .split > div + div{border-left:0;border-top:1px solid var(--line)}
  :where(#top) .ba-row{grid-template-columns:1fr}
  :where(#top) .ba-row h3{padding:16px 20px 0}
  :where(#top) .ba-row ul{padding:10px 20px 16px}
  :where(#top) .fit ul{grid-template-columns:1fr}
  :where(#top) .fields{grid-template-columns:1fr}
  :where(#top) .form{padding:24px 20px}
  :where(#top) .fnote{padding:22px 20px 18px}
  :where(#top) .hero-cta .btn{flex:1 1 100%}
  :where(#top) .kicker span{display:block;width:100%;letter-spacing:0;font-size:.9rem}
  :where(#top) .num::after{flex-basis:28px}
}

/* ============ THEME OVERRIDES + GRAVITY FORMS ============ */
/* theme's global .btn adds letter-spacing */
#top .btn{letter-spacing:normal;vertical-align:middle}

/* Gravity Forms in the enquiry card, styled to match this page's prototype form.
   Works whether the wrapper is <form class="form"> or <div class="form">. */
#top .form .gform_wrapper{margin:22px 0 0;padding:0}
#top .form .gform_heading,#top .form .gform_validation_container{display:none!important}
#top .form .gform_fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:0}
#top .form .gfield{grid-column:1/-1;display:flex;flex-direction:column;gap:6px;min-width:0;min-inline-size:0;margin:0;padding:0;border:0}
/* Name | Email, Phone | Firm (and any dropdowns) side by side; message and checkbox full width */
#top .form .gfield--type-text,#top .form .gfield--type-email,#top .form .gfield--type-phone,#top .form .gfield--type-select{grid-column:span 1}
#top .form .ginput_container{margin:0;padding:0}

#top .form .gfield_label{display:block;margin:0;padding:0;font:600 .94rem/1.62 var(--f);color:var(--ink)}
#top .form .gfield_required{display:none}
#top .form .gfield:not(.gfield_contains_required):not(.gfield--type-consent) > .gfield_label::after{content:" (optional)";font-weight:400;color:var(--muted)}

#top .form .gfield input[type=text],#top .form .gfield input[type=email],#top .form .gfield input[type=tel],#top .form .gfield select,#top .form .gfield textarea{font:400 1rem/1.62 var(--f);color:var(--ink);background:#fff;border:1.5px solid var(--line-2);border-radius:9px;padding:12px 13px;min-height:48px;width:100%;max-width:none;height:auto;margin:0;box-shadow:none;text-overflow:clip}
#top .form .gfield input:focus,#top .form .gfield select:focus,#top .form .gfield textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,162,212,.22)}
#top .form .gfield select{-webkit-appearance:menulist;appearance:auto}
#top .form .ginput_container_select::before{content:none;display:none}
#top .form .gfield textarea{height:104px!important;min-height:104px;resize:vertical}

/* Errors (the theme hides Gravity Forms' field messages site-wide; show them here) */
#top .form .gfield_error input,#top .form .gfield_error select,#top .form .gfield_error textarea{border-color:#b42318!important}
#top .form .gfield_validation_message,#top .form .validation_message{display:block;margin:0;padding:0;background:none;border:0;color:#b42318;font-size:.86rem;font-weight:600}

/* Consent checkbox (if the form has one) */
#top .form .gfield--type-consent > legend{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#top .form .ginput_container_consent{display:flex;gap:10px;align-items:flex-start}
#top .form .ginput_container_consent input[type=checkbox]{width:20px;height:20px;margin:2px 0 0;flex:none}
#top .form .gfield_consent_label{margin:0;padding:0;font:400 .9rem/1.62 var(--f);color:var(--muted)}

/* Submit button: full-width .btn.btn-p */
#top .form .gform_footer{display:block;margin:22px 0 0;padding:0;text-align:left}
#top .form .gform_footer .gform_button{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;padding:0 26px;border:0;border-radius:10px;background:var(--grad);color:var(--navy);font:700 1.02rem/1 var(--f);letter-spacing:normal;text-decoration:none;cursor:pointer;box-shadow:none;transition:filter .15s,transform .15s}
#top .form .gform_footer .gform_button:hover{background:var(--grad);color:var(--navy);filter:brightness(1.05);transform:translateY(-1px)}

/* Message after a successful submission: same style as the prototype's thank-you box */
#top .form .gform_confirmation_message{margin-top:16px;background:var(--mint-wash);border-radius:10px;padding:14px 16px;font-size:.95rem;color:var(--ink)}
@media (max-width:760px){
  #top .form .gform_fields{grid-template-columns:1fr}
}
