/* BinaryHands site styles. Design tokens + components for the portfolio hub. */
:root {
  --bg: #F0F7FF;
  --ink: #1A2B4A;
  --muted: #5A6B8A;
  --muted-2: #7A8BA8;
  --accent: #7EECD8;
  --card: #FFFFFF;
  --soft: #F0F7FF;
  --line: #E8EEF5;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(26, 43, 74, 0.1);
  --shadow-hover: 0 8px 32px rgba(26, 43, 74, 0.15);
}

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

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.container--narrow { max-width: 720px; }

header.site { text-align: center; margin-bottom: 56px; }
.wordmark { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.tagline { color: var(--muted); font-size: 20px; font-weight: 600; margin-top: 8px; }

.section { margin-bottom: 48px; }
.section-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted-2); margin-bottom: 20px;
}
.collection-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 8px 0 16px; }

.app-card {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); display: flex; gap: 28px; align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 20px; text-decoration: none; color: inherit;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app-card__icon {
  flex-shrink: 0; width: 120px; height: 120px;
  border-radius: 24px; overflow: hidden; background: var(--soft);
}
.app-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card__info { flex: 1; }
.app-card__info h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.app-card__info p { color: #3A4B6A; margin-bottom: 14px; }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; background: var(--ink); color: #fff;
}
.pill--soft { background: var(--soft); color: var(--muted); }
.status { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.status--live { background: #1F8F6A; color: #fff; }
.status--beta { background: #3A6EA5; color: #fff; }
.status--soon { background: #E1E9F2; color: var(--muted); }

.app-links { display: flex; gap: 12px; flex-wrap: wrap; }
.app-links a {
  font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 8px 16px; border-radius: 8px; background: var(--soft);
  color: var(--ink); transition: background 0.2s ease;
}
.app-links a:hover { background: var(--accent); }

.card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card + .card { margin-top: 24px; }
.card h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.card h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.card p { color: #3A4B6A; margin-bottom: 16px; }
.card p:last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.value { padding: 24px 16px; background: var(--soft); border-radius: var(--radius-sm); border-top: 3px solid var(--accent); }
.value h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

.contact { text-align: center; }
.contact .card { padding: 40px 32px; }
.email {
  display: inline-block; font-weight: 700; font-size: 18px; text-decoration: none;
  border-bottom: 3px solid var(--accent); padding-bottom: 2px; color: var(--ink);
}
.email:hover { background: var(--accent); }

/* App landing page */
.back-link { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.app-hero { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.app-hero__icon { width: 120px; height: 120px; border-radius: 24px; overflow: hidden; flex-shrink: 0; background: var(--soft); }
.app-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.app-hero .tagline { font-size: 18px; margin-top: 0; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.store-cta { margin-top: 14px; }
.store-btn { display: inline-block; margin: 4px 8px 4px 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 10px; text-decoration: none; transition: background 0.2s ease; }
.store-btn:hover { background: #2A3B5A; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.feature { padding: 18px; background: var(--soft); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); font-size: 15px; }

.state-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.state { padding: 20px; background: var(--soft); border-radius: var(--radius-sm); }
.state h3 { font-size: 16px; margin: 0 0 6px; }
.state p { font-size: 14px; color: #3A4B6A; margin: 0; }

.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q { font-weight: 700; margin-bottom: 8px; }
.faq-a { color: #3A4B6A; margin: 0; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 8px; }

footer.site { text-align: center; padding: 40px 24px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 600px) {
  .container { padding: 40px 16px; }
  .app-card, .app-hero { flex-direction: column; text-align: center; }
  .app-links, .hero-meta, .badges { justify-content: center; }
  .wordmark { font-size: 32px; }
  .app-hero h1 { font-size: 28px; }
}
