/* =====================================================================
   DevanshAI — Reading Room look for the main pages (v1, 2026-11-24)
   Loaded AFTER apple.css. Presentation only: no text, data or payment code.
   Remove the <link> to this file to go back to the previous look.
   ===================================================================== */
html body.ap{
  --rr-paper:#f9f7f1; --rr-white:#fffef8; --rr-ink:#181713; --rr-mute:#58564d; --rr-rule:#cfcbc0; --rr-rule-2:#e0ddd4;
  --rr-night:#151410; --rr-copper:#9a472e; --rr-copper-2:#875039; --rr-ribbon:#ed774d; --rr-butter:#f6eddc; --rr-gold:#f3c78a;
  --rr-serif:"Baskerville","Iowan Old Style","Georgia",serif;
  --ap-ink:var(--rr-ink); --ap-muted:var(--rr-mute); --ap-soft:#efebe1; --ap-line:var(--rr-rule); --ap-line-2:var(--rr-rule-2);
  --ap-accent:var(--rr-ink); --ap-accent-2:#3e362e; --ap-radius:2px; --ap-w:1240px;
  --ink:var(--rr-ink); --text:var(--rr-ink); --muted:var(--rr-mute); --mist:#efebe1; --line:var(--rr-rule-2); --gold-ink:var(--rr-copper);
  font-family:"Inter","Helvetica Neue",Arial,"Noto Sans Devanagari","Nirmala UI",Mangal,sans-serif;
  background:var(--rr-paper); color:var(--rr-ink); -webkit-font-smoothing:antialiased;
}
html body.ap :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #d06639;outline-offset:3px}

/* ---------- Headings: serif display like the homepage ---------- */
html body.ap main :where(h1,h2){font-family:var(--rr-serif);font-weight:400;letter-spacing:-.045em;line-height:1.02;color:var(--rr-ink)}
html body.ap main h3{letter-spacing:-.02em;font-weight:600}
html body.ap .gradient{font-family:var(--rr-serif);font-style:italic;font-weight:400;color:var(--rr-copper-2);-webkit-text-fill-color:currentColor;background:none}
html body.ap .eyebrow{display:inline-flex;align-items:center;gap:10px;color:#625e52;font-weight:650;letter-spacing:.115em;font-size:13px}
html body.ap .eyebrow:before{content:"";width:27px;height:2px;background:var(--rr-copper);flex:none}

/* ---------- Header ---------- */
html body.ap>header{background:#fffefa;border-bottom:1px solid var(--rr-rule-2)}
html body.ap .nav-wrap{min-height:74px;max-width:var(--ap-w)}
html body.ap nav a{color:var(--rr-ink);font-size:15px;font-weight:530;opacity:1}
html body.ap nav a:hover{text-decoration:underline;text-underline-offset:5px}
html body.ap nav a[aria-current]{border-bottom-color:var(--rr-copper)}
html body.ap nav .button.small,html body.ap nav a.button{background:var(--rr-ink);color:#fffdf5;border-radius:2px;font-weight:650;font-size:14px;padding:11px 18px;min-height:42px}
html body.ap nav .button.small:hover{background:#3e362e;text-decoration:none}
html body.ap .menu{border:0;background:none;color:var(--rr-ink);font-size:22px;border-radius:2px}
@media(max-width:1579px){
  html body.ap nav{background:#fffefa;border-top:1px solid var(--rr-rule-2)}
  html body.ap nav a{border-bottom-color:var(--rr-rule-2)}
  html body.ap nav a[aria-current]{color:var(--rr-copper);border-bottom-color:var(--rr-rule-2)}
}

/* ---------- Buttons ---------- */
html body.ap .button{background:var(--rr-ink);border:1px solid var(--rr-ink);color:#fffdf5;border-radius:2px;font-weight:650;font-size:15px;padding:12px 23px;min-height:45px;transition:background .18s,transform .18s}
html body.ap .button:hover{background:#3e362e;border-color:#3e362e;transform:translateY(-2px)}
html body.ap .button.small{font-size:14px;padding:9px 16px;min-height:40px}
html body.ap .button.outline{background:transparent;color:var(--rr-ink);border:1px solid var(--rr-ink)}
html body.ap .button.outline:hover{background:var(--rr-ink);color:#fffdf5}
html body.ap .text-button{color:var(--rr-ink);border-bottom:1px solid currentColor;font-weight:600}
html body.ap main p a:not([class]),html body.ap main li a:not([class]){color:var(--rr-copper)}

/* ---------- Inner page headers: dark band like the homepage hero ---------- */
html body.ap .page-head{background:var(--rr-night);color:#f1e9db;border-bottom:0;padding:clamp(48px,7vw,96px) 20px clamp(40px,5vw,72px)}
html body.ap .page-head h1{font-family:var(--rr-serif);font-weight:400;letter-spacing:-.05em;line-height:1;color:#fff7e7;font-size:clamp(40px,6vw,84px)}
html body.ap .page-head .gradient{color:var(--rr-gold)}
html body.ap .page-head p{color:#e2dacf}
html body.ap .page-head .eyebrow{color:#e8d6b9}
html body.ap .page-head .eyebrow:before{background:var(--rr-ribbon)}
html body.ap .page-head .button{background:var(--rr-butter);border-color:var(--rr-butter);color:var(--rr-ink)}
html body.ap .page-head .button:hover{background:#fff;border-color:#fff}
html body.ap .page-head .button.outline{background:transparent;color:#fff7e7;border-color:#fff7e7}

/* ---------- Sections and cards ---------- */
html body.ap .alternate,html body.ap .tools-band,html body.ap .resume-service,html body.ap .rs-wrap{background:#efebe1}
html body.ap .card,html body.ap .cx-card,html body.ap .rs-card{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none}
html body.ap .card:hover,html body.ap .cx-card:hover{background:#fffdf3;border-color:var(--rr-rule)}
html body.ap .icon{background:var(--rr-butter);color:var(--rr-copper);border-radius:2px}
html body.ap .tag,html body.ap .cx-tag{color:var(--rr-copper);background:transparent;font-weight:650;letter-spacing:.08em;text-transform:uppercase;padding:0;border-radius:0}
html body.ap .cx-img .cx-tag,html body.ap .rs-img .cx-tag{background:var(--rr-white);padding:5px 9px;border-radius:2px}
html body.ap .price,html body.ap .cx-price b,html body.ap .cd-price b{color:var(--rr-ink)}
html body.ap :where(.cx-img,.cd-buy img,.course-photo){background:#e7e2d6}

/* ---------- Courses list ---------- */
html body.ap .cx-tabs a{border:1px solid var(--rr-rule);border-radius:2px;color:var(--rr-ink);background:transparent}
html body.ap .cx-tabs a.on,html body.ap .cx-tabs a:hover{background:var(--rr-ink);border-color:var(--rr-ink);color:#fffdf5}
html body.ap .cx-cat{font-family:var(--rr-serif);font-weight:400;letter-spacing:-.04em}
html body.ap .cx-foot{border-top-color:var(--rr-rule-2)}

/* ---------- Course page ---------- */
html body.ap .cd-hero{background:var(--rr-butter);color:var(--rr-ink)}
html body.ap .cd-hero h1{font-family:var(--rr-serif);font-weight:400;letter-spacing:-.045em;color:var(--rr-ink)}
html body.ap .cd-hero a:not(.button){color:var(--rr-copper)}
html body.ap .cd-crumb,html body.ap .cd-hero .cd-lead{color:#463c2e}
html body.ap .cd-facts li{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px}
html body.ap .cd-buy{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:0 18px 40px -28px #352b25}
html body.ap .cd-mod details,html body.ap .cd-chips span{border-color:var(--rr-rule-2);border-radius:2px;background:var(--rr-white)}
html body.ap .cd-learn li:before{color:var(--rr-copper)}
html body.ap .cd-cta{background:var(--rr-night);color:#f1e9db;border-radius:2px}
html body.ap .cd-cta :where(h2,h3){color:#fff7e7}
html body.ap .cd-cta p{color:#e2dacf}
html body.ap .cd-cta .button{background:var(--rr-butter);border-color:var(--rr-butter);color:var(--rr-ink)}

/* ---------- Forms, contact, resources ---------- */
html body.ap :where(input,select,textarea){border:1px solid var(--rr-rule);border-radius:2px;background:#fffefa;color:var(--rr-ink)}
html body.ap :where(input,select,textarea):focus{border-color:var(--rr-copper)}
html body.ap .resource-form,html body.ap .contact-link{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px}

/* ---------- Online Store: /books list and book pages (cart/checkout untouched) ---------- */
html body.ap .store-cats a{border:1px solid var(--rr-rule);border-radius:2px;color:var(--rr-ink);background:transparent;font-weight:600}
html body.ap .store-cats a.is-on,html body.ap .store-cats a:hover{background:var(--rr-ink);border-color:var(--rr-ink);color:#fffdf5}
html body.ap .book-card{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none;overflow:hidden}
html body.ap .book-card:hover{border-color:var(--rr-rule)}
html body.ap .book-cover,html body.ap .bd-cover{background:#e7e2d6;border-radius:0}
html body.ap .book-cover img,html body.ap .bd-cover img{border-radius:2px;box-shadow:13px 15px 14px #352b252e}
html body.ap .book-kicker,html body.ap .book-detail .tag{color:var(--rr-copper);font-weight:650;letter-spacing:.08em;text-transform:uppercase;font-size:12px}
html body.ap main .book-info h2{font-family:"Inter","Helvetica Neue",Arial,"Noto Sans Devanagari","Nirmala UI",Mangal,sans-serif;font-weight:600;letter-spacing:-.02em;line-height:1.3;font-size:17px}
html body.ap main .book-info h2 a{color:var(--rr-ink)}
html body.ap main .bd-info h1{font-family:var(--rr-serif);font-weight:400;letter-spacing:-.045em;line-height:1.02;font-size:clamp(40px,4.6vw,68px)}
html body.ap .bd-facts{border-color:var(--rr-rule-2)}
html body.ap .book-price,html body.ap .bd-price{color:var(--rr-ink)}
html body.ap .book-detail .text-link,html body.ap .store-main .text-link{color:var(--rr-copper);border-bottom:1px solid currentColor;text-decoration:none}
html body.ap .bd-desc{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px}

/* ---------- Tools: Converter, Finance Calculators, Speed Test ---------- */
html body.ap .cv-hero{background:var(--rr-night)}
html body.ap main .cv-hero h1{color:#fff7e7;text-transform:none;font-family:var(--rr-serif);font-weight:400;letter-spacing:-.05em}
html body.ap .cv-hero .gradient{color:var(--rr-gold)}
html body.ap .cv-hero input{border-radius:2px}
html body.ap.tools-page main h2{text-transform:none}
html body.ap .cv-card,html body.ap .tool-card,html body.ap .st-card,html body.ap .st-m{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none}
html body.ap .cv-card:hover,html body.ap .tool-card:hover{border-color:var(--rr-rule);box-shadow:none}
html body.ap .tool-card strong{text-transform:none;font-size:17px;letter-spacing:-.01em}
html body.ap .tool-ico{border-radius:2px}

/* ---------- Jobs, Devans Homes, Best Buys, Policies ---------- */
html body.ap .dh-hero{background:var(--rr-night)}
html body.ap main .dh-hero h1{color:#fff7e7}
html body.ap .dh-eyebrow{color:#e8d6b9;letter-spacing:.115em;text-transform:uppercase;font-weight:650}
html body.ap .dh-lead{color:#e2dacf}
html body.ap main p.dh-hero-links a:not([class]){color:var(--rr-gold)}
html body.ap .dh-search{border-radius:2px;background:var(--rr-white)}
html body.ap .dh-tile{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none;color:var(--rr-ink)}
html body.ap .dh-tile:hover{border-color:var(--rr-rule)}
html body.ap .dh-tile :where(strong,h3){color:var(--rr-ink)}
html body.ap .dh-tile-cta{background:var(--rr-butter);border-color:#e8d7ac}
html body.ap .dh-ic{border-radius:2px}
html body.ap .dh-alt{background:#efebe1}
html body.ap .dh-cta{background:var(--rr-night);color:#f1e9db;border-radius:2px}
html body.ap .dh-cta :where(h2,h3){color:#fff7e7}
html body.ap .dh-cta p{color:#e2dacf}
html body.ap .dh-cta .button{background:var(--rr-butter);border-color:var(--rr-butter);color:var(--rr-ink)}
html body.ap .dh-pagehead{background:var(--rr-butter);border-color:var(--rr-rule-2)}
html body.ap .dh-pagehead .dh-lead,html body.ap .dh-pagehead p{color:#463c2e}
html body.ap .dh-box{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none}
html body.ap .dh :where(input,select,textarea){border-radius:2px;border-color:var(--rr-rule)}
html body.ap .dh-chip{border-radius:2px}
html body.ap .dh-chip-info{background:#efebe1;border-color:var(--rr-rule-2);color:var(--rr-ink)}
html body.ap .aff-card{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px;box-shadow:none}
html body.ap .aff-cat{color:var(--rr-copper);font-weight:650;letter-spacing:.06em;text-transform:uppercase}
html body.ap .aff-store{border-radius:2px;background:#efebe1;color:var(--rr-ink)}
html body.ap .job-card{background:var(--rr-white);border:1px solid var(--rr-rule-2);border-radius:2px}
html body.ap main .job-main :where(h2,h3){font-family:"Inter","Helvetica Neue",Arial,sans-serif;font-weight:600;letter-spacing:-.015em;font-size:18px}
html body.ap main .job-main :where(h2,h3) a{color:var(--rr-ink)}
html body.ap .job-logo,html body.ap .jt{border-radius:2px;background:#efebe1}
html body.ap .jt-pay,html body.ap .jt-f{background:var(--rr-ink);color:#fffdf5}

/* ---------- Blog (/blog) ---------- */
html body.ap main nav.store-cats a{padding:0 16px;min-height:40px;display:inline-flex;align-items:center}
html body.ap main nav.store-cats,html body.ap main nav.bp-pager{position:static;display:flex;flex-direction:row;background:none;box-shadow:none;border:0;max-height:none;overflow:visible}
html body.ap .bp-feature{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(20px,3vw,48px);align-items:center;padding-bottom:clamp(28px,4vw,48px);margin-bottom:clamp(28px,4vw,48px);border-bottom:1px solid var(--rr-rule)}
html body.ap .bp-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#e7e2d6;border-radius:2px}
html body.ap .bp-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
html body.ap .bp-card:hover .bp-media img,html body.ap .bp-feature:hover .bp-media img{transform:scale(1.02)}
html body.ap .bp-noimg{display:flex;align-items:flex-end;height:100%;padding:18px 20px;box-sizing:border-box;background:var(--rr-night);color:var(--rr-gold);font-family:var(--rr-serif);font-style:italic;font-size:clamp(22px,2.4vw,34px);letter-spacing:-.03em;line-height:1.05}
html body.ap .bp-kicker{display:block;color:var(--rr-copper);font-size:12px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;margin:16px 0 6px}
html body.ap .bp-text .bp-kicker{margin-top:0}
html body.ap main .bp-feature h2{font-size:clamp(30px,3.4vw,52px);margin:0 0 12px}
html body.ap main .bp-card h2,html body.ap main .bp-card h3{font-family:var(--rr-serif);font-weight:400;font-size:clamp(22px,1.9vw,28px);letter-spacing:-.035em;line-height:1.12;margin:0 0 8px}
html body.ap main :is(.bp-feature,.bp-card) h2 a,html body.ap main .bp-card h3 a{color:var(--rr-ink);text-decoration:none}
html body.ap main :is(.bp-feature,.bp-card) :is(h2,h3) a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
html body.ap .bp-excerpt{color:#3a352d;margin:0 0 10px;line-height:1.55}
html body.ap .bp-meta{color:var(--rr-mute);font-size:14px;margin:0 0 16px}
html body.ap .bp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,40px) clamp(18px,2.4vw,32px)}
html body.ap .bp-pager{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:clamp(32px,5vw,56px);color:var(--rr-mute)}
html body.ap .bp-narrow{max-width:760px;margin-inline:auto;padding-inline:20px}
html body.ap .bp-head{text-align:left}
html body.ap .bp-head .bp-crumb{font-size:13px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:#e8d6b9;margin:0 0 14px}
html body.ap main .bp-head .bp-crumb a{color:#e8d6b9}
html body.ap main .bp-head h1{font-size:clamp(38px,5vw,68px);line-height:1.02}
html body.ap .bp-head .bp-dek{font-size:clamp(18px,1.6vw,22px);line-height:1.45;color:#e2dacf;margin:16px 0 0}
html body.ap .bp-head .bp-meta{color:#cfc5b4;margin:18px 0 0}
html body.ap .bp-cover{margin:0 auto;max-width:1100px;padding:0 20px;transform:translateY(-1px)}
html body.ap .bp-cover img{width:100%;height:auto;display:block;border-radius:2px}
html body.ap .bp-body{font-size:clamp(17px,1.25vw,19px);line-height:1.75;color:#2a2620}
html body.ap .bp-body p,html body.ap .bp-body ul,html body.ap .bp-body ol{margin:0 0 1.15em}
html body.ap .bp-body li{margin:.35em 0}
html body.ap main .bp-body h2{font-size:clamp(28px,2.6vw,38px);margin:1.6em 0 .5em}
html body.ap main .bp-body h3{font-family:"Inter","Helvetica Neue",Arial,sans-serif;font-size:20px;font-weight:650;margin:1.4em 0 .4em}
html body.ap .bp-body blockquote{margin:1.4em 0;padding:4px 0 4px 22px;border-left:3px solid var(--rr-copper);font-family:var(--rr-serif);font-size:1.2em;font-style:italic;color:var(--rr-ink)}
html body.ap main .bp-body a{color:var(--rr-copper);text-decoration:underline;text-underline-offset:3px}
html body.ap .bp-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;border-top:1px solid var(--rr-rule);margin-top:36px;padding-top:18px;font-size:14px}
html body.ap .bp-share span{font-weight:650;letter-spacing:.1em;text-transform:uppercase;font-size:12px;color:var(--rr-mute)}
html body.ap main .bp-share a{color:var(--rr-ink);font-weight:600}
html body.ap .bp-back{margin:28px 0 0}
html body.ap .bp-related{background:#efebe1;padding:clamp(44px,6vw,80px) 0}
html body.ap main .bp-related > .container > h2{font-size:clamp(34px,3.6vw,52px);margin:0 0 28px}
@media(max-width:900px){html body.ap .bp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html body.ap .bp-feature{grid-template-columns:1fr}}
@media(max-width:600px){html body.ap .bp-grid{grid-template-columns:1fr}}

/* ---------- Footer: paper with rules, like the homepage ---------- */
html body.ap>footer{background:var(--rr-paper);color:var(--rr-mute);border-top:1px solid var(--rr-rule)}
html body.ap>footer h4{color:var(--rr-ink);font-size:12px;font-weight:650;letter-spacing:.115em;text-transform:uppercase}
html body.ap>footer a:not(.brand){color:var(--rr-ink)}
html body.ap>footer a:not(.brand):hover{color:var(--rr-copper);text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){html body.ap>footer a:not(.brand){display:flex;align-items:center;width:100%}html body.ap .page-head .eyebrow:before{display:none}}
html body.ap>footer .copyright{color:#514d43;border-top:1px solid var(--rr-rule)}

/* ---------- About page (page-scoped .md styles) ---------- */
html body.ap .md{--navy:#181713;--navy-2:#3a352d;--ink:#181713;--muted:#58564d;--gold:#9a472e;--gold-soft:#f6eddc;--line:#e0ddd4}
html body.ap .md-hero{background:var(--rr-butter);border-bottom:0}
html body.ap .md-hero:before{display:none}
html body.ap .md-lead,html body.ap .md-intro-text p{color:#3a352d}
html body.ap .md-portrait{border-radius:2px;border-color:var(--rr-rule);box-shadow:0 0 0 6px var(--rr-white),0 0 0 7px var(--rr-rule),0 26px 50px -26px #352b2580}
html body.ap .md-facts div,html body.ap .md-area{background:var(--rr-white);border-color:var(--rr-rule-2);border-radius:2px;box-shadow:none}
html body.ap .md-area:hover{border-color:var(--rr-rule);box-shadow:none}
html body.ap .md-area i{border-radius:2px}
html body.ap .md-areas{background:#efebe1;border-color:var(--rr-rule-2)}
html body.ap .md-quote{background:var(--rr-night);border-radius:2px}
html body.ap .md-quote blockquote p{font-family:var(--rr-serif);color:#fff7e7}
html body.ap .md-quote footer span{color:#e2dacf}
html body.ap .md-quote footer img{border-color:var(--rr-gold)}

@media(prefers-reduced-motion:reduce){html body.ap .button{transition:none}html body.ap .button:hover{transform:none}}
html body.ap .bp-figure{margin:2em 0}html body.ap .bp-figure img{width:100%;height:auto;display:block;border:1px solid var(--rr-rule-2);border-radius:2px}html body.ap .bp-figure figcaption{font-size:14px;color:var(--rr-mute);margin-top:10px;line-height:1.45}

html body.ap .bp-cover{margin-top:32px}
