/* ================================================================
   stiri.digital — Public Site CSS
   Light mode · HN density · editorial polish
   ================================================================ */

:root {
  --sp-accent:      #cc2200;
  --sp-accent-h:    #a81c00;
  --sp-bg:          #f6f6ef;
  --sp-surface:     #ffffff;
  --sp-border:      #e5e5cb;
  --sp-text:        #1a1a1a;
  --sp-muted:       #828282;

  --sp-font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sp-font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;

  --sp-text-xs:     0.75rem;    /* 12px */
  --sp-text-sm:     0.8125rem;  /* 13px */
  --sp-text-base:   0.875rem;   /* 14px */
  --sp-text-md:     1rem;       /* 16px */
  --sp-text-lg:     1.125rem;   /* 18px */
  --sp-text-xl:     1.375rem;   /* 22px */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sp-font);
  font-size: var(--sp-text-base);
  line-height: 1.6;
  color: var(--sp-text);
  background: var(--sp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

/* ── Topbar ── */
.sp-bar {
  background: var(--sp-accent);
}

.sp-bar a {
  text-decoration: none;
}

.sp-bar-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-brand {
  font-family: var(--sp-font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.sp-brand span { opacity: 0.75; }

.sp-divider {
  color: rgba(255, 255, 255, 0.4);
  user-select: none;
  flex-shrink: 0;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.sp-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--sp-text-sm);
  text-decoration: none;
  transition: color 0.1s;
}

.sp-nav a:hover { color: #fff; }

.sp-spacer { flex: 1; }

/* ── Content ── */
.sp-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

/* ── Footer ── */
.sp-footer {
  border-top: 1px solid var(--sp-border);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: var(--sp-text-xs);
  color: var(--sp-muted);
  font-family: var(--sp-font);
}

.sp-footer a {
  color: var(--sp-muted);
  text-decoration: none;
  transition: color 0.1s;
}

.sp-footer a:hover { color: var(--sp-text); }

.sp-footer-btn {
  background: none;
  border: none;
  color: var(--sp-muted);
  font-size: var(--sp-text-xs);
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.1s;
}

.sp-footer-btn:hover { color: var(--sp-text); }

/* ── Cookie banner ── */
.sp-cookie {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #1e1e1e;
  color: #fff;
  border-top: 1px solid #333;
}

.sp-cookie-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sp-cookie p {
  margin: 0;
  font-size: var(--sp-text-sm);
  max-width: 560px;
  line-height: 1.5;
}

.sp-cookie a {
  color: #adb5bd;
  text-decoration: underline;
}

.sp-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sp-cookie-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.3rem 0.75rem;
  font-size: var(--sp-text-xs);
  font-family: inherit;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.15s;
}

.sp-cookie-btn:hover { border-color: rgba(255, 255, 255, 0.7); }

.sp-cookie-btn--accept {
  background: #fff;
  border-color: #fff;
  color: #1e1e1e;
  font-weight: 700;
}

.sp-cookie-btn--accept:hover { background: #e0e0e0; border-color: #e0e0e0; }
