/* CreditForge — Bootstrap Site
   Minimal, lender-safe, compliance-conscious messaging.
*/
:root{
  --bg:#151b24;      /* brighter */
  --panel:#1a2433;   /* brighter panels */
  --panel2:#182233;  /* subtle depth */
  --text:#f3f6fb;
  --muted:#c7d0de;
  --brand:#6ee7ff;
  --brand2:#a78bfa;
  --border:rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius:18px;
  --max:1120px;
  --focus:rgba(110,231,255,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(110,231,255,.14), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(167,139,250,.12), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
p{margin:0 0 14px}
small{color:var(--muted)}
hr{border:0; border-top:1px solid var(--border); margin:22px 0}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:18px; top:18px; width:auto; height:auto; padding:10px 12px;
  background:var(--panel); border:1px solid var(--border); border-radius:12px; z-index:9999;
  outline:2px solid var(--focus);
}



.nav{
  display:flex; align-items:center; gap:14px;
}
.nav a{
  color:var(--muted);
  font-size:14px;
  padding:6px 10px;
  border-radius:12px;
}
.nav a.active, .nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

.cta-row{
  display:flex; align-items:center; gap:10px;
}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;  padding: 6px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
  font-size:14px;
  box-shadow: none;
}
.button:hover{background: rgba(255,255,255,.07)}
.button.primary{
  border-color: rgba(110,231,255,.35);
  background: linear-gradient(135deg, rgba(110,231,255,.15), rgba(167,139,250,.12));
}
.button.primary:hover{
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.18));
}
.button:focus{outline:2px solid var(--focus); outline-offset:2px}

.menu-btn{
  display:none;
  width:40px; height:40px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  align-items:center; justify-content:center;
}
.menu-btn:focus{outline:2px solid var(--focus); outline-offset:2px}

.hero{
  padding:64px 0 34px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:22px;
  align-items:stretch;
}
.h-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:14px;
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: rgba(110,231,255,.9);
  box-shadow: 0 0 0 6px rgba(110,231,255,.12);
}
h1{
  font-size:44px;
  line-height:1.08;
  margin:0 0 14px;
  letter-spacing:-.5px;
}
.lede{
  font-size:17px;
  color:var(--muted);
  max-width: 62ch;
  margin-bottom:18px;
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.hero-card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.hero-card h3{
  margin:0 0 10px; font-size:16px; letter-spacing:.2px
}
.hero-card ul{margin:0; padding-left:18px; color:var(--muted)}
.hero-card li{margin:8px 0}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  background: rgba(255,255,255,.04);
  font-size:12.5px;
}
.badge strong{color:var(--text)}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
}
.card h3{margin:0 0 8px; font-size:15px}
.card p{color:var(--muted); margin:0}

.section{
  padding:48px 0;
}

.section:nth-of-type(even){
  background: rgba(255,255,255,.025);
}
.section h2{
  font-size:24px;
  margin:0 0 10px;
  letter-spacing:-.2px;
}
.section .sub{color:var(--muted); max-width: 78ch}

.kpi{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;
}
.kpi .pill{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-size:13px;
}
.kpi .pill strong{color:var(--text)}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:18px;
}

.callout{
  background: rgba(26,36,51,.96);
  border:1px solid rgba(110,231,255,.18);
  border-radius: var(--radius);
  padding:14px 16px;
  color:var(--muted);
}
.callout strong{color:var(--text)}
.callout a{color:var(--text); text-decoration:underline; text-underline-offset:3px}

.form{
  margin-top:14px;
}
.field{
  display:flex; flex-direction:column; gap:8px; margin-bottom:12px;
}
label{font-size:13px; color:var(--muted)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-size:14px;
}
textarea{min-height:130px; resize:vertical}
input:focus, textarea:focus, select:focus{
  outline:2px solid var(--focus);
  outline-offset:2px;
}
.checkbox{
  display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-size:13px;
}
.checkbox input{width:auto; margin-top:3px}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

.footer{
  padding:32px 0 40px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}
.footer-grid{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between;
  gap:14px;
}
.footer a{color:var(--muted); text-decoration:underline; text-underline-offset:3px}
.footer a:hover{color:var(--text)}

.notice{
  font-size:12.5px;
  color:var(--muted);
  padding:12px 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius:14px;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius: var(--radius);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
  font-size:14px;
}
.table th{color:var(--text); background: rgba(255,255,255,.03)}
.table td{color:var(--muted)}
.table tr:last-child td{border-bottom:0}

@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr; }
  h1{font-size:36px}
  .grid-3{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .nav{display:none}
  .menu-btn{display:inline-flex}
}

.mobile-nav{
  display:none;
  padding:8px 0 14px;
}
.mobile-nav a{
  display:block;
  color:var(--muted);
  padding:10px 12px;
  border-radius:12px;
  margin:6px 0;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.mobile-nav a.active{
  color:var(--text);
  border-color: rgba(110,231,255,.25);
  background: rgba(26,36,51,.96);
}
.mobile-nav.open{display:block}


/* --- Form readability fix --- */
input, textarea, select{
  color: var(--text);
  background: rgba(255,255,255,.06);
}
input::placeholder, textarea::placeholder{
  color: rgba(243,246,251,.65);
}

/* =========================================================
   HEADER + LOGO (single source of truth)
   Goal: larger logo, shorter header, no layout breakage.
   ========================================================= */

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(21,27,36,.78);
  border-bottom:1px solid var(--border);
  padding: 0;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 2px 0; /* tighter header height, logo unchanged */
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}

/* Logo image */
.logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  flex: 0 0 auto;
}
.logo span{ display:none; }

.logo img{
  display:block;
  height:100%;
  width:auto;
  max-width:100%;
  object-fit:contain;
}

/* Tagline stays hidden in header (CSS-only) */
.header .tagline{ display:none !important; }
.brand-lockup{ gap:0 !important; }

/* Desktop sizing */
@media (min-width: 901px){
  .logo{
    height: 150px;     /* increased one more time */
    max-width: 720px;
  }
  .logo img{
    max-width: 720px;
  }
}

/* Mobile/tablet sizing */
@media (max-width: 900px){
  .logo{
    height: 76px;
    max-width: 360px;
  }
  .logo img{
    max-width: 360px;
  }
}
