/* Layout: header, footer, home, generic pages. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pg-bg);
  color: var(--pg-ink);
  font-family: var(--pg-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--pg-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.pg-wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.pg-main { flex: 1 0 auto; }

/* CMYK stripe */
.pg-stripe { display: flex; height: 4px; }
.pg-stripe span { flex: 1; }
.pg-stripe span:nth-child(1) { background: var(--pg-sun-1); }
.pg-stripe span:nth-child(2) { background: var(--pg-sun-2); }
.pg-stripe span:nth-child(3) { background: var(--pg-sun-3); }
.pg-stripe span:nth-child(4) { background: var(--pg-sun-4); }

/* Footer */
.pg-footer { background: #ffffff; margin-top: 72px; }
.pg-footer-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--pg-muted); }
.pg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; }

/* Home */
.pg-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.pg-hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.pg-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.pg-hero p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--pg-muted); max-width: 520px; }
.pg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pg-hero-points { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--pg-muted); margin-top: 8px; }
.pg-hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.pg-hero-art { --r: var(--pg-r-art); flex: 1 1 480px; height: 420px; background: var(--pg-brand-soft); position: relative; overflow: hidden; }
.pg-hero-art > div { position: absolute; }
.pg-hc-flyer { left: 9%; top: 14%; width: 46%; height: 62%; background: #ffffff; border-radius: 6px; box-shadow: var(--pg-shadow-pop); transform: rotate(-5deg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pg-hc-flyer .a { height: 46%; border-radius: 4px; background: var(--pg-brand); }
.pg-hc-flyer .t { font: 700 22px var(--pg-display); }
.pg-hc-flyer .l { height: 8px; background: var(--pg-line); border-radius: 4px; }
.pg-hc-card { right: 8%; top: 22%; width: 40%; height: 23%; background: var(--pg-ink); border-radius: 8px; box-shadow: var(--pg-shadow-pop); transform: rotate(6deg); padding: 16px; color: #ffffff; display: flex; flex-direction: column; justify-content: flex-end; }
.pg-hc-card b { font: 700 16px var(--pg-display); }
.pg-hc-card span { font-size: 11px; color: #d4d4d8; }
.pg-hc-sticker { right: 12%; bottom: 10%; width: 34%; height: 30%; background: #ffffff; border-radius: 8px; box-shadow: var(--pg-shadow-pop); transform: rotate(-3deg); display: flex; align-items: center; justify-content: center; }
.pg-hc-sticker i { width: 64px; height: 64px; border-radius: 50%; background: var(--pg-brand); display: block; }

.pg-block { padding-top: 24px; padding-bottom: 72px; }
.pg-block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.pg-block-head h2 { font-size: 36px; margin: 0; }
.pg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pg-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--pg-brand-soft); color: var(--pg-brand-text); font: 700 16px/36px var(--pg-display); text-align: center; margin-bottom: 14px; }
.pg-step h3 { font-size: 20px; margin-bottom: 6px; }
.pg-step p { margin: 0; color: var(--pg-muted); font-size: 15px; }

/* Generic pages */
.pg-page { padding-top: 48px; }
.pg-page-title { font-size: 40px; margin-bottom: 24px; }
.pg-prose { max-width: 760px; font-size: 17px; line-height: 1.65; }
.pg-prose h2:not([class]) { font-size: 28px; margin-top: 36px; }
.pg-prose h3:not([class]) { font-size: 21px; margin-top: 28px; }
.pg-prose a:not([class]) { color: var(--pg-brand-text); text-decoration: underline; }
.pg-prose.is-wide { max-width: none; font-size: inherit; line-height: inherit; }

@media (max-width: 860px) {
  .pg-hero { padding-top: 40px; gap: 32px; }
  .pg-hero-art { height: 320px; }
}
