/* Seshat — brand design system. Swap the logo via the .brand-mark block in each page
   header once the vectorized SVG is ready. Colors and type are centralized here. */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

:root {
  --ink: #0F2540;      /* deep indigo - primary */
  --ink-2: #16335A;    /* lighter indigo for fills */
  --gold: #D4AF37;     /* gold accent */
  --teal: #2AC1B8;     /* teal accent */
  --slate: #64748B;    /* muted text */
  --line: #E2E8F0;     /* light gray / borders */
  --paper: #FAFAF9;    /* page background */
  --white: #FFFFFF;
  --text: #0F2540;
  --muted: #5A6B82;
  --success: #1F9D6B;
  --warn: #C7892A;
  --danger: #C0453B;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(15,37,64,0.06), 0 8px 24px rgba(15,37,64,0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 42px; letter-spacing: -0.5px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- logo ---- */
.brand-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark .mark { height: 42px; width: auto; display: block; }
.brand-mark.sm .mark { height: 24px; }
.brand-mark .word { font-size: 26px; letter-spacing: .5px; line-height: 1; }
.brand-mark .word b { font-weight: 600; }
.brand-mark .lock-text { display: inline-flex; flex-direction: column; }
.brand-mark .tag { font-size: 10px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--slate); margin-top: 4px; }
.side .brand-mark .tag { color: var(--gold); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 15px;
  font-weight: 500; padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .06s, background .15s, border-color .15s; }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #c19f2c; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.7); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(192,69,59,.4); }

/* ---- top nav (marketing) ---- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.nav .links { display: flex; align-items: center; gap: 20px; font-size: 15px; color: var(--muted); }
.nav .links a { white-space: nowrap; }
.nav .links a:hover { color: var(--ink); }

/* ---- hero ---- */
.hero { background: var(--ink); color: var(--white); border-radius: 22px; padding: 64px 40px; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero p { color: #B9C2D6; font-size: 18px; max-width: 540px; margin: 0 auto 26px; }
.hero .pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(212,175,55,.16);
  color: #E7CE94; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- feature cards ---- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { width: 26px; height: 26px; color: var(--gold); }
.card h3 { margin: 12px 0 6px; }
.card p { margin: 0; font-size: 14px; }

/* ---- strip / footer ---- */
.strip { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; font-size: 13px; color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 28px 0; margin-top: 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); }

/* ---- forms ---- */
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin: 0 0 6px; }
.input { width: 100%; font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); color: var(--text); }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,193,184,.15); }
.field { margin-bottom: 16px; }

/* ---- badges ---- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.badge-ok { background: rgba(31,157,107,.12); color: var(--success); }
.badge-lock { background: rgba(199,137,42,.14); color: var(--warn); }
.badge-teal { background: rgba(42,193,184,.14); color: #0E8E86; }

/* ---- app shell ---- */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--ink); color: #C7D0E0; padding: 22px 16px; }
.side .brand-mark .word { color: var(--white); }
.side nav { margin-top: 26px; display: flex; flex-direction: column; gap: 3px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: #AEB9CD; }
.side nav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.side nav a.on { background: rgba(212,175,55,.16); color: #F3E6BE; }
.side nav a svg { width: 18px; height: 18px; }
.main { padding: 26px 30px; max-width: 920px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line);
  background: var(--white); border-radius: var(--radius-sm); padding: 9px 13px; color: var(--muted); font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }

/* rows / list */
.row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); margin-bottom: 9px; }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-size: 14px; font-weight: 500; }
.row .sub { font-size: 12px; color: var(--slate); }

.section-title { font-size: 13px; font-weight: 600; color: var(--slate); text-transform: uppercase;
  letter-spacing: 1px; margin: 26px 0 12px; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  h1 { font-size: 32px; }
  .nav .links { gap: 14px; }
  .nav .links a:not(.btn) { display: none; }   /* TODO: replace with a hamburger menu */
  .hero { padding: 44px 24px; }
}
