:root {
  --pp-red: #c71925;
  --pp-red-dark: #7e1017;
  --pp-ink: #1c2029;
  --pp-muted: #606775;
  --pp-paper: #fff8ed;
  --pp-sage: #eef6f0;
  --pp-blue: #edf4ff;
  --pp-border: rgba(28, 32, 41, 0.12);
  --pp-shadow: 0 20px 48px rgba(36, 20, 20, 0.16);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #ffffff;
  --md-primary-bg-color: var(--pp-ink);
  --md-accent-fg-color: var(--pp-red);
  --md-typeset-a-color: var(--pp-red);
}

.md-header {
  border-bottom: 1px solid var(--pp-border);
  box-shadow: none;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  width: 2rem;
  height: 2rem;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(126, 16, 23, 0.22);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--pp-ink);
  font-weight: 760;
  letter-spacing: 0;
}

.md-typeset h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.03;
}

.md-typeset h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.08;
}

.md-typeset p {
  color: var(--pp-muted);
}

.md-typeset .md-button {
  border-radius: 8px;
  font-weight: 700;
}

.md-typeset .md-button--primary {
  background: var(--pp-red);
  border-color: var(--pp-red);
  color: #ffffff;
}

.md-typeset .md-button:not(.md-button--primary) {
  color: var(--pp-red-dark);
  border-color: rgba(126, 16, 23, 0.24);
}

.md-typeset .md-button.pp-outline-button {
  background: transparent;
  border-color: var(--pp-red);
  color: var(--pp-red);
}

.md-typeset .md-button.pp-outline-button:hover {
  background: transparent;
  border-color: var(--pp-red-dark);
  color: var(--pp-red-dark);
}

.pp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
  min-height: min(66vh, 40rem);
  padding: clamp(1.2rem, 4vw, 3.4rem) 0 clamp(1.5rem, 5vw, 3rem);
}

.pp-hero__copy {
  max-width: 42rem;
}

.pp-kicker {
  margin: 0 0 0.75rem;
  color: var(--pp-red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pp-hero__lead {
  max-width: 36rem;
  margin: 1.3rem 0 0;
  color: #454c59;
  font-size: clamp(1.02rem, 2.4vw, 1.32rem);
  line-height: 1.55;
}

.pp-hero__note {
  max-width: 36rem;
  margin: 0.45rem 0 0;
  color: var(--pp-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pp-hero h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.05rem);
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.pp-store-button::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 1.05em;
  margin-right: 0.45em;
  vertical-align: -0.13em;
  background: currentcolor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.2-39.2.6-75.3 22.8-95.5 57.9-40.7 70.6-10.4 175.2 29.2 232.6 19.4 28 42.5 59.5 72.8 58.4 29.2-1.2 40.2-18.9 75.5-18.9 35.2 0 45.1 18.9 76.1 18.3 31.4-.6 51.3-28.5 70.5-56.6 22.3-32.5 31.5-64 32-65.6-.7-.3-61.4-23.5-61-98.2zM260.8 102.6C277.3 82.6 288.4 54.8 285.4 27c-23.8 1-52.6 15.9-69.7 35.8-15.3 17.7-28.7 46-25.1 73.1 26.5 2.1 53.6-13.5 70.2-33.3z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.2-39.2.6-75.3 22.8-95.5 57.9-40.7 70.6-10.4 175.2 29.2 232.6 19.4 28 42.5 59.5 72.8 58.4 29.2-1.2 40.2-18.9 75.5-18.9 35.2 0 45.1 18.9 76.1 18.3 31.4-.6 51.3-28.5 70.5-56.6 22.3-32.5 31.5-64 32-65.6-.7-.3-61.4-23.5-61-98.2zM260.8 102.6C277.3 82.6 288.4 54.8 285.4 27c-23.8 1-52.6 15.9-69.7 35.8-15.3 17.7-28.7 46-25.1 73.1 26.5 2.1 53.6-13.5 70.2-33.3z"/></svg>') center / contain no-repeat;
}

.pp-hero__visual {
  justify-self: center;
  width: min(100%, 29rem);
  padding: clamp(0.75rem, 2vw, 1.15rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 248, 237, 0.94), rgba(237, 244, 255, 0.9)),
    #f7f3ed;
  box-shadow: 0 28px 70px rgba(31, 39, 52, 0.16);
}

.pp-hero__visual img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(126, 16, 23, 0.24);
}

.pp-section {
  padding: clamp(2.2rem, 6vw, 4.8rem) 0;
  border-top: 1px solid var(--pp-border);
}

.pp-section > h2 {
  max-width: 46rem;
}

.pp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pp-feature-card {
  min-height: 15rem;
  padding: 1.25rem;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 32, 41, 0.07);
}

.pp-feature-card:nth-child(2),
.pp-feature-card:nth-child(5) {
  background: var(--pp-blue);
}

.pp-feature-card:nth-child(3),
.pp-feature-card:nth-child(6) {
  background: var(--pp-sage);
}

.pp-feature-card:nth-child(4) {
  background: var(--pp-paper);
}

.pp-feature-card img,
.pp-feature-list img,
.pp-page-header img {
  display: block;
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(126, 16, 23, 0.18);
}

.pp-feature-card img {
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1rem;
}

.pp-feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.pp-feature-card p {
  margin: 0;
  line-height: 1.55;
}

.pp-card-lines {
  display: grid;
  gap: 0.45rem;
}

.pp-card-lines p {
  line-height: 1.45;
}

.pp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2.2rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--pp-border);
}

.pp-split > p:last-child,
.pp-split > div > p:first-child {
  margin: 0;
  color: #414a57;
  font-size: 1.08rem;
  line-height: 1.7;
}

.pp-section-action {
  margin: 1rem 0 0;
}

.pp-page-header {
  display: flex;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(1.2rem, 3vw, 2.5rem);
}

.pp-page-header img {
  width: clamp(5rem, 16vw, 7.5rem);
  height: clamp(5rem, 16vw, 7.5rem);
  flex: 0 0 auto;
}

.pp-page-header h1 {
  max-width: 48rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.03;
}

.pp-feature-list {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 2rem;
}

.pp-feature-list article,
.pp-feature-list-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  background: #ffffff;
}

.pp-feature-list article:nth-child(even),
.pp-feature-list-card:nth-child(even) {
  background: #fbfcff;
}

.pp-feature-link {
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pp-feature-link:hover,
.pp-feature-link:focus {
  border-color: rgba(199, 25, 37, 0.36);
  box-shadow: 0 16px 34px rgba(28, 32, 41, 0.08);
  color: inherit;
  transform: translateY(-1px);
}

.pp-feature-list img {
  width: 4rem;
  height: 4rem;
}

.pp-feature-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.pp-feature-link-label {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--pp-red);
  color: #ffffff;
  font-size: 0.58em;
  font-weight: 800;
  line-height: 1.1;
  vertical-align: middle;
}

.pp-feature-list p {
  margin: 0;
  line-height: 1.6;
}

.pp-touch-config {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
}

.pp-touch-config article {
  padding: 1rem;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  background: #ffffff;
}

.pp-touch-config article:nth-child(2) {
  background: var(--pp-blue);
}

.pp-touch-config article:nth-child(3) {
  background: var(--pp-sage);
}

.pp-touch-config article:nth-child(4) {
  background: var(--pp-paper);
}

.pp-touch-config h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.pp-touch-config p {
  margin: 0;
  line-height: 1.55;
}

.pp-touch-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.pp-touch-figure {
  margin: 0;
}

.pp-touch-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(28, 32, 41, 0.12);
}

.pp-touch-figure figcaption {
  max-width: 34rem;
  margin: 0.85rem 0 0;
  color: var(--pp-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.pp-region-panel {
  display: grid;
  gap: 0.85rem;
}

.pp-touch-intro {
  margin: 0;
  color: #414a57;
  font-weight: 700;
}

.pp-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pp-region-grid article {
  padding: 1rem;
  border: 1px solid var(--pp-border);
  border-radius: 8px;
  background: #ffffff;
}

.pp-region-grid article:nth-child(4n+1),
.pp-region-grid article:nth-child(4n+3) {
  background: #fff7ef;
}

.pp-region-grid article:nth-child(4n+2),
.pp-region-grid article:nth-child(4n+4) {
  background: #eefcff;
}

.pp-region-grid h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.pp-region-grid p {
  margin: 0;
  line-height: 1.55;
}

.pp-region-actions {
  display: grid;
  gap: 0.3rem;
}

.pp-region-actions strong {
  color: var(--pp-ink);
}

@media screen and (max-width: 76.1875em) {
  .md-typeset h1 {
    font-size: clamp(2.1rem, 7vw, 4rem);
  }
}

@media screen and (max-width: 48em) {
  .pp-hero,
  .pp-split {
    grid-template-columns: 1fr;
  }

  .pp-hero {
    min-height: auto;
  }

  .pp-hero__visual {
    width: min(100%, 23rem);
    justify-self: start;
  }

  .pp-feature-grid {
    grid-template-columns: 1fr;
  }

  .pp-feature-card {
    min-height: 0;
  }

  .pp-page-header {
    align-items: flex-start;
  }

  .pp-touch-layout {
    grid-template-columns: 1fr;
  }

  .pp-touch-config {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 34em) {
  .pp-actions {
    flex-direction: column;
  }

  .pp-actions .md-button {
    width: 100%;
    text-align: center;
  }

  .pp-page-header {
    display: grid;
  }

  .pp-feature-list article,
  .pp-feature-list-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .pp-feature-list img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .pp-region-grid {
    grid-template-columns: 1fr;
  }
}
