:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #606060;
  --accent: #2563eb;
  --border: #e5e7eb;
  --card: #fafafa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #e8e8e8;
    --muted: #9a9a9a;
    --accent: #60a5fa;
    --border: #2a2d33;
    --card: #161a20;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

header h1 {
  font-size: 22px;
  margin: 0;
}

nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

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

h1, h2, h3 { line-height: 1.3; }

h2 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 8px;
}

p { margin: 0 0 14px; }

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

ul { padding-left: 22px; }
li { margin-bottom: 6px; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

footer a { color: var(--muted); margin: 0 8px; }

.lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
}

form.contact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

form.contact label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 12px;
}

form.contact input,
form.contact textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

form.contact input:focus,
form.contact textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

form.contact textarea {
  min-height: 140px;
  resize: vertical;
}

form.contact button {
  margin-top: 18px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

form.contact button:hover { filter: brightness(1.05); }

.gotcha {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.feature-list li:last-child { border-bottom: 0; }

.effective {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

/* --- Landing page --- */

.hero {
  text-align: center;
  padding: 8px 0 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 30px;
  margin: 0 0 12px;
}

.hero .lead {
  max-width: 560px;
  margin: 0 auto 22px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #333;
  line-height: 1.1;
}

.store-badge:hover { background: #1a1a1a; }

.store-badge .apple {
  width: 22px;
  height: 26px;
  flex: none;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 600;
  text-align: left;
}

.store-badge small {
  font-size: 11px;
  font-weight: 400;
}

.shots {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0;
}

.shot {
  margin: 0;
  /* Fixed 200px basis; min-width:0 stops the tall PNG's intrinsic width from
     forcing the flex item wide (default min-width:auto = image min-content). */
  flex: 0 0 200px;
  min-width: 0;
  max-width: 200px;
}

.shot img,
.shot-ph {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.shot-ph {
  aspect-ratio: 9 / 19.5;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.shot figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.why-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
