/* ============================================================
   COLOR SCHEMES
   Uncomment one block to preview. Scheme 1 is active by default.
   ============================================================ */

/* Scheme 1: Dark — edgy, modern, KYC-forward */
:root {
  --bg:           #0D0D0D;
  --surface:      #171717;
  --surface-alt:  #1F1F1F;
  --accent:       #FF6B2B;
  --accent-hover: #E85D1E;
  --text:         #F0F0F0;
  --text-muted:   #777777;
  --border:       #2A2A2A;
  --featured-border: #FF6B2B;
}

/* Scheme 2: Light — clean, Apple-esque, professional
:root {
  --bg:           #F5F5F5;
  --surface:      #FFFFFF;
  --surface-alt:  #F0F0F0;
  --accent:       #E05A20;
  --accent-hover: #C94B18;
  --text:         #111111;
  --text-muted:   #666666;
  --border:       #E2E2E2;
  --featured-border: #E05A20;
}
*/

/* Scheme 3: Warm cream — indie, craft, soul-forward
:root {
  --bg:           #FDF6EE;
  --surface:      #FFFFFF;
  --surface-alt:  #F7EEE4;
  --accent:       #C94B1E;
  --accent-hover: #A83D18;
  --text:         #1C1A18;
  --text-muted:   #8A7D72;
  --border:       #E6D9CE;
  --featured-border: #C94B1E;
}
*/

/* ============================================================
   BASE
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.wordmark {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
}

.wordmark-text {
  font-family: 'Audiowide', sans-serif;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.wordmark-text .cap {
  display: inline-block;
  font-size: 1.25em;
  line-height: 0.8;
}

.logo-mark {
  width: 56px;
  height: 56px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 88px 0 72px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.55;
}

/* ============================================================
   APPS
   ============================================================ */

.apps {
  padding: 0 0 96px;
  flex: 1;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}

.app-card:hover {
  border-color: var(--text-muted);
}

.app-card.featured {
  grid-column: 1 / -1;
  border-color: var(--featured-border);
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.app-card.featured .app-icon {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.featured-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-note {
  color: var(--accent) !important;
  font-size: 0.85rem !important;
  flex: none !important;
}

@media (max-width: 720px) {
  .app-card.featured {
    flex-direction: column;
    align-items: flex-start;
  }
}

.app-store-link {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
}

.app-store-link img {
  height: 48px;
  width: auto;
  display: block;
}

.app-store-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 9px;
}

.app-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  margin-bottom: 6px;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-badge {
  font-family: 'Audiowide', sans-serif;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.app-badge.muted {
  color: var(--text-muted);
}

.app-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.15s;
  align-self: flex-start;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.btn:focus { outline: none; }

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: auto;
}

footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }

  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
