:root {
  --bg: #FFF8EE;
  --surface: #FFFFFF;
  --text: #2B1B2E;
  --muted: #6B5A6E;
  --line: #EADFD2;
  --accent: #E6007E;
  --accent-2: #00A86B;
  --string: #B89A7A;
  --radius: 16px;
  --max: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1320;
    --surface: #271C2C;
    --text: #F6EEF4;
    --muted: #BFAFC2;
    --line: #3A2C40;
    --accent: #FF4FA8;
    --accent-2: #3DDC97;
    --string: #7C6A58;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

/* Papel picado banner */
.banner {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 0 12px;
  border-top: 2px solid var(--string);
  overflow: hidden;
}
.banner svg { width: 44px; height: 52px; flex: 0 0 auto; transform-origin: top center; }
.banner svg:nth-child(odd) { transform: rotate(-3deg); }
.banner svg:nth-child(even) { transform: rotate(3deg); }
@media (min-width: 640px) { .banner svg { width: 58px; height: 68px; } }

header.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site a.home {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 0.95rem; }
header.site nav a:hover { color: var(--accent); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 16px 64px;
}
h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 1.3rem; margin: 36px 0 8px; }
p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }

/* App cards */
.apps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card strong { display: block; font-size: 1.05rem; }
.card span { color: var(--muted); font-size: 0.95rem; }

.icon {
  width: 64px; height: 64px; flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #E6007E, #FF7A00);
  display: grid; place-items: center;
}
.icon svg { width: 34px; height: 40px; }
.icon.lg { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 20px; }
.icon.lg svg { width: 52px; height: 60px; }

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.features li {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 12px;
}
.features strong { display: block; }

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}
.button.soon { background: transparent; color: var(--muted); border: 1px dashed var(--muted); cursor: default; }
.links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; }

/* Policy text */
.policy h2 { margin-top: 32px; }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 6px; }
.note {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }

/* Real app icons */
.icon.app { background: none; }
.icon img { width: 100%; height: 100%; display: block; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }

/* Screenshots */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 4px 0 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.shots figure { margin: 0; flex: 0 0 200px; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; display: block; border-radius: 28px; background: #000; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 700px) {
  .shots { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 4px 0 12px; }
  .shots figure { flex: none; }
}
.shots figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); text-align: center; }
