/* style.css — brandablenet.com
   Minimal, sober, professional, with a subtle accent color.
*/

:root{
  color-scheme: light;

  /* Typography */
  --font: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  /* Layout */
  --max: 1080px;
  --g: 14px;
  --r: 14px;

  /* Palette */
  --bg: #fbfbfc;
  --fg: #111;
  --muted: #666;
  --line: #e9e9ee;
  --card: #fff;

  /* Accent (subtle blue-grey) */
  --accent: #3b5bcc;        /* main accent */
  --accent-soft: #eef1fb;   /* very light background */
  --accent-border: #cfd6f5;

  /* Shadow */
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --shadow2: 0 6px 18px rgba(0,0,0,.05);

  /* Spreadsheet vibe */
  --sheet-bg: #ffffff;
  --sheet-head: #f5f6f8;
  --sheet-head2: #eef1f4;
  --sheet-grid: #e6e9ef;
  --sheet-grid-strong: #d6dbe6;
  --sheet-hover: #f7f9fc;
  --sheet-select: rgba(59,91,204,.10); /* reprend ton accent */
  --sheet-select-border: rgba(59,91,204,.35);
  --sheet-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Links ---------- */
a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(59,91,204,.25);
}
a:hover{
  border-bottom-color: var(--accent);
}

/* ---------- Text helpers ---------- */
.muted{ color: var(--muted); font-size: 13px; }

/* ---------- Header ---------- */
header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 16px 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  background: linear-gradient(180deg, #fff, #fcfcfd);
  box-shadow: var(--shadow2);
}

header h1{
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

header .muted{
  font-size: 13px;
}

nav{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

nav a{
  color: var(--fg);
  border-bottom: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

nav a:hover{
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero{
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--accent-border);
  border-radius: calc(var(--r) + 4px);
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  box-shadow: var(--shadow2);
}

.hero p{
  margin: 0 0 10px;
  font-size: 15px;
}

/* ---------- Grid ---------- */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--g);
  margin-top: var(--g);
}

@media (max-width: 900px){
  header{ flex-direction:column; align-items:flex-start; }
  .grid{ grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card{
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 4px);
  padding: 16px;
  background: var(--card);
  box-shadow: var(--shadow2);
}

.card h2{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--accent);
}

.card p{ margin: 8px 0; }
.card ul{ margin: 10px 0 0 18px; }
.card li{ margin: 6px 0; }

/* ---------- Pills ---------- */
.pillrow{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  font-size: 12px;
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btnrow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--accent-border);
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  border-bottom: none;
}

.btn:hover{
  background: var(--accent-soft);
}

.btn.primary{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn.primary:hover{
  filter: brightness(1.05);
  color: #333;
}

/* ---------- Footer ---------- */
footer{
  margin-top: 16px;
  padding: 14px 6px 18px;
  color: var(--muted);
}

/* ---------- Focus ---------- */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- Utilities ---------- */
hr{
  border:0;
  height:1px;
  background: var(--line);
  margin: 14px 0;
}



    .row { display:flex; gap:12px; flex-wrap:wrap; }
    label { display:block; font-size: 13px; color:#444; margin: 0 0 6px; }
    input, textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ddd;
      border-radius: 12px;
      font: inherit;
      box-sizing: border-box;
      background: #fff;
    }
    textarea { min-height: 140px; resize: vertical; }
    .col { flex: 1 1 260px; }
    .btn {
      display:inline-block; padding:10px 12px; border:1px solid #ddd; border-radius:12px;
      text-decoration:none; background:#fff; cursor:pointer;
    }
    .btn:hover { background:#f7f7f7; }
    .alert {
      border: 1px solid #eee;
      border-radius: 14px;
      padding: 12px 14px;
      background: #fff;
      margin-bottom: 12px;
    }
    .ok { border-color: #26a269; }
    .err { border-color: #c01c28; }
    .hp { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }