/* WooCommerce hosting page. Shared tokens and components live in landing.css. */

/* The receipt comes out of a printer slot */

.lp .w-printer {
  justify-self: end;
  width: min(100%, 380px);
}

.lp .w-picker-label {
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.lp .w-picker {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 12px;
  background: var(--plum-deep);
}

.lp .w-picker button {
  flex: 1;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lp .w-picker button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lp .w-picker button[aria-pressed="true"] { background: var(--magenta); color: #fff; }

.lp .w-order { width: 100%; }

/* Shared vs private scene. Default is the end state; with .is-pinned the captions stack and crossfade. */

.lp .w-share { background: var(--paper); }

.lp .w-share-pin { padding: 120px 0; }

.lp .w-share-head p {
  max-width: 34em;
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--mute);
}

.lp .w-share-body {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.lp .w-share-captions {
  display: grid;
  gap: 20px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.lp .w-share-captions li {
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--magenta);
}

.lp .w-share.is-pinned .w-share-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 96px 0 24px;
}

.lp .w-share.is-pinned .w-share-captions li { grid-area: 1 / 1; }

.lp .w-share-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lp .w-server {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: var(--plum);
  color: #fff;
}

.lp .w-server figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

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

.lp .w-server figcaption span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.lp .w-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.lp .w-tile {
  position: relative;
  display: grid;
  aspect-ratio: 1.25;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.lp .w-tile.is-you { background: var(--magenta); color: #fff; }

.lp .w-own {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 10px;
}

.lp .w-own-store {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  border-radius: 14px;
  background: var(--magenta);
  font-weight: 700;
}

.lp .w-own-store i { font-size: 2.4rem; }

.lp .w-cores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.lp .w-core {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.lp .w-core.is-on { border-color: var(--rose); background: rgba(242, 179, 207, 0.35); }

.lp .w-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.lp .w-meter-track {
  height: 12px;
  margin-top: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.lp .w-meter-fill {
  display: block;
  height: 100%;
  border-radius: 6px;
  transform-origin: right center;
}

.lp .w-server-shared .w-meter-fill { background: #e5484d; }
.lp .w-server-private .w-meter-fill { background: #8bc34a; transform: scaleX(0.45); }

.lp .w-state {
  display: grid;
  min-height: 1.7em;
  font-weight: 700;
}

.lp .w-state > span { grid-area: 1 / 1; }
.lp .w-server-shared .w-state-ok { opacity: 0; }
.lp .w-server-shared .w-state-bad { color: #ff9a9e; }
.lp .w-server-private .w-state-ok { color: #b5e48c; }

/* Visitors flowing into a store */
.lp .w-dots { position: absolute; inset: 0; pointer-events: none; }

.lp .w-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0;
}

/* Why a store is different */

.lp .w-why {
  padding: 120px 0;
  background: var(--blush);
}

.lp .w-split-text .w-why-stat {
  margin-top: 32px;
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--magenta);
  color: var(--ink);
}

.lp .w-why-stat cite {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--mute);
}


/* Order journey. Default: stages stacked. With .is-pinned (desktop, motion allowed) the track runs sideways. */

.lp .w-journey { background: var(--paper); }

.lp .w-journey-pin { padding: 120px 0; }

.lp .w-journey-head { margin-bottom: 64px; }

.lp .w-journey-head p {
  max-width: 34em;
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--mute);
}

.lp .w-rail { display: none; }

.lp .w-journey-track {
  display: flex;
  flex-direction: column;
  gap: 96px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.lp .w-stage {
  display: grid;
  grid-template-columns: minmax(0, 500px) auto;
  justify-content: center;
  gap: 96px;
  align-items: center;
}

.lp .w-stage-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 6.5rem;
  line-height: 0.8;
  color: var(--magenta);
}

.lp .w-stage h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
}

.lp .w-stage p { max-width: 32em; color: var(--mute); }

.lp .w-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.lp .w-stage-tags li {
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lp .w-journey.is-pinned .w-journey-pin {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 104px 0 40px;
}

.lp .w-journey.is-pinned .w-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.lp .w-journey.is-pinned .w-rail { display: block; }

.lp .w-rail ol { display: flex; gap: 4px; }

.lp .w-rail button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--mute);
  cursor: pointer;
  transition: color 0.2s;
}

.lp .w-rail button:hover { color: var(--ink); }
.lp .w-rail button[aria-current="step"] { color: var(--ink); font-weight: 700; }

.lp .w-rail-bar {
  height: 3px;
  margin: 6px 12px 0;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.lp .w-rail-fill {
  display: block;
  height: 100%;
  background: var(--magenta);
  transform-origin: right center;
}

.lp .w-journey.is-pinned .w-journey-viewport {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 0;
  overflow: hidden;
}

/* One stage fills the content width; the gap pushes the next one fully off screen */
.lp .w-journey.is-pinned .w-journey-track {
  --pad: max(16px, calc((100vw - 1180px) / 2));
  flex-direction: row;
  gap: calc(var(--pad) * 2);
  width: max-content;
  margin: 0;
  padding-inline: var(--pad);
}

.lp .w-journey.is-pinned .w-stage { width: calc(100vw - var(--pad) * 2); }

.lp .w-journey.is-pinned .w-phone {
  height: min(560px, calc(100vh - 330px));
  width: auto;
}

/* Phone mockups */

.lp .w-phone {
  width: 290px;
  aspect-ratio: 9 / 17.5;
  padding: 10px;
  border-radius: 40px;
  background: var(--plum);
  box-shadow: 0 34px 60px -24px rgba(42, 20, 48, 0.55);
}

.lp .w-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 20px 16px 16px;
  border-radius: 31px;
  background: #fff;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.4;
}

.lp .m-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #eadde3;
}

.lp .m-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.lp .m-img {
  display: grid;
  flex: 1;
  min-height: 0;
  place-items: center;
  border-radius: 18px;
  background: var(--blush);
  font-size: 4.5rem;
  color: var(--magenta);
}

.lp .m-title { font-size: 1rem; font-weight: 700; }

.lp .m-price { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }

.lp .m-swatches { display: flex; gap: 8px; }

.lp .m-swatches span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
}

.lp .m-swatches span:nth-child(2) { background: var(--rose); }
.lp .m-swatches span:nth-child(3) { background: #d9d2c5; }

.lp .m-cta {
  margin-top: auto;
  padding: 11px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.lp .m-cta i { margin-inline-end: 4px; font-size: 0.75rem; }

.lp .m-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 1rem;
}

.lp .m-head span { font-size: 0.78rem; color: var(--mute); }
.lp .m-head i { color: var(--magenta); }

.lp .m-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.lp .m-chip {
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.75rem;
}

.lp .m-chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }

.lp .m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lp .m-tile { display: flex; flex-direction: column; gap: 6px; }

.lp .m-tile-img {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 12px;
  background: var(--blush);
  font-size: 1.8rem;
  color: var(--magenta);
}

.lp .m-tile .m-bar { width: 80%; height: 6px; }
.lp .m-tile b { font-size: 0.8rem; }

.lp .m-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lp .m-thumb {
  display: grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: var(--blush);
  color: var(--magenta);
}

.lp .m-line-info { flex: 1; min-width: 0; }
.lp .m-line-info b { display: block; font-size: 0.82rem; }
.lp .m-line-info span { font-size: 0.72rem; color: var(--mute); }

.lp .m-sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 700;
}

.lp .m-sum strong {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lp .m-field > span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  color: var(--mute);
}

.lp .m-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.lp .m-input i { font-size: 0.75rem; color: var(--mute); }

.lp .m-typed {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--ink);
  opacity: 0.75;
  transform-origin: right center;
}

.lp .m-secure { font-size: 0.75rem; font-weight: 600; color: #3f6212; }

.lp .m-order {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.lp .m-order.is-new { border-color: var(--magenta); background: #fdf3f8; }
.lp .m-order span:not(.m-pill):not(.m-status) { color: var(--mute); }

.lp .m-status { position: relative; display: inline-grid; }
.lp .m-status .m-pill { grid-area: 1 / 1; text-align: center; }
.lp .m-status .m-pill-wait { opacity: 0; }

.lp .m-pill {
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* WooCommerce admin order status colors */
.lp .m-pill-wait { background: #e5e5e5; color: #555; }
.lp .m-pill-ok { background: #c6e1c6; color: #3f6212; }
.lp .m-pill-done { background: #c8d7e1; color: #2e4453; }

.lp .m-backup {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3f6212;
}

/* Plans */

.lp .w-plans {
  padding: 120px 0;
  background: var(--blush);
}

.lp .w-plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}

.lp .w-compare {
  width: 100%;
  border: 1px solid var(--rule);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
}

.lp .w-compare th,
.lp .w-compare td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: middle;
}

.lp .w-compare thead th {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: bottom;
}

.lp .w-compare thead small {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mute);
}

.lp .w-compare tbody th {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mute);
}

.lp .w-compare .is-rec { background: #fcf2f7; }

.lp .w-rec {
  display: table;
  margin-bottom: 8px;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--magenta);
  font-size: 0.75rem;
  color: #fff;
}

.lp .w-compare .w-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.lp .w-compare tfoot td { padding-top: 20px; padding-bottom: 24px; border-bottom: 0; }
.lp .w-compare tfoot .w-btn { width: 100%; }

.lp .w-included h3 { margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; }

.lp .w-included li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.lp .w-included li i { font-size: 0.85rem; color: var(--magenta); }

.lp .w-compare .w-from {
  margin-inline-end: 4px;
  font-family: var(--body);
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--mute);
}

.lp .w-sizes-title {
  margin: 72px 0 16px;
  font-size: 1.3rem;    
  font-weight: 700;
}

.lp .w-sizes tbody th { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.lp .w-sizes tbody td { color: var(--mute); }
.lp .w-sizes .w-price { font-size: 2.2rem; color: var(--ink); }
.lp .w-sizes tr.is-rec > * { background: #fcf2f7; }
.lp .w-sizes tbody tr:last-child > * { border-bottom: 0; }

.lp .w-sizes .w-rec {
  display: inline-block;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

.lp .w-sizes .w-btn { min-height: 44px; padding: 0 20px; }

.lp .w-vps { margin-top: 44px; font-size: 1.05rem; }


/* Migration */

.lp .w-migrate { padding: 120px 0; }

.lp .w-migrate .w-h2 { max-width: 13em; color: #fff; }

.lp .w-migrate-head p {
  max-width: 34em;
  margin-top: 16px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
}

.lp .w-migrate .w-link { margin-top: 56px; }

/* Responsive */

@media (max-width: 900px) {
  .lp .w-plans-grid,
  .lp .w-share-body,
  .lp .w-share-stage { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lp .w-share-stage { gap: 20px; }
  .lp .w-share-captions { order: 1; }
  .lp .w-printer { justify-self: center; }

  .lp .w-why,
  .lp .w-plans,
  .lp .w-migrate,
  .lp .w-share-pin,
  .lp .w-journey-pin { padding: 88px 0; }

  .lp .w-stage { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp .w-stage .w-phone { justify-self: center; width: min(270px, 100%); }
  .lp .w-stage-num { font-size: 5rem; }

}

@media (max-width: 560px) {
  .lp .w-compare th,
  .lp .w-compare td { padding: 12px 10px; }
  .lp .w-compare thead th { font-size: 1rem; }
  .lp .w-compare .w-price { font-size: 2.2rem; }
  .lp .w-rec { white-space: nowrap; font-size: 0.7rem; }
  .lp .w-compare tfoot .w-btn { padding: 0 8px; }
  .lp .w-sizes thead { display: none; }
  .lp .w-sizes tbody td:nth-child(2) { font-size: 0.85rem; }
  .lp .w-sizes .w-price { font-size: 1.8rem; }
  .lp .w-sizes .w-btn { padding: 0 12px; }
  .lp .w-picker button { font-size: 0.72rem; }
}

/* Phones: the journey also runs sideways, in a compact layout */
@media (max-width: 900px) {
  .lp .w-journey.is-pinned .w-journey-pin { padding: 76px 0 12px; }

  .lp .w-journey.is-pinned .w-journey-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }

  .lp .w-journey.is-pinned .w-journey-head .w-h2 { font-size: 2.3rem; }
  .lp .w-journey.is-pinned .w-journey-head p { display: none; }
  .lp .w-journey.is-pinned .w-rail ol { justify-content: space-between; }
  .lp .w-journey.is-pinned .w-rail button { padding: 6px 4px; font-size: 0.8rem; }
  .lp .w-journey.is-pinned .w-rail-bar { margin-inline: 4px; }
  .lp .w-journey.is-pinned .w-journey-viewport { align-items: flex-start; }
  .lp .w-journey.is-pinned .w-stage { align-content: start; gap: 14px; }
  .lp .w-journey.is-pinned .w-stage-num { margin-bottom: 4px; font-size: 3rem; }
  .lp .w-journey.is-pinned .w-stage h3 { margin-bottom: 6px; font-size: 1.2rem; }
  .lp .w-journey.is-pinned .w-stage p { font-size: 0.9rem; line-height: 1.55; }
  .lp .w-journey.is-pinned .w-stage-tags { display: none; }

  .lp .w-journey.is-pinned .w-phone {
    justify-self: center;
    width: 290px;
    height: auto;
    zoom: var(--phone-zoom, 0.7);
  }
}
