/* Japa+ site. Palette matches the app: appColor teal (lib/main.dart), the
   icon's red accent, and near-black ink from the logo master. */
:root {
  --teal: #60b5bc;
  --teal-deep: #3e8d94;
  --teal-wash: #eef6f7;
  --red: #ff4d38;
  --ink: #373737;
  --muted: #6b7576;
  --paper: #fdfefe;
  --line: #d8e6e7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; row-gap: 10px;
  padding: 14px 24px;
  background: var(--teal);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { border-radius: 8px; display: block; }
.brand .name { font-size: 1.25rem; font-weight: 600; color: #fff; }
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 20px; margin-left: auto;
}
.nav-links a {
  color: #fff; text-decoration: none;
  font-size: 0.95rem; opacity: 0.92;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.nav-links .nav-cta {
  background: #fff; color: var(--teal-deep);
  padding: 6px 14px; border-radius: 999px; font-weight: 600;
}
.nav-links .nav-cta:hover { text-decoration: none; background: var(--teal-wash); }

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.prabhupada { text-align: center; }
.prabhupada img {
  width: 100%; max-width: 340px; height: auto;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(55, 55, 55, 0.22);
}
.prabhupada figcaption {
  margin-top: 10px; font-size: 0.85rem; color: var(--muted);
  font-style: italic;
}
.hero-copy h1 { font-size: 2.3rem; line-height: 1.2; margin-bottom: 16px; }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 20px 10px 16px; border-radius: 12px;
  transition: background 0.15s ease;
}
.store-btn:hover { background: #000; }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.25; font-size: 1.05rem; font-weight: 600; }
.store-btn small { font-size: 0.7rem; font-weight: 400; opacity: 0.85; }
.cta-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* ---- sections ---- */
main > .wrap + .wrap,
main .wrap:not(.hero) { padding-top: 48px; padding-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 10px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 32px; }

.blocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-bottom: 24px;
}
.block {
  background: var(--teal-wash); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px;
}
.block h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--teal-deep); }
.block p { font-size: 0.95rem; color: var(--ink); }

/* ---- screenshots ---- */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px; margin: 24px 0 48px;
}
.shot { text-align: center; }
.shot img {
  width: 100%; max-width: 260px; height: auto;
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(55, 55, 55, 0.15);
}
.shot figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

/* ---- footer ---- */
footer { background: var(--teal); color: #fff; margin-top: 24px; }
footer .wrap {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 0.9rem;
}
footer a { color: #fff; }
footer .name { font-size: 1rem; }

/* ---- small screens ---- */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .prabhupada { order: -1; }
  .hero-copy h1 { font-size: 1.8rem; }
  .nav-links { gap: 6px 14px; }
  .nav-links a { font-size: 0.9rem; }
}

/* ---- legal pages ---- */
.legal { padding-top: 40px; padding-bottom: 40px; max-width: 760px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 8px; }
.legal h2 { margin-top: 32px; }
.legal h3 { font-size: 1.2rem; margin-top: 24px; margin-bottom: 6px; }
.legal h4 { font-size: 1.05rem; margin-top: 18px; margin-bottom: 4px; }
.legal p, .legal li { font-size: 0.97rem; }
.legal ul { padding-left: 24px; margin: 10px 0 18px; }
.legal li { margin-bottom: 8px; }
