:root {
  --ink: #18222b;
  --muted: #68747a;
  --paper: #f8f9f7;
  --green: #1f5147;
  --green-dark: #183f38;
  --blue: #8fafc5;
  --border: rgba(24, 34, 43, .1);
  --display: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--green); border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.site-header { width: min(1180px, calc(100% - 48px)); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; padding: 1px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; box-shadow: 0 7px 22px rgba(20, 30, 30, .08); }
.brand img { width: 168px; margin-block: -9px; }
.site-nav { display: flex; align-items: center; gap: 26px; color: #566368; font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; padding: 0 17px; color: #fff !important; background: var(--green); border-radius: 999px; font-weight: 700; }
.page-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.breadcrumbs { padding-top: 28px; color: var(--muted); font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #9ba4a6; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: rgba(31,81,71,.25); text-underline-offset: 3px; }
.blog-hero { padding: 92px 0 70px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }
.blog-hero h1 { max-width: 880px; margin: 0 auto; font-size: clamp(50px, 7vw, 82px); line-height: 1; }
.blog-hero > p:last-child { max-width: 650px; margin: 24px auto 0; color: var(--muted); font-size: 18px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-bottom: 112px; }
.post-card { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.8); box-shadow: 0 12px 38px rgba(20,30,30,.055); transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20,30,30,.09); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-content { padding: 26px 26px 29px; }
.post-card h2 { margin: 0; font-size: 29px; line-height: 1.1; }
.post-card p { margin: 14px 0 21px; color: var(--muted); font-size: 14px; }
.post-link { color: var(--green); font-size: 13px; font-weight: 800; }
.article-header { max-width: 900px; margin: 0 auto; padding: 68px 0 42px; text-align: center; }
.article-header h1 { margin: 0; font-size: clamp(46px, 6vw, 72px); line-height: 1.02; text-wrap: balance; }
.article-deck { max-width: 720px; margin: 24px auto 0; color: var(--muted); font-size: 19px; }
.article-hero { width: min(1120px, calc(100% - 48px)); height: min(58vw, 620px); margin: 0 auto; object-fit: cover; border-radius: 26px; }
.article-layout { width: min(1050px, calc(100% - 48px)); margin: 68px auto 112px; display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 80px; align-items: start; }
.article-body { font-size: 17px; }
.article-body > p:first-child { margin-top: 0; color: #3f5056; font-size: 21px; line-height: 1.65; }
.article-body h2 { margin: 56px 0 18px; font-size: 40px; line-height: 1.1; }
.article-body h3 { margin: 34px 0 12px; font-size: 27px; line-height: 1.18; }
.article-body p, .article-body li { color: #44545a; }
.article-body a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 10px; }
.example, .checklist { margin: 28px 0; padding: 23px 25px; border-left: 3px solid var(--green); border-radius: 0 14px 14px 0; background: #edf1ed; }
.example strong, .checklist strong { color: var(--green); }
.article-aside { position: sticky; top: 24px; padding: 23px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.article-aside h2 { margin: 0 0 14px; font-size: 22px; }
.article-aside ul { margin: 0; padding: 0; list-style: none; }
.article-aside li + li { border-top: 1px solid var(--border); }
.article-aside a { display: block; padding: 12px 0; color: var(--green); font-size: 13px; line-height: 1.45; }
.article-cta { margin-top: 56px; padding: 34px; border-radius: 20px; color: #fff; background: var(--green); }
.article-cta h2 { margin: 0 0 12px; color: #fff; }
.article-cta p { color: rgba(255,255,255,.78); }
.article-cta a { display: inline-flex; margin-top: 8px; padding: 11px 18px; color: var(--green); background: #fff; border-radius: 999px; text-decoration: none; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 112px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: var(--green); }
.post-card[hidden] { display: none; }
.article-meta { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.article-toc { margin: 0 0 42px; padding: 24px 26px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.article-toc strong { color: var(--green); }
.article-toc ol { margin: 12px 0 0; padding-left: 22px; }
.article-toc li + li { margin-top: 5px; }
.article-toc a { font-size: 14px; }
.article-body pre { overflow-x: auto; padding: 18px; border-radius: 12px; color: #e8f1ea; background: #172d29; font-size: 14px; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.featured-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; overflow: hidden; margin: 0 0 58px; border: 1px solid var(--border); border-radius: 24px; background: #fff; }
.featured-guide img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.featured-guide > div { padding: 34px 40px 34px 0; }
.featured-guide h2 { margin: 0; font-size: clamp(32px, 4vw, 49px); line-height: 1.05; }
.featured-guide p:not(.eyebrow) { color: var(--muted); }
.featured-guide .post-link { display: inline-block; margin-top: 10px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.blog-filters button, .blog-pagination button { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--green); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.blog-filters button[aria-pressed="true"], .blog-pagination button[aria-current="page"] { color: #fff; background: var(--green); }
.blog-pagination { display: flex; gap: 8px; justify-content: center; margin: -50px 0 80px; }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.card-bottom time { color: var(--muted); font-size: 12px; }
.blog-bottom-cta { margin: 0 0 100px; padding: 45px; border-radius: 22px; text-align: center; background: #edf1ed; }
.blog-bottom-cta h2 { margin: 0; font-size: 40px; }
.blog-bottom-cta p { color: var(--muted); }
.blog-bottom-cta .nav-cta { margin-top: 7px; }
.landing-hero { display: grid; grid-template-columns: 1fr .92fr; gap: 55px; align-items: center; padding: 72px 0 58px; }
.landing-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 1.03; }
.landing-hero p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 19px; }
.landing-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.landing-actions > a:last-child { color: var(--green); font-size: 14px; font-weight: 700; }
.landing-layout { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 80px; align-items: start; margin: 0 auto 100px; }
.landing-layout .article-body h2:first-child { margin-top: 0; }
.landing-faq details { padding: 18px 0; border-bottom: 1px solid var(--border); }
.landing-faq summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.landing-faq details p { margin-bottom: 0; }
.lead-section { max-width: 790px; margin: 0 auto 110px; padding: 38px; border: 1px solid var(--border); border-radius: 22px; background: #fff; }
.lead-section h2 { margin: 0; font-size: 40px; }
.lead-section > p { color: var(--muted); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-section label { display: grid; gap: 6px; margin-top: 16px; color: var(--ink); font-size: 13px; font-weight: 700; }
.lead-section input, .lead-section textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(24,34,43,.19); border-radius: 9px; color: var(--ink); background: #fbfcfa; font: inherit; font-weight: 400; }
.lead-section textarea { resize: vertical; }
.lead-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead-submit { border: 0; cursor: pointer; }
.form-submit-row { display: flex; gap: 15px; align-items: center; margin-top: 22px; }
.form-status { color: var(--muted); font-size: 13px; }
.form-status.is-error { color: #9b3c32; }
.form-success { padding: 25px 0; }
.form-success[hidden] { display: none; }
.form-success h3 { margin: 0; font-size: 32px; }
[lang="te-IN"] .article-body, [lang="te-IN"] .article-deck { font-family: "Noto Sans Telugu", "Nirmala UI", "Gautami", system-ui, sans-serif; }
[lang="te-IN"] .article-body h2, [lang="te-IN"] .article-header h1 { font-family: "Noto Sans Telugu", "Nirmala UI", "Gautami", system-ui, sans-serif; letter-spacing: 0; }

@media (max-width: 840px) {
  .post-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .landing-layout { grid-template-columns: 1fr; gap: 44px; }
  .landing-hero { grid-template-columns: 1fr; gap: 30px; }
  .featured-guide { grid-template-columns: 1fr; }
  .featured-guide > div { padding: 0 28px 30px; }
  .article-aside { position: static; }
}
@media (max-width: 620px) {
  .site-header, .page-shell, .article-hero, .article-layout, .footer-inner { width: calc(100% - 32px); }
  .site-nav > a:not(.nav-cta):not([aria-current="page"]) { display: none; }
  .brand img { width: 140px; }
  .blog-hero { padding: 70px 0 50px; }
  .article-header { padding-top: 48px; }
  .article-hero { height: 58vw; min-height: 250px; border-radius: 18px; }
  .article-layout { margin-top: 46px; }
  .article-body h2 { font-size: 34px; }
  .landing-hero { padding-top: 52px; }
  .lead-grid { grid-template-columns: 1fr; gap: 0; }
  .lead-section { padding: 26px 20px; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .blog-filters button { flex: 0 0 auto; }
  .site-nav { gap: 10px; }
  .site-nav > a:not(.nav-cta):not([href="/blog/"]) { display: none; }
  .footer-inner { padding: 30px 0; align-items: flex-start; flex-direction: column; }
}
