:root {
  --bg: #f7f7f5;
  --bg-accent: #fff8d9;
  --surface: #ffffff;
  --text: #151515;
  --muted: #5f5f5f;
  --line: #e8e5dc;
  --accent: #e9c64a;
  --accent-dark: #7a5d00;

  --shadow-soft: 0 8px 26px rgba(0,0,0,0.03);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.04);

  --radius-xl: 24px;
  --radius-lg: 22px;

  --max: 900px;
}

/* Base */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-accent) 0, var(--bg) 180px);
  color: var(--text);
  line-height: 1.65;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Hero (match legal pages) */
.hero-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(4px);
  border: 1px solid #f0e4a9;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: #fff2b8;
  border: 1px solid #f0df8f;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
  font-weight: 700;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.hero-copy,
.app-desc,
.app-tagline {
  color: var(--muted);
}

/* Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 24px;
}

/* Cards */
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}

.app-card:hover {
  transform: translateY(-2px);
}

.app-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.app-icon-image {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

/* Button (simpler like legal pages) */
.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.btn:hover {
  background: #333;
}

/* Overlay */
.app-release-cover {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}

/* Sections (match legal card style) */
.legal,
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 22px;
  box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 640px) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 24px 16px 50px;
  }

  .app-card {
    padding: 18px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
