/* Cloud office page. Shared parts live in landing.css and vps.css. */

/* Hero: the places people connect from, around the one office they all share */

.lp .w-office { margin: 12px 0 0; }

.lp .w-office-map {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  gap: 26px 36px;
}

.lp .w-dev {
  --draw: 1;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
}

.lp .w-dev i { font-size: 1.3rem; color: var(--rose); }
.lp .w-dev span { font-size: 0.85rem; font-weight: 600; }

.lp .w-dev b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--good);
  font-size: 0.7rem;
  color: var(--plum-deep);
}

/* The right column of places, the office in the middle, the left column */
.lp .w-dev-a { grid-column: 1; grid-row: 1; }
.lp .w-dev-b { grid-column: 3; grid-row: 1; }
.lp .w-dev-c { grid-column: 1; grid-row: 2; }
.lp .w-dev-d { grid-column: 3; grid-row: 2; }

.lp .w-hub {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-items: center;
  gap: 6px;
  padding: 28px 16px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  text-align: center;
}

.lp .w-hub i { font-size: 2.2rem; color: var(--magenta); }

.lp .w-hub strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
}

.lp .w-hub small { font-size: 0.8rem; color: var(--mute); }

/* Each place's connection to the office; --draw runs from 0 to 1 as it connects */
.lp .w-dev::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  border-top: 2px dashed rgba(242, 179, 207, 0.65);
  transform: scaleX(var(--draw));
}

.lp .w-dev-a::after,
.lp .w-dev-c::after { inset-inline-end: -36px; transform-origin: right center; }

.lp .w-dev-b::after,
.lp .w-dev-d::after { inset-inline-start: -36px; transform-origin: left center; }

.lp .w-office figcaption {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

/* The number of users stands out among each plan's specs */
.lp .w-prow-specs .is-users { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
  .lp .w-office { width: min(100%, 460px); margin-inline: auto; }
}

/* On phones the office sits on top and the places below it, two by two */
@media (max-width: 560px) {
  .lp .w-office-map { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp .w-hub { grid-column: 1 / -1; grid-row: 1; padding: 20px 16px; }
  .lp .w-dev-a { grid-column: 1; grid-row: 2; }
  .lp .w-dev-b { grid-column: 2; grid-row: 2; }
  .lp .w-dev-c { grid-column: 1; grid-row: 3; }
  .lp .w-dev-d { grid-column: 2; grid-row: 3; }
  .lp .w-dev::after { display: none; }
}

.lp section[id] { scroll-margin-top: 80px; }

/* Numbers, not promises */
.lp .w-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

.lp .w-proof li {
  padding: 8px 26px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.lp .w-proof li:first-child { border-inline-start: 0; }

.lp .w-proof b {
  display: block;
  font-family: var(--display);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rose);
  unicode-bidi: isolate;
}

.lp .w-proof span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.8); }

.lp .w-proof-note {
  max-width: 1040px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

/* The quote: what you get on the right, the form on paper on the left */
.lp .w-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.lp .w-quote-points { display: grid; gap: 10px; margin-top: 24px; }
.lp .w-quote-points li { display: flex; align-items: baseline; gap: 10px; font-weight: 600; }
.lp .w-quote-points i { color: var(--magenta); }
.lp .w-quote-call { margin-top: 28px; color: var(--mute); }
.lp .w-quote-call a { font-weight: 700; color: var(--ink); }

/* The select matches the fields in form.css */
.lp .w-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.lp .w-field select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(180, 46, 109, 0.15); }
.lp .w-field label small { font-weight: 400; color: var(--mute); }

@media (max-width: 900px) {
  .lp .w-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .lp .w-proof li:nth-child(3) { border-inline-start: 0; }
  .lp .w-quote-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 560px) {
  .lp .w-proof li { padding: 4px 14px; }
  .lp .w-proof b { font-size: 3.4rem; }
  .lp .w-proof span { font-size: 0.92rem; }
}
