/* Minimal styling for rendered markdown blocks used by the marketing blog. */

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Brand overrides (must load AFTER tailwind.css). */
:root {
  /* Parcel Pilot orange */
  --color-primary: #f97316;
  /* Hover/darker accent used by `hover:bg-blue-dark` in the template */
  --color-blue-dark: #ea580c;
}

body {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
}

.pp-hero-band {
  padding-bottom: 40px;
}

.pp-home-hero {
  padding-bottom: 56px;
}

.pp-home-hero__actions {
  margin-bottom: 2.5rem;
}

.pp-logo-cta-row {
  margin-top: 2.75rem;
}

.pp-pricing-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pp-pricing-table-shell {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 250, 251, 0.96));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
}

.pp-pricing-card {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.97));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.pp-pricing-card--featured {
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 24px 56px rgba(249, 115, 22, 0.14);
}

.pp-pricing-card__metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.pp-pricing-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 1);
}

.pp-pricing-card__value {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 1);
}

.pp-pricing-table__head th {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.pp-pricing-table__row + .pp-pricing-table__row {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.pp-pricing-table__row {
  transition: background-color 160ms ease;
}

.pp-pricing-table__row:hover {
  background: rgba(249, 115, 22, 0.05);
}

.pp-pricing-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: rgba(51, 65, 85, 1);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.pp-pricing-metric--primary {
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(249, 115, 22, 0.1);
  color: #9a3412;
}

@media (max-width: 767px) {
  .pp-home-hero {
    padding-bottom: 44px;
  }

  .pp-home-hero__actions {
    margin-bottom: 2rem;
  }

  .pp-logo-cta-row {
    margin-top: 2.1rem;
  }

  .pp-pricing-metric {
    min-width: 3rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
  }
}

.pp-footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.content-markdown {
  color: rgba(99, 115, 129, 1); /* body-color-ish */
  font-size: 16px;
  line-height: 1.75;
}

.content-markdown > * + * {
  margin-top: 1rem;
}

.content-markdown h1,
.content-markdown h2,
.content-markdown h3 {
  color: rgba(17, 24, 39, 1);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
}

.content-markdown h2 { font-size: 1.5rem; }
.content-markdown h3 { font-size: 1.25rem; }

.content-markdown a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-markdown ul,
.content-markdown ol {
  padding-left: 1.25rem;
}

.content-markdown li {
  margin-top: 0.25rem;
}

.content-markdown code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(243, 244, 246, 1);
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
}

.content-markdown pre code {
  display: block;
  padding: 1rem;
  overflow-x: auto;
}

.content-markdown blockquote {
  border-left: 4px solid rgba(229, 231, 235, 1);
  padding-left: 1rem;
  color: rgba(75, 85, 99, 1);
}

.pp-blog-sidebar {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.96));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
}

.pp-blog-sidebar__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pp-blog-sidebar__title {
  color: rgba(15, 23, 42, 1);
  font-family: Gilroy, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pp-blog-sidebar__copy {
  margin-top: 0.9rem;
  color: rgba(71, 85, 105, 1);
  font-size: 0.98rem;
  line-height: 1.65;
}

.pp-blog-sidebar__links {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pp-blog-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 1);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.pp-blog-sidebar__link:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.14);
  color: var(--color-primary);
}

.pp-blog-sidebar__meta {
  color: rgba(249, 115, 22, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .pp-blog-sidebar {
    border-radius: 22px;
    padding: 1.4rem;
  }
}
