/* Tempo blog — shared styles (dark theme: navy + warm parchment) */
:root {
  --navy: #0A1628;
  --navy-light: #12223D;
  --navy-mid: #1A2F52;
  --parchment: #F5E6D3;
  --parchment-dim: #E8D5BF;
  --parchment-muted: rgba(245, 230, 211, 0.7);
  --accent: #E8A84C;
  --accent-hover: #D4963E;
  --sky: #7FB3D5;
  --text-secondary: rgba(245, 230, 211, 0.6);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--navy);
  color: var(--parchment);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: fixed; top: 0; width: 100%;
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 230, 211, 0.06);
}
.logo {
  font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 500;
  color: var(--parchment); text-decoration: none; letter-spacing: -0.02em;
}
.nav-cta {
  background: var(--accent); color: var(--navy);
  padding: 0.6rem 1.5rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

article, .page {
  max-width: 720px; margin: 0 auto;
  padding: 9rem 1.5rem 4rem;
}
.eyebrow {
  font-family: 'Newsreader', serif; font-style: italic;
  color: var(--accent); font-size: 1.05rem; margin-bottom: 1.25rem;
}
h1 {
  font-family: 'Newsreader', serif; font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.standfirst {
  font-size: 1.2rem; color: var(--parchment-muted);
  font-style: italic; margin-bottom: 2rem;
  font-family: 'Newsreader', serif;
}
.byline {
  font-size: 0.9rem; color: var(--text-secondary);
  padding-bottom: 2rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245, 230, 211, 0.1);
}
article h2, .page h2 {
  font-family: 'Newsreader', serif; font-weight: 600;
  font-size: 1.6rem; line-height: 1.25;
  margin: 2.6rem 0 1rem; letter-spacing: -0.01em;
}
article p, .page p { margin-bottom: 1.3rem; font-size: 1.08rem; }
article p.lead, .page p.lead { font-size: 1.2rem; }
article strong { color: var(--sky); font-weight: 600; }
blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.8rem 0;
  color: var(--parchment-dim); font-style: italic;
  font-family: 'Newsreader', serif; font-size: 1.12rem;
}
.answer {
  background: var(--navy-light);
  border: 1px solid rgba(245, 230, 211, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 1.2rem 1.4rem; margin: 0 0 2rem;
  font-size: 1.12rem;
}
.faq { margin-top: 2.5rem; border-top: 1px solid rgba(245, 230, 211, 0.1); padding-top: 1.5rem; }
.faq h2 { margin-top: 0; }
.faq dt { font-weight: 600; color: var(--parchment); margin-top: 1.2rem; }
.faq dd { margin: 0.4rem 0 0; color: var(--parchment-muted); }
.kicker {
  font-size: 1.2rem; font-family: 'Newsreader', serif;
  color: var(--parchment); font-weight: 500;
  border-top: 1px solid rgba(245, 230, 211, 0.1);
  margin-top: 2.5rem; padding-top: 2rem;
}

/* CTA blocks */
.cta-card {
  background: var(--navy-light);
  border: 1px solid rgba(245, 230, 211, 0.1);
  border-radius: 16px; padding: 2rem;
  margin: 3rem 0 1rem; text-align: center;
}
.cta-card h3 { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 0.6rem; }
.cta-card p { color: var(--parchment-muted); margin-bottom: 1.4rem; font-size: 1rem; }
.btn {
  display: inline-block; background: var(--accent); color: var(--navy);
  padding: 0.85rem 1.8rem; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 1rem; transition: background 0.2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-hover); }
.fine { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.8rem; }

/* Newsletter form */
.newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.newsletter input[type="email"] {
  flex: 1; min-width: 220px; padding: 0.85rem 1rem;
  border-radius: 10px; border: 1px solid rgba(245, 230, 211, 0.2);
  background: var(--navy); color: var(--parchment); font-size: 1rem; font-family: inherit;
}
.newsletter input[type="email"]::placeholder { color: var(--text-secondary); }

/* Blog index */
.post-list { list-style: none; }
.post-list li { border-bottom: 1px solid rgba(245, 230, 211, 0.1); padding: 1.6rem 0; }
.post-list a { text-decoration: none; color: var(--parchment); }
.post-list h2 { font-size: 1.4rem; margin: 0 0 0.4rem; transition: color 0.2s; }
.post-list a:hover h2 { color: var(--accent); }
.post-list p { color: var(--parchment-muted); font-size: 1rem; margin: 0; }

footer {
  max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem;
  color: var(--text-secondary); font-size: 0.85rem; text-align: center;
  border-top: 1px solid rgba(245, 230, 211, 0.08);
}
footer a { color: var(--parchment-muted); }
