/* ============================================================
   RizzoDev Global Stylesheet
   Aesthetic: inside of an 80s computer / command line / dark mode
   See DESIGN_CONVENTIONS.md for the full system.
   ============================================================ */

/* ----------------------------------------------------------------
   0. Self hosted font (JetBrains Mono, latin). No third party requests.
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-600.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-700.woff2') format('woff2');
}

/* ----------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------- */
:root {
  /* Core surfaces */
  --black:      #010101;   /* page background */
  --panel:      #0A0D0A;   /* raised surfaces / cards */
  --panel-2:    #0E120E;   /* nested surfaces / inputs */
  --line:       #16321C;   /* dim hairline borders */
  --line-soft:  rgba(31, 199, 66, 0.14);

  /* Brand green system */
  --lime:        #1FC742;  /* primary brand / links / accents */
  --lime-bright: #45F06A;  /* hover / highlights / glow */
  --lime-dim:    #128A2E;  /* pressed / muted brand */

  /* Text */
  --text:      #CDEBD3;    /* primary body (soft green-white, readable) */
  --text-dim:  #6E8A73;    /* secondary / captions / muted */
  --icon-grey: #A0A8A3;    /* toolkit icons, neutral grey */
  --heading:   #F2FFF4;    /* brightest, large headings */

  /* Accent: classic amber CRT, used sparingly for primary CTAs */
  --amber:        #FFB000;
  --amber-bright: #FFC740;

  /* Status */
  --danger: #FF5C57;

  /* Type */
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Menlo',
               'Consolas', 'Liberation Mono', monospace;

  /* Scale */
  --maxw: 1100px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 7rem;

  /* Effects */
  --glow: 0 0 12px rgba(31, 199, 66, 0.35);
  --glow-amber: 0 0 14px rgba(255, 176, 0, 0.35);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.9);
}

/* ----------------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Faint scanline + vignette texture, evoking a CRT */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0.16) 3px,
      rgba(0, 0, 0, 0) 4px
    ),
    radial-gradient(120% 120% at 50% 0%, rgba(31, 199, 66, 0.05), transparent 60%);
}

img { max-width: 100%; display: block; }

a {
  color: var(--lime);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--lime-bright); }

::selection {
  background: var(--lime);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--lime-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----------------------------------------------------------------
   3. Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { color: var(--text); }
p + p { margin-top: var(--s-4); }

strong { color: var(--heading); font-weight: 700; }

code, .mono { font-family: var(--font-mono); }

.text-dim { color: var(--text-dim); }
.text-lime { color: var(--lime); }
.text-amber { color: var(--amber); }

/* Eyebrow: prompt-style section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "›";
  color: var(--lime-dim);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   4. Layout
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--s-5);
  position: relative;
  z-index: 2;
}

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-7); }

.section-head { max-width: 60ch; margin-bottom: var(--s-7); }
.section-head p { color: var(--text-dim); margin-top: var(--s-4); }

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   5. Header / navigation
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 1, 1, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--heading); }
.brand .brand__prompt { color: var(--lime); }
.brand .brand__caret {
  width: 0.55em;
  height: 1.05em;
  margin-left: 0.15em;
  background: var(--lime);
  display: inline-block;
  transform: translateY(0.12em);
  animation: blink 1.1s step-end infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-block: 0.25rem;
}
.nav-links a::before { content: ""; }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--lime); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--lime);
  box-shadow: var(--glow);
}
/* The contact CTA is a filled button; don't add the active underline to it
   (it sat right on the button's bottom edge and looked off). */
.nav-links a.btn.is-active::after { display: none; }

/* CTA buttons inside the nav keep their own readable text color,
   not the dim nav-link color (which would otherwise win on specificity). */
.nav-links a.btn,
.nav-links a.btn:hover { color: var(--black); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #1a1200; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--lime);
  width: 42px; height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  /* Drop the header hairline on mobile; under the sparse hamburger bar it read
     as a stray green line. The translucent blurred header still separates content. */
  .site-header { border-bottom-color: transparent; }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: var(--s-2) var(--s-5) var(--s-5);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
  /* In the stacked mobile menu, drop the active underline (it overlapped the link
     below it); the active link is already shown in lime via .is-active. */
  .nav-links a.is-active::after { display: none; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links .nav-cta { margin-top: var(--s-3); }
}

/* ----------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease,
              background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: #1a1200;
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-bright);
  color: #1a1200;
  box-shadow: var(--glow-amber);
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.btn-lime:hover { background: var(--lime-bright); color: var(--black); box-shadow: var(--glow); }

.btn-ghost {
  background: transparent;
  color: var(--lime);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime-bright); box-shadow: var(--glow); }

.btn-block { width: 100%; justify-content: center; }

.nav-cta { padding: 0.5rem 1rem; }

/* ----------------------------------------------------------------
   7. Terminal window component
   ---------------------------------------------------------------- */
.terminal {
  background: linear-gradient(180deg, var(--panel) 0%, #070a07 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.6rem var(--s-4);
  background: #0c100c;
  border-bottom: 1px solid var(--line);
}
.terminal__dots { display: inline-flex; gap: 0.4rem; }
.terminal__dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #243024;
  display: inline-block;
}
.terminal__dots span:nth-child(1) { background: #3a1f1f; }
.terminal__dots span:nth-child(2) { background: #3a331f; }
.terminal__dots span:nth-child(3) { background: #1f3a26; }
.terminal__title {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.terminal__body {
  padding: var(--s-5);
  font-size: 0.95rem;
  line-height: 1.85;
}
@media (max-width: 560px) { .terminal__body { font-size: 0.85rem; } }

.line { display: block; white-space: pre-wrap; word-break: break-word; }
.line .prompt { color: var(--lime); }
.line .prompt .path { color: var(--text-dim); }
.line .cmd { color: var(--heading); }
.line .flag { color: var(--amber); }
.line .out { color: var(--text-dim); }
.line .ok { color: var(--lime); }

/* Blinking caret */
.caret {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background: var(--lime);
  transform: translateY(0.18em);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* ----------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: var(--s-8) var(--s-9);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

.hero h1 { margin-bottom: var(--s-5); }
.hero h1 .accent { color: var(--lime); text-shadow: var(--glow); }
.hero__lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: var(--s-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ----------------------------------------------------------------
   9. Cards
   ---------------------------------------------------------------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: var(--line-soft);
  border-color: rgba(31, 199, 66, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card__index {
  font-size: 0.8rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
}

/* Service card list */
.service-list { list-style: none; padding: 0; margin-top: var(--s-4); }
.service-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: var(--s-2);
}
.service-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--lime);
}

/* ----------------------------------------------------------------
   10. Work / portfolio
   ---------------------------------------------------------------- */
.work-card { display: flex; flex-direction: column; }
.work-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: var(--s-4);
}
.work-card__meta {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.chip {
  font-size: 0.74rem;
  color: var(--text-dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.15rem 0.55rem;
}

/* ----------------------------------------------------------------
   11. Stats / metrics
   ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat { border-left: 2px solid var(--lime); padding-left: var(--s-4); }
.stat__num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--heading);
  font-weight: 700;
}
.stat__label { color: var(--text-dim); font-size: 0.88rem; }

/* ----------------------------------------------------------------
   12. Process / steps
   ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.step__num {
  font-size: 0.85rem;
  color: var(--lime);
  border: 1px solid var(--lime-dim);
  border-radius: var(--radius);
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ----------------------------------------------------------------
   13. Testimonial
   ---------------------------------------------------------------- */
.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: var(--s-7) var(--s-6);
  position: relative;
}
.testimonial__quote { margin: 0; }
.testimonial__quote p {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--heading);
  line-height: 1.5;
  font-style: italic;
}
.testimonial__quote p + p { margin-top: var(--s-5); }
.testimonial__quote p:first-of-type::before { content: "\201C"; color: var(--lime); }
.testimonial__quote p:last-of-type::after  { content: "\201D"; color: var(--lime); }
.testimonial__by {
  margin-top: var(--s-5);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.testimonial__by .name { color: var(--lime); }

/* ----------------------------------------------------------------
   14. CTA band
   ---------------------------------------------------------------- */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(31, 199, 66, 0.08), transparent 70%),
    var(--panel);
  padding: var(--s-8) var(--s-6);
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--s-4); }
.cta-band p { color: var(--text-dim); max-width: 50ch; margin-inline: auto; margin-bottom: var(--s-6); }
.cta-band .hero__actions { justify-content: center; }

/* ----------------------------------------------------------------
   15. Forms (contact)
   ---------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label {
  font-size: 0.85rem;
  color: var(--lime);
  letter-spacing: 0.03em;
}
.field label .req { color: var(--amber); }
.field input,
.field textarea {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #3f5544; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: var(--glow);
}
.field textarea { resize: vertical; min-height: 140px; }

.form__note { font-size: 0.82rem; color: var(--text-dim); }
.form__status { font-size: 0.9rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--lime); }
.form__status.is-error { color: var(--danger); }

/* Contact method tiles */
.contact-methods { display: grid; gap: var(--s-4); }
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s ease;
}
.contact-method:hover { border-color: rgba(31, 199, 66, 0.4); }
.contact-method__icon {
  font-size: 1.1rem;
  color: var(--lime);
  width: 1.5rem;
  text-align: center;
}
.contact-method__body { display: grid; }
.contact-method__label { font-size: 0.78rem; color: var(--text-dim); }
.contact-method__value { color: var(--text); }

/* ----------------------------------------------------------------
   16. Footer
   ---------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-7) var(--s-6);
  margin-top: var(--s-8);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-5);
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); list-style: none; padding: 0; }
.footer-links a { color: var(--text-dim); font-size: 0.88rem; }
.footer-links a:hover { color: var(--lime); }
.footer__copy { color: var(--text-dim); font-size: 0.82rem; }
.footer__copy .prompt { color: var(--lime); }

/* ----------------------------------------------------------------
   17. Reveal-on-scroll animation
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------------
   18. Utilities
   ---------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------
   19. Reduced motion
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body::before { background: radial-gradient(120% 120% at 50% 0%, rgba(31,199,66,0.05), transparent 60%); }
}

/* ----------------------------------------------------------------
   20. Card heading with leading icon (why-work-with-me cards)
   ---------------------------------------------------------------- */
.card__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.card__head h3 { margin-bottom: 0; }
.card__icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--lime);
}

/* ----------------------------------------------------------------
   21. Work card "read more" link
   ---------------------------------------------------------------- */
.work-card__more { margin-top: var(--s-4); }
.work-card__more a { font-size: 0.85rem; }

/* ----------------------------------------------------------------
   22. Toolkit (categorized tool list with icons)
   ---------------------------------------------------------------- */
.toolkit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6) var(--s-7);
}
@media (max-width: 760px) { .toolkit { grid-template-columns: 1fr; } }

.toolkit__cat-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.toolkit__cat-title::before { content: "\203A"; color: var(--lime-dim); }

.toolkit__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.tool:hover { border-color: rgba(31, 199, 66, 0.4); transform: translateY(-1px); }
.tool__icon { width: 20px; height: 20px; display: block; flex: none; color: var(--icon-grey); }
.tool__label { color: var(--text); font-size: 0.82rem; letter-spacing: 0.01em; }
