    :root{
      --bg:#ffffff;
      --surface:#ffffff;
      --text:#0f172a; /* slate-900 */
      --muted:#6b7280; /* gray-500 */
      --border:#e5e7eb; /* gray-200 */
      --accent:#CE6632; /* brand orange */
      --accent-2:#732E0C; /* brand deep */
      --shadow:0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
      --radius:18px;
      --maxw:1180px;
    }
    @media (prefers-color-scheme: dark){
      :root{
        --bg:#ffffff;
        --surface:#ffffff;
        --text:#0f172a;
        --muted:#6b7280;
        --border:#e5e7eb;
        --shadow:0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
      }
    }
    *,*::before,*::after{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0; font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
      color:var(--text); background:var(--bg);
    }
    a{color:inherit; text-decoration:none}
    .container{max-width:var(--maxw); margin:0 auto; padding:0 20px}
    .skip-link{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
    .skip-link:focus{left:16px; top:16px; width:auto; height:auto; background:#fff; color:#000; padding:8px 12px; border-radius:8px; box-shadow:var(--shadow)}
    /* Masthead */
    .masthead{line-height:0; border-bottom:1px solid var(--border); padding:0}
    .masthead img{width:100%; height:clamp(220px,38vw,480px); object-fit:cover; display:block}

    /* Header */
    header{position:sticky; top:0; z-index:40; background:#fff; border-bottom:1px solid var(--border)}
    @media (prefers-color-scheme: dark){
      header{background:linear-gradient(180deg, rgba(17,22,29,.7), rgba(17,22,29,.5))}
    }
    .nav{display:flex; align-items:center; justify-content:space-between; padding:12px 0}
    .brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.3px}
    .brand-badge{width:36px; height:36px; border-radius:12px; background:linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow:var(--shadow); display:grid; place-items:center}
    .brand-badge svg{filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
    .nav a{padding:8px 12px; border-radius:10px}
    .nav a[aria-current="page"], .nav a:hover{background:#f5f5f5}
    .cta{display:inline-flex; align-items:center; gap:.55rem; background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; padding:10px 14px; border-radius:12px; box-shadow:var(--shadow)}
    .cta svg{opacity:.9}
    /* Hero */
    .hero{position:relative; padding:28px 0 36px; overflow:hidden}
    .hero-bg{display:none}
    .hero-wrap{position:relative}
    .eyebrow{display:inline-flex; align-items:center; gap:.5rem; font-size:.9rem; color:var(--muted); background:#f8fafc; padding:6px 10px; border-radius:999px; border:1px solid var(--border)}
    .hero h1{font-size: clamp(2.1rem, 4vw, 3.2rem); line-height:1.1; margin:14px 0 12px; letter-spacing:-.02em}
    .hero p{font-size: clamp(1rem, 2vw, 1.125rem); color:var(--muted); max-width:60ch}
    .hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
    .btn{display:inline-flex; align-items:center; gap:.5rem; padding:10px 14px; border-radius:12px; border:1px solid var(--border)}
    .btn.primary{background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; border-color:transparent}
    .btn:hover{box-shadow:var(--shadow)}
    /* Section */
    section{padding:28px 0}
    .section-head{display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:12px}
    .section-head h2{font-size:1.4rem; margin:0}
    .section-head p{margin:0; color:var(--muted)}
    .grid{display:grid; grid-template-columns:repeat(12,1fr); gap:18px}
    .card{grid-column:span 4; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow)}
    @media (max-width: 900px){.card{grid-column:span 6}}
    @media (max-width: 640px){.card{grid-column:span 12}}
    .card h3{margin:0 0 6px; font-size:1.05rem}
    .card p{margin:0 0 12px; color:var(--muted)}
    .linklist{display:grid; gap:8px}
    .linklist a{display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--border); border-radius:12px}
    .linklist a:hover{border-color:rgba(206,102,50,.4); box-shadow:var(--shadow)}
    .pill{display:inline-block; font-size:.78rem; padding:.25rem .55rem; border-radius:999px; background:#f6f6f6; border:1px solid var(--border); margin-right:6px}
    /* Advertising */
    .ad-slot{display:flex; justify-content:center; padding:24px 0; margin:0 auto; max-width:min(100%, 960px)}
    .ad-slot .adsbygoogle{display:block; margin:0 auto; max-width:100%}
    body.mock-ads .adsbygoogle{display:flex; align-items:center; justify-content:center; background:repeating-linear-gradient(135deg, rgba(148,163,184,.2) 0, rgba(148,163,184,.2) 10px, rgba(226,232,240,.45) 10px, rgba(226,232,240,.45) 20px); border:1px dashed #cbd5f5; color:var(--muted); font-size:.85rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; position:relative}
    body.mock-ads .adsbygoogle::after{content:"Mock ad"; position:absolute}
    /* Section separators */
    main>section.container{padding:40px 0; border-top:1px solid var(--border)}
    main>section.container:first-of-type{border-top:0}
    /* Book cards */
    .book{display:flex; gap:14px; align-items:center; padding:12px; border:1px solid var(--border); border-radius:14px}
    .cover{width:52px; height:72px; border-radius:8px; object-fit:cover; box-shadow:var(--shadow)}
    .book strong{display:block}
    .book span{color:var(--muted); font-size:.9rem}
    /* Calculator tiles */
    .tile{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border:1px dashed var(--border); border-radius:14px}
    .tile:hover{border-color:rgba(206,102,50,.5); box-shadow:var(--shadow)}
    /* Search */
    .search{display:flex; gap:10px; align-items:center; border:1px solid var(--border); padding:10px 12px; border-radius:12px; background:var(--surface)}
    .search input{border:0; outline:0; background:transparent; color:inherit; flex:1; font-size:1rem}
    /* Promo slab */
    .feature-slab{background:linear-gradient(180deg, rgba(206,102,50,.08), #fff); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow)}
    .pill.accent{background:rgba(206,102,50,.12); border-color:rgba(206,102,50,.4); color:var(--accent-2)}
    .tip-of-day{background:linear-gradient(180deg, rgba(115,46,12,.06), #fff); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow)}
    .tip-of-day h2{margin:0 0 8px; font-size:1.4rem}
    .tip-of-day p{margin:0; color:var(--muted)}
    .tip-content{margin-top:14px; border:1px solid var(--border); border-radius:14px; padding:14px; background:var(--surface)}
    .tip-content strong{display:block; margin-bottom:8px}
    .tip-content ul{margin:10px 0 0 1.2rem}
    .tip-content li{margin-bottom:8px}
    .tip-meta{margin-top:10px; font-size:.9rem; color:var(--muted)}
    /* Footer */
    footer{margin-top:36px; padding:28px 0 40px; border-top:1px solid var(--border); color:var(--muted)}
    .made{display:flex; gap:8px; align-items:center}
    .sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}
    .faq{padding:40px 0; border-top:1px solid var(--border)}
    .faq h2{margin-top:0; font-size:1.4rem}
    .faq-item{border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:16px; background:var(--surface); box-shadow:var(--shadow)}
    .faq-item h3{margin:0 0 8px; font-size:1.05rem}
    .faq-item p{margin:0; color:var(--muted)}
    .guide{padding:40px 0; border-top:1px solid var(--border)}
    .guide-content{max-width:72ch}
    .guide-content h2{margin:0 0 12px; font-size:1.4rem}
    .guide-content p{margin:0 0 12px; color:var(--muted)}
    .guide-content ol{margin:0 0 12px 1.4rem; padding:0}
    .guide-content li{margin-bottom:10px}
  

    .nav-links{display:flex; gap:6px; align-items:center}
    .hero-gradient-text{background:linear-gradient(135deg,var(--accent),var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent}
    .search-wrap{margin-top:18px; max-width:680px}
    .ad-banner-728x90{display:inline-block; width:728px; height:90px}
    .ad-center{display:flex; justify-content:center}
    .footer-row{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}
    .copyright-meta{opacity:.8}
    .footer-link-spaced{margin-right:12px}

    .card.span-6{grid-column:span 6}
