/* Pinhoti Dev: the pine-green of the app icon, light and dark. */
:root {
  --pine: #2f7f5f;
  --pine-deep: #113b2c;
  --bg: #ffffff;
  --band: #f3f7f5;
  --text: #1b2621;
  --muted: #55645d;
  --card: #ffffff;
  --border: #d9e3de;
  --accent: var(--pine);
  --accent-text: #ffffff;
  --link: #22684d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1613;
    --band: #141e1a;
    --text: #e4ece8;
    --muted: #9fb0a8;
    --card: #18241f;
    --border: #2a3a33;
    --accent: #3f9a75;
    --link: #7fcca9;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-row { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { border-radius: 7px; }

nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
}
.button:hover { filter: brightness(1.08); }
.button.ghost { background: transparent; color: var(--text); border-color: var(--border); }
nav a.button.small { padding: 6px 14px; color: var(--accent-text); }

.hero { padding: 72px 0 64px; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { color: var(--muted); font-size: 14px; margin-top: 20px; }
.hero-icon { border-radius: 48px; box-shadow: 0 20px 50px rgba(17, 59, 44, 0.35); flex-shrink: 0; }

section { padding: 64px 0; }
.band { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); max-width: 720px; margin: 0 0 32px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.app-title { display: flex; align-items: center; gap: 10px; }
.app-title img { border-radius: 7px; flex: none; }
.card p { margin: 0; color: var(--muted); }
.download ul { list-style: none; padding: 0; margin: 14px 0 0; }
.download li { padding: 6px 0; border-top: 1px solid var(--border); }
.download li:first-child { border-top: 0; }


.chips { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.note { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 860px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  .hero-row { flex-direction: column-reverse; align-items: flex-start; }
  .hero-icon { width: 120px; height: 120px; border-radius: 26px; }
  nav a:not(.button) { display: none; }
}
