/* ==========================================================================
   SCALE — INDUSTRY LANDING PAGES (Claude Design "SEO Landing Template",
   11b desktop 1440 / 11c content blocks / 11d mobile 390)

   One stylesheet for every /ai-whatsapp-agent-for-{industry}/ page. The pages
   differ only in their content record (includes/industry-pages/{key}.php); the layout is
   this file and templates/industry.php, so nine pages cannot drift into nine
   designs. Values are the design's literal ones — check the .dc.html before
   "refining" any of them.

   Light is the only theme (docs/THEME-POLICY.md): no dark-mode rules here.
   The site header is the shared component (scale-site-header.css); nothing
   below styles it. Sticky offsets read its height: 77px, 59px ≤768.
   ========================================================================== */

.ip-page{
    --ip-ink:#0E1424;
    --ip-steel:#5A6478;
    --ip-body:#374151;
    --ip-muted:#8A93A5;
    --ip-faint:#A9B1C2;
    --ip-line:#EDEFF3;
    --ip-line-2:#F1F3F6;
    --ip-line-3:#F5F6F8;
    --ip-frame:#E6E9EF;
    --ip-strong:#D8DDE5;
    --ip-soft:#FAFBFC;
    --ip-pink:#C42A63;
    --ip-pink-hover:#A82253;
    --ip-pink-soft:#FBF1F5;
    --ip-pink-soft-2:#FDF6F9;
    --ip-pink-line:#EFE3EA;
    --ip-header:77px;
    --ip-gutter:64px;
    color:var(--ip-ink);
    font-family:"Instrument Sans","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
/* The shared header is rendered outside .ip-page, so the face goes on body too —
   as the homepage and the 404 do. */
body.scale-industry{margin:0;background:#fff;overflow-x:hidden;color:#0E1424;font-family:"Instrument Sans","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.ip-page *,.ip-page *::before,.ip-page *::after{box-sizing:border-box}
.ip-page h1,.ip-page h2,.ip-page h3,.ip-page p,.ip-page figure,.ip-page ul,.ip-page ol{margin:0;padding:0}
.ip-page ul,.ip-page ol{list-style:none}
.ip-page img{max-width:100%;height:auto}
.ip-page a{color:var(--ip-pink);text-decoration:none}
.ip-page a:hover{color:#9E1F4E}
.ip-page :focus-visible{outline:2px solid var(--ip-pink);outline-offset:2px;border-radius:4px}
.ip-page strong{font-weight:600;color:var(--ip-ink)}

/* An icon: the svg fills whatever box the wrapper gives it. */
.ip-i{display:inline-flex;flex:none;width:16px;height:16px}
.ip-i svg{width:100%;height:100%;display:block}

.ip-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ip-skip{position:absolute;left:-9999px;top:8px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--ip-ink);color:#fff !important;font-weight:600}
.ip-skip:focus{left:16px}

/* Reading progress — the 2px rule the design draws under the header. */
.ip-progress{position:fixed;left:0;top:0;width:100%;height:2px;z-index:70;pointer-events:none}
.ip-progress i{display:block;height:100%;width:100%;background:var(--ip-pink);transform-origin:0 50%;transform:scaleX(0)}

.ip-wrap{max-width:1440px;margin:0 auto;padding:0 var(--ip-gutter)}

/* ---- Buttons ------------------------------------------------------------- */

.ip-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 26px;border-radius:14px;font-size:16px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.ip-btn .ip-i{width:16px;height:16px}
.ip-btn--primary{background:var(--ip-pink);color:#fff !important;box-shadow:0 12px 30px rgba(196,42,99,.22)}
.ip-btn--primary:hover{background:var(--ip-pink-hover)}
.ip-btn--ghost{border:1.5px solid var(--ip-strong);color:var(--ip-ink) !important;background:#fff}
.ip-btn--ghost:hover{border-color:var(--ip-ink)}
.ip-btn--ghost .ip-i{width:15px;height:15px;color:var(--ip-steel)}
.ip-btn--dark-ghost{border:1.5px solid #2A3242;color:#fff !important;background:transparent}
.ip-btn--dark-ghost:hover{border-color:var(--ip-steel)}
.ip-btn--dark-ghost .ip-i{color:#fff}

/* ---- Hero ---------------------------------------------------------------- */

.ip-hero{position:relative;padding:28px 0 0;overflow:hidden}
.ip-hero__glow{position:absolute;top:-220px;left:50%;transform:translateX(-50%);width:1000px;height:460px;background:radial-gradient(ellipse at center,rgba(255,91,141,.09),rgba(139,92,214,.06) 45%,transparent 72%);pointer-events:none}

.ip-crumbs{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:var(--ip-muted)}
.ip-crumbs a{color:var(--ip-muted)}
.ip-crumbs a:hover{color:var(--ip-ink)}
.ip-crumbs .ip-i{width:13px;height:13px}
.ip-crumbs [aria-current]{color:var(--ip-ink);font-weight:500}

.ip-hero__grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;margin-top:36px}
.ip-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--ip-pink-line);color:var(--ip-pink);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.ip-h1{margin:20px 0 0 !important;font-size:56px;line-height:1.05;font-weight:600;letter-spacing:-.04em;color:var(--ip-ink);text-wrap:balance}
.ip-lead{margin:20px 0 0 !important;max-width:520px;font-size:17.5px;line-height:1.65;color:var(--ip-steel);text-wrap:pretty}
.ip-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.ip-ticks{display:flex;flex-wrap:wrap;gap:10px 26px;margin-top:26px !important;font-size:12.5px;color:var(--ip-muted)}
.ip-ticks li{display:inline-flex;align-items:center;gap:6px}
.ip-ticks .ip-i{width:13px;height:13px;color:#1E8F57}

/* The product frame (hero inbox, "Inside the product" figure). */
.ip-app{border:1px solid var(--ip-frame);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 32px 80px rgba(14,20,36,.13)}
.ip-app__bar{display:flex;align-items:center;gap:9px;padding:11px 16px;background:var(--ip-soft);border-bottom:1px solid var(--ip-line)}
.ip-app__dot{width:10px;height:10px;border-radius:50%;background:#E4E7EC;flex:none}
.ip-app__url{margin-left:16px;display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 12px;border-radius:7px;background:#fff;border:1px solid var(--ip-line);font-size:11px;color:var(--ip-muted)}
.ip-app__url .ip-i{width:11px;height:11px}
/* 400px is the design's height at 1440; narrower, the thread grows instead of
   clipping its first message. */
.ip-app__body{display:flex;min-height:400px}

.ip-convs{width:200px;flex:none;border-right:1px solid var(--ip-line);display:flex;flex-direction:column;overflow:hidden}
.ip-convs__head{display:flex;align-items:center;gap:7px;padding:12px 14px;border-bottom:1px solid var(--ip-line)}
.ip-convs__t{flex:1;font-size:12.5px;font-weight:700}
.ip-convs__n{font-size:10.5px;font-weight:600;background:var(--ip-pink-soft);color:var(--ip-pink);border-radius:999px;padding:1px 7px}
.ip-conv{display:flex;gap:8px;padding:11px 12px;border-bottom:1px solid var(--ip-line-3)}
.ip-conv:last-child{border-bottom:0}
.ip-conv.is-on{background:var(--ip-pink-soft-2)}
.ip-conv__mid{flex:1;min-width:0}
.ip-conv__top{display:flex;align-items:baseline;gap:5px}
.ip-conv__name{flex:1;min-width:0;font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-conv.is-on .ip-conv__name{font-weight:700}
.ip-conv__time{font-size:9.5px;color:var(--ip-muted)}
.ip-conv.is-on .ip-conv__time{font-weight:600;color:var(--ip-pink)}
.ip-conv__prev{font-size:10.5px;color:var(--ip-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-conv.is-on .ip-conv__prev{color:var(--ip-body)}

.ip-av{width:28px;height:28px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}
.ip-av--violet{background:#F1ECFB;color:#7B54C9}
.ip-av--blue{background:#EAF1FB;color:#2A63B8}
.ip-av--green{background:#EAF6EF;color:#1E8F57}
.ip-av--amber{background:#FDF3E7;color:#A9690C}
.ip-av--pink{background:var(--ip-pink-soft);color:var(--ip-pink)}

.ip-thread{flex:1;min-width:0;display:flex;flex-direction:column}
.ip-thread__head{display:flex;align-items:center;gap:9px;padding:11px 16px;border-bottom:1px solid var(--ip-line)}
.ip-thread__head .ip-av{width:30px;height:30px;font-size:12px}
.ip-thread__who{flex:1;min-width:0}
.ip-thread__row{display:flex;align-items:center;gap:6px;min-width:0}
.ip-thread__row .ip-stage{flex:none}
.ip-thread__name{min-width:0;font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-thread__sub{font-size:10.5px;color:var(--ip-muted)}
.ip-aimode{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:var(--ip-pink-soft);color:var(--ip-pink);font-size:10px;font-weight:600;white-space:nowrap}
.ip-aimode .ip-i{width:10px;height:10px}
.ip-msgs{flex:1;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;gap:9px}
.ip-msg{max-width:76%;padding:9px 12px;border-radius:14px;font-size:12.5px;line-height:1.55}
.ip-msg--in{align-self:flex-start;background:#fff;border:1px solid var(--ip-line);border-top-left-radius:4px}
.ip-msg--ai{align-self:flex-end;max-width:82%;background:var(--ip-pink-soft-2);border:1px solid #F4E3EC;border-top-right-radius:4px}
.ip-msg__by{display:flex;align-items:center;gap:4px;margin-top:6px;font-size:9.5px;font-weight:600;color:var(--ip-pink)}
.ip-msg__by .ip-i{width:10px;height:10px}
.ip-msg--done{align-self:flex-end;display:flex;align-items:center;gap:8px;max-width:82%;background:#EAF6EF;border:1px solid #CDEADB;font-size:12px;font-weight:500;color:#146B3C}
.ip-msg--done .ip-i{width:14px;height:14px}
.ip-msg[dir="rtl"]{font-family:"IBM Plex Sans Arabic","Instrument Sans",system-ui,sans-serif}

/* Lead stage pills — the product's own lifecycle vocabulary. */
.ip-stage{display:inline-flex;padding:1px 8px;border-radius:999px;font-size:9.5px;font-weight:600;white-space:nowrap}
.ip-stage--new{background:#EAF1FB;color:#2A63B8}
.ip-stage--qualified{background:#F1ECFB;color:#7B54C9}
.ip-stage--interested{background:#FDF3E7;color:#A9690C}
.ip-stage--booked{background:var(--ip-pink-soft);color:var(--ip-pink)}
.ip-stage--customer{background:#EAF6EF;color:#1E8F57}
.ip-stage--lost{background:#F1F3F6;color:#5A6478}

/* Byline strip. */
.ip-byline{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:44px;padding:16px 20px;border:1px solid var(--ip-line);border-radius:16px;background:var(--ip-soft);font-size:12.5px;color:var(--ip-steel)}
.ip-byline__who{display:flex;align-items:center;gap:9px}
.ip-byline__av{width:30px;height:30px;border-radius:50%;background:linear-gradient(140deg,#FF5B8D,#8B5CD6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;flex:none}
.ip-byline__sep{width:1px;height:20px;background:var(--ip-line)}
.ip-byline__meta{display:inline-flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.ip-byline__i{display:inline-flex;align-items:center;gap:7px}
.ip-byline__i .ip-i{width:14px;height:14px;color:var(--ip-muted)}
.ip-byline__sp{flex:1}
.ip-share{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 4px;margin:-6px -4px;border:0;border-radius:8px;background:none;font:inherit;font-weight:600;color:var(--ip-steel);cursor:pointer}
.ip-share:hover{color:var(--ip-ink)}
.ip-share .ip-i{width:14px;height:14px}

/* ---- Body: ToC rail + article ------------------------------------------- */

.ip-body{padding-top:64px}
.ip-cols{display:grid;grid-template-columns:236px minmax(0,1fr);gap:56px;align-items:start}
.ip-rail{position:sticky;top:calc(var(--ip-header) + 24px);display:flex;flex-direction:column;gap:16px}
.ip-toc{border:1px solid var(--ip-line);border-radius:18px;padding:20px;background:#fff}
.ip-toc__t{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ip-muted)}
.ip-toc__list{display:flex;flex-direction:column;gap:2px;margin-top:14px}
.ip-toc__list a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:9px;font-size:13px;color:var(--ip-steel);transition:background .15s ease,color .15s ease}
.ip-toc__list a i{width:2px;height:14px;border-radius:2px;background:transparent;flex:none}
.ip-toc__list a:hover{background:var(--ip-soft);color:var(--ip-ink)}
.ip-toc__list a.is-active{font-weight:600;color:var(--ip-pink);background:var(--ip-pink-soft)}
.ip-toc__list a.is-active i{background:var(--ip-pink)}
.ip-toc__foot{margin-top:16px;padding-top:14px;border-top:1px solid var(--ip-line-2)}
.ip-toc__prog{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--ip-muted)}
.ip-toc__prog span{flex:1}
.ip-toc__prog b{font-weight:600;color:var(--ip-steel);font-variant-numeric:tabular-nums}
.ip-toc__bar{margin-top:8px;height:4px;border-radius:999px;background:var(--ip-line-2);overflow:hidden}
.ip-toc__bar i{display:block;height:100%;width:100%;background:var(--ip-pink);border-radius:999px;transform-origin:0 50%;transform:scaleX(0)}

.ip-try{border:1px solid var(--ip-pink-line);border-radius:18px;padding:20px;background:var(--ip-pink-soft-2)}
.ip-try__t{font-size:14px;font-weight:600;letter-spacing:-.01em}
.ip-try__p{margin:6px 0 0 !important;font-size:12.5px;line-height:1.6;color:var(--ip-steel)}
.ip-try .ip-btn{width:100%;height:40px;margin-top:14px;border-radius:11px;font-size:13.5px;box-shadow:none;padding:0 14px}
.ip-try .ip-btn .ip-i{width:14px;height:14px}
.ip-try .ip-btn--ghost{height:38px;margin-top:8px;border:1px solid #E9D6E0;font-size:13px}

/* The mobile ToC: a <details>, so it works with no script at all. */
.ip-mtoc{display:none;margin-top:16px;border:1px solid var(--ip-line);border-radius:14px;overflow:hidden;background:#fff}
.ip-mtoc summary{display:flex;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;list-style:none;font-size:13.5px;font-weight:600}
.ip-mtoc summary::-webkit-details-marker{display:none}
.ip-mtoc summary .ip-i{width:15px;height:15px;color:var(--ip-steel)}
.ip-mtoc__n{margin-left:auto;font-size:11.5px;font-weight:400;color:var(--ip-muted);font-variant-numeric:tabular-nums}
.ip-mtoc__chev{transition:transform .2s ease;color:var(--ip-faint) !important}
.ip-mtoc[open] .ip-mtoc__chev{transform:rotate(180deg)}
.ip-mtoc__list{display:flex;flex-direction:column;padding:0 8px 10px}
.ip-mtoc__list a{padding:9px 10px;border-radius:9px;font-size:14px;color:var(--ip-steel)}
.ip-mtoc__list a.is-active{color:var(--ip-pink);font-weight:600;background:var(--ip-pink-soft)}
.ip-mtoc__bar{height:3px;background:var(--ip-line-2)}
.ip-mtoc__bar i{display:block;height:100%;width:100%;background:var(--ip-pink);transform-origin:0 50%;transform:scaleX(0)}

.ip-article{min-width:0;max-width:800px}
.ip-sec{scroll-margin-top:calc(var(--ip-header) + 20px)}
.ip-sec + .ip-sec{margin-top:56px}
.ip-h2{font-size:36px;font-weight:600;letter-spacing:-.035em;line-height:1.15;color:var(--ip-ink);text-wrap:balance}
.ip-p{margin-top:18px !important;font-size:17px;line-height:1.75;color:var(--ip-body);text-wrap:pretty}
.ip-p + .ip-p{margin-top:14px !important}

/* Direct answer (11c checklist). */
.ip-answer{margin-top:18px !important;font-size:18px;line-height:1.7;color:var(--ip-ink);text-wrap:pretty}
.ip-checks{display:flex;flex-direction:column;gap:12px;margin-top:22px !important}
.ip-checks li{display:flex;gap:12px;font-size:16.5px;line-height:1.7;color:var(--ip-body)}
.ip-checks .ip-i{width:17px;height:17px;color:#1E8F57;margin-top:4px}

/* H3 inside a section (11c: 22px, 32px above). */
.ip-h3{margin-top:32px !important;font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.3;color:var(--ip-ink)}
.ip-h3 + .ip-p{margin-top:12px !important}
.ip-h3 + .ip-checks{margin-top:16px !important}

/* Numbered steps (11c): the journey after a lead writes. */
.ip-steps{display:flex;flex-direction:column;gap:14px;margin-top:24px !important;counter-reset:none}
.ip-steps li{display:flex;gap:14px}
.ip-steps__n{width:24px;height:24px;flex:none;border-radius:8px;background:var(--ip-line-2);color:var(--ip-steel);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;margin-top:3px}
.ip-steps__t{font-size:16.5px;line-height:1.7;color:var(--ip-body);text-wrap:pretty}

/* "Works with" — the integrations a page relies on, each linked to its guide. */
.ip-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px !important}
.ip-tool{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 14px;border:1px solid var(--ip-line);border-radius:999px;background:#fff;font-size:13px;font-weight:600;color:var(--ip-ink) !important;transition:border-color .15s ease}
a.ip-tool:hover{border-color:var(--ip-strong)}
.ip-tool .ip-i{width:14px;height:14px;color:var(--ip-pink)}

/* Cards. */
.ip-tone{width:38px;height:38px;flex:none;border-radius:12px;display:flex;align-items:center;justify-content:center}
.ip-tone .ip-i{width:17px;height:17px}
.ip-tone--red{background:#FCEBEC;color:#C2242F}
.ip-tone--amber{background:#FDF3E7;color:#A9690C}
.ip-tone--blue{background:#EAF1FB;color:#2A63B8}
.ip-tone--violet{background:#F4EEFB;color:#6D3FBF}
.ip-tone--green{background:#EAF6EF;color:#1E8F57}
.ip-tone--pink{background:var(--ip-pink-soft);color:var(--ip-pink)}

.ip-problems{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px}
.ip-card{border:1px solid var(--ip-line);border-radius:18px;padding:24px;background:#fff;transition:box-shadow .2s ease,transform .2s ease}
.ip-card:hover{box-shadow:0 16px 40px rgba(14,20,36,.09);transform:translateY(-2px)}
.ip-card__t{margin-top:14px !important;font-size:16.5px;font-weight:600;letter-spacing:-.015em;line-height:1.35}
.ip-card__p{margin-top:7px !important;font-size:14px;line-height:1.65;color:var(--ip-steel)}

/* How Scale helps — the connected timeline. */
.ip-steps-tl{display:flex;flex-direction:column;margin-top:32px}
.ip-tl{display:flex;gap:20px}
.ip-tl__rail{display:flex;flex-direction:column;align-items:center;flex:none;width:38px}
.ip-tl__rail::after{content:"";width:1.5px;flex:1;background:var(--ip-line);margin:10px 0}
.ip-tl:last-child .ip-tl__rail::after{display:none}
.ip-tl__body{padding-bottom:28px;min-width:0}
.ip-tl:last-child .ip-tl__body{padding-bottom:0}
.ip-tl__t{margin-top:6px !important;font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.ip-tl__p{margin-top:8px !important;font-size:15.5px;line-height:1.75;color:var(--ip-steel);text-wrap:pretty}

/* Callouts (11c, four tones). */
.ip-callout{display:flex;gap:14px;align-items:flex-start;margin-top:36px;padding:20px 22px;border-radius:16px;border:1px solid}
.ip-callout__ico{width:34px;height:34px;flex:none;border-radius:11px;display:flex;align-items:center;justify-content:center}
.ip-callout__ico .ip-i{width:16px;height:16px}
.ip-callout__t{font-size:14.5px;font-weight:600}
.ip-callout__p{margin-top:5px !important;font-size:14px;line-height:1.7;text-wrap:pretty}
.ip-callout--note{border-color:#CBDDF3;background:#F5F9FE}
.ip-callout--note .ip-callout__ico{background:#EAF1FB;color:#2A63B8}
.ip-callout--note .ip-callout__t{color:#1F4372}
.ip-callout--note .ip-callout__p{color:#3F5878}
.ip-callout--tip{border-color:#CDEADB;background:#EAF6EF}
.ip-callout--tip .ip-callout__ico{background:#fff;color:#1E8F57}
.ip-callout--tip .ip-callout__t,.ip-callout--tip .ip-callout__p{color:#146B3C}
.ip-callout--scale{border-color:var(--ip-pink-line);background:var(--ip-pink-soft-2)}
.ip-callout--scale .ip-callout__ico{background:#fff;color:var(--ip-pink)}
.ip-callout--scale .ip-callout__t,.ip-callout--scale .ip-callout__p{color:#8F2049}
.ip-callout--watch{border-color:#F5E4CB;background:#FDF3E7}
.ip-callout--watch .ip-callout__ico{background:#fff;color:#A9690C}
.ip-callout--watch .ip-callout__t,.ip-callout--watch .ip-callout__p{color:#7A4C08}
.ip-callout a{font-weight:600}

/* Features. */
.ip-features{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.ip-feat{display:flex;gap:13px;border:1px solid var(--ip-line);border-radius:16px;padding:18px 20px;background:#fff}
.ip-feat .ip-tone{width:34px;height:34px;border-radius:11px}
.ip-feat .ip-tone .ip-i{width:16px;height:16px}
.ip-feat__t{font-size:14.5px;font-weight:600;line-height:1.35}
.ip-feat__p{margin-top:3px !important;font-size:13px;line-height:1.6;color:var(--ip-steel)}

/* Inside the product — the CRM table figure. */
.ip-figure{margin-top:28px !important}
.ip-figure .ip-app{border-radius:18px;box-shadow:0 20px 50px rgba(14,20,36,.09)}
.ip-figure .ip-app__bar{padding:10px 14px}
.ip-figure .ip-app__dot{width:9px;height:9px}
.ip-figure .ip-app__url{margin-left:12px;height:auto;padding:0;border:0;background:none}
.ip-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ip-trow{display:grid;grid-template-columns:var(--ip-cols);gap:12px;padding:0 18px;min-height:46px;align-items:center;border-bottom:1px solid var(--ip-line-3);font-size:12.5px;min-width:560px}
.ip-trow:last-child{border-bottom:0}
.ip-trow > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ip-steel)}
.ip-trow > span:first-child{font-weight:600;color:var(--ip-ink)}
.ip-trow--head{min-height:38px;background:var(--ip-soft);border-bottom:1px solid var(--ip-line);font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.ip-trow--head > span,.ip-trow--head > span:first-child{color:var(--ip-muted);font-weight:600}
.ip-trow .ip-dim{color:var(--ip-muted)}
.ip-figure figcaption{margin-top:12px;font-size:13px;line-height:1.6;color:var(--ip-muted)}

/* How it works. */
.ip-how{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.ip-how li{border:1px solid var(--ip-line);border-radius:16px;padding:20px;background:#fff}
.ip-how__n{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;background:var(--ip-ink);color:#fff;font-size:13px;font-weight:700}
.ip-how li:last-child .ip-how__n{background:var(--ip-pink)}
.ip-how__t{margin-top:12px !important;font-size:14.5px;font-weight:600;line-height:1.35}
.ip-how__p{margin-top:4px !important;font-size:13px;line-height:1.6;color:var(--ip-steel)}

/* Outcomes — the design's results tiles, without invented numbers. */
.ip-outcomes{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.ip-out{border:1px solid var(--ip-line);border-radius:18px;padding:22px;background:#fff}
.ip-out .ip-i{width:22px;height:22px;color:var(--ip-pink)}
.ip-out__t{margin-top:12px !important;font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.ip-out__p{margin-top:6px !important;font-size:13px;line-height:1.6;color:var(--ip-steel)}

/* Comparison — a real <table> for assistive tech and for search engines. */
.ip-compare{width:100%;margin-top:26px;border:1px solid var(--ip-line);border-radius:18px;border-collapse:separate;border-spacing:0;overflow:hidden;font-size:14px;table-layout:fixed}
.ip-compare th,.ip-compare td{padding:14px 22px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--ip-line-3);line-height:1.45}
.ip-compare tr:last-child th,.ip-compare tr:last-child td{border-bottom:0}
.ip-compare thead th{height:46px;padding-top:0;padding-bottom:0;background:var(--ip-soft);border-bottom:1px solid var(--ip-line);font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ip-muted)}
.ip-compare thead th:last-child{color:var(--ip-pink)}
.ip-compare tbody th{font-weight:500;color:var(--ip-ink)}
.ip-compare td{color:var(--ip-steel)}
.ip-compare td:last-child{font-weight:600;color:var(--ip-ink)}
.ip-compare col.ip-c1{width:36%}

/* Dark CTA banner (mid-article and final). */
.ip-band{position:relative;margin-top:44px;border-radius:20px;background:var(--ip-ink);padding:36px 40px;overflow:hidden}
.ip-band__glow{position:absolute;top:-120px;right:-40px;width:520px;height:300px;background:radial-gradient(ellipse at center,rgba(255,91,141,.20),rgba(139,92,214,.12) 45%,transparent 72%);pointer-events:none}
.ip-band__in{position:relative;display:flex;align-items:center;gap:28px}
.ip-band__txt{flex:1;min-width:0}
.ip-band__t{font-size:24px;font-weight:600;letter-spacing:-.025em;line-height:1.25;color:#fff}
.ip-band__p{margin-top:8px !important;max-width:420px;font-size:14.5px;line-height:1.65;color:var(--ip-faint)}
.ip-band__ctas{display:flex;gap:10px;flex:none}
.ip-band .ip-btn{height:48px;padding:0 22px;border-radius:13px;font-size:15px}
.ip-band .ip-btn--primary{box-shadow:0 12px 30px rgba(196,42,99,.3)}

/* FAQ — <details>, so every answer is in the page and works without script. */
.ip-faq{margin-top:26px;border:1px solid var(--ip-line);border-radius:20px;background:#fff;overflow:hidden}
.ip-faq details{border-bottom:1px solid var(--ip-line-2)}
.ip-faq details:last-child{border-bottom:0}
.ip-faq summary{display:flex;align-items:center;gap:14px;padding:22px 26px;cursor:pointer;list-style:none;transition:background .15s ease}
.ip-faq summary::-webkit-details-marker{display:none}
.ip-faq summary:hover{background:var(--ip-soft)}
.ip-faq h3{flex:1;font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.4;color:var(--ip-ink)}
.ip-faq__ico{position:relative;width:18px;height:18px;flex:none;color:var(--ip-faint)}
.ip-faq__ico::before,.ip-faq__ico::after{content:"";position:absolute;left:3px;right:3px;top:50%;height:1.75px;margin-top:-1px;border-radius:2px;background:currentColor;transition:transform .2s ease}
.ip-faq__ico::after{transform:rotate(90deg)}
.ip-faq details[open] .ip-faq__ico{color:var(--ip-pink)}
.ip-faq details[open] .ip-faq__ico::after{transform:rotate(0)}
.ip-faq__a{padding:0 26px 22px}
.ip-faq__a p{font-size:14.5px;line-height:1.7;color:var(--ip-steel);text-wrap:pretty}

/* Other industries. */
.ip-sub{margin-top:16px !important;font-size:16px;line-height:1.7;color:var(--ip-steel)}
.ip-related{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.ip-rel{display:flex;align-items:center;gap:12px;border:1px solid var(--ip-line);border-radius:16px;padding:18px 20px;background:#fff;color:var(--ip-ink) !important;transition:box-shadow .2s ease,transform .2s ease}
.ip-rel:hover{box-shadow:0 14px 34px rgba(14,20,36,.08);transform:translateY(-2px)}
.ip-rel .ip-tone{width:34px;height:34px;border-radius:11px}
.ip-rel .ip-tone .ip-i{width:16px;height:16px}
.ip-rel__mid{flex:1;min-width:0}
.ip-rel__t{display:block;font-size:14px;font-weight:600;line-height:1.35}
.ip-rel__s{display:block;font-size:12px;color:var(--ip-muted)}
.ip-rel__go{width:15px !important;height:15px !important;color:#C9D0DA}

/* Final CTA. */
.ip-final{padding-top:88px}
.ip-final__box{position:relative;border-radius:24px;background:var(--ip-ink);padding:64px;overflow:hidden;text-align:center}
.ip-final__glow{position:absolute;top:-140px;left:50%;transform:translateX(-50%);width:760px;height:340px;background:radial-gradient(ellipse at center,rgba(255,91,141,.20),rgba(139,92,214,.12) 45%,transparent 72%);pointer-events:none}
.ip-final__in{position:relative}
.ip-final h2{font-size:42px;font-weight:600;letter-spacing:-.035em;line-height:1.12;color:#fff;text-wrap:balance;max-width:720px;margin:0 auto}
.ip-final__p{margin:18px auto 0 !important;max-width:520px;font-size:16px;line-height:1.6;color:var(--ip-faint)}
.ip-final__ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:32px}
.ip-final .ip-btn--primary{box-shadow:0 12px 30px rgba(196,42,99,.3)}
.ip-final .ip-ticks{justify-content:center;gap:10px 28px}

/* Footer (the 404 page's, with an Industries column). */
.ip-footer{padding:72px 0 56px}
.ip-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1.8fr 1fr 1fr;gap:32px}
/* Fifteen industries: two short columns instead of one long one. */
.ip-footer__ind .ip-footer__links{display:grid;grid-template-columns:1fr 1fr;gap:11px 20px}
.ip-footer__logo{position:relative;overflow:hidden;display:block;width:132px;height:34px}
.ip-footer__logo img{position:absolute;max-width:none !important;width:auto !important;height:164px !important;top:-65px;left:-16px}
.ip-footer__about{margin-top:14px !important;max-width:260px;font-size:13.5px;line-height:1.6;color:var(--ip-muted)}
.ip-footer__social{display:flex;gap:10px;margin-top:18px}
.ip-footer__soc{width:32px;height:32px;border-radius:9px;border:1px solid var(--ip-line);color:var(--ip-muted) !important;display:flex;align-items:center;justify-content:center}
.ip-footer__soc:hover{color:var(--ip-ink) !important;border-color:var(--ip-strong)}
.ip-footer__soc .ip-i{width:15px;height:15px}
.ip-footer__ct{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--ip-ink)}
.ip-footer__links{display:flex;flex-direction:column;gap:11px;margin-top:16px !important;font-size:13.5px}
.ip-footer__links a{color:var(--ip-steel)}
.ip-footer__links a:hover,.ip-footer__links a[aria-current]{color:var(--ip-ink)}
.ip-footer__links a[aria-current]{font-weight:600}
.ip-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:44px;padding-top:24px;border-top:1px solid var(--ip-line-2);font-size:12.5px;color:var(--ip-faint)}
.ip-footer__copy{flex:1}
.ip-footer__langs{display:inline-flex;border:1px solid var(--ip-line);border-radius:8px;overflow:hidden;font-weight:600}
.ip-footer__langs a{padding:4px 11px;color:var(--ip-faint)}
.ip-footer__langs a.is-on{background:#F7F8FA;color:var(--ip-ink)}

/* Mobile sticky CTA (11d). */
.ip-mbar{display:none}

/* Motion: hover lifts only, and none for people who ask for none. */
@media (prefers-reduced-motion:reduce){
    .ip-page *{transition:none !important;animation:none !important}
    .ip-card:hover,.ip-rel:hover{transform:none}
}

/* Below the design's 1440 the hero frame narrows: the lead's name keeps its
   room and the "AI mode" pill goes first. */
@media (max-width:1300px){
    .ip-aimode{display:none}
}

/* ==========================================================================
   ≤1100 — the rail folds into the collapsible ToC; content takes the width.
   ========================================================================== */
@media (max-width:1100px){
    .ip-page{--ip-gutter:40px}
    .ip-h1{font-size:48px}
    .ip-hero__grid{grid-template-columns:1fr;gap:40px}
    .ip-lead{max-width:640px}
    .ip-cols{grid-template-columns:minmax(0,1fr)}
    .ip-rail{display:none}
    .ip-mtoc{display:block}
    .ip-body{padding-top:40px}
    .ip-article-head{max-width:800px;margin:0 auto}
    .ip-article{max-width:800px;margin:40px auto 0}
    .ip-footer__grid{grid-template-columns:repeat(4,1fr);gap:28px 24px}
    .ip-footer__brand{grid-column:1/-1}
    .ip-footer__ind{grid-column:span 2}
}

/* ==========================================================================
   ≤768 — design 11d (mobile 390).
   ========================================================================== */
@media (max-width:768px){
    .ip-page{--ip-gutter:20px;--ip-header:59px}
    body.scale-industry{padding-bottom:82px}

    .ip-hero{padding-top:20px}
    .ip-hero__glow{top:-120px;width:440px;height:250px}
    .ip-crumbs{gap:6px;font-size:11.5px}
    .ip-crumbs .ip-i{width:12px;height:12px}
    .ip-hero__grid{margin-top:24px;gap:24px}
    .ip-eyebrow{padding:5px 12px;background:var(--ip-pink-soft);border-color:transparent;letter-spacing:.04em}
    .ip-h1{margin-top:14px !important;font-size:34px;line-height:1.1;letter-spacing:-.035em}
    .ip-lead{margin-top:14px !important;font-size:15px}
    .ip-hero__ctas{flex-direction:column;gap:9px;margin-top:22px}
    .ip-hero__ctas .ip-btn{width:100%;height:48px;border-radius:13px;font-size:15px}
    .ip-ticks{gap:8px 18px;margin-top:18px !important}

    .ip-app{border-radius:18px;box-shadow:0 14px 34px rgba(14,20,36,.08)}
    .ip-app__bar{padding:10px 13px;gap:8px}
    .ip-app__dot{width:8px;height:8px}
    .ip-app__url{margin-left:8px;height:auto;padding:0;border:0;background:none;font-size:10.5px}
    .ip-app__url .ip-i{display:none}
    .ip-app__body{height:auto}
    .ip-convs{display:none}
    .ip-thread__head{padding:11px 14px}
    .ip-thread__head .ip-av{width:28px;height:28px;font-size:11.5px}
    .ip-aimode{display:none}
    .ip-msgs{padding:14px;gap:8px}
    .ip-msg{max-width:86%;padding:9px 11px;border-radius:13px}
    .ip-msg--in{max-width:82%}
    .ip-msg--done{font-size:11.5px}

    .ip-byline{margin-top:20px;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px;border-radius:14px;font-size:11.5px}
    .ip-byline__sep,.ip-byline__sp{display:none}
    .ip-byline__av{width:26px;height:26px;font-size:10.5px}
    .ip-byline__meta{display:flex;flex-wrap:wrap;gap:6px 16px}
    .ip-byline__i .ip-i{width:12px;height:12px}

    .ip-body{padding-top:32px}
    .ip-mtoc{margin-top:0}
    .ip-article{margin-top:32px}
    .ip-sec + .ip-sec{margin-top:40px}
    .ip-h2{font-size:26px;letter-spacing:-.03em;line-height:1.2}
    .ip-p{margin-top:14px !important;font-size:15.5px}
    .ip-answer{font-size:16px}
    .ip-checks li{font-size:15px}
    .ip-h3{margin-top:26px !important;font-size:19px}
    .ip-steps{gap:12px;margin-top:18px !important}
    .ip-steps__t{font-size:15px;line-height:1.65}
    .ip-tools{gap:8px}
    .ip-tool{font-size:12.5px;padding:7px 12px}

    .ip-problems{grid-template-columns:1fr;gap:12px;margin-top:22px}
    .ip-card{padding:18px 20px;border-radius:16px}
    .ip-card .ip-tone{width:34px;height:34px;border-radius:11px}
    .ip-card .ip-tone .ip-i{width:16px;height:16px}
    .ip-card__t{margin-top:12px !important;font-size:15px}
    .ip-card__p{margin-top:5px !important;font-size:13.5px}

    .ip-steps-tl{margin-top:22px}
    .ip-tl{gap:16px}
    .ip-tl__rail{width:34px}
    .ip-tl__rail .ip-tone{width:34px;height:34px;border-radius:11px}
    .ip-tl__rail::after{margin:8px 0}
    .ip-tl__body{padding-bottom:22px}
    .ip-tl__t{margin-top:5px !important;font-size:17px;letter-spacing:-.015em}
    .ip-tl__p{margin-top:6px !important;font-size:14.5px;line-height:1.7}

    .ip-callout{margin-top:26px;gap:12px;padding:16px 18px;border-radius:15px}
    .ip-callout__ico{width:30px;height:30px;border-radius:10px}
    .ip-callout__p{font-size:13.5px;line-height:1.65}

    .ip-features{gap:10px;margin-top:20px}
    .ip-feat{flex-direction:column;gap:10px;padding:14px;border-radius:14px}
    .ip-feat .ip-tone{width:30px;height:30px;border-radius:10px}
    .ip-feat .ip-tone .ip-i{width:14px;height:14px}
    .ip-feat__t{font-size:13px}
    .ip-feat__p{font-size:12.5px;line-height:1.55}

    .ip-figure{margin-top:20px !important}
    .ip-figure figcaption{font-size:12.5px}

    .ip-how{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
    .ip-how li{padding:16px;border-radius:14px}

    .ip-outcomes{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
    .ip-out{padding:18px;border-radius:16px}
    .ip-out__t{font-size:15px}
    .ip-out__p{font-size:12.5px;line-height:1.55}

    .ip-compare{margin-top:20px;font-size:13px;border-radius:16px}
    .ip-compare th,.ip-compare td{padding:12px 12px}
    .ip-compare thead th{height:40px;font-size:10px;letter-spacing:.04em}
    .ip-compare col.ip-c1{width:32%}

    .ip-band{margin-top:32px;padding:26px 22px;border-radius:18px}
    .ip-band__in{flex-direction:column;align-items:stretch;gap:18px}
    .ip-band__t{font-size:20px}
    .ip-band__ctas{flex-direction:column;gap:9px}
    .ip-band .ip-btn{width:100%}

    .ip-faq{margin-top:20px;border-radius:16px}
    .ip-faq summary{padding:16px 18px;gap:12px;min-height:56px}
    .ip-faq h3{font-size:15px}
    .ip-faq__ico{width:16px;height:16px}
    .ip-faq__a{padding:0 18px 16px}
    .ip-faq__a p{font-size:13.5px}

    .ip-related{grid-template-columns:1fr;gap:9px;margin-top:20px}
    .ip-rel{padding:14px 16px;border-radius:14px}
    .ip-rel .ip-tone{width:32px;height:32px;border-radius:10px}
    .ip-rel__t{font-size:13.5px}
    .ip-rel__s{font-size:11.5px}

    .ip-final{padding-top:36px}
    .ip-final__box{padding:32px 24px;border-radius:20px}
    .ip-final__glow{top:-90px;width:400px;height:220px}
    .ip-final h2{font-size:25px;letter-spacing:-.03em;line-height:1.18}
    .ip-final__p{margin-top:12px !important;font-size:14px}
    .ip-final__ctas{flex-direction:column;gap:9px;margin-top:22px}
    .ip-final__ctas .ip-btn{width:100%;height:48px;border-radius:13px;font-size:15px}
    .ip-final .ip-ticks{gap:8px 16px}

    .ip-footer{padding:32px 0 28px}
    .ip-footer__grid{grid-template-columns:1fr 1fr;gap:22px}
    .ip-footer__brand{grid-column:1/-1}
    .ip-footer__ind{grid-column:1/-1}
    .ip-footer__ind .ip-footer__links{gap:9px 16px}
    .ip-footer__logo{width:118px;height:30px}
    .ip-footer__logo img{height:146px !important;top:-58px;left:-14px}
    .ip-footer__about{max-width:none;font-size:12.5px}
    .ip-footer__ct{font-size:10.5px;letter-spacing:.06em}
    .ip-footer__links{gap:9px;margin-top:11px !important;font-size:12.5px}
    .ip-footer__bottom{gap:12px;margin-top:26px;padding-top:18px;font-size:11.5px}
    .ip-footer__langs a{padding:9px 14px}
    .ip-byline .ip-share{margin:0 -4px}

    .ip-mbar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:65;padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--ip-line);box-shadow:0 -8px 24px rgba(14,20,36,.06)}
    .ip-mbar .ip-btn{flex:1;height:48px;border-radius:13px;font-size:14.5px}
    .ip-mbar .ip-btn--ghost{flex:none;width:48px;padding:0}
    .ip-mbar .ip-btn--ghost .ip-i{width:18px;height:18px}
}

/* ==========================================================================
   ARABIC — the /ar/… pages (.ip-page[dir="rtl"]). The SAME design, mirrored:
   with dir="rtl" the flex rows, grids, timelines, tables and the ToC marker
   flip by themselves. What follows only:
     1. flips what a physical property pins to one side (left/right margins,
        borders, corners, glows, the progress bars' growth);
     2. turns the arrows and chevrons (.ip-i--dir, which icon() sets on
        arrows and chevrons only; phones, calendars and the rest never mirror);
     3. gives the Arabic face what it needs — no tracking or upper-casing (letter-spacing
        breaks the joins between Arabic letters) and room for its taller
        glyphs (IBM Plex Sans Arabic stands about 1.5 em; a 1.05 headline
        would put one line's descenders into the next line's dots).
   Sizes, spacing and order are the English page's. Light only.
   ========================================================================== */

/* Arabic has no letter case: upper-casing would only shout the Latin brand
   inside an Arabic label («مع SCALE»). */
.ip-page[dir="rtl"] *{letter-spacing:0;text-transform:none}
.ip-page[dir="rtl"] .ip-i--dir{transform:scaleX(-1)}

.ip-page[dir="rtl"] .ip-skip{left:auto;right:-9999px}
.ip-page[dir="rtl"] .ip-skip:focus{right:16px}
.ip-page[dir="rtl"] .ip-progress i,
.ip-page[dir="rtl"] .ip-toc__bar i,
.ip-page[dir="rtl"] .ip-mtoc__bar i{transform-origin:100% 50%}

.ip-page[dir="rtl"] .ip-h1{line-height:1.3}
.ip-page[dir="rtl"] .ip-h2{line-height:1.4}
.ip-page[dir="rtl"] .ip-h3,
.ip-page[dir="rtl"] .ip-tl__t,
.ip-page[dir="rtl"] .ip-band__t,
.ip-page[dir="rtl"] .ip-out__t{line-height:1.45}
.ip-page[dir="rtl"] .ip-final h2{line-height:1.4}
.ip-page[dir="rtl"] .ip-card__t,
.ip-page[dir="rtl"] .ip-feat__t,
.ip-page[dir="rtl"] .ip-how__t,
.ip-page[dir="rtl"] .ip-faq h3,
.ip-page[dir="rtl"] .ip-rel__t{line-height:1.5}

/* The product frames: the inbox list moves to the right, the address pill
   keeps its gap on the side of the traffic lights. */
.ip-page[dir="rtl"] .ip-app__url{margin-left:0;margin-right:16px}
.ip-page[dir="rtl"] .ip-figure .ip-app__url{margin-left:0;margin-right:12px}
.ip-page[dir="rtl"] .ip-convs{border-right:0;border-left:1px solid var(--ip-line)}
.ip-page[dir="rtl"] .ip-msg--in{border-top-left-radius:14px;border-top-right-radius:4px}
.ip-page[dir="rtl"] .ip-msg--ai{border-top-right-radius:14px;border-top-left-radius:4px}

.ip-page[dir="rtl"] .ip-mtoc__n{margin-left:0;margin-right:auto}
.ip-page[dir="rtl"] .ip-compare th,
.ip-page[dir="rtl"] .ip-compare td{text-align:right}
.ip-page[dir="rtl"] .ip-band__glow{right:auto;left:-40px}

@media (max-width:768px){
    .ip-page[dir="rtl"] .ip-app__url{margin-left:0;margin-right:8px}
    /* The English bubbles lose their tail corner here (.ip-msg's 13px radius
       comes later); the mirrored ones do the same. */
    .ip-page[dir="rtl"] .ip-msg--in,
    .ip-page[dir="rtl"] .ip-msg--ai{border-radius:13px}
}
