/* Home page, version 2. Structure after konrad.com: dark-first, centred hero with the product rising from
   the bottom, centred statement, accordion, full-width photo, light case cards, bordered grid, centred close.
   Tokens, header, buttons, product screens and footer come from styles.css. */

.v2 .btn{border-radius:999px;font-weight:500}
.v2 .btn-sm{padding:0 18px}
.v2-header{display:grid;grid-template-columns:1fr auto 1fr}
.v2-header .nav{margin:0}
.v2-header .header-actions{justify-content:flex-end}
/* below the width where the menu shows, FAQ sits beside the switch so it is always reachable */
.v2-faq{display:none;align-items:center;height:40px;padding:0 8px;border-radius:8px;font-size:15px;color:var(--ink-2);transition:color .18s,background-color .18s}
.v2-faq:hover{color:var(--ink);background:var(--wash)}

/* shared pieces */
.v2-label{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-2);margin-bottom:clamp(20px,3vw,36px)}
.v2-label i{width:5px;height:5px;background:var(--ink-2);flex:none}
.v2-h2{font-family:var(--display);font-weight:400;font-size:clamp(2rem,3.6vw,3rem);line-height:1.06;letter-spacing:-.03em;text-wrap:balance}
.v2-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px clamp(32px,8vw,160px);align-items:end;margin-bottom:clamp(28px,4vw,48px)}
.v2-split p{color:var(--ink-3);max-width:34ch;text-wrap:pretty}
.v2-split p b{color:var(--ink);font-weight:500}
.v2-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.v2-ghost:hover{background:var(--wash)}
.v2-center{text-align:center;margin-inline:auto;max-width:18em}

/* hero */
.v2-hero{padding-top:clamp(56px,9vw,128px);text-align:center;overflow:hidden}
.v2-chip{display:inline-block;font-size:14px;line-height:1.3;color:var(--ink-2);background:var(--wash);border-radius:6px;padding:6px 12px;margin-bottom:clamp(16px,2vw,24px)}
.v2-title{font-family:var(--display);font-weight:400;font-size:clamp(2.5rem,6.2vw,5.5rem);line-height:1.02;letter-spacing:-.035em}
.v2-title .line{display:block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em}
.v2-title .line>span{display:block}
.v2-title em{font-style:normal;color:var(--tenant-text)}
:root[data-theme="dark"] .v2-title em{color:var(--tenant-text-dark)}
.v2-sub{margin-top:clamp(40px,7vw,96px);color:var(--ink-3);font-size:clamp(1rem,1.3vw,1.125rem);text-wrap:pretty}
.v2-sub b{color:var(--ink);font-weight:500}
.v2-peek{margin-top:clamp(20px,2.4vw,32px);max-height:clamp(260px,34vw,470px);overflow:hidden;border-radius:clamp(14px,1.6vw,22px) clamp(14px,1.6vw,22px) 0 0;background:var(--wash);padding:clamp(10px,2vw,28px) clamp(10px,2vw,28px) 0;text-align:left}

/* who we are */
.v2-who{padding-top:clamp(88px,12vw,176px);text-align:center;overflow:hidden}
.v2-who .v2-label{justify-content:center}
.v2-statement{font-family:var(--display);font-weight:400;font-size:clamp(1.6rem,3.3vw,2.9rem);line-height:1.12;letter-spacing:-.03em;max-width:23em;margin:0 auto clamp(24px,3vw,40px);text-wrap:balance}
.v2-statement span{color:var(--ink-3)}
.v2-ribbon{display:flex;justify-content:center;align-items:flex-start;gap:clamp(14px,2vw,28px);margin-top:clamp(56px,8vw,112px);padding:24px 0 clamp(56px,8vw,112px);text-align:left}
.v2-ribbon .surface{flex:none;width:clamp(250px,25vw,340px)}
.v2-ribbon .surface:nth-child(1){transform:rotate(-7deg) translateY(54px)}
.v2-ribbon .surface:nth-child(2){transform:rotate(-2.5deg) translateY(8px)}
.v2-ribbon .surface:nth-child(3){transform:rotate(2.5deg) translateY(8px)}
.v2-ribbon .surface:nth-child(4){transform:rotate(7deg) translateY(54px)}
.v2-ribbon .surface figcaption{color:var(--ink-3);text-align:center}
.v2-ribbon .surface-body{box-shadow:0 30px 50px -30px rgb(0 0 0 / .5)}
.v2-ribbon .inv{margin:0;border:0;box-shadow:none;padding:0;font-size:13px;--line:rgb(13 18 17 / .1)}

/* what we build */
.v2-build{padding-block:clamp(40px,6vw,88px) clamp(72px,9vw,128px)}
.v2-caps details{border-top:1px solid var(--line)}
.v2-caps details:last-child{border-bottom:1px solid var(--line)}
.v2-caps summary{display:flex;align-items:center;gap:18px;padding:clamp(18px,2.2vw,28px) 0;cursor:pointer;list-style:none;font-family:var(--display);font-weight:400;font-size:clamp(1.3rem,2vw,1.75rem);letter-spacing:-.02em}
.v2-caps summary::-webkit-details-marker{display:none}
.v2-cap-ico{font-size:22px;color:var(--ink-3)}
.v2-plus{margin-left:auto;font-size:22px;transition:transform .4s var(--ease)}
.v2-caps details[open] .v2-plus{transform:rotate(45deg)}
.v2-caps details::details-content{block-size:0;overflow:hidden;transition:block-size .45s var(--ease),content-visibility .45s allow-discrete}
.v2-caps details[open]::details-content{block-size:auto}
.v2-cap-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px clamp(32px,8vw,160px);padding:0 0 clamp(24px,3vw,36px) 40px}
.v2-cap-body p{color:var(--ink-2);max-width:52ch;text-wrap:pretty}
.v2-cap-body li{position:relative;padding:3px 0 3px 18px;color:var(--ink-2);font-size:15.5px}
.v2-cap-body li::before{content:"";position:absolute;left:0;top:.8em;width:6px;height:1.5px;background:var(--ink-3)}

/* photo */
.v2-photo{position:relative;height:clamp(300px,58vw,820px);overflow:hidden}
.v2-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.v2-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(transparent,rgb(0 0 0 / .55))}
.v2-photo-bar{position:absolute;z-index:1;left:0;right:0;bottom:clamp(16px,2.4vw,32px);display:flex;justify-content:center;gap:clamp(20px,4vw,56px);font-size:14px;color:#fff}

/* case cards: light in both themes, like the product they show */
.v2-cases{padding-block:clamp(56px,8vw,112px)}
.v2-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(24px,4vw,64px);align-items:center;background:#e9ebe8;color:#0d1211;border-radius:clamp(16px,1.8vw,24px);padding:clamp(20px,3.6vw,56px);margin-bottom:16px;
  --ink:#0d1211;--ink-2:#434b48;--ink-3:#69716d;--paper:#ffffff;--wash:#f3f4f2;--wash-2:#e8eae7;--line:rgb(13 18 17 / .12);--line-2:rgb(13 18 17 / .2);--ink-hover:#262d2b;
  --ok:#17663a;--ok-bg:#e2f3e7;--warn:#8a5300;--warn-bg:#fdf0d5;--bad:#a32015;--bad-bg:#fde4e1;color-scheme:light}
.v2-case h3{font-family:var(--display);font-weight:400;font-size:clamp(2rem,4vw,3.4rem);line-height:1;letter-spacing:-.035em}
.v2-case-copy>p{margin-top:clamp(14px,2vw,24px);font-size:clamp(1.0625rem,1.5vw,1.25rem);line-height:1.4;max-width:30ch;text-wrap:pretty}
.v2-case mark{background:none;color:var(--tenant-text)}
.v2-case dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:clamp(20px,2.6vw,32px) 0;padding-block:16px;border-block:1px solid var(--line)}
.v2-case dt{font-weight:500}
.v2-case dd{font-size:14px;line-height:1.35;color:var(--ink-3);margin-top:2px}
.v2-screen{min-width:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 30px 60px -36px rgb(13 18 17 / .45)}
.v2-cases-note{margin-top:20px;font-size:14.5px;color:var(--ink-3)}
.js .v2-screen .arrive{opacity:1;transform:none}

/* modules grid */
.v2-modules{padding-block:clamp(56px,8vw,112px)}
.v2-grid{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.v2-grid li{display:grid;place-items:center;min-height:clamp(88px,10vw,150px);padding:12px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink-2);font-family:var(--display);font-size:clamp(.95rem,1.25vw,1.15rem);letter-spacing:-.01em;transition:background-color .25s,color .25s}
.v2-grid li:hover{background:var(--wash);color:var(--ink)}

/* how */
.v2-how{padding-block:clamp(56px,8vw,128px)}
.v2-center-text{text-align:center;max-width:52ch;margin:20px auto 0;color:var(--ink-2);text-wrap:pretty}
.v2-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,3vw,40px);margin-top:clamp(40px,6vw,80px)}
.v2-steps li{padding-top:18px;border-top:1px solid var(--line-2)}
.v2-steps span{display:block;font-size:14px;color:var(--ink);font-variant-numeric:tabular-nums;margin-bottom:12px}
.v2-steps p{color:var(--ink-2);font-size:16px;max-width:30ch;text-wrap:pretty}

/* close */
.v2-close{text-align:center;padding-bottom:clamp(72px,10vw,144px)}
.v2-close-photo{height:clamp(200px,30vw,440px);overflow:hidden;margin-bottom:clamp(56px,8vw,120px)}
.v2-close-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.v2-close-title{font-size:clamp(2.25rem,5vw,4.25rem)}
.v2-close .v2-sub{margin:16px 0 clamp(24px,3vw,36px)}
.v2-light{background:var(--ink);color:var(--paper)}
.v2 .footer{border-top:1px solid var(--line)}

/* motion */
@media (prefers-reduced-motion:no-preference){
  .js .v2-title .line>span{animation:rise 1s var(--ease) both}
  .js .v2-title .line:nth-child(2)>span{animation-delay:.08s}
  .js .v2-chip,.js .v2-hero .v2-sub{animation:fade .9s .3s both}
  .js .v2-peek{animation:stage 1.2s .35s var(--ease) both}
  .js [data-v2-reveal]{opacity:0;transform:translateY(32px);transition:opacity .8s,transform 1.1s var(--ease)}
  .js [data-v2-reveal].is-in{opacity:1;transform:none}
  .js .v2-ribbon .surface{transition:transform 1.2s var(--ease),opacity .8s}
  .js .v2-ribbon:not(.is-in) .surface{opacity:0;transform:translateY(90px)}
  .js .v2-ribbon .surface:nth-child(2){transition-delay:.07s}
  .js .v2-ribbon .surface:nth-child(3){transition-delay:.14s}
  .js .v2-ribbon .surface:nth-child(4){transition-delay:.21s}
}

/* cards stack as you scroll, on screens tall and wide enough */
@media (min-width:1000px) and (min-height:820px){
  .v2-case{position:sticky;top:calc(var(--header) + 16px)}
  .v2-case:nth-of-type(2){top:calc(var(--header) + 28px)}
  .v2-case:nth-of-type(3){top:calc(var(--header) + 40px)}
}

@media (max-width:1120px){
  .v2-header{display:flex;justify-content:space-between}
  .v2-faq{display:inline-flex}
  .v2-ribbon{justify-content:flex-start;overflow-x:auto;padding-inline:var(--gutter);scrollbar-width:none}
  .v2-ribbon::-webkit-scrollbar{display:none}
  .v2-ribbon .surface:nth-child(n){transform:none}
}
@media (max-width:900px){
  .v2-split,.v2-cap-body,.v2-case{grid-template-columns:minmax(0,1fr)}
  .v2-cap-body{padding-left:0}
  .v2-grid{grid-template-columns:repeat(3,1fr)}
  .v2-steps{grid-template-columns:1fr 1fr}
  .v2-title .line>span{white-space:normal}
}
@media (max-width:560px){
  .v2 .btn-sm{padding:0 12px}
  .v2-faq{padding:0 6px}
  .v2-grid{grid-template-columns:repeat(2,1fr)}
  .v2-steps{grid-template-columns:1fr}
  .v2-case dl{grid-template-columns:1fr}
  .v2-case .btn,.v2-close .btn{width:100%}
  .v2-photo-bar{gap:16px;font-size:13px}
}

/* Version 3 only: pill buttons inside the product examples, and no tilted cards under "Who we are" */
.v3 .pw-btn,.v3 .s-btn,.v3 .ph-ghost,.v3 .chip{border-radius:999px}
.v3 .pw-btn,.v3 .s-btn{padding-inline:1.2em}
.v3 .v2-who{padding-bottom:clamp(72px,10vw,144px)}
/* Version 3 only: the product tabs move on after 4 seconds instead of 8 */
.v3 .desk-tabs.is-auto [aria-selected="true"] .tab-progress{animation-duration:4s}
/* Version 3 only: colour picker in the brand section */
.v3-pick{display:inline-flex;align-items:center;gap:10px;height:42px;margin-top:24px;padding:0 16px 0 9px;border-radius:999px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tenant-on) 40%,transparent);color:var(--tenant-on);font-size:15px;font-weight:500;cursor:pointer;transition:background-color .18s}
.v3-pick:hover{background:color-mix(in srgb,var(--tenant-on) 12%,transparent)}
.v3-pick:focus-within{outline:2px solid var(--tenant-on);outline-offset:3px}
.v3-pick input{appearance:none;-webkit-appearance:none;width:24px;height:24px;padding:0;border:0;background:none;border-radius:50%;cursor:pointer}
.v3-pick input::-webkit-color-swatch-wrapper{padding:0}
.v3-pick input::-webkit-color-swatch{border:2px solid var(--tenant-on);border-radius:50%}
.v3-pick input::-moz-color-swatch{border:2px solid var(--tenant-on);border-radius:50%}
.v3 .brandfield{transition:background-color .3s}
/* Version 3 only: the brand section glides between sample agencies */
.v3 .brandfield{transition:--tenant 1.1s var(--ease),--tenant-text 1.1s var(--ease),--tenant-on 1.1s var(--ease)}
.v3 .brandfield .v3-pick{margin-top:12px}
/* Version 3 only: the product tabs and worker app glide with the brand section's colour */
.v3 .desk,.v3 .worker{transition:--tenant 1.1s var(--ease),--tenant-text 1.1s var(--ease),--tenant-on 1.1s var(--ease)}
/* Version 3 only: agency lockup on each product tab, and a header that takes the brand colour after the brand section */
.v3-co{display:inline-flex;align-items:center;gap:.5em;font-weight:600;white-space:nowrap;color:var(--ink)}
.v3-co .t-logo{width:1.9em;height:1.9em;font-size:.72em}
.v3-co.is-mid{margin-left:auto;font-weight:500}
.v3-co.is-mid+.pv-goal{margin-left:0}
.v3-co.is-foot{display:flex;margin-top:1.6em;padding-top:1em;border-top:1px solid var(--line);font-weight:500}
.v3-from{margin-top:0}
.v3 .pv-bar>.v3-co:first-child{padding-right:1.4em;border-right:1px solid var(--line);align-self:stretch}
@container (max-width:600px){.v3 .pv-bar>.v3-co:first-child{padding-right:1em}.v3-co.is-mid{display:none}}
.v3-from{white-space:nowrap;gap:.6em}
/* Version 3 only: the worker app scrolls inside the phone */
.v3 .ph-scroll{height:clamp(230px,24vw,310px);overflow:hidden;margin-top:4px}
.v3 .ph-inner{will-change:transform}
.v3 .ph-inner .ph-sub,.v3 .ph-inner .ph-list{display:block}
.v3 .ph-inner .ph-list li{display:grid}
@media (max-width:900px){.v3 .ph-scroll{height:200px}}
.v3 .hero .actions .link{font-size:1.0625rem}.v3 .hero .actions .link:hover .i{transform:translateY(3px)}
/* Version 3 only: the header keeps its own colours; the hero follows the brand colour once the visitor has passed the brand section */
.v3 .hero.v3-follow{transition:--tenant 1.1s var(--ease),--tenant-text 1.1s var(--ease),--tenant-text-dark 1.1s var(--ease),--tenant-on 1.1s var(--ease)}
/* Version 3 only: over the coloured brand section the header is black with white text, and fades back afterwards */
.v3 .site-header{transition:background-color .55s var(--ease),border-color .55s var(--ease),color .55s var(--ease)}
.v3 .site-header .nav-list>li>a,.v3 .site-header .theme-toggle,.v3 .site-header .btn{transition:color .55s var(--ease),background-color .55s var(--ease),transform .18s var(--ease)}
.v3 .site-header.is-over-brand{background:#0d1211;border-bottom-color:transparent;color:#fff}
.v3 .site-header.is-over-brand .nav-list>li>a,.v3 .site-header.is-over-brand .theme-toggle{color:rgb(255 255 255 / .74)}
.v3 .site-header.is-over-brand .nav-list>li>a:hover,.v3 .site-header.is-over-brand .theme-toggle:hover{color:#fff;background:rgb(255 255 255 / .12)}
.v3 .site-header.is-over-brand .btn{background:#fff;color:#0d1211}
.v3 .site-header.is-over-brand .btn:hover{background:#e8eae7}
.v3 .site-header.is-over-brand :focus-visible{outline-color:#fff}
/* Version 3 only: photo banner under "Who we are" */
.v3-banner{margin-top:clamp(40px,6vw,80px);border-radius:clamp(14px,1.6vw,22px);overflow:hidden;aspect-ratio:21 / 9;background:var(--wash-2)}
.v3-banner img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
@media (max-width:720px){.v3-banner{aspect-ratio:4 / 3}}
/* Version 3 only: three country panels under "Who we are". Hover mechanics after atspro.co.uk's capabilities row:
   the panel grows (flex-grow 1 to 2.6, 500ms ease-out), the photo goes from grey and dim to full colour and scales
   to 1.05 (700ms), the plus turns 45deg (300ms), the description fades in (500ms after 100ms). Each country adds its own hue. */
.v3-places{display:flex;height:30rem;margin-top:clamp(40px,6vw,80px);border-radius:clamp(14px,1.6vw,22px);overflow:hidden;text-align:left}
.v3-place{position:relative;display:flex;flex:1 1 0;min-width:0;flex-direction:column;justify-content:flex-end;overflow:hidden;background:#0d1211;color:#fff;border-right:1px solid rgb(255 255 255 / .1);transition:flex-grow .5s cubic-bezier(0,0,.2,1)}
.v3-place:last-child{border-right:0}
.v3-place:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:0}
.v3-place img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;opacity:.45;filter:grayscale(1);transition:all .7s cubic-bezier(.4,0,.2,1)}
.v3-shade,.v3-hue{position:absolute;inset:0;transition:opacity .5s cubic-bezier(.4,0,.2,1)}
.v3-shade{background:linear-gradient(to top,#0d1211,rgb(13 18 17 / .6),rgb(13 18 17 / .2))}
.v3-hue{opacity:0}
.is-fr .v3-hue{background:linear-gradient(to top,rgb(13 18 17 / .92),rgb(255 255 255 / .28) 58%,rgb(255 255 255 / .16))}
.is-ch .v3-hue{background:linear-gradient(to top,rgb(13 18 17 / .92),rgb(218 41 28 / .46) 58%,rgb(218 41 28 / .26))}
.is-uk .v3-hue{background:linear-gradient(to top,rgb(13 18 17 / .92),rgb(24 70 190 / .42) 58%,rgb(24 70 190 / .22))}
.v3-plus{position:absolute;left:24px;top:24px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgb(255 255 255 / .1);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .2);color:#fff;font-size:20px;transition:color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1)}
.v3-plus .i{stroke-width:2;transition:transform .3s cubic-bezier(.4,0,.2,1)}
.v3-place-copy{position:relative;padding:24px}
.v3-place-copy h3{font-family:var(--display);font-weight:600;font-size:1.5rem;line-height:1.33;letter-spacing:-.01em;white-space:nowrap}
.v3-place-copy p{margin-top:12px;max-width:20rem;font-size:1rem;line-height:1.625;color:rgb(255 255 255 / .85);transition:opacity .5s cubic-bezier(.4,0,.2,1) .1s}
@media (min-width:640px){
  .v3-place-copy p{opacity:0;width:20rem;min-height:calc(1.625em * 3)}
  .v3-place:hover,.v3-place:focus-visible{flex-grow:2.6}
  .v3-place:hover img,.v3-place:focus-visible img{transform:scale(1.05);opacity:1;filter:grayscale(0)}
  .v3-place:hover .v3-shade,.v3-place:focus-visible .v3-shade{opacity:0}
  .v3-place:hover .v3-hue,.v3-place:focus-visible .v3-hue{opacity:1}
  .v3-place:hover .v3-plus,.v3-place:focus-visible .v3-plus{background:#fff;color:#0d1211}
  .v3-place:hover .v3-plus .i,.v3-place:focus-visible .v3-plus .i{transform:rotate(45deg)}
  .v3-place:hover .v3-place-copy p,.v3-place:focus-visible .v3-place-copy p{opacity:1}
}
@media (max-width:639px){
  .v3-places{flex-direction:column;height:auto}
  .v3-place{flex:none;min-height:13rem;border-right:0;border-bottom:1px solid rgb(255 255 255 / .1)}
  .v3-place:last-child{border-bottom:0}
  .v3-place img{opacity:.6;filter:none}
  .v3-hue{opacity:.55}
}
/* Version 3 country panels, adjusted: a shorter row, the country name resting at the bottom edge,
   and the description opening underneath it on hover (the name rises to make room). */
.v3-place-copy p{display:grid;grid-template-rows:1fr;margin-top:0}
.v3-place-copy p>span{overflow:hidden;min-height:0}
.v3-place-copy p>span::before{content:"";display:block;height:12px}
@media (min-width:640px){
  .v3-places{height:25rem}
  .v3-place-copy p{grid-template-rows:0fr;min-height:0;transition:grid-template-rows .5s cubic-bezier(0,0,.2,1),opacity .5s cubic-bezier(.4,0,.2,1) .1s}
  .v3-place:hover .v3-place-copy p,.v3-place:focus-visible .v3-place-copy p{grid-template-rows:1fr}
}
/* Version 3 only: the key phrase of the "Who we are" statement carries the brand colour and a little more weight */
.v3 .v2-statement span{color:var(--tenant-text);font-weight:500}
:root[data-theme="dark"] .v3 .v2-statement span{color:var(--tenant-text-dark)}
.v3 .v2-who.v3-follow{transition:--tenant 1.1s var(--ease),--tenant-text 1.1s var(--ease),--tenant-text-dark 1.1s var(--ease),--tenant-on 1.1s var(--ease)}

/* ── Version 3 only: the worker app in an iPhone-style frame ── */
.v3 .phone{width:clamp(226px,20vw,262px);aspect-ratio:9 / 19.3;padding:7px;border:0;border-radius:44px;background:#0d1211;overflow:visible;box-shadow:0 0 0 1.5px #6a716d,0 0 0 3px #15191a,0 40px 60px -30px rgb(13 18 17 / .55)}
/* side buttons: action + two volume keys on the left, power on the right */
.v3 .phone::before{content:"";position:absolute;left:-5.5px;top:17%;width:3px;height:27%;border-radius:2px 0 0 2px;background:linear-gradient(#4b524f 0 16%,transparent 16% 32%,#4b524f 32% 62%,transparent 62% 70%,#4b524f 70% 100%)}
.v3 .phone::after{content:"";position:absolute;right:-5.5px;top:29%;width:3px;height:14%;border-radius:0 2px 2px 0;background:#4b524f}
.v3 .phone-screen{position:relative;display:flex;flex-direction:column;height:100%;padding:0;border-radius:37px;overflow:hidden;background:#fff;color:var(--ink);font-size:11.5px;line-height:1.35}
.v3 .phone-screen b{font-weight:600}
.ip-status{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;height:40px;padding:8px 22px 0 26px;font-size:12px}
.ip-island{position:absolute;left:50%;top:10px;width:76px;height:22px;margin-left:-38px;border-radius:12px;background:#0d1211}
.ip-sys{display:flex;align-items:center;gap:5px}
.ip-sys svg{height:10px;width:auto;fill:currentColor}
.ip-head{flex:none;display:flex;align-items:center;gap:9px;padding:8px 14px 11px;border-bottom:1px solid var(--line)}
.ip-head .t-logo{width:30px;height:30px;font-size:10.5px}
.ip-head div{min-width:0;flex:1}
.ip-head b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-head div span{display:block;font-size:10.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-bell{position:relative;font-size:17px;color:var(--ink-2)}
.ip-bell i{position:absolute;right:-1px;top:-1px;width:7px;height:7px;border-radius:50%;background:var(--tenant);box-shadow:0 0 0 1.5px #fff}
.v3 .phone .ph-scroll{flex:1;min-height:0;height:auto;margin:0;overflow:hidden}
.v3 .phone .ph-inner{padding:12px 12px 18px}
.ip-offer{padding:12px;border-radius:16px;background:color-mix(in srgb,var(--tenant) 8%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tenant) 26%,#fff)}
.ip-tag{font-size:10.5px;font-weight:600;color:var(--tenant-text);margin-bottom:4px}
.ip-offer>b{display:block;font-size:14.5px;letter-spacing:-.01em}
.ip-offer>span{display:block;font-size:11px;color:var(--ink-2)}
.ip-offer dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--tenant) 18%,#fff)}
.ip-offer dt{font-size:10px;color:var(--ink-3)}
.ip-offer dd{font-size:11.5px;font-weight:500;line-height:1.3}
.ip-actions{display:flex;gap:6px}
.ip-actions .s-btn,.ip-actions .ph-ghost{flex:1;padding:8px 0;border-radius:999px;text-align:center;font-weight:600}
.ip-actions .ph-ghost{background:#fff;border:0;box-shadow:inset 0 0 0 1px var(--line-2)}
.ip-sub{margin:16px 2px 7px;font-size:11px;font-weight:600;color:var(--ink-2)}
.ip-shifts li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;margin-bottom:6px;border-radius:12px;box-shadow:inset 0 0 0 1px var(--line)}
.ip-date{text-align:center;line-height:1.1}
.ip-date i{display:block;font-style:normal;font-size:9.5px;color:var(--ink-3)}
.ip-date b{font-size:15px}
.ip-shifts div b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ip-shifts div span{font-size:10.5px;color:var(--ink-3)}
.ip-shifts em{font-style:normal;font-size:10px;font-weight:600;padding:3px 8px;border-radius:999px;background:color-mix(in srgb,var(--tenant) 12%,#fff);color:var(--tenant-text)}
.ip-shifts em.is-done{background:var(--wash);color:var(--ink-2)}
.ip-shifts em.is-offer{background:var(--warn-bg);color:var(--warn)}
.ip-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.ip-days span{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;font-size:10.5px;color:var(--ink-3);box-shadow:inset 0 0 0 1px var(--line-2)}
.ip-days .on{background:var(--tenant);color:var(--tenant-on);font-weight:600;box-shadow:none}
.ip-docs li{display:flex;align-items:center;gap:8px;padding:9px 2px;border-bottom:1px solid var(--line)}
.ip-docs li:last-child{border-bottom:0}
.ip-docs .i{font-size:14px;color:var(--ok)}
.ip-docs b{font-weight:500}
.ip-docs em{margin-left:auto;font-style:normal;font-size:10.5px;color:var(--ink-3)}
.ip-docs .is-due .i,.ip-docs .is-due em{color:var(--warn)}
.ip-tabs{flex:none;display:flex;justify-content:space-around;padding:7px 4px 18px;border-top:1px solid var(--line);background:#fff}
.ip-tabs span{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9.5px;color:var(--ink-3)}
.ip-tabs .i{font-size:17px}
.ip-tabs .on{color:var(--tenant-text);font-weight:600}
.ip-home{position:absolute;left:50%;bottom:6px;width:96px;height:4px;margin-left:-48px;border-radius:2px;background:#0d1211}
.v3 .worker-media{padding-bottom:40px}
@media (max-width:900px){
  /* on narrow screens the phone stands below the photo, overlapping its lower edge */
  .v3 .worker-media{margin-right:0;padding-bottom:0}
  .v3 .phone{position:relative;right:auto;bottom:auto;width:226px;margin:-150px 20px 0 auto}
}

/* ── Version 3 only: "How it works" set in the same type as the rest of the page ── */
.v3 .v2-how .v2-h2{font-weight:500;font-size:clamp(2rem,3.8vw,3.25rem);line-height:1.04;max-width:16em}
.v3 .v2-how .v2-center-text{font-size:clamp(1.0625rem,1.35vw,1.1875rem);line-height:1.5;max-width:56ch;margin-top:16px}
.v3 .v2-steps span{font-family:var(--display);font-weight:500;font-size:1.3rem;line-height:1.2;letter-spacing:-.02em;margin-bottom:10px}
.v3 .v2-steps p{font-size:16px;line-height:1.55}
/* Version 3 only: less empty space above "Who we are" */
.v3 .v2-who{padding-top:clamp(40px,5vw,72px)}
/* Version 3 only: hue slider in the brand section (replaces the system colour picker) */
.v3-slider{display:flex;align-items:center;gap:14px;max-width:420px;margin-top:14px;padding:10px 16px;border-radius:999px;background:color-mix(in srgb,var(--tenant-on) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tenant-on) 26%,transparent);color:var(--tenant-on);font-size:14.5px}
.v3-slider label{white-space:nowrap;font-weight:500}
.v3-slider output{min-width:7ch;text-align:right;font-variant-numeric:tabular-nums;font-size:13.5px;opacity:.85}
.v3-slider input{flex:1;min-width:0;height:22px;margin:0;background:none;appearance:none;-webkit-appearance:none;cursor:pointer;--track:linear-gradient(90deg,hsl(0 72% 42%),hsl(45 72% 42%),hsl(90 72% 38%),hsl(135 72% 36%),hsl(180 72% 36%),hsl(225 72% 46%),hsl(270 72% 46%),hsl(315 72% 42%),hsl(359 72% 42%))}
.v3-slider input::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:var(--track);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .35)}
.v3-slider input::-moz-range-track{height:8px;border-radius:999px;background:var(--track);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .35)}
.v3-slider input::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:-7px;border-radius:50%;background:var(--pick,#a3123a);border:3px solid #fff;box-shadow:0 2px 8px rgb(0 0 0 / .35);transition:transform .18s var(--ease)}
.v3-slider input::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--pick,#a3123a);border:3px solid #fff;box-shadow:0 2px 8px rgb(0 0 0 / .35)}
.v3-slider input:hover::-webkit-slider-thumb,.v3-slider input:active::-webkit-slider-thumb{transform:scale(1.12)}
.v3-slider input:focus-visible{outline:2px solid var(--tenant-on);outline-offset:4px;border-radius:999px}
@media (max-width:560px){.v3-slider output{display:none}}
.v3-slider output{white-space:nowrap}
/* Version 3 only: a slightly smaller phone */
.v3 .phone{width:clamp(204px,17.5vw,236px)}
.ip-status b{font-variant-numeric:tabular-nums}
@media (max-width:900px){.v3 .phone{width:208px;margin-top:-140px}}
