/*
 * Quill landing site (quietquill.app) — shared styles
 * Colors and typography aligned with the Quill app (AppTheme.swift)
 */

:root {
  /* Light mode (default) */
  --paper: #FAF7F2;
  --card: #FFFFFF;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --accent: #8C4545;
  --text: #1C1C1F;
  --text-secondary: #6B6B70;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1C1C1F;
    --card: #2B2B2E;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --accent: #BF6666;
    --text: #FAF7F2;
    --text-secondary: #98989E;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  background: var(--paper);
  color: var(--text);
  max-width: 640px;
  margin: 80px auto;
  padding: 0 24px;
  line-height: 1.6;
}

.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0.5em;
}

.hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 2px 16px var(--card-shadow);
  flex-shrink: 0;
}

h1 {
  font-weight: 600;
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-header {
  margin-bottom: 1.5em;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link:hover .logo-icon {
  opacity: 0.85;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

main {
  margin-top: 0;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.screenshots figure {
  margin: 0;
}

.screenshots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--card-shadow);
  background: var(--card);
}

.screenshots figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

footer {
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-secondary);
}

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