/* ═══════════════════════════════════════════════════════════════
   TOOLSY DESIGN SYSTEM
   Calm · refined · single-accent · intentional
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #FBFBF9;
  --surface:   #FFFFFF;
  --surface-2: #F5F4F0;
  --surface-3: #EDECE6;

  --border:    #E8E6DF;
  --border-2:  #D4D1C7;

  --text:      #18181B;
  --text-2:    #52525B;
  --text-3:    #A1A1AA;

  --accent:     #2D4ADE;
  --accent-h:   #1E3BC6;
  --accent-lg:  #EEF1FE;
  --accent-fg:  #FFFFFF;

  --ok:    #047857; --ok-bg:  #ECFDF5;
  --warn:  #B45309; --warn-bg:#FFFBEB;
  --err:   #B91C1C; --err-bg: #FEF2F2;

  --green:  var(--ok);    --green-bg:  var(--ok-bg);
  --red:    var(--err);   --red-bg:    var(--err-bg);
  --amber:  var(--warn);  --amber-bg:  var(--warn-bg);
  --purple: #7C3AED;      --purple-bg: #F5F3FF;
  --cyan:   #0891B2;      --cyan-bg:   #ECFEFF;
  --accent-2:  var(--accent);
  --accent-2h: var(--accent-h);

  --nav-h:     56px;
  --content-w: 1120px;

  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);

  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --shadow-xs: 0 1px 2px rgba(15,15,15,.04);
  --shadow-sm: 0 1px 2px rgba(15,15,15,.04), 0 1px 1px rgba(15,15,15,.03);
  --shadow-md: 0 4px 12px rgba(15,15,15,.06), 0 2px 4px rgba(15,15,15,.03);
  --shadow-lg: 0 16px 40px rgba(15,15,15,.08), 0 4px 8px rgba(15,15,15,.04);

  --transition: .15s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg:        #0E0E10;
  --surface:   #18181B;
  --surface-2: #1F1F23;
  --surface-3: #28282E;
  --border:    #28282E;
  --border-2:  #3A3A42;
  --text:      #F4F4F5;
  --text-2:    #A1A1AA;
  --text-3:    #71717A;
  --accent:    #5775FF;
  --accent-h:  #4865F0;
  --accent-lg: #1A1F45;

  --ok-bg:  #052E16;
  --warn-bg:#1C0D00;
  --err-bg: #2D0A0A;
  --purple-bg: #1E0A4E;
  --cyan-bg:   #042330;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 1px 1px rgba(0,0,0,.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.2);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.5), 0 4px 8px rgba(0,0,0,.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-feature-settings: "cv11", "ss03";
  background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 15px;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-h); }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-lg); color: var(--accent); }
img, svg { display: block; max-width: 100%; }
.i { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 1000;
  background: var(--accent); color: var(--accent-fg);
  padding: 8px 14px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; font-size: 13px; transition: top .15s;
}
.skip-link:focus { top: 0; color: var(--accent-fg); text-decoration: none; }

/* Navigation */
.nav {
  height: var(--nav-h);
  background: rgba(251, 251, 249, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  padding: 0 22px; gap: 18px;
}
[data-theme="dark"] .nav { background: rgba(14, 14, 16, .85); }

.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 16px; letter-spacing: -.01em; }
.nav-logo:hover { color: var(--text); }
.nav-logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--text); color: var(--bg);
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; letter-spacing: -.02em;
}

.nav-search-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px; flex: 1; max-width: 360px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-3); border-radius: var(--r-md);
  font-size: 13px; transition: all var(--transition);
}
.nav-search-btn:hover { background: var(--surface); border-color: var(--border-2); color: var(--text-2); }
.nav-search-btn .i { color: var(--text-3); }
.nav-search-text { flex: 1; text-align: left; }
.nav-search-hint { font-size: 11px; color: var(--text-3); }
.nav-search-hint kbd { font-family: var(--font-mono); padding: 1px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }

.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px; font-size: 13.5px; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-md);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--transition);
}
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.is-active { color: var(--accent); }
.nav-icon-btn {
  width: 34px; height: 34px; border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--text-2);
  transition: all var(--transition);
}
.nav-icon-btn:hover { background: var(--surface-2); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; font-size: 13px; font-weight: 500;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: var(--border-2); }
.btn:active { transform: translateY(.5px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn .i { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-success { background: var(--ok); color: white; border-color: var(--ok); }
.btn-success:hover { filter: brightness(0.95); }
.btn-danger { background: transparent; color: var(--err); border-color: var(--border); }
.btn-danger:hover { background: var(--err-bg); border-color: var(--err); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { padding: 4px 9px; font-size: 12px; gap: 4px; }
.btn-sm .i { width: 13px; height: 13px; }
.btn-lg { padding: 10px 18px; font-size: 14px; gap: 8px; }
.btn-icon { padding: 7px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.toolbar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; flex-wrap: wrap;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.toolbar-sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-2); margin-bottom: 6px; letter-spacing: -.005em;
}
.form-input {
  width: 100%; padding: 8px 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: 13.5px; line-height: 1.5;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.form-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lg);
}
.form-input.is-error { border-color: var(--err); background: var(--err-bg); }
.form-textarea { resize: vertical; min-height: 96px; line-height: 1.65; }
.form-mono     { font-family: var(--font-mono); font-size: 12.5px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 14px;
  padding-right: 30px;
}
.form-hint { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-3); }
.input-copy-row { display: flex; gap: 6px; align-items: stretch; }
.input-copy-row .form-input { flex: 1; }

/* Panes */
.split-pane {
  display: grid; grid-template-columns: 1fr 1fr;
  height: calc(100vh - var(--nav-h) - 56px);
  min-height: 420px;
}
.split-pane-left, .split-pane-right { display: flex; flex-direction: column; overflow: hidden; }
.split-pane-left { border-right: 1px solid var(--border); }
.pane-label {
  padding: 8px 14px; font-size: 11px; font-weight: 600;
  color: var(--text-3); letter-spacing: .02em; text-transform: uppercase;
  background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.pane-body { flex: 1; overflow: auto; display: flex; }
.pane-textarea {
  flex: 1; width: 100%; padding: 14px 16px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  background: var(--surface); color: var(--text);
  border: none; outline: none; resize: none;
}
.pane-footer {
  padding: 6px 14px; font-size: 11px; color: var(--text-3);
  background: var(--surface-2); border-top: 1px solid var(--border); flex-shrink: 0;
}

/* Homepage */
.section { max-width: var(--content-w); margin: 0 auto; padding: 56px 22px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 20px; flex-wrap: wrap; }
.section-eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.section-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.section-link:hover { color: var(--accent); }

.hero { max-width: var(--content-w); margin: 0 auto; padding: 88px 22px 56px; text-align: left; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700; line-height: 1.05; letter-spacing: -.035em;
  max-width: 780px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 17px; color: var(--text-2); max-width: 540px; line-height: 1.6; margin-bottom: 32px; }
.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 4px 4px 4px 18px;
  max-width: 540px; box-shadow: var(--shadow-sm);
}
.hero-search .i { color: var(--text-3); }
.hero-search input { flex: 1; border: none; outline: none; background: none; font-size: 14.5px; padding: 10px 0; color: var(--text); }
.hero-search input::placeholder { color: var(--text-3); }
.hero-search button { padding: 10px 18px; }

/* Tool grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tool-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; background: var(--surface);
  transition: background var(--transition);
}
.tool-card:hover { background: var(--surface-2); }
.tool-card-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-lg); color: var(--accent);
  margin-bottom: 8px;
}
.tool-card-icon .i { width: 16px; height: 16px; }
.tool-card-name { font-size: 14.5px; font-weight: 600; color: var(--text); letter-spacing: -.005em; }
.tool-card-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.tool-card-badge {
  position: absolute; top: 18px; right: 20px;
  font-size: 10px; font-weight: 600;
  background: var(--accent-lg); color: var(--accent);
  padding: 2px 7px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Categories */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all var(--transition);
}
.cat-card:hover { border-color: var(--border-2); }
.cat-card-icon {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text-2);
  display: grid; place-items: center; margin-bottom: 8px;
}
.cat-card-icon .i { width: 16px; height: 16px; }
.cat-card h3 { font-size: 14px; font-weight: 600; color: var(--text); }
.cat-card p { font-size: 12.5px; color: var(--text-3); line-height: 1.5; flex: 1; }
.cat-card-count { font-size: 11px; font-weight: 500; color: var(--accent); margin-top: 6px; }

/* Tool page header */
.tool-top-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 22px; }
.tool-breadcrumb { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }
.tool-breadcrumb a { color: var(--text-3); }
.tool-breadcrumb a:hover { color: var(--accent); }
.tool-breadcrumb [aria-current] { color: var(--text); font-weight: 500; }
.tool-title-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.tool-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.tool-title .tool-icon-wrap {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--accent-lg); color: var(--accent);
  display: grid; place-items: center;
}
.tool-title .tool-icon-wrap .i { width: 16px; height: 16px; }
.tool-subtitle { font-size: 13.5px; color: var(--text-2); margin-top: 4px; max-width: 700px; line-height: 1.55; }
.tool-cat-badge {
  font-size: 11px; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 100px;
}

/* SEO content */
.seo-section { max-width: 720px; margin: 0 auto; padding: 56px 22px; }
.seo-section h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; color: var(--text); }
.use-case-list { list-style: none; padding: 0; margin-bottom: 24px; }
.use-case-list li { padding: 8px 0; color: var(--text-2); font-size: 14px; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.use-case-list li::before { content: "—"; color: var(--text-3); flex-shrink: 0; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.faq-a { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 15, 15, .55);
  backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 80px;
}
.search-overlay.is-open { display: flex; }
.search-box {
  width: 100%; max-width: 560px;
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; flex-direction: column; max-height: 65vh; overflow: hidden;
}
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.search-input-row .i { color: var(--text-3); }
.search-input-row input { flex: 1; border: none; outline: none; background: none; font-size: 15px; color: var(--text); }
.search-close { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-3); }
.search-close:hover { background: var(--surface-2); color: var(--text); }
.search-results { overflow-y: auto; padding: 6px; flex: 1; }
.search-section-label { font-size: 10.5px; font-weight: 600; color: var(--text-3); padding: 8px 12px 4px; text-transform: uppercase; letter-spacing: .04em; }
.search-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text); transition: background .12s;
}
.search-result:hover, .search-result.is-active { background: var(--surface-2); }
.search-result-icon { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--accent-lg); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.search-result-icon .i { width: 14px; height: 14px; }
.search-result-name { font-size: 14px; font-weight: 500; }
.search-result-cat { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.search-empty { padding: 32px 18px; text-align: center; color: var(--text-3); font-size: 13px; }
.search-footer { padding: 8px 14px; border-top: 1px solid var(--border); background: var(--surface-2); display: flex; gap: 14px; font-size: 11px; color: var(--text-3); }
.search-footer kbd { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-family: var(--font-mono); font-size: 10px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(15, 15, 15, .55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  width: 100%; max-width: 480px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; max-height: 88vh; overflow: hidden;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 16px; font-weight: 600; }
.modal-close { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-3); }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-body { padding: 18px 20px; overflow-y: auto; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px);
  background: var(--text); color: var(--bg);
  padding: 9px 16px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  z-index: 200; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: auto; }
.footer-cta { background: var(--accent); padding: 36px 22px; text-align: center; color: var(--accent-fg); }
.footer-cta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.02em; }
.footer-cta p { opacity: .85; font-size: 14px; margin-bottom: 18px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.footer-cta-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-coffee { background: white; color: #1A1916; border-radius: var(--r-md); padding: 9px 18px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.btn-coffee:hover { color: #1A1916; background: #F4F1E5; }
.btn-crypto { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: white; border-radius: var(--r-md); padding: 9px 18px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.btn-crypto:hover { background: rgba(255,255,255,.2); }

.footer-main { max-width: var(--content-w); margin: 0 auto; padding: 36px 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.footer-col a:hover { color: var(--text); }
.footer-tagline { font-size: 13px; color: var(--text-2); line-height: 1.7; max-width: 280px; margin-top: 10px; }
.footer-bottom { max-width: var(--content-w); margin: 0 auto; padding: 16px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-3); flex-wrap: wrap; gap: 8px; }

/* Crypto modal contents */
.modal-intro { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.crypto-list { display: flex; flex-direction: column; gap: 10px; }
.crypto-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; }
.crypto-label { font-size: 11px; font-weight: 600; margin-bottom: 6px; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.crypto-row { display: flex; gap: 8px; align-items: center; }
.crypto-addr { flex: 1; font-family: var(--font-mono); font-size: 11px; word-break: break-all; color: var(--text); line-height: 1.5; }

/* Password generator */
.pw-display {
  display: flex; gap: 12px; align-items: stretch;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 16px;
}
.pw-value {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  color: var(--text); background: var(--surface-2); border-radius: var(--r-md);
  padding: 14px 16px; line-height: 1.5;
  word-break: break-all; user-select: all;
}
.strength-bar { height: 6px; background: var(--surface-2); border-radius: 100px; overflow: hidden; margin-bottom: 6px; }
.strength-fill { height: 100%; transition: all .3s; border-radius: 100px; }
.strength-label { font-size: 12px; color: var(--text-3); margin-bottom: 18px; }
.pw-options { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 6px 16px; margin-bottom: 14px; }
.range-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.range-row label { min-width: 70px; font-weight: 500; color: var(--text-2); font-size: 13.5px; }
.range-row input[type=range] { flex: 1; accent-color: var(--accent); }
.range-val { font-family: var(--font-mono); font-weight: 500; min-width: 30px; text-align: right; color: var(--accent); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); }
.toggle-row:last-child { border-bottom: none; }
.toggle-label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.toggle { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--border-2); border-radius: 100px; transition: var(--transition); }
.toggle-slider::before { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; bottom: 2px; background: white; border-radius: 50%; transition: var(--transition); box-shadow: var(--shadow-xs); }
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(16px); }

/* Hash table */
.hash-table { width: 100%; border-collapse: collapse; }
.hash-table th { padding: 10px 14px; font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; text-align: left; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.hash-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 13px; }
.hash-table tr:last-child td { border-bottom: none; }
.hash-copy { width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-3); }
.hash-copy:hover { background: var(--surface-2); color: var(--text); }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 0 14px; gap: 10px; }
  .nav-search-btn { display: none; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 56px 18px 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15px; }
  .hero-search { flex-direction: column; padding: 8px; }
  .hero-search input { width: 100%; padding: 10px 14px; }
  .hero-search button { width: 100%; padding: 11px; }
  .section { padding: 40px 18px; }
  .split-pane, .crypto-wrap { grid-template-columns: 1fr; height: auto; }
  .split-pane-left { height: 320px; border-right: none; border-bottom: 1px solid var(--border); }
  .split-pane-right { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-cta { padding: 28px 18px; }
  .footer-cta h3 { font-size: 19px; }
  .toolbar { padding: 8px 12px; gap: 4px; }
  .toolbar .btn { padding: 5px 10px; font-size: 12px; }
  .toolbar-sep { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pw-display { flex-direction: column; }
  .pw-value { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* Tool-specific */
.li-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ts-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) {
  .li-form-grid, .ts-refs-grid { grid-template-columns: 1fr; }
  .pane-textarea { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   RETENTION PANEL — recent + favorites
   ═══════════════════════════════════════════════════════════════ */
.retention-panel { padding: 36px 22px; }
.retention-block + .retention-block { margin-top: 28px; }
.retention-header { margin-bottom: 14px; }
.retention-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.retention-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px; color: var(--text);
  transition: all .15s;
}
.retention-pill:hover { border-color: var(--accent); background: var(--accent-lg); color: var(--accent); }
.retention-pill-star { color: #FFB300; font-size: 13px; }

/* Favorite button on tool pages */
.fav-btn {
  margin-left: 8px;
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-sm);
  font-size: 18px;
  color: var(--text-3); background: transparent;
  transition: all .15s; line-height: 1;
}
.fav-btn:hover { background: var(--surface-2); color: #FFB300; }
.fav-btn.is-fav { color: #FFB300; }

/* Ad slot — neutral container */
.ad-slot { display: block; }
.ad-slot-sticky-mobile { display: none; }
@media (max-width: 768px) {
  .ad-slot-sidebar { display: none; }
  .ad-slot-sticky-mobile { display: block; }
}

/* Theme button — show one icon based on data-theme-mode on <html> */
/* Theme switcher — 3 explicit buttons (light / dark / system) */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin: 0 4px;
}
.theme-pick {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: var(--text-3);
  border-radius: 100px;
  cursor: pointer;
  transition: color .15s, background .15s;
  padding: 0;
}
.theme-pick:hover { color: var(--text); }
.theme-pick.is-active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.theme-pick svg { display: block; }
@media (max-width: 640px) {
  .theme-switcher { margin: 0; padding: 1px; }
  .theme-pick { width: 26px; height: 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   AD SLOTS — neutral containers, mandatory "Ad" label
   ═══════════════════════════════════════════════════════════════ */
.ad-slot {
  position: relative;
  display: block;
  width: 100%;
  margin: 18px auto;
  max-width: 100%;
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  padding: 24px 14px 14px;
  overflow: hidden;
  text-align: center;
}
.ad-slot .ad-label {
  position: absolute; top: 6px; left: 10px;
  font-size: 10px; font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase; letter-spacing: .08em;
}
.ad-slot ins.adsbygoogle { background: transparent; }

.ad-slot-top { max-width: 970px; margin: 14px auto 24px; }
.ad-slot-incontent { max-width: 720px; margin: 32px auto; }
.ad-slot-footer { max-width: 970px; margin: 32px auto 8px; }

/* Sidebar — desktop only, sticky */
.ad-slot-sidebar {
  position: sticky; top: 80px;
  width: 300px; min-height: 600px;
  margin: 0; padding-top: 24px;
}

/* Sticky mobile — only shows on small screens */
.ad-slot-sticky {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  margin: 0; border-radius: 0;
  border: none; border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 4px 0 8px;
  min-height: 60px !important;
  box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}
.ad-slot-sticky .ad-label { top: 2px; left: 8px; }
@media (max-width: 768px) {
  .ad-slot-sticky { display: block; }
  /* Avoid sticky ad covering footer content */
  body { padding-bottom: 70px; }
  .ad-slot-sidebar { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   DESIGN UPLIFT — refined tokens, polished components
   This block is APPENDED so it cascades over earlier defaults.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Richer accent system with paired second hue for gradients */
  --accent:        #4F46E5;          /* deeper indigo (was #2D4ADE) */
  --accent-h:      #4338CA;
  --accent-2:      #7C3AED;          /* violet for gradient counterpoint */
  --accent-lg:     #EEF0FF;
  --accent-soft:   #F5F4FF;
  --accent-glow:   rgba(79, 70, 229, .15);

  /* Multi-layer shadows (more sophisticated depth) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, .12), 0 4px 8px -4px rgba(15, 23, 42, .06);
  --shadow-glow: 0 0 0 6px var(--accent-glow);

  /* Nav glass effect */
  --nav-bg:        rgba(251, 251, 249, .82);
  --nav-border:    rgba(232, 230, 223, .8);

  /* Page-level subtle texture (dot-grid for hero) */
  --dot-color: rgba(15, 23, 42, .045);
}
html[data-theme="dark"] {
  --accent:        #818CF8;
  --accent-h:      #6366F1;
  --accent-2:      #A78BFA;
  --accent-lg:     rgba(129, 140, 248, .12);
  --accent-soft:   rgba(129, 140, 248, .06);
  --accent-glow:   rgba(129, 140, 248, .22);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px rgba(0, 0, 0, .25);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, .35), 0 2px 4px -2px rgba(0, 0, 0, .25);
  --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, .45), 0 4px 8px -4px rgba(0, 0, 0, .3);
  --nav-bg:        rgba(14, 14, 16, .78);
  --nav-border:    rgba(40, 40, 46, .8);
  --dot-color: rgba(255, 255, 255, .04);
}

/* ─── NAV — glass blur + refined logo ─────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-logo {
  font-weight: 700; font-size: 16px; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 9px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  border-radius: 8px;
  font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 12px -3px var(--accent-glow);
  letter-spacing: 0;
}

/* ─── HERO — the punch ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 22px 64px;
  max-width: var(--content-w);
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
}
/* Subtle dot grid backdrop */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok, #10B981);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #10B981) 25%, transparent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #10B981) 25%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok, #10B981) 8%, transparent); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 78px);
  font-weight: 800;
  line-height: 1.02; letter-spacing: -.04em;
  max-width: 880px;
  margin-bottom: 22px;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 6px 6px 20px;
  max-width: 600px;
  box-shadow: var(--shadow-md);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.hero-search:focus-within {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-1px);
}
.hero-search input {
  flex: 1; border: none; outline: none; background: none;
  font-size: 15.5px; padding: 12px 0; color: var(--text);
}
.hero-search input::placeholder { color: var(--text-3); }
.hero-search button {
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-h) 100%);
  border: none; color: white;
  box-shadow: 0 4px 12px -3px var(--accent-glow);
}
.hero-search button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -3px var(--accent-glow); }
.hero-search .i { color: var(--text-3); }
.hero-search .nav-search-hint {
  display: none; align-items: center; gap: 4px;
  font-size: 11.5px; color: var(--text-3);
  padding-right: 8px;
}
@media (min-width: 720px) { .hero-search .nav-search-hint { display: inline-flex; } }
.hero-search .nav-search-hint kbd {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 6px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 4px;
}

/* Hero trust strip — stats / proof */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 26px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-2);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ─── SECTION typography refinement ──────────────────────────── */
.section { padding: 72px 22px; }
.section-header { margin-bottom: 36px; }
.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
}
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  transition: all .15s;
}
.section-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-lg); }

/* ─── TOOL CARDS — sophisticated hover state ──────────────────── */
.tools-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.tool-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform .18s ease, border-color .18s, box-shadow .18s, background .18s;
  overflow: hidden;
  isolation: isolate;
}
/* Animated gradient sheen accent — appears on hover */
.tool-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  z-index: -1;
}
.tool-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.tool-card:hover::before { opacity: 1; }
.tool-card:hover::after  { transform: scaleX(1); }
.tool-card:hover .tool-card-icon { transform: scale(1.08) rotate(-3deg); }
.tool-card:hover .tool-card-name { color: var(--accent); }

.tool-card-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-lg) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.tool-card-icon .i { width: 18px; height: 18px; }
.tool-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
  margin-bottom: 4px;
  transition: color .18s;
}
.tool-card-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.tool-card-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 9.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 3px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 2px 6px -2px var(--accent-glow);
}

/* ─── CATEGORY CARDS — vivid hover with category accent ──────── */
.cats-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.cat-card {
  position: relative;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-lg);
}
.cat-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-lg) 0%, var(--accent-soft) 100%);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
  transition: transform .2s;
}
.cat-card:hover .cat-card-icon { transform: scale(1.08); }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.cat-card p {
  font-size: 13px; color: var(--text-3);
  line-height: 1.55;
  margin-bottom: 14px;
}
.cat-card-count {
  font-size: 12.5px; font-weight: 600;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ─── FEATURE/PRINCIPLE GRID — refined ───────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.feature-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-lg), var(--accent-soft));
  color: var(--accent);
  border-radius: 10px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700; letter-spacing: -.015em;
  margin-bottom: 6px;
  color: var(--text);
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ─── FOOTER — refined CTA card ──────────────────────────────── */
.footer-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 48px 32px;
  border-radius: 18px;
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.15), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.footer-cta > * { position: relative; }
.footer-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 10px;
  color: white;
}
.footer-cta p {
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
  font-size: 15px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.footer-cta .btn-coffee,
.footer-cta .btn-crypto {
  background: white;
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer;
  font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.footer-cta .btn-coffee:hover,
.footer-cta .btn-crypto:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.25);
}

/* ─── ENTRY ANIMATIONS — first-load polish ───────────────────── */
@keyframes lift-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: lift-in .6s cubic-bezier(.2,.8,.2,1) backwards; }
  .hero-eyebrow { animation-delay: .05s; }
  .hero h1      { animation-delay: .12s; }
  .hero p       { animation-delay: .22s; }
  .hero-search  { animation-delay: .32s; }
  .hero-stats   { animation-delay: .42s; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 64px 18px 40px; }
  .hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .hero p { font-size: 16px; }
  .hero-search { border-radius: 12px; }
  .hero-search input { font-size: 15px; }
  .hero-stats { gap: 18px; padding-top: 22px; margin-top: 26px; }
  .hero-stat-num { font-size: 18px; }
  .section { padding: 48px 18px; }
  .tools-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-cta { padding: 36px 22px; margin: 0 16px 32px; border-radius: 14px; }
}
