/* The How it works page. Every class is prefixed hw-; shared type and sections come from p.css. */

/* ───────── hero: how Watson works, at a high level ───────── */
.hw-hero{position:relative;overflow:hidden;padding:44px 0 96px;background:#EEEDE7}
.hw-head{text-align:center}
.hw-h1{font-size:92px;max-width:1100px;margin-top:20px}
.hw-l{max-width:700px}
.hw-head .ws-ctas{margin-top:30px}
.hw-ex{position:absolute;right:max(40px,calc(50% - 680px));bottom:18px;margin:0}
.lg{display:block;width:26px;height:26px;background:var(--c);-webkit-mask:var(--u) center/contain no-repeat;mask:var(--u) center/contain no-repeat}

/* A · four steps on one line, and back round again */
.hwa{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:30px;max-width:1240px;margin:150px auto 0;padding:0 40px}
.hwa-ln{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hwa-ln .base{fill:none;stroke:#D2CEC3;stroke-width:1.5;stroke-dasharray:4 6}
.hwa-ln .lit{fill:none;stroke:#FFAD1F;stroke-width:2.5;stroke-linecap:round}
.hwa .st{position:relative;text-align:center}
.hwa .dc{position:relative;height:236px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.06),0 44px 80px -40px rgba(7,26,79,.5);transition:box-shadow .5s,transform .6s cubic-bezier(.22,1,.36,1)}
.hwa .st.on .dc{box-shadow:0 0 0 2px #FFAD1F,0 0 0 10px rgba(255,173,31,.12),0 44px 80px -40px rgba(7,26,79,.5);transform:translateY(-6px)}
.hwa .n{display:inline-grid;place-items:center;width:30px;height:30px;margin-top:30px;border-radius:50%;background:#071A4F;color:#fff;font-size:14px;font-weight:700}
.hwa .hwa-t{margin:14px 0 0;font-size:28px;line-height:1.1;font-weight:600;letter-spacing:-.035em;color:#071A4F}
.hwa p{margin:10px auto 0;max-width:250px;font-size:16.5px;line-height:1.45;color:#4A5370}
.hwa .again{position:absolute;left:50%;top:-84px;transform:translate(-50%,-50%);padding:7px 14px;border-radius:999px;background:#EEEDE7;font-family:"IBM Plex Mono",monospace;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#8A90A3}

/* the fragments: each one a small piece of the real product */
.ob{position:absolute;inset:0;padding:20px;text-align:left}
.ob small{font-size:12px;color:#8A90A3}
.ob .kk{display:block;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase}
/* 1 · the brand */
.o1 .bh{display:flex;align-items:center;gap:11px}
.o1 .mn{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0E6A62;color:#fff;font:600 19px/1 Fraunces,Georgia,serif;font-style:normal}
.o1 .bh b{display:block;font-size:17px;letter-spacing:-.02em;color:#0B1533}
.o1 .sws{display:flex;gap:8px;margin-top:20px}
.o1 .sws i{width:38px;height:38px;border-radius:12px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(7,26,79,.06);transition:transform .5s cubic-bezier(.2,1.5,.4,1)}
.st.on .o1 .sws i{animation:hwpop .6s cubic-bezier(.2,1.5,.4,1) backwards}
.st.on .o1 .sws i:nth-child(2){animation-delay:.08s}.st.on .o1 .sws i:nth-child(3){animation-delay:.16s}.st.on .o1 .sws i:nth-child(4){animation-delay:.24s}
@keyframes hwpop{from{transform:scale(.5);opacity:0}}
.o1 .ty{display:flex;align-items:center;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #EEECE6}
.o1 .ty span{font:500 34px/1 Fraunces,Georgia,serif;color:#0E6A62}
.o1 .ty p{margin:0;max-width:none;font-size:14px;line-height:1.35;color:#4A5370;text-align:left}
/* 2 · what is happening */
.o2 .sg{display:flex;align-items:center;gap:11px;margin-top:12px;padding:11px 12px;border-radius:14px;background:#F6F5F1}
.o2 .sg:first-of-type{margin-top:14px}
.o2 .d{flex:none;width:9px;height:9px;border-radius:50%;background:var(--c);box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 18%,transparent)}
.o2 .sg p{margin:0;max-width:none;font-size:14px;line-height:1.3;color:#1F2A44;text-align:left}
.o2 .sg b{font-weight:600}
.st.on .o2 .sg{animation:hwin .55s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--k) * .14s)}
@keyframes hwin{from{opacity:0;transform:translateX(-14px)}}
/* 3 · the work */
.o3 .po{position:absolute;left:18px;top:18px;width:132px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.07),0 14px 26px -16px rgba(7,26,79,.5);overflow:hidden;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.o3 .pa{display:flex;align-items:flex-end;height:136px;padding:12px;box-sizing:border-box;background:radial-gradient(90% 70% at 85% 10%,#2C8A7F 0%,#0E6A62 55%,#0B4E48 100%);color:#fff;position:relative;overflow:hidden}
.o3 .pa::after{content:"";position:absolute;right:-24%;top:-24%;width:64%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 40%,#F7D58B,#E9B85C 45%,rgba(233,184,92,0) 70%)}
.o3 .pa span{position:relative;z-index:1;font:600 15px/1.02 Fraunces,Georgia,serif}.o3 .pa em{display:block;font-style:italic;font-weight:500;color:#CDEBE3}
.o3 .pc{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:12.5px;color:#1F2A44}.o3 .pc .lg{width:15px;height:15px}
.o3 .mp{position:absolute;right:16px;top:26px;display:flex;align-items:center;gap:9px;padding:9px 13px 9px 10px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.07),0 14px 26px -16px rgba(7,26,79,.5);transition:transform .6s cubic-bezier(.22,1,.36,1) .06s}
.o3 .pin{width:14px;height:18px;background:#EA4335;-webkit-mask:url(https://cdn.jsdelivr.net/npm/simple-icons@13.21.0/icons/googlemaps.svg) center/contain no-repeat;mask:url(https://cdn.jsdelivr.net/npm/simple-icons@13.21.0/icons/googlemaps.svg) center/contain no-repeat}
.o3 .mp b{display:block;font-size:19px;line-height:1;letter-spacing:-.03em;color:#0B1533}.o3 .mp small{display:block;font-size:10.5px}
.o3 .ai{position:absolute;right:14px;bottom:22px;width:auto;align-items:center;display:flex;gap:8px;padding:10px 11px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.07),0 14px 26px -16px rgba(7,26,79,.5);transition:transform .6s cubic-bezier(.22,1,.36,1) .12s}
.o3 .ai .lg{flex:none;width:16px;height:16px;margin-top:1px}
.o3 .ai p{margin:0;max-width:none;font-size:12.5px;line-height:1.35;color:#1F2A44;text-align:left}
.o3 .ai mark{background:#FFE7B0;color:#0B1533;font-weight:600;border-radius:3px;padding:0 2px}
.st.on .o3 .po{transform:translate(-4px,-3px) rotate(-2deg)}.st.on .o3 .mp{transform:translate(4px,-4px)}.st.on .o3 .ai{transform:translate(5px,4px)}
/* 4 · what worked */
.o4 .ch{display:flex;align-items:baseline;gap:10px}
.o4 .ch small{flex:1}.o4 .ch b{font-size:34px;line-height:1;letter-spacing:-.05em;color:#0B1533}
.o4 .ch .up{padding:4px 8px;border-radius:999px;background:#E3F4EA;color:#1F8A52;font-size:12px;font-weight:700}
.o4 svg{display:block;width:100%;height:110px;margin-top:18px;overflow:visible}
.o4 .ga{fill:url(#hwg);fill:rgba(47,163,107,.10)}
.o4 .gl{fill:none;stroke:#2FA36B;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0;vector-effect:non-scaling-stroke}
.o4 circle{fill:#2FA36B;stroke:#fff;stroke-width:2}
.st.on .o4 .gl{animation:hwdraw 1.2s cubic-bezier(.45,0,.25,1)}
@keyframes hwdraw{from{stroke-dashoffset:1}}
.o4 .ax{display:flex;justify-content:space-between;margin-top:8px;font-size:11.5px;color:#8A90A3}

/* B · Watson in the middle: what it learns from, and where the work shows up */
.hwb{position:relative;display:grid;grid-template-columns:300px 1fr 360px;align-items:center;max-width:1180px;margin:84px auto 0;padding:0 40px}
.hwb-ln{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hwb-ln .base{fill:none;stroke:#D2CEC3;stroke-width:1.3}
.hwb-ln .dot{fill:#FFAD1F;filter:drop-shadow(0 0 5px rgba(255,173,31,.8))}
.hwb .cl{position:relative;display:flex;flex-direction:column;gap:10px}
.hwb .gh{margin:14px 0 2px;font-family:"IBM Plex Mono",monospace;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#8A90A3}
.hwb .gh:first-child{margin-top:0}
.hwb .ch{display:flex;align-items:center;gap:12px;align-self:flex-start;padding:10px 18px 10px 12px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.06),0 12px 26px -18px rgba(7,26,79,.5);font-size:16px;font-weight:600;letter-spacing:-.01em;color:#0B1533;transition:box-shadow .4s}
.hwb .ch .lg{width:20px;height:20px}
.hwb .ch .ic{display:grid;place-items:center;width:20px;height:20px;color:#071A4F}.hwb .ch .ic svg{width:19px;height:19px}
.hwb .ch.on{box-shadow:0 0 0 2px #FFAD1F,0 12px 26px -18px rgba(7,26,79,.5)}
.hwb .core{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px}
.hwb .ds{position:relative;display:grid;place-items:center;width:170px;height:170px;border-radius:50%;background:radial-gradient(70% 70% at 30% 25%,#1C3477,#071A4F 70%);box-shadow:0 0 0 10px rgba(7,26,79,.06),0 50px 90px -40px rgba(7,26,79,.8);transition:box-shadow .5s}
.hwb .ds.on{box-shadow:0 0 0 10px rgba(255,173,31,.18),0 50px 90px -40px rgba(7,26,79,.8)}
.hwb .ds img{width:96px}.hwb .ds sup{position:absolute;right:30px;top:66px;color:#fff;font-size:9px}
.hwb .ap{padding:9px 16px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.08);font-size:14.5px;font-weight:600;color:#071A4F;white-space:nowrap}
.hwb .ot{display:flex;align-items:center;gap:16px;padding:14px 20px 14px 14px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.06),0 16px 34px -24px rgba(7,26,79,.5);transition:box-shadow .4s,transform .4s}
.hwb .ot>.lg{flex:none;width:48px;height:48px;border-radius:14px;background-color:var(--c);-webkit-mask:none;mask:none;position:relative}
.hwb .ot>.lg::after{content:"";position:absolute;inset:12px;background:#fff;-webkit-mask:var(--u) center/contain no-repeat;mask:var(--u) center/contain no-repeat}
.hwb .ot b{display:block;font-size:18px;font-weight:600;letter-spacing:-.02em;color:#0B1533}
.hwb .ot span{display:block;margin-top:2px;font-size:14.5px;color:#6B7287}
.hwb .ot.on{box-shadow:0 0 0 2px #FFAD1F,0 16px 34px -24px rgba(7,26,79,.5);transform:translateX(-4px)}

@media (max-width:1240px){.hw-h1{font-size:78px}.hwa .hwa-t{font-size:24px}.hwb{grid-template-columns:270px 1fr 330px}}
@media (max-width:900px){
  .hw-hero{padding:32px 0 70px}
  .hw-h1{font-size:46px}
  .hwa{grid-template-columns:1fr;gap:48px;max-width:420px;margin-top:56px;padding:0 20px 70px}
  .hwa .again{top:auto;bottom:0;transform:translate(-50%,0)}
  .hwa .dc{max-width:300px;margin:0 auto}.hwa .hwa-t{font-size:24px}
  .hwb{grid-template-columns:1fr;gap:40px;max-width:420px;margin-top:56px;padding:0 20px}
  .hwb .cl.in{flex-direction:row;flex-wrap:wrap}.hwb .gh{width:100%}
  .hwb .ds{width:130px;height:130px}.hwb .ds img{width:74px}.hwb .ds sup{right:22px;top:50px}
  .hw-ex{position:static;display:block;text-align:center;margin-top:30px}
  .hwa-ln,.hwb-ln{display:none}
}

/* ───────── getting set up ───────── */
.hw-set{max-width:640px;margin:64px auto 0;padding:26px 30px 14px;border-radius:28px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.07),0 60px 110px -60px rgba(7,26,79,.5)}
.hw-set .hd{display:flex;align-items:baseline;justify-content:space-between}
.hw-set .hd b{font-size:22px;letter-spacing:-.03em;color:#071A4F}
.hw-set .pg{font-size:15px;color:#6B7287}.hw-set .pg em{font-style:normal;font-weight:700;color:#071A4F;font-variant-numeric:tabular-nums}
.hw-set .bar{height:6px;margin:16px 0 8px;border-radius:999px;background:#EEF0F4;overflow:hidden}
.hw-set .bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#2FA36B,#3CBB7C);transition:width .5s cubic-bezier(.22,1,.36,1)}
.hw-set .rw{display:grid;grid-template-columns:40px 1fr auto;align-items:center;height:66px;border-top:1px solid #EEECE6}
.hw-set .rw:first-of-type{border-top:0}
.hw-set .rw .lg{width:24px;height:24px}
.hw-set .ic{display:grid;place-items:center;width:26px;height:26px;color:#071A4F}.hw-set .ic svg{width:24px;height:24px}
.hw-set .ic.po{width:26px;height:26px;border-radius:7px;background:radial-gradient(90% 70% at 85% 10%,#2C8A7F 0%,#0E6A62 55%,#0B4E48 100%)}
.hw-set .rw b{font-size:18px;font-weight:600;letter-spacing:-.02em;color:#0B1533}
.hw-set .stt,.hw-set .wt{grid-area:1/3;justify-self:end;display:flex;align-items:center;gap:8px;padding:7px 13px 7px 9px;border-radius:999px;font-size:14px;font-weight:700;transition:opacity .4s,transform .5s cubic-bezier(.2,1.4,.4,1)}
.hw-set .wt{padding:7px 13px;background:#F2F3F7;color:#A0A6B8}
.hw-set .stt{background:#E3F4EA;color:#1F7A4A;opacity:0;transform:scale(.8)}
.hw-set .stt i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#2FA36B;color:#fff}.hw-set .stt i svg{width:10px;height:10px}
.hw-set .am .stt{background:#FFF1D6;color:#8A5A00}.hw-set .am .stt i{background:#FFAD1F}
.hw-set .rw.on .stt{opacity:1;transform:none}.hw-set .rw.on .wt{opacity:0}

/* ───────── a month of posts, planned ───────── */
.hw-mix{display:grid;grid-template-columns:360px minmax(0,1fr);gap:70px;align-items:center;max-width:900px;margin:72px auto 0}
.hw-mix .dn{position:relative;width:360px;height:360px}
.hw-mix svg{width:100%;height:100%;transform:rotate(-90deg)}
.hw-mix svg circle{fill:none;stroke-width:26;transition:stroke-dashoffset 1s cubic-bezier(.45,0,.25,1)}
.hw-mix .ct{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hw-mix .ct b{font-size:84px;line-height:1;font-weight:600;letter-spacing:-.06em;color:#071A4F}
.hw-mix .ct span{margin-top:6px;font-size:16px;color:#6B7287}
.hw-mix .li{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:12px;height:62px;border-top:1px solid #DEDBD2;opacity:0;transform:translateX(10px);transition:opacity .5s,transform .6s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--k) * 90ms + 200ms)}
.hw-mix .li:last-child{border-bottom:1px solid #DEDBD2}
.hw-mix .li i{width:14px;height:14px;border-radius:4px;background:var(--c)}
.hw-mix .li span{font-size:19px;font-weight:500;letter-spacing:-.02em;color:#0B1533}
.hw-mix .li b{font-size:22px;font-weight:600;letter-spacing:-.03em;color:#071A4F;font-variant-numeric:tabular-nums}
.hw-mix.in .li{opacity:1;transform:none}

/* ───────── what you see: the dashboard ───────── */
.hw-dash{max-width:1100px;margin:64px auto 0;border-radius:22px;background:#F4F5F8;box-shadow:0 0 0 1px rgba(7,26,79,.08),0 70px 120px -60px rgba(7,26,79,.55);overflow:hidden}
.hw-dash .tb{position:relative;display:flex;gap:7px;align-items:center;height:44px;padding:0 18px;background:#EAECF1;border-bottom:1px solid #DDE0E8}
.hw-dash .tb span{width:11px;height:11px;border-radius:50%;background:#CDD1DB}
.hw-dash .tb em{position:absolute;left:50%;transform:translateX(-50%);padding:5px 16px;border-radius:999px;background:#fff;font-style:normal;font-size:13px;color:#6B7287}
.hw-dash .bd{display:grid;grid-template-columns:220px 1fr;min-height:520px}
.hw-dash nav{display:flex;flex-direction:column;gap:2px;padding:22px 14px;background:#071A4F}
.hw-dash .br{display:flex;align-items:flex-start;padding:0 10px 18px}.hw-dash .br img{width:96px}.hw-dash .br sup{color:#fff;font-size:8px;margin-left:2px}
.hw-dash nav small{padding:0 10px 8px;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#7F8DBA}
.hw-dash nav span{padding:9px 10px;border-radius:9px;font-size:14.5px;color:#C5CDE6}
.hw-dash nav span.on{background:rgba(255,255,255,.12);color:#fff;font-weight:600}
.hw-dash main{padding:30px 34px}
.hw-dash .tt b{display:block;font-size:28px;letter-spacing:-.035em;color:#071A4F}.hw-dash .tt span{display:block;margin-top:4px;font-size:15px;color:#6B7287}
.hw-dash .sts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}
.hw-dash .sc{padding:18px 18px 16px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.06)}
.hw-dash .sc b{display:block;font-size:40px;line-height:1;font-weight:600;letter-spacing:-.05em;color:#071A4F}
.hw-dash .sc span{display:block;margin-top:8px;font-size:15px;font-weight:600;color:#0B1533}
.hw-dash .sc small{display:block;margin-top:3px;font-size:13px;color:#2F8A5C}
.hw-dash .acts{margin-top:22px;padding:6px 18px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(7,26,79,.06)}
.hw-dash .acts>small{display:block;padding:12px 0 4px;font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#8A90A3}
.hw-dash .ar{display:grid;grid-template-columns:30px 1fr auto;align-items:center;height:54px;border-top:1px solid #EEF0F4}
.hw-dash .ar:nth-of-type(1){border-top:0}
.hw-dash .ar .lg{width:20px;height:20px}
.hw-dash .ar p{margin:0;font-size:15.5px;color:#0B1533}.hw-dash .ar small{font-size:13px;color:#8A90A3}

@media (max-width:900px){
  .hw-set{margin-top:40px;padding:20px 18px 8px;border-radius:22px}.hw-set .rw{grid-template-columns:34px 1fr auto;height:58px}.hw-set .rw b{font-size:15.5px}.hw-set .stt,.hw-set .wt{font-size:12.5px;padding:6px 10px 6px 7px}
  .hw-mix{grid-template-columns:1fr;gap:30px;margin-top:40px}.hw-mix .dn{width:280px;height:280px;margin:0 auto}.hw-mix .ct b{font-size:64px}.hw-mix .li{height:54px}.hw-mix .li span{font-size:16px}
  .hw-dash{margin-top:40px;border-radius:18px}.hw-dash .bd{grid-template-columns:1fr;min-height:0}.hw-dash nav{display:none}.hw-dash main{padding:20px 16px}
  .hw-dash .sts{grid-template-columns:1fr 1fr;gap:10px}.hw-dash .sc b{font-size:30px}.hw-dash .sc span{font-size:13.5px}.hw-dash .ar p{font-size:13.5px}.hw-dash .ar{grid-template-columns:28px 1fr}.hw-dash .ar small{display:none}
}

/* ───────── closing: the loop, going round ───────── */
.hw-close{min-height:600px;display:flex;align-items:center}
.hw-close .ws-wrap{position:relative;z-index:2;width:100%}
.hw-ring{position:absolute;right:max(40px,calc(50% - 640px));top:50%;width:440px;height:440px;transform:translateY(-50%)}
.hw-ring svg{width:100%;height:100%;overflow:visible}
.hw-ring .tr{fill:none;stroke:rgba(142,155,198,.35);stroke-width:1.5;stroke-dasharray:4 7}
.hw-ring .orb{transform-origin:220px 220px;animation:hworb 12s linear infinite}
.hw-ring .orb circle{fill:#FFAD1F;filter:drop-shadow(0 0 8px rgba(255,173,31,.9))}
@keyframes hworb{from{transform:rotate(-90deg)}to{transform:rotate(270deg)}}
.hw-ring .nd circle{fill:#fff}
.hw-ring .nd .h{fill:rgba(255,173,31,0);animation:hwnd 12s linear infinite;animation-delay:calc(var(--k) * 3s)}
@keyframes hwnd{0%,2%{fill:rgba(255,173,31,.35)}14%,100%{fill:rgba(255,173,31,0)}}
.hw-ring .lb{position:absolute;font-size:15px;font-weight:600;color:#C5CDE6;white-space:nowrap}
.hw-ring .l0{left:50%;top:14.5%;transform:translate(-50%,0)}
.hw-ring .l1{right:8%;top:50%;transform:translateY(calc(-100% - 18px));text-align:right}
.hw-ring .l2{left:50%;bottom:14.5%;transform:translate(-50%,0)}
.hw-ring .l3{left:8%;top:50%;transform:translateY(calc(-100% - 18px))}
@media (max-width:1240px){.hw-ring{width:360px;height:360px;right:80px}}
@media (max-width:1100px){.hw-ring{display:none}}
@media (prefers-reduced-motion:reduce){.hw-ring .orb,.hw-ring .nd .h{animation:none}}
