:root {
  --accent: #4F46E5;
  --accent-dark: #4338CA;
  --ink: #1c1c1e;
  --secondary: #6e6e73;
  --card: #f2f2f7;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 60px;
  line-height: 1.6;
  color: var(--ink);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 32px 0 24px;
}

.site-header img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.site-header .wordmark {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

nav.site-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

nav.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--accent);
}

@media (max-width: 480px) {
  nav.site-nav { margin-left: 0; width: 100%; gap: 14px; }
}

h1 { font-size: 28px; color: var(--ink); }
h2 { font-size: 19px; margin-top: 36px; color: var(--accent-dark); }
p, li { font-size: 16px; }

a { color: var(--accent); }

.updated { color: var(--secondary); font-size: 14px; }

code { background: var(--card); padding: 2px 6px; border-radius: 4px; font-size: 14px; }

a.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 8px;
}
a.button:hover { background: var(--accent-dark); }

details {
  margin: 14px 0;
  background: var(--card);
  border-radius: 10px;
  padding: 12px 16px;
}
summary { font-weight: 600; cursor: pointer; }

.hero {
  text-align: center;
  padding: 40px 0;
}
.hero img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin-bottom: 16px;
}
/* ponytail: must out-specify `.hero img` above, which sizes the 96px app icon */
.hero img.hero-shot {
  max-width: 90vw;
  width: 900px;
  height: auto;
  margin-top: 32px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.store-badge { display: inline-block; margin-top: 8px; }
/* ponytail: equal specificity to `.hero img` (96px icon rule), wins by source order */
.store-badge img {
  width: 234px;
  height: 60px;
  border-radius: 0;
  margin-bottom: 0;
}
.store-note { color: var(--secondary); font-size: 14px; margin-top: 8px; }
.hero ul {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}
.hero li { margin: 10px 0; font-size: 18px; }

/* Feature sections */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 48px 0;
}
.feature img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.feature h3 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.feature p { margin: 0; color: var(--secondary); }

/* alternate sides */
.feature.reverse .feature-text { order: 2; }

@media (max-width: 600px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
}

/* Device band */
/* ponytail: match on height, not width — the three aspect ratios differ too
   much for equal columns (a 16:10 Mac shot shrinks to an unreadable thumbnail) */
.devices {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.devices img { height: 220px; width: auto; max-width: 100%; border-radius: 8px; }

@media (max-width: 600px) {
  .devices img { height: 150px; }
}

/* Feedback form */
.field { margin: 18px 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--secondary); font-size: 14px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input[type="checkbox"] { width: auto; margin-right: 8px; vertical-align: middle; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
button.button {
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; }

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #8B85F5;
    --accent-dark: #A5A0F7;
    --ink: #f2f2f7;
    --secondary: #98989f;
    --card: #1c1c1e;
  }
  body { background: #000; }
  .field input,
  .field select,
  .field textarea { background: #1c1c1e; border-color: #3a3a3c; }
  .hero-shot,
  .feature img,
  .devices img { border: 1px solid #3a3a3c; }
}
