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

:root {
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --bg: #fff;
  --border: #d2d2d7;
  --link: #06c;
  --max-width: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg: #111;
    --border: #424245;
    --link: #2997ff;
  }
}

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

body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

/* Header */
.hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Divider */
hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 32px 0;
}

/* Description */
.description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Features */
.features {
  list-style: none;
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.features li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.features .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.features .label {
  font-weight: 600;
}

.features .detail {
  color: var(--text-secondary);
}

/* Demo section */
.demo-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.demo {
  margin-bottom: 40px;
  text-align: center;
}

.demo img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Coming soon */
.coming-soon {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.coming-soon a {
  color: var(--link);
  text-decoration: none;
}

.coming-soon a:hover {
  text-decoration: underline;
}

/* App Store badge */
.download {
  display: inline-block;
  margin-bottom: 40px;
}

.download img {
  height: 40px;
}

@media (prefers-color-scheme: dark) {
  .download img {
    filter: invert(1) hue-rotate(180deg);
  }
}

/* App card (hub page) */
.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}

.app-card:hover {
  background: rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  .app-card:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

.app-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.app-card-name {
  display: block;
  font-weight: 600;
  font-size: 1.125rem;
}

.app-card-detail {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

/* Privacy page */
.prose {
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 8px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.prose a {
  color: var(--link);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 40px 20px;
  }

  .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}
