/* /css/styles.css — updated blue & grey scheme with usability improvements */

:root{
  /* Core palette */
  --bg:#f7f9fc;
  --surface:#ffffff;
  --surface-2:#eef2f7;
  --surface-3:#e6edf6;
  --card:#ffffff;

  /* Text */
  --text:#0b1221;
  --muted:#42546e;
  --muted-2:#5b6c82;

  /* Lines & shadows */
  --line:#d7dee9;
  --shadow:0 16px 36px rgba(15,23,42,.10);

  /* Brand */
  --accent:#1f62d0;
  --accent-2:#1447a8;
  --accent-3:#0f357e;
  --accent-soft:#eaf2ff;
  --accent-strong:#0b2f6b;
  --focus:rgba(31,98,208,.3);

  /* Layout */
  --radius:16px;
  --radius-sm:10px;
  --max:1120px;

  --font: "Segoe UI", "Inter", ui-sans-serif, system-ui, -apple-system, Arial;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(31,98,208,.12), rgba(247,249,252,0) 55%),
    linear-gradient(180deg, var(--bg), #ffffff 60%);
  color:var(--text);
  line-height:1.65;
  text-rendering:optimizeLegibility;
}

/* Global elements */
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}
img{max-width:100%;display:block}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:16px;
  padding:10px 16px;
  background:var(--accent);
  color:#ffffff;
  border-radius:999px;
  font-weight:600;
}
.skip-link:focus{
  left:16px;
  z-index:100;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(180%) blur(6px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
}
.brand-mark{
  width:22px;height:22px;
  border-radius:6px;
  background:linear-gradient(135deg, var(--accent), #7db4ff);
}
.brand-name{font-weight:700}

.nav{
  display:flex;
  gap:8px;
}
.nav-link{
  padding:8px 12px;
  border-radius:8px;
  color:var(--muted);
}
.nav-link:hover{
  background:var(--surface-2);
  color:var(--text);
  text-decoration:none;
}
.nav-link[aria-current="page"]{
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:600;
}

/* Sections */
.section{padding:88px 0}
.section-alt{
  background:var(--surface-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.hero{
  padding:96px 0 80px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.25fr .9fr;
  gap:40px;
  align-items:center;
}

.eyebrow{
  margin:0 0 10px;
  font-size:.9rem;
  color:var(--muted-2);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.h1{
  margin:0 0 16px;
  font-size:clamp(2.2rem, 3.4vw, 3.2rem);
  line-height:1.15;
}

.h2{
  margin:0 0 12px;
  font-size:clamp(1.6rem, 2.2vw, 2.1rem);
}

.h3{
  margin:0 0 8px;
  font-size:1.05rem;
}

.subhead{
  margin:0 0 20px;
  color:var(--muted);
  max-width:60ch;
}

.lead{
  color:var(--muted);
  max-width:70ch;
}

.microcopy{
  margin:18px 0 0;
  font-size:.9rem;
  color:var(--muted-2);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:10px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:none;
}

.btn-primary{
  background:var(--accent);
  color:#ffffff;
}
.btn-primary:hover{
  background:var(--accent-2);
  text-decoration:none;
}

.btn-secondary{
  background:#ffffff;
  border-color:var(--line);
  color:var(--text);
}
.btn-secondary:hover{
  background:var(--surface-2);
  text-decoration:none;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Cards & panels */
.card,
.feature,
.panel,
.pill,
.point{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card-head,
.card-foot{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}

.card-foot{
  border-top:1px solid var(--line);
  border-bottom:none;
  color:var(--muted-2);
}

.card-body{padding:16px}

.section-head{
  max-width:760px;
}

.chip{
  padding:6px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:.85rem;
  font-weight:600;
}

.chip-muted{
  background:var(--surface-2);
  color:var(--muted-2);
}

.chip + .chip{
  margin-left:6px;
}

/* Grids */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}

/* Lists */
.list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.list li{margin:8px 0}

/* Notes */
.note{
  margin-top:32px;
  padding:16px;
  background:var(--accent-soft);
  border:1px solid #bfd4fb;
  border-radius:var(--radius);
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.note-icon{
  width:28px;
  height:28px;
  border-radius:8px;
  background:var(--surface);
  border:1px solid var(--line);
  position:relative;
  flex:0 0 auto;
}
.note-icon::after{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:6px;
  background:linear-gradient(135deg, var(--accent), #86b6ff);
}
.note-body{color:var(--muted)}
.note-body strong{color:var(--text)}

/* CTA block */
.cta-inner{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:32px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.cta-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}
.cta-small{
  font-size:.9rem;
  color:var(--muted-2);
}

/* Forms */
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:16px;
}
.field{display:grid;gap:6px}
.field-full{grid-column:1 / -1}

label{
  font-size:.9rem;
  color:var(--muted);
}

input, textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid var(--line);
  font:inherit;
  background:var(--surface);
}
input:focus, textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--focus);
}

textarea{resize:vertical}

.form-actions{
  display:grid;
  gap:12px;
  padding:0 16px 16px;
}

/* Hero visuals */
.hero-visual{
  display:flex;
  justify-content:flex-end;
}
.visual-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:20px;
  width:100%;
  max-width:420px;
}
.visual-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.visual-badge{
  font-weight:600;
  color:var(--accent-strong);
  background:var(--accent-soft);
  padding:6px 12px;
  border-radius:999px;
}
.visual-pill{
  font-size:.85rem;
  color:var(--muted-2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 12px;
}
.visual-body{
  margin-top:18px;
  display:grid;
  gap:18px;
}
.kpi{
  padding:14px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--line);
}
.kpi-label{
  font-size:.85rem;
  color:var(--muted-2);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.kpi-value{
  margin-top:6px;
  font-weight:600;
  color:var(--text);
}
.sparkline{
  display:flex;
  align-items:flex-end;
  gap:6px;
  height:90px;
  padding:12px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--line);
}
.sparkline .bar{
  flex:1;
  background:linear-gradient(180deg, var(--accent), #7cb3ff);
  border-radius:6px 6px 2px 2px;
}
.split{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.mini{
  padding:12px;
  border-radius:12px;
  background:var(--surface-2);
  border:1px solid var(--line);
}
.mini-title{
  font-size:.8rem;
  color:var(--muted-2);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.mini-text{
  margin-top:6px;
  font-weight:600;
  font-size:.95rem;
  color:var(--text);
}
.visual-foot{
  margin-top:16px;
  font-size:.9rem;
  color:var(--muted-2);
}

/* Hero trust row */
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
  color:var(--muted);
  font-size:.95rem;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
}
.trust-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
}

/* Feature icons */
.feature{
  padding:18px;
}
.feature-icon{
  width:36px;
  height:36px;
  border-radius:10px;
  background:var(--accent-soft);
  border:1px solid var(--line);
  margin-bottom:12px;
  position:relative;
}
.feature-icon::after{
  content:"";
  position:absolute;
  inset:9px;
  border-radius:8px;
  background:linear-gradient(135deg, var(--accent), #95c0ff);
}

/* Pill cards */
.pill{
  padding:16px;
}
.pill-title{
  font-weight:600;
  margin-bottom:6px;
}
.pill-text{
  color:var(--muted);
}

/* Contact layout */
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:start;
}
.contact-card{
  position:sticky;
  top:96px;
}
.contact-points{
  display:grid;
  gap:14px;
  margin-top:24px;
}
.point{
  padding:16px;
}
.point-title{
  font-weight:600;
  margin-bottom:6px;
}
.point-text{
  color:var(--muted);
}

/* Footer */
.site-footer-container{
  border-top:1px solid var(--line);
}

.site-footer{
  border-top:1px solid var(--line);
  background:var(--surface);
  padding:24px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.footer-brand{font-weight:700}
.footer-tag{color:var(--muted);font-size:.95rem}
.footer-link{
  color:var(--muted);
}
.footer-link:hover{
  color:var(--text);
  text-decoration:none;
}

/* Responsive */
@media (max-width: 960px){
  .hero-grid,
  .grid-3,
  .grid-4,
  .contact-grid{grid-template-columns:1fr}
  .cta-inner{flex-direction:column;align-items:flex-start}
  .contact-card{position:static}
  .split{grid-template-columns:1fr}
}

@media (max-width: 560px){
  .container{width:calc(100% - 32px)}
  .form-grid{grid-template-columns:1fr}
  .btn{width:100%}
  .hero{padding:80px 0 60px}
}
