/*
Theme Name: CredAngan
Theme URI: https://credangan.com
Author: CredAngan
Description: Lightweight, accessible, conversion-first WordPress theme for CredAngan mortgage distribution.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: credangan
*/
:root{--ink:#12272b;--ink2:#223a3f;--navy:#0e252a;--mint:#e7f2ef;--sand:#faf8f2;--gold:#dbb46e;--gold2:#f4d79a;--line:#dce5e2;--muted:#627578;--white:#fff;--radius:18px;--shadow:0 18px 52px rgba(16,42,45,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:#986b24}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}::selection{background:var(--gold2);color:var(--ink)}:focus-visible{outline:3px solid #b77d27;outline-offset:3px}.skip-link{position:absolute;left:-999px;top:12px;z-index:100}.skip-link:focus{left:12px;background:white;padding:10px}.wrap{max-width:1192px;width:calc(100% - 44px);margin-inline:auto}.section{padding:90px 0}.section-sm{padding:58px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.17em;color:#a77b37;text-transform:uppercase}.h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,5.25vw,76px);line-height:1.06;font-weight:500;letter-spacing:-.046em;margin:18px 0 22px}.h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(31px,3.8vw,50px);line-height:1.14;font-weight:500;letter-spacing:-.033em;margin:12px 0 20px}.h3{font-size:22px;line-height:1.3;font-weight:700;margin:6px 0 10px}.lede{font-size:19px;color:#c7d9d5;max-width:620px}.muted{color:var(--muted)}.gold{color:var(--gold)}.btn{background:var(--gold);color:var(--ink)!important;border:1px solid var(--gold);font-weight:800;border-radius:10px;padding:13px 20px;min-height:48px;display:inline-flex;gap:12px;align-items:center;justify-content:center;transition:transform .17s ease,background .17s ease;cursor:pointer}.btn:hover{background:var(--gold2);transform:translateY(-2px)}.btn-dark{background:var(--ink);color:white!important;border-color:var(--ink)}.btn-dark:hover{background:#25454c}.btn-outline{background:transparent;border-color:rgba(255,255,255,.48);color:white!important}.btn-outline:hover{background:rgba(255,255,255,.08)}.chip{display:inline-flex;border:1px solid rgba(255,255,255,.22);border-radius:60px;padding:5px 12px;font-size:12px;letter-spacing:.02em;color:#e9f2f0}.topline{background:#092024;color:#d4e5e1;font-size:12px;padding:8px 0}.topline .wrap{display:flex;justify-content:space-between;gap:12px}.topline a{color:#e2c48e}.site-header{height:84px;display:flex;align-items:center;background:#fff;position:sticky;top:0;z-index:80;border-bottom:1px solid #e8eded;box-shadow:0 3px 14px rgba(6,33,36,.03)}body.admin-bar .site-header{top:32px}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand-symbol{width:45px;height:45px;border-radius:13px;background:var(--ink);color:var(--gold);display:grid;place-items:center;box-shadow:inset 0 0 0 1px #446368}.brand-symbol svg{width:29px;height:29px}.brand-name{font-family:Georgia,serif;font-size:28px;line-height:1;letter-spacing:-.04em}.brand-caption{display:block;font-family:Arial,sans-serif;letter-spacing:.15em;font-size:8px;color:#768689;margin-top:5px;font-weight:800}.nav-main{display:flex;align-items:center;gap:27px}.nav-main a:not(.btn){font-size:13px;font-weight:750}.nav-main a:not(.btn):hover{color:#b37e36}.mobile-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px 12px;color:var(--ink)}.hero{position:relative;color:white;background:radial-gradient(ellipse 48% 55% at 83% 55%,rgba(51,106,99,.42),transparent),linear-gradient(130deg,#082329,#112f34 62%,#1b4546);overflow:hidden}.hero:before{content:"";position:absolute;width:510px;height:510px;border:1px solid rgba(219,180,110,.16);border-radius:50%;right:-145px;top:-130px;box-shadow:0 0 0 65px rgba(219,180,110,.025),0 0 0 140px rgba(219,180,110,.03);pointer-events:none}.hero-inner{position:relative;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:78px;padding:94px 0 100px}.hero-text{max-width:680px}.hero-text .eyebrow{color:var(--gold)}.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin:30px 0}.hero-trust{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.form-card{background:#fff;color:var(--ink);border-radius:22px;padding:28px;box-shadow:0 28px 75px rgba(0,0,0,.2);position:relative}.form-card .form-head{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}.form-head h2{font-size:25px;letter-spacing:-.025em;margin:0}.form-head p{font-size:13px;color:var(--muted);margin:4px 0 0}.trust-bar{background:#f5f8f5;border-bottom:1px solid var(--line)}.trust-items{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:22px 0}.trust-item{display:flex;align-items:center;gap:12px;font-weight:700;font-size:14px}.trust-icon{background:#e2eee8;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#476c62;flex:none}.trust-item small{display:block;font-weight:400;color:var(--muted);font-size:12px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:34px}.section-head p{max-width:490px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.service-card{border:1px solid var(--line);border-radius:18px;padding:32px;background:white;min-height:288px;position:relative;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.service-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.service-icon{width:53px;height:53px;border-radius:13px;background:#e8f1ed;color:#2b5e55;display:grid;place-items:center;font-size:25px;margin-bottom:23px}.service-card p{font-size:14px;color:var(--muted);margin:0 0 24px}.service-card .more{margin-top:auto;font-weight:800;color:#9b6f29;font-size:14px}.soft-section{background:var(--sand)}.feature-split{display:grid;grid-template-columns:.95fr 1.05fr;gap:66px;align-items:center}.illustration-panel{min-height:465px;border-radius:24px;background:linear-gradient(140deg,#132f34,#315b55);padding:34px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.illustration-panel:before{content:"";position:absolute;inset:25px;border:1px solid rgba(255,255,255,.14);border-radius:20px}.loan-paper{width:min(320px,100%);background:white;border-radius:15px;padding:27px;box-shadow:0 22px 55px rgba(0,0,0,.25);z-index:1;transform:rotate(-3deg)}.paper-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e6efeb;padding:12px 0;font-size:14px}.paper-row span:last-child{font-weight:800}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;counter-reset:step}.step{padding:14px 0;border-top:2px solid var(--gold)}.step-num{color:#ba8b41;font-weight:800;margin:10px 0;font-size:14px}.step p{font-size:14px;color:var(--muted)}.faq-list details{border-bottom:1px solid var(--line);padding:18px 0}.faq-list summary{font-size:17px;font-weight:700;cursor:pointer;list-style-position:outside}.faq-list p{color:var(--muted);font-size:14px;max-width:850px}.cta-panel{background:var(--ink);color:white;border-radius:25px;padding:55px;display:flex;align-items:center;justify-content:space-between;gap:38px;background-image:radial-gradient(circle at 100% 0,rgba(219,180,110,.12),transparent 45%)}.cta-panel .h2{margin-bottom:8px}.cta-panel p{color:#c6dad7;max-width:570px}.site-footer{background:#0a2227;color:#d0dfdd;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:38px;padding-bottom:50px}.site-footer a{display:block;font-size:14px;color:#d0dfdd;margin:8px 0}.site-footer a:hover{color:var(--gold)}.footer-title{font-size:14px;text-transform:uppercase;letter-spacing:.1em;color:#f2d59d;font-weight:800}.footer-bottom{border-top:1px solid #315056;padding-top:21px;display:flex;gap:20px;justify-content:space-between;font-size:12px;color:#b0c5c3}.footer-note{max-width:330px;font-size:13px;color:#a8c0bd}.page-banner{background:linear-gradient(130deg,#0d2b30,#1b4546);color:white;padding:66px 0 75px}.page-banner h1{font:500 clamp(34px,4vw,55px)/1.12 Georgia,serif;letter-spacing:-.03em;max-width:820px;margin:10px 0}.page-main{padding:65px 0 85px}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:65px;align-items:start}.entry-content{font-size:16px;max-width:800px}.entry-content h2{font:500 33px/1.2 Georgia,serif;margin:35px 0 15px}.entry-content h3{margin-top:25px}.entry-content a:not(.btn){color:#986b24;text-decoration:underline}.entry-content ul li,.entry-content ol li{margin-bottom:10px}.aside-card{background:var(--sand);border:1px solid #e4e4db;border-radius:18px;padding:23px;position:sticky;top:115px}.notice{padding:13px 15px;border-radius:10px;background:#f0f7f1;color:#176039;margin:12px 0;font-size:14px}.notice-error{background:#fff1ef;color:#a13829}.article-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.article-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;padding:25px}.article-card h3{font-family:Georgia,serif;font-size:24px;font-weight:500;line-height:1.22}.article-card p{color:var(--muted);font-size:14px}.article-meta{color:#ac7c38;font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:800}.cg-form{display:grid;gap:12px}.cg-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cg-field{display:flex;flex-direction:column;gap:5px}.cg-field label{font-weight:700;font-size:12px;color:#3b5255}.cg-field input,.cg-field select,.cg-field textarea{border:1px solid #d4deda;background:white;border-radius:9px;padding:11px 12px;min-width:0;width:100%;min-height:46px;color:#193438}.cg-field textarea{min-height:88px;resize:vertical}.cg-field input:focus,.cg-field select:focus,.cg-field textarea:focus{border-color:#b68642;outline:2px solid rgba(219,180,110,.27)}.cg-consent{font-size:11px;color:#526466;line-height:1.45;display:flex;align-items:start;gap:8px}.cg-consent input{margin-top:3px}.cg-form .btn{width:100%}.cg-legal{font-size:11px;color:#6c8182;line-height:1.55;margin:0}.cg-calculator{border:1px solid var(--line);background:white;border-radius:18px;padding:25px;margin:22px 0;box-shadow:0 8px 25px rgba(0,0,0,.04)}.cg-calc-result{background:#edf5f0;border-radius:12px;padding:20px;margin-top:15px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.cg-calc-result strong{font-size:23px;color:#17483f;display:block}.cg-calc-result span{font-size:12px;color:#4d6964}.cg-calc-note{color:#63777a;font-size:12px;margin:15px 0 0}.cg-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.cg-tab{border:1px solid var(--line);background:#f5f8f6;padding:9px 14px;border-radius:8px;font-size:13px;font-weight:800}.cg-tab[aria-selected="true"]{background:#193b3c;color:white;border-color:#193b3c}.cg-tab-panel[hidden]{display:none!important}.sticky-mobile-cta{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1080px){.nav-main{gap:15px}.hero-inner{gap:37px}.grid3{gap:13px}.feature-split{gap:35px}}
@media(max-width:850px){.nav-main{position:absolute;display:none;top:84px;left:0;right:0;background:#fff;padding:18px 24px 24px;box-shadow:0 14px 30px rgba(0,0,0,.1);flex-direction:column;align-items:stretch;gap:12px}.nav-main.active{display:flex}.mobile-toggle{display:block}.hero-inner{grid-template-columns:1fr;padding:56px 0 65px}.hero-text{max-width:none}.form-card{max-width:610px}.grid3{grid-template-columns:repeat(2,1fr)}.feature-split,.page-layout{grid-template-columns:1fr}.aside-card{position:static}.steps{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.trust-items{grid-template-columns:1fr 1fr}.article-list{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.wrap{width:calc(100% - 32px)}.topline{font-size:10px}.topline .wrap{flex-direction:column;gap:2px}.site-header{height:72px}.nav-main{top:72px}.brand-name{font-size:24px}.brand-symbol{width:39px;height:39px}.hero-inner{padding:43px 0 52px}.h1{font-size:43px}.section{padding:60px 0}.section-sm{padding:38px 0}.grid3,.grid2,.trust-items,.article-list,.footer-grid{grid-template-columns:1fr}.service-card{min-height:0}.feature-split{gap:25px}.illustration-panel{min-height:340px}.steps{grid-template-columns:1fr 1fr;gap:10px}.section-head{display:block}.cta-panel{padding:30px;display:block}.cta-panel .btn{margin-top:12px}.form-card{padding:20px}.footer-bottom{display:block}.cg-row{grid-template-columns:1fr}.cg-calc-result{grid-template-columns:1fr 1fr}.sticky-mobile-cta{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;padding:10px 14px;border-top:1px solid var(--line);z-index:75;gap:8px;box-shadow:0 -5px 25px rgba(0,0,0,.08)}.sticky-mobile-cta .btn{flex:1;font-size:12px;min-height:44px;padding:10px}.site-footer{padding-bottom:110px}}

/* CredAngan v1.2 — commercial loan origination and case servicing */
.process-cta{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px}.text-link{font-weight:800;color:#9b6f29}.pipeline-paper{transform:rotate(-2deg)}.pipeline-head{font-family:Georgia,serif;font-size:24px;font-weight:500;line-height:1.18;margin:10px 0 15px}.pipeline-disclaimer{color:#607472;font-size:11px;line-height:1.45}.service-points{display:flex;flex-direction:column;gap:10px;margin:20px 0 25px;font-weight:650;font-size:14px;color:#234a43}.form-card .eyebrow{font-size:11px}.hero .form-card{max-width:510px}
