/*
 * Prednosti (/prednosti/, futures.php): what a free page is. The hero is a
 * small example editor next to the real company card (user-page.css), then
 * a guided tour of a real free page, every feature by dashboard group and a
 * dark closing band. Tokens, base and the shared components come first;
 * this file lays out the page.
 */

body.m1n-site {
  margin: 0;
  background-color: var(--color-canvas);
  background-image: var(--sky);
  background-repeat: no-repeat;
  background-size: 100% 760px;
  color: var(--color-text);
  overflow-x: clip;
}

.pr {
  --gutter: max(clamp(16px, 5vw, 64px), calc((100vw - var(--container)) / 2));
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-text);
}

.pr *,
.pr *::before,
.pr *::after {
  box-sizing: border-box;
}

.pr :where(h1, h2, h3, p, ul, ol, figure, dl, dd) {
  margin: 0;
}

.pr :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.pr-wrap {
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */
.pr-display,
.pr-h2,
.pr-anat__note h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.pr-display {
  font-size: var(--text-page-title);
  line-height: 1.02;
}

.pr-h2 {
  font-size: var(--text-display-2);
  line-height: 1.06;
}

.pr-lede {
  max-width: 46ch;
  color: var(--color-muted);
  font-size: clamp(17px, 0.4vw + 15px, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.pr-text {
  max-width: 56ch;
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: 1.6;
  text-wrap: pretty;
}

.pr-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.pr-note .ui-icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

:is(.pr-text, .pr-note, .pr-anat__note p) a {
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: var(--weight-ui-medium);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (hover: hover) {
  :is(.pr-text, .pr-note, .pr-anat__note p) a:hover {
    color: var(--color-primary-hover);
  }
}

/* Address bar over the example: the page's own address */
.pr-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--glass-pop);
  box-shadow: var(--shadow-glass);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-ui-medium);
  white-space: nowrap;
}

.pr-url .ui-icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--color-success);
}

.pr-url > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-url em {
  color: var(--color-muted);
  font-style: normal;
  font-weight: var(--weight-ui);
}

/* Reveal: a block rises in once. Hidden start state only with JS and only
   when motion is welcome; content is never gated on it. */
@media (prefers-reduced-motion: no-preference) {
  .pr.is-js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  }

  .pr.is-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Display only copies of company page parts (user-page.css): no motion, no
   sticky card, no controls that need user-page.js. The text beside them is
   the real content for assistive tech.
   ========================================================================== */
.spec {
  --gut: 0px;
  --wrap: 100%;
  --card-r: var(--radius-xl);
  --soft: color-mix(in oklab, var(--c) 10%, var(--color-surface));
  --soft-2: color-mix(in oklab, var(--c) 18%, var(--color-surface));
  --line-c: color-mix(in oklab, var(--c) 22%, var(--color-line));
  min-width: 0;
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  pointer-events: none;
  user-select: none;
}

.spec *,
.spec *::before,
.spec *::after {
  animation: none !important;
  transition: none !important;
}

:where(.spec) a { color: var(--c-ink); }
:where(.spec) img { display: block; max-width: 100%; }
:where(.spec) :where(h1, h2, h3) {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
}

.spec .b-card {
  position: relative;
  top: auto;
  max-width: 100%;
}

.spec .b-cover__acts,
.spec .b-today,
.spec a.b-today.b-today--d,
.spec .b-lines,
.spec .b-social,
.spec .b-slogan,
.spec .b-verified { display: none; }

/* Same card at every width (user-page.css changes it by viewport) */
.spec .b-cover { height: 150px; }
.spec .b-cover.has-img { height: 170px; }

.spec .b-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) 24px 24px;
}

.spec .b-do { display: grid; }

.spec .b-body > .b-who,
.spec .b-do > .b-primary { grid-column: auto; grid-row: auto; }

.spec .b-title { color: var(--color-ink); }
.spec .b-title[data-len] { font-size: 30px; }
.spec .b-title[data-len="3"] { font-size: 26px; }
.spec .b-title[data-len="4"],
.spec .b-title[data-len="5"],
.spec .b-title[data-len="6"] { font-size: 22px; line-height: 1.18; }

/* ==========================================================================
   Hero: copy and the example form left, the real card right
   ========================================================================== */

/* The hero is a dark framed band, like "Za podjetja" on the home page:
   big type, the live example on the dark, real numbers in a bento under it */
.pr-hero__band {
  margin: 12px 12px 0;
  padding: clamp(40px, 6vw, 96px) 0 clamp(16px, 2vw, 24px);
}

.pr-hero__grid {
  display: grid;
  gap: var(--space-8);
}

.pr-hero .pr-display {
  color: var(--on-photo);
  font-size: clamp(44px, 4.6vw + 6px, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.pr-hero .pr-lede { color: rgba(225, 236, 245, 0.78); }
.pr-hero .ui-field__label,
.pr-hero .prb-colors legend { color: var(--on-photo); }
.pr-hero .pr-note { color: rgba(225, 236, 245, 0.65); }
.pr-hero .pr-note .ui-icon { color: rgba(225, 236, 245, 0.65); }
.pr-hero .prb-swatch > input:checked + span { box-shadow: 0 0 0 3px var(--color-night), 0 0 0 5px var(--on-photo); }
.pr-hero .pr-url { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: rgba(225, 236, 245, 0.85); }
.pr-hero .pr-demo { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45)); }

/* Bento: one big activity, the count, two more activities, the towns */
.pr-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
}

.pr-bento__photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--on-photo);
  text-decoration: none;
}

.pr-bento__photo--big { grid-row: span 2; }

.pr-bento__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.pr-bento__photo:hover img { transform: scale(1.04); }

.pr-bento__photo span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  padding: 10px 14px;
  border-radius: var(--radius-control-lg);
  background: rgba(7, 26, 41, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: var(--text-sm);
}

.pr-bento__photo b { font-size: var(--text-base); }

.pr-bento__num {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: rgba(225, 236, 245, 0.75);
  font-size: var(--text-base);
}

.pr-bento__num b {
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: clamp(40px, 3vw + 10px, 64px);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.045em;
}

@media (max-width: 767px) {
  .pr-hero__band { margin: 8px 8px 0; }
  .pr-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .pr-bento__photo--big { grid-column: 1 / -1; grid-row: auto; }
}

.pr-hero__copy {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.pr-form {
  container-type: inline-size;
  width: 100%;
  max-width: 480px;
  margin-top: 8px;
}

.pr-form__row {
  display: grid;
  gap: 0 12px;
}

@container (min-width: 360px) {
  .pr-form__row {
    grid-template-columns: 1.3fr 1fr;
  }
}

.pr-form .ui-field { align-content: start; }
.pr-form > .ui-field:last-child { margin-bottom: 0; }

.prb-colors {
  min-width: 0;
  padding: 0;
  border: 0;
}

.prb-colors legend {
  margin-bottom: 8px;
  padding: 0;
}

.prb-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: -8px;
}

.prb-swatch {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  cursor: pointer;
}

.prb-swatch > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 12%, transparent);
}

.prb-swatch > input:checked + span {
  box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-ink);
}

.prb-swatch > input:focus-visible + span {
  outline: var(--focus-ring);
  outline-offset: 6px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .prb-swatch > span {
    transition: box-shadow var(--duration) ease, transform 0.35s var(--ease-spring);
  }

  .prb-swatch:hover > span {
    transform: scale(1.08);
  }
}

.prb-swatch--deep-orange { --sw: var(--scheme-deep-orange); }
.prb-swatch--teal { --sw: var(--scheme-teal); }
.prb-swatch--indigo { --sw: var(--scheme-indigo); }
.prb-swatch--deep-purple { --sw: var(--scheme-deep-purple); }
.prb-swatch--brown { --sw: var(--scheme-brown); }
.prb-swatch--amber { --sw: var(--scheme-amber); }

.pr-hero__prev {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
}

.pr-demo {
  width: 100%;
  max-width: 400px;
}

.pr-call {
  font-style: normal;
}

.pr-call.is-empty {
  font-weight: var(--weight-ui);
}

.pr-hero__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pr-hero__form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

@media (max-width: 767px) {
  .pr-hero__end .ui-btn,
  .pr-end__do .ui-btn {
    width: 100%;
  }
}

/* Tablet: the example card next to the fields, so typing shows */
@media (min-width: 768px) and (max-width: 1023px) {
  .pr-hero__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 32px;
  }

  .pr-hero__copy,
  .pr-hero__end { grid-column: 1 / -1; }
  .pr-hero__form { grid-column: 1; grid-row: 2; }
  .pr-hero__prev { grid-column: 2; grid-row: 2; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
}

@media (min-width: 1024px) {
  .pr-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 28px;
    align-items: start;
  }

  .pr-hero__copy { grid-column: 1 / 7; grid-row: 1; }
  .pr-hero__form { grid-column: 1 / 7; grid-row: 2; }
  .pr-hero__end { grid-column: 1 / 7; grid-row: 3; }

  .pr-hero__prev {
    grid-column: 7 / 13;
    grid-row: 1 / 4;
    justify-items: end;
    padding-top: 6px;
  }

  .pr-demo { max-width: 360px; }
  .pr-hero__prev .pr-url { margin-right: auto; margin-left: calc(100% - 360px); }
}

@media (min-width: 1280px) {
  /* A wider heading column: the title in two lines, the button above the fold */
  .pr-hero__copy { grid-column: 1 / 8; }
  .pr-hero__prev { grid-column: 8 / 13; }
  .pr-demo { max-width: 400px; }
  .pr-hero__prev .pr-url { margin-left: calc(100% - 400px); }
}


.pr-kicker {
  margin-bottom: -4px;
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-ui-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Ponudba showcase (components.css .ui-offer) under the hero */
.pr-offer { padding-top: var(--section-gap); }

/* ==========================================================================
   Guided tour: a real free page, step by step. Phones and tablets show each
   part under its text; desktop keeps one phone in view that scrolls to the
   step being read (js/prednosti.js). Parts are display copies (.spec).
   ========================================================================== */

.pr-tour {
  padding-top: var(--section-gap);
}

.pr-tour__head,
.pr-all__head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: var(--space-10);
}

/* The tour head carries the page gutter itself: the text column stays 720px wide */
.pr-tour__head { max-width: calc(720px + 2 * var(--gutter)); }

.pr-tour__stage { display: none; }

.pr-tour__steps {
  display: grid;
  gap: 16px;
}

.pr-tour__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.pr-tour__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--c) 14%, var(--color-surface));
  color: color-mix(in oklab, var(--c) 55%, var(--color-ink));
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
}

.pr-tour__txt { min-width: 0; padding-top: 8px; }

.pr-tour__txt h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 1.2;
}

.pr-tour__txt p {
  max-width: 44ch;
  margin-top: 8px;
  color: var(--color-text);
  line-height: 1.55;
  text-wrap: pretty;
}

.pr-tour__txt .pr-tour__where {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.pr-tour__where .ui-icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: color-mix(in oklab, var(--c) 70%, var(--color-ink));
}

.pr-tour__where b {
  color: var(--color-ink);
  font-weight: var(--weight-ui-medium);
}

.pr-tour__shot {
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--c) 6%, var(--color-canvas));
  box-shadow: inset 0 0 0 1px var(--color-hairline);
}

/* A tall part (the form, long text) fades out; shorter parts stay whole */
.pr-tour__shot {
  max-height: 460px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 380px, transparent 460px);
  mask-image: linear-gradient(#000 380px, transparent 460px);
}

/* Parts inside the frames */
:is(.pr-tour__shot, .pr-tour__part) .up-sec {
  margin: 0;
  padding: 8px;
}

.pr-tour .up-sec__h { margin-bottom: 14px; }
.pr-tour .up-sec__h h2 { font-size: var(--text-title); font-weight: var(--weight-bold); }
.pr-tour .up-prose { font-size: var(--text-control); line-height: 1.6; }
.pr-tour .up-grid,
.pr-tour .up-grid[data-n] { grid-auto-rows: 96px; gap: 8px; }
.pr-tour .up-map { height: 200px; }
.pr-tour .up-week > div { padding: 8px 10px; font-size: var(--text-base); }
.pr-tour .up-week dd { grid-template-columns: 7.2em; }
.pr-tour .up-crumbs { display: none; }

.pr-tour .up-cta {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding: 24px;
}

.pr-tour .up-cta h2 { overflow-wrap: normal; hyphens: manual; font-size: var(--text-title); line-height: 1.2; }
.pr-tour .up-cta__btn { justify-self: start; }

@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet: text beside the part */
  .pr-tour__step {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 340px);
    align-items: start;
    padding: 24px;
  }

  .pr-tour__shot { grid-column: 3; grid-row: 1; }
}

@media (min-width: 1024px) {
  .pr-tour__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 120px);
    align-items: start;
  }

  .pr-tour__stage {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--header-h) - 32px);
    max-height: 860px;
  }

  /* A soft glow in the company colour behind the phone */
  .pr-tour__stage::before {
    content: "";
    position: absolute;
    inset: -4% -8%;
    z-index: -1;
    background: radial-gradient(50% 46% at 50% 50%, color-mix(in oklab, var(--c) 24%, transparent), transparent 72%);
  }

  .pr-tour__device {
    position: relative;
    width: min(380px, 100%);
    height: min(780px, 100%);
    padding: 10px;
    border-radius: 50px;
    background: var(--color-device);
    box-shadow:
      0 40px 60px -36px rgba(7, 26, 41, 0.5),
      inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }

  .pr-tour__screen {
    height: 100%;
    overflow: hidden;
    border-radius: 40px;
    background: var(--color-canvas);
  }

  .pr-tour__page {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 0 6px 20px;
  }

  .pr-tour__part {
    border-radius: var(--radius-xl);
    transition: opacity 0.5s ease, box-shadow 0.5s ease;
  }

  .pr-tour.is-live .pr-tour__part:not(.is-on) { opacity: 0.32; }
  .pr-tour.is-live .pr-tour__part.is-on { box-shadow: 0 0 0 2px color-mix(in oklab, var(--c) 55%, transparent); }

  /* The band and card sit flush at the top of the screen */
  .pr-tour__part:first-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

  .pr-tour:not(.is-live) .pr-tour__screen { overflow-y: auto; }

  .pr-tour__steps { gap: 0; }

  .pr-tour__step {
    min-height: 64vh;
    align-content: center;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .pr-tour__step:first-child { min-height: 50vh; align-content: start; padding-top: 12vh; }
  .pr-tour__step:last-child { min-height: 50vh; align-content: end; padding-bottom: 20vh; }

  .pr-tour.is-live .pr-tour__step { opacity: 0.38; transition: opacity 0.4s ease; }
  .pr-tour.is-live .pr-tour__step.is-on { opacity: 1; }

  .pr-tour__shot { display: none; }

  .pr-tour__num { width: 52px; height: 52px; font-size: var(--text-md); }
  .pr-tour__txt h3 { font-size: clamp(26px, 1.2vw + 12px, 34px); }
  .pr-tour__txt p { font-size: var(--text-md); }

  .pr-tour__page {
    transition: transform 0.9s var(--ease-out-expo);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-tour__page,
  .pr-tour__part,
  .pr-tour__step { transition: none; }
}

/* ==========================================================================
   Every feature, in the editor's three groups
   ========================================================================== */

.pr-all {
  padding-top: var(--section-gap);
}

.pr-all__group {
  display: grid;
  gap: 24px;
  padding-top: clamp(32px, 4vw, 48px);
}

.pr-all__group + .pr-all__group {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--color-line);
}

.pr-all__gh {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
  align-self: start;
}

.pr-all__gn {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
}

.pr-all__gh h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 1.2vw + 14px, 36px);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 1.1;
}

.pr-all__gh p {
  grid-column: 2;
  margin-top: 6px;
  color: var(--color-muted);
}

.pr-all__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.pr-feat {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.pr-feat__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  border-radius: var(--radius-control-lg);
  background: color-mix(in oklab, var(--color-brand) 14%, var(--color-surface));
  color: var(--color-primary);
}

.pr-feat__ic .ui-icon { width: 22px; height: 22px; }

.pr-feat h4 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-name);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 1.25;
}

.pr-feat h4 .ui-badge {
  vertical-align: 2px;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.pr-feat p {
  margin: 0;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.5;
  text-wrap: pretty;
}

.pr-feat .pr-feat__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pr-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-ui-medium);
  line-height: 1.35;
}

.pr-chip .ui-icon { flex: none; width: 14px; height: 14px; }
.pr-chip.is-free { background: var(--color-success-soft); color: var(--color-success-ink); }
.pr-chip.is-paid { background: color-mix(in oklab, var(--color-gold) 16%, var(--color-surface)); color: var(--color-gold-strong); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pr-feat { transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo); }
  .pr-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg, var(--shadow-card)); }
}

.pr-all__note { margin-top: var(--space-8); }

@media (min-width: 1024px) {
  .pr-all__group {
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 48px;
  }

  .pr-all__gh {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .pr-all__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Closing band: the dark surface of the hero, steps, both actions, a photo
   ========================================================================== */

.pr-end {
  padding: var(--section-gap) 12px 12px;
}

.pr-end__band {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 104px) 0;
}

.pr-end__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.pr-end__copy { min-width: 0; }

.ui-band-dark .pr-end__lede {
  max-width: 40ch;
  margin-top: 22px;
  color: rgba(225, 236, 245, 0.8);
  font-size: clamp(17px, 0.4vw + 15px, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}

.pr-end__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  counter-reset: pr-step;
}

.pr-end__steps li {
  display: grid;
  align-content: start;
  gap: 6px;
  counter-increment: pr-step;
}

.pr-end__steps li::before {
  content: "0" counter(pr-step);
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-display);
  font-size: clamp(32px, 2vw + 12px, 44px);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.pr-end__steps b { margin-top: 8px; font-weight: var(--weight-ui-bold); }

.ui-band-dark .pr-end__steps span {
  color: rgba(225, 236, 245, 0.68);
  font-size: var(--text-base);
  line-height: 1.45;
}

.pr-end__do {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 44px);
}

.ui-band-dark .pr-end__note {
  max-width: 52ch;
  margin-top: var(--space-5);
  color: rgba(225, 236, 245, 0.62);
  font-size: var(--text-base);
}

.pr-end__note a { font-weight: var(--weight-ui-bold); }

.pr-end__shot {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
}

.pr-end__shot img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.pr-end__pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(16, 40, 58, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(225, 236, 245, 0.85);
  font-size: var(--text-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-photo);
}

.pr-end__pill .ui-icon { width: 16px; height: 16px; color: var(--color-brand); }
.pr-end__pill--1 { top: 10%; left: 16px; }
.pr-end__pill--2 { right: 16px; bottom: 10%; }

@media (max-width: 767px) {
  .pr-end { padding-inline: 8px; padding-bottom: 8px; }
  .pr-end__steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pr-end__steps li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; }
  .pr-end__steps li::before { grid-row: span 2; font-size: 32px; }
  .pr-end__steps b { margin-top: 0; }
}

@media (min-width: 1024px) {
  .pr-end__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(48px, 5vw, 96px); }
  .pr-end__shot { aspect-ratio: 4 / 5; }
  .pr-end__pill--1 { left: -28px; }
  .pr-end__pill--2 { right: -20px; }
}
