/* Peelpost website: the app's "Par Avion" look (design/DESIGN.md). System fonts only, no external files. */
:root {
  --paper: #F3EEE3; --card: #FFFDF8; --ink: #1E2A4A; --soft: #63687D; --rule: #E9E1D0; --link: #2E5BA6;
  --red: #D4412C; --blue: #2E5BA6; --fill: #DDE5F3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151F; --card: #1A2130; --ink: #F1EBDD; --soft: #9BA2B6; --rule: #2A3346; --link: #7FA4E6;
    --red: #E5604B; --blue: #7FA4E6; --fill: #2A3A5E;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
main, header, footer { max-width: 760px; margin: 0 auto; padding-inline: 16px; }
a { color: var(--link); }
h1, h2, h3, p { margin: 0; }
/* Titles and addresses go in the system serif, like in the app. */
h1, h2, .serif { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; }

header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; }
.brand img { width: 40px; height: 40px; border-radius: 22.4%; border: 1px solid var(--rule); }
nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: .95rem; }

footer { padding-block: 32px 48px; color: var(--soft); font-size: .9rem; display: grid; gap: 8px; border-top: 1px solid var(--rule); margin-top: 48px; }

/* Landing */
.hero { display: grid; gap: 16px; padding-block: 24px 8px; }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--soft); }
.soon { font-weight: 600; }

/* The airmail band: slanted red and blue stripes, the app's one ornament. */
.band { height: 6px; background: repeating-linear-gradient(-55deg, var(--red) 0 12px, var(--card) 12px 18px, var(--blue) 18px 30px, var(--card) 30px 36px); }

/* The sheet card: the label sheet drawn with the list on it, like the app's main screen. */
.sheet { margin-block: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; max-width: 420px; }
.sheet .in { display: flex; gap: 18px; padding: 18px 20px 20px; align-items: flex-start; }
.sheet svg { flex: none; width: 124px; height: auto; }
.sheet .code { font-weight: 700; font-size: 1.2rem; }
.sheet .count { font-weight: 700; font-size: 1.5rem; margin-top: 12px; line-height: 1.2; }
.sheet .label { color: var(--soft); font-size: .92rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.features div { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.features h3 { font-size: 1.05rem; }
.features p, .plans p { color: var(--soft); font-size: .98rem; }

.plans { display: grid; gap: 10px; margin-top: 36px; }
.plans h2, .page h2 { font-size: 1.35rem; padding-top: 16px; position: relative; }
/* A short piece of the airmail band over each section title. */
.plans h2::before, .page h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 5px; border-radius: 3px;
  background: repeating-linear-gradient(-55deg, var(--red) 0 10px, var(--card) 10px 15px, var(--blue) 15px 25px, var(--card) 25px 30px);
}
.faq { display: grid; gap: 14px; }
.faq h3 { font-size: 1.05rem; }
.faq p { color: var(--soft); font-size: .98rem; }

/* Policy and support pages */
.page { display: grid; gap: 36px; padding-block: 8px 0; }
.page h1 { font-size: 2rem; line-height: 1.1; }
.intro { display: grid; gap: 10px; }
.page section { display: grid; gap: 12px; }
.page h3 { font-size: 1.05rem; margin-top: 6px; }
.muted { color: var(--soft); font-size: .92rem; }
