/* Utopia web revamp v3 — home page only (linked from site/index.html, nowhere else). Colours from tokens.css.
   1. "This is us": the real team photo, one warm line and the social icons (every width).
   2. Phones (760 px and below), CY 16 Nov: "lengthy and hard to read ... no containers ... endless scrolling".
      Fewer words, text grouped with its picture in cards, spacing chosen per strip, alternating bands as section breaks.
   Desktop (761 px up) is untouched by part 2. */

/* ---------- 1 · This is us ---------- */
.strip--us{background:var(--paper)}
.us{display:grid;overflow:hidden;border-radius:var(--r-lg);background:var(--surface);background-image:var(--sheen);box-shadow:var(--shadow)}
.us__pic{margin:0;min-height:0;aspect-ratio:1050/670;background:var(--bone)}
.us__pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.us__body{display:grid;align-content:center;justify-items:start;gap:14px;padding:24px 20px 22px}
.us__t{margin:0}
.us__line{margin:0;color:var(--ink-2);max-width:20em}
.us__soc{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0;padding:0;list-style:none}
.us__ic{display:grid;place-items:center;width:var(--tap);height:var(--tap);border-radius:12px;background:var(--paper);background-image:var(--sheen);box-shadow:inset 0 0 0 1px var(--hair);color:var(--ink);text-decoration:none;transition:color var(--d2) var(--ease),background-color var(--d2) var(--ease)}
.us__g{width:20px;height:20px;fill:currentColor}
a.us__ic:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media (hover:hover) and (pointer:fine){a.us__ic:hover{color:var(--blue-deep);background-color:var(--blue-wash)}}
.us__ic--off{color:color-mix(in srgb,var(--ink) 34%,transparent);background-color:color-mix(in srgb,var(--paper) 60%,var(--surface));cursor:default;pointer-events:none}
@media (min-width:761px) and (max-width:999px){.us__body{padding:28px 32px 30px}}
@media (min-width:1000px){
  .us{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
  .us__pic{aspect-ratio:auto;min-height:440px}
  .us__body{gap:18px;padding:clamp(32px,4vw,64px)}
  .us__soc{gap:10px;margin-top:10px}
}

/* ---------- 2 · phones ---------- */
@media (max-width:760px){
  /* section breaks: bands alternate linen / paper, so a strip ends where its colour ends */
  #engine,#outcome{background:var(--paper)}
  /* the team card and the call to action are two cards on one band: the closing pair */
  #us{background:var(--bg)}
  #engine .strip__bg{display:none}

  /* spacing chosen per strip (the shared --sec is 64 px on every side) */
  #who{padding-block:40px 36px}
  #engine{padding-block:44px}
  #how{padding-top:44px}
  #phone{padding-block:44px 52px}
  #simple{padding-block:40px 44px}
  #outcome{padding-block:44px}
  #products{padding-block:44px 52px}
  #us{padding-block:36px 8px}
  #talk{padding-block:8px 36px}
  #who .head,#engine .head,#outcome .head,#phone .head{margin-bottom:20px}

  /* one card look for every grouped block on the phone */
  #who .stats,#engine .eng,#outcome .price,#talk .cta,#how .fold{border-radius:var(--r-lg);background:var(--surface);background-image:var(--sheen);box-shadow:var(--shadow)}

  /* who: the four numbers in one card, 2 x 2 with hairlines */
  #who .stats{gap:0;margin-bottom:12px;padding:6px 18px}
  #who .stat{padding:16px 0 14px;box-shadow:none;gap:2px}
  #who .stat:nth-child(odd){padding-right:14px;box-shadow:1px 0 0 var(--hair)}
  #who .stat:nth-child(even){padding-left:16px}
  #who .stat:nth-child(n+3){border-top:1px solid var(--hair)}
  #who .stat dd{font-size:46px}
  #who .stat dt{font-size:15px}
  #who .more{margin-top:0}

  /* engine: the drawing says "every source feeds one AI", so the sentence under the heading goes */
  #engine .head .lead{display:none}
  #engine .eng{padding:8px 0 4px;overflow:hidden}
  #engine .eng-lay--m{max-width:340px;margin-inline:auto}

  /* how: the fold reads as a card you open; the dark promise keeps its three ticks, not the sentence above them */
  #how .fold{padding:2px 16px}
  #how .fold>.more__sum{box-shadow:none}
  #how .fold[open]{padding-bottom:16px}
  #how .nlk-line{display:none}
  #how .nlk{padding-block:52px}

  /* phone demo: the drawing carries the staff line; only the scene on screen is in the page text */
  #phone .phone-head__swap{display:none}
  #phone .phone-head{gap:10px}
  #phone .pd-scene[data-scene="boss"]{visibility:hidden;transition:opacity 260ms var(--ease-io),visibility 0s 260ms}
  #phone .pd:has(.pd-switch input[value="boss"]:checked) .pd-scene[data-scene="boss"]{visibility:visible;transition:opacity 260ms var(--ease-io)}
  #phone .pd:has(.pd-switch input[value="boss"]:checked) .pd-scene[data-scene="staff"]{visibility:hidden;transition:opacity 260ms var(--ease-io),visibility 0s 260ms}
  #phone .pd--live .pd-scene:not(.is-chat) .pd-chat{visibility:hidden;transition:transform 520ms cubic-bezier(.3,.75,.1,1),visibility 0s 520ms}
  /* the next strip shows the old way in two real photos, so the phone strip goes straight to the phone */
  #phone .pd-before{display:none}
  #phone .pd-stage{gap:14px}

  /* outcome: the price sits in its own card under the charts */
  #outcome .price{margin-top:20px;padding:22px 20px 14px;box-shadow:var(--shadow)}
  #outcome .price__line{font-size:28px}
  #outcome .price__link{display:inline-flex;align-items:center;min-height:var(--tap)}

  /* products: the heading says it; the sentence under it goes */
  #products .bn-lead{display:none}

  /* this is us: the photo on top of the card, the line and the icons under it */
  .us__line{font-size:17px}

  /* call to action: one card */
  #talk .cta{gap:12px;padding:26px 18px 18px}
  #talk .cta__sub{margin-bottom:6px}
}

/* reduced motion and the pause switch: final state, no colour fades */
@media (prefers-reduced-motion:reduce){.us__ic{transition:none}}
body.paused .us__ic{transition:none}
