/*
Theme Name: Golden Ledger
Theme URI: https://example.com/golden-ledger
Author: Golden Ledger
Author URI: https://example.com
Description: A polished WordPress starter theme for Golden Ledger, a premium digital planner and wealth-systems brand focused on printable planners, Notion-style trackers, and digital product courses.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: golden-ledger
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, block-styles, e-commerce
*/

:root {
  --gold: #C9A227;
  --deep-navy: #0F172A;
  --cream: #FFF8E7;
  --warm-white: #FFFCF5;
  --charcoal: #1F2937;
  --soft-gold: #F3E2A3;
  --muted-gray: #6B7280;
  --success: #1F7A4D;
  --border: #E7D8A1;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 245, .94);
  border-bottom: 1px solid rgba(201,162,39,.25);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; color: var(--deep-navy); letter-spacing: -.02em; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 24px; align-items: center; font-weight: 650; font-size: .95rem; }
.nav a:hover { color: var(--gold); }
.nav .button-small { color: var(--deep-navy); }

.button, .button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep-navy);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(201,162,39,.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover, .button-small:hover { transform: translateY(-1px); color: var(--deep-navy); }
.button { padding: 14px 22px; }
.button-small { padding: 10px 16px; }
.button.secondary { background: var(--deep-navy); color: white; box-shadow: none; }
.button.ghost { background: transparent; border: 1px solid var(--border); box-shadow: none; }

.hero {
  background: radial-gradient(circle at top left, rgba(201,162,39,.24), transparent 34%), linear-gradient(135deg, var(--cream), #fff 54%, #F8F1D2);
  padding: 82px 0 70px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { color: var(--deep-navy); line-height: 1.08; margin: 0 0 18px; }
h1 { font-family: Georgia, serif; font-size: clamp(2.8rem, 7vw, 5.4rem); letter-spacing: -.05em; }
h2 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.2rem; max-width: 650px; color: #374151; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--muted-gray); font-weight: 700; font-size: .95rem; }

.ledger-card {
  background: var(--deep-navy);
  color: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.ledger-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,162,39,.28), transparent 42%); }
.ledger-card > * { position: relative; }
.card-label { color: var(--soft-gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.card-title { font-family: Georgia, serif; font-size: 2rem; margin: 8px 0 18px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 12px 14px; }
.check-list li::before { content: "✓"; color: var(--soft-gold); font-weight: 900; margin-right: 10px; }

.section { padding: 76px 0; }
.section.alt { background: var(--cream); }
.section-header { max-width: 720px; margin-bottom: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card, .product-card, .course-card, .content-card {
  background: #fff;
  border: 1px solid rgba(201,162,39,.25);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.feature-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--soft-gold); display: grid; place-items: center; font-weight: 900; color: var(--deep-navy); margin-bottom: 16px; }
.price { font-size: 2rem; font-weight: 900; color: var(--deep-navy); margin: 10px 0; }
.badge { display: inline-block; background: var(--deep-navy); color: white; border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 800; }

.cta-band {
  background: var(--deep-navy);
  color: white;
  border-radius: 30px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.cta-band h2 { color: white; }
.cta-band p { color: #D1D5DB; margin-bottom: 0; }

.site-footer { background: var(--deep-navy); color: #D1D5DB; padding: 38px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { color: white; font-family: Georgia, serif; font-weight: 800; font-size: 1.3rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.page-hero { background: var(--cream); padding: 64px 0; }
.page-content { padding: 64px 0; }
.form-card { max-width: 720px; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form-card input, .form-card textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; font: inherit; }
.form-card textarea { min-height: 150px; }

@media (max-width: 820px) {
  .hero-grid, .grid-3, .cta-band { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding-top: 56px; }
  .section { padding: 56px 0; }
}
