/* ==========================================================================
   Pic Edit — landing page styles
   --------------------------------------------------------------------------
   00  Tokens
   01  Base & typography
   02  Shared components (buttons, pills, chips, section heads, mockups)
   03  Header
   04  Hero + marquee
   05  Features
   06  How it works
   07  Why us
   08  Pricing
   09  FAQ
   10  Support CTA
   11  Footer
   12  Responsive
   ========================================================================== */


/* ==========================================================================
   00  TOKENS
   ========================================================================== */
:root {
  /* brand */
  --pe-orange:      #F79500;
  --pe-orange-600:  #D97D00;
  --pe-orange-700:  #B36600;
  --pe-orange-050:  #FFF3E0;
  --pe-orange-100:  #FFE6C4;

  /* warm neutrals */
  --pe-ink:         #241A11;   /* headings */
  --pe-body:        #6B5D50;   /* paragraph text */
  --pe-muted:       #9A8C7E;
  --pe-espresso:    #2A1C0E;   /* the two dark moments */
  --pe-paper:       #FFFFFF;
  --pe-shell:       #FBF7F2;
  --pe-line:        #ECE2D6;
  --pe-line-soft:   #F4EDE4;

  /* canvas tints used behind the feature mockups */
  --pe-tint-peach:  #FFEFDC;
  --pe-tint-sand:   #F6EFE4;
  --pe-tint-stone:  #EFEDE8;
  --pe-tint-blush:  #FBEBE4;

  /* type */
  --pe-font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --pe-font-text:    "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* radii + shadow */
  --pe-r-sm: 10px;
  --pe-r-md: 16px;
  --pe-r-lg: 24px;
  --pe-r-xl: 32px;
  --pe-r-pill: 999px;

  --pe-shadow-card: 0 1px 2px rgba(36, 26, 17, .04), 0 12px 28px -12px rgba(36, 26, 17, .10);
  --pe-shadow-lift: 0 2px 6px rgba(36, 26, 17, .05), 0 28px 60px -24px rgba(36, 26, 17, .22);

  /* rhythm */
  --pe-section-y: 5rem;
}


/* ==========================================================================
   01  BASE & TYPOGRAPHY
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--pe-font-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pe-body);
  background: var(--pe-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--pe-font-display);
  color: var(--pe-ink);
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; padding-inline: 1.5rem; }

/* type scale */
.pe-display {
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-weight: 600;
}
.pe-display--sm { font-size: clamp(2.1rem, 3.6vw, 3rem); }

.pe-h2 {
  font-size: clamp(1.95rem, 3.1vw, 2.8rem);
  line-height: 1.12;
}
.pe-h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.pe-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 33rem;
}

/* accent dot that closes a heading (from reference 3 / 4) */
.pe-dot-accent {
  display: inline-block;
  width: .42em; height: .42em;
  margin-left: .22em;
  border-radius: 50%;
  background: var(--pe-orange);
  vertical-align: baseline;
}

/* utility */
.pe-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.pe-skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--pe-espresso); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--pe-r-sm) 0;
}
.pe-skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--pe-orange-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.pe-section { padding-block: var(--pe-section-y); }


/* ==========================================================================
   02  SHARED COMPONENTS
   ========================================================================== */

/* --- buttons ------------------------------------------------------------- */
.pe-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--pe-font-text);
  font-size: .975rem; font-weight: 600;
  padding: .95rem 1.7rem;
  border-radius: var(--pe-r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pe-btn--primary {
  background: var(--pe-orange);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(247, 149, 0, .85);
}
.pe-btn--primary:hover { background: var(--pe-orange-600); transform: translateY(-1px); }
.pe-btn--ghost {
  background: transparent;
  color: var(--pe-ink);
  border-color: var(--pe-line);
}
.pe-btn--ghost:hover { border-color: var(--pe-ink); background: #fff; }
.pe-btn--sm { padding: .6rem 1.25rem; font-size: .9rem; }
.pe-btn--lg { padding: 1.05rem 2.2rem; font-size: 1.03rem; }
.pe-btn--block { display: flex; width: 100%; }

/* --- inline links -------------------------------------------------------- */
.pe-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--pe-orange-600);
  font-weight: 600; font-size: .95rem;
}
.pe-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.pe-link:hover { color: var(--pe-orange-700); }
.pe-link:hover svg { transform: translateX(4px); }

.pe-link-plain { color: var(--pe-ink); font-weight: 500; font-size: .95rem; }
.pe-link-plain:hover { color: var(--pe-orange-600); }

/* --- eyebrow pill (reference 3 / 4) ------------------------------------- */
.pe-pill {
  display: inline-block;
  font-size: .82rem; font-weight: 600;
  color: var(--pe-orange-700);
  background: var(--pe-orange-050);
  border: 1px solid var(--pe-orange-100);
  padding: .35rem .85rem;
  border-radius: var(--pe-r-pill);
  margin-bottom: 1.15rem;
}

/* --- section heads ------------------------------------------------------ */
.pe-section__head { margin-bottom: 3rem; }
.pe-section__head--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: end;
}
.pe-section__head--center { text-align: center; margin-inline: auto; }
.pe-section__head--center .pe-section__note { margin-inline: auto; }

.pe-section__note {
  max-width: 42rem;
  margin-top: 1.1rem;
  font-size: 1.0125rem;
}
.pe-section__note--tight { margin-bottom: 2.5rem; }

/* --- chips + dots ------------------------------------------------------- */
.pe-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 500;
  color: var(--pe-body);
  background: #fff;
  border: 1px solid var(--pe-line);
  padding: .38rem .7rem;
  border-radius: var(--pe-r-pill);
  white-space: nowrap;
  font-family: var(--pe-font-text);
  cursor: default;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.pe-chip svg { width: 13px; height: 13px; }
.pe-chip--on {
  color: var(--pe-orange-700);
  background: var(--pe-orange-050);
  border-color: var(--pe-orange-100);
}
button.pe-chip { cursor: pointer; }
button.pe-chip:hover { border-color: var(--pe-orange); color: var(--pe-orange-700); }

.pe-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #37B36B; display: inline-block;
}

/* --- mockup shell used by every feature visual -------------------------- */
.pe-canvas {
  border-radius: var(--pe-r-xl);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.pe-canvas::after {                     /* faint grain so tints aren't flat */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(36,26,17,.055) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .5;
  pointer-events: none;
}
.pe-canvas--peach { background: linear-gradient(150deg, var(--pe-tint-peach), #FFF8EE); }
.pe-canvas--sand  { background: linear-gradient(150deg, var(--pe-tint-sand),  #FDFAF5); }
.pe-canvas--stone { background: linear-gradient(150deg, var(--pe-tint-stone), #F9F8F5); }
.pe-canvas--blush { background: linear-gradient(150deg, var(--pe-tint-blush), #FFF7F3); }

.pe-mock {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 27rem;
  background: #fff;
  border: 1px solid rgba(36, 26, 17, .07);
  border-radius: var(--pe-r-lg);
  padding: .8rem;
  box-shadow: var(--pe-shadow-lift);
}
.pe-mock__bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .8rem .3rem .2rem;
  flex-wrap: wrap;
}
.pe-mock__bar--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pe-mock__bar--scroll::-webkit-scrollbar { display: none; }

/* preset filter looks, reused in the hero tray and the grade module */
.pe-fx--none  { filter: none; }
.pe-fx--vivid { filter: saturate(1.55) contrast(1.12); }
.pe-fx--film  { filter: grayscale(1) contrast(1.15) brightness(1.04); }
.pe-fx--dream { filter: sepia(.32) saturate(1.3) brightness(1.06); }
.pe-fx--cool  { filter: hue-rotate(-18deg) saturate(1.15) brightness(1.02) contrast(1.06); }


/* ==========================================================================
   03  HEADER
   ========================================================================== */
.pe-header {
  position: sticky; top: 0; z-index: 60;
  padding-block: 1.15rem;
  transition: padding .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.pe-header.is-stuck {
  padding-block: .7rem;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--pe-line-soft), 0 10px 30px -22px rgba(36,26,17,.35);
}

.pe-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.pe-logo { display: inline-flex; align-items: center; gap: .6rem; max-width: 150px;}
.pe-logo__mark { width: 32px; height: 32px; flex: none; }
.pe-logo__mark svg { width: 100%; height: 100%; }
.pe-logo__text {
  font-family: var(--pe-font-display);
  font-weight: 600; font-size: 1.22rem;
  color: var(--pe-ink); letter-spacing: -.02em;
}
.pe-logo__text span { font-weight: 500; color: var(--pe-orange); }

.pe-nav__collapse { flex: 1; align-items: center; justify-content: space-between; }

/* Bootstrap ships `.collapse:not(.show){display:none}`; from lg up the menu is
   always visible, so this needs to outrank it rather than sit beside it. */
@media (min-width: 992px) {
  .pe-nav .pe-nav__collapse.collapse:not(.show) { display: flex; }
  .pe-nav .pe-nav__collapse.collapsing { display: flex; height: auto !important; }
}

.pe-nav__list { display: flex; align-items: center; gap: .35rem; margin-inline: auto; }
.pe-nav__list a {
  display: block;
  padding: .5rem .9rem;
  font-size: .95rem; font-weight: 500;
  color: var(--pe-body);
  border-radius: var(--pe-r-pill);
  transition: color .16s ease, background-color .16s ease;
}
.pe-nav__list a:hover { color: var(--pe-ink); background: var(--pe-shell); }
.pe-nav__list a.is-current { color: var(--pe-ink); }

.pe-nav__actions { display: flex; align-items: center; gap: 1.1rem; }

/* burger */
.pe-burger {
  display: none;
  width: 44px; height: 40px;
  border: 1px solid var(--pe-line);
  border-radius: 12px;
  background: #fff;
  padding: 0 11px;
}
.pe-burger span {
  display: block; height: 1.7px; margin: 4px 0;
  background: var(--pe-ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.pe-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.7px) rotate(45deg); }
.pe-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pe-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.7px) rotate(-45deg); }


/* ==========================================================================
   04  HERO
   ========================================================================== */
.pe-hero { position: relative; padding-top: 3.5rem; }

.pe-hero__wash {
  position: absolute; inset: -14rem 0 auto 0;
  height: 46rem;
  z-index: -1;
  background:
    radial-gradient(58% 44% at 78% 34%, rgba(247, 149, 0, .16), transparent 68%),
    radial-gradient(46% 40% at 12% 12%, rgba(247, 149, 0, .09), transparent 70%),
    linear-gradient(180deg, #FFF8EE 0%, #FFFDFA 62%, #FFFFFF 100%);
}

.pe-hero__copy { padding-right: 1rem; }
.pe-hero .pe-lead { margin-top: 1.6rem; }
.pe-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.pe-hero__note { margin-top: 1.35rem; font-size: .875rem; color: var(--pe-muted); }

/* one orchestrated page-load reveal */
.pe-reveal { animation: peRise .7s cubic-bezier(.22, .68, .3, 1) both; animation-delay: var(--d, 0ms); }
@keyframes peRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* stage */
.pe-hero__stage { position: relative; padding: 0 0 3.5rem 2.5rem; }

.pe-hero__frame {
  margin: 0;
  border-radius: var(--pe-r-lg);
  overflow: hidden;
  box-shadow: var(--pe-shadow-lift);
  aspect-ratio: 4 / 3;
}
.pe-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* floating tool panel */
.pe-panel {
  position: absolute;
  left: 0; top: 22%;
  width: 12.5rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 26, 17, .07);
  border-radius: var(--pe-r-md);
  padding: .8rem;
  box-shadow: var(--pe-shadow-lift);
}
.pe-panel__title { font-size: .68rem; color: var(--pe-muted); font-weight: 600; margin-bottom: .4rem; }
.pe-seg {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; padding: 2px;
  background: var(--pe-shell);
  border-radius: var(--pe-r-sm);
  font-size: .62rem; font-weight: 500;
  text-align: center;
}
.pe-seg span { padding: .28rem 0; border-radius: 7px; color: var(--pe-muted); }
.pe-seg .is-on { background: #fff; color: var(--pe-ink); box-shadow: 0 1px 3px rgba(36,26,17,.12); }

.pe-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-top: .5rem; }
.pe-panel__tile {
  display: grid; justify-items: center; gap: .2rem;
  padding: .5rem .2rem;
  border: 1px solid var(--pe-line-soft);
  border-radius: var(--pe-r-sm);
  font-size: .6rem; color: var(--pe-body);
}
.pe-panel__tile svg { width: 15px; height: 15px; color: var(--pe-orange); }

.pe-panel__label { font-size: .6rem; color: var(--pe-muted); margin: .6rem 0 .25rem; }
.pe-panel__field {
  font-size: .64rem; color: var(--pe-ink);
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r-sm);
  padding: .38rem .5rem;
  background: #fff;
}
.pe-panel__row {
  display: flex; align-items: center; gap: .35rem;
  margin-top: .55rem; font-size: .6rem; color: var(--pe-muted);
}

/* preset tray */
.pe-tray {
  position: absolute;
  right: 4%; bottom: 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 26, 17, .07);
  border-radius: var(--pe-r-md);
  padding: .6rem .7rem;
  box-shadow: var(--pe-shadow-lift);
}
.pe-tray__list { display: flex; gap: .45rem; }
.pe-tray__list li { display: grid; justify-items: center; gap: .28rem; }
.pe-tray__list img {
  width: 46px; height: 40px; object-fit: cover;
  border-radius: 8px;
}
.pe-tray__list li:first-child img { outline: 2px solid var(--pe-orange); outline-offset: 2px; }
.pe-tray__list span { font-size: .58rem; color: var(--pe-muted); }
.pe-tray__more {
  width: 46px; height: 40px;
  display: grid !important; place-content: center;
  background: var(--pe-shell); border-radius: 8px;
  gap: 0 !important;
}
.pe-tray__more b { font-size: .62rem; color: var(--pe-ink); }
.pe-tray__more span { font-size: .5rem; }

/* --- marquee ------------------------------------------------------------ */
.pe-marquee { margin-top: 3.75rem; padding-block: 2.5rem 0; border-top: 1px solid var(--pe-line-soft); }
.pe-marquee__label {
  text-align: center; font-size: .875rem; color: var(--pe-muted);
  margin-bottom: 1.6rem;
}
.pe-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pe-marquee__track { display: flex; width: max-content; animation: peSlide 34s linear infinite; }
.pe-marquee__set { display: flex; align-items: center; gap: 3.5rem; padding-right: 3.5rem; }
.pe-marquee__set li {
  font-family: var(--pe-font-display);
  font-size: 1.05rem; font-weight: 500;
  color: #B6A899;
  letter-spacing: -.01em;
  white-space: nowrap;
}
@keyframes peSlide { to { transform: translateX(-50%); } }


/* ==========================================================================
   05  FEATURES
   ========================================================================== */
.pe-features { padding-top: 5.5rem; }

.pe-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding-top: clamp(2.25rem, 3.6vw, 3.5rem);
}
.pe-feature--flip .pe-feature__text  { order: 2; }
.pe-feature--flip .pe-feature__visual { order: 1; }

.pe-feature__text { max-width: 30rem; }
.pe-feature__tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 600;
  color: var(--pe-orange-700);
  margin-bottom: 1rem;
}
.pe-feature__tag svg { width: 17px; height: 17px; }
.pe-feature__text p { margin: 1rem 0 1.6rem; }

/* 05.1 cutout mockup ----------------------------------------------------- */
.pe-mock--cutout { max-width: 19.5rem; }
.pe-mock--cutout .pe-cutout {
  position: relative;
  border-radius: var(--pe-r-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  /* transparency checkerboard */
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #EFEAE3 25%, transparent 25%, transparent 75%, #EFEAE3 75%),
    linear-gradient(45deg, #EFEAE3 25%, transparent 25%, transparent 75%, #EFEAE3 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
}
.pe-cutout__src {
  width: 100%; height: 100%; object-fit: cover;
  /* keeps the subject, drops the surrounding frame -> reads as a cutout */
}
.pe-cutout__edge {
  position: absolute;
  left: 3.4%; top: -8.6%;
  width: 93.2%; height: 109.2%;
  border-radius: 50%;
  border: 1.5px dashed rgba(247, 149, 0, .75);
  pointer-events: none;
}

/* 05.2 before / after comparator ---------------------------------------- */
.pe-compare {
  position: relative;
  border-radius: var(--pe-r-md);
  overflow: hidden;
  aspect-ratio: 19 / 14;
  isolation: isolate;
}
.pe-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pe-compare__img--before { filter: saturate(.78) contrast(1.1) brightness(.95) sepia(.07); }
.pe-compare__img--after  {
  filter: saturate(1.06) contrast(1.02) brightness(1.05);
  -webkit-clip-path: inset(0 0 0 var(--pos));
  clip-path: inset(0 0 0 var(--pos));
}
.pe-compare__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px; background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(36, 26, 17, .12);
  transform: translateX(-1px);
}
.pe-compare__handle i {
  position: absolute; top: 50%; left: 50%;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(36, 26, 17, .28);
}
.pe-compare__handle i::before,
.pe-compare__handle i::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border: 4.5px solid transparent;
}
.pe-compare__handle i::before { left: 7px;  transform: translateY(-50%); border-right-color: var(--pe-ink); }
.pe-compare__handle i::after  { right: 7px; transform: translateY(-50%); border-left-color:  var(--pe-ink); }

.pe-compare__tag {
  position: absolute; bottom: .7rem;
  font-size: .68rem; font-weight: 600; color: #fff;
  background: rgba(36, 26, 17, .55);
  backdrop-filter: blur(4px);
  padding: .22rem .55rem; border-radius: var(--pe-r-pill);
}
.pe-compare__tag--l { left: .7rem; }
.pe-compare__tag--r { right: .7rem; }

.pe-compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
  background: transparent;
}

/* 05.3 upscaler --------------------------------------------------------- */
.pe-upscale { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1.35fr); gap: .7rem; align-items: center; }
.pe-upscale__pane { margin: 0; }
.pe-upscale__pane img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--pe-r-sm);
}
.pe-upscale__low { image-rendering: pixelated; }
.pe-upscale__pane figcaption {
  font-size: .62rem; color: var(--pe-muted);
  margin-top: .4rem; text-align: center;
}
.pe-upscale__pane--hi figcaption { color: var(--pe-orange-700); font-weight: 600; }
.pe-upscale__arrow { color: var(--pe-orange); }
.pe-upscale__arrow svg { width: 20px; height: 20px; }

/* 05.4 film grade ------------------------------------------------------- */
.pe-grade { position: relative; border-radius: var(--pe-r-md); overflow: hidden; }
.pe-grade__img {
  width: 100%; aspect-ratio: 19 / 13; object-fit: cover;
  transition: filter .35s ease;
}
.pe-grade__name {
  position: absolute; left: .7rem; bottom: .7rem;
  font-size: .68rem; font-weight: 600; color: #fff;
  background: rgba(36, 26, 17, .55);
  backdrop-filter: blur(4px);
  padding: .22rem .6rem; border-radius: var(--pe-r-pill);
}

/* 05.5 batch queue ------------------------------------------------------ */
.pe-queue__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .25rem .35rem .7rem;
}
.pe-queue__head b { font-family: var(--pe-font-display); font-size: .92rem; color: var(--pe-ink); }
.pe-queue__head span { font-size: .72rem; color: var(--pe-muted); }

.pe-queue li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: .65rem; align-items: center;
  padding: .5rem .35rem;
  border-top: 1px solid var(--pe-line-soft);
}
.pe-queue li img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.pe-queue li b { display: block; font-size: .74rem; font-weight: 500; color: var(--pe-ink); }
.pe-queue li i {
  display: block; height: 4px; margin-top: .35rem;
  border-radius: 4px; background: var(--pe-line);
  position: relative; overflow: hidden;
}
.pe-queue li i::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: var(--p, 0%); background: var(--pe-orange); border-radius: 4px;
}
.pe-queue li.is-active i::after { background: var(--pe-orange); }
.pe-queue__ok {
  width: 19px; height: 19px; border-radius: 50%;
  background: #E7F6EC; color: #2E9455;
  display: grid; place-content: center;
}
.pe-queue__ok svg { width: 11px; height: 11px; }
.pe-queue__pct { font-size: .68rem; color: var(--pe-muted); }

/* 05.6 colour panel ----------------------------------------------------- */
.pe-color { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: .7rem; }
.pe-color__preview { margin: 0; }
.pe-color__preview img {
  width: 100%; height: 100%; min-height: 11rem;
  object-fit: cover; border-radius: var(--pe-r-sm);
  transition: filter .12s linear;
}
.pe-color__panel { display: grid; gap: .55rem; align-content: start; }

.pe-curve {
  width: 100%; height: auto;
  background: var(--pe-shell);
  border-radius: var(--pe-r-sm);
  padding: .3rem;
}
.pe-curve__grid path { stroke: rgba(36,26,17,.09); stroke-width: 1; }
.pe-curve__base { stroke: rgba(36,26,17,.16); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.pe-curve__line { stroke: var(--pe-orange); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.pe-curve__pt { fill: #fff; stroke: var(--pe-orange); stroke-width: 2; }

.pe-slider { display: block; }
.pe-slider > span {
  display: flex; justify-content: space-between;
  font-size: .66rem; color: var(--pe-muted); margin-bottom: .22rem;
}
.pe-slider > span b { color: var(--pe-ink); font-weight: 600; }
.pe-slider input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; margin: 0;
  border-radius: 4px;
  background: var(--pe-line);
  cursor: pointer;
}
.pe-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--pe-orange); border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(36,26,17,.3);
}
.pe-slider input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%;
  background: var(--pe-orange);
}
.pe-slider--static i {
  display: block; height: 4px; border-radius: 4px;
  background: var(--pe-line); position: relative;
}
.pe-slider--static i::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: var(--p, 50%); background: rgba(247, 149, 0, .48); border-radius: 4px;
}


/* ==========================================================================
   06  HOW IT WORKS
   ========================================================================== */
.pe-how { background: var(--pe-shell); }

/* accordion — shared skin */
.pe-acc__item {
  background: transparent;
  border: 0;
  margin-bottom: .6rem;
}
.pe-acc__btn {
  width: 100%;
  display: flex; align-items: center; gap: .85rem;
  font-family: var(--pe-font-text);
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r-md);
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.pe-acc__btn::after { display: none; }              /* kill Bootstrap chevron */
.pe-acc__btn:focus { box-shadow: none; }
.pe-acc__btn:not(.collapsed) {
  /* Bootstrap's active state is blue by default; reset bg, text and ring here */
  background: #fff;
  color: var(--pe-ink);
  border-color: var(--pe-orange);
  box-shadow: none;
}
.pe-acc__title {
  font-family: var(--pe-font-display);
  font-weight: 500; font-size: 1rem;
  color: var(--pe-ink);
  text-align: left; flex: 1;
  letter-spacing: -.015em;
}
.pe-acc__body {
  padding: .3rem 1.2rem 1.15rem 3.9rem;
  font-size: .95rem;
}

/* steps variant */
.pe-acc__icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px;
  display: grid; place-content: center;
  background: var(--pe-orange-050);
  color: var(--pe-orange-700);
}
.pe-acc__icon svg { width: 17px; height: 17px; }
.pe-acc__btn:not(.collapsed) .pe-acc__icon { background: var(--pe-orange); color: #fff; }
.pe-acc__step {
  font-family: var(--pe-font-display);
  font-size: .8rem; font-weight: 600;
  color: var(--pe-muted);
}
.pe-acc__btn:not(.collapsed) .pe-acc__step { color: var(--pe-orange); }

/* collage */
.pe-collage {
  position: relative;
  aspect-ratio: 1 / .82;
  max-width: 34rem;
  margin-left: auto;
}
.pe-collage__blob { position: absolute; border-radius: 50%; }
.pe-collage__blob--a {
  width: 56%; aspect-ratio: 1; right: 6%; top: 4%;
  background: radial-gradient(circle at 32% 28%, #FFC46B, var(--pe-orange));
}
.pe-collage__blob--b {
  width: 36%; aspect-ratio: 1; left: 2%; bottom: 6%;
  background: radial-gradient(circle at 35% 30%, #FFE3B4, #FFCB83);
}
.pe-collage__shot { position: absolute; margin: 0; border-radius: 50%; overflow: hidden; }
.pe-collage__shot img { width: 100%; height: 100%; object-fit: cover; }
.pe-collage__shot--main  { width: 50%; aspect-ratio: 1; right: 9%; top: 7.7%;
  box-shadow: 0 22px 44px -18px rgba(36,26,17,.35); }
.pe-collage__shot--two   { width: 30%; aspect-ratio: 1; left: 4%;  bottom: 8.4%;
  box-shadow: 0 18px 34px -16px rgba(36,26,17,.3); }
.pe-collage__shot--three { width: 27%; aspect-ratio: 1; right: 2%; bottom: 4%;
  box-shadow: 0 0 0 9px rgba(247, 149, 0, .16), 0 18px 34px -16px rgba(36,26,17,.3); }

.pe-collage__play {
  position: absolute; right: 2%; top: 2%;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--pe-orange); color: #fff;
  display: grid; place-content: center;
  box-shadow: 0 14px 26px -10px rgba(247,149,0,.85);
}
.pe-collage__play svg { width: 17px; height: 17px; margin-left: 2px; }

.pe-collage__rail {
  position: absolute; left: 29%; top: 26%;
  display: grid; gap: .3rem;
  padding: .4rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: var(--pe-r-md);
  box-shadow: var(--pe-shadow-lift);
}
.pe-collage__rail span {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-content: center;
  color: var(--pe-body);
}
.pe-collage__rail span svg { width: 15px; height: 15px; }
.pe-collage__rail .is-on { background: var(--pe-orange-050); color: var(--pe-orange-700); }

.pe-collage__swatches {
  position: absolute; right: 14%; bottom: 27%;
  display: flex; gap: .35rem;
  padding: .4rem .5rem;
  background: rgba(255,255,255,.95);
  border-radius: var(--pe-r-pill);
  box-shadow: var(--pe-shadow-lift);
}
.pe-collage__swatches i { width: 12px; height: 12px; border-radius: 50%; }
.pe-collage__swatches i:nth-child(1) { background: #F79500; }
.pe-collage__swatches i:nth-child(2) { background: #E9614B; }
.pe-collage__swatches i:nth-child(3) { background: #4C8FE0; }
.pe-collage__swatches i:nth-child(4) { background: #37B36B; }
.pe-collage__swatches i:nth-child(5) { background: #8A6BD1; }


/* ==========================================================================
   07  WHY US
   ========================================================================== */
.pe-why__card {
  height: 100%;
  padding: 1.9rem 1.6rem;
  background: var(--pe-shell);
  border: 1px solid var(--pe-line-soft);
  border-radius: var(--pe-r-lg);
  transition: border-color .2s ease, background-color .2s ease;
}
.pe-why__card:hover { border-color: var(--pe-line); background: #fff; }
.pe-why__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-content: center;
  background: #fff;
  border: 1px solid var(--pe-line);
  color: var(--pe-ink);
  margin-bottom: 1.6rem;
}
.pe-why__icon svg { width: 21px; height: 21px; }
.pe-why__card.is-featured { background: #fff; border-color: var(--pe-orange-100); }
.pe-why__card.is-featured .pe-why__icon {
  background: var(--pe-orange); border-color: var(--pe-orange); color: #fff;
  box-shadow: 0 12px 22px -12px rgba(247,149,0,.9);
}
.pe-why__card h3 {
  font-size: 1.09rem; font-weight: 600;
  margin-bottom: .55rem; line-height: 1.3;
}
.pe-why__card p { font-size: .93rem; line-height: 1.6; }


/* ==========================================================================
   08  PRICING
   ========================================================================== */
.pe-pricing { background: var(--pe-shell); }
.pe-plans { align-items: stretch; }

.pe-plan {
  height: 100%;
  background: #fff;
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r-xl);
  padding: 2rem 1.9rem 2.2rem;
}
.pe-plan__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.9rem; }
.pe-plan__mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-content: center;
  background: var(--pe-shell); color: var(--pe-muted);
}
.pe-plan__mark svg { width: 15px; height: 15px; }
.pe-plan__mark--pro { background: transparent; width: 30px; height: 30px; }
.pe-plan__mark--pro svg { width: 30px; height: 30px; }
.pe-plan__name {
  font-family: var(--pe-font-display);
  font-size: 1.02rem; font-weight: 500; color: var(--pe-ink);
}

.pe-plan__price { display: flex; align-items: baseline; gap: .3rem; }
.pe-plan__price b {
  font-family: var(--pe-font-display);
  font-size: 2.6rem; font-weight: 600; color: var(--pe-ink);
  letter-spacing: -.03em; line-height: 1;
}
.pe-plan__price span { font-size: .95rem; color: var(--pe-muted); }
.pe-plan__sub { font-size: .84rem; color: var(--pe-muted); margin-top: .5rem; }

.pe-plan__list { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--pe-line-soft); }
.pe-plan__list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .93rem; line-height: 1.5;
  padding-block: .52rem;
}
.pe-tick {
  flex: none; width: 19px; height: 19px; margin-top: .12rem;
  border-radius: 50%;
  display: grid; place-content: center;
  background: rgba(247, 149, 0, .16); color: var(--pe-orange);
}
.pe-tick svg { width: 11px; height: 11px; }
.pe-tick--no { background: transparent; color: #C6B7A7; }

/* featured card — the one dark moment in the page */
.pe-plan--pro {
  position: relative;
  background: var(--pe-espresso);
  border-color: var(--pe-espresso);
  overflow: hidden;
  padding: 0;
  box-shadow: var(--pe-shadow-lift);
}
.pe-plan__bleed { position: absolute; inset: 0 0 auto 0; height: 48%; }
.pe-plan__bleed img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.pe-plan__bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,28,14,.12) 0%, rgba(42,28,14,.62) 52%, var(--pe-espresso) 100%);
}
.pe-plan__body { position: relative; z-index: 1; padding: 2rem 1.9rem 2.2rem; }
.pe-plan--pro .pe-plan__name  { color: #fff; }
.pe-plan--pro .pe-plan__price b { color: #fff; }
.pe-plan--pro .pe-plan__price span,
.pe-plan--pro .pe-plan__sub   { color: rgba(255,255,255,.72); }
.pe-plan--pro .pe-plan__list  { border-top-color: rgba(255,255,255,.14); }
.pe-plan--pro .pe-plan__list li { color: rgba(255,255,255,.9); }
.pe-plan--pro .pe-tick { background: var(--pe-orange); color: #fff; }
.pe-plan--pro .pe-btn { margin-top: 1.7rem; }

.pe-pricing__foot {
  text-align: center; margin-top: 2.6rem;
  font-size: .95rem;
}
.pe-pricing__foot b { color: var(--pe-ink); }
.pe-pricing__foot a { margin-left: .6rem; text-decoration: underline; text-underline-offset: 3px; }


/* ==========================================================================
   09  FAQ
   ========================================================================== */
.pe-faq .pe-acc { max-width: 46rem; margin-inline: auto; }
.pe-acc--faq .pe-acc__btn { padding: 1.15rem 1.4rem; border-radius: var(--pe-r-md); }
.pe-acc--faq .pe-acc__body { padding: 0 1.4rem 1.3rem; font-size: .94rem; }

/* open row inverts, as in the reference */
.pe-acc--faq .pe-acc__item:has(.pe-acc__btn:not(.collapsed)) {
  background: var(--pe-espresso);
  border-radius: var(--pe-r-md);
  overflow: hidden;
}
.pe-acc--faq .pe-acc__btn:not(.collapsed) {
  background: var(--pe-espresso);
  border-color: transparent;
  padding-bottom: .75rem;
}
.pe-acc--faq .pe-acc__btn:not(.collapsed) .pe-acc__title { color: #fff; }
.pe-acc--faq .pe-acc__item:has(.pe-acc__btn:not(.collapsed)) .pe-acc__body { color: rgba(255,255,255,.74); }

/* +/− sign */
.pe-acc__sign { position: relative; width: 15px; height: 15px; flex: none; }
.pe-acc__sign::before,
.pe-acc__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--pe-muted); border-radius: 2px;
  transition: transform .22s ease, background-color .22s ease;
}
.pe-acc__sign::before { width: 13px; height: 1.7px; transform: translate(-50%, -50%); }
.pe-acc__sign::after  { width: 1.7px; height: 13px; transform: translate(-50%, -50%); }
.pe-acc__btn:not(.collapsed) .pe-acc__sign::before { background: #fff; }
.pe-acc__btn:not(.collapsed) .pe-acc__sign::after  { background: #fff; transform: translate(-50%, -50%) scaleY(0); }


/* ==========================================================================
   10  SUPPORT CTA
   ========================================================================== */
.pe-cta { position: relative; padding-block: clamp(3rem, 7vw, 5rem); overflow: hidden; }
.pe-cta__bg { position: absolute; inset: 0; }
.pe-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04); }
.pe-cta__bg::after {
  content: ""; position: absolute; inset: 0;
  /* opaque enough behind the copy to stay readable, thin at the edges so the
     photograph is still part of the picture */
  background:
    radial-gradient(56% 50% at 50% 42%,
      rgba(255,251,245,.93) 0%, rgba(255,249,240,.72) 44%,
      rgba(255,246,234,.34) 74%, rgba(255,245,232,.14) 100%),
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,248,238,.06));
}
.pe-cta__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 40rem; margin-inline: auto;
}
.pe-cta__inner p { margin: 1.4rem auto 2.2rem; max-width: 30rem; color: #5B4E42; }
.pe-cta__note { margin: 1.6rem auto 0 !important; font-size: .875rem; color: #7C6E60; }
.pe-cta__note a { color: var(--pe-orange-700); font-weight: 600; }


/* ==========================================================================
   11  FOOTER
   ========================================================================== */
.pe-footer {
  background: var(--pe-espresso);
  color: rgba(255,255,255,.62);
  padding-block: 4.5rem 2rem;
}
.pe-logo--footer .pe-logo__text { color: #fff; }
.pe-footer__blurb {
  margin: 1.3rem 0 1.6rem;
  font-size: .93rem; line-height: 1.65;
  max-width: 22rem;
}
.pe-footer__title {
  font-size: .92rem; font-weight: 600;
  color: #fff; margin-bottom: 1.1rem;
  letter-spacing: 0;
}
.pe-footer__links li { margin-bottom: .62rem; }
.pe-footer__links a { font-size: .92rem; transition: color .16s ease; }
.pe-footer__links a:hover { color: var(--pe-orange); }

.pe-social { display: flex; gap: .5rem; }
.pe-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-content: center;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.75);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.pe-social svg { width: 15px; height: 15px; }
.pe-social a:hover { color: #fff; border-color: var(--pe-orange); background: rgba(247,149,0,.16); }

.pe-footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  margin-top: 3.5rem; padding-top: 1.7rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem;
}
.pe-footer__bar a { text-decoration: underline; text-underline-offset: 3px; }
.pe-footer__bar a:hover { color: var(--pe-orange); }


/* ==========================================================================
   12  RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  :root { --pe-section-y: 6rem; }
  .pe-hero__stage { padding-left: 1.25rem; }
  .pe-panel { width: 11rem; left: -.5rem; }
}

@media (max-width: 991.98px) {
  /* nav collapses */
  .pe-burger { display: block; }
  .pe-nav__collapse {
    position: absolute;
    top: 65px;
    right: 0;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-r-lg);
    box-shadow: var(--pe-shadow-card);
  }
  .pe-nav__list { flex-direction: column; align-items: stretch; margin: 0; }
  .pe-nav__list a { padding: .7rem .9rem; border-radius: var(--pe-r-sm); }
  .pe-nav__actions { justify-content: space-between; padding-top: .6rem; border-top: 1px solid var(--pe-line-soft); }
  .pe-header.is-stuck { background: rgba(255,255,255,.95); }

  /* hero */
  .pe-hero { padding-top: 2rem; }
  .pe-hero__copy { padding-right: 0; }
  .pe-hero__stage { padding: 0 0 3rem 0; margin-top: 1rem; }
  .pe-panel { left: 0; top: 14%; }
  .pe-marquee { margin-top: 4rem; }

  /* features stack, visual always first */
  .pe-feature { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .pe-feature__visual { order: 1 !important; }
  .pe-feature__text   { order: 2 !important; max-width: none; }
  .pe-mock { max-width: 25rem; margin-inline: auto; }

  .pe-section__head--split { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
  .pe-section__head { margin-bottom: 3rem; }

  /* how it works */
  .pe-collage { margin: 1rem auto 0; max-width: 30rem; }
}

@media (max-width: 575.98px) {
  :root { --pe-section-y: 4.5rem; }

  .pe-display { font-size: 2.25rem; }
  .pe-hero__cta { flex-direction: column; align-items: stretch; }
  .pe-hero__cta .pe-btn { width: 100%; }

  .pe-panel { display: none; }             /* keep the hero frame legible */
  .pe-tray { right: 50%; transform: translateX(50%); }
  .pe-tray__list img, .pe-tray__more { width: 40px; height: 36px; }

  .pe-canvas { padding: 1.1rem; border-radius: var(--pe-r-lg); }
  .pe-mock { max-width: none; }
  .pe-color { grid-template-columns: minmax(0, 1fr); }
  .pe-color__preview img { min-height: 9rem; }

  .pe-collage__rail { left: 2%; top: 30%; }
  .pe-collage__swatches { right: 6%; bottom: 34%; padding: .3rem .4rem; }
  .pe-collage__play { width: 44px; height: 44px; }

  .pe-plan, .pe-plan__body { padding: 1.6rem 1.35rem 1.8rem; }
  .pe-plan--pro { padding: 0; }
  .pe-acc__body { padding-left: 1.2rem; }

  .pe-footer__bar { flex-direction: column; }
}

/* fallback for browsers without :has() — keep the open FAQ row readable */
@supports not selector(:has(*)) {
  .pe-acc--faq .pe-acc__btn:not(.collapsed) { border-radius: var(--pe-r-md) var(--pe-r-md) 0 0; }
  .pe-acc--faq .pe-acc__btn:not(.collapsed) + * { background: var(--pe-espresso); }
}

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pe-reveal { animation: none; }
  .pe-marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}
.accordion-item:last-of-type>.accordion-header .accordion-button {
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}
.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
  border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}