/* ══════════════════════════════════════════════════════════
   editvideo.tools — design system "EV-V1 · MINT SIGNAL"
   Cinematic near-black + acid-lime signal accent.
   New token set, new class prefix (ev-). Not derived from
   any previous site template.
   ══════════════════════════════════════════════════════════ */

:root {
  --bg: #0A0B0D;
  --bg2: #0E1013;
  --panel: #12151A;
  --card: #13161B;
  --card-hover: #171B21;
  --line: rgba(242, 244, 238, 0.08);
  --line-strong: rgba(242, 244, 238, 0.16);
  --ink: #F2F4EE;
  --muted: #9AA1A8;
  --dim: #666C73;
  --lime: #62E8B4;
  --lime-ink: #0A0B0D;
  --lime-soft: rgba(98, 232, 180, 0.13);
  --lime-glow: rgba(98, 232, 180, 0.22);
  --violet: #8B7CFF;
  --violet-soft: rgba(139, 124, 255, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "Inter", -apple-system, "SF Pro Display", "Segoe UI", Roboto,
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono",
    Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--lime-ink); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.ev-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── film grain ────────────────────────────────────── */
.ev-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ── type ──────────────────────────────────────────── */
.ev-h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.04;
  text-wrap: balance;
}

.ev-h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.ev-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.ev-ink-lime {
  color: var(--lime);
  text-shadow: 0 0 42px rgba(98, 232, 180, 0.28);
}

.ev-lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
  text-wrap: pretty;
}

.ev-sec-sub { margin-top: 14px; color: var(--muted); max-width: 46em; }

/* ── nav ───────────────────────────────────────────── */
.ev-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.ev-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }

.ev-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.ev-logo-mark {
  width: 9px; height: 9px;
  border-radius: 2.5px;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime-glow);
}

.ev-logo-dot { color: var(--lime); }

.ev-nav-links { display: flex; gap: 26px; margin-left: 14px; }
.ev-nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.ev-nav-links a:hover { color: var(--ink); }

.ev-nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.ev-lang {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 7px 13px;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  opacity: 0.85;
}

/* ── buttons ───────────────────────────────────────── */
.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.ev-btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 0 rgba(98, 232, 180, 0);
}
.ev-btn-lime:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px -6px var(--lime-glow);
}

.ev-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.ev-btn-ghost:hover { border-color: var(--lime); background: var(--lime-soft); }

.ev-btn-lg { padding: 14px 28px; font-size: 15.5px; }

/* ── hero ──────────────────────────────────────────── */
.ev-hero { position: relative; padding: 96px 0 88px; overflow: hidden; }

.ev-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ev-glow-a {
  width: 560px; height: 560px;
  top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(98, 232, 180, 0.10), transparent 65%);
}
.ev-glow-b {
  width: 640px; height: 640px;
  bottom: -340px; left: -220px;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.09), transparent 65%);
}

.ev-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}

.ev-hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.ev-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ev-stats li { display: flex; flex-direction: column; gap: 2px; }
.ev-stats b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ev-stats b::after { content: ""; }
.ev-stats span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── editor stage mock ─────────────────────────────── */
.ev-stage {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
  transform: rotate(0.4deg);
}

.ev-stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.ev-stage-tc { color: var(--lime); }

.ev-stage-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(98, 232, 180, 0.07), transparent 55%),
    radial-gradient(ellipse at 78% 82%, rgba(139, 124, 255, 0.10), transparent 55%),
    linear-gradient(160deg, #171B22 0%, #0D0F13 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-stage-play {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 48px var(--lime-glow);
  transition: transform 0.2s ease;
}
.ev-stage:hover .ev-stage-play { transform: scale(1.06); }
.ev-stage-play span {
  width: 0; height: 0;
  border-left: 17px solid var(--lime-ink);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}

.ev-stage-tag {
  position: absolute;
  right: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  background: rgba(10, 11, 13, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* timeline */
.ev-timeline {
  position: relative;
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg2);
  padding: 12px 12px 12px 34px;
  overflow: hidden;
}

.ev-ruler {
  height: 14px;
  margin-bottom: 8px;
  background: repeating-linear-gradient(
    to right,
    var(--dim) 0 1px, transparent 1px calc(100% / 40)
  );
  opacity: 0.45;
}

.ev-lane { position: relative; height: 18px; margin-top: 6px; }

.ev-clip {
  position: absolute;
  top: 0; height: 100%;
  border-radius: 5px;
  display: block;
}
.ev-clip-v  { background: rgba(98, 232, 180, 0.20); border: 1px solid rgba(98, 232, 180, 0.35); }
.ev-clip-v2 { background: rgba(98, 232, 180, 0.12); border: 1px dashed rgba(98, 232, 180, 0.25); }
.ev-clip-a  { background: rgba(139, 124, 255, 0.16); border: 1px solid rgba(139, 124, 255, 0.32); }
.ev-clip-t  { background: rgba(242, 244, 238, 0.10); border: 1px solid rgba(242, 244, 238, 0.2); }

.ev-playhead {
  position: absolute;
  top: 6px; bottom: 6px;
  left: 4%;
  width: 2px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
  animation: ev-play 7s ease-in-out infinite alternate;
}
.ev-playhead b {
  position: absolute;
  top: -2px; left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.06em;
}

@keyframes ev-play {
  from { left: 4%; }
  to   { left: 91%; }
}

.ev-stage-labels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  left: 26px;
  top: 130px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

/* ── marquee ───────────────────────────────────────── */
.ev-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  overflow: hidden;
  padding: 15px 0;
}

.ev-marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: ev-scroll 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ev-marquee-track i { color: var(--lime); font-style: normal; opacity: 0.7; }

@keyframes ev-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── sections ──────────────────────────────────────── */
.ev-section { padding: 110px 0; }
.ev-sec-head { margin-bottom: 52px; max-width: 620px; }

/* ── bento ─────────────────────────────────────────── */
.ev-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ev-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 300px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  overflow: hidden;
}
.ev-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 232, 180, 0.4);
  background: var(--card-hover);
}

.ev-card-wide { grid-column: span 2; }

.ev-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.ev-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 3px 9px;
  border-radius: 6px;
}
.ev-tag-lime { color: var(--lime); border-color: rgba(98, 232, 180, 0.35); }

.ev-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.ev-card h3 {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ev-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}

.ev-card-go {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lime);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ev-card:hover .ev-card-go { opacity: 1; transform: translateY(0); }

/* card mini-visuals */
.ev-visual {
  height: 110px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ev-visual-capture { gap: 8px; padding: 0 14px; }
.ev-visual-capture i {
  flex: 1;
  height: 62px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(150deg, rgba(98, 232, 180, 0.16), rgba(139, 124, 255, 0.12)),
    #171B22;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ev-card:hover .ev-visual-capture i { transform: translateY(-4px); }
.ev-card:hover .ev-visual-capture i:nth-child(3) { border-color: rgba(98, 232, 180, 0.6); }

.ev-trim-bar {
  width: 80%;
  height: 34px;
  border-radius: 6px;
  background: rgba(242, 244, 238, 0.07);
  position: relative;
}
.ev-trim-bar i {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 5px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
}
.ev-trim-bar i:nth-child(1) { left: 14%; }
.ev-trim-bar i:nth-child(2) { right: 22%; }

.ev-comp-bar {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 60px;
  width: 78%;
}
.ev-comp-bar i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--muted);
  opacity: 0.5;
  transition: background 0.25s ease, opacity 0.25s ease;
}
.ev-comp-bar i:nth-child(1) { height: 30%; }
.ev-comp-bar i:nth-child(2) { height: 46%; }
.ev-comp-bar i:nth-child(3) { height: 62%; }
.ev-comp-bar i:nth-child(4) { height: 40%; }
.ev-comp-bar i:nth-child(5) { height: 76%; }
.ev-comp-bar i:nth-child(6) { height: 54%; }
.ev-comp-bar i:nth-child(7) { height: 88%; }
.ev-card:hover .ev-comp-bar i { background: var(--lime); opacity: 0.85; }

.ev-visual-sub { flex-direction: column; gap: 12px; }
.ev-wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.ev-wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--violet);
  opacity: 0.75;
}
.ev-wave i:nth-child(odd) { height: 34%; }
.ev-wave i:nth-child(even) { height: 78%; }
.ev-wave i:nth-child(3n) { height: 55%; }
.ev-caption {
  font-size: 12.5px;
  color: var(--ink);
  background: rgba(10, 11, 13, 0.85);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.ev-gif-ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px dashed rgba(98, 232, 180, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ev-spin 9s linear infinite;
}
.ev-gif-ring span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime-glow);
}
@keyframes ev-spin { to { transform: rotate(360deg); } }

.ev-frames { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); }
.ev-frames i {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ev-frames i:nth-child(odd) {
  width: 74px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(98, 232, 180, 0.12), rgba(139, 124, 255, 0.14)), #171B22;
}
.ev-frames i:nth-child(2) { color: var(--lime); font-size: 16px; }

/* ── tool grid ─────────────────────────────────────── */
.ev-tabs { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }

.ev-tab {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  padding: 8px 20px;
  border-radius: 999px;
  transition: all 0.16s ease;
}
.ev-tab:hover { color: var(--ink); border-color: var(--muted); }
.ev-tab.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  font-weight: 650;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 14px;
}

.ev-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ev-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 232, 180, 0.45);
  background: var(--card-hover);
}
.ev-tile a { display: block; padding: 20px 22px; height: 100%; }
.ev-tile h3 { font-size: 16.5px; font-weight: 680; letter-spacing: -0.01em; }
.ev-tile p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.ev-tile .ev-tag { display: inline-block; margin-top: 14px; }

.ev-tile.is-hidden { display: none; }

/* ── privacy ───────────────────────────────────────── */
.ev-privacy {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ev-privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ev-priv-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--panel);
}
.ev-priv-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--lime);
}
.ev-priv-item h3 { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.ev-priv-item p { margin-top: 10px; font-size: 14px; color: var(--muted); text-wrap: pretty; }

.ev-privacy-note {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--dim);
}

/* ── footer ────────────────────────────────────────── */
.ev-footer { padding: 72px 0 36px; }

.ev-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.6fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.ev-footer-blurb { margin-top: 14px; font-size: 13.5px; color: var(--dim); max-width: 26em; }

.ev-footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.ev-footer-grid a { display: block; font-size: 14px; color: var(--muted); padding: 4px 0; transition: color 0.15s ease; }
.ev-footer-grid a:hover { color: var(--lime); }

.ev-langs { font-size: 13px; color: var(--muted); line-height: 2; }

.ev-footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 12.5px;
  color: var(--dim);
  gap: 20px;
  flex-wrap: wrap;
}
.ev-footer-mono { font-family: var(--font-mono); letter-spacing: 0.12em; font-size: 11px; }

/* ── tool page (shared) ────────────────────────────── */
.ev-page { padding: 64px 0 96px; }

.ev-crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 26px;
}
.ev-crumbs a:hover { color: var(--lime); }
.ev-crumbs b { color: var(--muted); font-weight: 600; }

.ev-page-head { max-width: 660px; margin-bottom: 44px; }
.ev-page-head .ev-lead { margin-top: 16px; }

.ev-chiprow { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

.ev-workbench {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 32px;
}

.ev-drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 56px 24px;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}
.ev-drop:hover, .ev-drop.is-over {
  border-color: var(--lime);
  background: var(--lime-soft);
}
.ev-drop h3 { font-size: 18px; font-weight: 680; }
.ev-drop p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.ev-drop .ev-btn { margin-top: 22px; }

.ev-drop input[type="file"] { display: none; }

.ev-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }

.ev-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.ev-field input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
  height: 4px;
}

.ev-field select, .ev-field button {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
}

.ev-tool-video {
  margin-top: 26px;
  display: none;
}
.ev-tool-video video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
}

.ev-output { margin-top: 26px; display: none; }
.ev-output canvas {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: block;
}

.ev-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--dim);
}
.ev-note b { color: var(--lime); font-weight: 600; }

.ev-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ── reveal ────────────────────────────────────────── */
.ev-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ev-reveal.is-in { opacity: 1; transform: translateY(0); }

/* ── responsive ────────────────────────────────────── */
@media (max-width: 1020px) {
  .ev-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .ev-stage { transform: none; }
  .ev-bento { grid-template-columns: repeat(2, 1fr); }
  .ev-card-wide { grid-column: span 2; }
  .ev-privacy-grid { grid-template-columns: 1fr; }
  .ev-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .ev-wrap { padding: 0 20px; }
  .ev-nav-links { display: none; }
  .ev-hero { padding: 64px 0 64px; }
  .ev-bento { grid-template-columns: 1fr; }
  .ev-card-wide { grid-column: span 1; }
  .ev-card { min-height: 0; }
  .ev-stats { gap: 26px; flex-wrap: wrap; }
  .ev-tool-grid { grid-template-columns: 1fr; }
  .ev-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ev-section { padding: 72px 0; }
}

/* ── reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ev-playhead, .ev-marquee-track, .ev-gif-ring { animation: none; }
  .ev-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── theme switcher (design-review utility) ────────── */
.ev-theme {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg2);
}

.ev-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  background: var(--dim);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.ev-dot:hover { transform: scale(1.15); }
.ev-dot.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

/* ── lang switcher ─────────────────────────────────── */
.ev-langsel {
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  max-width: 130px;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 24px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 10px) 55%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

/* ── tool workbench extras ─────────────────────────── */
.ev-tool-body video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
  margin-bottom: 18px;
}

.ev-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  margin-bottom: 18px;
}
.ev-file-name {
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev-file-size { color: var(--dim); font-family: var(--font-mono); font-size: 12px; }
.ev-fidx {
  font-family: var(--font-mono);
  color: var(--lime);
  font-size: 12px;
  min-width: 18px;
}
.ev-file-x {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
}
.ev-file-x:hover { color: var(--ink); border-color: var(--lime); }

.ev-order-note { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }

.ev-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-seg-btn {
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.ev-seg-btn:hover { color: var(--ink); }
.ev-seg-btn.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  font-weight: 650;
}

.ev-est { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }

.ev-chk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.ev-chk input { accent-color: var(--lime); width: 16px; height: 16px; }

.ev-prog {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg2);
  height: 12px;
  position: relative;
  overflow: hidden;
}
.ev-prog-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), #2fbf8f);
  transition: width 0.2s ease;
}
.ev-prog-txt {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ev-result { margin-top: 24px; }
.ev-done {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid rgba(98, 232, 180, 0.35);
  border-radius: 10px;
  background: rgba(98, 232, 180, 0.06);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ev-done-name { font-weight: 650; font-size: 14.5px; }
.ev-done-size { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.ev-err {
  padding: 16px 18px;
  border: 1px solid rgba(255, 130, 110, 0.4);
  border-radius: 10px;
  background: rgba(255, 90, 70, 0.08);
  color: #ffb4a6;
  font-size: 14px;
}

/* ── FAQ / knowledge / article ─────────────────────── */
.ev-faq { max-width: 760px; }
.ev-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 22px 26px;
  margin-bottom: 12px;
}
.ev-faq-item h3 { font-size: 16.5px; font-weight: 680; letter-spacing: -0.01em; margin-bottom: 8px; }
.ev-faq-item p { font-size: 14px; color: var(--muted); }

.ev-knowledge {
  padding: 40px 0 0;
  max-width: 760px;
}
.ev-knowledge h2 {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ev-knowledge p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

.ev-article { max-width: 760px; }
.ev-article h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 26px 0 10px;
  letter-spacing: -0.01em;
}
.ev-article p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.ev-article h2:first-child { margin-top: 0; }
