/* drmanjeet.in – public site styles */
:root {
  --navy: #0b2f55; --blue: #07539a; --blue-2: #0a66bd; --saffron: #f7941d; --saffron-d: #d97a06;
  --ink: #16202b; --ink-2: #44515f; --muted: #6b7785; --line: #dfe4ea; --line-2: #eef1f4;
  --paper: #ffffff; --tint: #f5f7f9; --cream: #fbf6ee;
  --ok: #17803d; --ok-bg: #e8f5ec; --err: #b42318; --err-bg: #fdecea; --info-bg: #e9f2fb;
  --c-ops: #0b2f55; --c-ups: #f7941d; --c-nps: #2f9e6b;
  --radius: 10px; --radius-s: 6px;
  --shadow: 0 1px 2px rgba(11,47,85,.06), 0 4px 16px rgba(11,47,85,.06);
  --font-head: "Eczar", Georgia, "Noto Serif Devanagari", serif;
  --font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--ink); background: var(--paper); }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; border-bottom: 2px solid var(--navy); padding-bottom: .5rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head.small { border-bottom-width: 1px; }
.section-head.small h2 { font-size: 1.25rem; }
.empty { color: var(--muted); padding: 1.5rem; background: var(--tint); border-radius: var(--radius); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.hint, .opt { color: var(--muted); font-size: .9rem; font-weight: 400; }
.list-title { margin-top: 1.5rem; }
code { font-size: .88em; background: var(--line-2); padding: .1em .35em; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .55rem 1.25rem; border: 2px solid transparent; border-radius: var(--radius-s); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-saffron { background: var(--saffron); color: #1d1300; }
.btn-saffron:hover { background: var(--saffron-d); color: #1d1300; }
.btn-outline { background: transparent; color: var(--blue); border-color: currentColor; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand strong { display: block; font: 600 1.15rem/1.1 var(--font-head); }
.brand small { display: block; font-size: .8rem; color: #b9cde3; }
.brand:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; margin: auto; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.site-nav > a, .nav-group-btn { color: #dfe9f5; text-decoration: none; padding: .45rem .65rem; border-radius: var(--radius-s); font-weight: 500; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.site-nav > a:hover, .nav-group-btn:hover, .site-nav > a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.site-nav > a[aria-current] { box-shadow: inset 0 -2px 0 var(--saffron); border-radius: 0; }
.nav-group { position: relative; }
.nav-group-btn::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.nav-group-btn img { border-radius: 50%; }
.nav-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: .4rem; z-index: 60; }
.nav-group:first-of-type .nav-dropdown { left: 0; right: auto; }
.nav-group.open .nav-dropdown { display: block; }
.nav-dropdown a, .nav-dropdown button { display: block; width: 100%; text-align: left; padding: .55rem .8rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); background: none; border: 0; font: inherit; cursor: pointer; }
.nav-dropdown a:hover, .nav-dropdown button:hover { background: var(--tint); color: var(--navy); }
.nav-dropdown form { margin: 0; }
.site-nav .nav-tool { background: var(--saffron); color: #1d1300; font-weight: 600; margin-left: .3rem; }
.site-nav .nav-tool:hover, .site-nav .nav-tool[aria-current] { background: #ffab45; color: #1d1300; box-shadow: none; border-radius: var(--radius-s); }
.nav-search input { width: 160px; padding: .4rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .92rem; transition: width .2s, background .2s; }
.nav-search input::placeholder { color: #9fb6cf; }
.nav-search input:focus { width: 220px; background: #fff; color: var(--ink); outline: none; }
.nav-signin { border: 1px solid rgba(255,255,255,.4); }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; max-height: calc(100vh - 68px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.1); }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-group-btn { padding: .7rem .5rem; width: 100%; font-size: 1.05rem; }
  .site-nav > a[aria-current] { box-shadow: inset 3px 0 0 var(--saffron); }
  .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.06); margin: 0 0 .5rem; }
  .nav-dropdown a, .nav-dropdown button { color: #dfe9f5; }
  .nav-dropdown a:hover, .nav-dropdown button:hover { background: rgba(255,255,255,.1); color: #fff; }
  .site-nav .nav-tool { margin: .5rem 0; justify-content: center; }
  .nav-search { order: -1; margin: .5rem 0; }
  .nav-search input, .nav-search input:focus { width: 100%; padding: .65rem 1rem; }
}

/* Flash messages */
.flash-stack { margin-top: 1rem; }
.flash { padding: .8rem 1rem; border-radius: var(--radius-s); border-left: 4px solid; margin: 0 0 .5rem; }
.flash-success { background: var(--ok-bg); border-color: var(--ok); }
.flash-error { background: var(--err-bg); border-color: var(--err); }
.flash-info { background: var(--info-bg); border-color: var(--blue); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream), #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-role { color: var(--saffron-d); font-weight: 600; font-size: 1.05rem; margin-bottom: .4rem; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.5vw, 4rem); margin-bottom: .3em; }
.hero-statement { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--ink-2); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.hero-quote { margin: 0; padding: .25rem 0 .25rem 1.1rem; border-left: 3px solid var(--saffron); font-style: italic; color: var(--ink-2); max-width: 46ch; }
.hero-quote p { margin: 0; }
.hero-portrait { margin: 0; position: relative; }
.hero-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius); box-shadow: 14px 14px 0 var(--navy); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-portrait { order: -1; max-width: 300px; }
}

/* Register (circulars / notices) – the signature element */
.register { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.register-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 1.1rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.register-row time, .event-list time { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: var(--radius-s); padding: .45rem .25rem; line-height: 1.1; text-align: center; }
.register-row .d, .event-list .d { font: 700 1.6rem/1 var(--font-head); }
.register-row .my, .event-list .my { font-size: .75rem; color: #c8d8ea; margin-top: .2rem; }
.register-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; color: var(--muted); margin: 0 0 .25rem; }
.register-body h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin: 0; line-height: 1.35; }
.register-body h3 a { color: var(--ink); text-decoration: none; }
.register-body h3 a:hover { color: var(--blue); text-decoration: underline; }
.register-excerpt { color: var(--ink-2); font-size: .96rem; margin: .35rem 0 0; }
.register-doc { align-self: center; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--err); border: 1.5px solid currentColor; border-radius: 4px; padding: .25rem .5rem; }
.register-doc:hover { background: var(--err); color: #fff; }
.kind { font-weight: 600; font-size: .78rem; padding: .05rem .5rem; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.kind-circular { background: #e3eefa; color: var(--blue); }
.kind-notice { background: #fdeedc; color: #9a5300; }
.kind-blog { background: #e7f5ee; color: #1f7a4f; }
@media (max-width: 560px) {
  .register-row { grid-template-columns: 60px 1fr; }
  .register-doc { grid-column: 2; justify-self: start; }
  .register-row .d { font-size: 1.35rem; }
}

/* Home layout */
.updates-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; }
.updates-side { display: flex; flex-direction: column; gap: 1.5rem; }
.tool-promo { background: var(--navy); color: #dfe9f5; padding: 1.5rem; border-radius: var(--radius); position: relative; overflow: hidden; }
.tool-promo::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--saffron); opacity: .9; }
.tool-promo h2 { color: #fff; font-size: 1.35rem; max-width: 80%; }
.notice-box { background: var(--cream); border: 1px solid #f1e3cc; border-radius: var(--radius); padding: 1.25rem; }
.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li { padding: .6rem 0; border-bottom: 1px dashed #e7d6bb; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.35; }
.notice-list a:hover { color: var(--blue); }
.notice-list time { font-size: .82rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.event-list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.event-list small { display: block; color: var(--muted); }
.social-feed { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.social-feed li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.social-feed p { margin: .35rem 0; }
.platform { font-size: .78rem; font-weight: 700; color: var(--blue); }
.about-band { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; }
.about-band img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .updates-layout, .two-col, .about-band { grid-template-columns: 1fr; }
  .about-band img { max-width: 260px; }
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card-grid.two { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card, .event-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover, .event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img img, .event-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body, .event-card > div { padding: 1.1rem 1.25rem 1.3rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.card-meta a { font-weight: 600; text-decoration: none; }
.card h3, .event-card h3, .card h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.card h3 a, .event-card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover, .event-card h3 a:hover { color: var(--blue); }
.card p { color: var(--ink-2); font-size: .97rem; }
.tool-price { font: 700 1.3rem var(--font-head); color: var(--navy); }

/* Page head & breadcrumbs */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 2rem 0 2.25rem; }
.page-head h1 { margin: 0 0 .3em; }
.page-head .lede { margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: #b5bec8; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* Listing */
.listing-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: start; }
.listing-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.side-search label, .side-title { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: .4rem; }
.side-search div { display: flex; gap: .4rem; }
.side-search input { flex: 1; min-width: 0; }
.side-search .btn { min-height: 40px; padding: .4rem .8rem; }
.side-cats ul, .side-links, .about-toc ul { list-style: none; padding: 0; margin: 0; }
.side-cats a, .side-links a, .about-toc a { display: flex; justify-content: space-between; padding: .45rem .6rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); }
.side-cats a:hover, .side-links a:hover, .about-toc a:hover { background: var(--tint); color: var(--navy); }
.side-cats a[aria-current] { background: var(--navy); color: #fff; }
.side-cats span { color: var(--muted); font-size: .85rem; }
.side-cats a[aria-current] span { color: #c8d8ea; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: 1fr; } .listing-side { position: static; } }
.pager { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 2rem; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; }
.pager a:hover { border-color: var(--blue); }
.pager span[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-count { color: var(--muted); margin: 1.25rem 0 .5rem; }
.big-search { display: flex; gap: .5rem; margin: 1rem 0; }
.big-search input { flex: 1; min-width: 0; font-size: 1.1rem; }

/* Forms */
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #c8d0d9; border-radius: var(--radius-s); padding: .6rem .75rem; width: 100%; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,83,154,.15); }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--blue); }
input:disabled { background: var(--tint); color: var(--muted); }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; color: var(--ink); }
label > input, label > select, label > textarea, label > .pw { margin-top: .3rem; }
label small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: .25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .35rem; }
.pw { display: flex; position: relative; }
.pw input { padding-right: 4.5rem; }
.pw button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--blue); font: 600 .85rem var(--font-body); cursor: pointer; padding: .4rem; }
.hp { position: absolute; left: -9999px; }
.form-card, .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel { margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.3rem; }

/* Auth */
.auth-page { padding: clamp(2rem, 6vw, 4rem) 1.25rem; background: var(--tint); min-height: 60vh; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.auth-card.wide { max-width: 620px; }
.auth-card h1 { font-size: 1.9rem; }
.auth-sub { color: var(--muted); }
.auth-row { text-align: right; margin-top: -.5rem; font-size: .92rem; }
.auth-switch { text-align: center; margin: 1.25rem 0 0; color: var(--muted); }
.social-auth { display: grid; gap: .6rem; margin: 1.25rem 0; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 46px; border: 1px solid #c8d0d9; border-radius: var(--radius-s); color: var(--ink); font-weight: 600; text-decoration: none; background: #fff; }
.social-btn:hover { background: var(--tint); color: var(--ink); border-color: #9fabb8; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .88rem; margin: 1.25rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.order-summary { margin: 1.25rem 0; }
.order-summary div, .doc-facts div, .about-facts div, .contact-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line-2); }
.order-summary dt, .doc-facts dt, .about-facts dt, .contact-facts dt { color: var(--muted); }
.order-summary dd, .doc-facts dd, .about-facts dd, .contact-facts dd { margin: 0; font-weight: 600; text-align: right; }
.order-summary .total dd { font: 700 1.3rem var(--font-head); color: var(--navy); }

/* Account */
.account-grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.access-list, .linked-list { list-style: none; padding: 0; margin: 0; }
.access-list li, .linked-list li { display: flex; align-items: center; gap: .8rem; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line-2); }
.linked-list li { justify-content: flex-start; }
.linked-list li > span { flex: 1; }
.access-list small, .linked-list small { display: block; color: var(--muted); }
.linked-list form { margin: 0; }
.table-wrap, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--tint); color: var(--navy); font-weight: 700; white-space: nowrap; }
.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.status-paid { background: var(--ok-bg); color: var(--ok); }
.status-failed { background: var(--err-bg); color: var(--err); }

/* Article */
.preview-bar { background: var(--saffron); color: #1d1300; text-align: center; padding: .6rem 1rem; margin: 0; font-weight: 600; }
.article-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 2rem 0; margin-bottom: 2rem; }
.article-kind { display: flex; gap: .8rem; align-items: center; font-size: .92rem; margin-bottom: .6rem; }
.article-kind a { font-weight: 600; text-decoration: none; }
.article-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.article-byline { display: flex; gap: 1rem; color: var(--muted); margin: 0; }
.article-figure { margin: 0 0 1.5rem; }
.article-figure img { border-radius: var(--radius); width: 100%; }
.article-lede { font-size: 1.2rem; color: var(--ink-2); border-left: 3px solid var(--saffron); padding-left: 1rem; }
.doc-facts { background: var(--cream); border: 1px solid #f1e3cc; border-radius: var(--radius); padding: .5rem 1.25rem; margin: 0 0 1.5rem; }
.doc-facts div:last-child { border-bottom: 0; }
.doc-download { margin-bottom: 1.5rem; }
.pdf-preview { margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.pdf-preview summary { padding: .8rem 1rem; cursor: pointer; font-weight: 600; }
.pdf-preview iframe { width: 100%; height: 80vh; border: 0; border-top: 1px solid var(--line); }
.prose { font-size: 1.06rem; overflow-wrap: break-word; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius-s); margin: 1.25rem auto; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.2rem; border-left: 3px solid var(--saffron); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.prose th { background: var(--tint); }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius-s); }
.prose a { word-break: break-word; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2.5rem 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.share span { font-weight: 700; color: var(--navy); margin-right: .25rem; }
.share a, .share button { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font: 500 .9rem var(--font-body); color: var(--ink-2); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.comments { margin: 2rem 0 3rem; }
.comment { padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
.comment-who time { color: var(--muted); font-size: .85rem; margin-left: .4rem; }
.comment-who { margin-bottom: .3rem; }
.comment-form { margin-top: 1.5rem; }
.comment-form label { margin-bottom: .3rem; }
.comment-form textarea { margin-bottom: .75rem; }
.comment-login { background: var(--tint); padding: 1rem; border-radius: var(--radius-s); }

/* About */
.about-hero { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: center; }
.about-hero img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 10px 10px 0 var(--saffron); }
.about-facts { max-width: 480px; margin: 1rem 0 0; }
.about-body { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.about-body > .prose:only-child { grid-column: 1 / -1; max-width: 780px; }
.about-toc { position: sticky; top: 90px; }
.about-body section { scroll-margin-top: 90px; }
@media (max-width: 820px) {
  .about-hero, .about-body { grid-template-columns: 1fr; }
  .about-hero img { max-width: 220px; order: -1; }
  .about-toc { position: static; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.contact-facts { margin: 0; }
.contact-facts div { flex-direction: column; gap: .1rem; }
.contact-facts dd { text-align: left; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.video-grid.four { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.video-tile { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .5rem; }
.video-tile small { color: var(--muted); }
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s, opacity .3s; }
.video-tile:hover .video-thumb img { transform: scale(1.04); opacity: .85; }
.video-title { font-weight: 600; line-height: 1.35; }
.play { position: absolute; inset: 0; margin: auto; width: 62px; height: 44px; border-radius: 12px; background: rgba(200,0,0,.9); }
.play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border: 10px solid transparent; border-left: 16px solid #fff; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 1.5rem; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }

/* Gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-s); transition: opacity .2s; }
.gallery-grid a:hover img { opacity: .85; }
.gallery-grid figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .35rem; }
.lightbox { position: fixed; inset: 0; background: rgba(5,15,28,.94); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; border-radius: 4px; }
.lightbox p { color: #dfe9f5; margin: .75rem 0 0; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Tools */
.tool-head { background: linear-gradient(180deg, var(--cream), var(--tint)); }
.access-note { color: var(--ok); font-weight: 600; margin: .75rem 0 0; }
.tool-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.tool-layout > .prose:only-child { grid-column: 1 / -1; max-width: 780px; }
.buy-box { position: sticky; top: 90px; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.buy-price { font: 700 2.4rem/1 var(--font-head); color: var(--navy); margin: 0 0 .4rem; }
.buy-price s { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.buy-term { color: var(--ink-2); }
.buy-small { font-size: .88rem; color: var(--muted); text-align: center; margin: .75rem 0 0; }
@media (max-width: 900px) { .tool-layout { grid-template-columns: 1fr; } .buy-box { position: static; order: -1; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1rem 2rem 1rem 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 1rem; }

/* Pension calculator */
.calc fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem .25rem; margin: 0 0 1.25rem; background: #fff; }
.calc legend { font: 600 1.15rem var(--font-head); color: var(--navy); padding: 0 .5rem; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1.25rem; }
.calc-more { margin-bottom: 1rem; }
.calc-more summary { cursor: pointer; color: var(--blue); font-weight: 600; margin-bottom: .8rem; }
.calc-check { display: flex; align-items: center; gap: .5rem; align-self: center; }
.calc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.calc-error { background: var(--err-bg); color: var(--err); padding: .8rem 1rem; border-radius: var(--radius-s); margin-top: 1rem; }
.calc-results { margin-top: 2.5rem; }
.calc-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.calc-summary div { background: var(--navy); color: #fff; padding: 1rem 1.2rem; border-radius: var(--radius); }
.calc-summary div:last-child { background: var(--saffron); color: #1d1300; }
.calc-summary span { display: block; font-size: .85rem; opacity: .85; }
.calc-summary strong { display: block; font: 700 1.35rem/1.25 var(--font-head); }
.calc-summary small { opacity: .8; }
.calc-h { margin-top: 2rem; }
.calc-table { background: #fff; }
.calc-table th[scope="row"] { font-weight: 500; color: var(--ink-2); }
.calc-table td, .calc-table thead th:not(:first-child), .calc-total th:not([scope]) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-table td small { display: block; color: var(--muted); font-size: .78rem; }
.calc-total { background: var(--cream); }
.calc-total th { color: var(--navy) !important; font-weight: 700 !important; }
.calc-table thead th:nth-child(2) { border-top: 4px solid var(--c-ops); }
.calc-table thead th:nth-child(3) { border-top: 4px solid var(--c-ups); }
.calc-table thead th:nth-child(4) { border-top: 4px solid var(--c-nps); }
.calc-note, .calc-disclaimer { color: var(--muted); font-size: .92rem; }
.calc-disclaimer { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.calc-chart { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.calc-chart svg { width: 100%; height: auto; font: 12px var(--font-body); fill: var(--muted); }
.calc-chart .grid { stroke: var(--line-2); }
.calc-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: .5rem 0 0; font-size: .9rem; font-weight: 600; }
.calc-legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: .4rem; vertical-align: middle; }
.calc-legend-axis { margin-left: auto; color: var(--muted); font-weight: 400; }
.calc-explain p { font-size: .98rem; }

/* Error pages */
.error-page { text-align: center; }
.error-code { font: 700 5rem/1 var(--font-head); color: var(--saffron); margin: 0; }
.error-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }

/* Footer */
.site-footer { background: #071f39; color: #b9cde3; margin-top: 0; padding-top: 3rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid a { display: block; color: #dfe9f5; text-decoration: none; padding: .2rem 0; }
.footer-grid a:hover { color: var(--saffron); }
.footer-name { font: 600 1.35rem var(--font-head); color: #fff; margin-bottom: .5rem; }
.footer-head { font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-social a { display: inline; }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.25rem 0; font-size: .88rem; }
.footer-base a { color: #dfe9f5; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Print */
@media print {
  .site-header, .site-footer, .skip-link, .share, .comments, .calc-form, .buy-box, .pager, .listing-side, .flash-stack, .crumbs, .pdf-preview, .faq { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .page-head, .article-head, .section-tint, .tool-head { background: none !important; }
  .section { padding: 1rem 0; }
  .calc-summary div { border: 1px solid #000; color: #000 !important; background: none !important; }
  a { color: #000; text-decoration: none; }
  .wrap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
