:root {
  --bg: #0b0b0f;
  --card: #17171c;
  --text: #f2f2f5;
  --muted: #9a9aa3;
  --accent: #ff9f0a;
  --accent2: #ffd60a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav */
nav {
  display: flex; align-items: center; gap: 28px;
  padding: 20px 0;
}
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; margin-right: auto; }
nav .brand img { width: 28px; height: 28px; border-radius: 7px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero img.appicon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgba(255, 159, 10, 0.25); }
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.02em; margin: 24px 0 12px; }
.hero p.tagline { font-size: 21px; color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.store-badge {
  display: inline-block; background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 14px; text-decoration: none;
}
.store-badge.soon { background: var(--card); color: var(--muted); cursor: default; }

/* Screenshots */
/* align-items: flex-start matters — a flex row stretches its items to the
   tallest one by default, which forced the screenshots to a height that
   ignored their aspect ratio and squashed the ring into an oval. */
.shots {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 24px; padding: 48px 0 24px; flex-wrap: wrap;
}
.shots img {
  width: 240px; height: auto; aspect-ratio: 720 / 1564;
  border-radius: 28px;
  border: 1px solid #26262c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* Features */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; padding: 48px 0 64px;
}
.feature { background: var(--card); border-radius: 18px; padding: 24px; }
.feature .emoji { font-size: 28px; }
.feature h3 { font-size: 17px; margin: 10px 0 6px; }
.feature p { font-size: 15px; color: var(--muted); }

/* Content pages & posts */
.content { max-width: 680px; margin: 0 auto; padding: 48px 24px 80px; }
.content h1 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 8px; }
.content h2 { font-size: 22px; margin: 36px 0 10px; }
.content p, .content li { color: #c9c9d1; font-size: 16px; margin-bottom: 14px; }
.content ul { padding-left: 22px; }
.content a { color: var(--accent); }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* Blog index */
.post-list { list-style: none; }
.post-list li { background: var(--card); border-radius: 16px; padding: 22px 24px; margin-bottom: 14px; }
.post-list a { color: var(--text); text-decoration: none; font-size: 19px; font-weight: 600; }
.post-list a:hover { color: var(--accent); }
.post-list .date { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

footer {
  border-top: 1px solid #1e1e24;
  padding: 28px 0 48px; text-align: center;
  color: var(--muted); font-size: 14px;
}
footer a { color: var(--muted); margin: 0 10px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .shots img { width: 180px; }
}

/* Article furniture: figures, pull-quotes, callouts, and the app nudge */
.content figure { margin: 28px 0; }
.content figure img, .content figure svg { width: 100%; height: auto; border-radius: 14px; display: block; }
.content figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; text-align: center; }

.content .lede { font-size: 19px; color: #d8d8de; margin-bottom: 22px; }

.content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px; margin: 26px 0; color: #d8d8de; font-size: 18px;
}

.content .note {
  background: var(--card); border-radius: 14px; padding: 18px 20px; margin: 26px 0;
}
.content .note p:last-child { margin-bottom: 0; }

.content h2 { scroll-margin-top: 20px; }
.content h3 { font-size: 18px; margin: 26px 0 8px; }
.content strong { color: var(--text); }

/* Screenshot sitting inside an article */
.content .shot-inline { max-width: 260px; margin: 28px auto; }
.content .shot-inline img { border-radius: 22px; border: 1px solid #26262c; }

/* End of article: the one place we ask for something */
.cta {
  margin: 44px 0 8px; padding: 26px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,159,10,0.14), rgba(255,214,10,0.06));
  border: 1px solid rgba(255,159,10,0.28);
}
.cta h3 { margin: 0 0 8px; font-size: 19px; color: var(--text); }
.cta p { margin-bottom: 14px; }
.cta a {
  display: inline-block; background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #17171c; font-weight: 700; text-decoration: none;
  padding: 11px 20px; border-radius: 12px;
}

.post-meta { color: var(--muted); font-size: 14px; }
.post-list .date { color: var(--muted); font-size: 14px; margin-left: 10px; }
.read-next { margin-top: 40px; padding-top: 22px; border-top: 1px solid #26262c; }
.read-next h3 { font-size: 16px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }

.post-list { list-style: none; padding: 0; }
.post-item { padding: 20px 0; border-bottom: 1px solid #22222a; }
.post-item > a { font-size: 19px; font-weight: 600; text-decoration: none; }
.post-item > a:hover { text-decoration: underline; }
.post-excerpt { color: #a8a8b2; font-size: 15px; margin-top: 6px; }
.content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.content th, .content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #26262c; color: #c9c9d1; }
.content th { color: var(--muted); font-weight: 600; font-size: 13px; }
.content td:last-child, .content th:last-child { text-align: right; }
