/* David Levine Digital — shared stylesheet for the hub site and all shared pages */

:root {
  --ink: #1c1917;
  --ink-soft: rgba(28, 25, 23, 0.78);
  --muted: #57534e;
  --cream: #f7f5f0;
  --card-bg: #ffffff;
  --border: rgba(28, 25, 23, 0.12);
  --navy: #2b3a55;
  --navy-deep: #1c2740;

  --coral: #ff5a36;
  --green: #2e8f5c;
  --teal: #2db8a0;
  --slate: #9aa5b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

a:hover {
  color: var(--navy-deep);
}

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 48px, 880px);
  margin: 0 auto;
}

/* Header */

.site-header {
  padding: 36px 0 12px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
}

.logo-link img {
  height: 80px;
  width: auto;
  display: block;
}

/* Hero */

.hero {
  padding: 36px 0 8px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* App grid */

.apps {
  padding: 40px 0 8px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 4px;
  background: #fff;
}

.app-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.app-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.app-card .status {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.app-card.placeholder {
  border-style: dashed;
  opacity: 0.85;
}

/* Section cards used on legal / support pages */

.page-hero {
  padding: 44px 0 8px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-hero .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.content {
  padding: 24px 0 60px;
}

.content .card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}

.content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--navy);
}

.content p {
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.content ul {
  margin: 0 0 12px 20px;
  color: var(--ink-soft);
}

.content li {
  margin-bottom: 6px;
}

.content strong {
  color: var(--ink);
}

.app-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}

.app-index a {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(43, 58, 85, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.app-index a:hover {
  background: rgba(43, 58, 85, 0.16);
}

/* Support page contact list */

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item .name {
  font-weight: 700;
}

.contact-item a {
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 58, 85, 0.3);
}

/* Footer */

.site-footer {
  padding: 24px 0 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer nav {
  margin-bottom: 10px;
}

.site-footer nav a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.site-footer nav a:hover {
  color: var(--navy);
}

.site-footer .fine-print {
  max-width: 60ch;
  margin: 10px auto 0;
  line-height: 1.5;
}
