/* pagecurl.pro: the website for the App Store links (PP-751). Paper and ink, like the app. */
:root {
  --paper: #f7f2e8;
  --page: #fffdf8;
  --ink: #2b2620;
  --muted: #6f665a;
  --rule: #e3dacb;
  --accent: #a3321f;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1a16;
    --page: #26221d;
    --ink: #ece4d6;
    --muted: #a99f90;
    --rule: #3a342c;
    --accent: #e0725c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 ui-serif, "New York", Georgia, "Times New Roman", serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

.sheet {
  background: var(--page);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 40px clamp(20px, 6vw, 56px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 32px rgb(0 0 0 / 0.06);
}

header.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

header.brand img { width: 52px; height: 52px; border-radius: 12px; }
header.brand a { color: inherit; text-decoration: none; font-size: 22px; font-weight: 600; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; font-weight: 600; }
h2 { font-size: 21px; margin: 36px 0 8px; font-weight: 600; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--accent); }
.muted { color: var(--muted); }
.lead { font-size: 20px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); }
.hero h1 { font-size: 44px; margin-top: 24px; }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
footer a { color: inherit; }
