/* vaOS homepage, modern pass.
   Loaded on index.php only, after site.css and site-identity.css, and
   every rule is scoped to body.page-home so features, pricing and
   about are left exactly as they were.

   The moves: one corner radius everywhere, tighter display type, a
   centred hero leading with a framed view of the product, centred
   section heads for rhythm, white cards on sand, and a closing panel. */

.page-home {
  --r:        14px;
  --r-sm:     10px;
  --night:    #14332b;
  --mint:     #7fd3ba;
  --shadow-s: 0 1px 2px rgba(20, 51, 43, .05), 0 2px 8px rgba(20, 51, 43, .04);
  --shadow-m: 0 2px 4px rgba(20, 51, 43, .04), 0 12px 32px -12px rgba(20, 51, 43, .18);
  --shadow-l: 0 2px 6px rgba(20, 51, 43, .06), 0 40px 80px -32px rgba(20, 51, 43, .38);
}

/* The hero glow reaches past the window on purpose; this stops it
   ever widening the page into a sideways scroll on phones. */
.page-home main { overflow-x: clip; }

/* --- Type ------------------------------------------------------------ */

.page-home h1,
.page-home h2 {
  font-weight: 600;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.page-home .band h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
  max-width: 22ch;
}

.page-home .band .sub {
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 56ch;
  margin-top: 16px;
  text-wrap: pretty;
}

/* Centred section heads give the page a beat between the left-led
   content blocks, instead of five identical left-aligned openings. */
.page-home .head { text-align: center; }
.page-home .head h2,
.page-home .head .sub { margin-left: auto; margin-right: auto; }

/* --- Header and buttons ---------------------------------------------- */

.page-home .site-head { padding-top: 22px; padding-bottom: 22px; }

.page-home .btn {
  border-radius: var(--r-sm);
  font-weight: 550;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}

.page-home .btn-primary {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -6px rgba(31, 111, 92, .55);
}
.page-home .btn-primary:hover { transform: translateY(-1px); }

.page-home .btn-quiet { box-shadow: var(--shadow-s); }
.page-home .btn-quiet:hover { border-color: #cfc8b8; transform: translateY(-1px); }

.page-home .site-head nav .btn { padding: 9px 16px; }
.page-home .navtoggle { border-radius: var(--r-sm); }

/* --- Hero ------------------------------------------------------------ */

.page-home .hero {
  display: block;
  position: relative;
  padding-top: 64px;
  padding-bottom: 40px;
  text-align: center;
}

.page-home .hero-copy { max-width: 820px; margin: 0 auto; }

/* The kicker becomes a badge carrying the four-status dots. */
.page-home .hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-s);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--accent-d);
}
.page-home .hero .kicker::before {
  content: "";
  width: 26px;
  height: 7px;
  flex: none;
  background:
    radial-gradient(circle 3px at 3px  50%, #2b5f9e 98%, transparent),
    radial-gradient(circle 3px at 10px 50%, #b07908 98%, transparent),
    radial-gradient(circle 3px at 17px 50%, #6b4fc7 98%, transparent),
    radial-gradient(circle 3px at 24px 50%, #1f6f5c 98%, transparent);
}

.page-home .hero h1 {
  font-size: clamp(42px, 7.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 15ch;
  margin: 0 auto;
}

.page-home .hero h1 .hl {
  background: linear-gradient(100deg, #1f6f5c 10%, #2f9a7c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero .lede {
  font-size: 19px;
  line-height: 1.6;
  max-width: 58ch;
  margin: 26px auto 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.page-home .hero .actions { justify-content: center; margin-top: 34px; }
.page-home .hero .actions .btn { padding: 13px 24px; font-size: 16px; }
.page-home .hero .note { margin-top: 18px; }

/* --- Hero stage: the product window ---------------------------------- */

.page-home .stage {
  position: relative;
  max-width: 980px;
  margin: 64px auto 0;
  text-align: left;
}

/* A soft mint glow behind the window. */
.page-home .stage::before {
  content: "";
  position: absolute;
  inset: -60px -40px 10% -40px;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 30% 40%, rgba(127, 211, 186, .38), transparent 70%),
    radial-gradient(45% 55% at 75% 60%, rgba(107, 79, 199, .12), transparent 70%);
  filter: blur(20px);
}

.page-home .appwin {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: var(--shadow-l);
}

.page-home .appwin-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: #f3f0e8;
  border-bottom: 1px solid var(--edge);
}
.page-home .appwin-lights { display: inline-flex; gap: 7px; }
.page-home .appwin-lights i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #ddd6c6;
}
.page-home .appwin-url {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--edge);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.page-home .appwin-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: #17352d;
  color: #fff;
}
.page-home .appwin-mark {
  font-family: "Bricolage", "Instrument Sans", sans-serif;
  font-weight: 620;
  font-size: 17px;
}
.page-home .appwin-search {
  flex: 1;
  max-width: 320px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #9dbcb1;
  font-size: 13px;
}
.page-home .appwin-me {
  margin-left: auto;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #17352d;
  font-size: 13px;
  font-weight: 700;
}

.page-home .appwin-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 300px; }

.page-home .appwin-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 14px 12px;
  border-right: 1px solid var(--edge);
  background: #fcfbf8;
}
.page-home .appwin-side span {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
}
.page-home .appwin-side span.is-on {
  background: var(--accent-t);
  color: var(--accent-d);
  font-weight: 600;
}

.page-home .appwin-main { padding: 22px 24px 26px; }

.page-home .appwin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.page-home .appwin-head strong {
  font-family: "Poppins", "Instrument Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.page-home .appwin-head span { font-size: 13px; color: var(--muted); }

/* Requests as list rows rather than separate cards. */
.page-home .appwin-main .req {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-top: 10px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  box-shadow: var(--shadow-s);
  background: var(--surface);
}
.page-home .req-av {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  background: var(--blue-t);
  color: var(--blue);
}
.page-home .req.is-pending   .req-av { background: #fbf0d9; color: #8a5a00; }
.page-home .req.is-scheduled .req-av { background: #eee9fb; color: #5a3fa8; }
.page-home .req.is-complete  .req-av { background: var(--accent-t); color: var(--accent-d); }

.page-home .req-text { flex: 1; min-width: 0; }
.page-home .req-title {
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .req-meta { display: block; margin-top: 2px; }

/* The hours card floats off the window's corner, like the client's
   own view peeking out from behind yours. */
.page-home .floatcard {
  position: absolute;
  right: -28px;
  bottom: -56px;
  width: 290px;
  padding: 18px 20px 20px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow-l);
  animation: va-float-in .7s .25s cubic-bezier(.2, .7, .2, 1) both;
}
.page-home .floatcard .hours-row { margin-bottom: 4px; }
.page-home .floatcard-value {
  font-family: "Poppins", "Instrument Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.page-home .floatcard .hours-bar { height: 8px; }

@keyframes va-float-in {
  from { opacity: 0; transform: translateY(14px); }
}

/* --- Bands ----------------------------------------------------------- */

.page-home .band { padding: 96px 0; border-top: 0; }
.page-home main > section.hero + .band { padding-top: 120px; margin-top: 40px; }

/* --- Instead strip --------------------------------------------------- */

.page-home .swap { justify-content: center; gap: 12px; margin-top: 40px; }

/* One at a time: when the strip scrolls in, a red line draws across
   each old tool in turn and its text greys out, then the arrow and
   vaOS arrive once the last one is struck. Without the reveal script
   (or with reduced motion) everything simply shows already struck. */
.page-home .swap { --step: .45s; --start: .4s; }

.page-home .swap .was {
  padding: 8px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-s);
  transition: color .35s, background-color .35s;
  transition-delay: calc(var(--start) + var(--i, 0) * var(--step) + .15s);
}
.page-home .swap .was::after {
  content: "";
  inset: auto;
  left: 11px;
  right: 11px;
  top: calc(50% - 1px);
  height: 2px;
  border-radius: 2px;
  background: rgba(169, 50, 38, .75);
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.65, 0, .35, 1);
  transition-delay: calc(var(--start) + var(--i, 0) * var(--step));
}

.page-home .swap-arrow,
.page-home .swap .now {
  opacity: 0;
  transform: translateX(-8px) scale(.9);
  transition: opacity .35s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
  transition-delay: calc(var(--start) + var(--n, 5) * var(--step) + .1s);
}
.page-home .swap .now { transition-delay: calc(var(--start) + var(--n, 5) * var(--step) + .3s); }

/* Struck: after the strip has scrolled in, or straight away when
   the reveal never runs. */
.page-home .swap.is-in .was,
html:not(.has-reveal) .page-home .swap .was { color: #a3a297; background: #fbfaf7; }

.page-home .swap.is-in .was::after,
html:not(.has-reveal) .page-home .swap .was::after { transform: scaleX(1) rotate(-2deg); }

.page-home .swap.is-in .swap-arrow,
.page-home .swap.is-in .now,
html:not(.has-reveal) .page-home .swap .swap-arrow,
html:not(.has-reveal) .page-home .swap .now { opacity: 1; transform: none; }

.page-home .swap-arrow { font-size: 22px; padding: 0 6px; color: var(--accent); }

.page-home .swap .now {
  padding: 10px 24px;
  font-size: 16px;
  box-shadow: 0 10px 28px -8px rgba(31, 111, 92, .6);
}

/* --- Steps: three cards ---------------------------------------------- */

.page-home .steps { gap: 20px; margin-top: 52px; }
.page-home .steps::before { content: none; }

.page-home .step {
  padding: 28px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.page-home .step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 11px;
  color: #fff;
  font: 600 15px/1 "Poppins", sans-serif;
  letter-spacing: 0;
}
.page-home .step h3 { font-size: 18px; margin-bottom: 8px; }
.page-home .step p { font-size: 15px; line-height: 1.6; }

.page-home .statusline {
  justify-content: center;
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px dashed var(--edge);
  border-radius: var(--r);
}
.page-home .track .pill { box-shadow: var(--shadow-s); }

/* --- Journeys: white cards on sand ----------------------------------- */

.page-home .journeys { gap: 20px; margin-top: 52px; }

.page-home .journey {
  padding: 30px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
}
.page-home .journey h3 {
  padding-left: 0;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--edge);
  font-size: 18px;
}

.page-home #journeys .seemore,
.page-home #pricing .seemore { text-align: center; margin-top: 36px; }

/* --- Night band ------------------------------------------------------ */

.page-home main > section.band.band-night {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(127, 211, 186, .16), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(127, 211, 186, .08), transparent 70%),
    var(--night);
}
.page-home .band-night .head { text-align: left; }
.page-home .band-night .head h2,
.page-home .band-night .head .sub { margin-left: 0; }

.page-home .autos { gap: 14px; margin-top: 44px; }

.page-home .auto {
  padding: 20px 22px 22px 58px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r);
  transition: background-color .2s, border-color .2s;
}
.page-home .auto:hover { background: rgba(255, 255, 255, .06); border-color: rgba(127, 211, 186, .25); }

.page-home .band-night .auto::before {
  left: 20px;
  top: 20px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(127, 211, 186, .14);
  color: var(--mint);
  font-size: 13px;
}
.page-home .auto h3 { font-size: 16.5px; }
.page-home .auto p { font-size: 14.5px; }

.page-home .nightcta { margin-top: 44px; }
.page-home .band-night .btn-primary {
  background: var(--mint);
  color: var(--night);
  box-shadow: 0 10px 28px -10px rgba(127, 211, 186, .6);
}
.page-home .band-night .btn-primary:hover { background: #9be0cb; }

/* --- Pricing --------------------------------------------------------- */

.page-home .teaserplans {
  max-width: 940px;
  margin: 48px auto 0;
  gap: 18px;
  align-items: stretch;
}

.page-home .teaserplan {
  padding: 28px 28px 30px;
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.page-home .teaserplan:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }

.page-home .teaserplan-name { font-size: 15px; color: var(--muted); font-weight: 600; }
.page-home .teaserplan-price {
  font-family: "Poppins", "Instrument Sans", sans-serif;
  font-size: 38px;
  letter-spacing: -.03em;
  margin: 12px 0 6px;
  font-variant-numeric: tabular-nums;
}
.page-home .teaserplan-price small { font-family: "Inter", sans-serif; letter-spacing: 0; }

/* The highlighted plan goes dark rather than getting a thicker border. */
.page-home .teaserplan.plan-pick {
  border: 1px solid var(--night);
  background: var(--night);
  color: #fff;
  box-shadow: var(--shadow-m);
}
.page-home .teaserplan.plan-pick .teaserplan-name { color: var(--mint); }
.page-home .teaserplan.plan-pick .teaserplan-price small,
.page-home .teaserplan.plan-pick .teaserplan-cap { color: #a9c0b4; }

/* --- Closing panel --------------------------------------------------- */

.page-home .ctaband { padding-top: 40px; }

.page-home .ctapanel {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(127, 211, 186, .28), transparent 70%),
    linear-gradient(160deg, #1f6f5c 0%, #14332b 100%);
  box-shadow: var(--shadow-l);
}
.page-home .ctapanel h2 { color: #fff; margin: 0 auto; }
.page-home .ctapanel .sub { color: #cfe3da; margin-left: auto; margin-right: auto; }
.page-home .ctapanel .btn-big {
  margin-top: 32px;
  padding: 15px 32px;
  background: #fff;
  color: var(--night);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
}
.page-home .ctapanel .btn-big:hover { transform: translateY(-1px); background: #f4f1e8; }

.page-home .site-foot { margin-top: 24px; }

/* --- Scroll reveal --------------------------------------------------- */

.has-reveal .page-home .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.has-reveal .page-home .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .page-home .floatcard { animation: none; }
  .page-home .btn, .page-home .teaserplan { transition: none; }
}

/* --- Smaller screens ------------------------------------------------- */

@media (max-width: 1100px) {
  .page-home .floatcard { right: 16px; }
}

@media (max-width: 760px) {
  .page-home .band { padding: 72px 0; }
  .page-home main > section.hero + .band { padding-top: 88px; }

  .page-home .appwin-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-home .appwin-side { display: none; }
  .page-home .appwin-search { display: none; }
  .page-home .appwin-main { padding: 16px 14px 18px; }
  .page-home .appwin-main .req { padding: 12px; gap: 12px; }
  .page-home .appwin-main .req .pill { display: none; }

  .page-home .floatcard {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -22px 16px 0;
  }

  .page-home .stage { margin-top: 48px; }
  .page-home .ctapanel { padding: 56px 22px; border-radius: 20px; }
}

@media (max-width: 560px) {
  .page-home .hero { padding-top: 40px; }
  .page-home .hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .page-home .hero .lede { font-size: 17px; }
  .page-home .band .sub { font-size: 16.5px; }
  .page-home .swap-arrow { flex-basis: 100%; text-align: center; }
  .page-home .swap .swap-arrow { transform: rotate(90deg) translateX(-8px); }
  .page-home .swap.is-in .swap-arrow,
  html:not(.has-reveal) .page-home .swap .swap-arrow { transform: rotate(90deg); }
}


/* --- How it works: one journey, shown happening -------------------------- */

/* The heading on one line on a desktop instead of breaking before
   "you're running." */
.page-home #how .head h2 { max-width: 22ch; }
@media (min-width: 900px) { .page-home #how .head h2 { max-width: none; white-space: nowrap; } }

.page-home .how2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

/* The line the three numbers sit on, filling left to right. */
.page-home .how2-line {
  position: absolute;
  top: 19px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--edge);
  border-radius: 2px;
  overflow: hidden;
}
.page-home .how2-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #b07a10, var(--accent));
  transform-origin: left;
}
.has-reveal .page-home .how2 .how2-line span { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.has-reveal .page-home .how2.is-in .how2-line span { transform: scaleX(1); }

.page-home .how2-step { position: relative; text-align: center; }
.page-home .how2-num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font: 600 15px/1 "Poppins", sans-serif;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--sand, #f5f2ea), 0 6px 14px -4px rgba(20, 51, 43, .35);
}
.page-home .how2-step:nth-child(3) .how2-num { background: #b07a10; }
.page-home .how2-step:nth-child(4) .how2-num { background: var(--accent); }
.has-reveal .page-home .how2 .how2-num { transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; transition-delay: calc(.25s + var(--i) * .5s); }
.has-reveal .page-home .how2.is-in .how2-num { transform: none; opacity: 1; }

.page-home .how2-step h3 { margin: 22px 0 8px; font-size: 18px; }
.page-home .how2-step p { margin: 0 auto; max-width: 32ch; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* The slice of the app above each step's words. */
.page-home .how2-shot {
  margin: 26px auto 0;
  max-width: 320px;
  height: 140px;
  box-sizing: border-box;
  padding: 16px 16px 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow-m);
}
.has-reveal .page-home .how2 .how2-shot { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.4s + var(--i) * .5s); }
.has-reveal .page-home .how2.is-in .how2-shot { opacity: 1; transform: none; }

.page-home .mini-label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.page-home .mini-input {
  display: flex; align-items: center; height: 34px; padding: 0 10px;
  border: 1px solid var(--edge); border-radius: 8px; background: #fbfaf6; font-size: 14px;
}
.page-home .mini-type { display: inline-block; overflow: hidden; white-space: nowrap; }
.page-home .mini-caret { width: 1.5px; height: 16px; margin-left: 1px; background: var(--accent); animation: caret 1s steps(1) infinite; }
.page-home .mini-btn {
  display: inline-block; margin-top: 10px; padding: 7px 12px; font-size: 13px; font-weight: 600;
  color: #fff; background: var(--accent); border-radius: 8px;
}
.has-reveal .page-home .how2 .mini-type { max-width: 0; }
.has-reveal .page-home .how2.is-in .mini-type { animation: typeit 1.1s steps(11) .9s forwards; }

.page-home .mini-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 6px 0 10px;
  border: 1px solid var(--edge); border-radius: 8px; background: #fbfaf6; font-size: 13.5px;
}
.page-home .mini-url { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-home .mini-copy {
  /* Both words share one cell, so the button is always as wide as
     "Copied" and never jumps or wraps when it changes. */
  flex: none; display: inline-grid; padding: 5px 10px; font-size: 12.5px; font-weight: 600;
  border-radius: 6px; background: var(--accent); color: #fff; white-space: nowrap;
}
.page-home .mini-copy .c1, .page-home .mini-copy .c2 { grid-area: 1 / 1; text-align: center; }
.page-home .mini-copy .c2 { opacity: 0; }
.page-home .mini-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.has-reveal .page-home .how2.is-in .mini-copy .c1 { animation: copyA 4s 1.6s infinite; }
.has-reveal .page-home .how2.is-in .mini-copy .c2 { animation: copyB 4s 1.6s infinite; }

.page-home .mini-req { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13.5px; }
.page-home .mini-req + .mini-req { border-top: 1px solid var(--edge); }
.page-home .mini-req.is-dim { opacity: .55; }
.page-home .mini-ava {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  font-size: 11px; font-weight: 600; background: #e2e9f2; color: #3c5a80;
}
.page-home .mini-ava.b { background: #f4ead3; color: #7d5c14; }
.page-home .mini-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-home .mini-logged {
  /* Time logged against the request, going up by twenty minutes as
     the step comes into view. Same one-cell trick as the Copy button. */
  flex: none; display: inline-grid; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--accent); background: rgba(31, 111, 92, .1); white-space: nowrap;
}
.page-home .mini-logged .l1, .page-home .mini-logged .l2 { grid-area: 1 / 1; text-align: right; }
.page-home .mini-logged .l1 { opacity: 0; }
.has-reveal .page-home .how2 .mini-logged .l1 { opacity: 1; }
.has-reveal .page-home .how2 .mini-logged .l2 { opacity: 0; }
.has-reveal .page-home .how2.is-in .mini-logged .l1 { animation: logA .4s ease 2.6s forwards; }
.has-reveal .page-home .how2.is-in .mini-logged .l2 { animation: logB .45s cubic-bezier(.3, 1.5, .5, 1) 2.6s forwards; }
@keyframes logA { to { opacity: 0; transform: translateY(-6px); } }
@keyframes logB { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@keyframes caret { 50% { opacity: 0; } }
@keyframes typeit { from { max-width: 0; } to { max-width: 12ch; } }
@keyframes copyA { 0%, 45% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes copyB { 0%, 45% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .3; } }

/* --- Four statuses: one request walking through them --------------------- */

.page-home .flow2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
  margin-top: 64px;
  padding: 34px 40px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.page-home .flow2-say h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.page-home .flow2-say p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.page-home .flow2-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--edge); border-radius: 12px; background: #fbfaf6;
  box-shadow: var(--shadow-m);
}
.page-home .flow2-card .mini-ava { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }
.page-home .flow2-what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.page-home .flow2-what strong { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-home .flow2-what span { font-size: 12.5px; color: var(--muted); }
.page-home .flow2-card .pill { flex: none; transition: background-color .3s, color .3s, transform .3s; }
.page-home .flow2-card .pill.is-swap { transform: scale(.85); }

.page-home .flow2-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin: 16px 0 0; padding: 0; list-style: none; counter-reset: none;
}
.page-home .flow2-steps li {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 4px 0; font-size: 12.5px; color: var(--muted); text-align: center;
  border-top: 3px solid var(--edge); transition: color .3s, border-color .3s;
}
.page-home .flow2-steps li.past { border-top-color: rgba(31, 111, 92, .35); }
.page-home .flow2-steps li.on { color: var(--ink); font-weight: 600; border-top-color: var(--accent); }
.page-home .flow2-steps .dot { flex: none; width: 7px; height: 7px; padding: 0; border-radius: 999px; }
.page-home .flow2-steps .dot.pill-open { background: var(--blue); }
.page-home .flow2-steps .dot.pill-pending { background: #b07a10; }
.page-home .flow2-steps .dot.pill-scheduled { background: #6b4fc7; }
.page-home .flow2-steps .dot.pill-complete { background: var(--accent); }

@media (max-width: 860px) {
  .page-home .how2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-home .how2-line { display: none; }
  .page-home .flow2 { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 20px; }
  .page-home .flow2-say { text-align: center; }
}
@media (max-width: 520px) {
  .page-home .flow2-steps { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .page-home .flow2-card .pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .mini-caret { animation: none; }
}
/* --- Vault band ------------------------------------------------------
 * The homepage shows the coming soon page's Vault spot
 * (lib/view-vault-spot.php). soon.css is not loaded here, so the spot
 * styles it needs are repeated, scoped to .vaultband so nothing else
 * on the homepage is touched. Keep in step with soon.css.
 */
.page-home .vaultband .spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.page-home .vaultband .spot-k {
  margin: 0 0 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.page-home .vaultband .spot-tag {
  margin-left: 8px; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-t); color: var(--accent-d);
  font-size: 11px; letter-spacing: 0; text-transform: none; vertical-align: 1px;
}
.page-home .vaultband .spot h3 { margin: 0 0 14px; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.page-home .vaultband .spot-say > p:not(.spot-k) { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.page-home .vaultband .spot ul { margin: 0; padding: 0; list-style: none; }
.page-home .vaultband .spot li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15.5px; color: var(--ink-soft); }
.page-home .vaultband .spot li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.page-home .vaultband .spot-shot {
  padding: 40px; border-radius: 24px;
  background: linear-gradient(150deg, var(--accent-t), var(--surface));
}
.page-home .vaultband .ss-card {
  max-width: 380px; margin: 0 auto; padding: 22px;
  background: var(--surface); border: 1px solid var(--edge); border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(24, 88, 72, .28); font-size: 14px;
}
.page-home .vaultband .ss-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.page-home .vaultband .ss-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.page-home .vaultband .ss-row,
.page-home .vaultband .ss-lead {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: 10px 0; border-top: 1px solid var(--edge);
}
.page-home .vaultband .ss-lead > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.page-home .vaultband .ss-lead small { color: var(--muted); font-size: 12.5px; }
.page-home .vaultband .ss-ava { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-t); color: var(--blue); font-weight: 600; font-size: 12px; }
.page-home .vaultband .ss-ava.b { background: var(--amber-t); color: var(--amber); }
.page-home .vaultband .ss-ava.c { background: var(--accent-t); color: var(--accent-d); }
.page-home .vaultband .ss-pill { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.page-home .vaultband .ss-pill.is-done { background: var(--accent-t); color: var(--accent-d); }
.page-home .vaultband .ss-ok { flex: none; font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--accent); color: #fff; }

@media (max-width: 900px) {
  .page-home .vaultband .spot { grid-template-columns: 1fr; gap: 28px; }
  .page-home .vaultband .spot h3 { font-size: 25px; }
  .page-home .vaultband .spot-shot { padding: 24px 18px; }
}