/* CashAsIs blog — ported from the polished HTML design (navy/orange/teal) */
:root{--navy:#0D1B2A;--orange:#F26D21;--teal:#1B6F7A;--ink:#0D1B2A;--muted:#5a6675;--line:#e6e9ef}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:#f7f9fb;line-height:1.6;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}img{display:block;max-width:100%}

/* Nav */
.legal-nav{display:flex;align-items:center;justify-content:space-between;padding:14px 30px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:11px}
.brand img{width:40px;height:40px}
.brand .wm{font-weight:800;font-size:22px;letter-spacing:-.03em;line-height:1}
.brand .wm .n{color:var(--navy)}.brand .wm .o{color:var(--orange)}
.brand .sub{font-size:9px;letter-spacing:.18em;color:#8a93a1;font-weight:700;margin-top:3px;text-transform:uppercase}
.back{border:1.5px solid var(--orange);color:var(--orange);border-radius:30px;padding:9px 18px;font-weight:700;font-size:13.5px;display:inline-flex;gap:7px;align-items:center;transition:.15s}
.back:hover{background:var(--orange);color:#fff}

/* Hero */
.legal-hero{background:var(--navy);color:#fff;padding:48px 30px}
.legal-hero .in{max-width:1080px;margin:0 auto;text-align:center}
.badge{display:inline-flex;align-items:center;gap:7px;background:rgba(242,109,33,.16);border:1px solid rgba(242,109,33,.55);color:var(--orange);font-weight:800;font-size:11px;letter-spacing:.13em;text-transform:uppercase;padding:6px 14px;border-radius:30px;margin-bottom:16px}
.legal-hero h1{font-size:clamp(30px,4.6vw,46px);font-weight:800;letter-spacing:-.02em;margin-bottom:10px}
.legal-hero .meta{color:#9aa6b5;font-size:13.5px}
.legal-hero .meta b{color:#cdd5e0}

/* Wrap + card */
.legal-wrap{max-width:760px;margin:0 auto;padding:42px 24px 56px}
.legal-wrap.wide{max-width:1080px}
.legal-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px -34px rgba(13,27,42,.45);padding:30px 36px 34px}

/* CTA callout */
.callout{background:linear-gradient(160deg,#13263c,#0a1521);border-radius:14px;padding:24px 26px;margin-top:22px;color:#fff;text-align:center}
.callout p{font-size:14.5px;color:#cdd5e0;margin-bottom:16px}.callout p b{color:#fff}
.cbtn{display:inline-flex;align-items:center;gap:8px;background:var(--orange);color:#fff;font-weight:800;font-size:15px;padding:14px 28px;border-radius:30px;transition:.15s}
.cbtn:hover{background:#d95c14}

/* Footer */
.legal-foot{background:var(--navy);color:#8a93a1;text-align:center;padding:26px 20px;font-size:12.5px}
.legal-foot .links{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.legal-foot a:hover{color:#fff}.legal-foot a.active{color:var(--orange);font-weight:700}

/* Blog index grid */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 10px 30px -18px rgba(13,27,42,.4);transition:transform .25s ease,box-shadow .25s ease}
.post-card:hover{transform:translateY(-8px);box-shadow:0 30px 52px -22px rgba(13,27,42,.55)}
.post-thumb{aspect-ratio:16/9;position:relative;display:flex;align-items:flex-end;padding:14px;background-size:cover;background-position:center}
.post-cat{background:rgba(255,255,255,.92);color:var(--navy);font-weight:800;font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:30px}
.post-body{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1}
.post-body h3{font-size:17.5px;font-weight:800;line-height:1.25;margin-bottom:9px}
.post-body p{font-size:13.5px;color:var(--muted);line-height:1.55;margin-bottom:16px;flex:1}
.post-foot{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:#9aa4b2}
.post-foot .read{color:var(--orange);font-weight:800}

/* Featured (first post, full-width) */
.featured{display:grid;grid-template-columns:1.15fr 1fr;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 20px 50px -28px rgba(13,27,42,.5);margin-bottom:34px;transition:transform .25s ease,box-shadow .25s ease}
.featured:hover{transform:translateY(-5px);box-shadow:0 36px 64px -26px rgba(13,27,42,.6)}
.featured-thumb{min-height:280px;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-start;padding:18px}
.featured-body{padding:34px 36px;display:flex;flex-direction:column;justify-content:center}
.featured-body .fcat{display:inline-block;background:var(--navy);color:#fff;font-weight:800;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:30px;margin-bottom:14px;width:fit-content}
.featured-body h2{font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.02em;margin-bottom:12px}
.featured-body p{font-size:15px;color:var(--muted);line-height:1.6;margin-bottom:16px}
.featured-body .read{color:var(--orange);font-weight:800;font-size:14px}

/* Article */
.article{max-width:740px;margin:0 auto}
.article .lead{font-size:18px;color:var(--ink);font-weight:500;line-height:1.6;margin-bottom:22px}
.article p{font-size:16px;color:#374252;line-height:1.75;margin-bottom:18px}
.article h2{font-size:22px;font-weight:800;margin:32px 0 12px;display:flex;align-items:center;gap:11px}
.article h2::before{content:"";width:4px;height:22px;background:var(--orange);border-radius:2px;flex:none}
.article h3{font-size:18px;font-weight:800;margin:24px 0 10px;color:var(--navy)}
.article ul,.article ol{list-style:none;margin:0 0 18px;padding:0}
.article li{position:relative;padding-left:22px;color:#374252;font-size:16px;margin-bottom:9px;line-height:1.6}
.article li::before{content:"";position:absolute;left:3px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--orange)}
.article a{color:var(--teal);font-weight:700}.article strong{color:var(--ink)}
.article blockquote,.article .pull{border-left:4px solid var(--orange);background:#fbf4ee;padding:16px 20px;border-radius:0 10px 10px 0;margin:0 0 22px;font-size:16px;color:#5a4633;font-style:normal}
.article-hero{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin-bottom:26px}
.post-meta{color:#9aa6b5;font-size:13.5px;margin-bottom:18px}.post-meta b{color:var(--navy)}
.eyebrow{margin-bottom:14px}.eyebrow a{color:var(--teal);font-weight:700;font-size:14px}

/* FAQ */
.faq{margin-top:40px;border-top:1px solid var(--line);padding-top:28px}
.faq h2{font-size:22px;font-weight:800;margin-bottom:16px;display:flex;align-items:center;gap:11px}
.faq h2::before{content:"";width:4px;height:22px;background:var(--orange);border-radius:2px;flex:none}
.faq details{border:1px solid var(--line);border-radius:10px;padding:14px 18px;margin-bottom:11px;background:#fbfcfd}
.faq summary{font-weight:800;color:var(--navy);cursor:pointer;font-size:15.5px}
.faq details p{margin-top:11px;color:#4a5563;font-size:14.5px}

@media(max-width:980px){.post-grid{grid-template-columns:1fr 1fr}.featured{grid-template-columns:1fr}.featured-thumb{min-height:200px}}
@media(max-width:640px){.post-grid{grid-template-columns:1fr}}
@media(max-width:600px){.legal-card{padding:20px 22px 24px}.legal-nav{padding:12px 16px}.brand .wm{font-size:19px}.legal-nav .back{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
