/* ══════════════════════════════════════════════════════════════════════════
   Construction & Real Estate — page styles.

   Loaded only by templates/industry-construction-body.php, so every selector
   here is safe from the other 19 industry pages and the rest of the site. The
   design system (tokens, .eyebrow, .sec-h, .sec-sub, .btn, .grid-bg, the .rv
   scroll reveal, nav and footer) comes from partials/style.php unchanged.

   Green is an accent only: #32b46f for fills and hairlines, #14855a where it
   carries small text (4.6:1 on white), #1c9558 for large text (3.8:1).
   ══════════════════════════════════════════════════════════════════════════ */

/* ── shared ── */
#cx-hero,#cx-problem,#cx-erp,#cx-outcomes,#cx-why,#cx-faq,#cx-cta{position:relative}
.cx-plate{
 font-family:var(--font);font-size:12px;font-weight:600;
 text-transform:uppercase;letter-spacing:.12em;color:var(--g400);
}
.cx-shot-empty{
 display:flex;align-items:center;justify-content:center;
 background:linear-gradient(145deg,#f4f5f4 0%,#e9ebe9 60%,#e4e7e5 100%);
}
.cx-ok{color:#14855a}
.cx-warn{color:#b0611a}

/* ══════════ 01 · HERO ══════════ */
#cx-hero{padding-top:9.5rem;overflow:hidden}
.cx-hero-grid{
 display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
 gap:4rem;align-items:center;max-width:1240px;margin:0 auto;
}
.cx-h1{
 font-family:var(--font);font-size:clamp(38px,5.4vw,66px);font-weight:800;
 letter-spacing:-.03em;line-height:1.05;color:var(--black);
 margin:1.1rem 0 1.35rem;text-wrap:balance;
}
.cx-lead{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:17px;line-height:1.7;color:var(--g500);
 max-width:33rem;margin:0 0 2.25rem;
}
.cx-hero-cta{display:flex;gap:12px;flex-wrap:wrap}

.cx-hero-visual{position:relative}
.cx-shot{
 position:relative;overflow:hidden;border-radius:22px;
 aspect-ratio:4/3;background:var(--bg);
 border:1px solid var(--border);
 /* its own stacking context, or Safari lets the image bleed past the radius */
 isolation:isolate;
}
.cx-shot img{width:100%;height:100%;object-fit:cover;display:block}

/* readouts float over the image corners; they are content, not chrome */
.cx-float{
 position:absolute;z-index:2;min-width:150px;
 background:rgba(255,255,255,.92);backdrop-filter:blur(8px);
 border:1px solid var(--border);border-radius:14px;
 padding:12px 14px;box-shadow:0 14px 34px rgba(16,32,48,.10);
 animation:cx-bob 7s ease-in-out infinite alternate;
}
.cx-float-a{top:8%;left:-6%}
.cx-float-b{bottom:16%;left:-9%;animation-delay:-2.4s}
.cx-float-c{top:26%;right:-7%;animation-delay:-4.8s}
.cx-float-k{font-family:var(--font);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--g400)}
.cx-float-v{font-family:var(--font);font-size:24px;font-weight:800;letter-spacing:-.03em;color:var(--black);line-height:1.1;margin-top:3px}
.cx-float-v span{font-size:14px;font-weight:700;margin-left:1px}
.cx-float-sub{font-family:var(--font);font-size:11.5px;font-weight:500;color:var(--g500);margin-top:3px}
.cx-float-bar{height:5px;border-radius:5px;background:#e8ece9;margin-top:9px;overflow:hidden}
.cx-float-bar i{display:block;height:100%;border-radius:5px;background:#32b46f}
@keyframes cx-bob{from{transform:translateY(-5px)}to{transform:translateY(5px)}}

/* ══════════ 05 · WHY DRAWLEAD ══════════
   A dark band between two light sections: the pitch on the left, six cards on
   the right, and a green arc sweeping out of the bottom-left corner.

   Text is checked against the #090e0c ground and the #101613 card: #9aa6a0 copy
   is 6.6:1, #c2cdc7 tags are 10:1, and the eyebrow at #e6ece9 is 14:1. */
#cx-why{
 background:#090e0c;color:#fff;
 border-top:none;border-bottom:none;overflow:hidden;
}
/* the section above it would otherwise draw a pale hairline on top of the black */
#cx-outcomes{border-bottom-color:transparent}

/* the corner bloom */
.cx-why-glow{
 position:absolute;left:-24%;bottom:-36%;pointer-events:none;
 width:46vw;height:46vw;max-width:660px;max-height:660px;border-radius:50%;
 background:radial-gradient(circle at 68% 28%,rgba(56,226,142,.26) 0%,rgba(50,180,111,.07) 44%,transparent 68%);
 filter:blur(26px);
}
/* A ring drawn as a radial-gradient, then masked back to the one quadrant that
   crosses the section — a conic border would need mask-composite, and this does
   the same job with a plain mask-image. */
.cx-why-arc{
 position:absolute;left:-58%;bottom:-104%;pointer-events:none;
 width:88vw;height:88vw;max-width:1280px;max-height:1280px;border-radius:50%;
 background:radial-gradient(circle,transparent 0 49.3%,rgba(130,255,192,.7) 49.7%,transparent 50.4%);
 -webkit-mask-image:radial-gradient(circle at 84% 20%,#000 0%,rgba(0,0,0,.4) 26%,transparent 50%);
 mask-image:radial-gradient(circle at 84% 20%,#000 0%,rgba(0,0,0,.4) 26%,transparent 50%);
}

.cx-why-grid{
 position:relative;z-index:1;
 display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);
 gap:clamp(2.25rem,4.4vw,5rem);align-items:center;
 max-width:1360px;margin:0 auto;
}

/* ── the pitch ── */
#cx-why .eyebrow{margin-bottom:1.8rem}
#cx-why .eyebrow-text{
 background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.15);
 color:#e6ece9;font-size:11px;letter-spacing:.16em;padding:8px 16px;
}
.cx-why-h{
 font-family:var(--font);font-size:clamp(38px,5vw,62px);font-weight:800;
 letter-spacing:-.035em;line-height:1.02;color:#fff;margin:0 0 1.6rem;
}
/* the second word carries the accent; -webkit-text-fill-color is what actually
   empties the glyphs, so background-clip alone would leave them white */
.cx-why-g{
 display:inline-block;
 background:linear-gradient(104deg,#a7f7cb 0%,#36c87f 52%,#1a9a5c 100%);
 -webkit-background-clip:text;background-clip:text;
 -webkit-text-fill-color:transparent;color:transparent;
}
.cx-why-p{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:16.5px;line-height:1.75;color:#9aa6a0;
 margin:0 0 2.4rem;max-width:30rem;
}
.cx-why-statement{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:clamp(21px,2.2vw,28px);font-weight:700;
 letter-spacing:-.025em;line-height:1.35;color:#fff;margin:0;
 padding-left:1.4rem;border-left:3px solid #32b46f;max-width:26rem;
}

/* ── the six cards ── */
.cx-why-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cx-why-card{
 display:flex;align-items:flex-start;gap:1rem;
 background:#101613;border:1px solid rgba(255,255,255,.07);border-radius:18px;
 padding:1.55rem 1.4rem;
 transition:border-color .3s ease,transform .3s cubic-bezier(.2,.7,.2,1);
}
.cx-why-card:hover{border-color:rgba(50,180,111,.4);transform:translateY(-4px)}
.cx-why-ic{
 flex:none;display:flex;align-items:center;justify-content:center;
 width:52px;height:52px;border-radius:14px;
 background:#1a211d;border:1px solid rgba(255,255,255,.08);color:#fff;
}
.cx-why-ic svg{width:23px;height:23px;display:block}
.cx-why-body{min-width:0}
.cx-why-card h3{
 font-family:var(--font);font-size:17px;font-weight:700;letter-spacing:-.015em;
 line-height:1.3;color:#fff;margin:0 0 .5rem;
}
.cx-why-card p{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:14.5px;line-height:1.6;color:#9aa6a0;
 margin:0 0 1rem;
}
.cx-why-tags{display:flex;flex-wrap:wrap;gap:8px}
.cx-why-tag{
 font-family:var(--font);font-size:9.5px;font-weight:700;
 text-transform:uppercase;letter-spacing:.08em;color:#c2cdc7;
 background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);
 border-radius:8px;padding:5px 8px;line-height:1.3;white-space:nowrap;
}

/* The pitch and the cards sit side by side only while a card is wide enough to
   keep its two labels on one row; below that the whole grid stacks and the cards
   take the full width instead. */
@media(max-width:1400px){
 .cx-why-grid{grid-template-columns:1fr;gap:3rem;align-items:start}
 .cx-why-p,.cx-why-statement{max-width:40rem}
}
@media(max-width:760px){
 .cx-why-right{grid-template-columns:1fr;gap:14px}
 .cx-why-card{padding:1.4rem 1.3rem;gap:.95rem}
 .cx-why-ic{width:46px;height:46px;border-radius:12px}
 .cx-why-ic svg{width:21px;height:21px}
}

/* ══════════ 06 · FAQ ══════════
   Separated cards rather than a ruled list: each question is its own white plate
   with a soft shadow, a numbered label, and a chevron disc that rotates when the
   answer opens. The open/close mechanism is unchanged — grid-template-rows
   0fr -> 1fr, which needs no measured height and so cannot drift when a long
   answer rewraps at a different width. */
.cx-faq-list{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.cx-faq-item{
 background:var(--white);border:1px solid #edefee;border-radius:14px;
 box-shadow:0 2px 10px rgba(16,32,48,.04);
 transition:border-color .3s ease,box-shadow .3s ease;
}
.cx-faq-item:hover{border-color:#dfe4e1;box-shadow:0 8px 24px rgba(16,32,48,.07)}
.cx-faq-item.is-open{border-color:rgba(50,180,111,.35);box-shadow:0 10px 30px rgba(16,32,48,.07)}
.cx-faq-h{margin:0}
.cx-faq-q{
 width:100%;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;
 background:none;border:0;cursor:pointer;text-align:left;
 padding:1.15rem 1.35rem;
 font-family:var(--font);font-size:15.5px;font-weight:600;letter-spacing:-.01em;
 color:var(--black);transition:color .2s ease;
}
.cx-faq-q:hover{color:#14855a}
.cx-faq-t{display:block}
.cx-faq-num{color:var(--g400);font-weight:600;margin-right:.45em}
.is-open .cx-faq-num{color:#14855a}
/* the disc stays put; only the chevron inside it turns */
.cx-faq-ico{
 flex:none;display:flex;align-items:center;justify-content:center;
 width:30px;height:30px;border-radius:50%;
 background:rgba(50,180,111,.10);color:#14855a;
 transition:background .3s ease,transform .35s cubic-bezier(.2,.7,.2,1);
}
.cx-faq-ico svg{width:15px;height:15px;display:block}
.cx-faq-q:hover .cx-faq-ico{background:rgba(50,180,111,.18)}
.is-open .cx-faq-ico{transform:rotate(180deg)}
.cx-faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.2,.7,.2,1)}
.cx-faq-a > p{
 overflow:hidden;margin:0;padding:0 1.35rem;
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.75;color:var(--g500);
}
.is-open .cx-faq-a{grid-template-rows:1fr}
.is-open .cx-faq-a > p{padding-bottom:1.3rem}

/* ══════════ 07 · FINAL CTA ══════════
   The dark treatment sits on an inset card so the page ground frames it, matching
   the Home 7 and About Us closing CTAs. The grid and the cursor glow moved inside
   the card, which also clips them to its radius. */
#cx-cta{overflow:hidden;background:var(--bg);padding-top:4.5rem;padding-bottom:5rem}
.cx-cta-card{
 position:relative;overflow:hidden;isolation:isolate;text-align:center;
 max-width:960px;margin:0 auto;
 padding:4.5rem 2.5rem 4rem;border-radius:36px;
 border:1px solid rgba(51,180,112,.22);
 background:
  radial-gradient(70% 58% at 50% 44%,rgba(51,180,112,.20) 0%,rgba(30,120,80,.09) 40%,transparent 72%),
  radial-gradient(120% 90% at 50% 50%,#0a2018 0%,#04120c 55%,#020806 100%);
 box-shadow:inset 0 0 130px rgba(51,180,112,.07),0 40px 90px rgba(0,0,0,.16);
}
/* the photograph, when supplied, sits under the gradient as texture rather than
   as a picture — the card has to stay dark enough for white type */
.cx-cta-bg{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 opacity:.16;filter:grayscale(.4);z-index:0;
}
.cx-cta-grid{
 position:absolute;inset:0;z-index:0;pointer-events:none;
 background-image:
  linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
 background-size:68px 68px;
}
.cx-cta-card > *:not(.cx-cta-bg):not(.cx-cta-grid):not(.cx-glow){position:relative;z-index:1}
.cx-cta-eyebrow{
 display:inline-flex;align-items:center;
 padding:7px 16px;border-radius:999px;margin-bottom:1.5rem;
 background:rgba(51,180,112,.10);border:1px solid rgba(51,180,112,.26);
 font-family:var(--font);font-size:12.5px;font-weight:600;color:#4ecb87;
}
.cx-cta-h{
 font-family:var(--font);font-size:clamp(34px,4.8vw,58px);font-weight:700;
 letter-spacing:-.03em;line-height:1.08;color:#fff;margin:0 0 1.1rem;text-wrap:balance;
}
/* rgba(255,255,255,.55) lands near 5:1 on this ground */
.cx-cta-p{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:16.5px;line-height:1.7;
 color:rgba(255,255,255,.55);margin:0 auto 2.1rem;max-width:34rem;
}
.cx-cta-btn{margin:0}

/* cursor glow, same contract as the About Us hero: JS writes only --cx-x/--cx-y */
.cx-glow{
 --cx-w:560px;--cx-h:440px;--cx-x:50%;--cx-y:50%;
 position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;
 opacity:0;transition:opacity .45s ease;
}
.cx-glow.is-on{opacity:1}
.cx-glow-blob{
 position:absolute;top:0;left:0;width:var(--cx-w);height:var(--cx-h);border-radius:50%;
 transform:translate3d(calc(var(--cx-x) - var(--cx-w) / 2),calc(var(--cx-y) - var(--cx-h) / 2),0);
 background:radial-gradient(circle at 50% 50%,rgba(50,180,111,.38) 0%,rgba(50,180,111,.18) 40%,rgba(50,180,111,0) 70%);
 filter:blur(54px);will-change:transform;
}
.cx-glow-lines{
 position:absolute;inset:0;
 background-image:
  linear-gradient(rgba(50,180,111,.5) 1px,transparent 1px),
  linear-gradient(90deg,rgba(50,180,111,.5) 1px,transparent 1px);
 background-size:68px 68px;
 -webkit-mask-image:radial-gradient(circle at 50% 50%,#000 0%,rgba(0,0,0,.45) 38%,transparent 68%);
 mask-image:radial-gradient(circle at 50% 50%,#000 0%,rgba(0,0,0,.45) 38%,transparent 68%);
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-size:var(--cx-w) var(--cx-h);mask-size:var(--cx-w) var(--cx-h);
 -webkit-mask-position:calc(var(--cx-x) - var(--cx-w) / 2) calc(var(--cx-y) - var(--cx-h) / 2);
 mask-position:calc(var(--cx-x) - var(--cx-w) / 2) calc(var(--cx-y) - var(--cx-h) / 2);
}

/* ══════════ responsive ══════════ */
@media(max-width:1100px){
 .cx-hero-grid{grid-template-columns:1fr;gap:3rem}
 .cx-lead{max-width:none}
 .cx-float-a{left:2%}
 .cx-float-b{left:1%}
 .cx-float-c{right:2%}
}
@media(max-width:900px){
}
@media(max-width:768px){
 #cx-hero{padding-top:7.5rem}
 .cx-faq-q{font-size:15.5px;padding:1.25rem 0}
 .cx-cta-card{padding:3rem 1.4rem 2.75rem;border-radius:26px}
 .cx-glow{--cx-w:380px;--cx-h:320px}
 .cx-float{min-width:126px;padding:10px 11px}
 .cx-float-v{font-size:20px}
}
@media(max-width:560px){
 .cx-float-c{display:none}
 .cx-row span{width:96px}
}
@media(prefers-reduced-motion:reduce){
 .cx-float{animation:none}
}

/* ══════════ pinned horizontal runs ══════════
   Shared by the problem cards, the solution cards and the outcomes. The wrapper
   is given its height by JS (pin height + the track's horizontal overflow); the
   pin sticks centred in the viewport and the track slides inside it.

   Everything below .cx-hx-on is the pinned state, and the JS only adds that class
   on a wide viewport with motion allowed. Without it — no JS, an error, reduced
   motion, or a phone — these rules never apply and the track is a plain swipe
   row, which is why the defaults here are the unpinned ones. */
.cx-hx{position:relative;width:100%}
.cx-hx-track{
 display:flex;gap:20px;padding:6px 2px 14px;
 overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
 scrollbar-width:none;
}
.cx-hx-track::-webkit-scrollbar{display:none}
.cx-hx-on{--cx-pin-h:clamp(340px,54vh,460px)}
.cx-hx-on .cx-hx-pin{
 position:sticky;top:calc((100vh - var(--cx-pin-h)) / 2);
 height:var(--cx-pin-h);display:flex;align-items:center;overflow:hidden;
}
.cx-hx-on .cx-hx-track{
 width:max-content;flex:none;overflow:visible;
 will-change:transform;padding-bottom:6px;
}

/* ══════════ dark statement cards ══════════ */
.cx-card{
 flex:0 0 340px;width:340px;scroll-snap-align:start;
 display:flex;flex-direction:column;
 min-height:300px;padding:1.9rem 1.8rem 1.75rem;
 background:#141517;border:1px solid rgba(255,255,255,.07);border-radius:26px;
 transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s ease,box-shadow .35s ease;
}
.cx-card:hover{
 transform:translateY(-5px);border-color:rgba(50,180,111,.38);
 box-shadow:0 24px 50px rgba(6,20,14,.3);
}
.cx-card-n{
 font-family:var(--font);font-size:12px;font-weight:700;letter-spacing:.08em;
 color:rgba(255,255,255,.34);margin-bottom:1.35rem;
}
/* the headline carries the accent, with the icon sitting inline after it */
.cx-card-t{
 font-family:var(--font);font-size:clamp(22px,1.55vw,24px);font-weight:600;
 letter-spacing:-.02em;line-height:1.15;color:#fff;margin:0 0 .9rem;
}
.cx-card-t em{font-style:normal;color:#5fd394}
/* the mark sits bare in the text now: no chip, border or ground. It keeps an
   inline-flex box so its baseline against the headline does not shift. */
.cx-ic{
 display:inline-flex;align-items:center;justify-content:center;
 width:1.18em;height:1.18em;margin-left:.3em;vertical-align:-.17em;
 border:0;border-radius:0;background:none;box-shadow:none;color:#5fd394;
}
.cx-ic svg{width:100%;height:100%;display:block}
/* #9aa6a0 on #141517 is 6.4:1 */
.cx-card-d{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.65;color:#9aa6a0;
 margin:0;
}
.cx-card-sol .cx-card-t em{color:#7adfa8}
.cx-card-sol .cx-ic{color:#7adfa8}

/* ── problem cards: red accent, no icon chip ──
   Scoped with :not(.cx-card-sol) so the solution run keeps its green. #FF5C5C on
   the #141517 card is 6.2:1. The icon loses its box entirely and sits as a bare
   red mark inline after the headline; it keeps its inline-flex box so the
   baseline alignment with the text does not shift. */
.cx-card:not(.cx-card-sol) .cx-card-t em,
.cx-card:not(.cx-card-sol) .cx-ic{color:#FF5C5C}
/* the hover edge follows the accent, so no green is left on these cards */
.cx-card:not(.cx-card-sol):hover{border-color:rgba(255,92,92,.38)}


@media(max-width:900px){
 .cx-hx{height:auto !important}
 .cx-hx-track{transform:none !important}
}
@media(max-width:768px){
 .cx-card{flex-basis:288px;width:288px;min-height:0;padding:1.6rem 1.5rem 1.5rem}
}

/* ══════════ section headings ══════════
   The two section titles step up to sit just under the hero in the hierarchy.
   Scoped to these sections: .sec-h is the shared site heading used on every other
   page. Centring, wording and the subline are untouched. */
#cx-problem .sec-h,#cx-erp .sec-h{
 font-size:clamp(40px,5.4vw,64px);font-weight:700;line-height:1.08;
 letter-spacing:-.03em;
}
@media(max-width:1024px){
 #cx-problem .sec-h,#cx-erp .sec-h{font-size:clamp(34px,5.6vw,52px)}
}
@media(max-width:640px){
 #cx-problem .sec-h,#cx-erp .sec-h{font-size:clamp(28px,7.4vw,38px);line-height:1.1}
}

/* ══════════ 04 · EXPECTED OUTCOMES ══════════
   A hub-and-spoke diagram: four outcomes radiate from the go-live tile, joined
   by curved wires.

   The whole geometry hangs off four custom properties. The two side rows are a
   fixed height so the wire box can be pinned from one row's centre to the
   other's; that makes the SVG's y=0 and y=100 land exactly on the outer dots
   with nothing measured in JS. The paths are stretched (preserveAspectRatio:
   none) because the box is wider than it is tall at some widths — a horizontal
   stretch keeps a mostly-horizontal curve smooth, and non-scaling-stroke keeps
   the line a hairline. The dots are real elements, so they stay round. */
#cx-outcomes .cx-og{
 --og-row:132px;                  /* one side row */
 --og-rgap:76px;                  /* between the two rows */
 --og-hub:240px;                  /* the centre tile, and its column */
 --og-gap:clamp(40px,8vw,120px);  /* hub -> node: this is the wire's width */
 --og-inset:clamp(14px,2.6vw,38px); /* text -> dot, so the copy never reaches it */
 position:relative;
 display:grid;
 grid-template-columns:1fr var(--og-hub) 1fr;
 grid-template-rows:var(--og-row) var(--og-row);
 column-gap:var(--og-gap);row-gap:var(--og-rgap);
 max-width:1240px;margin:0 auto;
}

/* ── the wires ── */
.cx-og-wire{
 position:absolute;top:calc(var(--og-row)/2);bottom:calc(var(--og-row)/2);
 width:var(--og-gap);pointer-events:none;
}
.cx-og-l{left:calc(50% - var(--og-hub)/2 - var(--og-gap))}
.cx-og-r{left:calc(50% + var(--og-hub)/2)}
.cx-og-wire svg{width:100%;height:100%;display:block;overflow:visible}
.cx-og-wire path{
 fill:none;stroke:rgba(26,140,84,.55);stroke-width:1;vector-effect:non-scaling-stroke;
}
.cx-og-wire i{
 position:absolute;width:9px;height:9px;border-radius:50%;
 background:#32b46f;transform:translate(-50%,-50%);
 box-shadow:0 0 0 3.5px rgba(50,180,111,.12);
}
/* inner pair sits on the tile's edge, outer pair on the node's inner edge */
.cx-og-r i:nth-of-type(1){left:0;top:44%}
.cx-og-r i:nth-of-type(2){left:0;top:56%}
.cx-og-r i:nth-of-type(3){left:100%;top:0}
.cx-og-r i:nth-of-type(4){left:100%;top:100%}
.cx-og-l i:nth-of-type(1){left:100%;top:44%}
.cx-og-l i:nth-of-type(2){left:100%;top:56%}
.cx-og-l i:nth-of-type(3){left:0;top:0}
.cx-og-l i:nth-of-type(4){left:0;top:100%}
.cx-og-wire i:nth-of-type(1),.cx-og-wire i:nth-of-type(2){
 width:8px;height:8px;background:#2fc078;box-shadow:none;
}

/* ── the four nodes ── */
.cx-og-n{
 display:flex;align-items:center;gap:clamp(14px,1.5vw,22px);
 align-self:center;position:relative;
}
.cx-og-n1,.cx-og-n2{padding-right:var(--og-inset)}
.cx-og-n3,.cx-og-n4{padding-left:var(--og-inset)}
.cx-og-n1{grid-area:1/1/2/2}
.cx-og-n2{grid-area:2/1/3/2}
.cx-og-n3{grid-area:1/3/2/4}
.cx-og-n4{grid-area:2/3/3/4}
.cx-og-tx{min-width:0;max-width:18.5rem}
.cx-og-ic{flex:none;display:block;color:var(--black)}
.cx-og-ic svg{width:clamp(42px,3.7vw,54px);height:clamp(42px,3.7vw,54px);display:block}
.cx-og-ic .g{stroke:#1c8c54}
.cx-og-t{
 font-family:var(--font);font-size:clamp(19px,1.6vw,24px);font-weight:700;
 letter-spacing:-.02em;line-height:1.25;color:var(--black);margin:0 0 .4rem;
}
.cx-og-d{
 font-family:'Inter',ui-sans-serif,system-ui,sans-serif;font-size:15.5px;line-height:1.62;color:var(--g500);
 margin:0;
}

/* ── the hub ── */
.cx-og-hub{
 grid-area:1/2/3/3;position:relative;
 display:flex;align-items:center;justify-content:center;
}
/* the bloom, behind everything, kept off the tile so its blur never softens the
   type sitting on top of it */
.cx-og-hub::before{
 content:'';position:absolute;left:50%;top:50%;
 width:calc(var(--og-hub) * 2.1);height:calc(var(--og-hub) * 2.1);
 transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;
 background:radial-gradient(circle,rgba(50,180,111,.46) 0%,rgba(50,180,111,.15) 40%,transparent 66%);
 filter:blur(18px);
}
.cx-og-ring{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
 border-radius:50%;border:1px solid rgba(50,180,111,.16);pointer-events:none;
}
.cx-og-ring:nth-of-type(1){width:calc(var(--og-hub) * 1.4);height:calc(var(--og-hub) * 1.4)}
.cx-og-ring:nth-of-type(2){width:calc(var(--og-hub) * 1.78);height:calc(var(--og-hub) * 1.78)}
.cx-og-tile{
 position:relative;width:var(--og-hub);height:var(--og-hub);
 border-radius:34px;isolation:isolate;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 background:
   radial-gradient(130% 95% at 50% 116%,rgba(60,220,135,.72) 0%,rgba(50,180,111,.22) 46%,transparent 70%),
   linear-gradient(158deg,#1d2b23 0%,#0e1714 52%,#060f0c 100%);
 border:1px solid rgba(50,180,111,.22);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 30px 70px -18px rgba(20,160,92,.72);
}
.cx-og-bars{width:60px;height:43px;display:block;margin-bottom:1.25rem}
.cx-og-bars rect:nth-child(1){fill:#2ea86a}
.cx-og-bars rect:nth-child(2){fill:#45d184}
.cx-og-bars rect:nth-child(3){fill:#7ef0ad}
.cx-og-hub-t{
 font-family:var(--font);font-size:36px;font-weight:800;letter-spacing:-.03em;
 line-height:1;color:#fff;
}
.cx-og-hub-s{
 font-family:var(--font);font-size:10.5px;font-weight:700;
 text-transform:uppercase;letter-spacing:.2em;color:#9fdcbb;margin-top:.7rem;
}

/* Two columns and no wires once the spokes would be too cramped to read, then a
   single column on a phone. The tile leads in both. */
@media(max-width:980px){
 #cx-outcomes .cx-og{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:auto auto auto;
  column-gap:28px;row-gap:34px;max-width:720px;
 }
 .cx-og-wire{display:none}
 .cx-og-hub{grid-area:1/1/2/3;margin-bottom:2.75rem}
 .cx-og-n1,.cx-og-n2,.cx-og-n3,.cx-og-n4{padding:0}
 .cx-og-n1{grid-area:2/1/3/2}
 .cx-og-n2{grid-area:2/2/3/3}
 .cx-og-n3{grid-area:3/1/4/2}
 .cx-og-n4{grid-area:3/2/4/3}
 .cx-og-n{align-items:flex-start}
}
@media(max-width:620px){
 #cx-outcomes .cx-og{--og-hub:196px;grid-template-columns:1fr;row-gap:28px}
 .cx-og-hub,.cx-og-n1,.cx-og-n2,.cx-og-n3,.cx-og-n4{grid-area:auto}
 /* auto-placement follows source order, where the tile is last; order pulls it
    back to the front without moving it in the DOM */
 .cx-og-hub{order:-1}
 .cx-og-tile{border-radius:28px}
 .cx-og-hub-t{font-size:28px}
 .cx-og-bars{width:42px;height:30px;margin-bottom:.9rem}
}
