/* movin'App — no cookies, no trackers, no third-party requests. */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/figtree.woff2') format('woff2');
}

:root {
  --bg:       #fdfdfc;
  --surface:  #f6f7f9;
  --heading:  #14181d;
  --text:     #5a636e;
  --muted:    #6b7480;
  --rule:     #e4e8ed;
  --accent:   #1f6f9e;
  --accent-2: #d63d78;
  --lede:     #464e59;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #16181c;
    --surface:  #1e2126;
    --heading:  #f2f4f7;
    --text:     #a8b0ba;
    --muted:    #838c98;
    --rule:     #2b2f36;
    --accent:   #6dadd3;
    --accent-2: #f277ab;
    --lede:     #c9d0d9;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 9vh 24px 6vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

header, main, footer {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */

.site-header { margin-bottom: 44px; }

.site-header a { display: inline-block; }

.site-header img {
  display: block;
  width: 236px;
  max-width: 70%;
  height: auto;
  transition: opacity 0.15s ease;
}

.site-header a:hover img { opacity: 0.7; }

/* Home */

.lede {
  margin: 0 0 14px;
  color: var(--lede);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

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

.subtitle a:hover { color: var(--accent-2); text-decoration: underline; }

.subtitle {
  margin: 0 0 64px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.about {
  margin: 0;
  max-width: 620px;
  color: var(--text);
  text-wrap: pretty;
}

.section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.app + .section-label { margin-top: 56px; }

.app {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 30px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
}

.app-icon-link {
  flex: none;
  display: block;
  transition: transform 0.15s ease;
}

.app-icon-link:hover { transform: scale(1.04); }

.app-icon {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 18px;
}

.app-body { min-width: 0; }

.app-name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-name a { color: var(--heading); text-decoration: none; }

.app-name a:hover { color: var(--accent); }

.app-desc { margin: 0 0 18px; color: var(--text); text-wrap: pretty; }

.badge { display: inline-block; }

.badge img {
  display: block;
  width: 156px;
  height: 40px;
  transition: opacity 0.15s ease;
}

.badge:hover img { opacity: 0.75; }

/* Text pages */

.page-title {
  margin: 0 0 14px;
  color: var(--lede);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose { max-width: 620px; }

.lede-sm {
  margin: 0 0 52px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.prose h2 {
  margin: 32px 0 10px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prose p { margin: 0 0 16px; text-wrap: pretty; }

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

.prose a:hover { color: var(--accent-2); text-decoration: underline; }

.updated { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* Footer */

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

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

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.x-link {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.15s ease;
}

.x-link:hover { color: var(--accent); }

.notice {
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px !important;
}

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

@media (max-width: 600px) {
  body { padding-top: 7vh; }
  .lede { font-size: 23px; }
  .subtitle { font-size: 17px; margin-bottom: 48px; }
  .page-title { font-size: 28px; }
  .app { flex-direction: column; gap: 18px; padding: 24px; }
  .app-icon { width: 72px; height: 72px; border-radius: 16px; }
}
