/* ==========================================================================
   Notewell Product Site Styles
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Global site dark-mode base tokens */
  --site-bg: #0d0f12;
  --site-surface: #14171d;
  --site-elev: #1c212a;
  --site-border: rgba(255, 255, 255, 0.08);
  --site-border-glow: rgba(209, 72, 58, 0.3);
  --site-text: #f0f3f6;
  --site-text-dim: #8b949e;
  --site-accent: #e04e3e;
  --site-accent-glow: rgba(224, 78, 62, 0.4);

  /* Mockup App Window Theme Tokens (dynamically overwritten by JS) */
  --mock-bg: #1a1a1a;
  --mock-bg-elev: #222222;
  --mock-bg-sidebar: #171717;
  --mock-border: #2e2e2e;
  --mock-text: #e8e8e8;
  --mock-text-dim: #9a9a9a;
  --mock-accent: #d1483a;
  --mock-selected: #2a2a2a;
  --mock-code-bg: rgba(255, 255, 255, 0.08);
  --mock-sel-bg: rgba(209, 72, 58, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--site-bg);
  color: var(--site-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(209, 72, 58, 0.18), transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(38, 139, 210, 0.08), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(189, 147, 249, 0.06), transparent 50%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Header & Nav ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--site-border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--site-text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.brand-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--site-border);
  padding: 2px 7px;
  border-radius: 12px;
  color: var(--site-text-dim);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--site-text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--site-text);
}

/* ================= Buttons ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(180deg, #e65242 0%, #d1483a 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(209, 72, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #f05c4c 0%, #db4f40 100%);
  box-shadow: 0 6px 24px rgba(209, 72, 58, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--site-elev);
  color: var(--site-text);
  border-color: var(--site-border);
}

.btn-secondary:hover {
  background: #252b36;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.btn-main-text {
  font-size: 15px;
  font-weight: 600;
}

.btn-sub-text {
  font-size: 11.5px;
  opacity: 0.8;
  font-weight: 400;
}

/* ================= Hero Section ================= */

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(209, 72, 58, 0.12);
  border: 1px solid rgba(209, 72, 58, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #ff7869;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #ff5242;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff5242;
}

.hero-title {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 860px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #ff897a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--site-text-dim);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--site-text-dim);
  margin-bottom: 56px;
}

.hero-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-specs svg {
  color: #4ade80;
}

/* ================= Mockup Window ================= */

.hero-mockup-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.mockup-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(209, 72, 58, 0.22), transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.app-window {
  position: relative;
  z-index: 1;
  background: var(--mock-bg);
  border: 1px solid var(--site-border);
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Window Titlebar */
.window-titlebar {
  background: var(--mock-bg-sidebar);
  border-bottom: 1px solid var(--mock-border);
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.light.close { background: #ff5f56; }
.light.minimize { background: #ffbd2e; }
.light.zoom { background: #27c93f; }

.window-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--mock-text);
  letter-spacing: -0.01em;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-btn {
  font-size: 14px;
  cursor: pointer;
  opacity: 0.8;
}

.mock-mode-btn {
  background: var(--mock-bg);
  border: 1px solid var(--mock-border);
  color: var(--mock-text-dim);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s ease;
}

.mock-mode-btn.active {
  background: var(--mock-selected);
  color: var(--mock-text);
  border-color: var(--mock-accent);
}

/* App Body Columns */
.app-body {
  display: grid;
  grid-template-columns: 180px 220px 1fr;
  height: 520px;
  background: var(--mock-bg);
  color: var(--mock-text);
}

/* Sidebar */
.app-sidebar {
  background: var(--mock-bg-sidebar);
  border-right: 1px solid var(--mock-border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--mock-text-dim);
  letter-spacing: 0.06em;
  padding: 8px 8px 4px;
}

.sidebar-list {
  list-style: none;
  margin-bottom: 14px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--mock-text);
  cursor: pointer;
  font-size: 12.5px;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-item.active {
  background: var(--mock-selected);
  color: var(--mock-accent);
  font-weight: 600;
}

.sidebar-item .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--mock-text-dim);
}

.sidebar-footer {
  margin-top: auto;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--mock-text-dim);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator .dot.online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

/* Note List */
.app-notelist {
  background: var(--mock-bg-elev);
  border-right: 1px solid var(--mock-border);
  display: flex;
  flex-direction: column;
}

.notelist-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--mock-border);
}

.notelist-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mock-text);
}

.new-icon {
  font-size: 14px;
  cursor: pointer;
}

.notelist-items {
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-card {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.note-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.note-card.active {
  background: var(--mock-selected);
  border-left: 3px solid var(--mock-accent);
}

.note-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--mock-text);
  margin-bottom: 3px;
}

.note-card-preview {
  font-size: 11.5px;
  color: var(--mock-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.note-card-date {
  font-size: 10px;
  color: var(--mock-text-dim);
}

/* Editor Area */
.app-editor-area {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--mock-bg);
  overflow: hidden;
}

.editor-pane {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.editor-pane.active {
  display: flex;
  flex-direction: column;
}

.editor-content-scroll {
  padding: 24px 36px 40px;
  line-height: 1.65;
  color: var(--mock-text);
}

.demo-h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--mock-text);
}

.demo-lead {
  font-size: 14.5px;
  color: var(--mock-text);
  margin-bottom: 18px;
}

.demo-h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--mock-text);
}

.demo-p {
  font-size: 14px;
  margin-bottom: 12px;
}

.demo-quote {
  border-left: 3px solid var(--mock-accent);
  padding: 8px 14px;
  margin: 14px 0;
  font-style: italic;
  color: var(--mock-text-dim);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 6px 6px 0;
}

.quote-author {
  font-size: 12px;
  font-style: normal;
  display: block;
  margin-top: 4px;
}

.demo-tasks {
  list-style: none;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}

.task-item input[type="checkbox"] {
  accent-color: var(--mock-accent);
  width: 15px;
  height: 15px;
}

.demo-list {
  margin: 10px 0 16px 20px;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-link {
  color: var(--mock-accent);
  text-decoration: underline;
}

.tag-pill {
  color: var(--mock-accent);
  font-weight: 600;
  background: var(--mock-code-bg);
  padding: 1px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.wikilink-pill {
  color: var(--mock-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--mock-code-bg);
}

.demo-table-wrap {
  margin: 14px 0;
  overflow-x: auto;
}

.demo-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 440px;
  font-size: 13px;
  border: 1px solid var(--mock-border);
  border-radius: 6px;
  overflow: hidden;
}

.demo-table th,
.demo-table td {
  border: 1px solid var(--mock-border);
  padding: 8px 12px;
  text-align: left;
}

.demo-table th {
  background: var(--mock-bg-elev);
  font-weight: 600;
}

.demo-table td {
  background: var(--mock-bg);
}

kbd {
  font-family: var(--font-mono);
  background: var(--mock-code-bg);
  border: 1px solid var(--mock-border);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
}

code {
  font-family: var(--font-mono);
  background: var(--mock-code-bg);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

.demo-hr {
  border: none;
  border-top: 1px solid var(--mock-border);
  margin: 22px 0;
}

/* Split Pane */
.editor-pane-split {
  display: none;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  height: calc(100% - 36px);
  overflow: hidden;
}

.editor-pane-split.active {
  display: grid;
}

.split-col {
  overflow-y: auto;
  padding: 16px 20px;
}

.split-raw {
  background: var(--mock-bg);
  border-right: 1px solid var(--mock-border);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.split-code code {
  background: none;
  padding: 0;
}

.split-preview {
  background: var(--mock-bg);
}

.split-header {
  font-size: 10px;
  font-weight: 700;
  color: var(--mock-text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Meta Footer */
.app-meta-footer {
  height: 36px;
  border-top: 1px solid var(--mock-border);
  background: var(--mock-bg-sidebar);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11.5px;
  color: var(--mock-text-dim);
  gap: 8px;
}

.meta-bl-pill {
  background: var(--mock-bg-elev);
  border: 1px solid var(--mock-border);
  color: var(--mock-accent);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 11px;
  cursor: pointer;
}

/* ================= Themes Section ================= */

.section {
  padding: 100px 0;
  position: relative;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--site-accent);
  margin-bottom: 12px;
}

.badge-invert {
  color: #60a5fa;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--site-text-dim);
  max-width: 600px;
  margin-bottom: 40px;
}

.theme-picker-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 14px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--site-elev);
  border: 1px solid var(--site-border);
  border-radius: 8px;
  color: var(--site-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-chip:hover {
  background: #252c38;
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-chip.active {
  border-color: var(--site-accent);
  background: rgba(209, 72, 58, 0.14);
  color: #fff;
  box-shadow: 0 0 12px rgba(209, 72, 58, 0.25);
}

.chip-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================= Features Grid ================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 18px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--site-border);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--site-text-dim);
  line-height: 1.6;
}

/* ================= Security Card ================= */

.security-card {
  background: linear-gradient(145deg, #161b22 0%, #0d1117 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.security-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.security-text {
  font-size: 15px;
  color: var(--site-text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}

.security-text code {
  color: #7dd3fc;
}

.security-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.sec-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #e2e8f0;
}

.code-box {
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a5d6ff;
  line-height: 1.5;
  overflow-x: auto;
}

.code-title {
  font-size: 11px;
  font-weight: 600;
  color: #7ee787;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================= Shortcuts ================= */

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.shortcut-item {
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shortcut-keys {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.shortcut-keys kbd {
  background: var(--site-elev);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 5px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.shortcut-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--site-text);
}

.shortcut-sub {
  font-size: 12px;
  color: var(--site-text-dim);
}

/* ================= CTA Banner ================= */

.cta-banner-section {
  padding-bottom: 80px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(209, 72, 58, 0.25) 0%, rgba(20, 23, 29, 0.8) 100%);
  border: 1px solid rgba(209, 72, 58, 0.4);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 16px;
  color: var(--site-text-dim);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ================= Footer ================= */

.site-footer {
  border-top: 1px solid var(--site-border);
  padding: 60px 0 40px;
  background: #080a0c;
  font-size: 14px;
  color: var(--site-text-dim);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--site-text);
  margin-bottom: 8px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-tagline {
  font-size: 13.5px;
  max-width: 280px;
}

.footer-right {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--site-text);
  text-transform: uppercase;
}

.footer-col a {
  text-decoration: none;
  color: var(--site-text-dim);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
}

/* ================= Responsive ================= */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .app-body { grid-template-columns: 140px 1fr; }
  .app-sidebar { display: none; }
  .security-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-right { gap: 32px; }
}

@media (max-width: 640px) {
  .app-body { grid-template-columns: 1fr; height: auto; min-height: 440px; }
  .app-notelist { display: none; }
  .editor-content-scroll { padding: 18px; }
  .cta-banner { padding: 40px 20px; }
  .footer-content { flex-direction: column; }
}
