/* The app's header and footer on the static landing pages
   (build/landingPage.ts), copied from Header_New.tsx and Footer.tsx as a
   signed-out visitor sees them on a blog post. Values are the app's Tailwind
   classes in px. Its fonts (Host Grotesk 700, Inter 200, Poppins 400) are
   linked from the page's <head> in build/landingPage.ts. */

/* Anchor links land below the sticky header. */
html { scroll-padding-top: 80px; }

/* Header: a frosted bar that sticks to the top, with the wordmark and one
   button. Touch devices get the app's solid teal bar instead. */
.pm-header { position: sticky; top: 0; z-index: 50; padding-block: 8px; }
.pm-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #ffffff05; -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); pointer-events: none; }
@media (hover: none) and (pointer: coarse) { .pm-header::before { background: #0e637480; } }
.pm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1383px; margin-inline: auto; padding-inline: 8px; }
.pm-wordmark { color: #fff; font: 700 20px/28px Inter, sans-serif; text-decoration: none; white-space: nowrap; filter: drop-shadow(0 0 8px #ffffff4d); }
.pm-wordmark span { font-weight: 200; }
.pm-header-button { display: flex; align-items: center; justify-content: center; height: 40px; padding-inline: 16px; border-radius: 6px; color: #fff; font: 700 16px/24px 'Host Grotesk', sans-serif; text-decoration: none; white-space: nowrap; background-image: linear-gradient(86deg, #01cce9 2.55%, #04b2cb 98.21%); box-shadow: #01cce94d 0 2px 4px, #01cce933 0 7px 13px -3px, #01cce966 0 -3px 0 inset; transition: all .15s ease-out; }
.pm-header-button:hover { box-shadow: #01cce966 0 4px 8px, #01cce94d 0 7px 13px -3px, #01cce9 0 -3px 0 inset; transform: translateY(-2px); }
.pm-header-button:active { box-shadow: #01cce9 0 3px 7px inset; transform: translateY(2px); }
@media (min-width: 640px) {
  .pm-header-inner { padding-inline: 16px; }
  .pm-wordmark { font-size: 24px; line-height: 32px; }
}
@media (min-width: 1024px) {
  .pm-header-button { height: 48px; padding-inline: 24px; font-size: 18px; line-height: 28px; }
}
/* Small phones: the wordmark steps down as in the app, and the button
   tightens so its longer label stays on one line beside it. */
@media (max-width: 374px) {
  .pm-wordmark { font-size: 18px; }
  .pm-header-button { padding-inline: 12px; font-size: 14px; }
}

/* Footer: logo, links and sign-off in a row (stacked on phones), "See more"
   with the quick links and location guides, then the copyright. */
.pm-footer { position: relative; padding: 24px; background: #0a1120; color: #fff6; font: 400 14px/20px Poppins, sans-serif; }
.pm-footer a { color: inherit; text-decoration: none; transition: color .15s; }
.pm-footer a:hover { color: #fff; }
.pm-footer-inner { max-width: 1152px; margin-inline: auto; }
.pm-footer-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
.pm-footer-logo { font-size: 18px; line-height: 28px; font-weight: 800; letter-spacing: .025em; }
.pm-footer .pm-footer-logo, .pm-footer .pm-footer-logo:hover { color: #fff; }
.pm-footer-logo span { color: #22d3ee; }
.pm-footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.pm-footer-love { display: flex; align-items: center; gap: 4px; }
.pm-footer-love svg { width: 16px; height: 16px; color: #ef4444; fill: #ef4444; }
.pm-footer-toggle { display: flex; align-items: center; gap: 4px; margin: 24px auto 0; padding: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; transition: color .15s; }
.pm-footer-toggle:hover { color: #fff; }
.pm-footer-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.pm-footer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.pm-footer-more { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 896px; margin: 24px auto 0; }
.pm-footer-more[hidden] { display: none; }
.pm-footer h2 { margin-bottom: 12px; color: #fff; font: 600 12px/16px Poppins, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.pm-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pm-footer li a { display: block; color: #fff9; }
.pm-footer-guides { max-height: 256px; overflow-y: auto; }
.pm-footer-copyright { margin-top: 24px; padding-top: 24px; border-top: 1px solid #ffffff0d; color: #ffffff40; font-size: 12px; line-height: 16px; text-align: center; }
/* Footer spacing as in Footer.tsx: the home page sections' padding, 24px
   and 48px from 640px. */
@media (min-width: 640px) {
  .pm-footer { padding-block: 48px; }
  .pm-footer-copyright { margin-top: 48px; padding-top: 48px; }
}
@media (min-width: 768px) {
  .pm-footer-row { flex-direction: row; }
  .pm-footer-links { gap: 32px; }
}
