:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #8a8a8a;
  --text-dim: #5a5a5a;
  --rule: #1a1a1a;
  --accent: #e8863a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 24px 80px;
  text-align: center;
}

main {
  max-width: 560px;
  width: 100%;
}

/* --- App logo --- */

.logo {
  width: 256px;
  height: 256px;
  max-width: 100%;
  border-radius: 56px;          /* iOS-style squircle approximation */
  display: block;
  margin: 0 auto 32px;
}

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

.landing { text-align: center; }

.landing .logo {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-block;
  transition: opacity 160ms ease;
}
.store-badge img { display: block; width: 150px; height: 50px; }
.store-badge:hover { opacity: 0.8; }
.store-badge:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.store-badge.closing { margin: 8px 0 48px; }

.store-note {
  color: var(--text-dim);
  font-size: 13px;
  margin: 12px 0 0;
}

.demo { margin: 56px auto 0; max-width: 280px; }

.demo video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.landing section { margin-top: 64px; text-align: left; }

.landing section h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 12px; color: var(--text-muted); }
.steps strong { color: var(--text); font-weight: 600; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cards li {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.cards strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; }

.plain { margin: 0; padding-left: 20px; color: var(--text-muted); }
.plain li { margin-bottom: 8px; }
.plain strong { color: var(--text); font-weight: 600; }

.more { margin: 16px 0 0; font-size: 15px; }

.landing section a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  transition: border-color 160ms ease;
}
.landing section a:hover { border-bottom-color: var(--text); }

.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.faq details p { color: var(--text-muted); font-size: 15px; margin: 10px 0 0; }

.landing .links { margin-top: 0; }
.landing section + .store-badge { margin-top: 48px; }

/* --- Headings --- */

h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.tagline {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 auto 40px;
  max-width: 420px;
}

/* Subpage heading style — small, uppercase, tracked out */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 32px 0;
}

/* --- Links --- */

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 160ms ease;
}
.links a:hover { color: var(--text); }
.links a:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 160ms ease;
}
.back:hover { color: var(--text); }
.back:hover .arrow { transform: translateX(-3px); }
.back .arrow { transition: transform 160ms ease; display: inline-block; }
.back:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

/* --- Long-form text pages (privacy, imprint) --- */

.prose {
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}

.prose h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 36px 0 10px;
}
.prose h2:first-of-type { margin-top: 0; }

.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

.prose a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  transition: border-color 160ms ease;
}
.prose a:hover { border-bottom-color: var(--text); }

.updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* --- Imprint blocks --- */

.imprint-block {
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
}
.imprint-block p { margin: 0 0 14px 0; }
.imprint-block .name {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 18px;
}
.imprint-block .label {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.imprint-block a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  transition: border-color 160ms ease;
}
.imprint-block a:hover { border-bottom-color: var(--text); }

.responsibility {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  body { padding: 64px 20px 64px; }
  .logo { width: 200px; height: 200px; border-radius: 44px; }
  h1 { font-size: 28px; }
  .landing .logo { width: 128px; height: 128px; border-radius: 28px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
