/* JotSketch's website: ivory paper, blue-gray rules and the desk's brown, like the app.
   System fonts only: no web fonts, scripts, cookies or analytics. */
:root {
  --paper: #F2EFE3;
  --rule: #CFD8E3;
  --ink: #2B2723;
  --soft: #5E4A3E;
  --desk: #7B5D42;
  --desk-dark: #6B4F37;
  --ribbon: #7B2D3B;
  --card: #FBFAF6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B1B1B;
    --rule: #2C2C2C;
    --ink: #EDEAE0;
    --soft: #B9AFA2;
    --desk: #2A2825;
    --desk-dark: #1F1F1F;
    --ribbon: #C27A86;
    --card: #232220;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--rule) 31px, var(--rule) 32px);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
header {
  background: linear-gradient(var(--desk), var(--desk-dark));
  color: #F2EFE3;
}
header .bar, main, footer .bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}
header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
header a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav { display: flex; gap: 18px; font-size: 16px; }
nav a { opacity: 0.85; }
nav a[aria-current="page"], nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
main { padding-top: 40px; padding-bottom: 48px; }
h1, h2, h3 { font-family: ui-serif, "New York", Georgia, serif; line-height: 1.25; }
h1 { font-size: 34px; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 36px 0 8px; }
h3 { font-size: 19px; margin: 24px 0 4px; }
p, li { max-width: 68ch; }
a { color: var(--ribbon); }
.lede { font-size: 20px; color: var(--soft); }
.hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero img { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
/* The App Store's product page header, as the home page's banner. */
.banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  margin: 0 0 28px;
}
/* The App Store screenshots: a strip that scrolls sideways on its own, never the page. */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
  margin: 28px 0 8px;
}
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.gallery img {
  display: block;
  height: min(560px, 70vh);
  width: auto;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  margin: 24px 0;
}
.button {
  display: inline-block;
  background: var(--ribbon);
  color: #FBFAF6;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
ul { padding-left: 22px; }
footer { border-top: 1px solid var(--rule); background: var(--paper); }
footer .bar { padding-top: 18px; padding-bottom: 28px; font-size: 14px; color: var(--soft); }
footer a { color: inherit; }
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  nav { gap: 12px; font-size: 15px; }
  .brand span { display: none; }
}
