@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --green: #1B5E42;
  --green-light: #2A7A58;
  --green-dark: #103829;
  --cream: #F8F4EE;
  --cream-dark: #EDE8DF;
  --gold: #B89040;
  --dark: #1A1A17;
  --mid: #5C5C52;
  --light: #9A9A8E;
  --white: #FFFFFF;
  --border: #DDD8CE;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --max: 1120px;
  --r: 4px;
  --rl: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--dark); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { color: var(--mid); line-height: 1.75; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 12px 26px; border-radius: var(--r); font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; transition: all 0.18s; text-decoration: none; border: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-light); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #A07F35; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.75); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Nav ── */
nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--dark); text-decoration: none; }
.nav-logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 400; color: var(--mid); letter-spacing: 0.02em; transition: color 0.15s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta { background: var(--green) !important; color: #fff !important; padding: 7px 16px; border-radius: var(--r); font-size: 0.82rem !important; }
.nav-cta:hover { background: var(--green-light) !important; }

/* ── Hero ── */
.hero { background: var(--green-dark); padding: 96px 24px 88px; position: relative; overflow: hidden; }
.hero::before { content: 'AENEID · X'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 9rem); font-weight: 600; color: rgba(255,255,255,0.035); white-space: nowrap; pointer-events: none; letter-spacing: 0.2em; }
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.hero-tag { display: inline-block; background: rgba(184,144,64,0.18); color: var(--gold); border: 1px solid rgba(184,144,64,0.35); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 13px; border-radius: 2px; margin-bottom: 22px; }
.hero h1 { color: var(--white); max-width: 680px; margin-bottom: 18px; font-weight: 400; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.65); }
.hero > .hero-inner > p { color: rgba(255,255,255,0.62); font-size: 1.05rem; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { color: rgba(255,255,255,0.45); font-size: 0.8rem; letter-spacing: 0.04em; }
.hero-stat strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 400; line-height: 1; margin-bottom: 3px; }

/* ── Sections ── */
.section { padding: 80px 24px; }
.section-white { background: var(--white); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: 10px; }
.sec-head h2 { margin-bottom: 10px; }
.sec-head p { max-width: 500px; margin: 0 auto; font-size: 0.95rem; }

/* ── Feature blocks ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px; }
.feat { padding: 32px 28px; background: var(--cream); border-left: 3px solid var(--green); }
.feat-label { font-family: var(--font-serif); font-size: 2.2rem; color: var(--green); opacity: 0.35; line-height: 1; margin-bottom: 10px; font-weight: 500; }
.feat h3 { font-size: 1rem; margin-bottom: 8px; }
.feat p { font-size: 0.85rem; }

/* ── Product cards ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 22px; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 4px 22px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card.bundle { border-color: var(--green); background: linear-gradient(140deg,#EEF6F1 0%,var(--white) 60%); grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto; gap: 0 32px; align-items: start; }
.card.bundle .bundle-right { display: flex; flex-direction: column; justify-content: space-between; min-width: 200px; padding-top: 4px; }
.ctag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 8px; display: inline-block; }
.ctag-green { color: var(--green); }
.ctag-gold { color: var(--gold); }
.ctag-badge { background: var(--green); color: #fff; padding: 3px 9px; border-radius: 2px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; line-height: 1.3; }
.card p { font-size: 0.85rem; color: var(--light); flex: 1; margin-bottom: 14px; }
.price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--dark); margin-bottom: 14px; font-weight: 400; line-height: 1; }
.price .free-price { color: var(--gold); }
.incl { list-style: none; margin-bottom: 18px; }
.incl li { font-size: 0.82rem; color: var(--mid); padding: 3px 0; padding-left: 20px; position: relative; }
.incl li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 500; }

/* ── About dark card ── */
.about-dark { background: var(--green-dark); border-radius: var(--rl); padding: 48px 52px; max-width: 780px; margin: 0 auto; }
.about-dark h2 { color: #fff; margin-bottom: 18px; }
.about-dark p { color: rgba(255,255,255,0.68); margin-bottom: 16px; font-size: 0.95rem; }
.about-dark p:last-of-type { margin-bottom: 24px; }

/* ── Blog cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.bcell { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 26px; transition: box-shadow 0.2s; }
.bcell:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
.btag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); font-weight: 500; margin-bottom: 8px; display: block; }
.bcell h3 { font-size: 1.15rem; margin-bottom: 9px; line-height: 1.3; }
.bcell h3 a { color: var(--dark); }
.bcell h3 a:hover { color: var(--green); }
.bcell p { font-size: 0.85rem; margin-bottom: 16px; }
.bmeta { font-size: 0.75rem; color: var(--light); }

/* ── CTA banner ── */
.cta-band { background: var(--green); padding: 64px 24px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.68); max-width: 440px; margin: 0 auto 26px; font-size: 0.95rem; }

/* ── Footer ── */
footer { background: var(--dark); padding: 52px 24px 0; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.foot-desc { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.65; }
.foot-head { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 7px; }
.foot-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.foot-links a:hover { color: #fff; }
.foot-bottom { max-width: var(--max); margin: 32px auto 0; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.74rem; color: rgba(255,255,255,0.28); line-height: 1.7; }

/* ── Page headers ── */
.page-hdr { background: var(--white); border-bottom: 1px solid var(--border); padding: 52px 24px 44px; }
.page-hdr-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: var(--light); margin-bottom: 14px; }
.breadcrumb a { color: var(--green); }
.page-hdr h1 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 10px; }
.page-hdr p { max-width: 580px; font-size: 0.95rem; }

/* ── Prose ── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.75rem; margin: 48px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { color: var(--mid); margin-bottom: 7px; }
.prose blockquote { border-left: 3px solid var(--green); padding: 10px 22px; margin: 24px 0; background: var(--cream); font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--dark); }
.prose .latin { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--dark); }

/* ── Passage groups ── */
.pgroup { margin-bottom: 44px; }
.pgroup-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--light); padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }

/* ── Notice ── */
.notice { background: #EBF5F0; border: 1px solid #A8D5BC; border-radius: var(--r); padding: 14px 18px; font-size: 0.86rem; color: var(--green-dark); margin-bottom: 28px; }

/* ── FAQ ── */
.faq { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.faq-a { font-size: 0.88rem; color: var(--mid); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 64px 24px 56px; }
  .hero-stats { gap: 20px; }
  .card.bundle { grid-template-columns: 1fr; }
  .card.bundle .bundle-right { min-width: auto; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-dark { padding: 32px 24px; }
  .section { padding: 56px 24px; }
}
