/* Rambasamba info & marketing pages — "Where shopping comes alive".
   Light, joyful-but-premium: white cards on #F7F8FB, navy text, orange CTAs, fiesta gradient for brand moments.
   Scoped under .pg so it never fights storefront styles. Self-sufficient before app.css loads.
   Mobile-first: 16px gutters at 375px, no horizontal scroll. */

.pg {
  --pg-orange: var(--rs-orange, #ff6a00); --pg-pink: var(--rs-pink, #ff2d55); --pg-purple: var(--rs-purple, #6a5bff);
  --pg-sky: var(--rs-sky, #00b4ff); --pg-green: var(--rs-green, #22c55e); --pg-navy: var(--rs-navy-900, #0f172a);
  --pg-line: var(--rs-gray-200, #e5e7eb); --pg-bg: var(--rs-bg, #f7f8fb); --pg-card: var(--rs-paper, #ffffff);
  --pg-text: #0f172a; --pg-body: #334155; --pg-muted: #64748b;
  --pg-fiesta: var(--rs-fiesta, linear-gradient(120deg, #ff8a00 0%, #ff2d55 32%, #6a5bff 66%, #00b4ff 100%));
  --pg-fiesta-soft: var(--rs-fiesta-soft, linear-gradient(120deg, rgba(255,106,0,.12), rgba(255,45,85,.12) 35%, rgba(106,91,255,.12) 70%, rgba(0,180,255,.12)));
  --pg-hot: linear-gradient(120deg, #ff8a00, #ff2d55);
  --pg-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 23, 42, .18);
  --pg-shadow-lg: 0 30px 70px -30px rgba(15, 23, 42, .35);
  --pg-display: "Poppins", var(--rs-display, "Inter"), system-ui, sans-serif;
  --pg-font: var(--rs-font, "Inter", system-ui, sans-serif);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--rs-bg, #f7f8fb); color: #0f172a;
  font-family: var(--rs-font, "Inter", system-ui, sans-serif); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }

.pg { position: relative; overflow-x: clip; isolation: isolate; background: var(--pg-bg); color: var(--pg-body); font-family: var(--pg-font); }
.pg img, .pg svg { max-width: 100%; }
.pg a { color: var(--pg-purple); text-decoration: none; font-weight: 500; }
.pg a:hover { text-decoration: underline; }
.pg :focus-visible { outline: 3px solid rgba(106, 91, 255, .45); outline-offset: 3px; border-radius: 6px; }
.pg code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: rgba(106, 91, 255, .08); color: var(--pg-purple); word-break: break-word; }
.pg strong { color: var(--pg-text); }

.pg-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .pg-wrap { padding: 0 28px; } }
.pg-narrow { max-width: 820px; }

/* ---------- type ---------- */
.pg h1, .pg h2, .pg h3, .pg h4 { font-family: var(--pg-display); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--pg-text); }
.pg h1 { font-size: clamp(2.2rem, 8vw, 4.6rem); font-weight: 800; }
.pg h2 { font-size: clamp(1.6rem, 5vw, 2.7rem); font-weight: 700; }
.pg h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); font-weight: 600; }
.pg h4 { font-size: 1rem; font-weight: 600; }
.pg p { margin: 0 0 1em; }
.pg-lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--pg-body); max-width: 46em; }
.pg-muted { color: var(--pg-muted); }
.pg-small { font-size: .86rem; color: var(--pg-muted); }
.pg-grad, .pg-hot { background: var(--pg-fiesta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-hot { background-image: var(--pg-hot); }
.pg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--pg-font); letter-spacing: .14em;
  text-transform: uppercase; color: var(--pg-purple); padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(106, 91, 255, .25); margin-bottom: 20px; box-shadow: var(--pg-shadow);
}
.pg-eyebrow.hot { color: var(--pg-orange); border-color: rgba(255, 106, 0, .3); }

/* ---------- heroes ---------- */
.pg-hero { padding: 64px 0 52px; position: relative; background: var(--pg-fiesta-soft), #fff; border-bottom: 1px solid var(--pg-line); }
.pg-hero::after { /* fiesta brand stripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--pg-fiesta);
}
@media (min-width: 900px) { .pg-hero { padding: 112px 0 88px; } }
.pg-hero .pg-lead { margin-top: 18px; }
.pg-hero h1 .pg-grad, .pg-hero h1 .pg-hot { position: relative; }
.pg-hero-mark { width: 64px; height: 64px; margin-bottom: 18px; filter: drop-shadow(0 10px 24px rgba(255, 45, 85, .3)); }

/* cinematic photo hero: dark overlay + white text */
.pg-hero.photo {
  background:
    linear-gradient(100deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .78) 45%, rgba(15, 23, 42, .45) 100%),
    var(--hero, none) center / cover no-repeat, #0f172a;
  border-bottom: 0; color: #e2e8f0;
}
.pg-hero.photo h1, .pg-hero.photo h2 { color: #fff; }
.pg-hero.photo .pg-lead { color: #e2e8f0; }
.pg-hero.photo .pg-lead strong { color: #fff; }
.pg-hero.photo .pg-small { color: #cbd5e1; }
.pg-hero.photo .pg-eyebrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pg-hero.photo .pg-grad { background-image: linear-gradient(120deg, #ffb057 0%, #ff5c7f 40%, #a79dff 75%, #5fd3ff 100%); }
.pg-hero.photo .pg-btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.pg-hero.photo .pg-btn.ghost:hover { background: rgba(255, 255, 255, .18); }
.pg-hero.photo .pg-fact { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pg-hero.photo .pg-fact span { color: #e2e8f0; }
.pg-hero.photo .pg-card { color: var(--pg-body); }

/* ---------- sections ---------- */
.pg-sec { padding: 56px 0; position: relative; }
@media (min-width: 900px) { .pg-sec { padding: 88px 0; } }
.pg-sec-head { max-width: 760px; margin-bottom: 36px; }
.pg-sec-head h2::after { /* fiesta accent under section titles */
  content: ""; display: block; width: 64px; height: 5px; border-radius: 99px; margin-top: 14px; background: var(--pg-fiesta);
}
.pg-sec.alt { background: #fff; border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); }
.pg-divider { height: 1px; background: var(--pg-line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font: 600 1rem/1 var(--pg-font); cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s; text-decoration: none !important; white-space: nowrap;
}
.pg-btn:hover { transform: translateY(-2px); }
.pg-btn.hot { background: var(--pg-orange); color: #fff !important; box-shadow: 0 12px 28px -12px rgba(255, 106, 0, .7); }
.pg-btn.hot:hover { background: #f05f00; box-shadow: 0 16px 34px -12px rgba(255, 106, 0, .8); }
.pg-btn.blue { background: var(--pg-navy); color: #fff !important; box-shadow: 0 12px 28px -14px rgba(15, 23, 42, .6); }
.pg-btn.blue:hover { background: #1e293b; }
.pg-btn.ghost { background: #fff; color: var(--pg-text) !important; border-color: var(--pg-line); box-shadow: var(--pg-shadow); }
.pg-btn.ghost:hover { border-color: rgba(106, 91, 255, .4); }
@media (max-width: 420px) { .pg-ctas .pg-btn { flex: 1 1 100%; } }

/* ---------- cards & grids ---------- */
.pg-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pg-grid.c2, .pg-grid.c3, .pg-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pg-grid.c3 { grid-template-columns: repeat(3, 1fr); } .pg-grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.pg-card {
  position: relative; padding: 24px; border-radius: var(--rs-radius, 16px); background: var(--pg-card);
  border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); min-width: 0; color: var(--pg-body);
  transition: transform .25s, box-shadow .25s;
}
.pg-card:hover { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 20px 44px -20px rgba(15, 23, 42, .28); }
.pg-card h3 { margin-bottom: .4em; }
.pg-card p:last-child, .pg-card ul:last-child { margin-bottom: 0; }
.pg-card.glow, .pg-card.hotglow { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--pg-fiesta) border-box; box-shadow: var(--pg-shadow-lg); }
.pg-card.hotglow { background: linear-gradient(#fff, #fff) padding-box, var(--pg-hot) border-box; }
.pg-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(106, 91, 255, .1); color: var(--pg-purple);
}
.pg-ico svg { width: 24px; height: 24px; }
.pg-ico.hot { background: rgba(255, 106, 0, .1); color: var(--pg-orange); }
.pg-grid > :nth-child(3n+2) > .pg-ico:not(.hot) { background: rgba(0, 180, 255, .1); color: #0090cc; }
.pg-grid > :nth-child(3n+3) > .pg-ico:not(.hot) { background: rgba(255, 45, 85, .09); color: var(--pg-pink); }
.pg-tag { display: inline-block; font: 700 .7rem/1 var(--pg-font); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255, 106, 0, .1); color: #d45500; }
.pg-tag.blue { background: rgba(106, 91, 255, .1); color: var(--pg-purple); }

.pg-list { padding: 0; margin: 0 0 1em; list-style: none; display: grid; gap: 10px; }
.pg-list li { position: relative; padding-left: 30px; }
.pg-list li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pg-list.x li::before { background-color: #e11d48; }
.pg ul.pg-plain, .pg ol.pg-plain { padding-left: 1.2em; margin: 0 0 1em; }
.pg ul.pg-plain li, .pg ol.pg-plain li { margin-bottom: .4em; }

/* ---------- steps ---------- */
.pg-steps { counter-reset: step; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.pg-steps > li {
  counter-increment: step; position: relative; padding: 22px 20px 22px 76px; border-radius: var(--rs-radius, 16px);
  background: #fff; border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow);
}
.pg-steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 20px; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font: 700 1.1rem/1 var(--pg-display); color: #fff; background: var(--pg-fiesta);
  box-shadow: 0 10px 22px -10px rgba(106, 91, 255, .7);
}
.pg-steps.hot > li::before { background: var(--pg-hot); box-shadow: 0 10px 22px -10px rgba(255, 45, 85, .7); }
.pg-steps h3 { margin-bottom: .3em; }
.pg-steps p { margin-bottom: .4em; color: var(--pg-muted); }
.pg-steps p:last-child { margin-bottom: 0; }

/* ---------- track switcher ---------- */
.pg-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--pg-line); gap: 4px; margin: 0 0 28px; max-width: 100%; box-shadow: var(--pg-shadow); }
.pg-tabs button { border: 0; background: transparent; color: var(--pg-muted); font: 600 .95rem/1 var(--pg-font); padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.pg-tabs button[aria-selected="true"] { background: var(--pg-navy); color: #fff; }
.pg-tabs button.hot[aria-selected="true"] { background: var(--pg-orange); color: #fff; }

/* ---------- tables ---------- */
.pg-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--rs-radius, 16px); border: 1px solid var(--pg-line); background: #fff; box-shadow: var(--pg-shadow); -webkit-overflow-scrolling: touch; }
.pg-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; color: var(--pg-body); }
.pg-table th, .pg-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--pg-line); vertical-align: top; }
.pg-table thead th { font: 700 .74rem/1.2 var(--pg-font); letter-spacing: .08em; text-transform: uppercase; color: var(--pg-muted); background: var(--pg-bg); }
.pg-table tbody tr:last-child td { border-bottom: 0; }
.pg-table .us { background: linear-gradient(90deg, rgba(255,106,0,.07), rgba(255,45,85,.06) 40%, rgba(106,91,255,.06) 75%, rgba(0,180,255,.07)); }
.pg-table .us td:first-child { font-weight: 700; color: var(--pg-text); box-shadow: inset 4px 0 0 0 var(--pg-orange); }
.pg-table .us + .us td:first-child { box-shadow: inset 4px 0 0 0 var(--pg-purple); }
.pg-table td.num, .pg-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- fee calculator ---------- */
.pg-calc { display: grid; gap: 20px; }
@media (min-width: 900px) { .pg-calc { grid-template-columns: 340px 1fr; align-items: start; } }
.pg-field { display: grid; gap: 8px; margin-bottom: 18px; }
.pg-field label { font-weight: 600; font-size: .95rem; color: var(--pg-text); }
.pg-input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; font: 600 1.1rem/1 var(--pg-font); color: var(--pg-text);
  background: #fff; border: 1px solid #cbd5e1; outline: none;
}
.pg-input:focus { border-color: var(--pg-purple); box-shadow: 0 0 0 4px rgba(106, 91, 255, .15); }
.pg-money { position: relative; }
.pg-money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--pg-muted); font-weight: 600; }
.pg-money .pg-input { padding-left: 32px; }
.pg-bars { display: grid; gap: 10px; }
.pg-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); }
.pg-bar.us { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--pg-fiesta) border-box; }
.pg-bar .nm { font-weight: 600; font-size: .95rem; color: var(--pg-text); }
.pg-bar .nm small { display: block; font-weight: 400; color: var(--pg-muted); font-size: .78rem; }
.pg-bar .amt { font: 700 1.1rem/1 var(--pg-display); text-align: right; font-variant-numeric: tabular-nums; color: var(--pg-text); }
.pg-bar .amt small { display: block; font: 500 .74rem/1.4 var(--pg-font); color: var(--pg-muted); }
.pg-bar .track { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #eef0f5; overflow: hidden; }
.pg-bar .fill { height: 100%; width: 0; border-radius: 99px; background: #94a3b8; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.pg-bar.us .fill { background: var(--pg-fiesta); }
.pg-save { margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .35); color: #14532d; }
.pg-save strong { color: #14532d; }

/* ---------- price ---------- */
.pg-price { font: 800 clamp(3.2rem, 14vw, 5.6rem)/1 var(--pg-display); letter-spacing: -.04em; margin: 10px 0 6px; color: var(--pg-text); }
.pg-price small { font-size: .28em; letter-spacing: 0; color: var(--pg-muted); font-weight: 500; -webkit-text-fill-color: var(--pg-muted); }

/* ---------- FAQ ---------- */
.pg-faq { display: grid; gap: 10px; }
.pg-faq details { border-radius: 14px; background: #fff; border: 1px solid var(--pg-line); overflow: hidden; box-shadow: var(--pg-shadow); }
.pg-faq details[open] { border-color: rgba(106, 91, 255, .35); }
.pg-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 18px; font-weight: 600; position: relative; color: var(--pg-text); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; background: rgba(255, 106, 0, .1); color: var(--pg-orange); font-weight: 700;
}
.pg-faq details[open] summary::after { content: "\2212"; background: rgba(106, 91, 255, .1); color: var(--pg-purple); }
.pg-faq .ans { padding: 0 18px 18px; color: var(--pg-body); }
.pg-faq .ans p:last-child, .pg-faq .ans ul:last-child { margin-bottom: 0; }
.pg-faq-group { margin: 40px 0 14px; display: flex; align-items: center; gap: 12px; }
.pg-faq-group .pg-ico { margin: 0; }
[data-group]:first-child .pg-faq-group { margin-top: 0; }

.pg-search { position: relative; margin: 24px 0 8px; max-width: 640px; }
.pg-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--pg-muted); }
.pg-search .pg-input { padding-left: 50px; min-height: 58px; border-radius: 999px; font-weight: 500; font-size: 1.05rem; box-shadow: var(--pg-shadow-lg); border-color: var(--pg-line); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pg-chip { border: 1px solid var(--pg-line); background: #fff; color: var(--pg-text); border-radius: 999px; padding: 9px 14px; font: 500 .88rem/1 var(--pg-font); cursor: pointer; }
.pg-chip:hover { border-color: rgba(106, 91, 255, .4); }
.pg-chip[aria-pressed="true"] { background: var(--pg-navy); color: #fff; border-color: transparent; }
.pg-empty { display: none; padding: 24px; border-radius: 14px; border: 1px dashed #cbd5e1; color: var(--pg-muted); text-align: center; background: #fff; }

/* ---------- legal ---------- */
.pg-draft {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin: 0 0 28px;
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; font-weight: 600;
}
.pg-draft svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.pg-legal { padding: 40px 0 72px; }
.pg-legal h2 { font-size: clamp(1.2rem, 3.6vw, 1.5rem); margin-top: 2.2em; padding-top: .6em; scroll-margin-top: 130px; }
.pg-legal h3 { margin-top: 1.4em; font-size: 1.05rem; }
.pg-legal p, .pg-legal li { color: var(--pg-body); }
.pg-legal ul, .pg-legal ol { padding-left: 1.3em; }
.pg-legal li { margin-bottom: .45em; }
.pg-toc { padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--pg-line); margin-bottom: 12px; box-shadow: var(--pg-shadow); }
.pg-toc strong { color: var(--pg-text); }
.pg-toc ol { margin: 8px 0 0; padding-left: 1.3em; }
@media (min-width: 720px) { .pg-toc ol { columns: 2; column-gap: 32px; } }
.pg-toc li { margin-bottom: .35em; break-inside: avoid; }

/* ---------- CTA band (fiesta brand moment) ---------- */
.pg-band {
  margin: 24px 0 72px; padding: 44px 22px; border-radius: 28px; text-align: center; position: relative; overflow: hidden;
  background: var(--pg-fiesta); color: #fff; box-shadow: 0 40px 80px -40px rgba(106, 91, 255, .6);
}
.pg-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(255,255,255,.28), transparent 70%); pointer-events: none; }
@media (min-width: 900px) { .pg-band { padding: 72px 48px; } }
.pg-band > * { position: relative; }
.pg-band h2 { color: #fff; }
.pg-band .pg-lead { margin: 0 auto; color: rgba(255, 255, 255, .92); }
.pg-band .pg-ctas { justify-content: center; }
.pg-band .pg-btn.hot { background: #fff; color: var(--pg-orange) !important; box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .5); }
.pg-band .pg-btn.blue { background: var(--pg-navy); }
.pg-band .pg-btn.ghost { background: rgba(255, 255, 255, .14); color: #fff !important; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.pg-band a:not(.pg-btn) { color: #fff; }

/* ---------- store badges (app page) ---------- */
.pg-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pg-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; min-width: 196px;
  background: #000; border: 1px solid rgba(255, 255, 255, .3); color: #fff; cursor: default; position: relative;
}
.pg-badge svg { width: 28px; height: 28px; flex: 0 0 28px; }
.pg-badge span { display: grid; line-height: 1.15; }
.pg-badge small { font-size: .7rem; color: #cbd5e1; }
.pg-badge b { font: 600 1.05rem/1.15 var(--pg-display); color: #fff; }
.pg-badge::after { content: "Coming soon"; position: absolute; top: -9px; right: -6px; font: 700 .62rem/1 var(--pg-font); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--pg-orange); color: #fff; }

.pg-phone {
  width: 240px; max-width: 70vw; aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 40px; padding: 12px; position: relative;
  background: #0f172a; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.pg-phone-screen { height: 100%; border-radius: 30px; overflow: hidden; background: var(--pg-bg); padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.pg-phone-screen .bar { height: 10px; border-radius: 6px; background: #e2e8f0; }
.pg-phone-screen .tile { flex: 1; border-radius: 14px; background: var(--pg-fiesta); opacity: .85; }
.pg-phone-screen .tile.hot { background: var(--pg-hot); }
.pg-phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 12px; background: #0f172a; z-index: 1; }

/* ---------- split ---------- */
.pg-split { display: grid; gap: 32px; align-items: center; }
.pg-split > * { min-width: 0; }
@media (min-width: 900px) { .pg-split { grid-template-columns: 1.1fr .9fr; gap: 56px; } .pg-split.rev > :first-child { order: 2; } }

/* chat mock (ai page) */
.pg-chat { display: grid; gap: 10px; }
.pg-msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .95rem; }
.pg-msg.me { justify-self: end; background: var(--pg-purple); color: #fff; border-bottom-right-radius: 6px; font-weight: 500; }
.pg-msg.ai { justify-self: start; background: var(--pg-bg); border: 1px solid var(--pg-line); color: var(--pg-body); border-bottom-left-radius: 6px; }
.pg-msg .who { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-orange); margin-bottom: 4px; font-weight: 700; }

/* facts row */
.pg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
@media (min-width: 900px) { .pg-facts { grid-template-columns: repeat(4, 1fr); } }
.pg-fact { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow); }
.pg-fact b { display: block; font: 800 clamp(1.5rem, 5vw, 2.1rem)/1.05 var(--pg-display); margin-bottom: 6px; }
.pg-fact span { color: var(--pg-muted); font-size: .88rem; }

/* ---------- reveal ---------- */
.pg [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.pg [data-reveal].in { opacity: 1; transform: none; }
.no-js .pg [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pg [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pg-btn, .pg-bar .fill, .pg-card { transition: none; }
}

#rs-header:empty { min-height: 8px; }
#rs-footer:empty { min-height: 40px; }
