/* demo.pricepep.com landing page. Tokens, fonts and components follow pricepep.com's theme (assets/css/site.css). */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, see fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
    --pp-ink: #14161B;
    --pp-muted: #50555F;
    --pp-line: #E3E3DE;
    --pp-line-strong: #CFCFC8;
    --pp-input: #A9AAA3;
    --pp-ground: #FAFAF7;
    --pp-surface: #FFFFFF;
    --pp-chip: #EDEDE8;
    --pp-accent: #DA3732;
    --pp-accent-ink: #A8231F;
    --pp-tint: #FCEBEA;
    --pp-ok: #0E7C5A;
    --pp-ok-ink: #1F4D36;
    --pp-ok-tint: #E6F4EC;
    --pp-dark: #14161B;
    --pp-dark-line: #2A2D35;
    --pp-on-dark: #D9DAD5;
    --pp-error: #A4262C;
    --pp-error-tint: #FBEDEC;
    --pp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --pp-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --pp-radius: 14px;
    --pp-radius-sm: 8px;
    --pp-shadow: 0 1px 2px rgba(20, 22, 27, 0.06);
    --pp-shadow-lift: 0 18px 40px -18px rgba(20, 22, 27, 0.28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--pp-ground); color: var(--pp-ink); font-family: var(--pp-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--pp-accent-ink); text-underline-offset: 0.15em; }
a:hover { color: var(--pp-ink); }
:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
main { flex: 1 0 auto; }
.pp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--pp-ink); color: #fff; padding: 10px 16px; border-radius: var(--pp-radius-sm); text-decoration: none; font-weight: 600; }
.pp-skip:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Layout and type ---------- */
.pp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pp-section { padding: 80px 0; }
.pp-section--white { background: var(--pp-surface); border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); }
.pp-section__head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; margin-bottom: 40px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-accent-ink); }
.pp-h1 { font-family: var(--pp-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.pp-h2 { font-family: var(--pp-display); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.pp-lead { font-size: 19px; line-height: 1.6; color: var(--pp-muted); max-width: 34rem; }
.pp-sub { font-size: 18px; line-height: 1.6; color: var(--pp-muted); }
.pp-note { font-size: 14px; line-height: 1.55; color: var(--pp-muted); }

/* ---------- Buttons ---------- */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--pp-radius-sm); background: var(--pp-accent); color: #fff; font-family: var(--pp-font); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.pp-btn:hover { background: var(--pp-accent-ink); color: #fff; }
.pp-btn--nav { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.pp-btn--big { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.pp-btn--secondary { background: var(--pp-surface); color: var(--pp-ink); border-color: var(--pp-input); }
.pp-btn--secondary:hover { background: var(--pp-surface); color: var(--pp-ink); border-color: var(--pp-ink); }
.pp-btn--dark { background: var(--pp-ink); color: #fff; }
.pp-btn--dark:hover { background: #2A2D35; color: #fff; }
.pp-btn--light { background: #fff; color: var(--pp-ink); }
.pp-btn--light:hover { background: var(--pp-chip); color: var(--pp-ink); }
.pp-btn--launch { min-height: 64px; padding: 16px 34px; font-size: 20px; border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(218, 55, 50, 0.6); }
.pp-btn--launch:hover { transform: translateY(-1px); }
.pp-btn--launch.is-busy { opacity: 0.75; cursor: progress; pointer-events: none; transform: none; }
.pp-spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pp-spin 0.8s linear infinite; }
@keyframes pp-spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.pp-header { background: var(--pp-surface); border-bottom: 1px solid var(--pp-line); }
.pp-header__inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pp-ink); min-height: 44px; }
.pp-logo:hover { color: var(--pp-ink); }
.pp-logo__mark { flex: none; border-radius: 6px; }
.pp-logo__word { font-family: var(--pp-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.pp-logo__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-accent-ink); background: var(--pp-tint); padding: 3px 8px; border-radius: 6px; }
.pp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.pp-nav a:not(.pp-btn) { color: var(--pp-ink); text-decoration: none; padding: 10px 0; }
.pp-nav a:not(.pp-btn):hover { color: var(--pp-accent-ink); }
@media (max-width: 640px) {
    .pp-nav a:not(.pp-btn) { display: none; }
}

/* ---------- Hero ---------- */
.pp-hero { padding: 72px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, rgba(218, 55, 50, 0.07), transparent 60%); }
.pp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; }
.pp-hero .pp-h1 { text-wrap: balance; }
.pp-hero__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; max-width: 760px; }
.pp-launch { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 4px 0 6px; }
.pp-launch form { margin: 0; }
.pp-launch__note { font-size: 15px; font-weight: 600; color: var(--pp-error); }

/* The launch panel (the owner's review, run 3): with the cart example gone, Launch demo gets the right half on wide
   screens, on a white panel; Help and Buy Now are quiet links along its foot instead of a second row of big buttons.
   One column below 960px, without the panel's frame */
.pp-launchpad { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pp-launchpad .pp-launch { padding: 0; }
.pp-launchpad__more { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pp-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--pp-ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.pp-more svg { flex: none; color: var(--pp-muted); }
.pp-more:hover { color: var(--pp-accent-ink); text-decoration: underline; }
.pp-more:hover svg { color: currentColor; }
@media (min-width: 960px) {
    .pp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 64px; }
    .pp-launchpad { gap: 18px; padding: 28px 28px 0; background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: var(--pp-radius); box-shadow: var(--pp-shadow-lift); }
    .pp-launchpad .pp-launch { align-items: stretch; }
    .pp-launchpad .pp-launch form, .pp-launchpad .pp-btn--launch { width: 100%; }
    .pp-launchpad__more { margin: 4px -28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--pp-line); }
    .pp-launchpad__more .pp-more { justify-content: center; min-height: 56px; }
    .pp-launchpad__more .pp-more + .pp-more { border-left: 1px solid var(--pp-line); }
    .pp-launchpad__more .pp-more:first-child { border-radius: 0 0 0 var(--pp-radius); }
    .pp-launchpad__more .pp-more:last-child { border-radius: 0 0 var(--pp-radius) 0; }
    .pp-launchpad__more .pp-more:focus-visible { outline-offset: -4px; }
}

/* Notices */
.pp-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border-radius: var(--pp-radius-sm); font-size: 15px; line-height: 1.5; border: 1px solid transparent; }
.pp-notice--error { background: var(--pp-error-tint); color: var(--pp-error); border-color: #F0C9C6; }
.pp-notice--info { background: var(--pp-chip); color: var(--pp-ink); }
.pp-notice--ok { background: var(--pp-ok-tint); color: var(--pp-ok-ink); border-color: #CBE6D7; }
.pp-notice__link { font-weight: 700; color: var(--pp-ok-ink); }

/* The cart preview */
.pp-example { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pp-example__caption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--pp-muted); }
.pp-example__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-accent-ink); background: var(--pp-tint); padding: 3px 8px; border-radius: 6px; }
.pp-example__foot { font-size: 14px; color: var(--pp-muted); }
.pp-cart { background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: var(--pp-radius); box-shadow: var(--pp-shadow-lift); overflow: hidden; }
.pp-cart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--pp-line); font-family: var(--pp-display); font-weight: 700; font-size: 20px; }
.pp-cart__lines { list-style: none; margin: 0; padding: 6px 24px; }
.pp-cart__lines li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--pp-line); font-size: 15px; }
.pp-cart__lines li:last-child { border-bottom: 0; }
.pp-cart__lines li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.pp-cart__lines strong { font-weight: 600; }
.pp-cart__lines li > span:last-child { white-space: nowrap; font-weight: 600; text-align: right; }
.pp-cart__lines s { color: var(--pp-muted); font-weight: 400; margin-right: 6px; font-size: 14px; }
.pp-cart__totals { margin: 0; padding: 14px 24px 18px; background: #FBFBF8; border-top: 1px solid var(--pp-line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pp-cart__totals div { display: flex; justify-content: space-between; gap: 16px; }
.pp-cart__totals dt { color: var(--pp-muted); }
.pp-cart__totals dd { margin: 0; font-weight: 600; white-space: nowrap; }
.pp-cart__totals .is-saved { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--pp-line); }
.pp-cart__totals .is-saved dt { color: var(--pp-ok-ink); font-weight: 700; }
.pp-cart__totals .is-saved dd { color: var(--pp-ok); font-size: 18px; font-weight: 700; }
.pp-pill { display: inline-block; font-family: var(--pp-font); font-size: 13px; font-weight: 600; color: var(--pp-accent-ink); background: var(--pp-tint); padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.pp-pill--ok { color: var(--pp-ok-ink); background: var(--pp-ok-tint); }

/* ---------- Examples ---------- */
.pp-examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.pp-card { background: var(--pp-surface); border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.pp-card:hover { border-color: var(--pp-line-strong); box-shadow: var(--pp-shadow-lift); }
.pp-card h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.pp-card p { color: var(--pp-muted); line-height: 1.55; font-size: 15px; flex: 1 0 auto; }
.pp-card__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pp-muted); background: var(--pp-chip); padding: 3px 8px; border-radius: 6px; }
.pp-card__link { font-weight: 600; font-size: 15px; }

/* ---------- Steps ---------- */
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; counter-reset: pp-step; }
.pp-steps li { counter-increment: pp-step; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--pp-ink); }
.pp-steps li::before { content: counter(pp-step, decimal-leading-zero); font-family: var(--pp-display); font-weight: 700; font-size: 15px; color: var(--pp-accent-ink); }
.pp-steps h3 { font-size: 22px; font-weight: 600; }
.pp-steps p { color: var(--pp-muted); font-size: 16px; }

/* ---------- Call to action ---------- */
.pp-cta-band { background: var(--pp-dark); color: #fff; }
.pp-cta-band__inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.pp-cta-band__inner > div:first-child { display: flex; flex-direction: column; gap: 8px; max-width: 40rem; }
.pp-cta-band p { font-size: 17px; color: var(--pp-on-dark); }

/* ---------- Footer ---------- */
.pp-footer { background: var(--pp-dark); color: var(--pp-on-dark); border-top: 1px solid var(--pp-dark-line); }
.pp-footer__inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; font-size: 15px; line-height: 1.6; }
.pp-footer__about { display: flex; flex-direction: column; gap: 8px; max-width: 26rem; }
.pp-footer__word { font-family: var(--pp-display); font-weight: 700; font-size: 20px; color: #fff; }
.pp-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 56px; }
.pp-footer__nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pp-footer a { color: #fff; text-decoration: none; }
.pp-footer a:hover { color: #fff; text-decoration: underline; }
.pp-footer__base { max-width: 1200px; margin: 0 auto; padding: 16px 24px 32px; font-size: 14px; color: #9C9E98; border-top: 1px solid var(--pp-dark-line); }
.pp-footer__base a { color: #C9CAC4; text-decoration: underline; }

/* reCAPTCHA's badge is hidden; the page carries Google's notice instead (footer) */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
    .pp-section { padding: 56px 0; }
    .pp-hero { padding: 40px 0 48px; }
    .pp-lead { font-size: 18px; }
    .pp-btn--launch { width: 100%; }
    .pp-launch { align-items: stretch; }
    .pp-launch form, .pp-launch form button { width: 100%; }
    .pp-cart__head, .pp-cart__lines, .pp-cart__totals { padding-left: 18px; padding-right: 18px; }
}
