/* PalSafar landing — coded UI + Three.js stages */

.home-page {
  --cream: #FDF8F1;
  --navy: #041936;
  --navy-2: #0C1E3D;
  --gold: #A67C37;
  --gold-2: #C9A227;
  --sand: #F6E2CA;
  --ink: #1A2438;
  --muted: #5c5348;
  --font: "Montserrat", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --header-h: 84px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
}

.home-page section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.home-page .header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.home-page .header.is-solid {
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(166, 124, 55, 0.12);
  box-shadow: 0 8px 24px rgba(12, 30, 61, 0.05);
}
.home-page .header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-page .brand-logo {
  height: clamp(40px, 4.6vw, 54px);
  max-width: min(240px, 46vw);
  margin-top: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}
.home-page .nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: clamp(10px, 1.3vw, 22px);
}
.icon-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-shadow: none;
  padding: 4px 0 8px;
}
.icon-nav a svg {
  width: 18px;
  height: 18px;
}
.home-page .icon-nav a.active svg {
  border: 1.4px solid var(--gold);
  border-radius: 50%;
  padding: 5px;
  width: 28px;
  height: 28px;
  box-sizing: content-box;
}
.text-nav {
  gap: clamp(16px, 2.5vw, 36px);
}
.text-nav a {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}
.home-page .text-nav a.active { color: var(--gold); }
.home-page .text-nav a.active::after,
.home-page .text-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}
@media (min-width: 901px) {
  .home-page .nav { display: flex; }
  .home-page .menu-btn { display: none; }
}
.home-page .header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: .75rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(12, 30, 61, 0.22);
}
.btn-header.is-gold { background: var(--gold); }
.btn-header-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
}
.home-page .menu-btn {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(12,30,61,.08);
  box-shadow: 0 6px 16px rgba(12,30,61,.08);
}
.home-page .menu-btn span { background: var(--navy); }
.home-page .mobile-nav {
  background: rgba(253,248,241,.98);
  border-bottom: 1px solid rgba(166,124,55,.14);
}
/* Mirror the desktop text-nav treatment (navy / 700 / gold accent) in the
   mobile dropdown so it reads as the same navigation. Only applies where the
   dropdown is actually used, so the desktop header is untouched. */
@media (max-width: 900px) {
  .home-page .mobile-nav a:not(.btn) {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 8px;
    border-radius: 10px;
    position: relative;
  }
  .home-page .mobile-nav a:not(.btn):hover,
  .home-page .mobile-nav a:not(.btn).active {
    color: var(--gold);
    background: rgba(166,124,55,.07);
  }
  .home-page .mobile-nav a:not(.btn) + a:not(.btn) {
    box-shadow: inset 0 1px 0 rgba(166,124,55,.12);
  }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.86rem;
  font-weight: 600;
}
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(4,25,54,.28); }
.btn-sand { background: var(--sand); color: #5c3d1e; }
.btn-gold { background: var(--gold); color: #fff; }

/* HERO */
.ps-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 12px) 0 20px;
  min-height: 45vh;
  overflow: hidden;
  background: #f3e6c8;
}
.ps-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/backgrounds/hero-banner-new.png") center 38% / cover no-repeat;
}
.ps-hero-webgl { display: none; }
.ps-hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,248,236,.08), rgba(255,244,220,.04) 45%, rgba(255,248,236,.18));
  pointer-events: none;
}
/* Desktop is the source of truth: a two-column hero (phone | copy). The same
   ratio is kept at every width so mobile scales the composition down instead of
   collapsing it into image-above-text. */
.ps-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(10px, 2.4vw, 20px);
  align-items: center;
}
.ps-hero-stage {
  height: auto;
  min-height: 0;
  display: grid;
  place-items: center;
  padding-top: 8px;
  perspective: 1400px;
}
.ps-hero-stage .hero-phone-img {
  height: auto;
  width: 100%;
  max-width: min(330px, 100%);
  object-fit: contain;
  transform-origin: center center;
  filter: drop-shadow(-18px 28px 42px rgba(4, 25, 54, 0.34));
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}
.phone-3d {
  width: 100%;
  height: 100%;
  min-height: 360px;
}
.phone-3d canvas,
.phone-webgl {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.phone-3d:has(canvas) .phone-fallback { display: none; }
.phone-fallback {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.ps-hero-copy {
  text-align: left;
  max-width: 620px;
  margin: 0;
  order: 0;
  position: relative;
  padding: 12px 0;
}
.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,252,245,.88);
  border: 1px solid rgba(201,162,39,.28);
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.ps-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.5vw, 4.15rem);
  line-height: 1.08;
  color: #000000;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(255,255,255,0.9), 0 2px 12px rgba(255,255,255,1);
  margin-bottom: 14px;
}
.ps-hero-copy h1 em,
.ps-hero-copy h1 span {
  font-style: italic;
  font-weight: 600;
  color: #FFD700;
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 0 4px 32px rgba(255,255,255,0.9), 0 2px 12px rgba(255,255,255,1);
}
.ps-hero-copy p {
  color: #000000;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(255,255,255,1), 0 1px 4px rgba(255,255,255,0.8);
  font-size: clamp(.92rem, 1.05vw, 1.08rem);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 22px;
}
.ps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px 18px;
}
.ps-hero-vendor { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ps-hero-vendor small { max-width: 280px; font-size: .85rem; font-weight: 700; color: #000000; line-height: 1.4; text-shadow: 0 1px 8px rgba(255,255,255,0.9); }
.ps-stats {
  position: relative;
  z-index: 3;
  margin: 28px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: rgba(255,250,240,.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(12,30,61,.1);
}
.ps-stat { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.6vw, 12px); min-width: 0; }
.ps-stat strong { display: block; font-size: clamp(.95rem, 3vw, 1.2rem); color: var(--navy); }
.ps-stat span:last-child { font-size: clamp(.66rem, 1.6vw, .75rem); font-weight: 600; color: #5b5044; }
.ps-stat-ico { display: grid; place-items: center; flex: 0 0 auto; }
.ps-stat-ico svg { width: clamp(24px, 8vw, 34px); height: clamp(24px, 8vw, 34px); stroke-width: 2px; }
.ps-stat + .ps-stat { border-left: 1px solid rgba(12,30,61,.12); }

@media (min-width: 901px) {
  .ps-hero { padding-top: calc(var(--header-h) + 12px); }
  .ps-hero-stage { height: min(65vh, 600px); min-height: 420px; padding-top: 48px; }
  .ps-hero-stage .hero-phone-img { height: min(620px, 72vh); width: auto; max-width: 100%; }
  .ps-hero-grid { grid-template-columns: .82fr 1.18fr; }
  .ps-hero-copy { text-align: left; margin: 0; order: 0; padding: 40px 0 0; }
  .ps-hero-copy p { margin-left: 0; margin-right: 0; }
  .ps-hero-actions { justify-content: flex-start; }
  .ps-hero-vendor { align-items: flex-start; }
  .ps-hero-vendor small { text-align: left; }
  .ps-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; border-radius: 32px; padding: 24px 32px; margin: 70px auto 0; max-width: 860px; }
}

.ps-cream { position: relative; background: var(--cream); padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.ps-h2 { text-align: center; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); color: var(--navy); letter-spacing: -.03em; margin-bottom: 10px; }
.ps-h2 em { font-style: italic; color: var(--gold); }
.ps-lead { text-align: center; color: var(--muted); font-size: clamp(.92rem, 1.05vw, 1.08rem); max-width: 560px; margin: 0 auto 42px; line-height: 1.6; }
.ps-kicker { text-align: center; color: var(--gold); letter-spacing: .22em; font-size: .72rem; font-weight: 700; margin-bottom: 10px; }
.ps-deco { position: absolute; top: 40px; width: 220px; height: 280px; opacity: .16; background-repeat: no-repeat; background-size: contain; pointer-events: none; }
.ps-deco-left { left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cpath fill='none' stroke='%23A67C37' stroke-width='1.4' d='M100 20 L40 90 Q30 110 40 140 L40 240 L160 240 L160 140 Q170 110 160 90 Z'/%3E%3C/svg%3E"); }
.ps-deco-right { right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260'%3E%3Cpath fill='none' stroke='%23A67C37' stroke-width='1.3' d='M30 220 L70 140 L110 220 M70 140 L70 80 Q90 40 110 80 L110 140'/%3E%3C/svg%3E"); }

.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.how-card { background: #FBF6EE; border-radius: 28px; padding: 22px 20px 18px; box-shadow: 0 14px 32px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.08); display: flex; flex-direction: column; }
.how-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.how-top span { background: rgba(166,124,55,.12); border: 1px solid rgba(166,124,55,.22); border-radius: 8px; padding: 4px 8px; }
.how-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(166,124,55,.12); color: var(--gold); font-style: normal; }
.how-coin { border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; box-shadow: 0 4px 12px rgba(166,124,55,.28); }
.how-card h3 { font-family: var(--serif); font-size: 1.18rem; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.how-card > p { color: var(--muted); font-size: .86rem; line-height: 1.55; margin-bottom: 16px; }
.how-visual { margin-top: auto; border-radius: 18px; overflow: hidden; min-height: 200px; background: transparent; position: relative; }
.how-visual img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.audience-card { background: #FBF6EE; border-radius: 28px; padding: 22px; display: grid; gap: 16px; align-items: center; box-shadow: 0 14px 32px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.08); }
.aud-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 14px rgba(12,30,61,.08); margin-bottom: 10px; }
.audience-copy h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.audience-copy p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.audience-photo {
  width: 168px;
  height: 168px;
  margin-left: auto;
  background: transparent;
}
.audience-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(2, 1fr); } .audience-card { grid-template-columns: 1fr auto; } }
@media (min-width: 1101px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
/* Desktop between 901-1100px keeps the original single full-width audience
   card; only phones get the scaled two-up composition. */
@media (min-width: 901px) and (max-width: 1100px) { .audience-grid { grid-template-columns: 1fr; } }
/* Keep the same grid compositions on phones by scaling the cards down,
   not by stacking them into single columns. */
@media (max-width: 759px) {
  .how-grid { gap: 12px; margin-bottom: 18px; }
  .how-card { padding: 14px 12px 12px; border-radius: 22px; }
  .how-top { font-size: .58rem; letter-spacing: .08em; margin-bottom: 8px; }
  .how-top span { padding: 3px 6px; border-radius: 6px; }
  .how-ico { width: 24px; height: 24px; border-radius: 6px; font-size: .8rem; }
  .how-card h3 { font-size: .96rem; margin-bottom: 6px; }
  .how-card > p { font-size: .76rem; line-height: 1.45; margin-bottom: 12px; }
  .how-visual { min-height: 96px; border-radius: 14px; }
  .how-visual img { height: 104px; }
  /* Cards stay side by side, so the photo drops under the copy inside the
     card and scales with the card instead of sitting in a fixed 168px box. */
  .audience-card { padding: 14px 12px 12px; gap: 10px; border-radius: 22px; }
  .aud-ico { width: 28px; height: 28px; margin-bottom: 6px; }
  .aud-ico svg { width: 15px; height: 15px; }
  .audience-copy h3 { font-size: 1rem; margin-bottom: 4px; }
  .audience-copy p { font-size: .74rem; line-height: 1.4; margin-bottom: 10px; }
  .audience-copy .btn-pill { padding: 9px 12px; font-size: .7rem; }
  .audience-photo { width: 100%; max-width: 168px; height: auto; aspect-ratio: 1; margin: 0 auto; }
}

.ps-explore { overflow: hidden; padding-top: 24px; padding-bottom: 40px; }
#how { padding-bottom: 32px; }
.explore-stage {
  display: grid;
  gap: 20px;
  justify-items: center;
}
.explore-left,
.explore-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
}
.explore-phone {
  width: min(280px, 75vw);
  display: flex;
  justify-content: center;
  align-items: center;
}
.explore-phone-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(4, 25, 54, 0.28));
}
.float-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(12,30,61,.09);
}
.float-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  margin: 14px 0 14px 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 8px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.float-body { padding: 16px 16px 16px 8px; }
.float-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; font-weight: 800; }
.float-body p { color: var(--muted); font-size: .8rem; margin-bottom: 10px; }
.itin { display: grid; gap: 7px; margin-bottom: 12px; }
.itin-day { background: #F2EBDD; border-radius: 12px; padding: 9px 12px; font-size: .76rem; font-weight: 600; color: var(--navy); }
.mini-btn { display: inline-flex; background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 14px; font-size: .76rem; font-weight: 700; }
.map-canvas { position: relative; height: 140px; border-radius: 14px; background: linear-gradient(180deg, #efe4cf, #d9c7a6); overflow: hidden; }
.map-search { margin: 8px; background: #fff; border-radius: 999px; padding: 6px 10px; font-size: .68rem; }
.map-chips { display: flex; gap: 6px; padding: 0 8px; }
.map-chips span { background: #EADDCB; border-radius: 999px; padding: 3px 8px; font-size: .62rem; font-weight: 700; color: #5c3d1e; }
.map-chips .on { background: var(--navy); color: #fff; }
.mpin { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.mpin.a { top: 48%; left: 28%; background: #e07a2f; }
.mpin.b { top: 58%; left: 62%; background: #2f6fed; }
.mpin.c { top: 40%; left: 72%; background: #22a06b; }
.map-place { position: absolute; left: 10px; right: 10px; bottom: 8px; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: .7rem; }
.points-row { background: #F2EBDD; border-radius: 12px; padding: 10px 12px; font-size: .86rem; display: flex; align-items: center; gap: 8px; }
.points-row i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 800; margin-left: auto; }
.app-explore-light { background: #F7F1E8; padding-top: 22px; }
.trip-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.trip-head b { font-size: 12px; }
.trip-resume { background: #EADDCB; color: #5c3d1e; border-radius: 999px; padding: 4px 8px; font-size: 8px; font-weight: 700; }
.trip-progress { height: 6px; background: #e6dcc8; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.trip-progress i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
@media (min-width: 901px) {
  .explore-stage {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(240px, 300px) minmax(280px, 340px);
    gap: 24px 32px;
    align-items: center;
    justify-content: center;
  }
  .explore-phone {
    width: 320px;
    margin: 0 auto;
    justify-self: center;
  }
  .explore-left,
  .explore-right {
    align-items: stretch;
    z-index: 3;
  }
  .explore-left .float-card,
  .explore-right .float-card { max-width: none; }
}

.split-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.split-list { display: grid; max-width: 480px; }
.split-list li { display: flex; align-items: center; gap: 48px; margin-bottom: 24px; }
.split-list li > div { padding-bottom: 24px; border-bottom: 1.5px dashed rgba(166,124,55,.45); flex: 1; }
.split-list li:last-child > div { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 901px) {
  .split-list { margin-left: 120px; }
}
.split-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #FDF7E7; color: var(--gold); box-shadow: 0 12px 24px rgba(166,124,55,.2); flex-shrink: 0; }
.split-ico.outline { background: transparent; border: 1.5px solid var(--gold); box-shadow: none; }
.split-list h3 { color: var(--gold); font-size: 1.05rem; letter-spacing: .05em; margin-bottom: 8px; font-weight: 800; }
.split-list p { color: var(--navy); font-size: 1rem; line-height: 1.5; margin: 0; }
.split-phones { display: flex; justify-content: center; align-items: center; gap: 18px; width: 100%; min-height: 440px; perspective: 1400px; }
.split-phones .device { width: min(250px, 44vw); height: min(520px, 68vh); }
.split-phones .device.tilt { margin-top: 36px; }
.split-phones.phone-3d { width: 100%; }
.ps-mountains, .ps-faq-art { position: absolute; inset: auto 0 0; height: 180px; pointer-events: none; opacity: .18; background-repeat: no-repeat; background-position: bottom center; background-size: 100% auto; }
.ps-mountains { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160'%3E%3Cpath fill='none' stroke='%23A67C37' stroke-width='1.4' d='M0 140 L180 70 L300 120 L480 40 L700 130 L880 60 L1200 140'/%3E%3C/svg%3E"); }
.ps-street { display: none; }
#creators {
  padding-bottom: 0;
}
#businesses {
  background: var(--cream) url("../assets/backgrounds/business-bg.jpg") center center / cover no-repeat;
  padding-top: clamp(32px, 5vw, 64px);
}
@media (min-width: 901px) {
  .split-layout { grid-template-columns: .85fr 1.15fr; }
  .split-phones { height: 560px; }
}

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.home-page .faq-col { background: rgba(255,252,246,.8); border: 1px solid rgba(166,124,55,.1); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: none; }
.faq-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.faq-head-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--gold); font-weight: 800; box-shadow: 0 6px 14px rgba(12,30,61,.08); }
.faq-head h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.home-page .ps-faqs details { background: #fff; border-radius: 12px; padding: 0; border: 1px solid rgba(12,30,61,.05); box-shadow: none; }
.home-page .ps-faqs summary { padding: 12px 14px; font-size: .84rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-page .ps-faqs .chev { color: var(--gold); margin-left: auto; }
.home-page .ps-faqs details p { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.ps-faq-art { height: 100%; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath fill='none' stroke='%23A67C37' stroke-width='1' stroke-dasharray='3 6' d='M20 300 C200 280, 300 80, 760 90'/%3E%3Ccircle cx='760' cy='90' r='5' fill='%23A67C37'/%3E%3C/svg%3E"); background-position: right 8% top 20%; background-size: 55% auto; }
@media (min-width: 901px) { .faq-grid { grid-template-columns: repeat(3, 1fr); } }

/* Tablet / large-phone range. The desktop multi-column compositions are kept
   here and scaled down, rather than falling back to the stacked phone layout. */
@media (min-width: 640px) and (max-width: 900px) {
  .faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .home-page .faq-col { padding: 14px; gap: 8px; }
  .faq-head h3 { font-size: 1.02rem; }
  .home-page .ps-faqs summary { font-size: .78rem; padding: 10px 11px; }
  .home-page .ps-faqs details p { padding: 0 11px 10px; font-size: .75rem; }
}

/* The three-up explore composition only has room for the floating cards from
   768px up; between 640-767 the middle column is too narrow and the cards
   overflow their track, so the section stays stacked there. */
@media (min-width: 768px) and (max-width: 900px) {
  .explore-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }
  .explore-phone { width: 100%; max-width: 230px; }
  .explore-left, .explore-right { align-items: stretch; }
  .explore-left .float-card, .explore-right .float-card { max-width: none; min-width: 0; }
  .map-canvas { height: 112px; }
  .float-body { padding: 12px 12px 12px 6px; }
  .float-tag { padding: 10px 6px; font-size: .58rem; }
}

.ps-footer {
  background: var(--cream);
  border-top: 1px solid rgba(166, 124, 55, .22);
  padding: 12px 0;
}
.ps-footer .container { max-width: 1440px; }
.ps-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
}
.ps-footer .footer-logo { height: 34px; width: auto; max-width: 150px; display: block; }
.ps-foot-div {
  display: none;
  width: 1px;
  height: 28px;
  background: rgba(12, 30, 61, .14);
  flex-shrink: 0;
}
.ps-footer-brand { flex-shrink: 0; }
.ps-socials { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ps-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1.4px solid var(--gold);
  transition: background .2s ease, color .2s ease;
}
.ps-socials a:hover { background: var(--gold); color: #fff; }
.ps-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
}
.ps-legal a { color: var(--navy); white-space: nowrap; }
.ps-legal a:hover { color: var(--gold); }
.ps-legal a + a::before {
  content: "•";
  color: var(--gold);
  margin: 0 10px;
  font-size: .7rem;
}
.ps-foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.ps-foot-badge svg { color: var(--gold); flex-shrink: 0; }
.ps-copy {
  margin: 0;
  font-size: .78rem;
  color: var(--navy);
  white-space: nowrap;
}
.ps-copy strong { font-weight: 800; }
.ps-hash {
  margin: 0;
  font-family: var(--serif);
  font-size: .86rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  white-space: nowrap;
}
@media (min-width: 1201px) {
  .ps-footer { padding: 10px 0; }
  .ps-footer-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }
  .ps-foot-div { display: none; }
  .ps-legal { font-size: .72rem; }
  .ps-legal a + a::before { margin: 0 8px; }
  .ps-foot-badge,
  .ps-copy { font-size: .72rem; }
  .ps-hash { font-size: .78rem; }
}
@media (max-width: 720px) {
  .btn-header { display: none; }
  .split-phones .phone-3d { height: 380px; }
  .split-list li { gap: 24px; }
  .split-list { margin-left: 0; }
}

.home-page .section-reveal { opacity: 1; transform: none; }
.nav a.active::after, .nav a:hover::after { background: #A67C37 !important; }
.home-page .menu-btn { display: flex; }
@media (min-width: 901px) {
  .home-page .menu-btn { display: none !important; }
}

/* Coded iPhone bezels + in-app UIs (match mockup screens, not live app screenshots) */
.device {
  position: relative;
  width: min(280px, 74vw);
  height: min(580px, 74vh);
  transform-style: preserve-3d;
}
.ps-hero-stage .device {
  width: min(268px, 70vw);
  height: min(540px, 66vh);
}
.device-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2a2a2a, #0a0a0a 38%, #1a1a1a);
  border-radius: 38px;
  padding: 11px 10px 14px;
  box-shadow:
    0 28px 60px rgba(4, 25, 54, 0.38),
    inset 0 0 0 1.5px #3a3a3a,
    inset 0 0 0 3px #111;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(5deg);
  transition: transform 0.35s ease;
}
.device.tilt .device-bezel { transform: rotateY(18deg) rotateX(6deg); }
.device-bezel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: 72px;
  height: 18px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 12px;
  z-index: 4;
  pointer-events: none;
}
.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #F7F1E8;
  position: relative;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for Safari 3D border-radius overflow bug */
  mask-image: radial-gradient(white, black);
}
.app {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 0 52px;
  font-size: 10px;
  color: var(--navy);
  overflow: hidden;
}
.app-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 10px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.app-body::-webkit-scrollbar {
  display: none;
}
.app h4 { font-size: 13px; font-weight: 800; margin: 0; color: var(--navy); }
.app p { margin: 2px 0 8px; color: #6b6258; font-size: 9px; }
.app-status {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0 4px;
}
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.app-bell, .app-brand-row span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 10px rgba(4,25,54,.08); flex-shrink: 0; }
.app-brand-row { display: flex; justify-content: space-between; align-items: center; color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: 9px; margin-bottom: 6px; }
.app-search {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: #8a8176;
  font-size: 9px;
  box-shadow: 0 4px 10px rgba(4,25,54,.06);
  margin-bottom: 8px;
}
.ai-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(4,25,54,.08);
  margin-bottom: 10px;
}
.ai-card img { width: 100%; height: 78px; object-fit: cover; }
.ai-copy { padding: 8px 8px 8px 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.ai-copy strong { font-size: 10px; }
.ai-copy small { color: #6b6258; font-size: 8px; line-height: 1.3; }
.ai-copy span {
  display: inline-flex;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 700;
}
.cat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
  margin-bottom: 10px;
}
.cat-row i {
  width: 32px;
  height: 32px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #E8C56A, #A67C37);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(166,124,55,.3);
}
.cat-row small { display: block; font-size: 7px; font-weight: 700; line-height: 1.15; color: var(--navy); }
.near-head { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; margin-bottom: 6px; }
.near-head span { color: var(--gold); font-weight: 700; }
.near-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.near-row figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 12px rgba(4,25,54,.08); }
.near-row img { width: 100%; height: 58px; object-fit: cover; display: block; }
.near-row figcaption { padding: 5px 6px 7px; font-size: 8px; font-weight: 800; line-height: 1.2; }
.near-row em { font-style: normal; font-weight: 600; color: #8a8176; }
.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  background: rgba(255,252,246,.96);
  border-top: 1px solid rgba(4,25,54,.06);
  padding: 0 6px 8px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.tabbar span { text-align: center; font-size: 13px; opacity: .45; }
.tabbar span.on { opacity: 1; filter: drop-shadow(0 0 4px rgba(201,162,39,.6)); }
.tabbar .plus, .tabbar .plus.gold {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  opacity: 1;
  font-weight: 800;
}
.tabbar.dark { background: #0b1220; }
.tabbar.dark span { opacity: .55; color: #fff; }
.tabbar.dark span.on { color: var(--gold-2); opacity: 1; }

.app-explore { background: #141414; color: #f4ead8; padding-top: 20px; }
.app-explore h4, .app-explore .near-head b { color: #fff; }
.app-explore p, .app-explore .near-head span { color: #c9bfae; }
.app-explore .app-search { background: #2a2a2a; color: #c9bfae; }
.dark-cats { display: flex; gap: 6px; overflow: hidden; margin-bottom: 8px; }
.dark-cats span { flex: 0 0 auto; background: #2a2a2a; color: #f4ead8; border-radius: 999px; padding: 5px 8px; font-size: 8px; font-weight: 700; }
.dark-cats span:first-child { background: var(--gold); color: #fff; }
.continue-card { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; background: #222; border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.continue-card img { width: 100%; height: 70px; object-fit: cover; }
.continue-card div { padding: 8px 8px 8px 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.continue-card b { font-size: 11px; }
.continue-card small { color: #c9bfae; }
.continue-card i { font-style: normal; align-self: flex-start; background: var(--gold); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 8px; font-weight: 700; }
.seg-dark { display: flex; gap: 6px; margin: 8px 0; }
.seg-dark i { font-style: normal; font-size: 8px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: #2a3142; color: #c9bfae; }
.seg-dark i.on { background: var(--gold); color: #fff; }
.spark { width: 100%; height: 52px; display: block; margin: 4px 0 8px; }
.mini-stats, .vstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.mini-stats span, .vstats small { font-size: 8px; color: #c9bfae; }
.vstats b { display: block; color: #fff; font-size: 12px; }
.reel-row small { color: #c9bfae; }

.app-studio { background: #ffffff; color: var(--navy); }
.app-reels { background: #ffffff; color: var(--navy); }
.app-vendor { background: #ffffff; color: var(--navy); }
.app-analytics { background: #ffffff; color: var(--navy); }
.vendor-card-dark { background: #1a1714; color: #fff; border-radius: 14px; padding: 12px; margin-bottom: 12px; box-shadow: 0 12px 28px rgba(12,30,61,.08); position:relative; }
.offer-light { background: #ffffff; border-radius: 12px; padding: 10px; margin-bottom: 12px; box-shadow: 0 12px 28px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.1); display: flex; align-items: center; gap: 10px; }
.vstats-light { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; margin-bottom: 12px; }
.vstats-light > div { background: #ffffff; border-radius: 8px; padding: 10px 4px; box-shadow: 0 8px 16px rgba(12,30,61,.04); border: 1px solid rgba(166,124,55,.1); }
.vstats-light b { display: block; font-size: 14px; color: var(--navy); }
.vstats-light small { font-size: 7px; color: #8a8176; margin-top:2px; display:block; }
.vstats-light .up { font-size: 6px; color: #22a06b; font-weight:700; display:block; margin-top:4px; }
.seg { display: flex; gap: 6px; margin: 8px 0; }
.seg i { font-style: normal; font-size: 8px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(4,25,54,.04); color: #6b6258; }
.seg i.on { background: var(--gold); color: #fff; }
.studio-card-light { background: #ffffff; border-radius: 14px; padding: 12px; margin-bottom: 12px; box-shadow: 0 12px 28px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.1); }
.collab-light { background: #ffffff; border-radius: 12px; padding: 10px; margin-bottom: 12px; box-shadow: 0 12px 28px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.1); display: flex; align-items: center; gap: 10px; }
.reel-row-light { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; background: #ffffff; border-radius: 12px; overflow: hidden; margin-bottom: 10px; box-shadow: 0 12px 28px rgba(12,30,61,.06); border: 1px solid rgba(166,124,55,.1); }
.reel-row-light > img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; margin: 8px 0 8px 8px; }
.reel-row-light > div { padding: 6px 6px 6px 0; display: flex; flex-direction: column; justify-content: center; }
.reel-row-light b { display: block; font-size: 10px; color: var(--navy); margin-bottom: 2px; }
.reel-row-light small { color: #8a8176; font-size: 7.5px; margin-bottom: 4px; display: block; }
/* Let the avatar/handle row shrink so it is never clipped by the card edge
   when the device mockup is rendered at a smaller width on phones. */
@media (max-width: 900px) {
  .reel-row-light > div > div { min-width: 0; }
  .reel-row-light > div > div > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.mini-stats-new { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; }
.mini-stats-new div { color: var(--navy); }
.mini-stats-new span { font-size: 8px; color: var(--navy); display:block; margin-bottom:2px; }
.mini-stats-new b { font-size: 10px; display:block; }
.mini-stats-new small { font-size: 6.5px; color: #8a8176; }

.tabbar.dark { background: #161616; border-top: none; color: #fff; padding-top: 8px; }
.tabbar.dark span { opacity: .5; }
.tabbar.dark span.on { opacity: 1; color: var(--gold); }
.tabbar.dark .plus.gold { background: var(--gold); opacity: 1; color: #fff; border: none; }

.hero-plane {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 120px;
  height: 70px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(circle at 92% 18%, #111 3px, transparent 4px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 80'%3E%3Cpath fill='none' stroke='%23041136' stroke-width='1.4' stroke-dasharray='3 5' d='M8 62 C40 58, 70 20, 148 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: .7;
}
.ps-diamond {
  display: flex;
  justify-content: center;
  margin: 6px auto 28px;
  width: 72px;
  height: 10px;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent) center / 100% 1px no-repeat,
    radial-gradient(circle, var(--gold) 2.5px, transparent 3px) center / 10px 10px no-repeat;
}
@media (max-width: 900px) {
  .explore-phone .device-bezel { transform: none; }
  .hero-plane { display: none; }
  /* The in-app mockup screens are laid out with fixed px, so their stat grids
     must be allowed to shrink when the device frame is narrower on phones. */
  .mini-stats-new { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vstats-light { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Keep both device mockups side by side (the desktop composition). The
     in-app screens are fixed-px designs, so scale the whole frame with `zoom`:
     the UI then shrinks as one piece instead of overflowing its bezel, and the
     layout box stays in sync with the painted size. */
  .split-phones { flex-wrap: nowrap; gap: clamp(4px, 1.5vw, 10px); min-height: 0; }
  .split-phones .device {
    flex: 0 0 auto;
    width: 250px;
    height: 520px;
    zoom: .56;
  }
  /* A fixed-degree 3D bevel only eats into the neighbouring card once the
     frame is scaled below 100%, so flatten it like the explore phone does. */
  .split-phones .device-bezel,
  .split-phones .device.tilt .device-bezel { transform: none; }
  .split-phones .device.tilt { margin-top: clamp(12px, 3vw, 24px); }
}
@media (min-width: 360px) and (max-width: 900px) { .split-phones .device { zoom: .64; } }
@media (min-width: 400px) and (max-width: 900px) { .split-phones .device { zoom: .70; } }
@media (min-width: 420px) and (max-width: 900px) { .split-phones .device { zoom: .78; } }
@media (min-width: 520px) and (max-width: 900px) { .split-phones .device { zoom: .88; } }
@media (min-width: 640px) and (max-width: 900px) { .split-phones .device { zoom: 1; } }


.ps-hero-copy h1 em { position: relative; }
.ps-hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 20" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 Q100,20 200,5" fill="none" stroke="%23A67C37" stroke-width="3"/></svg>') no-repeat center;
  background-size: contain;
}
.ps-hero-copy::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -80px;
  width: 200px;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 C50,80 150,80 180,20" fill="none" stroke="%23A67C37" stroke-width="1.5" stroke-dasharray="4 4"/><path d="M180,20 L170,15 L175,25 Z" fill="%230c1e3d"/></svg>') no-repeat;
  background-size: contain;
  pointer-events: none;
}
.ps-hero-vendor small { position: relative; }
.ps-hero-vendor small::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100px;
  height: 8px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 Q50,10 100,0" fill="none" stroke="%23A67C37" stroke-width="2"/></svg>') no-repeat left;
  background-size: contain;
}

/* Central How Layout */
.how-central {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .how-central {
    grid-template-columns: 1fr 360px 1fr;
    gap: 40px;
  }
}
.hc-left, .hc-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hc-center {
  display: flex;
  justify-content: center;
  position: relative;
}
.hc-phone {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(12, 30, 61, 0.15));
}
.hc-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(12,30,61,0.06);
  border: 1px solid rgba(166,124,55,0.1);
  text-align: left;
}
.hc-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: var(--cream);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.hc-card h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.hc-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.hc-mock-ui {
  background: #fcfaf5;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(12,30,61,0.04);
}
.hc-day {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}
.hc-day span {
  font-weight: 500;
  color: var(--muted);
}
.hc-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 16px;
}
.hc-search {
  background: #fff;
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 12px;
}
.hc-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.hc-tags span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  border: 1px solid rgba(0,0,0,0.05);
}
.hc-tags span.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.hc-result {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.hc-result span {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.75rem;
  display: block;
  margin-top: 4px;
}
.hc-rewards {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-points-label {
  font-size: 0.9rem;
  color: var(--muted);
}
.hc-points-val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hc-coin {
  background: var(--gold);
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════
   PHONE / TABLET SCALING
   Declared after the base rules on purpose: the hero decoration and the
   float animation are declared late in this file, so an earlier media
   block would be overridden by them and silently do nothing.
   Everything below scales the desktop composition down — it does not
   reorder, restack or re-style it.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* The hero keeps its two columns; only the copy is tuned to the narrower
     column. The h1 uses the same 4.5vw ramp as desktop so the type size is
     continuous across the 901px switch. */
  .ps-hero-copy { padding: 6px 0; }
  .ps-badge {
    font-size: .6rem;
    padding: 5px 10px;
    gap: 5px;
    border-radius: 12px;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .ps-badge svg { width: 11px; height: 11px; }
  .ps-hero-copy h1 { font-size: clamp(1.05rem, 4.5vw, 2.9rem); margin-bottom: 10px; }
  .ps-hero-copy h1 em::after { bottom: -4px; height: 8px; }
  .ps-hero-copy p { font-size: clamp(.76rem, 2.5vw, 1rem); line-height: 1.5; margin-bottom: 16px; }
  .ps-hero-actions { gap: 10px 12px; }
  .ps-hero-actions .btn-pill { padding: 10px 14px; font-size: .78rem; gap: 6px; }
  .ps-hero-actions .btn-pill svg { width: 14px; height: 14px; }
  .ps-hero-vendor { gap: 4px; }
  .ps-hero-vendor small { font-size: .72rem; max-width: 100%; }
  .ps-hero-vendor small::after { bottom: -6px; height: 6px; }

  /* The dashed flourish is anchored to the copy on desktop; tuck it inside
     the column on phones so it is not cut off by the hero's overflow clip. */
  .ps-hero-copy::before { right: 0; top: -14px; width: 130px; height: 65px; opacity: .7; }

  /* A 20px float is a big jump for a ~120px-wide phone mockup. */
  .ps-hero-stage .hero-phone-img { animation-name: floatPhoneSm; }
  .ps-hero-stage { padding-top: 4px; }
  .ps-hero-stage .hero-phone-img { filter: drop-shadow(-8px 14px 22px rgba(4, 25, 54, 0.3)); }
}
@keyframes floatPhoneSm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 900px) {
  /* The stats bar is already a 3-up on desktop; shrink the internals so each
     cell fits its column instead of overflowing it. */
  .ps-stats { margin: 20px auto 0; padding: 12px 8px; border-radius: 20px; gap: 6px; }
  .ps-stat { gap: clamp(3px, 1.2vw, 10px); }
  .ps-stat > div { min-width: 0; }
  .ps-stat strong { font-size: clamp(.82rem, 2.6vw, 1.1rem); }
  .ps-stat span:last-child { font-size: clamp(.58rem, 1.5vw, .72rem); line-height: 1.2; }
  .ps-stat-ico svg { width: clamp(17px, 5.2vw, 30px); height: clamp(17px, 5.2vw, 30px); }

  /* Section spacing and decorative flourishes scale with the viewport. */
  .ps-deco { width: 130px; height: 165px; top: 14px; }
  .ps-mountains { height: 120px; }
  .ps-explore { padding-top: 18px; padding-bottom: 28px; }
  .explore-phone { width: min(230px, 66vw); }
  .explore-stage { gap: 16px; }
  .explore-left, .explore-right { gap: 14px; }
  .map-canvas { height: 118px; }

  /* Footer: same single centred row of items, just tighter. */
  .ps-footer { padding: 14px 0; }
  .ps-footer-row { gap: 10px 12px; }
  .ps-legal { font-size: .72rem; }
  .ps-legal a + a::before { margin: 0 7px; }
  .ps-foot-badge, .ps-copy { font-size: .72rem; }
  .ps-hash { font-size: .78rem; }
}

@media (min-width: 901px) and (max-width: 1023px) {
  .home-page .ps-hero-copy::before {
    right: 0;
    width: clamp(140px, 18vw, 184px);
  }
  .home-page .split-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(18px, 2.7vw, 28px);
  }
  .home-page .split-layout > * { min-width: 0; }
  .home-page .split-list { margin-left: clamp(64px, 10vw, 96px); }
  .home-page .split-list li { gap: clamp(16px, 2.5vw, 24px); }
  .home-page .split-list li > div { min-width: 0; }
  .home-page .split-phones {
    min-width: 0;
    gap: clamp(10px, 1.4vw, 14px);
  }
  .home-page .split-phones .device {
    width: clamp(185px, 23vw, 220px);
    height: clamp(385px, 47.84vw, 457px);
  }
}







