/* almanacstudios.co.uk shared styles
   Brand palette matches the Pliny app:
   - Royal blue  #1565C0  primary surfaces
   - Deep navy   #0D47A1  emphasis + footer
   - Warm gold   #D4AF37  accents + CTAs
   - Off-white   #FAFAFA  body background
   - Body text   #1A1A1A  primary text
*/

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

:root {
  --navy: #0D47A1;
  --navy-mid: #1565C0;
  --navy-light: #1976D2;
  --gold: #D4AF37;
  --gold-light: #E8C97E;
  --text: #1A1A1A;
  --text-muted: #555;
  --body-bg: #FAFAFA;
  --surface: #FFFFFF;
  --border: #E8E8E8;
  --white: #FFFFFF;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--body-bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--navy-mid); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

img { display: block; max-width: 100%; }

/* ─ Top navigation ──────────────────────────────────────────────── */
nav.site-nav {
  background-color: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}

.nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.nav-links a:hover { opacity: 1; color: var(--gold); }

/* ─ Page header (text-only pages: privacy, terms, support) ───────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: var(--white);
  padding: 72px 24px 56px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.page-hero .subtitle {
  font-size: 1rem;
  opacity: 0.85;
  font-weight: 400;
}

/* ─ Main content ─────────────────────────────────────────────────── */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

main.wide {
  max-width: 1000px;
}

main h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 40px 0 16px;
  line-height: 1.3;
}

main h2:first-child { margin-top: 0; }

main h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

main p {
  margin-bottom: 16px;
  color: var(--text);
}

main ul, main ol {
  margin: 0 0 18px 24px;
  color: var(--text);
}

main li {
  margin-bottom: 8px;
}

main strong { font-weight: 600; color: var(--navy); }

.callout {
  background: rgba(13, 71, 161, 0.04);
  border-left: 3px solid var(--navy-mid);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
  font-size: 0.97rem;
}

.callout-gold {
  background: rgba(212, 175, 55, 0.10);
  border-left: 3px solid var(--gold);
}

.muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ─ Homepage hero ────────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  color: var(--white);
  padding: 96px 24px 88px;
  text-align: center;
}

.home-hero img.logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.home-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: var(--gold);
}

.home-hero p.lede {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0.92;
  line-height: 1.55;
}

/* ─ Primary CTA button ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(212,175,55,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212,175,55,0.45);
  color: var(--navy);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ─ Cards (used on Pliny marketing page) ─────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.card .step-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--navy);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ─ FAQ accordion-style sections (no JS) ─────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0;
}

/* ─ Footer ───────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 32px;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-right: 16px;
}

.footer-bottom a:hover { color: var(--gold); }

/* ─ Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-inner { height: 60px; }
  .nav-brand img { width: 32px; height: 32px; }
  .nav-brand-name { font-size: 1.1rem; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.85rem; }

  main { padding: 40px 20px 60px; }

  .home-hero { padding: 64px 20px 56px; }
  .home-hero img.logo { width: 80px; height: 80px; }

  .page-hero { padding: 56px 20px 40px; }

  .card-grid { grid-template-columns: 1fr; }

  .footer-row { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
