/* =============================================================================
   COMPANY — scoped under .co. One screen: everything is sized by its content and
   the block sits in the middle of what the header leaves; on a phone the website
   photo takes the spare height instead. One tile language throughout: white,
   1px line, 20px corners, teal on hover. Faces, title size and .display come
   from body.fox-rebuild.
   ============================================================================= */
body.company-v2 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: #fff; }
.co { --gut: var(--fox-chrome-pad); --line: var(--fox-line); --ease: var(--fox-ease); --r: 20px; --ink: var(--fox-color-text-strong);
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; min-height: 0; width: 100%; max-width: 1360px; margin: 0 auto; box-sizing: border-box;
  padding: 14px var(--gut) 12px; color: var(--fox-color-text); line-height: 1.4; }
.co h1, .co h2, .co p, .co ul { margin: 0; }
.co ul { padding: 0; list-style: none; }
.co a { -webkit-tap-highlight-color: transparent; }

/* ---------- head ---------- */
.co .co-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.co .co-head .display { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: .95; }
.co .co-head p { margin-top: 8px; font-size: 1rem; color: var(--fox-color-text-muted); max-width: 42ch; }
.co .co-share { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; border: 0; border-radius: var(--fox-radius-pill); background: var(--ink); color: #fff; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.co .co-share:hover, .co .co-share:focus-visible { background: var(--fox-color-primary); }
.co .co-share:active { transform: scale(.96); }

/* ---------- layout ---------- */
.co .co-grid { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.co .co-side { display: flex; flex-direction: column; gap: 14px; }
.co .co-k { margin-bottom: 8px; font-family: var(--fox-font-family); font-size: var(--fox-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fox-color-primary-deep); }
.co .co-tile, .co .co-app, .co .co-social a, .co .co-founders a { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

/* ---------- website: the photo tile ---------- */
.co .co-web { position: relative; flex: 1 1 120px; min-height: 120px; border-radius: var(--r); overflow: hidden; background: var(--fox-color-primary-deep); isolation: isolate; }
.co .co-web > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: transform 1.2s var(--ease); }
.co .co-web::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 60, 60, .9) 0%, rgba(6, 60, 60, .38) 50%, rgba(6, 60, 60, .04) 100%); pointer-events: none; }
.co .co-web:hover > img { transform: scale(1.04); }
.co .co-web__main { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px 62px; color: #fff; text-decoration: none; }
.co .co-web__k { font-size: var(--fox-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.co .co-web__t { font-family: var(--fox-font-display); font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1.05; color: #fff; }
.co .co-web__arw { display: inline-block; transition: transform .3s var(--ease); }
.co .co-web__main:hover .co-web__arw, .co .co-web__main:focus-visible .co-web__arw { transform: translateX(6px); }
.co .co-web__links { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden; }
.co .co-web__links a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: var(--fox-radius-pill); background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .86rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.co .co-web__links a:hover, .co .co-web__links a:focus-visible { background: var(--fox-color-yellow); color: var(--ink); }

/* ---------- apps ---------- */
.co .co-apps__list { display: grid; gap: 10px; }
.co .co-app { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.co .co-app:hover { border-color: var(--fox-color-primary); box-shadow: 0 18px 36px -26px rgba(6, 111, 111, .8); }
.co .co-app__top { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.co .co-app__top > img { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); object-fit: cover; }
.co .co-app__top > p { min-width: 0; }
.co .co-app__top b { display: block; font-family: var(--fox-font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.05; color: var(--ink); }
.co .co-app__top span { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.25; color: var(--fox-color-text-muted); }
.co .co-app__does { display: none; }
.co .co-stores { flex: none; display: flex; gap: 8px; }
/* Store buttons in the colour every store page uses, so they read at a glance. */
.co .co-store { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 10px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.co .co-store:hover, .co .co-store:focus-visible { background: var(--fox-color-primary); transform: translateY(-2px); }
.co .co-store:active { transform: translateY(0); }
.co .co-store svg { flex: none; width: 22px; height: 22px; }
.co .co-store span { display: flex; flex-direction: column; line-height: 1; }
.co .co-store small { font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.co .co-store b { margin-top: 2px; font-family: var(--fox-font-display); font-size: 1.02rem; font-weight: 600; }

/* ---------- socials: each in its own colour ---------- */
.co .co-social ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.co .co-social a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 64px; padding: 6px 2px; color: var(--ink); font-size: .7rem; font-weight: 500; text-decoration: none; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.co .co-social i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; transition: background .25s, color .25s; }
.co .co-social svg { width: 18px; height: 18px; }
.co .co-social span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co .co-social a:hover, .co .co-social a:focus-visible { background: var(--c); border-color: transparent; color: #fff; transform: translateY(-3px); box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .45); }
.co .co-social a:hover i, .co .co-social a:focus-visible i { background: rgba(255, 255, 255, .22); }
.co .co-social a:active { transform: translateY(-1px); }

/* ---------- founders ---------- */
.co .co-founders ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.co .co-founders a { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 6px 10px 6px 6px; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.co .co-founders a:hover, .co .co-founders a:focus-visible { border-color: var(--fox-color-primary); transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(6, 111, 111, .8); }
.co .co-founders img { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.co .co-founders span { flex: 1 1 auto; min-width: 0; }
.co .co-founders b { display: block; font-family: var(--fox-font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.05; }
.co .co-founders small { display: block; margin-top: 3px; font-size: .76rem; line-height: 1.2; white-space: nowrap; color: var(--fox-color-text-muted); }
.co .co-founders i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0A66C2; color: #fff; }
.co .co-founders i svg { width: 15px; height: 15px; }

.co .co-legal { font-size: .76rem; color: var(--fox-color-text-faint); }

/* On a phone the share button is a round icon, so the title keeps one line. */
@media (max-width: 599px) {
  .co .co-head { align-items: center; }
  .co .co-head .display { font-size: clamp(2.2rem, 11vw, 2.6rem); }
  .co .co-share { width: 46px; padding: 0; justify-content: center; }
  .co .co-share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .co .co-app__top span { font-size: .76rem; }
  .co .co-founders a { gap: 8px; }
  .co .co-founders b { font-size: 1.1rem; }
  .co .co-founders small { font-size: .7rem; }
  .co .co-founders i { width: 26px; height: 26px; }
}
/* A phone sees its own store, however wide the browser says it is otherwise. */
@media (max-width: 959px) { .co .co-off-phone { display: none; } }
/* The bubble would sit on the socials, and WhatsApp is one of them here. */
body.company-v2 .fox-wa { display: none; }

/* Small phones: the spare lines go before the page scrolls. */
@media (max-width: 959px) and (max-height: 720px) {
  .co { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .co .co-head p, .co .co-legal { display: none; }
  .co .co-grid, .co .co-side { gap: 10px; }
  .co .co-k { margin-bottom: 5px; }
  .co .co-web { flex-basis: 96px; min-height: 96px; }
  .co .co-web__main { padding-bottom: 54px; }
  .co .co-web__links { bottom: 10px; }
  .co .co-web__links a { min-height: 34px; }
  .co .co-app { padding: 6px 6px 6px 8px; }
  .co .co-app__top > img { width: 44px; height: 44px; }
  .co .co-store { min-height: 42px; }
  .co .co-social a { min-height: 54px; gap: 3px; font-size: .66rem; }
  .co .co-social i { width: 28px; height: 28px; }
  .co .co-founders a { min-height: 50px; }
  .co .co-founders img { width: 36px; height: 36px; }
  .co .co-founders b { font-size: 1.1rem; }
}

/* ---------- computer: photo left, the rest right, the block centred ---------- */
@media (min-width: 960px) {
  .co { gap: 28px; justify-content: center; padding-top: clamp(14px, 3vh, 36px); padding-bottom: clamp(14px, 3vh, 36px); }
  .co .co-head p { font-size: 1.1rem; }
  .co .co-grid { flex: 0 0 auto; display: grid; gap: 0 clamp(24px, 3vw, 44px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; }
  .co .co-side { gap: clamp(18px, 3vh, 28px); }
  .co .co-web { flex: none; min-height: 340px; }
  .co .co-web__main { padding: 26px 28px 84px; }
  .co .co-web__links { left: 26px; right: 26px; bottom: 26px; gap: 8px; }
  .co .co-web__links a { min-height: 42px; padding: 0 18px; font-size: .94rem; }
  .co .co-apps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .co .co-app { flex-direction: column; align-items: stretch; gap: 14px; padding: clamp(16px, 2.4vh, 22px); }
  .co .co-app__top { gap: 14px; }
  .co .co-app__top > img { width: clamp(56px, 8vh, 72px); height: clamp(56px, 8vh, 72px); border-radius: 18px; }
  .co .co-app__top b { font-size: clamp(1.7rem, 3.2vh, 2.2rem); }
  .co .co-app__top span { font-size: .92rem; }
  .co .co-app__does { display: block; font-size: .96rem; line-height: 1.45; color: var(--fox-color-text); }
  .co .co-stores { display: flex; flex-wrap: wrap; gap: 8px; }
  .co .co-store { flex: 1 1 120px; min-width: 0; min-height: 48px; }
  .co .co-store b { font-size: clamp(.9rem, 1.1vw, 1.05rem); }
  .co .co-social a { flex-direction: row; gap: 10px; min-height: 64px; padding: 8px 10px; font-size: .95rem; }
  .co .co-founders a { min-height: 72px; padding: 10px 14px 10px 10px; }
  .co .co-founders img { width: 52px; height: 52px; }
  .co .co-founders b { font-size: 1.4rem; }
  .co .co-founders small { font-size: .84rem; }
  .co .co-legal { padding-right: 180px; }
}
/* A short laptop screen: the spare lines go before anything scrolls. */
@media (min-width: 960px) and (max-height: 780px) {
  .co { gap: 16px; }
  .co .co-head .display { font-size: clamp(2.2rem, 7vh, 3.2rem); }
  .co .co-head p, .co .co-app__does { display: none; }
  .co .co-side { gap: 14px; }
  .co .co-k { margin-bottom: 6px; }
  .co .co-app { gap: 10px; padding: 14px; }
  .co .co-social a { min-height: 52px; }
  .co .co-founders a { min-height: 60px; }
  .co .co-founders img { width: 42px; height: 42px; }
  .co .co-founders b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .co .co-web > img, .co .co-web__arw, .co .co-social a, .co .co-store, .co .co-founders a, .co .co-app { transition: none; }
}
/* A narrower computer window (960 to 1279px): socials stack icon over name and
   the two store buttons go full width, so no label is ever cut short. */
@media (min-width: 960px) and (max-width: 1279px) {
  .co .co-social a { flex-direction: column; gap: 5px; min-height: 74px; padding: 8px 4px; font-size: .74rem; }
  .co .co-social span { white-space: normal; overflow: visible; text-overflow: clip; text-align: center; }
  .co .co-store { flex: 1 1 100%; min-height: 44px; }
  .co, .co .co-side { gap: 14px; }
  .co .co-head .display { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
  .co .co-app { gap: 10px; padding: 14px; }
  .co .co-app__top > img { width: 52px; height: 52px; }
  .co .co-app__top b { font-size: 1.45rem; white-space: nowrap; }
  .co .co-app__does { display: none; }
  .co .co-founders b { font-size: 1.2rem; }
}
