/* BrokerConnector · How it works
   The hero, the labels (.pin), the cards (.mv__card), the FAQs and the WhatsApp button (.msg__wa) come from about.css. */

.ways, .start, .safe { position: relative; isolation: isolate; padding: clamp(110px, 16vh, 180px) var(--gutter); color: var(--ink); }
.start, .safe { overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.start > .aurora, .safe > .aurora { z-index: -1; }

/* the hero's visual: a longer line than About's C, so a shorter light; the app and the typing dots faint inside */
.hw-mark .ab-mark__trace path { stroke-dasharray: .1 .9; }
.hw-mark__detail path { fill: none; stroke: rgba(240, 244, 252, .22); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.hw-mark__detail circle { fill: rgba(240, 244, 252, .35); }

/* =========================================================
   02 · Three ways to use it: three tall cards, each playing its flow
   ========================================================= */
.ways__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.ways__head .pin { grid-column: 1 / 4; align-self: start; margin-top: .5em; }
.ways__title { grid-column: 1 / 11; margin: 0; font-size: clamp(40px, 4.6vw, 76px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
/* the three cards: tall panels on the live brand fluid. The words inside at the top, in white; a big straight phone
   rises from the bottom edge, cropped by the card, playing its flow */
.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(48px, 8vh, 88px); }
.ways__grid .mv__card { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 28px; background: #141C30; color: #fff; }
.ways__grid .mx { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: #141C30; } /* the night navy */
/* a soft glow behind the phone, in place of the fluid: two blurred lights, blue with a touch of teal; still, so the
   phone's flow is what moves */
.flow__glow { position: absolute; left: 50%; top: 22%; width: 100%; aspect-ratio: 1; margin-left: -50%; border-radius: 50%; background: #3360E3; opacity: .45; filter: blur(80px); }
.flow__glow::after { content: ""; position: absolute; left: 52%; top: 4%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #19E8C9; opacity: .4; filter: blur(60px); }
.flow__phone { position: absolute; left: 50%; top: 27%; width: 64%; aspect-ratio: 9 / 19.2; margin-left: -32%; }
.flow .ph { height: 100%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 -10px 60px -10px rgba(5, 10, 30, .45); }
.flow__screens { background: #0E1530; clip-path: inset(0 round 33px); } /* a hard clip: Safari lets moving screens spill past a rounded overflow */
.flow__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; visibility: hidden; }
.flow__screen.ph__app, div.flow__screen { overflow: hidden; }
.flow__screen .ui { opacity: 1; visibility: visible; transition: none; }
/* the tap: a soft white disc that lands and spreads, as on the homepage phone */
.flow__screen { z-index: 1; }
/* one fixed status bar and notch over every screen, so the notch never moves as the screens change */
.flow__bar { position: absolute; z-index: 45; top: 0; left: 0; right: 0; height: 10cqw; pointer-events: none; }
/* each screen's own bar stays hidden: one fixed status bar and notch per phone */
.flow__screen .ui-status, .flow__screen .ui-island, .start__screen .ui-status, .start__screen .ui-island { display: none; }
.flow__bar .ui-status { top: 0; bottom: 0; height: 100%; padding-top: .4cqw; }
.flow__bar .ui-island { top: 2.4cqw; height: 6cqw; width: 30%; margin-left: -15%; }
.flow__tap { position: absolute; z-index: 40; width: 18%; aspect-ratio: 1; margin: -9% 0 0 -9%; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); opacity: 0; pointer-events: none; }
/* the line, inside the card at the top */
.ways__grid .mv__text { position: relative; z-index: 2; gap: 10px; padding: clamp(24px, 2.4vw, 36px); }
.ways__grid .mv__title { max-width: 16ch; font-size: clamp(26px, 2.1vw, 36px); color: #fff; } /* just the line: the phone shows the rest */

/* =========================================================
   03 · Easy to join: an editorial split, a large phone on the left, the title and the three steps on the right
   ========================================================= */
.start { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "stage stage stage stage stage stage . title title title title title" "stage stage stage stage stage stage . steps steps steps steps steps" "stage stage stage stage stage stage . ctas ctas ctas ctas ctas"; grid-template-rows: auto auto 1fr; align-items: start; row-gap: clamp(28px, 5vh, 52px); }
.start__title { grid-area: title; align-self: end; margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.safe__title { margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
/* the phone, large, on the left */
.start__stage { grid-area: stage; align-self: center; display: grid; place-items: center; }
/* the titanium phone, as in Help getting started below, turned towards the words */
.start__stage { --pw: clamp(260px, 22vw, 340px); --ph: calc(var(--pw) * 2.05); --pr: calc(var(--pw) * .165); --pd: calc(var(--pw) * .088); --bz: calc(var(--pw) * .036); perspective: 1800px; }
.start__stage .phone { transform: rotateY(14deg) rotateX(4deg); }
.start__stage .phone__body, .start__stage .phone__screen { opacity: 1; }
.start__stage .rig__shadow { opacity: 1; bottom: -10%; background: radial-gradient(closest-side, rgba(20, 60, 60, .35), transparent); }
.start__screens .ui-status { font-size: 4.2cqw; color: #fff; }
.start__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; visibility: hidden; }
div.start__screen { overflow: hidden; }
.start__screen .ui { opacity: 1; visibility: visible; transition: none; }
/* the steps, in big type: the one playing is bright with a thin teal bar filling above it, the others sit back */
.start__steps { grid-area: steps; margin: 0; padding: 0; list-style: none; }
.start__steps button { display: grid; gap: 8px; width: 100%; padding: 0 0 clamp(18px, 2.6vh, 26px); border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.start__steps i { display: block; height: 1px; margin-bottom: clamp(14px, 2vh, 20px); background: rgba(9, 15, 27, .14); }
.start__steps b { display: block; height: 100%; background: #0E9E8A; transform: scaleX(0); transform-origin: left; }
.start__name { font-size: clamp(26px, 2.3vw, 38px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; color: rgba(9, 15, 27, .3); transition: color .4s ease; }
.start__line { max-width: 34ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: rgba(9, 15, 27, .45); transition: color .4s ease; }
.start__steps li.is-on .start__name { color: var(--ink); }
.start__steps li.is-on .start__line { color: rgba(9, 15, 27, .66); }
.start__ctas { grid-area: ctas; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.start__ctas .msg__wa { padding: 15px 20px; font-size: 15px; }

/* =========================================================
   04 · Help getting started, as WhatsApp itself: a wide WhatsApp window (as on a laptop), your chats on the left and
   the chat with Jom open, its wallpaper, bubbles, ticks, replies to pick and its message bar
   ========================================================= */
.wchat { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; padding: clamp(90px, 14vh, 150px) var(--gutter); color: #111B21; /* (not .wa: that is the floating WhatsApp button) */ }
.wchat__words { grid-column: 1 / 6; display: grid; justify-items: start; gap: 20px; }
.wchat__cta { margin-top: 6px; } /* the shared button: no padding of its own (an old pill rule squashed it, 2 Nov) */
.wchat__phone { grid-column: 7 / 13; display: grid; place-items: center; }
/* the homepage's 3D phone: titanium band, buttons, glass glare, floor shadow; turned a little toward the words */
.wchat__phone { --pw: clamp(290px, 25vw, 380px); --ph: calc(var(--pw) * 2.05); --pr: calc(var(--pw) * .165); --pd: calc(var(--pw) * .088); --bz: calc(var(--pw) * .036); perspective: 1800px; }
.pp__anchor { position: relative; width: var(--pw); height: var(--ph); transform-style: preserve-3d; }
.wchat__phone .phone { transform: rotateY(-14deg) rotateX(4deg); }
.wchat__phone .phone__body, .wchat__phone .phone__screen { opacity: 1; }
.wchat__phone .rig__shadow { opacity: 1; bottom: -10%; background: radial-gradient(closest-side, rgba(10, 20, 50, .38), transparent); }
.wchat__phone .phone__screen { display: flex; flex-direction: column; }
/* inside the phone: WhatsApp at phone size */
.wchat__phone .wa__in { position: absolute; inset: var(--bz); width: auto; border-radius: calc(var(--pr) - var(--bz)); box-shadow: none; transform: translateZ(calc(var(--pd) / 2 + .8px)); color: #111B21; font-family: "Instrument Sans", system-ui, sans-serif; } /* dark text: the phone frame's default is light */
.wchat__phone .ui-status { color: #fff; }
.wchat__phone .wa__head { gap: 10px; padding: 13cqw 3cqw 2.6cqw 2cqw; }
.wchat__phone .wa__back svg { width: 6cqw; height: 6cqw; }
.wchat__phone .wa__face { width: 10cqw; height: 10cqw; }
.wchat__phone .wa__who b { overflow: hidden; font-size: 4.3cqw; white-space: nowrap; text-overflow: ellipsis; }
.wchat__phone .wa__who small { font-size: 3.3cqw; }
.wchat__phone .wa__tools { gap: 4.4cqw; }
.wchat__phone .wa__tools svg { width: 5.6cqw; height: 5.6cqw; }
.wchat__phone .wa__thread { min-height: 0; overflow: hidden; padding: 3cqw 3.4cqw 2cqw; gap: 1.2cqw; } /* older messages slip away under the header */
.wchat__phone .wa__day { margin-bottom: 2cqw; padding: 1.2cqw 3cqw; font-size: 3.1cqw; }
.wchat__phone .wa__msg { max-width: 82%; margin-top: 1.6cqw; padding: 1.8cqw 2.6cqw 1.6cqw; font-size: 3.9cqw; }
.wchat__phone .wa__msg--cont { margin-top: 0; }
.wchat__phone .wa__msg time { margin: 1.4cqw 0 -.6cqw 2.2cqw; font-size: 2.7cqw; }
.wchat__phone .wa__bar { gap: 1.6cqw; padding: 1.6cqw 2cqw 6cqw; }
.wchat__phone .wa__field { gap: 2.4cqw; padding: 2.2cqw 3.4cqw; }
.wchat__phone .wa__field svg { width: 5.6cqw; height: 5.6cqw; }
.wchat__phone .wa__input { font-size: 3.9cqw; }
.wchat__phone .wa__send { width: 11.4cqw; height: 11.4cqw; padding: 0; justify-content: center; }
.wchat__phone .wa__typing { gap: 1.4cqw; padding: 3.4cqw 3.8cqw; }
.wchat__phone .wa__typing i { width: 1.8cqw; height: 1.8cqw; }
.wchat__phone .wa__go { gap: 1.8cqw; margin: 2.2cqw -2.6cqw -1.6cqw; padding: 2.6cqw; font-size: 3.7cqw; }
.wchat__phone .wa__go svg { width: 4.4cqw; height: 4.4cqw; }
.wchat__phone .wa__quick { gap: 1.6cqw; padding: 0 3.4cqw 1cqw; }
.wchat__phone .wa__quick button { padding: 2.2cqw 3.6cqw; font-size: 3.6cqw; }
.wchat__phone .wa__in { background-size: 34cqw; } /* WhatsApp's doodles at a phone's own scale */
.wchat__phone .wa__send svg { width: 5.6cqw; height: 5.6cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa__in { position: relative; overflow: hidden; width: 100%; /* on the page's own margins, like every other section */ border-radius: var(--r-lg); box-shadow: 0 40px 80px -50px rgba(20, 40, 90, .45), inset 0 0 0 1px rgba(9, 15, 27, .06); background: var(--chalk); }
.wa__in { background: #EFEAE2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23000' stroke-opacity='.055' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='22' cy='24' r='8'/%3E%3Cpath d='M62 18h22a6 6 0 0 1 6 6v10a6 6 0 0 1-6 6H74l-8 6v-6h-4a6 6 0 0 1-6-6V24a6 6 0 0 1 6-6Z'/%3E%3Cpath d='M124 20l5 10 11 1-8 8 2 11-10-6-10 6 2-11-8-8 11-1Z'/%3E%3Cpath d='M16 84h26M29 71v26'/%3E%3Crect x='68' y='74' width='24' height='18' rx='4'/%3E%3Cpath d='M114 92c8-16 24-16 32 0'/%3E%3Ccircle cx='30' cy='134' r='6'/%3E%3Cpath d='M74 128l10 10 16-18'/%3E%3Cpath d='M120 126h24v18h-24Z'/%3E%3C/svg%3E") repeat; background-size: 220px; }
.wa__in { display: flex; flex-direction: column; }
/* the layout: the title on the left, the line and Talk to the team on the right, then the WhatsApp window across */
.wchat { align-items: end; row-gap: clamp(36px, 6vh, 64px); }
.wchat > .wchat__title { grid-column: 1 / 7; align-self: start; } /* top-aligned with the line beside it */
.wchat__side { grid-column: 8 / 13; align-self: start; display: grid; justify-items: start; gap: 22px; }
/* the window: WhatsApp on a laptop, your chats on the left and the chat with Jom open */
.wchat__window { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(250px, 28%) minmax(0, 1fr); height: clamp(540px, 72vh, 700px); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(9, 15, 27, .08), 0 60px 110px -70px rgba(20, 40, 90, .55); }
.wchat__list { display: flex; flex-direction: column; border-right: 1px solid #E9EDEF; background: #fff; }
.wchat__me { padding: 20px 22px 14px; }
.wchat__app { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: #111B21; }
.wchat__app svg { width: 24px; height: 24px; fill: #00A884; }
.wchat__chat { display: flex; align-items: center; gap: 14px; margin: 2px 10px; padding: 12px; border-radius: 12px; }
.wchat__chat.is-on { background: #F0F2F5; }
.wchat__chat b { display: block; font-size: 16px; font-weight: 600; color: #111B21; }
.wchat__chat small { display: block; margin-top: 2px; font-size: 14px; color: #667781; }
.wchat__ini { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; font-weight: 600; color: #54656F; background: #DFE5E7; }
.wchat__ini--teal { color: #008069; background: #D9FDD3; }
.wchat__window .wa__in { height: 100%; min-height: 0; border-radius: 0; box-shadow: none; background-size: 150px; }
/* WhatsApp's desktop header: light, not the phone's green */
.wchat__window .wa__head { color: #111B21; background: #F0F2F5; border-bottom: 1px solid #E9EDEF; }
.wchat__window .wa__who small { color: #667781; }
.wchat__window .wa__tools { color: #54656F; }
.wchat__window .wa__thread { min-height: 0; overflow: hidden; } /* older messages slip away under the header */
/* the replies: in a row above the message bar, with a live prompt beside them */
.wchat__window .wa__quick { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; padding-bottom: 8px; }
.wchat__window .wa__quick button { padding: 12px 20px; font-size: 16px; }
.wa__try { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #008069; background: rgba(255, 255, 255, .85); }
.wa__try i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.wa__try i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25D366; animation: wa-live 1.6s ease-out infinite; }
@keyframes wa-live { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.wchat__window .wa__send { width: 52px; padding: 0; justify-content: center; }
.wchat__title { margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.wchat__copy { margin: 0; max-width: 34rem; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(9, 15, 27, .66); text-wrap: pretty; }
.wa__head { position: relative; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 40px); color: #fff; background: #008069; }
.wa__head svg, .wa__field svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa__back svg { width: 24px; height: 24px; }
.wa__face, .wa__vface { position: relative; flex: none; overflow: hidden; border-radius: 50%; background: linear-gradient(140deg, #3A5ACB, #5CB8C6); }
.wa__face { width: 44px; height: 44px; }
.wa__face img, .wa__vface img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.wa__who { flex: 1; min-width: 0; }
.wa__who b { display: block; font-size: 17px; font-weight: 600; }
.wa__who small { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); }
.wa__tools { display: flex; gap: 22px; }
.wa__tools svg { width: 22px; height: 22px; }
.wa__thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: clamp(220px, 28vh, 280px); padding: 24px clamp(16px, 3vw, 40px) 16px; }
.wa__day { align-self: center; margin: 0 0 18px; padding: 7px 14px; border-radius: 8px; font-size: 14px; color: #54656F; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__msg { position: relative; align-self: flex-start; max-width: min(78%, 640px); margin: 12px 0 0; padding: 10px 14px 9px; border-radius: 0 12px 12px 12px; font-size: clamp(17px, 1.35vw, 21px); font-weight: 400; line-height: 1.4; letter-spacing: -.005em; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__msg::before { content: ""; position: absolute; left: -9px; top: 0; border: 5px solid transparent; border-top-color: #fff; border-right-color: #fff; } /* the tail */
.wa__msg--cont { margin-top: 0; border-radius: 12px; }
.wa__msg--cont::before { display: none; }
.wa__msg--me { align-self: flex-end; margin-top: 12px; border-radius: 12px 0 12px 12px; background: #D9FDD3; }
.wa__msg--me::before { left: auto; right: -9px; border-top-color: #D9FDD3; border-right-color: transparent; border-left-color: #D9FDD3; }
.wa__msg time { float: right; margin: 8px 0 -4px 14px; font-size: 12px; letter-spacing: 0; line-height: 1; color: #667781; }
.wa__ticks { margin-left: 4px; letter-spacing: -.12em; color: #8696A0; transition: color .3s ease; }
.wa__ticks.is-read { color: #53BDEB; }
/* the voice note: her photo, play, a waveform that fills as it plays */
.wa__voice { display: flex; align-items: center; gap: 12px; width: min(78%, 420px); padding-bottom: 22px; }
.wa__vface { width: 44px; height: 44px; }
.wa__play svg { width: 26px; height: 26px; fill: #54656F; }
.wa__wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 30px; }
.wa__wave i { flex: 1; height: calc(var(--h) * 2.2px); border-radius: 2px; background: #B3BEC4; transition: background-color .15s ease; }
.wa__wave i.is-on { background: #00A884; }
.wa__voice time { position: absolute; right: 14px; bottom: 7px; margin: 0; float: none; }
/* her typing: three dots that bob */
.wa__typing { display: flex; gap: 5px; padding: 14px 16px; }
.wa__typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: wa-dot 1s ease-in-out infinite; }
.wa__typing i:nth-child(2) { animation-delay: .15s; } .wa__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
/* her WhatsApp button: under a hairline inside her bubble, as WhatsApp shows a button on a business message */
.wa__msg--cta { display: grid; }
.wa__go { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px -14px -9px; padding: 11px 14px; border-top: 1px solid rgba(11, 20, 26, .1); font-weight: 600; color: #00A884; text-decoration: none; }
.wa__go svg { width: 18px; height: 18px; fill: currentColor; }
.wa__go:hover { background: rgba(0, 168, 132, .06); }
.wa__msg--cta time { justify-self: end; }
/* your replies to pick: WhatsApp's quick replies, stacked on the right */
.wa__quick { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding: 0 clamp(16px, 3vw, 40px) 4px; }
.wa__quick[hidden] { display: none; }
.wa__quick button { position: relative; padding: 10px 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; color: #fff; background: #00A884; box-shadow: 0 2px 6px rgba(0, 128, 105, .35); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.wa__quick button:hover { background: #008069; transform: translateY(-1px); }
/* until you pick, the first reply pulses: a ring that swells out from it */
.wa__quick.is-new button:first-child::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(0, 168, 132, .55); animation: wa-pulse 1.6s ease-out infinite; }
@keyframes wa-pulse { to { box-shadow: 0 0 0 10px rgba(0, 168, 132, 0); } }
/* the message bar: the way in, a link to the team on WhatsApp */
.wa__bar { position: relative; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px clamp(16px, 3vw, 40px) 22px; color: inherit; text-decoration: none; }
.wa__field { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 18px; border-radius: 999px; color: #54656F; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__field svg { flex: none; width: 24px; height: 24px; }
.wa__input { flex: 1; min-width: 0; overflow: hidden; font-size: 17px; white-space: nowrap; color: #111B21; }
.wa__ph { color: #8696A0; }
.wa__send { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 16px; border-radius: 999px; font-size: 16px; font-weight: 600; color: #fff; background: #00A884; transition: background-color .25s ease; }
.wa__send svg { width: 24px; height: 24px; fill: #fff; }
.wa__bar:hover .wa__send { background: #008069; }

/* =========================================================
   05 · Safe and open to every broker
   ========================================================= */
.safe { background: var(--chalk); }
.safe__head { grid-column: 1 / -1; display: grid; justify-items: start; gap: 20px; margin-bottom: clamp(40px, 7vh, 72px); }
.safe__grid { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(280px, 36vh)); gap: clamp(12px, 1.2vw, 18px); }
/* a tile: its scene fills it, the words sit at the bottom over a dark fade */
.safe__card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; padding: clamp(24px, 2.4vw, 40px); border-radius: 24px; background: #1B2542; } /* a lifted navy: the tile sits up off the section */
.safe__card--lead { grid-row: 1 / 3; }
.safe__scene { position: absolute; inset: 0; z-index: -2; }
.safe__scene canvas { display: block; width: 100%; height: 100%; }
.safe__card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(27, 37, 66, .95) 0%, rgba(27, 37, 66, .6) 30%, rgba(27, 37, 66, 0) 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-radius: inherit; } /* a scrim for the words, and the tile's fine edge */
.safe__card h3 { margin: 0; font-size: clamp(24px, 2vw, 34px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.safe__card--lead h3 { font-size: clamp(30px, 2.8vw, 46px); }
.safe__card p { max-width: 38ch; margin: 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: rgba(238, 242, 250, .7); }
.sec-night .safe__line path, .sec-night .safe__line circle { stroke: rgba(240, 244, 252, .6); }
.sec-night .safe__run path, .sec-night .safe__run circle { stroke: #19E8C9; }
/* the icon: a fine ink line drawing, a teal light tracing it on a loop (how.js) */
.safe__icon { width: 64px; height: 64px; overflow: visible; }
.safe__icon path, .safe__icon circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.safe__line path, .safe__line circle { stroke: rgba(9, 15, 27, .55); stroke-width: 2; }
.safe__run path, .safe__run circle { stroke: #10B39B; stroke-width: 3; stroke-dasharray: .22 .78; }

/* =========================================================
   Phones
   ========================================================= */
@media (max-width: 720px) {
  .ways__head, .safe { grid-template-columns: 1fr; row-gap: 32px; }
  .ways__head .pin, .ways__title { grid-column: 1 / -1; margin-top: 0; }
  .wchat { grid-template-columns: 1fr; row-gap: 40px; }
  .wchat > .wchat__title, .wchat__side, .wchat__words, .wchat__phone { grid-column: 1 / -1; }
  .wchat__window { grid-template-columns: 1fr; height: min(78vh, 620px); border-radius: 20px; }
  .wchat__list { display: none; }
  .wa__try { margin: 0 0 4px; flex-basis: 100%; justify-content: center; }
  .wchat__window .wa__quick { justify-content: flex-end; }
  .wchat__window .wa__quick button { padding: 10px 16px; font-size: 15px; }
  .wchat__phone { --pw: min(72vw, 300px); }
  /* phones: the title, the phone, then the steps and the buttons */
  .start { grid-template-columns: 1fr; grid-template-areas: "title" "stage" "steps" "ctas"; grid-template-rows: none; }
  .start__stage { --pw: min(64vw, 270px); }
  .safe__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .safe__card { min-height: 340px; }
  .safe__card--lead { grid-row: auto; min-height: 460px; }
  .ways__grid { grid-template-columns: 1fr; }
  .ways__grid .mv__card { aspect-ratio: 4 / 4.4; }
}
/* narrow phones: one card per row, so the words have room */
@media (max-width: 520px) {
  .safe__grid { grid-template-columns: 1fr; }

}

/* tablets: the cards stack, wide: the words on the left, the phone rising on the right */
@media (min-width: 721px) and (max-width: 1024px) {
  .start { grid-template-areas: "stage stage stage stage stage stage title title title title title title" "stage stage stage stage stage stage steps steps steps steps steps steps" "stage stage stage stage stage stage ctas ctas ctas ctas ctas ctas"; }
  .start__stage { --pw: min(30vw, 260px); }
  .ways__grid { grid-template-columns: 1fr; row-gap: 20px; }
  .ways__grid .mv__card { aspect-ratio: 16 / 10; }
  .ways__grid .mv__text { max-width: 50%; padding: 40px; }
  .flow__phone { left: 72%; top: 14%; width: 34%; margin-left: -17%; }
}

/* =========================================================
   Not a portal: brokers keep control of their stock. A dark card on white, words left, the network right
   ========================================================= */
.own { position: relative; padding: clamp(90px, 13vh, 150px) var(--gutter) 0; background: #fff; } /* after the night section; the FAQ below brings its own space */
.own__panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(600px, 84vh, 760px); padding: clamp(28px, 4.4vw, 72px); border-radius: var(--r-lg); color: #fff; background: #141C30; }
.own__title { margin: 0; font-size: clamp(44px, 6vw, 104px); font-weight: 400; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.own__lede { max-width: 34em; margin: clamp(18px, 2.6vh, 26px) 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(238, 242, 250, .72); }
.own__list { display: grid; gap: clamp(16px, 2.4vh, 22px); margin: clamp(28px, 4.4vh, 44px) 0 0; padding: 0; list-style: none; }
.own__list li { display: flex; align-items: flex-start; gap: 14px; }
.own__list i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #19E8C9; }
.own__list svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.own__list span { display: grid; gap: 2px; }
.own__list b { font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.own__list small { font-size: 15px; line-height: 1.45; color: rgba(238, 242, 250, .66); }
.own__words { position: relative; z-index: 1; width: min(100%, 560px); }
.own__scene { position: absolute; inset: 0; z-index: -2; }
.own__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #141C30 18%, rgba(20, 28, 48, .72) 42%, rgba(20, 28, 48, 0) 62%); }
.own__scene canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .own__panel { align-items: flex-end; min-height: 800px; }
  .own__panel::after { background: linear-gradient(180deg, rgba(20, 28, 48, 0) 34%, rgba(20, 28, 48, .9) 52%, #141C30 62%); }
  .own__title { font-size: clamp(40px, 11vw, 68px); }
}
/* QA (15 Nov): at 320 "Jom · BrokerConnector" ran 25px past the chat header; every chat header name now ends in an
   ellipsis instead */
.wa__who b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* the WhatsApp section's title on two set lines (17 Nov: the client's longer line ran to three ragged ones) */
.wchat__title .line { display: block; white-space: nowrap; }
@media (max-width: 400px) { .wchat__title .line { white-space: normal; } }

/* options arriving on WhatsApp (17 Nov): each option a small card in Jom's bubble, the connection in teal */
.wa__msg--opt { padding-left: 12px; }
.wa__opt { display: grid; gap: 2px; padding-left: 10px; border-left: 3px solid #19E8C9; }
.wa__opt b { font-size: .62em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0E9E8A; }
.wa__opt span { font-weight: 500; }
.wa__opt small { font-size: .78em; color: #667781; }
.wa__msg--link { background: #E7FBF7; color: #0B5F53; }
.wa__msg--link::before { border-top-color: #E7FBF7; border-right-color: #E7FBF7; }
/* the FAQ carries on the white of "We're not a portal." above it (17 Nov: the page's light grey started at the FAQ
   and read as a grey panel behind it) */
.own + .faq { background: #fff; }
/* (24 Nov, QA) tablets: "We find the options." didn't fit in half the width; the title and the words beside it stack */
@media (min-width: 721px) and (max-width: 1024px) {
  .wchat > .wchat__title, .wchat__side { grid-column: 1 / -1; }
}
