.pp {
  --pp-navy: #002844;
  --pp-accent: #a92467;
  --pp-accent-dark: #7c173e;
  --pp-text: #1f2328;
  --pp-muted: #5f6670;
  --pp-line: #e6e3de;
  --pp-sand: #f7f5f2;
  --pp-serif: "Roboto Slab", Georgia, serif;
  --pp-sans: "Roboto", system-ui, sans-serif;
  --pp-tracking: -0.01em;
  --pp-tracking-tight: -0.03em;
  --pp-gutter: 20px;
  --pp-space: 64px;
  font-family: var(--pp-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--pp-tracking);
  color: var(--pp-text);
  background: #fff;
}

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

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

:where(.pp) p { font-family: var(--pp-sans); }

.pp h1, .pp h2, .pp h3 {
  font-family: var(--pp-serif);
  font-weight: 300;
  color: var(--pp-navy);
  line-height: 1.2;
  letter-spacing: var(--pp-tracking-tight);
}

.pp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pp-gutter);
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--pp-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: var(--pp-tracking);
  text-decoration: none;
  border: 1px solid var(--pp-navy);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pp-btn:hover, .pp-btn:focus-visible { background: var(--pp-accent); border-color: var(--pp-accent); }

.pp-btn-outline { background: transparent; color: var(--pp-navy); }
.pp-btn-outline:hover, .pp-btn-outline:focus-visible { color: #fff; }

.pp-link {
  color: var(--pp-navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.pp-link:hover { color: var(--pp-accent); }

/* Hero */
.pp-hero { padding: 40px 0 0; }

.pp-crumbs {
  font-size: 14px;
  color: var(--pp-muted);
  margin-bottom: 24px;
}

.pp-crumbs a { color: var(--pp-muted); text-decoration: none; }
.pp-crumbs a:hover { color: var(--pp-accent); }
.pp-crumbs span[aria-hidden] { margin: 0 8px; }

.pp-hero h1 {
  font-size: 40px;
  line-height: 1.1;
  max-width: 14ch;
  margin-bottom: 20px;
}

.pp-lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--pp-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-bottom: 48px;
}

.pp-stats {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--pp-line);
}

.pp-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pp-line);
}

.pp-stats dt { font-size: 14px; color: var(--pp-muted); }

.pp-stats dd {
  font-size: 14px;
  color: var(--pp-muted);
  text-align: right;
}

.pp-stat-value {
  display: block;
  font-family: var(--pp-serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: var(--pp-tracking-tight);
  color: var(--pp-navy);
  margin-bottom: 4px;
}

/* Sections */
.pp-section { padding: var(--pp-space) 0; }
.pp-section-alt { background: var(--pp-sand); }

.pp-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--pp-line);
}

.pp-head h2 { font-size: 30px; }

.pp-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--pp-accent);
}

.pp-tagline::after {
  content: "";
  width: 40px;
  height: 2px;
  background: currentColor;
}

.pp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pp-split-intro p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--pp-muted);
  max-width: 400px;
}

.pp-note {
  font-size: 14px;
  color: var(--pp-muted);
  margin-top: 24px;
  max-width: 640px;
}

.pp-note a { color: var(--pp-accent); }

/* Car list */
.pp-cars { list-style: none; padding: 0; }

.pp-car {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pp-line);
}

.pp-car:first-child { padding-top: 0; }

.pp-car img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  background: var(--pp-sand);
}

.pp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pp-tags span {
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  color: var(--pp-muted);
}

.pp-car h3 { font-size: 24px; margin-bottom: 8px; }

.pp-car-label {
  font-size: 14px;
  color: var(--pp-muted);
  margin-bottom: 8px;
}

.pp-car-rate {
  font-family: var(--pp-serif);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: var(--pp-tracking-tight);
  color: var(--pp-accent);
}

.pp-car-rate span {
  font-family: var(--pp-sans);
  font-size: 14px;
  letter-spacing: var(--pp-tracking);
  color: var(--pp-muted);
}

.pp-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--pp-line);
  border-left: 1px solid var(--pp-line);
  font-variant-numeric: tabular-nums;
}

.pp-totals > div {
  padding: 12px 16px;
  border-right: 1px solid var(--pp-line);
  border-bottom: 1px solid var(--pp-line);
}

.pp-totals dt { font-size: 12px; color: var(--pp-muted); margin-bottom: 4px; }
.pp-totals dd { font-size: 18px; font-weight: 500; color: var(--pp-navy); }

.pp-car .pp-btn { width: 100%; }

/* Line items */
.pp-lines { list-style: none; padding: 0; border-top: 1px solid var(--pp-line); }

.pp-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pp-line);
  font-size: 16px;
}

.pp-line-tag {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--pp-navy);
  text-align: right;
}

.pp-line-tag-cost { color: var(--pp-accent); }
.pp-line-tag-muted { color: var(--pp-muted); font-weight: 400; }

.pp-example {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

.pp-example-title {
  font-family: var(--pp-serif);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: var(--pp-tracking-tight);
  color: var(--pp-navy);
  margin-bottom: 16px;
}

.pp-example dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 16px;
}

.pp-example dt { color: var(--pp-muted); }

.pp-example .pp-example-total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--pp-navy);
  font-weight: 500;
}

.pp-example .pp-example-total dt,
.pp-example .pp-example-total dd { color: var(--pp-navy); }

/* FAQ */
.pp-faq-aside { display: contents; }
.pp-faq-aside > p { order: 1; }
.pp-faq { order: 2; }

.pp-faq-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  order: 3;
}

.pp-faq-contact p { font-size: 16px; color: var(--pp-text); }

.pp-faq details { border-bottom: 1px solid var(--pp-line); }

.pp-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--pp-serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: var(--pp-tracking-tight);
  color: var(--pp-navy);
}

.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 4px; }

.pp-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  transition: transform 0.25s ease;
}

.pp-faq-icon::before,
.pp-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  margin: -0.5px 0 0 -8px;
  background: currentColor;
}

.pp-faq-icon::after { transform: rotate(90deg); }
.pp-faq details[open] .pp-faq-icon { transform: rotate(45deg); }

.pp-faq details p {
  padding: 0 40px 20px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pp-muted);
  max-width: 600px;
}

/* Hidden costs */
.pp-compare-head {
  display: none;
  justify-content: space-between;
  padding-bottom: 12px;
  font-size: 14px;
  color: var(--pp-muted);
}

.pp-compare { list-style: none; padding: 0; border-top: 1px solid var(--pp-line); }

.pp-compare li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pp-line);
}

.pp-compare h3 { font-size: 18px; margin-bottom: 4px; }
.pp-compare p { font-size: 16px; color: var(--pp-muted); }

.pp-compare-us {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--pp-navy);
  padding: 6px 12px;
  border: 1px solid var(--pp-navy);
  border-radius: 999px;
}

.pp-faq-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* Tips */
.pp-tips { display: grid; grid-template-columns: 1fr; }

.pp-tips article {
  padding: 24px 0;
  border-bottom: 1px solid var(--pp-line);
}

.pp-tips article:first-child { padding-top: 0; }

.pp-tips h3 { font-size: 20px; margin-bottom: 12px; }

.pp-tips p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--pp-muted);
}

.pp-tips a { color: var(--pp-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Steps */
.pp-steps {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--pp-line);
  counter-reset: pp-step;
}

.pp-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pp-line);
  counter-increment: pp-step;
}

.pp-steps li::before {
  content: counter(pp-step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--pp-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: var(--pp-tracking-tight);
  color: var(--pp-accent);
  font-variant-numeric: tabular-nums;
}

.pp-steps h3 { font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.pp-steps p { font-size: 16px; line-height: 1.5; color: var(--pp-muted); }
.pp-steps a { color: var(--pp-accent); text-decoration: underline; text-underline-offset: 3px; }

.pp-actions-end { margin-bottom: 0; }

/* Tablet and up */
@media (min-width: 810px) {
  .pp { --pp-gutter: 40px; --pp-space: 96px; }

  .pp-hero { padding-top: 56px; }
  .pp-hero h1 { font-size: 64px; max-width: 16ch; }

  .pp-stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--pp-line); }

  .pp-stats > div {
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 24px 24px 24px 0;
    border-bottom: 0;
  }

  .pp-stats > div + div { padding-left: 24px; border-left: 1px solid var(--pp-line); }
  .pp-stats dd { text-align: left; }
  .pp-stat-value { font-size: 40px; }

  .pp-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
  }

  .pp-head h2 { font-size: 40px; }

  .pp-split { grid-template-columns: 1fr 1fr; gap: 48px; }

  .pp-faq-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }

  .pp-faq-aside > p, .pp-faq-contact { order: 0; }

  .pp-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .pp-tips article:nth-child(2) { padding-top: 0; }

  .pp-compare-head { display: flex; }

  .pp-compare li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }

  .pp-compare-us { align-self: center; flex-shrink: 0; text-align: right; }

  .pp-car .pp-btn { grid-column: 2; }

  .pp-car {
    grid-template-columns: 200px 1fr;
    gap: 24px 32px;
    align-items: center;
  }

  .pp-car img { grid-row: span 2; }
  .pp-car .pp-btn { width: auto; justify-self: start; }
  .pp-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .pp-faq summary { font-size: 20px; }

  .pp-steps li { grid-template-columns: 56px minmax(0, 1fr); }
  .pp-steps li::before { font-size: 24px; }
  .pp-steps h3 { font-size: 20px; }
}

/* Desktop */
@media (min-width: 1200px) {
  .pp { --pp-gutter: 48px; }

  .pp-hero h1 { font-size: 76px; }

  .pp-split { grid-template-columns: 5fr 7fr; gap: 96px; }

  .pp-car {
    grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 32px;
  }

  .pp-car img { grid-row: auto; }
  .pp-car .pp-btn { grid-column: auto; justify-self: end; }
}
