/* ==========================================================================
   Onsites Assist — product 07 landing
   Same stage as onsitedesk.html (cream page, ASCII ocean, mono kicker), but the
   hero is two columns: copy on the left, the real client window at 1:1 on the
   right. desk.css supplies the shell; this file supplies the split and the
   ocean's own tint.
   ========================================================================== */

/* The ocean, retinted. Desk keeps a warm sepia; Assist runs cool slate-blue so
   the two product pages read as siblings, not twins. One variable moves it. */
.assist-page{--sea-hue:168deg;--sea-sat:2.6}

#assist-ocean{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  background:#fff;
  filter:invert(1) grayscale(1) sepia(.62) hue-rotate(var(--sea-hue)) saturate(var(--sea-sat)) brightness(1.04);
  mix-blend-mode:multiply;
  pointer-events:none;
}

/* ---------- hero: copy left, client window right ---------- */
.assist-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(28px,4.5vw,64px);
  width:min(1120px,100%);
  margin:0 auto;
  text-align:left;
}
.assist-copy{max-width:600px}
.assist-hero .desk-kicker{justify-content:flex-start;margin-bottom:16px}
.assist-hero .desk-h1{font-size:clamp(30px,3.5vw,44px);text-align:left}
.assist-hero .desk-h1 span{font-size:.78em}
.assist-hero .desk-lead{max-width:none;margin:18px 0 0;text-align:left;font-size:15px}

/* the client window — the real app, shown at its own pixel size */
.assist-shot{margin:0;flex:none}
.assist-shot img{
  display:block;
  width:566px;
  max-width:100%;
  height:auto;
  border-radius:10px;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 30px 64px -38px rgba(50,36,20,.6), 0 0 0 1px rgba(36,31,26,.08);
}

/* downloads — one ink panel per platform, stacked and equal width */
.assist-downloads{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  width:min(320px,100%);
  margin:22px 0 0;
}
.assist-downloads .desk-download{margin:0;width:100%}
.assist-downloads .desk-download-txt small{white-space:normal}
.assist-downloads .desk-download-go{display:none}

/* ---------- downloads: the two platforms are colour-coded ----------
   Windows takes the suite's deep blue (brand-ink), macOS the cool ink, so the
   pair reads as two different platforms at a glance instead of two identical
   dark panels. Both keep the ink panel's shape, icon chip and hover lift. */
.assist-downloads .desk-download--win{
  background:#3a65c2;
  border-color:#2f55ab;
  box-shadow:0 18px 42px -24px rgba(58,101,194,.9);
}
.assist-downloads .desk-download--win:hover{
  background:#3057a8;
  box-shadow:0 22px 46px -22px rgba(58,101,194,.95);
}
.assist-downloads .desk-download--win:focus-visible{outline-color:#3a65c2}
.assist-downloads .desk-download--win .desk-download-ico{background:rgba(255,255,255,.2)}

.assist-downloads .desk-download--mac{
  background:#1e232c;
  border-color:#151a22;
  box-shadow:0 18px 42px -24px rgba(30,35,44,.9);
}
.assist-downloads .desk-download--mac:hover{
  background:#141822;
  box-shadow:0 22px 46px -22px rgba(30,35,44,.95);
}
.assist-downloads .desk-download--mac:focus-visible{outline-color:#1e232c}

/* one line under the buttons: platforms today, encryption */
.assist-platform{margin:14px 0 0;font-size:11.5px;line-height:1.5;color:var(--muted);letter-spacing:.01em;text-wrap:pretty}

/* ---------- which editions ship Assist ----------
   Assist is not in Free or plain Business, so the licence line sits between the
   download buttons and the platform caption rather than being buried at the
   bottom of the page. */
.assist-edition{
  margin:14px 0 0;
  padding-left:10px;
  border-left:2px solid var(--brand);
  font-size:11.5px;
  line-height:1.55;
  color:var(--muted);
  text-wrap:pretty;
}

/* ---------- long-form locales ----------
   Japanese, Korean, Vietnamese and Spanish run longer than the English original,
   so the display size steps down to keep the hero on one screen without
   shrinking the copy panel or the client window. */
.assist-page:lang(ja) .assist-hero .desk-h1,
.assist-page:lang(ko) .assist-hero .desk-h1,
.assist-page:lang(vi) .assist-hero .desk-h1{font-size:clamp(26px,3.1vw,38px)}
.assist-page:lang(es) .assist-hero .desk-h1{font-size:clamp(25px,3vw,36px)}
.assist-page:lang(ja) .assist-hero .desk-h1 span,
.assist-page:lang(ko) .assist-hero .desk-h1 span,
.assist-page:lang(vi) .assist-hero .desk-h1 span,
.assist-page:lang(es) .assist-hero .desk-h1 span{font-size:.76em;line-height:1.18}

/* ---------- narrow: stack and centre, image scales down ---------- */
@media (max-width:1040px){
  .assist-hero{grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px;text-align:center}
  .assist-copy{max-width:600px}
  .assist-hero .desk-kicker{justify-content:center}
  .assist-hero .desk-h1{text-align:center}
  .assist-hero .desk-lead{text-align:center;margin-inline:auto}
  .assist-downloads{align-items:center;margin-inline:auto}
  .assist-shot img{width:min(566px,92vw)}
  .assist-platform{text-align:center;margin-inline:auto}
}

@media (max-width:420px){
  .assist-downloads{flex-direction:column;width:100%;gap:8px}
  .assist-downloads .desk-download{width:100%;justify-content:flex-start}
  .assist-downloads .desk-download-txt small{white-space:normal}
}
