:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e3e6ea;
  --text: #1c1f26;
  --text-muted: #6b7280;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --success: #16a34a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Sticky footer: page fills the viewport, footer sits at the bottom. */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.navbar { flex-shrink: 0; }
.page { flex: 1 0 auto; }
footer.site-footer { flex-shrink: 0; }

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

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top nav */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.brand span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a, .nav-links button.linklike {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.nav-links .user-pill {
  background: var(--bg);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page shells */
.page { padding: 40px 0 80px; }
.narrow { max-width: 420px; margin: 0 auto; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

h1 { font-size: 1.6rem; margin: 0 0 6px; }
h2 { font-size: 1.2rem; margin: 0 0 14px; }
p.subtitle { color: var(--text-muted); margin: 0 0 24px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.field .hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Password strength meter (signup). */
.strength { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.strength-track { flex: 1; height: 6px; border-radius: 3px; background: #e2e8f0; overflow: hidden; }
.strength-fill { height: 100%; width: 0; border-radius: 3px; transition: width 0.2s ease, background-color 0.2s ease; }
.strength-fill.strength-0 { background-color: #ef4444; }
.strength-fill.strength-1 { background-color: #f97316; }
.strength-fill.strength-2 { background-color: #eab308; }
.strength-fill.strength-3 { background-color: #22c55e; }
.strength-fill.strength-4 { background-color: #16a34a; }
.strength-label { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; min-width: 72px; text-align: right; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #eceef1; }
.btn-danger { background: #fff; color: var(--danger); border: 1px solid #f3c6c6; }
.btn-danger:hover { background: #fef2f2; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-sm { padding: 6px 10px; font-size: 0.8rem; }
.btn-icon { width: 32px; padding: 6px 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-icon .fa-solid { font-size: 0.85rem; line-height: 1; }

.form-footer { margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* Checkbox field (terms agreement) */
.checkbox-field label.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Google sign-in button */
.oauth-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.oauth-divider::before,
.oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.oauth-divider span { padding: 0 12px; }
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.btn-google:hover { background: #f8fafc; }

/* Alerts / reminder */
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.alert-info { background: #eef2ff; color: #3730a3; border: 1px solid #e0e7ff; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* Dashboard */
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.dash-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.view-toggle button:hover { color: var(--text); }
.view-toggle button.active {
  background: var(--primary);
  color: #fff;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* List view: single column of compact rows */
.notes-list .notes-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.notes-list .note-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  flex-wrap: wrap;
  /* Compact rows: keep them flat and unpinned. */
  transform: none;
}
.notes-list .note-card:hover { transform: translateY(-1px); }
.notes-list .note-card h3 {
  font-size: 1rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.notes-list .note-card .note-meta {
  font-size: 0.78rem;
  white-space: nowrap;
}
.notes-list .note-card .note-actions {
  margin-left: auto;
}

/* Sticky-note look: warm paper card with a slight pinned-back tilt. */
.note-card {
  position: relative;
  background: #fffdf3;
  border: 1px solid #e8e2c8;
  border-radius: 2px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 2px 3px 6px rgba(60, 50, 20, 0.14);
  transform: perspective(700px) rotateX(2.5deg);
  transform-origin: 50% 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.note-card:hover {
  transform: perspective(700px) rotateX(1deg) rotate(-0.4deg) translateY(-2px);
  box-shadow: 4px 6px 12px rgba(60, 50, 20, 0.18);
}
.note-card h3 {
  margin: 0;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.note-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.note-owner { color: var(--text-muted); }
.dash-section-title {
  font-size: 1.1rem;
  margin: 26px 0 12px;
}
.dash-section-title:first-child { margin-top: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge-public { background: #ecfdf5; color: #047857; }
.badge-private { background: #f1f5f9; color: #475569; }
.badge-locked { background: #fff7ed; color: #c2410c; }
.icon-lock { flex-shrink: 0; }
.note-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
  white-space: nowrap;
}
.note-lock {
  display: inline-flex;
  vertical-align: middle;
  color: #c2410c;
  cursor: help;
}
.note-vis {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 2px;
  cursor: help;
}
.note-vis-public { color: #047857; }
.note-vis-private { color: #475569; }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 16px;
  list-style-position: inside;
}
.faq-item summary:hover { background: var(--bg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p {
  margin: 0;
  padding: 12px 16px;
  color: var(--text-muted);
}

.note-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* Editor */
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.editor-toolbar .right { display: flex; gap: 8px; flex-wrap: wrap; }
textarea.note-body {
  min-height: 360px;
  resize: vertical;
  font-size: 1rem;
  line-height: 1.6;
}

/* Rich text editor */
.rich-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 10px;
  background: var(--bg);
}
.rich-toolbar button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
}
.rich-toolbar button:hover { background: var(--surface); border-color: var(--border); }
.rich-toolbar select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 0.8rem;
  background: var(--surface);
  color: var(--text);
}
.toolbar-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}
.rich-editor {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  line-height: 1.6;
  overflow-y: auto;
  outline: none;
  background: var(--surface);
}
.rich-editor:focus { border-color: var(--primary); }
.rich-editor.is-empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  pointer-events: none;
}
.rich-editor blockquote {
  border-left: 3px solid var(--primary);
  margin: 12px 0;
  padding: 4px 16px;
  color: var(--text-muted);
}
.rich-editor pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
  font-size: 0.9rem;
}
.rich-editor h1 { font-size: 1.5rem; margin: 0.8em 0 0.4em; }
.rich-editor h2 { font-size: 1.3rem; margin: 0.8em 0 0.4em; }
.rich-editor h3 { font-size: 1.1rem; margin: 0.8em 0 0.4em; }
.rich-editor ul, .rich-editor ol { padding-left: 24px; }
.rich-editor a { color: var(--primary); }
input.note-title {
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
  width: 100%;
  background: transparent;
}
input.note-title:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.share-row input {
  flex: 1;
  min-width: 160px;
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 0.9rem;
}
.share-row input:focus { outline: none; }

/* Public note reading view */
.read-view {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.read-view h1 { margin-bottom: 4px; }
.read-view .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.read-view .body { overflow-wrap: anywhere; font-size: 1.05rem; line-height: 1.7; }
.read-view .body p { margin: 0 0 0.8em; }
.read-view .body h1, .read-view .body h2, .read-view .body h3 { margin: 1em 0 0.4em; }
.read-view .body h1 { font-size: 1.4rem; }
.read-view .body h2 { font-size: 1.25rem; }
.read-view .body h3 { font-size: 1.1rem; }
.read-view .body blockquote {
  border-left: 3px solid var(--primary);
  margin: 1em 0;
  padding: 4px 16px;
  color: var(--text-muted);
}
.read-view .body pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
  font-size: 0.9rem;
}
.read-view .body code { font-family: monospace; font-size: 0.9em; }
.read-view .body ul, .read-view .body ol { padding-left: 24px; }
.read-view .body a { color: var(--primary); }
.read-view .body img { max-width: 100%; height: auto; border-radius: 8px; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 18, 25, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.hidden { display: none; }
.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.modal p { color: var(--text-muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* Toasts */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}
.toast {
  background: var(--text);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  max-width: 320px;
  animation: toast-in 0.2s ease;
}
.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
@keyframes toast-in {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Loading */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.btn-secondary .spinner, .btn-danger .spinner {
  border-color: rgba(0,0,0,0.2);
  border-top-color: var(--text);
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-block { text-align: center; padding: 40px; color: var(--text-muted); }

footer.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 30px 0;
  line-height: 1.9;
}
footer.site-footer a { color: var(--text-muted); }
footer.site-footer a:hover { color: var(--text); }

/* Admin */
.admin-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 18px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg, transparent);
}
.admin-stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}
.admin-stat-label {
  margin-top: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.admin-user-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-user-row h3 { margin: 0 0 4px; }
.admin-notes-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.88rem;
}
.admin-notes-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
}
.admin-notes-table td {
  border-bottom: 1px solid var(--border);
  padding: 8px;
  vertical-align: middle;
}
.admin-notes-table .admin-actions {
  text-align: right;
  white-space: nowrap;
}
.admin-notes-table .admin-actions .btn { margin-left: 6px; }

@media (max-width: 560px) {
  .card, .read-view { padding: 20px; }
  .dash-header { flex-direction: column; align-items: stretch; }
}

/* Dashboard layout: tag sidebar + notes */
.dash-layout { display: flex; gap: 24px; align-items: flex-start; }
.dash-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 10px;
}
.dash-main { flex: 1; min-width: 0; }
.sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 8px 8px;
}
.sidebar-hint { font-size: 0.8rem; color: var(--text-muted); margin: 8px; line-height: 1.5; }
.tag-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  background: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.tag-item:hover { background: var(--bg); }
.tag-item.active { background: var(--primary); color: #fff; }
.tag-item.active .tag-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.tag-hash { color: var(--primary); font-weight: 600; }
.tag-item.active .tag-hash { color: #fff; }
.tag-count {
  margin-left: auto;
  font-size: 0.72rem;
  background: var(--bg);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 1px 8px;
}
.tag-item .fa-solid { color: var(--text-muted); font-size: 0.8rem; width: 14px; }
.tag-item.active .fa-solid { color: #fff; }

/* Tag chips on note cards */
.note-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--primary);
  border-radius: 999px;
  padding: 2px 10px;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}
.tag-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 800px) {
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; position: static; }
}

/* Live hashtag preview in the editor */
.live-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.live-tags-hint { font-size: 0.78rem; color: var(--text-muted); }

/* Pastel background color picker (editor) */
.color-picker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  background: #fff;
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { outline: 2px solid var(--primary); outline-offset: 2px; }
.color-swatch.color-none {
  background: #fff;
  position: relative;
}
.color-swatch.color-none::after {
  content: "\00d7";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1;
}

/* Note search box (dashboard sidebar) */
.note-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  margin-bottom: 12px;
  background: var(--surface);
  color: var(--text);
}
.note-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Collaborators (editor) */
.collab-list { list-style: none; margin: 0; padding: 0; }
.collab-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  background: var(--surface);
}

/* Landing page */
.hero { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 12px; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.feature-card i {
  font-size: 1.3rem;
  color: var(--primary);
}
.feature-card h3 { margin: 10px 0 6px; font-size: 1rem; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.feature-card code { font-size: 0.82rem; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}
