/* Net Universe Collaboration page (Google Workspace & Chromebooks).
   Built from Figma "Collaboration" (59:9175), desktop only; tablet/mobile follow the home page breakpoints.
   Shared pieces come from styles.css and home.css; everything here is prefixed co-. */

.co {
  --font-text: var(--font-body);
  --co-ink: #0d162b;
  --co-ink-soft: #172544;
  --co-card: #1d3d71;
  --co-rule: #e2e8f0;
}

/* Body gray is 4.2:1 on the pale background; this shade reaches AA (4.9:1) and looks the same. */
.co .pale {
  --gray: #636c7f;
}

/* ---------- Shared bits ---------- */

.co-section {
  padding: 120px 0;
}

/* Section badges are Inter SemiBold 12px / 4.8px tracking on this page (Figma 59:9183). */
.co .eyebrow.hm-badge {
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4.8px;
}

.co-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.co-h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.15;
  color: var(--co-ink);
}

.co-h2-heavy {
  font-weight: 800;
}

.dark .co-h2 {
  color: #fff;
}

.co-copy .hm-sub {
  max-width: none;
  margin-top: 0;
}

.co-lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--co-ink-soft);
}

.co-lead.is-light {
  line-height: 1.6;
  color: var(--snow);
}

.co-cta {
  align-self: flex-start;
}

.co-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 96px;
}

/* Google app logos sit on a white rounded tile; sizes follow the Figma icon frames. */
.co-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
}

.co-logo.is-lg {
  width: 48px;
  height: 48px;
}

.co-g-gmail { width: 31px; height: 24px; }
.co-g-drive { width: 31.5px; height: 28.6px; }
.co-g-meet { width: 36px; height: 36px; }
.co-g-calendar { width: 31.5px; height: 31.5px; }
.co-g-doc { width: 21.8px; height: 30px; }

/* "What we provide" lists reuse .hm-checks with the design's check badge. */
.co-provide {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.co-provide-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--co-ink);
}

.co-checks {
  gap: 14px;
  padding-top: 8px;
}

.co-checks li {
  gap: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--co-ink-soft);
}

.co-checks li::before {
  width: 42px;
  height: 32px;
  border-radius: 0;
  background: url("/assets/collaboration/icon-check.png") center / contain no-repeat;
}

/* ---------- Hero ---------- */

.co-hero {
  overflow: hidden;
  padding: 96px 0 120px;
  background: var(--navy);
}

.co-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 622px) 520px;
  align-items: center;
  gap: 64px;
}

.co-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.co-hero-title {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: clamp(40px, 4.1vw, 59px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.co-hero-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.3;
  color: var(--text-light);
}

.co-hero-cta {
  margin-top: 48px;
}

.co-hero-art {
  position: relative;
  width: 520px;
  height: 506px;
}

.co-hero-glow {
  position: absolute;
  left: 109px;
  top: 39px;
  width: 420px;
  height: 420px;
  pointer-events: none;
}

.co-ws-card {
  position: absolute;
  left: 59px;
  top: -1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 460px;
  height: 445px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(29, 61, 113, 0.35);
  box-shadow: 0 24px 60px rgba(0, 5, 20, 0.45);
}

.co-ws-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.co-ws-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.co-ws-title {
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.co-pill-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(84, 170, 71, 0.5);
  border-radius: 999px;
  background: rgba(84, 170, 71, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.co-pill-partner::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.co-ws-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.co-ws-apps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(62, 86, 136, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.co-ws-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.co-avatars {
  display: flex;
  flex: 0 0 auto;
}

.co-avatars span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -8px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}

.co-avatars .co-av-1 { background: var(--blue); }
.co-avatars .co-av-2 { background: var(--green); }
.co-avatars .co-av-3 { background: #3294c9; }
.co-avatars .co-av-4 { margin-right: 0; background: var(--line); }

.co-ws-foot-text,
.co-chip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.co-ws-foot-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.co-ws-foot-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.co-chip {
  position: absolute;
  left: -1px;
  top: 434px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: var(--co-rule);
  box-shadow: 0 16px 40px rgba(0, 5, 20, 0.4);
}

.co-chip img {
  width: 62.67px;
  height: 47.92px;
}

.co-chip-text strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--co-ink);
}

/* Slightly darker than --gray: 4.5:1 on the light chip. */
.co-chip-text span {
  font-size: 12px;
  color: #5f6880;
}

/* ---------- Google Workspace ---------- */

.co-apps-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 60px 32px;
  border-radius: 24px;
  background: var(--co-card);
}

.co-apps-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}

.co-apps-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.54px;
  text-transform: uppercase;
  /* Brand green lightened a touch: 4.6:1 on the blue card (the base green is 3.7:1). */
  color: #66bd59;
}

.co-apps-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.co-apps-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.co-apps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.co-apps-list li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.co-apps-list strong {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

/* --text-muted lightened a touch: 4.7:1 on the blue card (the base tone is 4.3:1). */
.co-apps-list strong + span {
  font-size: 15px;
  color: #a1acc3;
}

.co-apps-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
}

.co-apps-pills li {
  padding: 6px 12px;
  border: 1px solid rgba(0, 210, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
}

/* ---------- Chromebooks ---------- */

.co-split-cb {
  grid-template-columns: minmax(0, 577px) minmax(0, 606px);
  justify-content: space-between;
  align-items: start;
  gap: 32px;
}

.co-split-cb .co-copy {
  gap: 24px;
}

.co-split-cb .co-lead {
  margin-bottom: 8px;
}

.co-split-cb .co-provide {
  gap: 8px;
  margin-top: 2px;
}

.co-sub-gap {
  margin-bottom: -4px;
}

.co-photo-cb {
  aspect-ratio: 606 / 860;
}

.co-benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 72px;
}

.co-benefits-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--co-ink);
}

.co-benefits-list {
  display: grid;
  /* The first column has no left padding, so it is narrower (389 / 430 / 430 in the design). */
  grid-template-columns: minmax(0, 389fr) minmax(0, 430fr) minmax(0, 430fr);
  border-top: 1px solid var(--co-rule);
}

.co-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 40px 0;
}

.co-benefits-list li:first-child {
  padding-left: 0;
}

.co-benefits-list li + li {
  border-left: 1px solid var(--co-rule);
}

.co-benefits-list img {
  flex: 0 0 auto;
  width: 81px;
  height: 62px;
  object-fit: contain;
}

.co-benefits-list h4,
.co-services h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--co-ink);
}

.co-benefits-list p,
.co-services p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- Google Partner ---------- */

.co-partner-intro {
  display: grid;
  grid-template-columns: minmax(0, 577px) minmax(0, 1fr);
  align-items: start;
}

.co-partner-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-partner-text .hm-sub {
  max-width: none;
  margin-top: 0;
}

.co-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 54px 0;
  padding: 32px 0;
  border-radius: 16px;
  background: #fff;
}

.co-services li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 8px 28px;
}

.co-services li + li {
  border-left: 1px solid var(--text-light);
}

.co-services h3 {
  line-height: 1.2;
}

.co-services p {
  margin-top: 12px;
}

.co-services-icon {
  width: 94px;
  height: 72px;
  object-fit: contain;
}

.co-services-icon.is-world {
  width: 97px;
  object-fit: fill;
}

/* Employee icon: Figma composes a base render with two multiply-blended accents. */
.co-icon-employee {
  position: relative;
  display: block;
  width: 94px;
  height: 72px;
}

.co-icon-employee img {
  position: absolute;
}

.co-icon-employee-base {
  left: -2.18px;
  top: -11.08px;
  width: 98.5px;
  height: 98.5px;
}

.co-icon-employee-shade {
  left: 34.03px;
  top: 6.5px;
  width: 26.17px;
  height: 17.6px;
  mix-blend-mode: multiply;
}

.co-icon-employee-dot {
  left: 43.71px;
  top: 52.22px;
  width: 6.73px;
  height: 6.73px;
  mix-blend-mode: multiply;
}

/* ---------- Final CTA ---------- */

.co-final {
  padding-bottom: 40px;
}

.co-split-final {
  grid-template-columns: minmax(0, 1fr) minmax(0, 566px);
  gap: 64px;
}

/* 24px column gap + 32px = 56px between the paragraph and the button (Figma 59:9183 final CTA). */
.co-split-final .co-cta {
  margin-top: 32px;
}

.co-photo-final {
  height: 420px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1240px) {
  .co-hero-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 40px;
  }

  .co-hero-art {
    width: 460px;
    height: 506px;
  }

  .co-ws-card {
    left: 0;
  }

  .co-hero-glow {
    left: 40px;
  }

  .co-split {
    gap: 56px;
  }
}

@media (max-width: 1100px) {
  .co-section {
    padding: 88px 0;
  }

  .co-hero {
    padding: 48px 0 88px;
  }

  .co-hero-grid,
  .co-split,
  .co-split-cb,
  .co-split-final,
  .co-partner-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .co-hero-art {
    justify-self: center;
    width: 520px;
  }

  .co-ws-card {
    left: 59px;
  }

  .co-hero-glow {
    left: 109px;
  }

  .co-partner-intro {
    gap: 24px;
  }

  /* Media above text once the split collapses. */
  .co-photo-cb {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .co-photo-cb img {
    object-position: 50% 30%;
  }

  .co-photo-final {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .co-benefits {
    margin-top: 56px;
  }

  .co-benefits-list li {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px 0;
  }

  .co-services {
    margin: 56px 0;
  }

  .co-services li {
    padding: 8px 24px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  .co-section {
    padding: 56px 0;
  }

  .co-hero {
    padding: 40px 0 56px;
  }

  .co-hero-title {
    font-size: 36px;
  }

  /* Long badges may wrap on phones: tighter tracking, and the dot stays on the first line. */
  .co .eyebrow.hm-badge {
    align-items: flex-start;
    letter-spacing: 3px;
  }

  .co .eyebrow.hm-badge::before {
    flex: 0 0 auto;
    margin-top: 4px;
  }

  .co-hero-lead {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
  }

  .co-hero-cta,
  .co-cta {
    align-self: stretch;
  }

  /* This button's parent is not a flex column, so stretch it like the other full-width buttons. */
  .co-services + .co-cta {
    display: flex;
  }

  .co-hero-cta {
    margin-top: 32px;
  }

  /* Long labels ("Explore Provisioning & Collection") may wrap on very narrow phones. */
  .co-cta {
    height: auto;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: normal;
    text-align: center;
  }

  .co-hero-art {
    justify-self: stretch;
    width: 100%;
    height: auto;
  }

  .co-hero-glow {
    left: 50%;
    top: 0;
    width: 100%;
    height: auto;
    max-width: 420px;
    transform: translateX(-50%);
  }

  .co-ws-card {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    gap: 24px;
    padding: 20px;
  }

  .co-ws-head {
    align-items: flex-start;
  }

  .co-ws-apps {
    gap: 8px;
  }

  .co-ws-apps li {
    padding: 14px 10px 12px;
    font-size: 13px;
  }

  /* The chip tucks under the card instead of covering its footer. */
  .co-chip {
    position: relative;
    left: auto;
    top: auto;
    width: fit-content;
    max-width: calc(100% - 16px);
    margin-top: -12px;
  }

  .co-copy {
    gap: 16px;
  }

  .co-copy .hm-sub {
    font-size: 16px;
  }

  .co-lead {
    font-size: 17px;
  }

  .co-checks li {
    font-size: 15px;
  }

  .co-apps-card {
    padding: 32px 20px 24px;
  }

  .co-apps-title {
    font-size: 21px;
  }

  .co-apps-list li {
    padding: 16px 0;
  }

  .co-apps-list strong {
    font-size: 17px;
  }

  .co-apps-list strong + span {
    font-size: 14px;
  }

  .co-split-cb .co-lead {
    margin-bottom: 0;
  }

  .co-benefits {
    margin-top: 40px;
    gap: 16px;
  }

  .co-benefits-list,
  .co-services {
    grid-template-columns: minmax(0, 1fr);
  }

  .co-benefits-list li,
  .co-benefits-list li:first-child {
    flex-direction: row;
    padding: 24px 0;
  }

  .co-benefits-list li + li {
    border-left: 0;
    border-top: 1px solid var(--co-rule);
  }

  .co-benefits-list h4,
  .co-services h3 {
    font-size: 20px;
  }

  .co-services {
    margin: 40px 0;
    padding: 8px 20px;
  }

  .co-services li {
    gap: 16px;
    padding: 24px 0;
  }

  .co-services li + li {
    border-left: 0;
    border-top: 1px solid var(--text-light);
  }

  .co-final {
    padding-bottom: 56px;
  }
}
