/* =========================================================
   Xyric Management Advisory — styles.css (FULL FILE)
   Stable, mobile-first, dark steel theme (READABLE)
   ========================================================= */

/* -------------------------
   CSS Variables (Theme)
-------------------------- */
:root{
  --bg: #071018;
  --panel: #0b1622;
  --panel-2: #0e1c2b;

  /* Readability */
  --text: #d6dce3;
  --text-2: #aeb7c2;
  --muted: #97a3b1;

  --border: rgba(255,255,255,.10);
  --border-subtle: rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.45);

  --brand: #3fb6ff;
  --brand-2: #2ea2e8;

  --danger: #ff5b5b;

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --container-narrow: 900px;

  --h1: clamp(32px, 4.4vw, 52px);
  --h2: clamp(20px, 2.6vw, 28px);
  --h3: 18px;
  --p: 16px;
  --lh: 1.65;
}

/* -------------------------
   Base
-------------------------- */
*{ 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;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(63,182,255,.10), transparent 55%),
    radial-gradient(900px 600px at 80% 25%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #060e16 0%, #071018 40%, #050c12 100%);
  color: var(--text);
  line-height: var(--lh);
}

img{ max-width:100%; display:block; height:auto; }
p{ margin: 0 0 14px; font-size: var(--p); }
.small{ font-size: 13px; color: var(--text-2); }
.lead{ font-size: 18px; max-width: 70ch; }
.meta{ color: var(--text-2); font-size: 13px; margin-top: 10px; }

a{ color: var(--text); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* -------------------------
   Containers
-------------------------- */
.container{
  width: min(var(--container), calc(100% - 34px));
  margin: 0 auto;
}

.section{ padding: 34px 0 60px; }

/* -------------------------
   Header / Nav
-------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,16,24,.92), rgba(7,16,24,.70));
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo{
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-subtle);
  padding: 6px;
}

.brand-name{
  font-weight: 800;
  line-height: 1.1;
}

.brand-tag{
  font-size: 12px;
  color: var(--text-2);
  margin-top: 3px;
}

.site-nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav .nav-cta{
  border: 1px solid rgba(63,182,255,.45);
  background: rgba(63,182,255,.08);
}

/* -------------------------
   Cards / Panels
-------------------------- */
.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* -------------------------
   Footer
-------------------------- */
.site-footer{
  border-top: 1px solid var(--border-subtle);
  background: rgba(0,0,0,.18);
  padding: 18px 0;
}

/* =========================================================
   MOBILE FIX — ONLY CHANGE
   ========================================================= */
@media (max-width: 760px){

  .header-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  .brand{
    width: 100%;
    min-width: 0;
  }

  .brand-logo{
    width: 42px;
    height: 42px;
    padding: 4px;
  }

  .brand-name{ font-size: 16px; }
  .brand-tag{ font-size: 11px; }

  .site-nav{
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .site-nav a{
    padding: 8px 8px;
    font-size: 13px;
  }

  .site-nav .nav-cta{
    padding: 8px 10px;
  }
}
