/* DTJ (Down to Jam) site styles */
/* Same palette as the app (app/src/styles.css): --accent is for fills, --accent-ink for accent-coloured text. */
:root { --bg: #f5f5f8; --raised: #ffffff; --text: #141418; --dim: #64646f; --accent: #1da1f2; --accent-ink: #0b76b8; --ok: #1a7f37; --danger: #d93025; --line: #d9d9e0; --radius: 14px; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); background: rgba(245,245,248,0.92); position: sticky; top: 0; z-index: 10; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { border-radius: 8px; }
.links a { color: var(--dim); margin-left: 18px; font-size: 15px; }
.hero { padding: 72px 0 40px; text-align: center; }
.hero img { border-radius: 28px; box-shadow: 0 16px 48px rgba(29,161,242,0.28); }
.hero .eyebrow { margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.hero h1 { font-size: 44px; margin: 6px 0 8px; }
.hero p { color: var(--dim); font-size: 19px; max-width: 560px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: #fff; border-radius: 12px; padding: 10px 18px 10px 14px; font-weight: 600; font-size: 18px; line-height: 1.1; text-align: left; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.75; }
.store-btn:hover { text-decoration: none; transform: translateY(-1px); }
.store-btn.secondary { background: var(--raised); color: var(--text); border: 1px solid var(--line); }
.signup { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; margin: 0 0 64px; text-align: center; scroll-margin-top: 80px; }
.signup h2 { margin: 0 0 8px; font-size: 26px; }
.signup p { color: var(--dim); max-width: 520px; margin: 0 auto 18px; }
.signup form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup input { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 16px; }
.signup input:focus { outline: none; border-color: var(--accent); }
.signup button { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 12px 18px; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
.signup button:disabled { opacity: 0.6; cursor: default; }
.form-note { min-height: 1.5em; margin: 12px 0 0 !important; font-size: 15px; }
.form-note.ok { color: var(--ok); }
.form-note.error { color: var(--danger); }
@media (max-width: 520px) { .signup form { flex-direction: column; } }
/* Screenshots: four phones in a row; on a narrow screen the row scrolls sideways and snaps to each phone. */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 16px 0 40px; }
.shots figure { margin: 0; text-align: center; }
.shots .phone { border-radius: 26px; padding: 6px; background: #1c1c22; box-shadow: 0 14px 34px rgba(20,20,24,0.18); }
.shots .phone img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--bg); }
.shots figcaption { margin-top: 12px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.shots figcaption strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 760px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 16px 20px 32px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 62%; max-width: 260px; scroll-snap-align: center; }
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 24px 0 64px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
main.doc { padding: 40px 0 80px; }
main.doc h1 { font-size: 32px; margin-bottom: 4px; }
main.doc h2 { font-size: 20px; margin-top: 36px; }
main.doc .updated { color: var(--dim); margin-top: 0; }
main.doc li { margin: 6px 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: 14px; }
footer a { color: var(--dim); margin-right: 16px; }
