/* Shared style of the blog and glossary pages (same look as the home page). */
:root {
  --night: #1a0b12; --plum: #4a1f36; --plum-2: #6e3352;
  --gold: #d9b26a; --gold-light: #f4dfa8; --cream: #f8efe6;
  --muted: rgba(248, 239, 230, .7); --line: rgba(244, 223, 168, .18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--night); color: var(--cream); font: 400 17px/1.7 Inter, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.gold { background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, #b8873e 70%, var(--gold-light)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

nav.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(26, 11, 18, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Cormorant Garamond", serif; font-size: 24px; letter-spacing: 4px; font-weight: 600; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.links a:hover { color: var(--gold); }
.btn { display: inline-block; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--night) !important; font-weight: 600; border-radius: 999px; padding: 9px 18px; font-size: 14px; }

.hero.small { text-align: center; padding: 80px 20px 50px; background: radial-gradient(60% 80% at 50% 0%, rgba(110, 51, 82, .8), transparent 70%); }
.kicker { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; font-weight: 600; }
h1 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(40px, 6vw, 68px); line-height: 1.08; margin: 12px 0 16px; }
h1 em { font-style: italic; }
.lead { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 18px; }

.grid { max-width: 1100px; margin: 0 auto; padding: 20px 20px 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; background: linear-gradient(160deg, rgba(110, 51, 82, .35), rgba(26, 11, 18, .2)); transition: transform .35s, border-color .35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); border-color: rgba(217, 178, 106, .5); }
.card .emoji { font-size: 40px; }
.card h2 { font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 600; line-height: 1.15; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .more { color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 16px; }

.article { max-width: 720px; margin: 0 auto; padding: 50px 20px 80px; }
.article .back { color: var(--gold); font-size: 14px; }
.article .emoji { font-size: 54px; margin-top: 28px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.article h2 { font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 600; color: var(--gold-light); margin: 38px 0 10px; }
.article p { margin: 14px 0; color: rgba(248, 239, 230, .88); }
.article ul { margin: 14px 0 14px 22px; }
.article li { margin: 8px 0; color: rgba(248, 239, 230, .88); }
.article li::marker { color: var(--gold); }
.article strong { color: var(--cream); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 50px; padding: 22px; border: 1px solid rgba(217, 178, 106, .45); border-radius: 22px; background: linear-gradient(160deg, rgba(217, 178, 106, .14), rgba(110, 51, 82, .3)); }
.cta img { width: 56px; height: 56px; border-radius: 14px; }
.cta div { flex: 1; min-width: 200px; font-size: 15px; }
.cta span { color: var(--muted); }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 22px; }
.lang button { background: none; border: 0; color: var(--muted); padding: 7px 16px; font: 600 13px Inter, sans-serif; cursor: pointer; }
.lang button.on { background: var(--gold); color: var(--night); }
.glossary { max-width: 1100px; margin: 0 auto; padding: 10px 20px 80px; }
.glossary section { margin-top: 40px; }
.glossary h2 { font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 600; color: var(--gold-light); margin-bottom: 16px; }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.note { border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; background: rgba(255, 255, 255, .03); }
.note h3 { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600; }
.note p { color: var(--muted); font-size: 15px; margin-top: 6px; }

footer { border-top: 1px solid var(--line); padding: 36px 20px 50px; text-align: center; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 12px; }
footer a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .links a:not(.btn) { display: none; }
  .hero.small { padding: 56px 16px 36px; }
}
