/* polish-d.css — final review polish, loaded last */

/* ---------- Why: the feature panel ----------
   On the desktop bento the copy used to sit at the bottom of rows 1-2, leaving a
   large empty well between the header (orb + status) and the title. The copy now
   sits centred in the space between the header and the timeline, and the title is
   a touch larger so the panel reads as the lead card. The timeline row is untouched,
   so the line still runs out between the 2nd and 3rd cards. */
.why2 .why2__feature .why2__title {
  font-size: clamp(32px, 3.2vw, 56px);
  line-height: 1.04;
  text-wrap: balance;
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1100px) {
    .why2 .why2__fcopy {
      align-self: center;
      /* the header row (78px orb) is part of this area, so reserve it (plus a little
         optical weight for the timeline labels below) before centring */
      padding-top: 90px;
      padding-bottom: 0;
    }
  }
}

/* ---------- Why: warranty dial, 3 -> 5 ----------
   The two numbers used to cross-fade in place, so for a moment a "3" and a "5"
   sat on top of each other, and the 5 landed while the coral arc was only half
   drawn. Now the 3 rolls up and out, then the 5 rolls in as the arc reaches the
   5-year end (with the knob), and at the end of the loop the 5 leaves before the
   3 returns: no overlap. */
.why2 .wy-dial__num--3 { animation-name: wy-n3-roll; }
.why2 .wy-dial__num--5 { animation-name: wy-n5-roll; }
@keyframes wy-n3-roll {
  0%, 52% { opacity: 1; transform: none; }
  57% { opacity: 0; transform: translateY(-10px); }
  95% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}
@keyframes wy-n5-roll {
  0%, 57% { opacity: 0; transform: translateY(10px); }
  63%, 89% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* ---------- How it works: the "Setting up… / Ready" chip ----------
   The pill is sized by the longer "Setting up…" label, so "Ready" sat to the left
   with an empty tail. Centre the shorter label in the pill. */
.process2 .p2-chip--setup > .p2-chip__b { justify-self: center; }

/* Round 2 */

/* ---------- How it works: a glass rim on the stage ----------
   The stage's 1px rim was an inset shadow, so the room, photo and floor painted over it
   and once the room filled the frame (steps 3 and 4) the lower corners melted into the
   page. A rim on top of the scene keeps the rounded edge crisp, with a soft sheen along
   the top like a pane of glass. When the screen is switched on (state 4) a faint mint
   rim fades in; only opacity moves. */
.process2 .p2-stage::before,
.process2 .p2-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.process2 .p2-stage::after {
  z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 16%);
  box-shadow:
    inset 0 0 0 1px rgba(244, 240, 230, .12),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.process2 .p2-stage::before {
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(92, 242, 194, .26), inset 0 0 28px -8px rgba(92, 242, 194, .22);
  opacity: 0;
  transition: opacity .9s ease .3s;
}
.process2 .p2-stage[data-state="4"]::before { opacity: 1; }

/* a soft pool of warm light and a contact shadow under the sticky stage, so it sits on
   the page instead of floating (desktop only, static) */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .process2 .p2-sticky::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: calc(100% - 18px);
    height: 64px;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent) 50% 0 / 86% 34px no-repeat,
      radial-gradient(closest-side, rgba(255, 140, 100, .09), transparent);
  }
}

/* ---------- How it works: the number tiles ----------
   The tiles were flat squares. A light top edge and a gentle top-down gradient give them
   the same glass feel as the cards in "Why choose us"; the lit colours are unchanged. */
.process2 .p2-step .p2-tile,
.process2 .p2-step.is-lit .p2-tile,
.process2 .p2-step--on.is-lit .p2-tile {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 58%);
}
.process2 .p2-step:not(.is-lit) .p2-tile {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 18px -10px rgba(0, 0, 0, .8);
}
/* the faint cable track gets a hairline glow so the unlit part still reads as a wire */
.process2 .p2-cable { box-shadow: 0 0 6px rgba(244, 240, 230, .05); }

/* ---------- How it works: the copy ----------
   Even line lengths in the step titles, and no one-word last lines in the descriptions. */
.process2 .p2-title { text-wrap: balance; }
.process2 .p2-text { text-wrap: pretty; }

/* ---------- Why choose us: a lit glass edge on every card ----------
   The cards had an even 1px rim all round. A gradient rim, brighter at the top and fading
   down the sides (with a hint of mint at the foot), reads as light catching the edge of
   the glass. It sits on the list item, so it follows the card when it lifts on hover. */
.why2 .why2__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 248, 240, .26), rgba(244, 240, 230, .06) 34%, rgba(244, 240, 230, 0) 62%, rgba(92, 242, 194, .10));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.why2 .why2__item--feature::before {
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 248, 240, .30), rgba(244, 240, 230, .06) 30%, rgba(244, 240, 230, 0) 60%, rgba(255, 107, 61, .14));
}
@media (hover: hover) and (pointer: fine) {
  .why2 .why2__item:not(.why2__item--feature):hover::before { transform: translateY(-5px); }
}

/* ---------- Why choose us: the visual wells ----------
   The three dark wells read as flat holes. A soft overhead light, a glass top edge and a
   gentle shade at the foot give them depth; on hover the light rises a touch (opacity). */
.why2 .why2__vis {
  box-shadow:
    inset 0 0 0 1px rgba(244, 240, 230, .07),
    inset 0 1px 0 rgba(244, 240, 230, .07),
    inset 0 -30px 40px -34px rgba(0, 0, 0, .55);
}
.why2 .why2__vis::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(62% 70% at 50% 0%, rgba(244, 240, 230, .07), transparent 72%);
  opacity: .7;
  transition: opacity .6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .why2 .why2__item:hover .why2__vis::before { opacity: 1; }
}
/* phones and tablets: the well sits 14px inside a 24px card, so a 12px corner is concentric */
@media (max-width: 1099.98px) {
  .why2 .why2__vis { border-radius: 12px; }
}

/* ---------- Why choose us: icon discs and the channel chips ----------
   A light top edge on the small icon discs, and the Phone / Email chips get the same
   hover lift and rim as the cards (they are not links, so no pointer). */
.why2 .why2__ico {
  box-shadow: inset 0 0 0 1px rgba(244, 240, 230, .16), inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 24px -12px rgba(0, 0, 0, .7);
}
.why2 .why2__chip { transition: box-shadow .4s var(--ease-out), background-color .4s; }
@media (hover: hover) and (pointer: fine) {
  .why2 .why2__feature:hover .why2__chip {
    background-color: rgba(244, 240, 230, .085);
    box-shadow: inset 0 0 0 1px rgba(244, 240, 230, .24), inset 0 1px 0 rgba(255, 255, 255, .1);
  }
}

/* ---------- Why choose us: the footnote ----------
   A hairline above the notes sets them apart from the grid like a proper footnote. */
.why2 .why2__note {
  /* same total gap as before (34px), so nothing below moves */
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid rgba(244, 240, 230, .08);
}

/* still for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .process2 .p2-stage::before,
  .why2 .why2__item::before,
  .why2 .why2__vis::before { transition: none; }
}

/* Round 3 */

/* ---------- How it works: one halo on the current tile, not two ----------
   The lit tile carried its own 4px ring and glow, and the breathing halo (anim-c) drew a
   second 5px ring and glow on top, so the current step showed a doubled rim and a heavy
   bloom. The current tile now keeps only a glass top edge and a soft close glow, and the
   breathing halo is the single ring. Steps already passed (lit, not current) keep the
   static ring, so nothing goes dark. */
.process2 .p2-step.is-on.is-lit .p2-tile {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 24px -8px rgba(255, 107, 61, .55);
}
.process2 .p2-step--on.is-on.is-lit .p2-tile {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px -8px rgba(92, 242, 194, .5);
}

/* ---------- How it works: the step title sits on the tile's centre line ----------
   Desktop: the 64px number tile and a one-line title shared a top edge, so the title rode
   about 10px high against the number. The title's line now centres on the tile (half the
   difference between the tile and one line of the title), and the stage beside the list
   drops 6px so its top edge lines up with the first tile instead of sitting just above it. */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js .process2 .p2-title { margin-top: calc((64px - clamp(28px, 2.3vw, 36px) * 1.18) / 2); }
  .js .process2 .p2-sticky { margin-top: 6px; }
}

/* ---------- How it works: a clearer title-to-text step on phones ----------
   On a 275px column the 22px titles sat almost level with 19px body text (and the body ran
   only ~25 characters a line). Titles one step up, body a half step down. */
@media (max-width: 699.98px) {
  .js .process2 .p2-title { font-size: 24px; line-height: 1.15; }
  .js .process2 .p2-text { font-size: 18px; line-height: 1.62; }
}

/* ---------- Why choose us: one left edge in the highlight cards ----------
   The warranty, replacement and 3D cards indented their icon and text 10px past the visual
   well (38px from the card edge), while every other card and the well itself use 28px, so on
   desktop the shield sat 10px off the truck icon in the card below it. On tablets the same
   cards sat at 24px against 30px in their neighbours. Now each column shares one edge. */
@media (min-width: 1100px) {
  .why2 .why2__item--hl .why2__body,
  .why2 .why2__item--render .why2__body { padding-inline: 0; }
  /* the paragraphs keep their earlier measure, so "3-year" and "a screen" are not split */
  .why2 .why2__item--hl .why2__text { margin-right: 20px; }
}
@media (min-width: 700px) and (max-width: 1099.98px) {
  .why2 :is(.why2__item--warranty, .why2__item--swap) .why2__body { padding-inline: 16px; }
}

/* ---------- Why choose us: matching tracking on the small capitals ----------
   "Support · Online" was tracked at .08em while the "Day one / Warranty / Beyond" labels
   in the same panel use .1em. Same tracking for both. */
.why2 .why2__status { letter-spacing: .1em; }
