:root { --text-primary: #111827; --text-secondary: #4b5563; --accent: #2563eb; --bg-card: #0f1218; }
body { margin: 0; padding: 0; background-color: #f9fafb; color: var(--text-primary); font-family: 'Inter', sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 680px; margin: 60px auto; padding: 60px 50px 80px; background-color: #ffffff; border-radius: 24px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); border: 1px solid #e5e7eb; }
@media (max-width: 768px) { body { background-color: #ffffff; } .container { margin: 0; max-width: 100%; border: none; border-radius: 0; box-shadow: none; padding: 40px 24px 80px; } }
h1 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 2.75rem; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; color: #000; }
.meta-data { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #6b7280; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f3f4f6; padding-bottom: 1.5rem; }
.meta-data a { color: #4b5563; font-weight: 600; border-bottom: 1px solid transparent; transition: all 0.2s; }
.meta-data a:hover { color: #111827; border-bottom-color: #111827; }
.section-heading { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.75rem; margin-top: 3rem; margin-bottom: 1rem; letter-spacing: -0.02em; color: #1f2937; }
.sub-heading { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 1rem; color: #374151; }
p { margin-bottom: 1.5rem; font-size: 1.125rem; color: #374151; font-weight: 300; }
strong { font-weight: 700; color: #111827; }
em { font-style: italic; }
code { font-family: 'SF Mono', 'Consolas', 'Monaco', monospace; background-color: #f3f4f6; padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; color: #1f2937; }
pre { background-color: #1f2937; color: #e5e7eb; padding: 1.25rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1.5rem; font-family: 'SF Mono', 'Consolas', 'Monaco', monospace; font-size: 0.875rem; line-height: 1.6; }
pre code { background-color: transparent; padding: 0; color: inherit; font-size: inherit; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; font-weight: 400; }
a:hover { border-bottom-color: var(--accent); }
a.img-link { border-bottom: none; display: block; }
a.img-link:hover { border-bottom: none; }
ul { margin-bottom: 2rem; padding-left: 1.25rem; list-style-type: disc; }
ol { margin-bottom: 2rem; padding-left: 1.25rem; list-style-type: decimal; }
ul.sub-list, ol.sub-list { margin-bottom: 0.5rem; margin-top: 0.5rem; padding-left: 1.5rem; }
ul.sub-list { list-style-type: circle; }
ol.sub-list { list-style-type: lower-alpha; }
li { margin-bottom: 0.75rem; font-size: 1.125rem; color: #374151; padding-left: 0.5rem; }
li.sub-bullet, li.sub-numbered { margin-bottom: 0.5rem; font-size: 1rem; }
li::marker { color: #9ca3af; }
figure { margin: 2.5rem 0; display: block; clear: both; }
img { max-width: 100%; height: auto; display: block; }
figcaption { text-align: center; font-size: 0.875rem; color: #6b7280; margin-top: 0.75rem; font-family: 'Inter', sans-serif; font-style: italic; }
.w-full { width: 100%; } .w-75 { width: 75%; } .w-50 { width: 50%; } .w-25 { width: 25%; }
.img-align-center { margin-left: auto; margin-right: auto; }
.img-align-left { margin-left: 0; margin-right: auto; }
.img-align-right { margin-left: auto; margin-right: 0; }
.img-rounded { border-radius: 12px !important; } .img-square { border-radius: 0 !important; }
.img-shadow { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.img-border { border: 1px solid #e5e7eb; padding: 4px; background: #fff; }
.img-browser { box-shadow: 0 10px 30px rgba(0,0,0,0.12); padding-top: 28px; background-color: #f1f5f9; position: relative; overflow: hidden; border: 1px solid #e2e8f0; }
.img-browser::before { content: ''; position: absolute; top: 10px; left: 14px; width: 42px; height: 10px; background-image: radial-gradient(circle, #ff5f57 30%, transparent 40%), radial-gradient(circle, #ffbd2e 30%, transparent 40%), radial-gradient(circle, #28c940 30%, transparent 40%); background-size: 14px 14px; background-position: 0 0, 14px 0, 28px 0; background-repeat: no-repeat; }
.img-browser img { border-top: 1px solid #e2e8f0; display: block; }
.img-left { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.img-right { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; width: 100%; align-items: flex-start; }
.dual-img { width: 100%; height: auto; display: block; object-fit: contain; }
@media (max-width: 600px) { .img-left, .img-right { float: none; width: 100% !important; margin: 2rem 0; } .dual-grid { grid-template-columns: 1fr; gap: 1rem; } }
.signature-block { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; display: flex; flex-direction: column; gap: 1.5rem; clear: both; }
.signature-label { font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9ca3af; font-weight: 600; }
a.signature-link { text-decoration: none; border-bottom: none; display: block; }
.author-card { background-color: var(--bg-card); border-radius: 12px; padding: 24px; display: flex; align-items: center; gap: 24px; color: white; font-family: 'Inter', sans-serif; }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.author-info h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px 0; color: white; }
.author-info p { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #9ca3af; margin: 0; line-height: 1.4; font-weight: 400; }
.header-branding { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; text-decoration: none; cursor: pointer; }
.header-branding img { width: 32px; height: 32px; border-radius: 8px; }
.header-branding span { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: #111827; }
.header-top { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
a.home-link { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #64748b; text-decoration: none; font-weight: 600; transition: all 0.2s; border-bottom: none; }
a.home-link:hover { color: #475569; border-bottom: none; }
.tags-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f3f4f6; }
.tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pdf-btn { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #4b5563; background: #ffffff; border: 1px solid #e5e7eb; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.2s; display: flex; align-items: center; gap: 8px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.pdf-btn:hover { background: #f9fafb; color: #111827; border-color: #d1d5db; transform: translateY(-1px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.pdf-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pdf-header { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: #9ca3af; margin-bottom: 1.5rem; }
.recommendations { margin-top: 4rem; }
.rec-label { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; color: #111827; margin-bottom: 1.5rem; }
.rec-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.rec-card { display: flex; align-items: baseline; gap: 12px; text-decoration: none; padding: 20px; border: 1px solid #e5e7eb; border-radius: 8px; transition: all 0.2s ease; background: #fafafa; }
.rec-card:hover { border-color: #d1d5db; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-1px); }
.rec-arrow { color: var(--accent); font-weight: bold; font-family: 'Inter', sans-serif; }
.rec-title { font-family: 'Inter', sans-serif; font-weight: 600; color: #1f2937; font-size: 1.05rem; }
.article-tag { font-family: 'Inter', sans-serif; font-size: 0.7rem; background: #f1f5f9; padding: 2px 8px; border-radius: 4px; color: #64748b; font-weight: 600; text-transform: uppercase; margin-right: 6px; }
@media (min-width: 640px) { .rec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .container { padding: 40px 20px; } h1 { font-size: 2rem; } .author-card { flex-direction: column; text-align: center; } }
