/* Blender Guide Bangladesh — mobile-first stylesheet */
:root {
  --accent: #e8501c;
  --accent-dark: #c43d12;
  --red: #b8291b;
  --tint: #fff4ee;
  --tint-2: #ffe7da;
  --ink: #1d1a18;
  --ink-2: #4a4440;
  --muted: #736b65;
  --line: #ece6e1;
  --bg: #ffffff;
  --band: #faf7f5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 26, 24, .04), 0 6px 24px rgba(29, 26, 24, .06);
  --shadow-hover: 0 2px 4px rgba(29, 26, 24, .05), 0 14px 36px rgba(29, 26, 24, .09);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .8em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.logo:hover { color: var(--ink); }
.logo em { font-style: normal; color: var(--accent); }
.logo-mark { flex: none; }
.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop a, .nav-mobile a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .94rem; }
.nav-desktop a:hover, .nav-mobile a:hover { color: var(--accent-dark); }
.nav-desktop a[aria-current='page'], .nav-mobile a[aria-current='page'] { color: var(--accent-dark); }
.nav-mobile summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.nav-mobile[open] .burger { background: transparent; }
.nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .06); padding: 8px 20px 18px; }
.nav-mobile li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.nav-mobile li:last-child a { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 80, 28, .25); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: #e2d6ce; color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--tint); color: var(--red); }
.text-link { display: inline-block; font-weight: 600; text-decoration: none; margin-top: .4em; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 36px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-sub { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }

/* Sections */
.section { padding: 56px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p:last-child { color: var(--ink-2); }
.split { display: grid; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 20px; }
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.topic-card { display: flex; flex-direction: column; height: 100%; padding: 24px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s, transform .2s; }
.topic-card:hover { color: var(--ink); box-shadow: var(--shadow-hover); border-color: #f2cdb9; transform: translateY(-2px); }
.topic-card p { color: var(--ink-2); flex: 1; }
.topic-card .more { color: var(--accent-dark); font-weight: 600; font-size: .92rem; }
.icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--tint); color: var(--accent); margin-bottom: 16px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #f0d8ca; font-size: .88rem; font-weight: 500; color: var(--ink-2); }

.factor-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.factor { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.factor .num { display: block; font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 1.1rem; margin-bottom: 6px; }
.factor p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.type-card { padding: 24px; }
.type-card p { color: var(--ink-2); font-size: .95rem; }
.type-card dl { margin: 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; }
.type-card dl div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.type-card dt { color: var(--muted); }
.type-card dd { margin: 0; font-weight: 500; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1em; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-dark); font-weight: 700; font-size: .9rem; }
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--ink-2); margin: 0; }
.media-card { margin: 0; }
.media-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-card figcaption, .inline-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.care-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.care-list li { padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--band); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.care-list h3 { margin-bottom: .2em; font-size: 1.02rem; }
.care-list p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; border-radius: var(--radius-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table caption { text-align: left; font-weight: 600; padding: 0 0 10px; color: var(--ink-2); font-size: .88rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--tint); color: var(--ink); font-weight: 650; font-size: .85rem; }
.table thead th:first-child { border-top-left-radius: 10px; }
.table thead th:last-child { border-top-right-radius: 10px; }
.table tbody th { font-weight: 600; }
.table tbody tr:last-child > * { border-bottom: 0; }
.compare { min-width: 640px; }
.compare thead th { background: var(--ink); color: #fff; padding: 14px; }
.compare tbody tr:nth-child(even) { background: var(--band); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq[open] summary::after { content: '–'; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.02rem; }
.faq summary:hover h3 { color: var(--accent-dark); }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }
.faq-jump ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.faq-jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--ink-2); }
.faq-jump a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--red) 100%); color: #fff; border-radius: 26px; padding: 44px 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 34em; margin: 0 auto 24px; color: rgba(255, 255, 255, .9); }

/* Article pages */
.page-head { padding-top: 22px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #c9bfb8; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); text-decoration: underline; }
.article-head { max-width: 800px; padding-bottom: 28px; }
.article-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.lede { font-size: 1.15rem; color: var(--ink-2); }
.meta { font-size: .86rem; color: var(--muted); margin: 0; }
.article-layout { display: grid; gap: 32px; padding-bottom: 32px; }
.article-figure { margin: 0 0 32px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-main { min-width: 0; }
.article-main > .section { padding: 24px 0 0; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose > :first-child { margin-top: 0; }
.note { background: var(--tint); border: 1px solid var(--tint-2); padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; color: var(--ink-2); }
.inline-figure { margin: 1.5em 0; }
.inline-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.proscons { display: grid; gap: 12px; margin-bottom: 1em; }
.proscons > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px 4px; }
.proscons h3 { margin: 0 0 .4em; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.proscons ul { margin: 0 0 .6em; font-size: .97rem; }
.profiles { display: grid; gap: 14px; margin-bottom: 1.4em; }
.profile { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.profile h3 { margin-top: 0; }
.profile-who { color: var(--muted); font-size: .92rem; }
.profile p:last-child { margin: 0; font-size: .95rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--accent); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--band); }
.toc-title { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .6em; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: .4em; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.related { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.related-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .2s, border-color .2s; }
.related-card:hover { color: var(--ink); border-color: #f2cdb9; box-shadow: var(--shadow-hover); }
.related-card strong { color: var(--accent-dark); }
.related-card span { color: var(--ink-2); font-size: .93rem; }

/* Form */
.form { display: grid; gap: 16px; margin-top: 1.5em; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #ddd3cc; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 80, 28, .18); }
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #1d1a18; color: #cfc6bf; padding: 48px 0 24px; margin-top: 24px; }
.site-footer a { color: #e9e2dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand p { font-size: .92rem; max-width: 30em; margin-top: 14px; }
.logo-footer span { color: #fff; }
.footer-h { color: #fff; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.footer-base { border-top: 1px solid #3a3430; margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #9d948d; }
.footer-base p { margin: 0; }

/* Larger screens */
@media (min-width: 640px) {
  .card-grid, .factor-grid, .related-grid, .profiles, .proscons { grid-template-columns: repeat(2, 1fr); }
  .pad { padding: 28px; }
  .cta-band { padding: 64px 40px; }
}
@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .nav-desktop ul { display: flex; gap: 26px; }
  .nav-mobile { display: none; }
  .header-inner { height: 72px; }
  html { scroll-padding-top: 92px; }
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .section { padding: 88px 0; }
  .card-grid, .factor-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .split-media { grid-template-columns: 1.1fr .9fr; }
  .split-media.reverse { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .sticky-media { position: sticky; top: 100px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
  .article-side .toc { position: sticky; top: 100px; }
  .footer-grid { grid-template-columns: 2fr 1.2fr 1fr; }
}
@media (max-width: 959px) {
  .article-side { order: -1; }
  .article-side .toc ol { columns: 2; column-gap: 24px; }
}
@media (max-width: 639px) {
  .article-side .toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
