/* ============================================================
   devutilixy.com — Global Stylesheet
   One file for all pages. Page-specific sections clearly marked.
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── CSS VARIABLES ── */
:root {
  --bg: #080810;
  --surface: #10101c;
  --surface2: #18182a;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.12);
  --accent: #7c6aff;
  --accent2: #a78bfa;
  --green: #22d3a5;
  --red: #ff5f6d;
  --yellow: #fbbf24;
  --blue: #38bdf8;
  --text: #eeeef8;
  --muted: #606080;
  --muted2: #8080a0;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Syne', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,106,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,106,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Glow blob */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,106,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── PAGE WRAPPER ── */
/* Default max-width (tools: 1100px) */
.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}
/* Narrower pages */
.page--sm  { max-width: 820px; }   /* blog, blog-post, contact, privacy */
.page--md  { max-width: 860px; }   /* about */
.page--home { max-width: 900px; }  /* home */

/* ── SHARED UTILITY ── */
code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent2);
  background: var(--surface2);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }


/* ============================================================
   NAV — shared across all pages (injected via nav.html)
   ============================================================ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.logo-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-family: var(--mono);
}
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  /* color: var(--muted); */
  color:#8585a8;
  text-decoration: none;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent2); border-color: var(--border2); background: rgba(124,106,255,0.06); }
.nav-link.active { color: var(--accent2); border-color: var(--border2); background: rgba(124,106,255,0.08); }


/* ============================================================
   FOOTER — shared across all pages (injected via footer.html)
   ============================================================ */
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-tools {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-tools-label { 
  /* color: var(--muted);  */
  color: #9090b0;   /* was #606080 */
  opacity: 1;   
}
.footer-tools a {
  color: var(--muted2);
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.15s;
}
.footer-tools a:hover { color: var(--accent2); border-color: var(--border2); }
.footer-links {
  font-size: 0.75rem;
  /* color: var(--muted); */
  color: #9090b0;  
  font-family: var(--mono);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}
.footer-links a { color: var(--accent2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy {
  font-size: 0.7rem;
  /* color: var(--muted); */
  color: #9090b0;   /* was #606080 */
  opacity: 1;   
  font-family: var(--mono);
  /* opacity: 0.7; */
}

/* ── Legacy footer (pages not using footer.html yet) ── */
footer p { font-size: 0.75rem; color: var(--muted); font-family: var(--mono); line-height: 1.8; }
footer a { color: var(--accent2); text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ============================================================
   PAGE HEADER — tool pages
   ============================================================ */
.page-header { margin-bottom: 1.5rem; animation: fadeUp 0.4s ease both; }
.page-header h1 { font-size: clamp(1.5rem,4vw,2rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.3rem; }
.page-header p  { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* Header accent colors per tool */
.page-header h1 .c-green  { color: var(--green); }
.page-header h1 .c-yellow { color: var(--yellow); }
.page-header h1 .c-purple { color: var(--accent2); }
.page-header h1 .c-red    { color: var(--red); }
.page-header h1 .c-blue   { color: var(--blue); }

/* ── SHARED ELEMENTS ── */
.copy-btn {
  font-family: var(--mono); font-size: 0.68rem; color: var(--muted);
  background: none; border: 1px solid var(--border); border-radius: 5px;
  padding: 2px 8px; cursor: pointer; transition: all 0.15s;
}
.copy-btn:hover { color: var(--accent2); border-color: var(--accent); }

.error-box {
  background: rgba(255,95,109,0.07); border: 1px solid rgba(255,95,109,0.25);
  border-radius: 10px; padding: 0.75rem 1rem; color: var(--red);
  font-size: 0.8rem; font-family: var(--mono); display: none; line-height: 1.6;
  animation: fadeUp 0.2s ease;
}

/* Status badge */
.status-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  padding: 0.35rem 0.8rem; border-radius: 20px;
  white-space: nowrap; border: 1px solid transparent; transition: all 0.2s;
}
.status-badge.idle    { color: var(--muted); border-color: var(--border2); }
.status-badge.valid   { color: var(--green); border-color: rgba(34,211,165,0.3); background: rgba(34,211,165,0.06); }
.status-badge.invalid { color: var(--red);   border-color: rgba(255,95,109,0.3); background: rgba(255,95,109,0.06); }
.status-badge.expired { color: var(--yellow); border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.06); }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* Shared card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.card-title {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 0.7rem;
}

/* Shared button */
.btn {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.42rem 1rem; border-radius: 7px;
  border: 1px solid var(--border2); background: var(--surface2);
  color: var(--text); cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.btn:hover       { border-color: var(--accent); color: var(--accent2); }
.btn-accent      { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { opacity: 0.85; }
.btn-primary     { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.85; }
.btn-green       { background: rgba(34,211,165,0.1); border-color: rgba(34,211,165,0.3); color: var(--green); }
.btn-green:hover  { background: rgba(34,211,165,0.18); }
.btn-red         { background: rgba(255,95,109,0.08); border-color: rgba(255,95,109,0.25); color: var(--red); }
.btn-red:hover    { background: rgba(255,95,109,0.15); }
.btn-row { display: flex; gap: 8px; margin: 0.75rem 0; flex-wrap: wrap; animation: fadeUp 0.4s 0.08s ease both; }

/* Editor panes (JSON, Base64, URL) */
.editor-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; animation: fadeUp 0.4s 0.1s ease both; }
@media(max-width: 700px) { .editor-layout { grid-template-columns: 1fr; } }
.editor-pane { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pane-header { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface2); }
.pane-title { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; color: var(--muted2); letter-spacing: 0.07em; text-transform: uppercase; }
textarea {
  flex: 1; width: 100%; min-height: 260px; background: transparent;
  border: none; outline: none; padding: 1rem;
  font-family: var(--mono); font-size: 0.82rem; color: var(--text);
  resize: vertical; line-height: 1.65; tab-size: 2;
}
textarea::placeholder { color: var(--muted); }

/* Mode toggle */
.mode-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--border2); border-radius: 9px; padding: 3px; margin-bottom: 1.2rem; animation: fadeUp 0.4s 0.05s ease both; }
.mode-btn { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; padding: 0.38rem 1.1rem; border-radius: 7px; border: none; background: transparent; color: var(--muted); cursor: pointer; transition: all 0.15s; }
.mode-btn.active { background: var(--accent); color: #fff; }

/* Stats row / chips */
.stats-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; animation: fadeUp 0.4s 0.15s ease both; }
.stat-chip { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 0.4rem 0.8rem; font-family: var(--mono); font-size: 0.72rem; color: var(--muted2); }
.stat-chip span { color: var(--accent2); font-weight: 600; }

/* Cheat sheets */
.cheat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; margin-top: 10px; animation: fadeUp 0.4s 0.2s ease both; }
.cheat h3 { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.cheat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px; }
.cheat-row { display: flex; gap: 8px; padding: 0.28rem 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.cheat-row:last-child { border-bottom: none; }
.cheat-key  { font-family: var(--mono); font-size: 0.75rem; color: var(--accent2); min-width: 120px; flex-shrink: 0; }
.cheat-desc { font-size: 0.73rem; color: var(--muted2); }
/* URL cheatsheet extras */
.cheat-char { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; min-width: 24px; color: var(--text); }
.cheat-enc  { font-family: var(--mono); font-size: 0.75rem; color: var(--blue); min-width: 50px; }
.cheat-name { font-size: 0.72rem; color: var(--muted2); }


/* ============================================================
   HOME PAGE
   ============================================================ */
.hero { text-align: center; margin-bottom: 3.5rem; animation: fadeUp 0.5s ease both; }
.hero-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem;
  color: var(--green); border: 1px solid rgba(34,211,165,0.25);
  background: rgba(34,211,165,0.06); border-radius: 20px;
  padding: 4px 14px; margin-bottom: 1rem; letter-spacing: 0.05em;
}
.hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 0.9rem; }
.hero h1 span { color: var(--accent2); }
.hero p { font-size: 0.9rem; color: var(--muted2); font-family: var(--mono); max-width: 500px; margin: 0 auto; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 3rem; }
.tool-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.4rem; text-decoration: none; color: inherit;
  transition: all 0.2s; position: relative; overflow: hidden;
  animation: fadeUp 0.4s ease both;
}
.tool-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(124,106,255,0.04), transparent); opacity: 0; transition: opacity 0.2s; }
.tool-card:hover { border-color: rgba(124,106,255,0.35); transform: translateY(-2px); }
.tool-card:hover::before { opacity: 1; }
.tool-card:nth-child(1){animation-delay:0.05s} .tool-card:nth-child(2){animation-delay:0.1s}
.tool-card:nth-child(3){animation-delay:0.15s} .tool-card:nth-child(4){animation-delay:0.2s}
.tool-card:nth-child(5){animation-delay:0.25s} .tool-card:nth-child(6){animation-delay:0.3s}
.tool-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; font-weight: 700; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.08); }
.tool-card h2 { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4rem; color: var(--text); }
.tool-card p  { font-size: 0.78rem; color: var(--muted2); line-height: 1.55; margin-bottom: 0.9rem; }
.tool-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; }
.tool-arrow { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.8rem; color: var(--muted); transition: all 0.2s; }
.tool-card:hover .tool-arrow { color: var(--accent2); transform: translate(2px,-2px); }

/* Tool icon color variants */
.ic-json { background: rgba(34,211,165,0.1);  color: #22d3a5; }
.ic-ts   { background: rgba(251,191,36,0.1);  color: #fbbf24; }
.ic-b64  { background: rgba(124,106,255,0.12); color: #a78bfa; }
.ic-jwt  { background: rgba(255,95,109,0.1);  color: #ff5f6d; }
.ic-url  { background: rgba(56,189,248,0.1);  color: #38bdf8; }
.ic-cron { background: rgba(167,139,250,0.1); color: #c4b5fd; }

/* Home stats strip */
.stats { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 3rem; background: var(--surface); }
.stat { flex: 1; padding: 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-val { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--accent2); }
.stat-lbl { font-size: 0.65rem; 
  /* color: var(--muted);  */
  color:#9090b0;
  text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }
@media(max-width:500px){ .stats{flex-direction:column} .stat{border-right:none;border-bottom:1px solid var(--border)} .stat:last-child{border-bottom:none} }

/* Why section */
.why { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1rem; }
.why h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.why-item { display: flex; align-items: flex-start; gap: 10px; }
.why-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 6px; }
.why-text { font-size: 0.8rem; color: var(--muted2); line-height: 1.55; }
.why-text strong { color: var(--text); display: block; font-size: 0.82rem; margin-bottom: 1px; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.hero--about { margin-bottom: 2.5rem; animation: fadeUp 0.5s ease both; }
.hero--about .hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--green);
  border: 1px solid rgba(34,211,165,0.25); background: rgba(34,211,165,0.06);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 1.2rem; letter-spacing: 0.05em;
}
.hero--about .hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero--about h1 { font-size: clamp(1.9rem,5vw,2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 1rem; }
.hero--about h1 .hl  { color: var(--accent2); }
.hero--about h1 .hlg { color: var(--green); }
.hero--about .hero-lead { font-size: 0.95rem; color: var(--muted2); line-height: 1.8; max-width: 580px; }

/* Stats bar (about) */
.stats-bar { display: flex; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); margin-bottom: 1.5rem; animation: fadeUp 0.4s 0.08s ease both; }
.stats-bar .stat { flex: 1; padding: 1.1rem 0.75rem; text-align: center; border-right: 1px solid var(--border); }
.stats-bar .stat:last-child { border-right: none; }
.stats-bar .stat-val { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--accent2); line-height: 1; }
.stats-bar .stat-lbl { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }
@media(max-width:480px){ .stats-bar{flex-wrap:wrap} .stats-bar .stat{flex:1 1 50%;border-bottom:1px solid var(--border)} }

/* About cards */
.card--about { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-bottom: 10px; animation: fadeUp 0.4s ease both; }
.card--about .card-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.card--about h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.7rem; color: var(--text); }
.card--about p  { font-size: 0.87rem; color: var(--muted2); line-height: 1.8; margin-bottom: 0.75rem; }
.card--about p:last-child { margin-bottom: 0; }
.card--about a  { color: var(--accent2); text-decoration: none; }
.card--about a:hover { text-decoration: underline; }

/* Tool items (about page) */
.tool-item { background: var(--surface2); border: 1px solid var(--border); border-radius: 11px; padding: 0.9rem; text-decoration: none; color: inherit; transition: border-color 0.15s; display: flex; align-items: flex-start; gap: 11px; }
.tool-item:hover { border-color: rgba(124,106,255,0.4); }
.tool-item .tool-icon { width: 36px; height: 36px; border-radius: 8px; font-size: 12px; margin-bottom: 0; }
.tool-info h3 { font-size: 0.83rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.tool-info p  { font-size: 0.73rem; color: var(--muted2); line-height: 1.5; margin: 0; }

/* Two column split */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; animation: fadeUp 0.4s 0.1s ease both; }
@media(max-width:560px){ .two-col { grid-template-columns: 1fr; } }
.split-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; }
.split-card .sc-icon { font-size: 1.5rem; margin-bottom: 0.65rem; display: block; }
.split-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text); }
.split-card p  { font-size: 0.84rem; color: var(--muted2); line-height: 1.75; margin: 0; }

/* Values grid */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 8px; margin-top: 0.9rem; }
.value-item { display: flex; align-items: flex-start; gap: 10px; padding: 0.8rem; background: var(--surface2); border-radius: 9px; border: 1px solid var(--border); }
.vdot  { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 6px; }
.vtext h4 { font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.vtext p  { font-size: 0.72rem; color: var(--muted2); line-height: 1.5; margin: 0; }

/* Blog preview grid (about) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 7px; margin-top: 0.9rem; }
.blog-item { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem; text-decoration: none; color: inherit; transition: border-color 0.15s; }
.blog-item:hover { border-color: rgba(124,106,255,0.35); }
.blog-item h3 { font-size: 0.8rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.blog-tag { font-family: var(--mono); font-size: 0.6rem; font-weight: 500; padding: 2px 7px; border-radius: 4px; margin-bottom: 5px; display: inline-block; }
.bt-cron { color:#c4b5fd; border:1px solid rgba(196,181,253,0.3); background:rgba(196,181,253,0.07); }
.bt-json { color:#22d3a5; border:1px solid rgba(34,211,165,0.3);  background:rgba(34,211,165,0.07);  }
.bt-b64  { color:#a78bfa; border:1px solid rgba(167,139,250,0.3); background:rgba(167,139,250,0.07); }
.bt-jwt  { color:#ff5f6d; border:1px solid rgba(255,95,109,0.3);  background:rgba(255,95,109,0.07);  }
.bt-ts   { color:#fbbf24; border:1px solid rgba(251,191,36,0.3);  background:rgba(251,191,36,0.07);  }
.bt-url  { color:#38bdf8; border:1px solid rgba(56,189,248,0.3);  background:rgba(56,189,248,0.07);  }

/* Promise section */
.promise { background: linear-gradient(135deg, rgba(124,106,255,0.07), rgba(34,211,165,0.03)); border: 1px solid rgba(124,106,255,0.2); border-radius: 16px; padding: 1.6rem; margin-bottom: 10px; animation: fadeUp 0.4s 0.14s ease both; }
.promise h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.9rem; }
.promise-list { display: flex; flex-direction: column; gap: 0.9rem; }
.promise-item { display: flex; gap: 12px; align-items: flex-start; }
.pi-num { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; color: var(--accent2); background: rgba(124,106,255,0.12); border: 1px solid rgba(124,106,255,0.2); border-radius: 5px; padding: 2px 7px; flex-shrink: 0; margin-top: 1px; }
.pi-text h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.pi-text p  { font-size: 0.83rem; color: var(--muted2); line-height: 1.7; margin: 0; }

/* CTA strip */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.5rem; animation: fadeUp 0.4s 0.18s ease both; }
.cta-strip p { font-size: 0.88rem; color: var(--muted2); margin: 0; }
.cta-strip a { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: #fff; background: var(--accent); text-decoration: none; padding: 0.48rem 1.2rem; border-radius: 8px; transition: opacity 0.15s; white-space: nowrap; }
.cta-strip a:hover { opacity: 0.85; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: start; }
@media(max-width:640px){ .layout { grid-template-columns: 1fr; } }

.card--contact { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.5rem; animation: fadeUp 0.4s ease both; }
.card--contact h2 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.card--contact p  { font-size: 0.83rem; color: var(--muted2); line-height: 1.7; margin-bottom: 0.75rem; }
.card--contact p:last-child { margin-bottom: 0; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border2);
  border-radius: 9px; padding: 0.7rem 0.9rem;
  font-family: var(--mono); font-size: 0.82rem; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--surface2); }

.submit-btn {
  width: 100%; background: var(--accent); color: #fff; border: none;
  border-radius: 9px; padding: 0.75rem;
  font-family: var(--mono); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s, transform 0.1s; letter-spacing: 0.03em;
}
.submit-btn:hover { opacity: 0.88; }
.submit-btn:active { transform: scale(0.98); }

.success-msg {
  display: none; background: rgba(34,211,165,0.08); border: 1px solid rgba(34,211,165,0.3);
  border-radius: 9px; padding: 0.9rem 1rem; color: var(--green);
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; margin-top: 0.75rem;
}
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; margin-bottom: 12px; animation: fadeUp 0.4s 0.1s ease both; }
.info-card h3 { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.info-item { display: flex; gap: 10px; align-items: flex-start; padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.info-text { font-size: 0.78rem; color: var(--muted2); line-height: 1.5; }
.info-text strong { color: var(--text); font-size: 0.78rem; display: block; }
.response-badge { display: inline-block; background: rgba(34,211,165,0.1); border: 1px solid rgba(34,211,165,0.25); border-radius: 5px; padding: 2px 8px; font-size: 0.68rem; font-family: var(--mono); color: var(--green); margin-top: 4px; }


/* ============================================================
   JSON FORMATTER
   ============================================================ */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; animation: fadeUp 0.4s 0.05s ease both; }
.output-area { flex: 1; min-height: 380px; padding: 1rem; font-family: var(--mono); font-size: 0.82rem; line-height: 1.65; overflow: auto; white-space: pre; word-break: break-word; }
textarea.json-in  { min-height: 380px; }
.j-key  { color: #a78bfa; } .j-str  { color: #22d3a5; }
.j-num  { color: #fbbf24; } .j-bool { color: #38bdf8; } .j-null { color: #ff5f6d; }
.info-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; animation: fadeUp 0.4s 0.15s ease both; }
.info-chip { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 0.4rem 0.8rem; font-family: var(--mono); font-size: 0.72rem; color: var(--muted2); }
.info-chip span { color: var(--accent2); font-weight: 600; }


/* ============================================================
   BASE64 ENCODER
   ============================================================ */
.pane-badge { font-family: var(--mono); font-size: 0.65rem; padding: 2px 7px; border-radius: 4px; border: 1px solid; }
.pane-badge.plain   { color: var(--green);  border-color: rgba(34,211,165,0.3);  background: rgba(34,211,165,0.07); }
.pane-badge.encoded { color: var(--accent2); border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.07); }
.output-ta { flex: 1; width: 100%; min-height: 260px; background: transparent; border: none; outline: none; padding: 1rem; font-family: var(--mono); font-size: 0.82rem; resize: vertical; line-height: 1.65; word-break: break-all; }


/* ============================================================
   TIMESTAMP CONVERTER
   ============================================================ */
.clock-strip { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; animation: fadeUp 0.4s 0.05s ease both; }
.clock-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.clock-val   { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--yellow); }
.clock-sub   { font-family: var(--mono); font-size: 0.72rem; color: var(--muted2); margin-top: 2px; }
.copy-ts-btn { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); background: var(--surface2); border: 1px solid var(--border2); border-radius: 6px; padding: 0.3rem 0.8rem; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.copy-ts-btn:hover { color: var(--accent2); border-color: var(--accent); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1rem; }
@media(max-width:600px){ .cards { grid-template-columns: 1fr; } }
.card--ts { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem; animation: fadeUp 0.4s 0.1s ease both; }
.card--ts h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.field-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; margin-top: 0.8rem; }
.field-label:first-of-type { margin-top: 0; }
input[type="text"], input[type="number"], input[type="datetime-local"] {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border2);
  border-radius: 8px; padding: 0.65rem 0.85rem;
  font-family: var(--mono); font-size: 0.85rem; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
input:focus { border-color: var(--accent); }
input.err   { border-color: var(--red); }
.result-box { margin-top: 0.85rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 0.9rem; min-height: 52px; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0.2rem 0; border-bottom: 1px solid var(--border); }
.result-row:last-child { border-bottom: none; }
.result-key { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.result-val { font-family: var(--mono); font-size: 0.8rem; color: var(--green); text-align: right; word-break: break-all; cursor: pointer; }
.result-val:hover { color: var(--accent2); }
.err-msg { font-family: var(--mono); font-size: 0.76rem; color: var(--red); margin-top: 0.5rem; }
.ref-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; animation: fadeUp 0.4s 0.15s ease both; }
.ref-card h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 6px; }
.ref-item { display: flex; justify-content: space-between; align-items: baseline; padding: 0.3rem 0.6rem; background: var(--bg); border-radius: 6px; border: 1px solid var(--border); cursor: pointer; transition: border-color 0.15s; }
.ref-item:hover { border-color: var(--accent); }
.ref-label { font-size: 0.73rem; color: var(--muted2); }
.ref-val   { font-family: var(--mono); font-size: 0.73rem; color: var(--yellow); }


/* ============================================================
   URL ENCODER
   ============================================================ */
.output-ta--blue { color: var(--blue); }
.query-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; margin-top: 10px; animation: fadeUp 0.4s 0.15s ease both; }
.qc-title { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.qc-input { width: 100%; background: var(--bg); border: 1.5px solid var(--border2); border-radius: 8px; padding: 0.6rem 0.85rem; font-family: var(--mono); font-size: 0.82rem; color: var(--text); outline: none; transition: border-color 0.2s; margin-bottom: 0.75rem; }
.qc-input:focus { border-color: var(--accent); }
.params-table { width: 100%; border-collapse: collapse; }
.params-table th { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border); }
.params-table td { font-family: var(--mono); font-size: 0.78rem; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--border); word-break: break-all; }
.params-table tr:last-child td { border-bottom: none; }
.td-key { color: var(--blue); } .td-val { color: var(--green); }
.no-params { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); padding: 0.5rem 0; }


/* ============================================================
   JWT DECODER
   ============================================================ */
.input-zone { background: var(--surface); border: 1px solid var(--border2); border-radius: 14px; padding: 1.2rem; margin-bottom: 10px; animation: fadeUp 0.4s 0.05s ease both; }
.input-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.jwt-input { width: 100%; background: var(--bg); border: 1.5px solid var(--border2); border-radius: 9px; padding: 0.8rem 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--text); outline: none; transition: border-color 0.2s; resize: vertical; min-height: 80px; line-height: 1.55; word-break: break-all; }
.jwt-input:focus   { border-color: var(--accent); }
.jwt-input.valid   { border-color: var(--green); }
.jwt-input.invalid { border-color: var(--red); }
.jwt-parts { display: flex; gap: 0; margin-top: 0.75rem; border-radius: 8px; overflow: hidden; font-family: var(--mono); font-size: 0.72rem; word-break: break-all; line-height: 1.5; }
.jwt-part { padding: 0.4rem 0.6rem; flex: 1; }
.jwt-part.header-p  { background: rgba(255,95,109,0.12);  color: #ff5f6d; }
.jwt-part.payload-p { background: rgba(124,106,255,0.12); color: #a78bfa; }
.jwt-part.sig-p     { background: rgba(56,189,248,0.1);   color: #38bdf8; }
.jwt-dot { display: flex; align-items: center; font-weight: 700; color: var(--muted); font-size: 1rem; background: var(--surface2); padding: 0 4px; }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; animation: fadeUp 0.4s 0.1s ease both; }
@media(max-width:640px){ .panels { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface2); }
.panel-title { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.ph-red    { color: #ff5f6d; }
.ph-purple { color: #a78bfa; }
.panel-body { padding: 1rem; font-family: var(--mono); font-size: 0.78rem; min-height: 160px; overflow: auto; }
.expiry-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; margin-top: 10px; animation: fadeUp 0.4s 0.15s ease both; }
.expiry-title { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.expiry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 8px; }
.expiry-item { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.8rem; }
.expiry-label { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.expiry-val { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; word-break: break-word; }
.ev-green { color: var(--green); } .ev-red { color: var(--red); } .ev-yellow { color: var(--yellow); } .ev-muted { color: var(--muted2); }
.security-note { background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.2); border-radius: 10px; padding: 0.8rem 1rem; margin-top: 10px; font-size: 0.78rem; color: var(--yellow); font-family: var(--mono); line-height: 1.6; animation: fadeUp 0.4s 0.2s ease both; }


/* ============================================================
   CRON EXPLAINER
   ============================================================ */
.presets-wrap  { margin-bottom: 1.2rem; animation: fadeUp 0.5s 0.1s ease both; }
.presets-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 0.5rem; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.preset-btn {
  background: var(--surface); border: 1px solid var(--border2); border-radius: 6px;
  padding: 0.28rem 0.7rem; font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted2); cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.preset-btn:hover { border-color: var(--accent); color: var(--accent2); background: rgba(124,106,255,0.08); }

.cron-input {
  flex: 1; background: var(--bg); border: 1.5px solid var(--border2); border-radius: 10px;
  padding: 0.8rem 1.1rem; font-family: var(--mono); font-size: 1.1rem; color: var(--text);
  outline: none; letter-spacing: 0.08em; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.cron-input:focus   { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,106,255,0.12); }
.cron-input.valid   { border-color: var(--green); }
.cron-input.invalid { border-color: var(--red); }

.parts-row { display: flex; gap: 6px; margin-top: 1rem; flex-wrap: wrap; }
.part-chip { flex: 1; min-width: 60px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.4rem; text-align: center; transition: border-color 0.2s; }
.part-chip .val { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--accent2); }
.part-chip .lbl { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media(max-width:560px){ .result-grid { grid-template-columns: 1fr; } }
.explanation { font-size: 1rem; font-weight: 600; line-height: 1.6; color: var(--text); }
.explanation em { color: var(--accent2); font-style: normal; }
.next-runs { list-style: none; }
.next-runs li { display: flex; align-items: center; gap: 8px; padding: 0.32rem 0; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.76rem; }
.next-runs li:last-child { border-bottom: none; }
.run-idx  { font-size: 0.62rem; color: var(--muted); width: 14px; flex-shrink: 0; }
.run-time { color: var(--green); }
.run-rel  { color: var(--muted); font-size: 0.68rem; margin-left: auto; }
.breakdown { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 10px; }
.breakdown-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 0.65rem; }
@media(max-width:500px){ .breakdown-grid { grid-template-columns: repeat(3,1fr); } }
.field-card  { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 0.6rem 0.4rem; text-align: center; }
.field-val  { font-family: var(--mono); font-size: 1rem; font-weight: 700; }
.field-name { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }
.field-desc { font-size: 0.65rem; color: var(--accent2); margin-top: 3px; line-height: 1.3; }
.cheatsheet { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 10px; }
.cheat-expr { font-family: var(--mono); font-size: 0.76rem; color: var(--accent2); min-width: 90px; flex-shrink: 0; }

/* FAQ */
.faq-section { margin-top: 3rem; }
.faq-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.faq-item { border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.faq-q { font-size: 0.88rem; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--accent2); }
.faq-toggle { color: var(--muted); font-size: 1rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-a { font-size: 0.82rem; color: var(--muted2); line-height: 1.65; margin-top: 0.5rem; display: none; font-family: var(--mono); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* Examples */
.examples-section { margin-top: 2.5rem; }
.examples-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.examples-section > p { font-size: 0.82rem; color: var(--muted2); margin-bottom: 1.1rem; font-family: var(--mono); }
.examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 8px; }
.example-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 0.85rem 1rem; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.example-card:hover { border-color: var(--accent); background: rgba(124,106,255,0.05); }
.example-expr { font-family: var(--mono); font-size: 0.82rem; color: var(--accent2); font-weight: 700; margin-bottom: 4px; }
.example-desc { font-size: 0.78rem; color: var(--muted2); line-height: 1.4; }


/* ============================================================
   BLOG INDEX
   ============================================================ */
.posts-grid { display: flex; flex-direction: column; gap: 10px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.4rem; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; display: block; }
.post-card:hover { border-color: rgba(124,106,255,0.35); transform: translateX(3px); }
.post-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 0.6rem; flex-wrap: wrap; }
.post-tag { font-family: var(--mono); font-size: 0.63rem; font-weight: 500; padding: 2px 8px; border-radius: 4px; border: 1px solid; }
.tag-cron   { color: #c4b5fd; border-color: rgba(196,181,253,0.3); background: rgba(196,181,253,0.07); }
.tag-json   { color: #22d3a5; border-color: rgba(34,211,165,0.3);  background: rgba(34,211,165,0.07);  }
.tag-base64 { color: #a78bfa; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.07); }
.tag-jwt    { color: #ff5f6d; border-color: rgba(255,95,109,0.3);  background: rgba(255,95,109,0.07);  }
.tag-ts     { color: #fbbf24; border-color: rgba(251,191,36,0.3);  background: rgba(251,191,36,0.07);  }
.tag-url    { color: #38bdf8; border-color: rgba(56,189,248,0.3);  background: rgba(56,189,248,0.07);  }
.tag-general{ color: #8080a0; border-color: rgba(128,128,160,0.3); background: rgba(128,128,160,0.07); }
.post-date, .post-read { font-family: var(--mono); font-size: 0.63rem; color: var(--muted); }
.post-card h2 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4rem; color: var(--text); }
.post-card > p { font-size: 0.82rem; color: var(--muted2); line-height: 1.6; }
.post-arrow { float: right; color: var(--muted); font-size: 0.9rem; margin-top: 2px; transition: all 0.15s; }
.post-card:hover .post-arrow { color: var(--accent2); transform: translate(3px,-3px); }


/* ============================================================
   BLOG POST
   ============================================================ */
.article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.art-tag  { font-family: var(--mono); font-size: 0.65rem; font-weight: 500; padding: 3px 9px; border-radius: 4px; }
.art-date, .art-read { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); }
h1.art-title { font-size: clamp(1.5rem,4vw,2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 1rem; }
.art-lead { font-size: 1rem; color: var(--muted2); line-height: 1.75; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.art-body h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin: 2rem 0 0.7rem; color: var(--text); }
.art-body h3 { font-size: 0.95rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--accent2); }
.art-body p  { font-size: 0.9rem; color: var(--muted2); line-height: 1.8; margin-bottom: 1rem; }
.art-body ul, .art-body ol { padding-left: 0; margin: 0.75rem 0 1rem; list-style: none; }
.art-body ul li, .art-body ol li { font-size: 0.88rem; color: var(--muted2); line-height: 1.7; padding: 0.2rem 0 0.2rem 1.3rem; position: relative; }
.art-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent2); font-size: 0.75rem; top: 0.3rem; }
.art-body ol { counter-reset: ol; }
.art-body ol li::before { counter-increment: ol; content: counter(ol)'.'; position: absolute; left: 0; color: var(--accent2); font-family: var(--mono); font-size: 0.75rem; }

/* Code blocks */
.code-block { background: var(--surface); border: 1px solid var(--border2); border-radius: 11px; overflow: hidden; margin: 1rem 0 1.25rem; }
.code-header { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 1rem; background: var(--surface2); border-bottom: 1px solid var(--border); }
.code-lang { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; }
.code-copy { font-family: var(--mono); font-size: 0.65rem; color: var(--muted); background: none; border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; cursor: pointer; transition: all 0.15s; }
.code-copy:hover { color: var(--accent2); border-color: var(--accent); }
pre { padding: 1rem 1.1rem; overflow-x: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.7; color: var(--accent2); }

/* Article table */
.art-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; font-size: 0.83rem; }
.art-table th { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border2); }
.art-table td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border); color: var(--muted2); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-table td:first-child { font-family: var(--mono); color: var(--accent2); }

/* CTA box */
.art-cta { background: linear-gradient(135deg, rgba(124,106,255,0.1), rgba(167,139,250,0.06)); border: 1px solid rgba(124,106,255,0.25); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.art-cta p { font-size: 0.85rem; color: var(--muted2); margin: 0; }
.art-cta a { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: #fff; background: var(--accent); text-decoration: none; padding: 0.45rem 1.1rem; border-radius: 7px; white-space: nowrap; transition: opacity 0.15s; }
.art-cta a:hover { opacity: 0.85; }

/* Post nav */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.post-nav a { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem; text-decoration: none; transition: border-color 0.15s; }
.post-nav a:hover { border-color: var(--accent); }
.pn-label { font-family: var(--mono); font-size: 0.62rem; color: var(--muted); margin-bottom: 4px; }
.pn-title { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* Callout */
.callout { border-radius: 10px; padding: 0.9rem 1.1rem; margin: 1rem 0 1.25rem; font-size: 0.85rem; color: var(--muted2); line-height: 1.7; }
.callout--green  { background: rgba(34,211,165,0.06); border: 1px solid rgba(34,211,165,0.2); }
.callout--yellow { background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.2); }
.callout--green strong  { color: var(--green); }
.callout--yellow strong { color: var(--yellow); }

/* Field cards (cron blog post) */
.field-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin: 1rem 0 1.25rem; }
@media(max-width:500px){ .field-cards { grid-template-columns: repeat(3,1fr); } }
.fc-val   { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--accent2); }
.fc-name  { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }
.fc-range { font-family: var(--mono); font-size: 0.62rem; color: var(--muted2); margin-top: 2px; }

/* Compare grid (JSON blog) */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 1rem 0 1.25rem; }
@media(max-width:500px){ .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 1rem; }
.compare-card h3 { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; margin-bottom: 0.6rem; }
.compare-card.left h3  { color: var(--green); }
.compare-card.right h3 { color: var(--accent2); }
.compare-card p { font-size: 0.8rem; color: var(--muted2); line-height: 1.6; margin: 0; }

/* JWT display (JWT blog) */
.jwt-display { display: flex; gap: 0; border-radius: 9px; overflow: hidden; font-family: var(--mono); font-size: 0.78rem; margin: 1rem 0 1.25rem; word-break: break-all; line-height: 1.6; }
.jd-header  { background: rgba(255,95,109,0.12);  color: #ff5f6d; padding: 0.6rem 0.7rem; flex: 1; }
.jd-payload { background: rgba(124,106,255,0.12); color: #a78bfa; padding: 0.6rem 0.7rem; flex: 1; }
.jd-sig     { background: rgba(56,189,248,0.1);   color: #38bdf8; padding: 0.6rem 0.7rem; flex: 1; }
.jd-dot     { background: var(--surface2); color: var(--muted); padding: 0.6rem 3px; font-weight: 700; }


/* ============================================================
   HIDDEN UTILITY
   ============================================================ */
.hide { display: none !important; }